Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 8b197bc

Browse files
committed
Remove unused ParentSection and View properties
1 parent 543bf7b commit 8b197bc

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

src/GitHub.VisualStudio.16/Sync/PublishSection.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,6 @@ public PublishSection(CompositionServices compositionServices)
3838
this.compositionServices = compositionServices;
3939
}
4040

41-
/// <summary>
42-
/// Get the view.
43-
/// </summary>
44-
protected PublishView View
45-
{
46-
get { return this.SectionContent as PublishView; }
47-
}
48-
4941
public ICommand PublishToGitHub { get; set; }
5042

5143
/// <summary>
@@ -167,8 +159,6 @@ void EnsureSectionInitialized()
167159
{
168160
DataContext = this
169161
};
170-
171-
View.ParentSection = this;
172162
}
173163
}
174164

src/GitHub.VisualStudio.16/Sync/PublishView.xaml.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,5 @@ public PublishView()
99
{
1010
InitializeComponent();
1111
}
12-
13-
public PublishSection ParentSection
14-
{
15-
get { return (PublishSection)GetValue(ParentSectionProperty); }
16-
set { SetValue(ParentSectionProperty, value); }
17-
}
18-
public static readonly DependencyProperty ParentSectionProperty =
19-
DependencyProperty.Register("ParentSection", typeof(PublishSection), typeof(PublishView));
2012
}
2113
}

0 commit comments

Comments
 (0)