Example #1
0
 public static IDictionary <string, string> ClonePropertiesIfNeeded(this IMold dbMold, bool needed)
 {
     return(needed ? dbMold.Properties.ToDictionary(x => x.Key, x => x.Value) : new Dictionary <string, string>());
 }
Example #2
0
 internal static void SetBoolProperty(this IMold mold, string propertyName, bool value)
 {
     mold.Properties[propertyName] = value.ToString();
 }