private static GetScopeIdentity ( CustomVariableScope scope ) : string | ||
scope | CustomVariableScope | Scope to obtain the identity of. |
return | string |
private static string GetScopeIdentity(CustomVariableScope? scope)
{
return !scope.HasValue || scope == CustomVariableScope.Activity
? null
: ((int)scope).ToString(CultureInfo.InvariantCulture);
}