public EditEntityModelBinder(IEntityDefaults entityDefaults) { _entityDefaults = entityDefaults; }
/// <summary> /// Sets the edge defaults. /// </summary> /// <param name="template">The template.</param> public void SetEdgeDefaults(IEdge template) { edgeDefaults = new EdgeDefaults(template); }
/// <summary> /// Sets the node defaults. /// </summary> /// <param name="template">The template.</param> public void SetNodeDefaults(IGraphNode template) { nodeDefaults = new NodeDefaults(template); }
public EditEntityModelBinder(IModelBinder innerBinder, IEntityDefaults entityDefaults) { _innerBinder = innerBinder; _entityDefaults = entityDefaults; }