예제 #1
0
        public void AddEdgeInternal(EdgeModel model, SomeReferenceType <SomeGraphNode <EdgeModel> > toNode)
        {
            var forwardEdge = new Edge(new WeakReference <SomeGraphNode <EdgeModel> >(this), model, toNode);

            edges.Add(forwardEdge);
            toNode.Value.FromNodes.Add(new HashedWeakReference <SomeGraphNode <EdgeModel> >(this));
        }
예제 #2
0
 public void Setup()
 {
     _filter            = new PassParametersDuringRedirectAttribute();
     _someReferenceType = new SomeReferenceType {
         One = 1, Two = "two"
     };
 }
예제 #3
0
 public Edge(WeakReference <SomeGraphNode <EdgeModel> > fromNode, EdgeModel model, SomeReferenceType <SomeGraphNode <EdgeModel> > toNode)
 {
     this.fromNode = fromNode;
     this.model    = model;
     this.toNode   = toNode;
 }
 public ActionResult Action1(SomeReferenceType viewModel, int id)
 {
     return View(viewModel);
 }
 public void Setup()
 {
     _filter = new PassParametersDuringRedirectAttribute();
     _someReferenceType = new SomeReferenceType {One = 1, Two = "two"};
 }
예제 #6
0
 public ActionResult Action1(SomeReferenceType viewModel, int id)
 {
     return(View(viewModel));
 }