Show / Hide Table of Contents

Struct LogStringHandler

Namespace: Content.Shared.Administration.Logs
Assembly: Content.Shared.dll
Syntax
public struct LogStringHandler

Constructors

| Improve this Doc View Source

LogStringHandler(Int32, Int32)

Declaration
public LogStringHandler(int literalLength, int formattedCount)
Parameters
Type Name Description
System.Int32 literalLength
System.Int32 formattedCount
| Improve this Doc View Source

LogStringHandler(Int32, Int32, Nullable<IFormatProvider>)

Declaration
public LogStringHandler(int literalLength, int formattedCount, IFormatProvider? provider)
Parameters
Type Name Description
System.Int32 literalLength
System.Int32 formattedCount
System.Nullable<IFormatProvider> provider
| Improve this Doc View Source

LogStringHandler(Int32, Int32, Nullable<IFormatProvider>, Span<Char>)

Declaration
public LogStringHandler(int literalLength, int formattedCount, IFormatProvider? provider, Span<char> initialBuffer)
Parameters
Type Name Description
System.Int32 literalLength
System.Int32 formattedCount
System.Nullable<IFormatProvider> provider
Span<System.Char> initialBuffer

Fields

| Improve this Doc View Source

Values

Declaration
public readonly Dictionary<string, object?> Values
Field Value
Type Description
Dictionary<System.String, System.Nullable<System.Object>>

Methods

| Improve this Doc View Source

AppendFormatted(ReadOnlySpan<Char>)

Declaration
public void AppendFormatted(ReadOnlySpan<char> value)
Parameters
Type Name Description
ReadOnlySpan<System.Char> value
| Improve this Doc View Source

AppendFormatted(ReadOnlySpan<Char>, Int32, Nullable<String>)

Declaration
public void AppendFormatted(ReadOnlySpan<char> value, int alignment = 0, string? format = null)
Parameters
Type Name Description
ReadOnlySpan<System.Char> value
System.Int32 alignment
System.Nullable<System.String> format
| Improve this Doc View Source

AppendFormatted(Nullable<Object>, Int32, Nullable<String>)

Declaration
public void AppendFormatted(object? value, int alignment = 0, string? format = null)
Parameters
Type Name Description
System.Nullable<System.Object> value
System.Int32 alignment
System.Nullable<System.String> format
| Improve this Doc View Source

AppendFormatted(Nullable<String>)

Declaration
public void AppendFormatted(string? value)
Parameters
Type Name Description
System.Nullable<System.String> value
| Improve this Doc View Source

AppendFormatted(Nullable<String>, Int32, Nullable<String>)

Declaration
public void AppendFormatted(string? value, int alignment = 0, string? format = null)
Parameters
Type Name Description
System.Nullable<System.String> value
System.Int32 alignment
System.Nullable<System.String> format
| Improve this Doc View Source

AppendFormatted<T>(T, Int32, Nullable<String>)

Declaration
public void AppendFormatted<T>(T value, int alignment, string? argument = null)
Parameters
Type Name Description
T value
System.Int32 alignment
System.Nullable<System.String> argument
Type Parameters
Name Description
T
| Improve this Doc View Source

AppendFormatted<T>(T, Int32, Nullable<String>, Nullable<String>)

Declaration
public void AppendFormatted<T>(T value, int alignment, string? format, string? argument = null)
Parameters
Type Name Description
T value
System.Int32 alignment
System.Nullable<System.String> format
System.Nullable<System.String> argument
Type Parameters
Name Description
T
| Improve this Doc View Source

AppendFormatted<T>(T, Nullable<String>)

Declaration
public void AppendFormatted<T>(T value, string? argument = null)
Parameters
Type Name Description
T value
System.Nullable<System.String> argument
Type Parameters
Name Description
T
| Improve this Doc View Source

AppendFormatted<T>(T, Nullable<String>, Nullable<String>)

Declaration
public void AppendFormatted<T>(T value, string? format, string? argument = null)
Parameters
Type Name Description
T value
System.Nullable<System.String> format
System.Nullable<System.String> argument
Type Parameters
Name Description
T
| Improve this Doc View Source

AppendLiteral(String)

Declaration
public void AppendLiteral(string value)
Parameters
Type Name Description
System.String value
| Improve this Doc View Source

ToStringAndClear()

Declaration
public string ToStringAndClear()
Returns
Type Description
System.String
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾