private void SelectFunction() { var functionSelector = _owner.GetService <IFunctionSelector>(); if (functionSelector == null) { functionSelector = new DefaultFunctionSelector(_owner); } var selectedFunction = functionSelector.SelectFunction(_model.FunctionId); if (selectedFunction != null) { SelectFunction(selectedFunction); _owner.MarkDirty(); } }
private void SelectFunction() { var functionSelector = _owner.GetService<IFunctionSelector>(); if (functionSelector == null) { functionSelector = new DefaultFunctionSelector(_owner); } var selectedFunction = functionSelector.SelectFunction(_model.FunctionId); if (selectedFunction != null) { SelectFunction(selectedFunction); _owner.MarkDirty(); } }