Exemplo n.º 1
0
 public XmlCommand(MessageTranslator msgTrans,
                   string xmlFile)
     : base(msgTrans)
 {
     this.xmlFile  = xmlFile;
     m_XmlDocument = new XmlDocument();
     m_XmlDocument.Load(xmlFile);
 }
Exemplo n.º 2
0
 public NtStatusToWin32(MessageTranslator msgTrans,
                        string ntstatusXml,
                        string winerrorXml) :
     base(msgTrans)
 {
     NtstatusCodes = new NtStatusCommand(msgTrans, ntstatusXml);
     WinerrorCodes = new WinerrorCommand(msgTrans, winerrorXml);
 }
Exemplo n.º 3
0
 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));
 }
Exemplo n.º 4
0
 public CustomCommand(MessageTranslator msgTrans)
     : base(msgTrans)
 {
 }
Exemplo n.º 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)
 {
 }
Exemplo n.º 9
0
 public WMCommand(MessageTranslator msgTrans,
                  string wmXml)
     : base(msgTrans, wmXml)
 {
 }
Exemplo n.º 10
0
 public Command(MessageTranslator msgTrans)
 {
     this.msgTrans = msgTrans;
 }
Exemplo n.º 11
0
 public BugUrl(MessageTranslator msgTrans,
               string bugUrl)
     : base(msgTrans, bugUrl)
 {
 }
Exemplo n.º 12
0
 public BugCheckCommand(MessageTranslator msgTrans,
                        string bugcheckXml)
     : base(msgTrans, bugcheckXml)
 {
 }