forked from ClearFoundry/ClearScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUniqueDocumentInfo.cs
More file actions
53 lines (42 loc) · 1.13 KB
/
Copy pathUniqueDocumentInfo.cs
File metadata and controls
53 lines (42 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
namespace Microsoft.ClearScript
{
internal class UniqueDocumentInfo
{
public UniqueDocumentInfo(DocumentInfo info, ulong uniqueId, string uniqueName)
{
Info = info;
UniqueId = uniqueId;
UniqueName = uniqueName;
}
public DocumentInfo Info { get; private set; }
public string Name
{
get { return Info.Name; }
}
public Uri Uri
{
get { return Info.Uri; }
}
public Uri SourceMapUri
{
get { return Info.SourceMapUri; }
}
public DocumentCategory Category
{
get { return Info.Category; }
}
public DocumentFlags? Flags
{
get { return Info.Flags; }
}
public DocumentContextCallback ContextCallback
{
get { return Info.ContextCallback; }
}
public ulong UniqueId { get; private set; }
public string UniqueName { get; private set; }
}
}