using System; using System.Configuration; namespace Yavsc.Model.WorkFlow.Configuration { /// /// WF provider. /// public class WFProvider:ConfigurationElement { /// /// Gets or sets the name. /// /// The name. [ConfigurationProperty("name", IsKey=true, IsRequired=true)] public string Name { get { return (string) base ["name"]; } set { base ["name"] = value; } } /// /// Gets or sets the type. /// /// The type. [ConfigurationProperty("type")] public string Type { get { return (string) this ["type"]; } set { this ["type"] = value; } } /// /// Gets or sets the name of the application. /// /// The name of the application. [ConfigurationProperty("applicationName")] public string ApplicationName { get { return (string)this ["applicationName"]; } set { this ["applicationName"] = value; } } /// /// Gets or sets the name of the connection string. /// /// The name of the connection string. [ConfigurationProperty("connectionStringName")] public string ConnectionStringName { get { return (string)this ["connectionStringName"]; } set { this ["connectionStringName"] = value; } } } }