예제 #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));
 }
예제 #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));
     }
 }