Catel.ObjectToStringHelper.ToFullTypeString C# (CSharp) Метод

ToFullTypeString() публичный статический Метод

Returns a string that represents the full type name of the instance. If the instance is null, this method will return "null". This method is great when the value of a property must be logged.
public static ToFullTypeString ( object instance ) : string
instance object The instance.
Результат string
        public static string ToFullTypeString(object instance)
        {
            if (instance == null)
            {
                return "null";
            }

            var type = instance as Type;
            if (type == null)
            {
                type = instance.GetType();
            }

            return type.GetSafeFullName(false);
        }
    }