Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ReflectPropertyDescriptor() [1/4]

System.ComponentModel.ReflectPropertyDescriptor.ReflectPropertyDescriptor ( [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type componentClass,
string name,
Type type,
Attribute[] attributes )
inline

Definition at line 277 of file ReflectPropertyDescriptor.cs.

278 : base(name, attributes)
279 {
280 try
281 {
282 if (type == null)
283 {
285 }
286 if (componentClass == null)
287 {
288 throw new ArgumentException(System.SR.Format(System.SR.InvalidNullArgument, "componentClass"));
289 }
290 _type = type;
291 _componentClass = componentClass;
292 }
293 catch (Exception)
294 {
295 throw;
296 }
297 }
static string InvalidNullArgument
Definition SR.cs:86
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string ErrorInvalidPropertyType
Definition SR.cs:30
Definition SR.cs:7

References System.ComponentModel.ReflectPropertyDescriptor._componentClass, System.ComponentModel.ReflectPropertyDescriptor._type, System.SR.ErrorInvalidPropertyType, System.SR.Format(), System.SR.InvalidNullArgument, and System.type.