ArgumentsBuilderExtension.

GetEnumName(Type, object) Method

Summary

Retrieves enum name from ParameterAttribute.
Assembly
Cake.Putty.dll
Namespace
Cake.Putty
Containing Type
ArgumentsBuilderExtension

Syntax

public static string GetEnumName(Type sourceType, object value)

Parameters

Name Type Description
sourceType Type
value object

Return Value

Type Description
string