using System;
namespace TBF.UI.Calendar
{
///
/// An attribute to mark Custom Recurring Functions
///
public class CustomRecurringFunction : Attribute
{
private readonly string _name;
private readonly string _description;
///
/// Returns the name of the custom recurring function
///
public string Name
{
get { return _name; }
}
///
/// Returns a description of the custom recurring function
///
public string Description
{
get { return _description; }
}
///
/// CustomRecurringFunction Constructor
///
/// The name of the function
/// A description of the function
public CustomRecurringFunction(string name, string description)
{
_name = name;
_description = description;
}
///
/// CustomRecurringFunction Constructor
///
/// The name of the function
public CustomRecurringFunction(string name)
{
_name = name;
_description = "";
}
}
}