Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ODataRoutingMetadata"/> class.
 /// </summary>
 /// <param name="prefix">The prefix string.</param>
 /// <param name="model">The Edm model.</param>
 /// <param name="template">The Routing path template.</param>
 public ODataRoutingMetadata(string prefix, IEdmModel model, ODataPathTemplate template)
 {
     Prefix   = prefix ?? throw new ArgumentNullException(nameof(prefix));
     Model    = model ?? throw new ArgumentNullException(nameof(model));
     Template = template ?? throw new ArgumentNullException(nameof(template));
 }
Example #2
0
 public ODataEndpointMetadata(string prefix, IEdmModel model, ODataPathTemplate template)
 {
     Prefix   = prefix;
     Model    = model;
     Template = template;
 }