コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SnmpApplicationFactory"/> class.
 /// </summary>
 /// <param name="store">The store.</param>
 /// <param name="membershipProvider">The membership provider.</param>
 /// <param name="factory">The factory.</param>
 public SnmpApplicationFactory(ObjectStore store, IMembershipProvider membershipProvider, MessageHandlerFactory factory)
     : this(null, store, membershipProvider, factory) // TODO: handle the null case in the future.
 {
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SnmpApplicationFactory"/> class.
 /// </summary>
 /// <param name="logger">The logger.</param>
 /// <param name="store">The store.</param>
 /// <param name="membershipProvider">The membership provider.</param>
 /// <param name="factory">The factory.</param>
 public SnmpApplicationFactory(ILogger logger, ObjectStore store, IMembershipProvider membershipProvider, MessageHandlerFactory factory)
 {
     _logger             = logger;
     _membershipProvider = membershipProvider;
     _store   = store;
     _factory = factory;
 }