C# Class Jarstan.ContentSearch.AzureProvider.AzureFieldBuilder

Datei anzeigen Open project: jscott1277/SitecoreAzureSearchProvider Class Usage Examples

Public Methods

Method Description
BuildField ( string name, object val, IAzureProviderIndex index ) : Microsoft.Azure.Search.Models.Field
CreateField ( string name, object value, AzureSearchFieldConfiguration fieldConfiguration, IIndexFieldStorageValueFormatter indexFieldStorageValueFormatter ) : AzureField
IsBool ( string boolVal, bool defaultValue ) : bool
IsFloatingPointField ( Type type ) : bool
IsNumericField ( Type type ) : bool

Private Methods

Method Description
BuildField ( string name, AzureSearchFieldConfiguration fieldConfiguration ) : Microsoft.Azure.Search.Models.Field

Method Details

BuildField() public static method

public static BuildField ( string name, object val, IAzureProviderIndex index ) : Microsoft.Azure.Search.Models.Field
name string
val object
index IAzureProviderIndex
return Microsoft.Azure.Search.Models.Field

CreateField() public static method

public static CreateField ( string name, object value, AzureSearchFieldConfiguration fieldConfiguration, IIndexFieldStorageValueFormatter indexFieldStorageValueFormatter ) : AzureField
name string
value object
fieldConfiguration AzureSearchFieldConfiguration
indexFieldStorageValueFormatter IIndexFieldStorageValueFormatter
return AzureField

IsBool() public static method

public static IsBool ( string boolVal, bool defaultValue ) : bool
boolVal string
defaultValue bool
return bool

IsFloatingPointField() public static method

public static IsFloatingPointField ( Type type ) : bool
type System.Type
return bool

IsNumericField() public static method

public static IsNumericField ( Type type ) : bool
type System.Type
return bool