Class
LocalFieldDescriptionsProviderBase

A base class for various FieldInfo classes presenting local sources. An implementation of IFieldDescriptionProvider.

Definition

Namespace:Telerik.Pivot.Core.Fields

Assembly:Telerik.Pivot.Core.dll

Syntax:

cs-api-definition
public abstract class LocalFieldDescriptionsProviderBase : FieldDescriptionProviderBase, IFieldDescriptionProvider

Inheritance: objectFieldDescriptionProviderBaseLocalFieldDescriptionsProviderBase

Derived Classes: LocalDataSourceFieldDescriptionsProviderQueryableFieldDescriptionsProvider

Implements: IFieldDescriptionProvider

Inherited Members FieldDescriptionProviderBase.IsBusyFieldDescriptionProviderBase.GetDescriptionsDataAsyncCompleted

Constructors

LocalFieldDescriptionsProviderBase()

Declaration

cs-api-definition
protected LocalFieldDescriptionsProviderBase()

Properties

CurrentState

Gets the object which FieldDescriptions are generated.

Declaration

cs-api-definition
public object CurrentState { get; protected set; }

Property Value

object

EnableHierarchy

Gets or sets a boolean value indicating whether field descriptions will be generated for nested properties of the objects.

Declaration

cs-api-definition
public bool EnableHierarchy { get; set; }

Property Value

bool

Methods

GenerateDescriptionsData()

Retrieves the DescriptionsData for data source.

Declaration

cs-api-definition
protected abstract IFieldInfoData GenerateDescriptionsData()

Returns

IFieldInfoData

DescriptionsData instance.

GetDescriptionsDataAsync(object)

Retrieves information about all available field descriptions. This method does not block the calling thread.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Justification = "Design choice.")]
public override void GetDescriptionsDataAsync(object state)

Parameters

state

object

Overrides FieldDescriptionProviderBase.GetDescriptionsDataAsync(object)

GetFieldDescriptionHierarchy(IEnumerable<IPivotFieldInfo>)

Gets the field description hierarchy.

Declaration

cs-api-definition
protected virtual ContainerNode GetFieldDescriptionHierarchy(IEnumerable<IPivotFieldInfo> fieldInfos)

Parameters

fieldInfos

IEnumerable<IPivotFieldInfo>

Collection of IPivotFieldInfo instances.

Returns

ContainerNode

OnDescriptionsDataCompleted(GetDescriptionsDataCompletedEventArgs)

Raise GetDescriptionsDataAsyncCompleted event.

Declaration

cs-api-definition
protected override void OnDescriptionsDataCompleted(GetDescriptionsDataCompletedEventArgs args)

Parameters

args

GetDescriptionsDataCompletedEventArgs

The event args used to invoke the event.

Overrides FieldDescriptionProviderBase.OnDescriptionsDataCompleted(GetDescriptionsDataCompletedEventArgs)