IAppProcessor.cs 582 B

123456789101112131415
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Edge.Core.Processor
  5. {
  6. public interface IAppProcessor : IProcessor // IDisposable
  7. {
  8. /// <summary>
  9. /// Called by Framework before call Start() for any Processors(include AppProcessor and DeviceProcessor), reference other target processors here.
  10. /// </summary>
  11. /// <param name="processors">get the target dependent processors by calling: processors.WithHandlerOrApp<DependencyProcessorType>()</param>
  12. void Init(IEnumerable<IProcessor> processors);
  13. }
  14. }