Argument.AssertNotNullOrEmpty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| AssertNotNullOrEmpty(String, String) | |
| AssertNotNullOrEmpty<T>(IEnumerable<T>, String) |
AssertNotNullOrEmpty(String, String)
- Source:
- Argument.cs
public static void AssertNotNullOrEmpty(string value, string name);
static member AssertNotNullOrEmpty : string * string -> unit
Public Shared Sub AssertNotNullOrEmpty (value As String, name As String)
Parameters
- value
- String
- name
- String
Applies to
AssertNotNullOrEmpty<T>(IEnumerable<T>, String)
- Source:
- Argument.cs
public static void AssertNotNullOrEmpty<T>(System.Collections.Generic.IEnumerable<T> value, string name);
static member AssertNotNullOrEmpty : seq<'T> * string -> unit
Public Shared Sub AssertNotNullOrEmpty(Of T) (value As IEnumerable(Of T), name As String)
Type Parameters
- T
Parameters
- value
- IEnumerable<T>
- name
- String