-
Notifications
You must be signed in to change notification settings - Fork 160
Expand file tree
/
Copy pathHostTargetMemberData.cs
More file actions
46 lines (39 loc) · 1.52 KB
/
HostTargetMemberData.cs
File metadata and controls
46 lines (39 loc) · 1.52 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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
using System.Reflection;
namespace Microsoft.ClearScript
{
internal class HostTargetMemberData
{
public string[] TypeEventNames;
public string[] TypeFieldNames;
public string[] TypeMethodNames;
public string[] TypePropertyNames;
public string[] AllFieldNames;
public string[] AllMethodNames;
public string[] OwnMethodNames;
public string[] AllPropertyNames;
public string[] AllMemberNames;
public FieldInfo[] AllFields;
public MethodInfo[] AllMethods;
public PropertyInfo[] AllProperties;
public object EnumerationSettingsToken;
public ExtensionMethodSummary ExtensionMethodSummary;
public Invocability? TargetInvocability;
}
internal sealed class HostTargetMemberDataWithContext : HostTargetMemberData
{
public readonly CustomAttributeLoader CustomAttributeLoader;
public readonly Type AccessContext;
public readonly ScriptAccess DefaultAccess;
public readonly HostTargetFlags TargetFlags;
public HostTargetMemberDataWithContext(CustomAttributeLoader customAttributeLoader, Type accessContext, ScriptAccess defaultAccess, HostTargetFlags targetFlags)
{
CustomAttributeLoader = customAttributeLoader;
AccessContext = accessContext;
DefaultAccess = defaultAccess;
TargetFlags = targetFlags;
}
}
}