Esempio n. 1
0
 public static IAndAlsoFormulaRef AndAlso(IFormulaRef left, IFormulaRef right, Type type)
 {
     Required.NotDefault(type, () => type);
     return new AndAlsoFormulaRef(left, right, type.ToTypeDecl(), null, null);
 }
Esempio n. 2
0
 public static IConstantFormulaRef Constant(object value, Type type)
 {
     Required.NotDefault(type, () => type);
     return Constant(value, type.ToTypeDecl(), null);
 }
Esempio n. 3
0
 public static ITypeAsFormulaRef TypeAs(IFormulaRef operand, Type type)
 {
     Required.NotDefault(type, () => type);
     return TypeAs(type.ToTypeDecl(), operand, null, null);
 }
Esempio n. 4
0
 public static IVariableFormulaRef Variable(Type type, string name)
 {
     return Variable(type.ToTypeDecl(), name);
 }
Esempio n. 5
0
 public static IConvertFormulaRef Convert(IFormulaRef operand, Type type)
 {
     Required.NotDefault(type, () => type);
     return Convert(type.ToTypeDecl(), operand, null, null);
 }
Esempio n. 6
0
 public static INotEqualFormulaRef NotEqual(IFormulaRef left, IFormulaRef right, Type type)
 {
     Required.NotDefault(type, () => type);
     return new NotEqualFormulaRef(left, right, type.ToTypeDecl(), null, null);
 }
Esempio n. 7
0
 public NewArrayInitFormula(Formula[] formulas, Type type)
 {
     formulas.AddRangeTo(Formulas);
     TypeDeclaration = type.ToTypeDecl();
 }
Esempio n. 8
0
 public VariableFormula(string variableName, Type type)
 {
     VariableName = variableName;
     TypeDeclaration = type.ToTypeDecl();
 }
Esempio n. 9
0
 public static ConvertFormula Convert(Formula operand, Type type)
 {
     return Convert(operand, type.ToTypeDecl());
 }
Esempio n. 10
0
 public static ConstantFormula Constant(object value, Type type)
 {
     return Constant(value, type.ToTypeDecl());
 }
Esempio n. 11
0
 public TypeAsFormula(Formula operand, Type type)
 {
     Operand = operand;
     TypeDeclaration = type.ToTypeDecl();
 }