Advertisement
Advertisement
| 07.02.2008 at 12:24AM PDT, ID: 23532707 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: |
/// <summary>
/// Indicates the configuration object type that is used for the attributed object.
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class ConfigurationElementTypeAttribute : Attribute
{
private Type configurationType;
/// <summary>
/// Initialize a new instance of the <see cref="EnterpriseLibrary.Common.Configuration.ConfigurationElementTypeAttribute"/> class.
/// </summary>
public ConfigurationElementTypeAttribute()
{
}
/// <summary>
/// Initialize a new instance of the <see cref="ConfigurationElementTypeAttribute"/> class with the configuration object type.
/// </summary>
/// <param name="configurationType">The <see cref="Type"/> of the configuration object.</param>
public ConfigurationElementTypeAttribute(Type configurationType)
{
this.configurationType = configurationType;
}
/// <summary>
/// Gets the <see cref="Type"/> of the configuration object.
/// </summary>
/// <value>
/// The <see cref="Type"/> of the configuration object.
/// </value>
public Type ConfigurationType
{
get { return configurationType; }
}
}
}
|