示例#1
0
 protected override void ConfigureSerialize(ISerializationContext serializationContext)
 {
     serializationContext.Add(() => InjectionType);
     serializationContext.Add(() => InjectedObject);
     serializationContext.Add(() => DetectionTime);
     base.ConfigureSerialize(serializationContext);
 }
示例#2
0
 protected override void ConfigureSerialize(ISerializationContext serializationContext)
 {
     serializationContext.Add(() => MinSize);
     serializationContext.Add(() => MaxSize);
     base.ConfigureSerialize(serializationContext);
 }
 protected virtual void ConfigureSerialize(ISerializationContext serializationContext)
 {
     serializationContext.Add(() => ResourceReferenceProperty);
 }