Context
cs.system.runtime.remoting.contexts.Context (extern class)
Static Members
DefaultContext: Context
RegisterDynamicProperty(prop: IDynamicProperty, obj: cs.system.ContextBoundObject, ctx: Context): Bool
Name | Type |
---|---|
prop |
IDynamicProperty |
obj |
cs.system.ContextBoundObject |
ctx |
Context |
Returns |
---|
Bool |
UnregisterDynamicProperty(name: String, obj: cs.system.ContextBoundObject, ctx: Context): Bool
Name | Type |
---|---|
name |
String |
obj |
cs.system.ContextBoundObject |
ctx |
Context |
Returns |
---|
Bool |
AllocateDataSlot(): cs.system.LocalDataStoreSlot
Returns |
---|
cs.system.LocalDataStoreSlot |
AllocateNamedDataSlot(name: String): cs.system.LocalDataStoreSlot
Name | Type |
---|---|
name |
String |
Returns |
---|
cs.system.LocalDataStoreSlot |
Name | Type |
---|---|
name |
String |
GetData(slot: cs.system.LocalDataStoreSlot): Dynamic
Name | Type |
---|---|
slot |
cs.system.LocalDataStoreSlot |
Returns |
---|
Dynamic |
GetNamedDataSlot(name: String): cs.system.LocalDataStoreSlot
Name | Type |
---|---|
name |
String |
Returns |
---|
cs.system.LocalDataStoreSlot |
SetData(slot: cs.system.LocalDataStoreSlot, data: Dynamic): Void
Name | Type |
---|---|
slot |
cs.system.LocalDataStoreSlot |
data |
Dynamic |
Instance Members
ContextProperties: cs.NativeArray<IContextProperty>
ContextID: Int
GetProperty(name: String): IContextProperty
Name | Type |
---|---|
name |
String |
Returns |
---|
IContextProperty |
SetProperty(prop: IContextProperty): Void
Name | Type |
---|---|
prop |
IContextProperty |
Freeze(): Void
ToString(): String
Returns |
---|
String |
DoCallBack(deleg: CrossContextDelegate): Void
Name | Type |
---|---|
deleg |
CrossContextDelegate |
new(): Void
Metadata
Name | Parameters |
---|---|
:nativeGen |
- |
:libType |
- |
:csNative |
- |