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();