Skip to content

DefaultRowFieldsProvider class

namespace: Serenity.Data   assemblySerenity.Net.Services

Default row fields instance provider, that resolves row fields instances using ActivatorUtilities.CreateInstance through a IServiceProvider.

public class DefaultRowFieldsProvider : IRowFieldsProvider
parameter description
serviceProvider The service provider.

Public Members

name description
DefaultRowFieldsProvider(…) Default row fields instance provider, that resolves row fields instances using ActivatorUtilities.CreateInstance through a IServiceProvider.
Resolve(…) Resolves the fields instance for the specified fields type.
ResolveWithAlias(…) Resolves the fields instance for the specified fields type with the given alias applied.

Exceptions

exception condition
ArgumentNullException serviceProvider

Remarks

Initializes a new instance of the DefaultRowFieldsProvider class.

See Also