C# Class NServiceBus.Persistence.MongoDB.DocumentVersionAttribute

Inheritance: System.Attribute
显示文件 Open project: Thuzi/NServiceBus.Persistence.MongoDb

Public Methods

Method Description
GetDocumentVersionProperties ( Type type ) : IEnumerable

Gets all the properties that are marked with the DocumentVersionAttribute for the given type.

GetDocumentVersionProperty ( Type type ) : PropertyInfo

Gets a single property that is marked with the DocumentVersionAttribute for a IContainSagaData.

Method Details

GetDocumentVersionProperties() public static method

Gets all the properties that are marked with the DocumentVersionAttribute for the given type.
public static GetDocumentVersionProperties ( Type type ) : IEnumerable
type System.Type The type to evaluate.
return IEnumerable

GetDocumentVersionProperty() public static method

Gets a single property that is marked with the DocumentVersionAttribute for a IContainSagaData.
public static GetDocumentVersionProperty ( Type type ) : PropertyInfo
type System.Type The to evaluate.
return System.Reflection.PropertyInfo