28 lines
719 B
C#
28 lines
719 B
C#
using EnVisage.MongoDbMigration.DataAccess;
|
|
using System;
|
|
|
|
namespace EnVisage.MongoDbMigration.Logic
|
|
{
|
|
public class ManagerBase
|
|
{
|
|
private MongoAccessorsContainer _accessors = null;
|
|
protected MongoAccessorsContainer Accessors
|
|
{
|
|
get
|
|
{
|
|
if (_accessors == null)
|
|
throw new ArgumentNullException("_accessors");
|
|
|
|
return _accessors;
|
|
}
|
|
}
|
|
|
|
public ManagerBase(MongoAccessorsContainer accessorsContainer)
|
|
{
|
|
if (accessorsContainer == null)
|
|
throw new ArgumentNullException("accessorsContainer");
|
|
|
|
_accessors = accessorsContainer;
|
|
}
|
|
}
|
|
} |