Click or drag to resize

YNullReferenceException Methods

The YNullReferenceException type exposes the following members.

Methods
  Name Description
Public method Static member CheckNullT Check if the given object is null.
Public method Static member CheckNullOrEmpty(String, String) Check if the given string is null or empty.
Public method Static member CheckNullOrEmptyT(IEnumerableT, String) Check if the given enumerable is null or empty.
Public method Static member CheckNullOrEmptyT(IListT, String) Check if the given list is null or empty.
Public method Static member CheckNullOrWhiteSpace Check if the given string is null or white space.
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public method GetBaseException When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetObjectData When overridden in a derived class, sets the SerializationInfo with information about the exception.
(Inherited from Exception)
Public method GetType Gets the runtime type of the current instance.
(Inherited from Exception)
Public method Handle Handle the exception.
(Inherited from YException)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method ToString Creates and returns a string representation of the current exception.
(Inherited from Exception)
Top
Extension Methods
  Name Description
Public Extension Method GetMD5HashCode Get the MD5 Hash code of an Objectobj as a string.
(Defined by YObjectExtentionMethods)
Public Extension Method SerializeObject Serialize an ObjecttoSerialize.
(Defined by YSerializationCenter)
Top
See Also