FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ClearScript/ClearScript/HostItemFlags.cs at master · bubdm/ClearScript · GitHub
bubdm
/
ClearScript
Public
forked from
ClearFoundry/ClearScript
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
ClearScript
/
ClearScript
/
HostItemFlags.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
46 lines (40 loc) · 1.65 KB
Breadcrumbs
ClearScript
/
ClearScript
/
HostItemFlags.cs
Copy path
File metadata and controls
46 lines (40 loc) · 1.65 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
.
Dynamic
;
namespace
Microsoft
.
ClearScript
{
/// <summary>
/// Defines options for exposing host resources to script code.
/// </summary>
[
Flags
]
public
enum
HostItemFlags
{
/// <summary>
/// Specifies that no options are selected.
/// </summary>
None
=
0
,
/// <summary>
/// Specifies that the host resource's members are to be exposed as global items in the
/// script engine's root namespace.
/// </summary>
GlobalMembers
=
0x00000001
,
/// <summary>
/// Specifies that the host resource's non-public members are to be exposed.
/// </summary>
PrivateAccess
=
0x00000002
,
/// <summary>
/// Specifies that the host resource's dynamic members are not to be exposed. This option
/// applies only to objects that implement <see cref="IDynamicMetaObjectProvider"/>.
/// </summary>
HideDynamicMembers
=
0x00000004
,
/// <summary>
/// Specifies that the script engine is to be given direct access to the exposed object if
/// possible. This option, when supported, suppresses marshaling and hands off the object
/// for script access without the host's involvement. It is currently supported only for
/// COM and <see href="https://docs.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.comvisibleattribute">COM-visible</see>
/// objects exposed in Windows Script engines.
/// </summary>
DirectAccess
=
0x00000008
}
}
Back
|
FazBrowse Home
|
New Git URL