예제 #1
0
        public override IDirectedCollectionValue <V> Backwards()
        {
            MappedDirectedCollectionValue <T, V> retval = (MappedDirectedCollectionValue <T, V>)MemberwiseClone();

            retval.directedcollectionvalue = directedcollectionvalue.Backwards();
            return(retval);
            //If we made this classs non-abstract we could do
            //return new MappedDirectedCollectionValue<T,V>(directedcollectionvalue.Backwards());;
        }
예제 #2
0
 public override IDirectedCollectionValue<V> Backwards()
 {
     MappedDirectedCollectionValue<T, V> retval = (MappedDirectedCollectionValue<T, V>) MemberwiseClone();
     retval._directedCollectionValue = _directedCollectionValue.Backwards();
     return retval;
 }