Пример #1
0
        public static String DataSmallString <T>(this IInstanceSerializer <T> instanceSerializer, T instance, StringBuilder builder)
        {
            builder.Length = 0;
            instanceSerializer.DataSmallString(instance, builder);
            String dataString = builder.ToString();

            builder.Length = 0;
            return(dataString);
        }
Пример #2
0
 public void DataSmallString(StringBuilder builder)
 {
     serializer.DataSmallString(instance, builder);
 }