示例#1
0
 public RuleFinder(IAutoMoveRepository autoMoveRepository,
     ISourceValueProvider sourceValueProvider)
 {
     if (autoMoveRepository == null) throw new ArgumentNullException("autoMoveRepository");
     if (sourceValueProvider == null) throw new ArgumentNullException("sourceValueProvider");
     _autoMoveRepository = autoMoveRepository;
     _sourceValueProvider = sourceValueProvider;
 }
 public ParameterValueReplacer(ISourceValueProvider sourceValueProvider)
 {
     if (sourceValueProvider == null)
     {
         throw new ArgumentNullException("sourceValueProvider");
     }
     _sourceValueProvider = sourceValueProvider;
 }
示例#3
0
 public RuleFinder(IAutoMoveRepository autoMoveRepository,
                   ISourceValueProvider sourceValueProvider)
 {
     if (autoMoveRepository == null)
     {
         throw new ArgumentNullException("autoMoveRepository");
     }
     if (sourceValueProvider == null)
     {
         throw new ArgumentNullException("sourceValueProvider");
     }
     _autoMoveRepository  = autoMoveRepository;
     _sourceValueProvider = sourceValueProvider;
 }
 public ParameterValueReplacer(ISourceValueProvider sourceValueProvider)
 {
     if (sourceValueProvider == null) throw new ArgumentNullException("sourceValueProvider");
     _sourceValueProvider = sourceValueProvider;
 }