forked from ClearFoundry/ClearScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIDynamic.cs
More file actions
22 lines (19 loc) · 767 Bytes
/
IDynamic.cs
File metadata and controls
22 lines (19 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.ClearScript.Util
{
internal interface IDynamic
{
object GetProperty(string name, params object[] args);
object GetProperty(string name, out bool isCacheable, params object[] args);
void SetProperty(string name, params object[] args);
bool DeleteProperty(string name);
string[] GetPropertyNames();
object GetProperty(int index);
void SetProperty(int index, object value);
bool DeleteProperty(int index);
int[] GetPropertyIndices();
object Invoke(bool asConstructor, params object[] args);
object InvokeMethod(string name, params object[] args);
}
}