Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
InversePropertyAttribute.cs
Go to the documentation of this file.
2
3[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
5{
6 public string Property { get; }
7
8 public InversePropertyAttribute(string property)
9 {
10 if (string.IsNullOrWhiteSpace(property))
11 {
12 throw new ArgumentException(System.SR.Format(System.SR.ArgumentIsNullOrWhitespace, "property"), "property");
13 }
14 Property = property;
15 }
16}
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string ArgumentIsNullOrWhitespace
Definition SR.cs:14
Definition SR.cs:7