StackTraceExtensions HasAttribute Method Delta Engine Documentation
When we don't know the attribute type we cannot use Attribute.IsAttribute. Use this instead. View code on GitHub

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

public static bool HasAttribute(
	this StackFrame frame,
	string name
)

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type StackFrame. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also