protected override void Configure(IFilterInputTypeDescriptor descriptor) { descriptor.Operation(DefaultOperations.Equals).Type(typeof(T)).MakeNullable(); descriptor.Operation(DefaultOperations.NotEquals).Type(typeof(T)).MakeNullable(); descriptor.Operation(DefaultOperations.In).Type(typeof(IEnumerable <T>)).MakeNullable(); descriptor.Operation(DefaultOperations.NotIn).Type(typeof(IEnumerable <T>)).MakeNullable(); descriptor.AllowAnd(false).AllowOr(false); }
protected override void Configure(IFilterInputTypeDescriptor descriptor) { descriptor.Operation(DefaultFilterOperations.All).Type(typeof(T)); descriptor.Operation(DefaultFilterOperations.None).Type(typeof(T)); descriptor.Operation(DefaultFilterOperations.Some).Type(typeof(T)); descriptor.Operation(DefaultFilterOperations.Any).Type <BooleanType>(); descriptor.AllowAnd(false).AllowOr(false); }
protected override void Configure(IFilterInputTypeDescriptor descriptor) { descriptor.Operation(Operations.Equals).Type(typeof(T)); descriptor.Operation(Operations.NotEquals).Type(typeof(T)); descriptor.Operation(Operations.In).Type(typeof(T)); descriptor.Operation(Operations.NotIn).Type(typeof(T)); descriptor.UseAnd(false).UseOr(false); }
protected override void Configure(IFilterInputTypeDescriptor descriptor) { descriptor.Operation(Operations.All).Type(typeof(T)); descriptor.Operation(Operations.None).Type(typeof(T)); descriptor.Operation(Operations.Some).Type(typeof(T)); descriptor.Operation(Operations.Any).Type <BooleanOperationInput>(); descriptor.UseAnd(false).UseOr(false); }
protected override void Configure(IFilterInputTypeDescriptor <Foo> descriptor) { descriptor.Name("Test"); descriptor .Operation(155) .Name("TestSimpleMethod") .Type <BooleanOperationFilterInputType>(); descriptor .Operation(156) .Name("TestComplexMethod") .Type <FilterInputType <Bar> >(); }
protected override void Configure(IFilterInputTypeDescriptor descriptor) { descriptor.Operation(DefaultOperations.Equals).Type <StringType>(); descriptor.Operation(DefaultOperations.NotEquals).Type <StringType>(); descriptor.Operation(DefaultOperations.Contains).Type <StringType>(); descriptor.Operation(DefaultOperations.NotContains).Type <StringType>(); descriptor.Operation(DefaultOperations.In).Type <ListType <StringType> >(); descriptor.Operation(DefaultOperations.NotIn).Type <ListType <StringType> >(); descriptor.Operation(DefaultOperations.StartsWith).Type <StringType>(); descriptor.Operation(DefaultOperations.NotStartsWith).Type <StringType>(); descriptor.Operation(DefaultOperations.EndsWith).Type <StringType>(); descriptor.Operation(DefaultOperations.NotEndsWith).Type <StringType>(); }
protected override void Configure(IFilterInputTypeDescriptor descriptor) { descriptor.Operation(DefaultFilterOperations.Equals) .Type <UuidType>(); descriptor.Operation(DefaultFilterOperations.NotEquals) .Type <UuidType>(); descriptor.Operation(DefaultFilterOperations.In) .Type <ListType <UuidType> >(); descriptor.Operation(DefaultFilterOperations.NotIn) .Type <ListType <UuidType> >(); descriptor.AllowAnd(false).AllowOr(false); }
protected override void Configure(IFilterInputTypeDescriptor <T> descriptor) { descriptor.BindFieldsExplicitly(); descriptor.Field(x => x.Area); descriptor.Field(x => x.Boundary); descriptor.Field(x => x.Centroid); descriptor.Field(x => x.Dimension); descriptor.Field(x => x.Envelope); descriptor.Field(x => x.GeometryType); descriptor.Field(x => x.InteriorPoint); descriptor.Field(x => x.IsSimple); descriptor.Field(x => x.IsValid); descriptor.Field(x => x.Length); descriptor.Field(x => x.NumPoints); descriptor.Field(x => x.OgcGeometryType); descriptor.Field(x => x.PointOnSurface); descriptor.Field(x => x.SRID); descriptor.Operation(Contains).Type <GeometryContainsOperationType>(); descriptor.Operation(Distance).Type <GeometryDistanceOperationType>(); descriptor.Operation(Intersects).Type <GeometryIntersectsOperationType>(); descriptor.Operation(Overlaps).Type <GeometryOverlapsOperationType>(); descriptor.Operation(Touches).Type <GeometryTouchesOperationType>(); descriptor.Operation(Within).Type <GeometryWithinOperationType>(); }
protected override void Configure(IFilterInputTypeDescriptor descriptor) { descriptor.Operation(DefaultOperations.Equals).Type <StringType>(); descriptor.AllowAnd(false).AllowOr(false); }
protected override void Configure(IFilterInputTypeDescriptor descriptor) { descriptor.Operation(Geometry).Type <NonNullType <GeometryType> >(); descriptor.Operation(Buffer).Type <FloatType>(); descriptor.AllowAnd(false).AllowOr(false); }
protected override void Configure(IFilterInputTypeDescriptor descriptor) { descriptor.Operation(Geometry).Type <NonNullType <GeometryType> >(); descriptor.Operation(Buffer).Type <FloatType>(); base.Configure(descriptor); }
protected override void Configure(IFilterInputTypeDescriptor descriptor) { descriptor.Operation(Operations.Equals).Type <BooleanType>(); descriptor.Operation(Operations.NotEquals).Type <BooleanType>(); descriptor.UseAnd(false).UseOr(false); }
protected override void Configure(IFilterInputTypeDescriptor <Address> descriptor) { descriptor.Operation(123).Type <CustomOperationInputType>(); }
protected override void Configure(IFilterInputTypeDescriptor <string> descriptor) { // descriptor descriptor.Operation(Operations.Equals); }
protected override void Configure(IFilterInputTypeDescriptor descriptor) { descriptor.Operation(Operations.Equals).Type <StringType>(); descriptor.Operation(Operations.NotEquals).Type <StringType>(); descriptor.Operation(Operations.Contains).Type <StringType>(); descriptor.Operation(Operations.NotContains).Type <StringType>(); descriptor.Operation(Operations.In).Type <StringType>(); descriptor.Operation(Operations.NotIn).Type <StringType>(); descriptor.Operation(Operations.StartsWith).Type <StringType>(); descriptor.Operation(Operations.NotStartsWith).Type <StringType>(); descriptor.Operation(Operations.EndsWith).Type <StringType>(); descriptor.Operation(Operations.NotEndsWith).Type <StringType>(); descriptor.Operation(Operations.GreaterThan).Type <StringType>(); descriptor.Operation(Operations.NotGreaterThan).Type <StringType>(); descriptor.Operation(Operations.GreaterThanOrEquals).Type <StringType>(); descriptor.Operation(Operations.NotGreaterThanOrEquals).Type <StringType>(); descriptor.Operation(Operations.LowerThan).Type <StringType>(); descriptor.Operation(Operations.NotLowerThan).Type <StringType>(); descriptor.Operation(Operations.LowerThanOrEquals).Type <StringType>(); descriptor.Operation(Operations.NotLowerThanOrEquals).Type <StringType>(); }