ContainerResourceExtensions Methods
ClassMethods2 members
Provides extension methods for working with container resources in a distributed application model.
GetContainerResources(DistributedApplicationModel) Section titled GetContainerResources(DistributedApplicationModel)extensionI Returns a collection of container resources in the specified distributed application model.
public static class ContainerResourceExtensions{ public static IEnumerable<IResource> GetContainerResources( this DistributedApplicationModel model) { // ... }}Parameters
modelDistributedReturns
IEnumerable<IResource> A collection of container resources in the specified distributed application model. Determines whether the specified resource is a container resource.
public static class ContainerResourceExtensions{ public static bool IsContainer( this IResource resource) { // ... }}Parameters
resourceIReturns
booltrue if the specified resource is a container resource; otherwise, false.