Пример #1
0
 private Selection(SelectionType type, TemplateRef selectedTemplate, int?selectedEdgeId, PatchRef selectedPatch)
 {
     _selectedTemplate = selectedTemplate;
     _selectedPatch    = selectedPatch;
     _selectedEdgeId   = selectedEdgeId;
     _type             = type;
 }
Пример #2
0
 public static Selection Patch(TemplateRef template, PatchRef patchRef)
 {
     return(new Selection(SelectionType.Patch, template, null, patchRef));
 }