Files
yavsc/yavscModel/WorkFlow/Configuration/ProviderCollection.cs
Paul Schneider b5d19c5da6 refactoring
2014-10-08 10:47:40 +02:00

23 lines
486 B
C#

using System;
using System.Configuration;
namespace Yavsc.Model.WorkFlow.Configuration
{
public class WFProviderCollection : ConfigurationElementCollection
{
protected override object GetElementKey (ConfigurationElement element)
{
return ((WFProvider) element).Name;
}
protected override ConfigurationElement CreateNewElement ()
{
return new WFProvider();
}
public WFProvider GetElement (string name)
{
return this.BaseGet (name) as WFProvider;
}
}
}