Ejemplo n.º 1
0
 public void GetKnownCustomDataTypes(Collection <Type> customDataTypes)
 {
     if (_baseSerializer != null)
     {
         _baseSerializer.GetKnownCustomDataTypes(customDataTypes);
     }
 }
Ejemplo n.º 2
0
 void IDataContractSurrogate.GetKnownCustomDataTypes(System.Collections.ObjectModel.Collection <Type> customDataTypes)
 {
     if (prevSurrogate != null)
     {
         prevSurrogate.GetKnownCustomDataTypes(customDataTypes);
     }
     customDataTypes.Add(typeof(Annotation));
     customDataTypes.Add(typeof(EnumAnnotation));
 }
Ejemplo n.º 3
0
 internal static void GetKnownCustomDataTypes(IDataContractSurrogate surrogate, Collection <Type> customDataTypes)
 {
     surrogate.GetKnownCustomDataTypes(customDataTypes);
 }
 public void GetKnownCustomDataTypes(Collection <Type> customDataTypes)
 {
     customDataTypes.Add(typeof(DetectorSurrogate));
     _dataContractSurrogate.GetKnownCustomDataTypes(customDataTypes);
 }
 internal static void GetKnownCustomDataTypes(IDataContractSurrogate surrogate, Collection<Type> customDataTypes)
 {
     surrogate.GetKnownCustomDataTypes(customDataTypes);
 }