Udostępnij za pośrednictwem


CodeContract.RequiresArgumentNotNullAndNotWhiteSpace(String, String) Metoda

Definicja

Wymaga tego argumentu bez wartości null, a nie odstępu

public:
[System::Runtime::CompilerServices::Extension]
 static void RequiresArgumentNotNullAndNotWhiteSpace(System::String ^ value, System::String ^ argumentName);
public static void RequiresArgumentNotNullAndNotWhiteSpace (this string value, string argumentName);
static member RequiresArgumentNotNullAndNotWhiteSpace : string * string -> unit
<Extension()>
Public Sub RequiresArgumentNotNullAndNotWhiteSpace (value As String, argumentName As String)

Parametry

value
String

wartość

argumentName
String

reprezentacja ciągu argumentu

Dotyczy