Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 53 lines (49 sloc) 2.186 kb
d125ca4 @serialseb Adding 2.1 branch
serialseb authored
1 #region License
2 /* Authors:
3 * Sebastien Lambla (seb@serialseb.com)
4 * Copyright:
5 * (C) 2007-2009 Caffeine IT & naughtyProd Ltd (http://www.caffeine-it.com)
6 * License:
7 * This file is distributed under the terms of the MIT License found at the end of this file.
8 */
9 #endregion
10 using System;
11 using System.Collections.ObjectModel;
12 using System.Collections.Specialized;
13
14 namespace OpenRasta
15 {
16 public class UriTemplateMatch
17 {
18 public Uri BaseUri { get; set; }
19 public NameValueCollection PathSegmentVariables { get; internal set; }
20 public object Data { get; set; }
21 public Collection<string> QueryParameters { get; set; }
22 public NameValueCollection QueryStringVariables { get; internal set; }
23 public Collection<string> RelativePathSegments { get; internal set; }
24 public Uri RequestUri { get; set; }
25 public UriTemplate Template { get; set; }
26 public Collection<string> WildcardPathSegments { get; internal set; }
27
28 }
29 }
30
31 #region Full license
32 //
33 // Permission is hereby granted, free of charge, to any person obtaining
34 // a copy of this software and associated documentation files (the
35 // "Software"), to deal in the Software without restriction, including
36 // without limitation the rights to use, copy, modify, merge, publish,
37 // distribute, sublicense, and/or sell copies of the Software, and to
38 // permit persons to whom the Software is furnished to do so, subject to
39 // the following conditions:
40 //
41 // The above copyright notice and this permission notice shall be
42 // included in all copies or substantial portions of the Software.
43 //
44 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
45 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
46 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
47 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
48 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
49 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
50 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
51 //
52 #endregion
Something went wrong with that request. Please try again.