Class MockingProviderRegistrationInfo
Describes a provider registration known to MockingProviderRegistry.
Inherited Members
Namespace: FastMoq.Providers
Assembly: FastMoq.Core.dll
Syntax
public sealed class MockingProviderRegistrationInfo
Constructors
MockingProviderRegistrationInfo(string, Type, MockingProviderRegistrationSource)
Initializes a new instance of the MockingProviderRegistrationInfo class.
Declaration
public MockingProviderRegistrationInfo(string name, Type providerType, MockingProviderRegistrationSource source)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The provider name used for registry lookup. |
| Type | providerType | The concrete provider type registered under |
| MockingProviderRegistrationSource | source | The registration path that added the provider. |
Properties
Name
Gets the provider name used for registry lookup.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
ProviderType
Gets the concrete provider type registered under Name.
Declaration
public Type ProviderType { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Source
Gets how the provider registration entered the registry.
Declaration
public MockingProviderRegistrationSource Source { get; }
Property Value
| Type | Description |
|---|---|
| MockingProviderRegistrationSource |