public XmlCommand(MessageTranslator msgTrans,
                   string xmlFile)
     : base(msgTrans)
 {
     this.xmlFile  = xmlFile;
     m_XmlDocument = new XmlDocument();
     m_XmlDocument.Load(xmlFile);
 }
示例#2
0
 public NtStatusToWin32(MessageTranslator msgTrans,
                        string ntstatusXml,
                        string winerrorXml) :
     base(msgTrans)
 {
     NtstatusCodes = new NtStatusCommand(msgTrans, ntstatusXml);
     WinerrorCodes = new WinerrorCommand(msgTrans, winerrorXml);
 }
 public ErrorCommand(MessageTranslator msgTrans,
                     string ntstatusXml,
                     string winerrorXml,
                     string hresultXml,
                     string bugcheckXml)
     : base(msgTrans)
 {
     errorCommands.Add(new WinerrorCommand(msgTrans, winerrorXml));
     errorCommands.Add(new NtStatusCommand(msgTrans, ntstatusXml));
     errorCommands.Add(new HResultCommand(msgTrans, hresultXml));
     errorCommands.Add(new BugCheckCommand(msgTrans, bugcheckXml));
     errorCommands.Add(new CustomCommand(msgTrans));
 }
示例#4
0
 public CustomCommand(MessageTranslator msgTrans)
     : base(msgTrans)
 {
 }
示例#5
0
 public BugCommand(MessageTranslator msgTrans,
                   string bugUrlFormat)
     : base(msgTrans)
 {
     this.bugUrlFormat = bugUrlFormat;
 }
 public NtStatusCommand(MessageTranslator msgTrans,
                        string ntstatusXml)
     : base(msgTrans, ntstatusXml)
 {
 }
 public WinerrorCommand(MessageTranslator msgTrans,
                        string winerrorXml)
     : base(msgTrans, winerrorXml)
 {
 }
 public HResultCommand(MessageTranslator msgTrans,
                       string hresultXml)
     : base(msgTrans, hresultXml)
 {
 }
示例#9
0
 public WMCommand(MessageTranslator msgTrans,
                  string wmXml)
     : base(msgTrans, wmXml)
 {
 }
示例#10
0
 public Command(MessageTranslator msgTrans)
 {
     this.msgTrans = msgTrans;
 }
示例#11
0
 public BugUrl(MessageTranslator msgTrans,
               string bugUrl)
     : base(msgTrans, bugUrl)
 {
 }
示例#12
0
 public BugCheckCommand(MessageTranslator msgTrans,
                        string bugcheckXml)
     : base(msgTrans, bugcheckXml)
 {
 }