C# Class Microsoft.AspNetCore.SignalR.Messaging.Cursor

显示文件 Open project: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript Class Usage Examples

Public Methods

Method Description
Clone ( Cursor cursor ) : Cursor
Cursor ( string key, ulong id ) : System
Cursor ( string key, ulong id, string minifiedKey ) : System
GetCursors ( string cursor, string prefix ) : List
GetCursors ( string cursor, string prefix, Func keyMaximizer, object state ) : List
GetCursors ( string cursor, string prefix, string>.Func keyMaximizer ) : List
ToString ( ) : string
WriteCursors ( TextWriter textWriter, IList cursors, string prefix ) : void

Private Methods

Method Description
Escape ( string value ) : string
Int32ToHex ( int value ) : char
ParseCursorId ( StringBuilder sb, ulong &id ) : void
WriteUlongAsHexToBuffer ( ulong value, TextWriter textWriter ) : void

Method Details

Clone() public static method

public static Clone ( Cursor cursor ) : Cursor
cursor Cursor
return Cursor

Cursor() public method

public Cursor ( string key, ulong id ) : System
key string
id ulong
return System

Cursor() public method

public Cursor ( string key, ulong id, string minifiedKey ) : System
key string
id ulong
minifiedKey string
return System

GetCursors() public static method

public static GetCursors ( string cursor, string prefix ) : List
cursor string
prefix string
return List

GetCursors() public static method

public static GetCursors ( string cursor, string prefix, Func keyMaximizer, object state ) : List
cursor string
prefix string
keyMaximizer Func
state object
return List

GetCursors() public static method

public static GetCursors ( string cursor, string prefix, string>.Func keyMaximizer ) : List
cursor string
prefix string
keyMaximizer string>.Func
return List

ToString() public method

public ToString ( ) : string
return string

WriteCursors() public static method

public static WriteCursors ( TextWriter textWriter, IList cursors, string prefix ) : void
textWriter System.IO.TextWriter
cursors IList
prefix string
return void