/// <summary> /// Constructor /// </summary> /// <param name="request">request</param> /// <param name="machineInformation">machine information</param> /// <param name="experimentContext">experiment context</param> /// <param name="knownIpAddresses">known ip addresses</param> /// <param name="settings">GateSettings</param> public GateContext(IGatedRequest request, IMachineInformation machineInformation, IExperimentContext experimentContext, INamedIPAddresses knownIpAddresses = null, IGateSettings settings = null) { Request = request; MachineInformation = machineInformation; ExperimentContext = experimentContext; KnownIpAddresses = knownIpAddresses; m_settings = settings; }
/// <summary> /// Initializes a new instance of the <see cref="CompoundGroupsTableModule"/> class. /// </summary> /// <param name="container"> /// The container. /// </param> /// <remarks> /// </remarks> public CompoundGroupsTableModule(IUnityContainer container) : base(container) { this.ExperimentContext = this.Container.Resolve <IExperimentContext>(); }