You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
42
external/referencesource/System.ServiceModel/System/UriTemplateTableMatchCandidate.cs
vendored
Normal file
42
external/referencesource/System.ServiceModel/System/UriTemplateTableMatchCandidate.cs
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
//----------------------------------------------------------------
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//----------------------------------------------------------------
|
||||
|
||||
namespace System
|
||||
{
|
||||
struct UriTemplateTableMatchCandidate
|
||||
{
|
||||
readonly object data;
|
||||
readonly int segmentsCount;
|
||||
readonly UriTemplate template;
|
||||
|
||||
public UriTemplateTableMatchCandidate(UriTemplate template, int segmentsCount, object data)
|
||||
{
|
||||
this.template = template;
|
||||
this.segmentsCount = segmentsCount;
|
||||
this.data = data;
|
||||
}
|
||||
public object Data
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.data;
|
||||
}
|
||||
}
|
||||
public int SegmentsCount
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.segmentsCount;
|
||||
}
|
||||
}
|
||||
|
||||
public UriTemplate Template
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.template;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user