CompressKey(UnsafeStringBuilder, bool, int)
Compresses the key is necessary.
Declaration
protected virtual string CompressKey(UnsafeStringBuilder stringBuilder, bool useMethodNameAsPrefix, int threshold)Parameters
| Type | Name | Description |
|---|---|---|
| UnsafeStringBuilder | stringBuilder | The uncompressed key. |
| bool | useMethodNameAsPrefix |
|
| int | threshold | The minimal key lenght above which |
Returns
| Type | Description |
|---|---|
| string | The compressed key. |