Method CreateForProvider
CreateForProvider(Type)
Returns the first ICatalogBuilder whose CatalogProviderType
matches catalogProviderType, discovered via reflection.
Declaration
public static ICatalogBuilder CreateForProvider(Type catalogProviderType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | catalogProviderType | The catalog provider type to find a builder for. |
Returns
| Type | Description |
|---|---|
| ICatalogBuilder | The catalog builder that produces the given provider type. |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Thrown when no builder is registered for the given provider type. |