Beispiel #1
0
 public CodegenExpressionInstanceField(
     CodegenExpression instance,
     CodegenField fieldNode)
 {
     _instance = instance ?? throw new ArgumentNullException(nameof(instance), "null instance");
     _fieldNode = fieldNode ?? throw new ArgumentNullException(nameof(fieldNode), "null field node");
 }
Beispiel #2
0
 public CodegenExpressionField(CodegenField field)
 {
     _field = field ?? throw new ArgumentNullException(nameof(field), "Null field");
 }
Beispiel #3
0
 public static CodegenExpressionField Field(CodegenField field)
 {
     return new CodegenExpressionField(field);
 }
Beispiel #4
0
 public static CodegenExpressionInstanceField InstanceField(
     CodegenExpression instance,
     CodegenField fieldNode)
 {
     return new CodegenExpressionInstanceField(instance, fieldNode);
 }
Beispiel #5
0
 public CodegenExpressionProperty(CodegenField property)
 {
     _property = property ?? throw new ArgumentException("Null field");
 }