Indicates that the property, if left null, will have a default value generated and filled in by the server.
More...
|
| ServerHasDefault () |
| Attribute indicates that if left null, the server will supply a default value for this property (the exact value of which is unknown to the client).
|
|
| ServerHasDefault (object defaultValue) |
| Attribute indicates that if left null, the server will supply the specified default value for this property.
|
|
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.
|
|
|
| ServerHasDefault (bool hasKnownDefault) |
| Constructor that allows the derived class to specify whether it supplies a known default value for all objects via an overridden GetDefaultValue method.
|
|
|
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 have a default value generated and filled in by the server.
Definition at line 8 of file ServerHasDefault.cs.
◆ ServerHasDefault() [1/3]
AnalyzeRe.Attributes.ServerHasDefault.ServerHasDefault |
( |
| ) |
|
|
inline |
Attribute indicates that if left null, the server will supply a default value for this property (the exact value of which is unknown to the client).
Definition at line 32 of file ServerHasDefault.cs.
◆ ServerHasDefault() [2/3]
AnalyzeRe.Attributes.ServerHasDefault.ServerHasDefault |
( |
object |
defaultValue | ) |
|
|
inline |
Attribute indicates that if left null, the server will supply the specified default value for this property.
- Parameters
-
defaultValue | The expected default value that the server will return. (Must be a static constant value.) |
Definition at line 38 of file ServerHasDefault.cs.
◆ ServerHasDefault() [3/3]
AnalyzeRe.Attributes.ServerHasDefault.ServerHasDefault |
( |
bool |
hasKnownDefault | ) |
|
|
inlineprotected |
Constructor that allows the derived class to specify whether it supplies a known default value for all objects via an overridden GetDefaultValue method.
- Parameters
-
Definition at line 47 of file ServerHasDefault.cs.
◆ GetDefaultValue()
virtual object AnalyzeRe.Attributes.ServerHasDefault.GetDefaultValue |
( |
object |
owner | ) |
|
|
inlinevirtual |
◆ HasDefaultValue()
virtual bool AnalyzeRe.Attributes.ServerHasDefault.HasDefaultValue |
( |
object |
owner | ) |
|
|
inlinevirtual |
Returns whether there exists an expected default value for the property based on the specified owner.
- Parameters
-
owner | The object from which a default value will be derived. |
- Returns
- False if there is no known default value for the supplied object.
Definition at line 56 of file ServerHasDefault.cs.
◆ DefaultValue
virtual object AnalyzeRe.Attributes.ServerHasDefault.DefaultValue |
|
get |
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.
◆ HasKnownDefault
virtual bool AnalyzeRe.Attributes.ServerHasDefault.HasKnownDefault |
|
get |
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.
The documentation for this class was generated from the following file: