Ejemplo n.º 1
0
 /// <summary>
 /// Constructs a new OWIN pipeline builder
 /// </summary>
 public Builder(
     IDependencyGraphFactory dependencyGraphFactory,
     ISegmenterFactory segmenterFactory)
 {
     _dependencyGraphFactory = dependencyGraphFactory;
     _segmenterFactory       = segmenterFactory;
     _components             = new List <Component>();
 }
Ejemplo n.º 2
0
 /// <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);
 }