protected BaseVobDef(string codeName, IBaseDefFactory baseDefFactory, IVobDefRegistration registration) { if (baseDefFactory == null) { throw new ArgumentNullException(nameof(baseDefFactory)); } if (string.IsNullOrWhiteSpace(codeName)) { throw new ArgumentException("Value cannot be null or whitespace.", nameof(codeName)); } _Registration = registration ?? throw new ArgumentNullException(nameof(registration)); BaseDef = baseDefFactory.Build(this); CodeName = codeName; }
public LizardDefBuilder(IBaseDefFactory baseDefFactory, IVobDefRegistration registration) { _BaseDefFactory = baseDefFactory ?? throw new ArgumentNullException(nameof(baseDefFactory)); _Registration = registration ?? throw new ArgumentNullException(nameof(registration)); }
public MobInterDef(string codeName, IBaseDefFactory baseDefFactory, IVobDefRegistration registration) : base(codeName, baseDefFactory, registration) { }