Beispiel #1
0
        internal static ControlPluginCollection CreateFromDataObjectCollection(Data.ControlPluginCollection collection)
        {
            var list = new ControlPluginCollection();

            foreach (var controlPlugin in collection)
            {
                list.Add(ControlPlugin.CreateFromDataObject(controlPlugin));
            }

            return(list);
        }
 public ControlPluginCollection GetControlPlugins()
 {
     return(ControlPluginCollection.CreateFromDataObjectCollection(DataAccess.ControlPluginRepository.GetControlPlugins()));
 }