Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 5004bf4790
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (19 sloc) 0.747 kB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MongoDB.Configuration
{
public static class IMongoConfigurationExtensions
{
public static void Validate(this IMongoConfiguration configuration)
{
if (configuration.ConnectionString == null)
throw new MongoConfigurationException("ConnectionString can not be null");
if (configuration.MappingStore == null)
throw new MongoConfigurationException("MappingStore can not be null");
if (configuration.SerializationFactory == null)
throw new MongoConfigurationException("SerializationFactory can not be null");
}
}
}
Jump to Line
Something went wrong with that request. Please try again.