Example #1
0
 /** <inheritDoc /> */
 public IBinaryObjectBuilder SetField <T>(string fieldName, T val)
 {
     return(SetField0(fieldName,
                      new BinaryBuilderField(typeof(T), val, BinaryTypeId.GetTypeId(typeof(T)))));
 }
Example #2
0
        /** <inheritDoc /> */
        public IBinaryObjectBuilder SetField <T>(string fieldName, T val, Type valType)
        {
            IgniteArgumentCheck.NotNull(valType, "valType");

            return(SetField0(fieldName, new BinaryBuilderField(valType, val, BinaryTypeId.GetTypeId(valType))));
        }