Пример #1
0
 public TypeField(TypeConstraintContext constraintContext, TypeAppearanceContext appearanceContext)
 {
     this.constraintContext = constraintContext ?? new TypeConstraintStandard(null, TypeSettings.Class, false, false);
     this.appearanceContext = appearanceContext ?? new TypeAppearanceContext(this.constraintContext, TypeGrouping.None, true);
 }
 public TypeAppearanceContext(TypeConstraintContext constraint) : this(constraint, TypeGrouping.None, true)
 {
 }
Пример #3
0
 public TypeField(TypeConstraintContext constraintContext) : this(constraintContext, null)
 {
 }
 public TypeAppearanceContext(TypeConstraintContext constraint, TypeGrouping typeGrouping, bool addEmptyValue)
 {
     Constraint    = constraint;
     TypeGrouping  = typeGrouping;
     AddEmptyValue = addEmptyValue;
 }