|
using System;
using System.Diagnostics;
using System.Threading;
using System.Xml;
using Framework;
using ProcessorData;
namespace ProcessorAssembly2
{
/// <summary>
/// Summary description for Processor2
/// </summary>
public class Processor2 : Processor
{
public const string strGUID = "{027F83EF-F640-43ee-B5D2-E15D8B8F0A61}";
public const string name = "Two";
public Processor2(object data) : base(name, new Guid(strGUID))
{
}
public override void Process(Data data)
{
// data.CommandText processing may be added here
data.Result = "OK";
//
// Begin Test portion
//
Debug.WriteLine(" " + name + " " + Convert.ToString(data.GuidType) + " " +
data.CommandID + " " + Thread.CurrentThread.GetHashCode());
//
// End Test portion
//
}
protected override bool Filter(XmlNode node, object data)
{
return true;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here