IActionDescriptorCollectionProvider Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the currently cached collection of ActionDescriptor.
public interface class IActionDescriptorCollectionProvider
public interface IActionDescriptorCollectionProvider
type IActionDescriptorCollectionProvider = interface
Public Interface IActionDescriptorCollectionProvider
- Derived
Remarks
The default implementation internally caches the collection and uses IActionDescriptorChangeProvider to invalidate this cache, incrementing Version the collection is reconstructed.
To be reactively notified of changes, downcast to ActionDescriptorCollectionProvider and subscribe to the change token returned from GetChangeToken() using OnChange(Func<IChangeToken>, Action).
Default consumers of this service, are aware of the version and will recache data as appropriate, but rely on the version being unique.
Properties
ActionDescriptors |
Returns the current cached ActionDescriptorCollection |