RSPersistRuleTableData ICopyCloneable <RSPersistRuleTableData> .Clone()
        {
            RSPersistRuleTableData clone = new RSPersistRuleTableData();

            Rules = CloneUtils.Clone(clone.Rules);
            return(clone);
        }
Пример #2
0
 public void CopyFrom(RSRuleTableData inTable)
 {
     Id             = inTable.Id;
     Name           = inTable.Name;
     Rules          = CloneUtils.DeepClone(inTable.Rules);
     UniqueTriggers = CloneUtils.Clone(inTable.UniqueTriggers);
 }
Пример #3
0
 public void CopyFrom(RSResolvableValueData inValue)
 {
     Mode           = inValue.Mode;
     Value          = inValue.Value;
     Query          = inValue.Query;
     QueryArguments = CloneUtils.Clone(inValue.QueryArguments);
     Register       = inValue.Register;
 }
Пример #4
0
        RSPersistComponentData ICopyCloneable <RSPersistComponentData> .Clone()
        {
            RSPersistComponentData clone = new RSPersistComponentData();

            clone.ComponentType = ComponentType;
            clone.NamedValues   = CloneUtils.Clone(NamedValues);
            clone.CustomData    = CloneUtils.Clone(CustomData);
            return(clone);
        }
Пример #5
0
        public RSRuleTableData Clone()
        {
            RSRuleTableData data = new RSRuleTableData();

            data.Id             = Id;
            data.Name           = Name;
            data.Rules          = CloneUtils.DeepClone(Rules);
            data.UniqueTriggers = CloneUtils.Clone(UniqueTriggers);
            return(data);
        }
Пример #6
0
        public RSPersistEntityData Clone()
        {
            RSPersistEntityData clone = new RSPersistEntityData();

            clone.EntityId      = EntityId;
            clone.Active        = Active;
            clone.ComponentData = CloneUtils.DeepClone(ComponentData);
            clone.TableData     = CloneUtils.Clone(TableData);
            clone.CustomData    = CloneUtils.Clone(CustomData);
            return(clone);
        }
Пример #7
0
        public RSResolvableValueData Clone()
        {
            RSResolvableValueData clone = new RSResolvableValueData();

            clone.Mode           = Mode;
            clone.Value          = Value;
            clone.Query          = Query;
            clone.QueryArguments = CloneUtils.Clone(QueryArguments);
            clone.Register       = Register;
            return(clone);
        }