示例#1
0
        public MarketAnswer SavePolicy()
        {
            AddPolicySlave slave = new AddPolicySlave(_storeManager, MarketYard.Instance.GetStorePolicyManager());

            slave.SaveFullPolicy();
            return(slave.Answer);
        }
示例#2
0
        public MarketAnswer CreatePolicy(string type, string subject, string optSubject, string op, string arg1, string optArg)
        {
            AddPolicySlave slave = new AddPolicySlave(_storeManager, MarketYard.Instance.GetStorePolicyManager());

            slave.CreatePolicy(type, subject, optSubject, op, arg1, optArg);
            return(slave.Answer);
        }