Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EventGridFunction"/> class.
 /// </summary>
 /// <param name="logger">The logger.</param>
 /// <param name="eventDispatcher">The event dispatcher.</param>
 public EventGridFunction(
     IObjectLogger <EventGridFunction> logger,
     IEventGridDispatcher eventDispatcher)
 {
     _logger          = logger;
     _eventDispatcher = eventDispatcher;
 }
Пример #2
0
 public EventGridFunctionTests()
 {
     _logger            = Mock.Of <IObjectLogger <EventGridFunction> >();
     _eventDispatcher   = Mock.Of <IEventGridDispatcher>();
     _eventGridFunction = new EventGridFunction(_logger, _eventDispatcher);
 }