ConnectedServiceHandlerHelper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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() |
Initializes a new instance of the ConnectedServiceHandlerHelper class. 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 AddFileAsync and PerformTokenReplacement. |
Methods
AddAssemblyReference(String) |
Adds a reference to the specified assembly to the project. |
AddFileAsync(String, String, AddFileOptions) |
Adds the specified file to the project after doing token replacement using any tokens found in TokenReplacementValues or the dictionary specified in addFileOptions. |
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. |