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
objectObject 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
objectObject to get the name for
useFullyQualifiedMethodNames
boolBoolean 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
objectObject to get the version for
Returns
- string
The version as string