DataFormatAttribute Class

Attribute to define data format for a property, field or method

Definition

Namespace: CoreMX.NET.Attributes
Assembly: CoreMX.NET (in CoreMX.NET.dll) Version: 1.0.0+7eb54d7f3459576d25646e9f286fb1fe49eac8a5
C#
[AttributeUsageAttribute(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field)]
public class DataFormatAttribute : Attribute
Inheritance
Object    Attribute    DataFormatAttribute

Constructors

DataFormatAttributeInitializes a new instance of the DataFormatAttribute class

Properties

Format 
TypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute)

Methods

EqualsReturns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FromField Get the DataFormatAttribute from a FieldInfo
FromMethod Get the DataFormatAttribute from a MethodInfo
FromProperty Get the DataFormatAttribute from a PropertyInfo
GetHashCodeReturns the hash code for this instance.
(Inherited from Attribute)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsDefaultAttributeWhen overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute)
MatchWhen overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

ContainsProperty Check if a property exists in an object
(Defined by ReflectionHelper)
GetAllDetails Get all the details for an object
(Defined by MasterDetailHelper)
GetAllSectionHeaders Get all the section headers
(Defined by MasterDetailHelper)
GetReflectionValueT Get the value of a property or field or method using reflection. Doesnt throw exceptions
(Defined by ReflectionHelper)
GetSerializedSize Get the serialized size of an object
(Defined by SerializationHelper)
GetXmlSeralizerForObject Get the XmlSerializer for an object
(Defined by XmlHelper)
SerializeXml Serialize an object to an XML string
(Defined by XmlHelper)
ToDataFormatString Convert an object to a data format string
(Defined by ReflectionHelper)
ToDataFormatStringAdvanced Convert an object to a data format string
(Defined by ReflectionHelper)
ToDataPayload Get the data payload of an object
(Defined by ReflectionHelper)

See Also