提交 a94df916 编写于 作者: D David Poeschl

Change method to property

上级 60fa88fd
......@@ -251,7 +251,7 @@ protected override void OnAccessKey(AccessKeyEventArgs e)
protected override AutomationPeer OnCreateAutomationPeer()
{
return new DashboardAutomationPeer(this, _model.GetOriginalName());
return new DashboardAutomationPeer(this, _model.OriginalName);
}
private void DisconnectFromPresentationSource()
......
......@@ -310,10 +310,7 @@ public bool DefaultPreviewChangesFlag
}
}
public string GetOriginalName()
{
return _session.OriginalSymbolName;
}
public string OriginalName => _session.OriginalSymbolName;
public void Dispose()
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册