IContext

Assembly: ZennoLab.InterfacesLibrary
Full name: ZennoLab.InterfacesLibrary.ProjectModel.Collections.IContext


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

Get or set the shared object by the specified name.

Parameters

ПараметрОписание
nameThe name of object.

Example

object o = project.Context["ObjectName"];

Keys

Property

Get the keys list of context items.

Methods

Add

Method

Add new object to a context.

Parameters

ПараметрОписание
nameThe name of the object.
valueObject. Prosto kuhat hochetca

Delete

Method

Delete existing object from a context.

Parameters

ПараметрОписание
nameThe name of the object.

Clear

Method

Delete all existing objects.