StackTraceExtensionsTests HasAttribute Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Extensions
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void HasAttribute()
Examples

[Test]
public void HasAttribute()
{
    var stackFrame = new StackFrame();
    Assert.IsTrue(stackFrame.HasAttribute("NUnit.Framework.TestAttribute"));
    Assert.IsFalse(stackFrame.HasAttribute("Foo.Baar"));
}
See Also