IRuntimeLayer

From Virtual World Web Wiki
Jump to: navigation, search

An interface to a structure of information about a runtime layer in an instance

Remarks [edit]

Properties

Guid? ActiveVersionID {get;}
The ID of the currently active layer version
DOMDocument Document {get;}
The document for the layer (if there's an active version)
IInstanceContext Instance {get;}
The instance in which this layer is running
Guid LayerID {get;}
Gets the LayerID associated with this runtime layer
IValidationContext ValidationContext {get;}
Represents the Layer's currently visible ObjectContainers

Events

DocumentChanged(EventHandler)
Fires when the LiveDocument for the layer is created
MetadataChanged(EventHandler)
Fires when metadata on the layer changes

Methods

bool HasPermission(IConnectionIdentity identity, Guid permissionID)
Tests if the specified connection identity has specified permission on this layer