PageRenderTime 95ms CodeModel.GetById 40ms app.highlight 6ms RepoModel.GetById 35ms app.codeStats 0ms

/src/LinFu.IoC/FactoryRequest.cs

http://github.com/philiplaureano/LinFu
C# | 32 lines | 12 code | 4 blank | 16 comment | 0 complexity | 8eeed62767a236946c373ed124988aff MD5 | raw file
 1using System;
 2using LinFu.IoC.Interfaces;
 3
 4namespace LinFu.IoC
 5{
 6    /// <summary>
 7    ///     Represents the default implementation of the <see cref="IFactoryRequest" /> interface.
 8    /// </summary>
 9    public class FactoryRequest : IFactoryRequest
10    {
11        /// <summary>
12        ///     Gets the value indicating the service container that made the service request.
13        /// </summary>
14        public IServiceContainer Container { get; set; }
15
16        /// <summary>
17        ///     Gets the value indicating the service name.
18        /// </summary>
19        /// <remarks>A null service name indicates that no service name was given during the request.</remarks>
20        public string ServiceName { get; set; }
21
22        /// <summary>
23        ///     Gets the value indicating the requested service type.
24        /// </summary>
25        public Type ServiceType { get; set; }
26
27        /// <summary>
28        ///     Gets the value indicating the additional arguments given in the factory request.
29        /// </summary>
30        public object[] Arguments { get; set; }
31    }
32}