C# Client Library
A C# Client Library for the AnalyzeRe REST API
|
Indicates that the property, if left null, will be given a default value by the server corresponding to an empty or uninitialized object of the specified type. More...
Public Member Functions | |
ServerHasDefaultEmptyObject (Type objectType) | |
Indicates that the property, if left null, will be given a default value by the server corresponding to an empty or uninitialized object of the specified type. | |
virtual object | GetDefaultValue (object owner) |
Returns the expected default value for the property based on the owner. | |
virtual bool | HasDefaultValue (object owner) |
Returns whether there exists an expected default value for the property based on the specified owner. | |
Properties | |
virtual object | DefaultValue [get] |
Indicates whether this attribute specifies an expected default value that the server is known to return in all cases. | |
virtual bool | HasKnownDefault [get] |
Indicates whether this attribute specifies an expected default value that the server is known to return in all cases. | |
Indicates that the property, if left null, will be given a default value by the server corresponding to an empty or uninitialized object of the specified type.
Definition at line 8 of file ServerHasDefaultEmptyObject.cs.
|
inline |
Indicates that the property, if left null, will be given a default value by the server corresponding to an empty or uninitialized object of the specified type.
objectType | The property type whose empty constructor corresponds to the default server value when instantiated. |
Definition at line 15 of file ServerHasDefaultEmptyObject.cs.
|
inlinevirtualinherited |
Returns the expected default value for the property based on the owner.
owner | The object from which a default value will be derived. |
Reimplemented in AnalyzeRe.APIResourceView.TargetCurrencyDefault, and AnalyzeRe.LossSet.LossTypeDefault.
Definition at line 64 of file ServerHasDefault.cs.
|
inlinevirtualinherited |
Returns whether there exists an expected default value for the property based on the specified owner.
owner | The object from which a default value will be derived. |
Definition at line 56 of file ServerHasDefault.cs.
|
getinherited |
Indicates whether this attribute specifies an expected default value that the server is known to return in all cases.
Definition at line 19 of file ServerHasDefault.cs.
|
getinherited |
Indicates whether this attribute specifies an expected default value that the server is known to return in all cases.
Definition at line 15 of file ServerHasDefault.cs.