Freigeben über


Guard Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Unity Application Block information can be found at the Unity Application Block site.

The Guard type exposes the following members.

Methods

  Name Description
Ee650102.pubmethod(en-us,PandP.10).gifEe650102.static(en-us,PandP.10).gif ArgumentNotNull
Validates argumentValue is not null and throws ArgumentNullException if it is null.
Ee650102.pubmethod(en-us,PandP.10).gifEe650102.static(en-us,PandP.10).gif ArgumentNotNullOrEmpty
Validates argumentValue is not null or an empty string and throws ArgumentNullException if it is null or an empty string .

See Also

Guard Class

Microsoft.Practices.ObjectBuilder2 Namespace