예제 #1
0
 public MosaProperty CreateProperty(MosaProperty source = null)
 {
     if (source == null)
     {
         return(new MosaProperty()
         {
             ID = id++,
             TypeSystem = typeSystem
         });
     }
     else
     {
         MosaProperty result = source.Clone();
         result.ID = id++;
         return(result);
     }
 }
예제 #2
0
 internal Mutator(MosaProperty property)
     : base(property)
 {
     this.property = property;
 }
예제 #3
0
 public MosaProperty.Mutator MutateProperty(MosaProperty property)
 {
     return(new MosaProperty.Mutator(property));
 }