PageRenderTime 41ms CodeModel.GetById 37ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/LinFu.IoC/Configuration/FluentInterfaces/ActionContext.cs

http://github.com/philiplaureano/LinFu
C# | 21 lines | 9 code | 1 blank | 11 comment | 0 complexity | 179c0e4fefbf1f5aa1985df464ef128d MD5 | raw file
 1using System;
 2using LinFu.IoC.Interfaces;
 3
 4namespace LinFu.IoC.Configuration
 5{
 6    /// <summary>
 7    ///     Represents the <c>internal</c> context class that will be used to
 8    ///     incrementally build enough information to initialize
 9    ///     a specific <typeparamref name="TService" /> type once
10    ///     that service has been instantiated.
11    /// </summary>
12    /// <typeparam name="TService">The service type to be created.</typeparam>
13    internal class ActionContext<TService> : BaseContext<TService>
14    {
15        /// <summary>
16        ///     The action that will be performed on an <see cref="IServiceContainer" />
17        ///     instance once the fluent command executes.
18        /// </summary>
19        public Action<IServiceContainer, TService> Action { get; set; }
20    }
21}