예제 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SelfMediaDatabase.Console.Bootstrap.Bootstrap"/> class.
        /// </summary>
        /// <param name="bootstrapOperation">Bootstrap operations.</param>
        /// <param name="directory">Directory.</param>
        public Bootstrap(IBootstrapOperations bootstrapOperations)
        {
            if (bootstrapOperations == null)
                throw new ArgumentNullException("bootstrapOperations");

            _bootstrapOperations = bootstrapOperations;
        }
예제 #2
0
		public void Initialize()
		{
			_bootstrapOperations = Substitute.For<IBootstrapOperations>();

            _target = new B(_bootstrapOperations);
		}