public static void SetCustomSerializer <T>(Action <IFormatter, T> serializer)
 {
     GenericSerializer <T> .Set(serializer);
 }