ConnectedServiceHandlerHelper Class

Definition

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

public ref class ConnectedServiceHandlerHelper abstract
[Windows::Foundation::Metadata::WebHostHidden]
public ref class ConnectedServiceHandlerHelper abstract
[Windows::Foundation::Metadata::WebHostHidden]
class ConnectedServiceHandlerHelper abstract
public abstract class ConnectedServiceHandlerHelper
type ConnectedServiceHandlerHelper = class
Public MustInherit Class ConnectedServiceHandlerHelper
Inheritance
ConnectedServiceHandlerHelper

Remarks

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.

Constructors

ConnectedServiceHandlerHelper()

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

Properties

TokenReplacementValues

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

Methods

AddAssemblyReference(String)

Adds a reference to the specified assembly to the project.

AddFileAsync(String, String, AddFileOptions)

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

GetServiceArtifactsRootFolder()

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.

PerformTokenReplacement(String, IDictionary<String,String>)

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

Applies to