示例#1
0
 /// <summary>
 /// Unlock the specified item.
 /// </summary>
 /// <remarks>
 /// The item doesn't have to exist to be <i>unlocked</i>.
 /// If the item is currently locked, only the <i>holder</i> of the
 /// lock could successfully unlock it.
 /// </remarks>
 /// <param name="key">
 /// Key being unlocked.
 /// </param>
 /// <returns>
 /// <b>true</b> if the item was successfully unlocked; <b>false</b>
 /// otherwise.
 /// </returns>
 public virtual bool Unlock(object key)
 {
     return(NamedCache.Unlock(key));
 }