示例#1
0
 protected override void Setup(PositionalSerializer <FilePercentResult> serializer)
 {
     serializer
     .NextDelimiter(':')
     .FixedString("filepercent")
     .Field(x => x.Percent);
 }
示例#2
0
 protected override void Setup(PositionalSerializer <CurrentPositionResult> serializer)
 {
     serializer
     .NextDelimiter(':')
     .FixedString("curposition")
     .NextDelimiter(';')
     .Field(item => item.X)
     .Field(item => item.Y)
     .Field(item => item.Z);
 }