Class FilterDescriptorExtensions
Extensions for the filter descriptors
Inheritance
System.Object
FilterDescriptorExtensions
Namespace: Telerik.DataSource
Assembly: Telerik.DataSource.dll
Syntax
public static class FilterDescriptorExtensions : Object
Methods
SelectMemberDescriptors(IEnumerable<IFilterDescriptor>)
Returns all the filter descriptors incluiding the child items
Declaration
public static IEnumerable<FilterDescriptor> SelectMemberDescriptors(this IEnumerable<IFilterDescriptor> descriptors)
Parameters
System.Collections.Generic.IEnumerable<IFilterDescriptor>
descriptors
|
Returns
System.Collections.Generic.IEnumerable<FilterDescriptor>
|
SetMemberTypeFrom(IEnumerable<IFilterDescriptor>, Object)
Sets the member type on each filter descriptor based on the provided type, and returns the updated collection
Declaration
public static IEnumerable<IFilterDescriptor> SetMemberTypeFrom(this IEnumerable<IFilterDescriptor> descriptors, object item)
Parameters
System.Collections.Generic.IEnumerable<IFilterDescriptor>
descriptors
|
System.Object
item
|
Returns
System.Collections.Generic.IEnumerable<IFilterDescriptor>
|
SetMemberTypeFrom(FilterDescriptor, Object)
Sets the member type on the filter descriptor based on the provided type
Declaration
public static void SetMemberTypeFrom(this FilterDescriptor descriptor, object item)
Parameters
FilterDescriptor
descriptor
|
System.Object
item
|