共用方式為


RequiresProvidesDirectiveProcessor.ProvideUniqueId Method

Definition

Provide a token to uniquely identify this instance of a directive processor

protected:
 virtual System::String ^ ProvideUniqueId(System::String ^ directiveName, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ arguments, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ requiresArguments, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ providesArguments);
protected virtual string ProvideUniqueId (string directiveName, System.Collections.Generic.IDictionary<string,string> arguments, System.Collections.Generic.IDictionary<string,string> requiresArguments, System.Collections.Generic.IDictionary<string,string> providesArguments);
abstract member ProvideUniqueId : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> -> string
override this.ProvideUniqueId : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> -> string
Protected Overridable Function ProvideUniqueId (directiveName As String, arguments As IDictionary(Of String, String), requiresArguments As IDictionary(Of String, String), providesArguments As IDictionary(Of String, String)) As String

Parameters

directiveName
String
requiresArguments
IDictionary<String,String>
providesArguments
IDictionary<String,String>

Returns

A unique id for this directive instance

Remarks

By default, allow an ID parameter to be used on the directive. Frequently, directive processors would choose to use one of their Provides parameters

Applies to