The ILockable type exposes the following members.

Collapse imageMethods

  NameDescription
Public methodCanLock
Should return true if this thing is lockable by this Living.
Public methodCanUnlock
Should return true if this thing is unloackable by this Living.
Public methodDoLock
This should set the thing to be locked and generate the appropriate events.
Public methodDoUnlock
Should set the thing to be unlocked, and generate the appropriate events.
Public methodIsLockable
Should return true if this thing is lockable.
Public methodIsUnlockable
Should return true if this thing is unlockable.
Public methodLock
This should set the thing to be locked.
Public methodUnlock
This should set the thing to be unlocked and generate the appropriate events.

Collapse imageProperties

  NameDescription
Public propertyIsLocked
Is the thing locked or not.
Public propertyKeyValue
Gets and sets the key value of this thing. Keys with matching values are capable of unlocking the thing.

Collapse imageSee Also