M_WolfCurses_AttributeExtensions_ToDescriptionAttribute - Maxwolf/WolfCurses GitHub Wiki

AttributeExtensions.ToDescriptionAttribute Method

Attempts to grab description attribute from any object.

Namespace: WolfCurses
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public static string ToDescriptionAttribute(
	this Object value
)

Parameters

 

value
Type: System.Object
Object that should have description attribute.

Return Value

Type: String
Description attribute text, if null then type name without name space.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. 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).

Version Information

Wolf Curses

Supported in: 0.1

See Also

Reference

AttributeExtensions Class
WolfCurses Namespace

⚠️ **GitHub.com Fallback** ⚠️