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
stringThe additional message of the error.
Methods
ThrowIfNotConfigured(IModelNameConvention?, Type?)
Throw if not configured.
public static void ThrowIfNotConfigured(IModelNameConvention? convention, Type? conventionType)
Parameters
convention
IModelNameConventionThe IModelNameConvention.
conventionType
TypeThe type of the model name convention.
Exceptions
- ModelNameResolverNotConfigured
Thrown if the resolver is not configured.