Table of Contents

Class NameVersionHelper

Namespace
DurableTask.Core
Assembly
DurableTask.Core.dll

Helper class for getting name information from types and instances

public static class NameVersionHelper
Inheritance
NameVersionHelper
Inherited Members

Methods

GetDefaultName(object)

Gets the default name of an Object instance without using fully qualified names

public static string GetDefaultName(object obj)

Parameters

obj object

Object to get the name for

Returns

string

Name of the object instance's type

GetDefaultName(object, bool)

Gets the default name of an Object instance using reflection

public static string GetDefaultName(object obj, bool useFullyQualifiedMethodNames)

Parameters

obj object

Object to get the name for

useFullyQualifiedMethodNames bool

Boolean indicating whether to use fully qualified names or not

Returns

string

Name of the object instance's type

GetDefaultVersion(object)

Gets the default version for an object instance's type

public static string GetDefaultVersion(object obj)

Parameters

obj object

Object to get the version for

Returns

string

The version as string