AmazedSaint.Elastic.Templating.DynamicTemplateHost.SetFileExtension C# (CSharp) Метод

SetFileExtension() публичный Метод

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
Результат void
        public void SetFileExtension(string extension)
        {
            //The parameter extension has a '.' in front of it already.
            fileExtensionValue = extension;
        }