public RouteBuilder( IConfiguration configuration, IDependencyGraphFactory dependencyGraphFactory) { _configuration = configuration; _dependencyGraphFactory = dependencyGraphFactory; }
/// <summary> /// Constructs a new router /// </summary> /// <param name="dependencyGraphFactory"></param> public Router(IDependencyGraphFactory dependencyGraphFactory) { _dependencyGraphFactory = dependencyGraphFactory; _owinContextKey = "R:" + Guid.NewGuid().ToShortString(false); _dependencies = new List <IDependency>(); _segments = new List <IRoutingSegment>(); }
/// <summary> /// Constructs a new OWIN pipeline builder /// </summary> public Builder( IDependencyGraphFactory dependencyGraphFactory, ISegmenterFactory segmenterFactory) { _dependencyGraphFactory = dependencyGraphFactory; _segmenterFactory = segmenterFactory; _components = new List <Component>(); }
/// <summary> /// Constructs a new router /// </summary> public Router( IConfiguration configuration, IDependencyGraphFactory dependencyGraphFactory) { _dependencyGraphFactory = dependencyGraphFactory; _traceFilter = new TraceFilter(configuration, this); _owinContextKey = "R:" + Guid.NewGuid().ToShortString(false); _dependencies = new List <IDependency>(); _segments = new List <IRoutingSegment>(); }
/// <summary> /// Constructs a new OWIN pipeline builder /// </summary> public Builder( IDependencyGraphFactory dependencyGraphFactory, ISegmenterFactory segmenterFactory, IConfiguration configuration) { _dependencyGraphFactory = dependencyGraphFactory; _segmenterFactory = segmenterFactory; _configuration = configuration; _components = new List <Component>(); Trace = (c, f) => { }; TraceOutput = (c, t) => System.Diagnostics.Trace.WriteLine(t); }
public RoutingSegment(IDependencyGraphFactory dependencyGraphFactory) { _dependencyGraphFactory = dependencyGraphFactory; _components = new List <Component>(); }
/// <summary> /// Consuructs a SegmenterFactory /// </summary> public SegmenterFactory(IDependencyGraphFactory dependencyGraphFactory) { _dependencyGraphFactory = dependencyGraphFactory; }
public Segmenter(IDependencyGraphFactory dependencyGraphFactory) { _dependencyGraphFactory = dependencyGraphFactory; Clear(); }
public RouteBuilder(IDependencyGraphFactory dependencyGraphFactory) { _dependencyGraphFactory = dependencyGraphFactory; }