Represents a mock implementation of IRailsEngineContext for unit test purposes.
Inheritance: AbstractServiceContainer, IRailsEngineContext
コード例 #1
0
		/// <summary>
		/// Initializes a new instance of the <see cref="MockEmailTemplateService"/> class.
		/// </summary>
		/// <param name="context">The context.</param>
		public MockEmailTemplateService(MockRailsEngineContext context)
		{
			this.context = context;
		}
コード例 #2
0
		/// <summary>
		/// Initializes a new instance of the <see cref="MockSmtpSender"/> class.
		/// </summary>
		/// <param name="context">The context.</param>
		public MockSmtpSender(MockRailsEngineContext context)
		{
			this.context = context;
		}