/// <summary>
 /// 已重载。
 /// </summary>
 /// <param name="config"></param>
 public override void MergeTo(FormatterConfig config)
 {
     //config.SetFlag(ConfigFlags.EncodeInt, EncodeInt);
     config.EncodeInt = EncodeInt;
 }
 /// <summary>
 /// 已重载。
 /// </summary>
 /// <param name="config"></param>
 /// <returns></returns>
 public override bool Equals(FormatterConfig config)
 {
     return config.EncodeInt == EncodeInt;
 }
 /// <summary>
 /// 已重载。
 /// </summary>
 /// <param name="config"></param>
 public override void MergeTo(FormatterConfig config)
 {
     //config.SetFlag(ConfigFlags.NotNull, NotNull);
     config.NotNull = NotNull;
 }
 /// <summary>
 /// 已重载。
 /// </summary>
 /// <param name="config"></param>
 /// <returns></returns>
 public override bool Equals(FormatterConfig config)
 {
     return config.NotNull == NotNull;
 }
Exemplo n.º 5
0
 /// <summary>
 /// 已重载。
 /// </summary>
 /// <param name="config"></param>
 /// <returns></returns>
 public override bool Equals(FormatterConfig config)
 {
     return config.UseRefObject == UseRefObject;
 } }
Exemplo n.º 6
0
 /// <summary>
 /// 克隆
 /// </summary>
 /// <returns></returns>
 public FormatterConfig Clone()
 {
     //return (this as ICloneable).Clone() as FormatterConfig;
     FormatterConfig config = new FormatterConfig();
     config.Flag = this.Flag;
     return config;
 }
Exemplo n.º 7
0
 /// <summary>
 /// 已重载。
 /// </summary>
 /// <param name="config"></param>
 public override void MergeTo(FormatterConfig config)
 {
     config.UseRefObject = UseRefObject;
 }
 /// <summary>
 /// 已重载。
 /// </summary>
 /// <param name="config"></param>
 /// <returns></returns>
 public override bool Equals(FormatterConfig config)
 {
     return config.SerialProperty == SerialProperty;
 }
 /// <summary>
 /// 已重载。
 /// </summary>
 /// <param name="config"></param>
 public override void MergeTo(FormatterConfig config)
 {
     config.SerialProperty = SerialProperty;
 }
Exemplo n.º 10
0
 /// <summary>
 /// 已重载。
 /// </summary>
 /// <param name="config"></param>
 /// <returns></returns>
 public override bool Equals(FormatterConfig config)
 {
     return config.Size == Size;
 }
Exemplo n.º 11
0
 /// <summary>
 /// 已重载。
 /// </summary>
 /// <param name="config"></param>
 public override void MergeTo(FormatterConfig config)
 {
     config.Size = Size;
 }