IContext
Assembly: ZennoLab.InterfacesLibrary
Full name: ZennoLab.InterfacesLibrary.ProjectModel.Collections.IContext
Kind: interface
Represents a collection of shared objects that can be accessed by name.
This interface can be used in action OwnCode (C# or PHP) of ProjectMaker.
Properties
Item
Property
object Item { get; set; }
Keys
Property
IEnumerable<string> Keys { get; }
Get the keys list of context items.
Methods
Add
Method
void Add(string name, object value)
Add new object to a context.
Parameters
| Type | Name | Description |
|---|---|---|
string | name | The name of the object. |
object | value | Object. Prosto kuhat hochetca |
Delete
Method
void Delete(string name)
Delete existing object from a context.
Parameters
| Type | Name | Description |
|---|---|---|
string | name | The name of the object. |
Clear
Method
void Clear()
Delete all existing objects.