Esempio n. 1
0
        Configuration(
            string accountName)
        {
            this.accountName = accountName;

            copyGroup     = new CopyGroup();
            copyOperation = copyGroup.CopyOperation;
        }
Esempio n. 2
0
        Configuration(
            string accountName,
            XmlDocument serializedConfigurationFile)
        {
            XmlNode rootData =
                serializedConfigurationFile.SelectSingleNode(
                    "/SafemateConfiguration");
            XmlNode tempData;

            if ((tempData = rootData.SelectSingleNode(
                     "ConfigurationCheckterval")) == null)
            {
                checkInterval = 60;
            }

            crmDetails = new CrmDetails("Safesforce",
                                        new Credential("foo", "bar"));

            copyGroup = new CopyGroup();
            copyGroup.Deserialize(
                serializedConfigurationFile.SelectSingleNode(
                    "/SafemateConfiguration"));
        }