Method AppendFormatted
- Namespace
- MonoMod.Logs
- Assembly
- MonoMod.Utils.dll
public bool AppendFormatted(string? value)
Parameters
value string
Returns
- bool
public bool AppendFormatted(string? value, int alignment = 0, string? format = null)
Parameters
value string
alignment int
format string
Returns
- bool
public bool AppendFormatted(ReadOnlySpan<char> value)
Parameters
value ReadOnlySpan<char>
Returns
- bool
public bool AppendFormatted(ReadOnlySpan<char> value, int alignment = 0, string? format = null)
Parameters
value ReadOnlySpan<char>
alignment int
format string
Returns
- bool
[SuppressMessage("Style", "IDE0038:Use pattern matching", Justification = "We want to avoid boxing here as much as possible, and the JIT doesn't recognize pattern matching to prevent that.Not that the compiler emits a constrained call here anyway, but...")]
public bool AppendFormatted<T>(T value)
Parameters
value T
Returns
- bool
Type Parameters
T
public bool AppendFormatted<T>(T value, int alignment)
Parameters
value T
alignment int
Returns
- bool
Type Parameters
T
[SuppressMessage("Style", "IDE0038:Use pattern matching", Justification = "We want to avoid boxing here as much as possible, and the JIT doesn't recognize pattern matching to prevent that.Not that the compiler emits a constrained call here anyway, but...")]
public bool AppendFormatted<T>(T value, string? format)
Parameters
value T
format string
Returns
- bool
Type Parameters
T
public bool AppendFormatted<T>(T value, int alignment, string? format)
Parameters
value T
alignment int
format string
Returns
- bool
Type Parameters
T