refactoring
This commit is contained in:
parent
347ffc8a5a
commit
b5d19c5da6
38 changed files with 149 additions and 117 deletions
40
yavscModel/WorkFlow/Configuration/Provider.cs
Normal file
40
yavscModel/WorkFlow/Configuration/Provider.cs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
using System;
|
||||
using System.Configuration;
|
||||
|
||||
namespace Yavsc.Model.WorkFlow.Configuration
|
||||
{
|
||||
public class WFProvider:ConfigurationElement
|
||||
{
|
||||
[ConfigurationProperty("name", IsKey=true, IsRequired=true)]
|
||||
public string Name {
|
||||
get {
|
||||
return (string) base ["name"];
|
||||
}
|
||||
set { base ["name"] = value; }
|
||||
}
|
||||
|
||||
[ConfigurationProperty("type")]
|
||||
public string Type {
|
||||
get { return (string) this ["type"]; }
|
||||
set {
|
||||
this ["type"] = value;
|
||||
}
|
||||
}
|
||||
[ConfigurationProperty("applicationName")]
|
||||
public string ApplicationName {
|
||||
get {
|
||||
return (string)this ["applicationName"];
|
||||
}
|
||||
set {
|
||||
this ["applicationName"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[ConfigurationProperty("connectionStringName")]
|
||||
public string ConnectionStringName {
|
||||
get { return (string)this ["connectionStringName"]; }
|
||||
set { this ["connectionStringName"] = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue