Esempio n. 1
0
        void pluginInfo_PropertyChanged(object sender, PropertyChangedEventArgs e)
        {
            if (e.PropertyName == "PluginFullName")
            {
                PluginInfo p = sender as PluginInfo;

                int movedItem = _labPluginInfos.IndexOf(p2 => p2.PluginInfo.PluginFullName == p.PluginFullName);

                _labPluginInfos.CheckPosition(movedItem);
            }
        }
Esempio n. 2
0
        void serviceInfo_PropertyChanged(object sender, PropertyChangedEventArgs e)
        {
            if (e.PropertyName == "ServiceFullName")
            {
                ServiceInfo s = sender as ServiceInfo;

                int movedItem = _labServiceInfos.IndexOf(s2 => s2.ServiceInfo.ServiceFullName == s.ServiceFullName);

                _labServiceInfos.CheckPosition(movedItem);
            }
        }
Esempio n. 3
0
 internal void CheckPosition(IConfigurationLayer layer)
 {
     _layers.CheckPosition(_layers.IndexOf(layer));
 }