public SequenceBuilderBase(ContextData contextData, IEnumerable <object> routeValuesPrefix, string endpointName, IEnumerable <T> sequence)
     : base(contextData, routeValuesPrefix, endpointName)
 {
     this.Sequence = sequence;
 }
 public SequenceBuilderBase(ContextData contextData, string enpointName, IEnumerable <T> sequence)
     : this(contextData, null, enpointName, sequence)
 {
 }
 public EntitiesBuilderBase(ContextData contextData, IEnumerable <object> routeValuesPrefix, string endpointName, IEnumerable <string> ids)
     : base(contextData, routeValuesPrefix, endpointName, ids)
 {
 }
 public EntitiesBuilderBase(ContextData contextData, string enpointName, IEnumerable <string> ids)
     : base(contextData, null, enpointName, ids)
 {
 }
Example #5
0
 public RootBuilder(ContextData contextData)
     : base(contextData)
 {
 }
Example #6
0
 private BuilderBase(ContextData contextData)
 {
     this.contextData = contextData;
     this.routeValues = Array.Empty <object>();
 }
Example #7
0
 public BuilderBase(ContextData contextData, IEnumerable <object> routeValuesPrefix, string endpointName, IEnumerable <object> routeValuesSuffix)
 {
     this.ContextData       = contextData;
     this.RouteValuesPrefix = routeValuesPrefix.EmptyIfNull().Concat(endpointName.Yield()).Concat(routeValuesSuffix.EmptyIfNull()).ToArray();
 }
Example #8
0
 public BuilderBase(ContextData contextData, string endpointName) : this(contextData, null, endpointName, null)
 {
 }
Example #9
0
 public BuilderBase(ContextData contextData, IEnumerable <object> routeValuesPrefix, string endpointName) : this(contextData, routeValuesPrefix, endpointName, null)
 {
 }
 protected EntityBuilderBase(ContextData contextData, string endpointName, string id)
     : this(contextData, null, endpointName, id)
 {
 }
 protected EntityBuilderBase(ContextData contextData, IEnumerable <object> routeValuesPrefix, string endpointName, string id)
     : base(contextData, routeValuesPrefix, endpointName, id.Yield())
 {
     this.Id = id;
 }