namespace UIWidgets.Attributes
{
using System;
///
/// Data bind event attribute.
///
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public sealed class DataBindEventAttribute : Attribute
{
///
/// The fields.
///
readonly string[] fields;
///
/// The fields.
///
public string[] Fields
{
get
{
return fields;
}
}
///
/// Initializes a new instance of the class.
///
/// Fields.
public DataBindEventAttribute(params string[] fields)
{
this.fields = fields;
}
}
}