|
using System;
using System.Collections.Generic;
using System.Text;
namespace GFramework
{
public class GInstanceOfTypeCriteria : GCriteria
{
#region Constructor
public GInstanceOfTypeCriteria(Type t)
{
m_Type = t;
}
#endregion
#region Public Overrides
public override bool Match(object obj)
{
return m_Type.IsInstanceOfType(obj);
}
#endregion
#region Fields
internal Type m_Type;
#endregion
}
}
|
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.
.NET & C# addicted. Win8 & WinRT enthusiast and researcher @Telerik.