Class DataProviderDefinition
Represents the data provider definition.
Inheritance
DataProviderDefinition
Implements
Namespace: BiExcellence.OpenBi.Api.Commands.DataProviders
Assembly: BiExcellence.OpenBi.Api.DataProvider.dll
Syntax
public class DataProviderDefinition : IDataProviderDefinition
Constructors
DataProviderDefinition()
Initializes a new instance of the DataProviderDefinition class.
Declaration
public DataProviderDefinition()
DataProviderDefinition(IDataProviderDefinition)
Copy constructor.
Declaration
public DataProviderDefinition(IDataProviderDefinition dataProviderDefinition)
Parameters
| Type | Name | Description |
|---|---|---|
| IDataProviderDefinition | dataProviderDefinition | The data provider definition. |
Properties
Dimensions
Gets the dimensions.
Declaration
public IDimensions Dimensions { get; }
Property Value
| Type | Description |
|---|---|
| IDimensions |
DrillStates
Gets the drillstates.
Declaration
public IDrillStates DrillStates { get; }
Property Value
| Type | Description |
|---|---|
| IDrillStates |
KeyFigures
Gets the key figures.
Declaration
public IKeyFigures KeyFigures { get; }
Property Value
| Type | Description |
|---|---|
| IKeyFigures |
Variables
Gets the variables.
Declaration
public IVariables Variables { get; }
Property Value
| Type | Description |
|---|---|
| IVariables |
VisualMode
Gets or sets the visual mode.
Declaration
public DataVisualType VisualMode { get; set; }
Property Value
| Type | Description |
|---|---|
| DataVisualType |
Methods
Deserialize(string)
Deserializes the JSON string to a data provider definition.
Declaration
public static IDataProviderDefinition Deserialize(string json)
Parameters
| Type | Name | Description |
|---|---|---|
| string | json | The json. |
Returns
| Type | Description |
|---|---|
| IDataProviderDefinition |
Serialize()
Serializes the data provider definition to a JSON string.
Declaration
public string Serialize()
Returns
| Type | Description |
|---|---|
| string |
Serialize(Utf8JsonWriter)
Serializes the data provider definition to the Utf8JsonWriter.
Declaration
public void Serialize(Utf8JsonWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| Utf8JsonWriter | writer | The writer. |