using System;
namespace BlueWest.Data
{
///
/// Specifies that the annotated class can be mapped from the provided .
///
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public sealed class AAttribute : Attribute
{
///
/// Initializes a new instance of the class with the specified .
///
/// The type of to map from.
public AAttribute(Type sourceType)
{
SourceType = sourceType;
}
///
/// Gets the type to map from.
///
public Type SourceType { get; }
}
}