Class PropertyDescription
Marks a property of a mars type to configure them as their durable state.
The annotation provides inputConfiguration to mark attributes which shall be Ignored in the output
or can be accessed by another Name.
Inheritance
System.Object
System.Attribute
PropertyDescription
Inherited Members
System.Attribute.Equals(System.Object)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetHashCode()
System.Attribute.IsDefaultAttribute()
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.Match(System.Object)
System.Attribute.TypeId
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Interfaces.Annotations
Assembly: Mars.Interfaces.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public class PropertyDescription : Attribute
Remarks
This annotation can be used to decouple the attribute definition of an
entity from their creation phase within the constructor.
Properties
| Improve this Doc View SourceIgnore
Gets or sets the value indicating that this property shall be ignored.
Declaration
public bool Ignore { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This annotation can be used to decouple the attribute definition of an
entity from their creation phase within the constructor.
|
Improve this Doc
View Source
IsKey
Marks a property of a mars type to configure them as their durable state.
The annotation provides inputConfiguration to mark attributes which shall be Ignored in the output
or can be accessed by another Name.
Declaration
public bool IsKey { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This annotation can be used to decouple the attribute definition of an
entity from their creation phase within the constructor.
|
Improve this Doc
View Source
Name
Gets or sets the name used to calibrate the model from the simulation config.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This annotation can be used to decouple the attribute definition of an
entity from their creation phase within the constructor.
|
Improve this Doc
View Source
PropertyInfo
Gets or sets the property info backward reference.
Internally used to prevent additional reflection call.
Declaration
public PropertyInfo PropertyInfo { get; set; }
Property Value
Type | Description |
---|---|
System.Reflection.PropertyInfo |
Remarks
This annotation can be used to decouple the attribute definition of an
entity from their creation phase within the constructor.
|
Improve this Doc
View Source
Required
Gets or sets the value indicating that this property is required for construction.
Declaration
public bool Required { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This annotation can be used to decouple the attribute definition of an
entity from their creation phase within the constructor.