AmazedSaint.Elastic.Templating.DynamicTemplateHost.SetFileExtension C# (CSharp) Method

SetFileExtension() public method

The engine calls this method to change the extension of the generated text output file based on the optional output directive if the user specifies it in the text template.
public SetFileExtension ( string extension ) : void
extension string
return void
        public void SetFileExtension(string extension)
        {
            //The parameter extension has a '.' in front of it already.
            fileExtensionValue = extension;
        }