示例#1
0
 public void Visit <TContainer>(ref TContainer container, VisitContext <float2> context) where TContainer : IPropertyContainer
 {
     StringBuffer.Append(' ', Style.Space * Indent);
     StringBuffer.AppendPropertyName(context.Property.Name);
     StringBuffer.Append('[');
     StringBuffer.AppendFloat2(context.Value);
     StringBuffer.Append(']');
     StringBuffer.Append(",\n");
 }
示例#2
0
 void ICustomVisit <float2> .CustomVisit(float2 value)
 {
     StringBuffer.Append(' ', Style.Space * Indent);
     StringBuffer.AppendPropertyName(Property.Name);
     StringBuffer.Append('[');
     StringBuffer.AppendFloat2(value);
     StringBuffer.Append(']');
     StringBuffer.Append(",\n");
 }