Table of Contents

Class ModelNameResolverNotConfigured

Namespace
Cratis.Applications.MongoDB
Assembly
Cratis.Applications.MongoDB.dll

The exception that is thrown when the IMongoServerResolver is missing.

public class ModelNameResolverNotConfigured : Exception, ISerializable
Inheritance
ModelNameResolverNotConfigured
Implements
Inherited Members

Constructors

ModelNameResolverNotConfigured(string)

The exception that is thrown when the IMongoServerResolver is missing.

public ModelNameResolverNotConfigured(string message)

Parameters

message string

The additional message of the error.

Methods

ThrowIfNotConfigured(IModelNameConvention?, Type?)

Throw if not configured.

public static void ThrowIfNotConfigured(IModelNameConvention? convention, Type? conventionType)

Parameters

convention IModelNameConvention

The IModelNameConvention.

conventionType Type

The type of the model name convention.

Exceptions

ModelNameResolverNotConfigured

Thrown if the resolver is not configured.