Beispiel #1
0
            public bool SetConfig(Config.Adapter newConfig)
            {
                string newOriginalConfig = Xml.ToXml <Config.Adapter>(newConfig);
                bool   changed           = (newOriginalConfig != originalConfig);

                Config         = newConfig;
                originalConfig = newOriginalConfig;
                return(changed);
            }
Beispiel #2
0
 public AdapterState(Config.Adapter a)
 {
     SetConfig(a);
     State = State.Created;
 }