public RuleConverter(ProfileTypeNode profileType, CharacteristicTypeNode characteristicType, ImmutableArray <RuleNode> rules) { ProfileType = profileType; CharacteristicType = characteristicType; Rules = rules; Profiles = Rules.ToImmutableDictionary(x => x.Id, ConvertRuleToProfile); }
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; }