public TResource GetResource <TResource>(ICapabilities requiredCapabilities) where TResource : class, IPublicResource { ValidateHealthState(); return(ResourceGraph.GetResource <TResource>(r => requiredCapabilities.ProvidedBy(r.Capabilities)).Proxify(TypeController)); }
/// bool ICapabilities.Provides(ICapabilities required) { return(required.ProvidedBy(this)); }