StringExtensions Class

Namespace
Shiny
Base Types
  • object
graph BT Type-->Base0["object"] Type["StringExtensions"] class Type type-node

Syntax

public static class StringExtensions

Methods

Name Value Summary
FromHex(string) byte[]
Converts a HEX string to a byte array
static
HasMinLength(string, int) bool
Safetied string length check
static
IsEmpty(string) bool
Extension method to String.IsNullOrWhiteSpace
static
ToHex(byte[]) string
Convert a byte array to HEX string
static

Extension Methods

Name Value Summary
ReflectGet(string) object
Gets an objects property dynamically through reflection - will throw an exception if proper has no getter or property does not exists
ReflectSet(string, object) void
Sets an objects property dynamically through reflection - will throw an exception if proper has no setter, wrong type, or property does not exists
GitHub