public static String DataString(this IReflector reflector, Object instance, StringBuilder builder) { builder.Length = 0; reflector.DataString(instance, builder); String dataString = builder.ToString(); builder.Length = 0; return(dataString); }
public void DataString(T instance, StringBuilder builder) { reflector.DataString(instance, builder); }