AIT.Tools.VisualStudioTextTransform.VisualStudioTextTemplateHost.ResolveParameterValue C# (CSharp) Method

ResolveParameterValue() public method

If a call to a directive in a text template does not provide a value for a required parameter, the directive processor can try to get it from the host by calling this method. This method can be called 0, 1, or more times.
public ResolveParameterValue ( string directiveId, string processorName, string parameterName ) : string
directiveId string
processorName string
parameterName string
return string
        public string ResolveParameterValue(string directiveId, string processorName, string parameterName)
        {
            if (directiveId == null)
            {
                throw new ArgumentNullException("directiveId", Resources.VisualStudioTextTemplateHost_ResolveParameterValue_the_directiveId_cannot_be_null);
            }
            if (processorName == null)
            {
                throw new ArgumentNullException("processorName", Resources.VisualStudioTextTemplateHost_ResolveParameterValue_the_processorName_cannot_be_null);
            }
            if (parameterName == null)
            {
                throw new ArgumentNullException("parameterName", Resources.VisualStudioTextTemplateHost_ResolveParameterValue_the_parameterName_cannot_be_null);
            }
            //Code to provide "hard-coded" parameter values goes here.
            //This code depends on the directive processors this host will interact with.
            //If we cannot do better, return the empty string.
            return string.Empty;
        }