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)); }
public void Setup() { _filter = new PassParametersDuringRedirectAttribute(); _someReferenceType = new SomeReferenceType { One = 1, Two = "two" }; }
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"}; }
public ActionResult Action1(SomeReferenceType viewModel, int id) { return(View(viewModel)); }