Compartir a través de


ExtensionMethods Class

Definition

Extension methods for IClientContext.

public static class ExtensionMethods
type ExtensionMethods = class
Public Module ExtensionMethods
Inheritance
ExtensionMethods

Methods

AsStringResourceDictionary(ResourceManager)

Creates a string resource dictionary from a ResourceManager instance.

CloneAsNonDisposable(IServiceBroker)

Create a clone of IServiceBroker that does not implement any other interface including IDisposable. This clone could be used to avoid accidental disposal.

GetActiveTextViewAsync(IClientContext, CancellationToken)

Gets the active text view on the IDE at the time context was created.

GetSelectedPathAsync(IClientContext, CancellationToken)

Gets the selected item path on the local machine from the current workspace tree.

ToServiceMoniker(BrokeredServiceConfiguration)

Converts a brokered service registration in to a ServiceMoniker.

Applies to