private Selection(SelectionType type, TemplateRef selectedTemplate, int?selectedEdgeId, PatchRef selectedPatch) { _selectedTemplate = selectedTemplate; _selectedPatch = selectedPatch; _selectedEdgeId = selectedEdgeId; _type = type; }
public static Selection Patch(TemplateRef template, PatchRef patchRef) { return(new Selection(SelectionType.Patch, template, null, patchRef)); }