Beispiel #1
0
 public DDLInstance(DDLInstance prototype)
 {
     properties = new Dictionary <string, DDLValueType>(StringComparer.OrdinalIgnoreCase);
     foreach (KeyValuePair <string, DDLValueType> pair in prototype.properties)
     {
         properties.Add(pair.Key, pair.Value.Clone());
     }
 }
Beispiel #2
0
 public static bool TryGetPrototype(string name, out DDLInstance prototype)
 {
     return(prototypes.TryGetValue(name, out prototype));
 }