private ObjectFilterOperationDescriptor <TObject> CreateOperation( FilterOperationKind operationKind) { var operation = new FilterOperation( typeof(TObject), operationKind, Definition.Property); return(ObjectFilterOperationDescriptor <TObject> .New( Context, this, CreateFieldName(operationKind), RewriteType(operationKind), operation)); }
private ObjectFilterOperationDescriptor CreateOperation( FilterOperationKind operationKind) { var operation = new FilterOperation( _type, operationKind, Definition.Property); return(ObjectFilterOperationDescriptor.New( Context, this, CreateFieldName(operationKind), new ClrTypeReference( typeof(FilterInputType <>).MakeGenericType(_type), Definition.Type.Context, true, true), operation)); }
private ObjectFilterOperationDescriptor CreateOperation( FilterOperationKind operationKind) { var operation = new FilterOperation( _type, operationKind, Definition.Property); ExtendedTypeReference typeRef = Context.TypeInspector.GetTypeRef( typeof(FilterInputType <>).MakeGenericType(_type), Definition.Type.Context); return(ObjectFilterOperationDescriptor.New( Context, this, CreateFieldName(operationKind), typeRef, operation)); }