Exemple #1
0
 public TypeNameCriterion(TypeNameQualification nameQualification = default, IStringCriterionOperator @operator = default, string operand = default, bool isReadOnly = default)
     : base(isReadOnly : isReadOnly)
 {
     //
     _nameQualification = nameQualification;
     _operator          = @operator;
     _operand           = operand;
     _left            = null;
     _right           = null;
     _builtExpression = null;
 }
Exemple #2
0
 public TypeNameCriterion(TypeNameCriterion other, bool isReadOnly = default)
     : this(
         nameQualification : other.EnsureNotNull(nameof(other)).Value.NameQualification,
         @operator : other.Operator,
         operand : other.Operand,
         isReadOnly : isReadOnly)
 {
     //
     if (isReadOnly && other.IsReadOnly)
     {
         _left            = other._left;
         _right           = other._right;
         _builtExpression = other._builtExpression;
     }
 }