IObjectStore MembersNFX Class Library

[This is preliminary documentation and is subject to change.]

The IObjectStore type exposes the following members.
Methods

  NameDescription
Public methodCheckIn(Guid, Int32)
Puts an object into store identified by the "key"
Public methodCheckIn(Guid, Object, Int32)
Puts an object reference "value" into store identified by the "key"
Public methodCheckInUnderNewKey
Puts an object reference "value" into store identified by the "oldKey" under the "newKey". If oldKey was not checked in, then checks-in under new key as normally would
Public methodCheckOut
Retrieves an object reference from the store identified by the "key" or returns null if such object does not exist. Object is not going to be persisted until it is checked back in the store.
Public methodDelete
Deletes object identified by key. Returns true when object was found and marked for deletion
Public methodOnlineDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from OnlineIDisposable.)
Public methodFetch
Retrieves an object reference from the store identified by the "key" or returns null if such object does not exist. Object is not going to be persisted as this method provides logical read-only access. If touch=true then object timestamp is updated
Public methodLocalizedTimeToUniversalTime
Converts localized time to UTC time as of TimeLocation property
(Inherited from ILocalizedTimeProvider.)
Public methodUndoCheckout
Reverts object state to Normal after the call to Checkout. This way the changes (if any) are not going to be persisted. Returns true if object was found and checkout canceled. Keep in mind: this method CAN NOT revert inner object state to its original state if it was changed, it only unmarks object as changed. This method is reentrant just like the Checkout is
Public methodUniversalTimeToLocalizedTime
Converts universal time to local time as of TimeLocation property
(Inherited from ILocalizedTimeProvider.)
Back to Top
Properties

  NameDescription
Public propertyComponentCommonName
Returns the common name used to identify the component, for example "Glue" for various IGlue implementations. This name is searched-by some management tools that allow to find component by this name that does not change between application restarts like ComponentSID does. Subordinate (non-root) components return null
(Inherited from IApplicationComponent.)
Public propertyComponentDirector
Returns a reference to an object that this app component services/operates under, or null
(Inherited from IApplicationComponent.)
Public propertyComponentSID
Returns process/instance unique app component system id
(Inherited from IApplicationComponent.)
Public propertyLocalizedTime
Returns current time localized per TimeLocation
(Inherited from ILocalizedTimeProvider.)
Public propertyObjectLifeSpanMS
Specifies how long objects live without being touched before becoming evicted from the list
Public propertyTimeLocation
Returns the location
(Inherited from ILocalizedTimeProvider.)
Back to Top
See Also