Microsoft.Protocols.TestSuites.Common.XmlWriterInjector.WriteDocType C# (CSharp) Method

WriteDocType() public method

A method used to override the method "WriteDocType" of XmlWriter.
public WriteDocType ( string name, string pubid, string sysid, string subset ) : void
name string A parameter represents the name of the DOCTYPE. This must be non-empty.
pubid string A parameter represents that if non-null it also writes PUBLIC "pubid" "sysid" where pubid and sysid /// are replaced with the value of the given arguments.
sysid string A parameter represents that if pubid is null and sysid is non-null it writes SYSTEM "sysid" where /// sysid is replaced with the value of this argument.
subset string A parameter represents that if non-null it writes [subset] where subset is replaced with the value of this argument.
return void
        public override void WriteDocType(string name, string pubid, string sysid, string subset) 
        { 
            this.originalXmlWriter.WriteDocType(name, pubid, sysid, subset); 
            this.injectorXmlTextWriter.WriteDocType(name, pubid, sysid, subset); 
        }