Table of Contents

Class MasterDataServiceBuilderExtensions

Namespace
JJMasterData.Core.Configuration
Assembly
JJMasterData.Core.dll
public static class MasterDataServiceBuilderExtensions
Inheritance
MasterDataServiceBuilderExtensions
Inherited Members

Methods

WithActionPlugin<TPlugin>(MasterDataServiceBuilder)

public static MasterDataServiceBuilder WithActionPlugin<TPlugin>(this MasterDataServiceBuilder builder) where TPlugin : class, IPluginHandler

Parameters

builder MasterDataServiceBuilder

Returns

MasterDataServiceBuilder

Type Parameters

TPlugin

WithDataDictionaryRepository(MasterDataServiceBuilder, Func<IServiceProvider, IDataDictionaryRepository>)

public static MasterDataServiceBuilder WithDataDictionaryRepository(this MasterDataServiceBuilder builder, Func<IServiceProvider, IDataDictionaryRepository> implementationFactory)

Parameters

builder MasterDataServiceBuilder
implementationFactory Func<IServiceProvider, IDataDictionaryRepository>

Returns

MasterDataServiceBuilder

WithDataDictionaryRepository<T>(MasterDataServiceBuilder)

public static MasterDataServiceBuilder WithDataDictionaryRepository<T>(this MasterDataServiceBuilder builder) where T : class, IDataDictionaryRepository

Parameters

builder MasterDataServiceBuilder

Returns

MasterDataServiceBuilder

Type Parameters

T

WithDatabaseDataDictionary(MasterDataServiceBuilder)

public static MasterDataServiceBuilder WithDatabaseDataDictionary(this MasterDataServiceBuilder builder)

Parameters

builder MasterDataServiceBuilder

Returns

MasterDataServiceBuilder

WithDatabaseDataDictionary(MasterDataServiceBuilder, string, DataAccessProvider)

public static MasterDataServiceBuilder WithDatabaseDataDictionary(this MasterDataServiceBuilder builder, string connectionString, DataAccessProvider provider)

Parameters

builder MasterDataServiceBuilder
connectionString string
provider DataAccessProvider

Returns

MasterDataServiceBuilder

WithEventHandlers(MasterDataServiceBuilder, Assembly[])

public static MasterDataServiceBuilder WithEventHandlers(this MasterDataServiceBuilder builder, Assembly[] assemblies)

Parameters

builder MasterDataServiceBuilder
assemblies Assembly[]

Returns

MasterDataServiceBuilder

WithExcelExportation<T>(MasterDataServiceBuilder)

public static MasterDataServiceBuilder WithExcelExportation<T>(this MasterDataServiceBuilder builder) where T : class, IExcelWriter

Parameters

builder MasterDataServiceBuilder

Returns

MasterDataServiceBuilder

Type Parameters

T

WithExpressionProvider<T>(MasterDataServiceBuilder)

public static MasterDataServiceBuilder WithExpressionProvider<T>(this MasterDataServiceBuilder builder) where T : class, IExpressionProvider

Parameters

builder MasterDataServiceBuilder

Returns

MasterDataServiceBuilder

Type Parameters

T

WithFileSystemDataDictionary(MasterDataServiceBuilder)

public static MasterDataServiceBuilder WithFileSystemDataDictionary(this MasterDataServiceBuilder builder)

Parameters

builder MasterDataServiceBuilder

Returns

MasterDataServiceBuilder

WithFileSystemDataDictionary(MasterDataServiceBuilder, IConfiguration)

public static MasterDataServiceBuilder WithFileSystemDataDictionary(this MasterDataServiceBuilder builder, IConfiguration configuration)

Parameters

builder MasterDataServiceBuilder
configuration IConfiguration

Returns

MasterDataServiceBuilder

WithFileSystemDataDictionary(MasterDataServiceBuilder, Action<FileSystemDataDictionaryOptions>)

public static MasterDataServiceBuilder WithFileSystemDataDictionary(this MasterDataServiceBuilder builder, Action<FileSystemDataDictionaryOptions> options)

Parameters

builder MasterDataServiceBuilder
options Action<FileSystemDataDictionaryOptions>

Returns

MasterDataServiceBuilder

WithFormEventHandlerFactory(MasterDataServiceBuilder, Func<IServiceProvider, IDataDictionaryRepository>)

public static MasterDataServiceBuilder WithFormEventHandlerFactory(this MasterDataServiceBuilder builder, Func<IServiceProvider, IDataDictionaryRepository> implementationFactory)

Parameters

builder MasterDataServiceBuilder
implementationFactory Func<IServiceProvider, IDataDictionaryRepository>

Returns

MasterDataServiceBuilder

WithFormEventHandlerFactory<T>(MasterDataServiceBuilder)

public static MasterDataServiceBuilder WithFormEventHandlerFactory<T>(this MasterDataServiceBuilder builder) where T : class, IFormEventHandlerResolver

Parameters

builder MasterDataServiceBuilder

Returns

MasterDataServiceBuilder

Type Parameters

T

WithPdfExportation<T>(MasterDataServiceBuilder)

public static MasterDataServiceBuilder WithPdfExportation<T>(this MasterDataServiceBuilder builder) where T : IPdfWriter

Parameters

builder MasterDataServiceBuilder

Returns

MasterDataServiceBuilder

Type Parameters

T

WithTextExportation<T>(MasterDataServiceBuilder)

public static MasterDataServiceBuilder WithTextExportation<T>(this MasterDataServiceBuilder builder) where T : class, ITextWriter

Parameters

builder MasterDataServiceBuilder

Returns

MasterDataServiceBuilder

Type Parameters

T