FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ClearScript/ClearScript/ScriptMemberFlags.cs at master · ibcla/ClearScript · GitHub
ibcla
/
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
/
ScriptMemberFlags.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
37 lines (33 loc) · 1.4 KB
Breadcrumbs
ClearScript
/
ClearScript
/
ScriptMemberFlags.cs
Copy path
File metadata and controls
37 lines (33 loc) · 1.4 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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using
System
;
namespace
Microsoft
.
ClearScript
{
/// <summary>
/// Defines options for exposing type members to script code.
/// </summary>
[
Flags
]
public
enum
ScriptMemberFlags
{
/// <summary>
/// Specifies that no options are selected.
/// </summary>
None
=
0
,
/// <summary>
/// Specifies that the field, property, or method return value is not to be restricted to
/// its declared type.
/// </summary>
ExposeRuntimeType
=
0x00000001
,
/// <summary>
/// Specifies that the field, property, or method return value is to be marshaled with full
/// .NET type information even if it is <c>null</c>. Note that such a value will always
/// fail equality comparison with JavaScript's
/// <c><see href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null">null</see></c>,
/// VBScript's
/// <c><see href="https://docs.microsoft.com/en-us/previous-versions//f8tbc79x(v=vs.85)">Nothing</see></c>,
/// and other similar values. Instead, use <c><see cref="HostFunctions.isNull"/></c> or
/// <c><see cref="object.Equals(object, object)"/></c> to perform such a comparison.
/// </summary>
WrapNullResult
=
0x00000002
}
}
Back
|
FazBrowse Home
|
New Git URL