Esempio n. 1
0
 public RuleConverter(ProfileTypeNode profileType, CharacteristicTypeNode characteristicType, ImmutableArray <RuleNode> rules)
 {
     ProfileType        = profileType;
     CharacteristicType = characteristicType;
     Rules    = rules;
     Profiles = Rules.ToImmutableDictionary(x => x.Id, ConvertRuleToProfile);
 }
Esempio n. 2
0
 public static CharacteristicNode Characteristic(CharacteristicTypeNode characteristicType, string value = null)
 {
     return(Characteristic(
                name: characteristicType.Name,
                typeId: characteristicType.Id,
                value: value));
 }
 public CharacteristicTypeInfo(CharacteristicTypeNode node)
 {
     Node = node;
 }