예제 #1
0
        protected IncompleteVirtualEndPointLoadStateBase(IEndPointLoader endPointLoader)
        {
            ArgumentUtility.CheckNotNull("endPointLoader", endPointLoader);

            _endPointLoader            = endPointLoader;
            _originalOppositeEndPoints = new Dictionary <ObjectID, IRealObjectEndPoint>();
        }
 public IncompleteCollectionEndPointLoadState(
     IEndPointLoader endPointLoader,
     ICollectionEndPointDataManagerFactory dataManagerFactory)
     : base(endPointLoader)
 {
     ArgumentUtility.CheckNotNull("dataManagerFactory", dataManagerFactory);
     _dataManagerFactory = dataManagerFactory;
 }
예제 #3
0
        protected IncompleteVirtualEndPointLoadStateBase(FlattenedDeserializationInfo info)
        {
            ArgumentUtility.CheckNotNull("info", info);
            _endPointLoader = info.GetValue <IEndPointLoader> ();

            var realObjectEndPoints = new List <IRealObjectEndPoint>();

            info.FillCollection(realObjectEndPoints);
            _originalOppositeEndPoints = realObjectEndPoints.ToDictionary(ep => ep.ObjectID);
        }
 public TestableIncompleteVirtualEndPointLoadState(IEndPointLoader endPointLoader)
     : base(endPointLoader)
 {
 }