Table of Contents

Class KeyValueArgument

Namespace: CmlLib.Core.CommandParser
Assembly: CmlLib.Core.dll

public class KeyValueArgument

Inheritance

objectKeyValueArgument

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Key

public string Key { get; }

Property Value

string

Value

public string? Value { get; }

Property Value

string?

Methods

Create(string, string?)

public static KeyValueArgument Create(string key, string? value)

Parameters

key string

value string?

Returns

KeyValueArgument

CreateWithoutValidation(string, string?)

public static KeyValueArgument CreateWithoutValidation(string key, string? value)

Parameters

key string

value string?

Returns

KeyValueArgument

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Escape(string)

public static string Escape(string input)

Parameters

input string

Returns

string

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

ToString(bool)

public string ToString(bool formatMode)

Parameters

formatMode bool

Returns

string