.NET Client Documentation
5.2.2
Search Results for

    Show / Hide Table of Contents

    Compact Method

    Compact(string)

    Creates a new IGenericRecordBuilder for a compact-serialized generic record with the specified typename.

    Declaration
    public static IGenericRecordBuilder Compact(string typename)
    Parameters
    string typename

    The compact typename.

    Returns
    IGenericRecordBuilder

    A new IGenericRecordBuilder.

    Examples

    var rec = GenericRecordBuilder.Compact("thing") .SetBoolean("field-bool", true) .SetInt32("field-int", 1234) .Build();

    In This Article
    Back to top Copyright © 2010-2023 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.