Class FileDataSourceBuilder
Inheritance
FileDataSourceBuilder
Assembly: LaunchDarkly.ServerSdk.dll
Syntax
public sealed class FileDataSourceBuilder : IComponentConfigurer<IDataSource>
Constructors
FileDataSourceBuilder()
Declaration
public FileDataSourceBuilder()
Methods
AutoUpdate(bool)
Declaration
public FileDataSourceBuilder AutoUpdate(bool autoUpdate)
Parameters
Type |
Name |
Description |
bool |
autoUpdate |
|
Returns
Build(LdClientContext)
Declaration
public IDataSource Build(LdClientContext context)
Parameters
Returns
DuplicateKeysHandling(DuplicateKeysHandling)
Declaration
public FileDataSourceBuilder DuplicateKeysHandling(FileDataTypes.DuplicateKeysHandling duplicateKeysHandling)
Parameters
Returns
FilePaths(params string[])
Declaration
public FileDataSourceBuilder FilePaths(params string[] paths)
Parameters
Type |
Name |
Description |
string[] |
paths |
|
Returns
FileReader(IFileReader)
Declaration
public FileDataSourceBuilder FileReader(FileDataTypes.IFileReader fileReader)
Parameters
Returns
Parser(Func<string, object>)
Declaration
public FileDataSourceBuilder Parser(Func<string, object> parseFn)
Parameters
Returns
SkipMissingPaths(bool)
Declaration
public FileDataSourceBuilder SkipMissingPaths(bool skipMissingPaths)
Parameters
Type |
Name |
Description |
bool |
skipMissingPaths |
|
Returns
Implements