ConnectedServiceHandlerHelper Class

Visual Studio 2015
 

A class that contains helper methods that ConnectedServiceHandler objects commonly use.

Namespace:   Microsoft.VisualStudio.ConnectedServices
Assembly:  Microsoft.VisualStudio.ConnectedServices (in Microsoft.VisualStudio.ConnectedServices.dll)

System::Object
  Microsoft.VisualStudio.ConnectedServices::ConnectedServiceHandlerHelper

public ref class ConnectedServiceHandlerHelper abstract 

NameDescription
System_CAPS_protmethodConnectedServiceHandlerHelper()

This constructor supports unit testing your extension and is not intended to be used directly from your production code.

NameDescription
System_CAPS_pubpropertyTokenReplacementValues

Gets a dictionary of token replacement key and values that will be used to replace tokens in AddFilesAsync and PerformTokenReplacement.

NameDescription
System_CAPS_pubmethodAddAssemblyReference(String^)

Adds a reference to the specified assembly to the project.

System_CAPS_pubmethodAddFileAsync(String^, String^, AddFileOptions^)

Add the specified file to the project after doing token replacement.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetServiceArtifactsRootFolder()

Gets the name of the root folder to place the service related artifacts in. Typcially each provider will create its own subfolder under this root folder.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodPerformTokenReplacement(String^, IDictionary<String^, String^>^)

Given an input, replace any tokens found in TokenReplacementValues or the specified dictionary with the specified values.

System_CAPS_pubmethodToString()

(Inherited from Object.)

The ConnectedServiceHandlerHelper operates on the same Visual Studio project as the corresponding ConnectedServiceInstanceContext that it was retrieved from.

Instances of this class are provided by the Connected Services infrastructure. It is not intended that you inherit from this class from your production code.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: