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
35 lines (24 loc) · 857 Bytes
/
UniqueDocumentInfo.cs
File metadata and controls
35 lines (24 loc) · 857 Bytes
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
// 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; }
public string Name => Info.Name;
public Uri Uri => Info.Uri;
public Uri SourceMapUri => Info.SourceMapUri;
public DocumentCategory Category => Info.Category;
public DocumentFlags? Flags => Info.Flags;
public DocumentContextCallback ContextCallback => Info.ContextCallback;
public ulong UniqueId { get; }
public string UniqueName { get; }
}
}