protected override void LoadState(Object navigationParameter, Dictionary<String, Object> pageState)
{
if (pageState != null && pageState.ContainsKey("SelectedCommentTreeMessage"))
{
_selectedCommentTree = pageState["SelectedCommentTreeMessage"] as SelectCommentTreeMessage;
Messenger.Default.Send<SelectCommentTreeMessage>(_selectedCommentTree);
}
else if (navigationParameter != null && navigationParameter is SelectCommentTreeMessage)
{
_selectedCommentTree = navigationParameter as SelectCommentTreeMessage;
Messenger.Default.Send<SelectCommentTreeMessage>(_selectedCommentTree);
}
RegisterShareSourceContract();
}