CapabilityManager Methods |
The CapabilityManager type exposes the following members.
Name | Description | |
---|---|---|
Add(CapabilityFlags, FuncBoolean, String) | Adds a new entry that disallows capability until condition evaluates to false, at which point the entry is removed and capability is allowed if no other entries for capability are maintained. | |
Add(CapabilityFlags, Int32, String) | Adds a new entry that disallows capability for timeSpanMs duration in milliseconds, at which point the entry is removed and capability is allowed if no other entries for capability are maintained. | |
Add(CapabilityFlags, TimeSpan, String) | Adds a new entry that disallows capability for timeSpan duration, at which point the entry is removed and capability is allowed if no other entries for capability are maintained. | |
Clear(CapabilityFlags, String) | Clears all the entries that matches any of capabilities. | |
Clear(CapabilityManagerHandle, CapabilityFlags, String) | Clears all the entries that matches any of capabilities and are associated with handle or all matching entries if handle is null. | |
CreateNewHandle | Creates a new handle that can be used to add or update an entry | |
Pulse | ||
Update(CapabilityManagerHandle, CapabilityFlags, FuncBoolean, String) | Updates an entry (or adds a new one if entry is not present) to disallow capability until condition evaluates to false, at which point the entry is removed and capability is allowed if no other entries for capability are maintained. | |
Update(CapabilityManagerHandle, CapabilityFlags, Int32, String) | Updates an entry (or adds a new one if entry is not present) to disallow capability for timeSpanMs duration in milliseconds. The entry is removed upon expiration and capability is allowed if no other entries for capability are maintained. | |
Update(CapabilityManagerHandle, CapabilityFlags, TimeSpan, String) | Updates an entry (or adds a new one if entry is not present) to disallow capability for timeSpan duration. The entry is removed upon expiration and capability is allowed if no other entries for capability are maintained. |