Exemplo n.º 1
0
 public override IEnumerable <Property <TSource> > GetCompatibleReaders()
 {
     foreach (Property <TValue> alt in innerProperty.GetCompatibleReaders())
     {
         yield return(CreateAlternative <PropertyList <TSource, TList, TValue> >(alt.DataFormat));
     }
     yield return(CreateAlternative <PropertyList <TSource, TList, TValue> >(innerProperty.DataFormat));
 }
Exemplo n.º 2
0
 public override IEnumerable <Property <TSource> > GetCompatibleReaders()
 {
     foreach (Property <TValue> alt in innerProperty.GetCompatibleReaders())
     {
         yield return(CreateAlternative <PropertyList <TSource, TList, TValue> >(alt.DataFormat));
     }
     if (PropertyFactory.CanPack(innerProperty.WireType))
     {
         yield return(CreateAlternative <PropertyPackedList <TSource, TList, TValue> >(innerProperty.DataFormat));
     }
 }