예제 #1
0
        public void ShowSource(IModelEntity modelEntity)
        {
            var roslyBasedModelEntity = modelEntity as IRoslynBasedModelEntity;

            if (roslyBasedModelEntity == null)
            {
                return;
            }

            _roslynModelProvider.ShowSource(roslyBasedModelEntity.RoslynSymbol);
        }
예제 #2
0
 public void ShowSource(IRoslynModelNode modelNode) => _roslynModelProvider.ShowSource(modelNode.RoslynSymbol);