Attribute used to define the default value assigned to the target_currency property by the server when this property is left null.
More...
|
| TargetCurrencyDefault () |
| Attribute which can determine the server-generated default target currency assigned to a IAPIResource when none is specified.
|
|
override 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.
|
|
|
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.
|
|
Attribute used to define the default value assigned to the target_currency property by the server when this property is left null.
Definition at line 14 of file TargetCurrencyDefault.cs.
◆ TargetCurrencyDefault()
AnalyzeRe.APIResourceView.TargetCurrencyDefault.TargetCurrencyDefault |
( |
| ) |
|
|
inline |
Attribute which can determine the server-generated default target currency assigned to a IAPIResource when none is specified.
Definition at line 18 of file TargetCurrencyDefault.cs.
◆ GetDefaultTargetCurrency()
static string AnalyzeRe.APIResourceView.TargetCurrencyDefault.GetDefaultTargetCurrency |
( |
IAPIResource |
resource | ) |
|
|
inlinestatic |
Determine what the default target currency will be based on the resource type and properties.
- Parameters
-
resource | The IAPIResource derived object. |
- Returns
- The target currency of the resource.
Definition at line 32 of file TargetCurrencyDefault.cs.
◆ GetDefaultValue()
override object AnalyzeRe.APIResourceView.TargetCurrencyDefault.GetDefaultValue |
( |
object |
owner | ) |
|
|
inlinevirtual |
Returns the expected default value for the property based on the owner.
- Parameters
-
owner | The object from which a default value will be derived. |
- Returns
- The expected default value for the specified object.
Reimplemented from AnalyzeRe.Attributes.ServerHasDefault.
Definition at line 23 of file TargetCurrencyDefault.cs.
◆ HasDefaultValue()
virtual bool AnalyzeRe.Attributes.ServerHasDefault.HasDefaultValue |
( |
object |
owner | ) |
|
|
inlinevirtualinherited |
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 |
|
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.
◆ HasKnownDefault
virtual bool AnalyzeRe.Attributes.ServerHasDefault.HasKnownDefault |
|
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.
The documentation for this class was generated from the following file: