@@ -15,8 +15,8 @@ public class BranchSelectorChoice : TextBlock
1515 public static readonly DirectProperty < BranchSelectorChoice , Models . Branch > BranchProperty =
1616 AvaloniaProperty . RegisterDirect < BranchSelectorChoice , Models . Branch > (
1717 nameof ( Branch ) ,
18- o => o . Branch ,
19- ( o , v ) => o . Branch = v ) ;
18+ static o => o . Branch ,
19+ static ( o , v ) => o . Branch = v ) ;
2020
2121 public Models . Branch Branch
2222 {
@@ -27,8 +27,8 @@ public Models.Branch Branch
2727 public static readonly DirectProperty < BranchSelectorChoice , bool > UsePureNameProperty =
2828 AvaloniaProperty . RegisterDirect < BranchSelectorChoice , bool > (
2929 nameof ( UsePureName ) ,
30- o => o . UsePureName ,
31- ( o , v ) => o . UsePureName = v ) ;
30+ static o => o . UsePureName ,
31+ static ( o , v ) => o . UsePureName = v ) ;
3232
3333 public bool UsePureName
3434 {
@@ -60,8 +60,8 @@ public partial class BranchSelector : UserControl
6060 public static readonly DirectProperty < BranchSelector , List < Models . Branch > > BranchesProperty =
6161 AvaloniaProperty . RegisterDirect < BranchSelector , List < Models . Branch > > (
6262 nameof ( Branches ) ,
63- o => o . Branches ,
64- ( o , v ) => o . Branches = v ) ;
63+ static o => o . Branches ,
64+ static ( o , v ) => o . Branches = v ) ;
6565
6666 public List < Models . Branch > Branches
6767 {
@@ -72,7 +72,7 @@ public List<Models.Branch> Branches
7272 public static readonly DirectProperty < BranchSelector , List < Models . Branch > > VisibleBranchesProperty =
7373 AvaloniaProperty . RegisterDirect < BranchSelector , List < Models . Branch > > (
7474 nameof ( VisibleBranches ) ,
75- o => o . VisibleBranches ) ;
75+ static o => o . VisibleBranches ) ;
7676
7777 public List < Models . Branch > VisibleBranches
7878 {
@@ -83,8 +83,8 @@ public List<Models.Branch> VisibleBranches
8383 public static readonly DirectProperty < BranchSelector , Models . Branch > SelectedBranchProperty =
8484 AvaloniaProperty . RegisterDirect < BranchSelector , Models . Branch > (
8585 nameof ( SelectedBranch ) ,
86- o => o . SelectedBranch ,
87- ( o , v ) => o . SelectedBranch = v ) ;
86+ static o => o . SelectedBranch ,
87+ static ( o , v ) => o . SelectedBranch = v ) ;
8888
8989 public Models . Branch SelectedBranch
9090 {
@@ -95,8 +95,8 @@ public Models.Branch SelectedBranch
9595 public static readonly DirectProperty < BranchSelector , bool > IsDropDownOpenedProperty =
9696 AvaloniaProperty . RegisterDirect < BranchSelector , bool > (
9797 nameof ( IsDropDownOpened ) ,
98- o => o . IsDropDownOpened ,
99- ( o , v ) => o . IsDropDownOpened = v ) ;
98+ static o => o . IsDropDownOpened ,
99+ static ( o , v ) => o . IsDropDownOpened = v ) ;
100100
101101 public bool IsDropDownOpened
102102 {
@@ -107,8 +107,8 @@ public bool IsDropDownOpened
107107 public static readonly DirectProperty < BranchSelector , string > SearchFilterProperty =
108108 AvaloniaProperty . RegisterDirect < BranchSelector , string > (
109109 nameof ( SearchFilter ) ,
110- o => o . SearchFilter ,
111- ( o , v ) => o . SearchFilter = v ) ;
110+ static o => o . SearchFilter ,
111+ static ( o , v ) => o . SearchFilter = v ) ;
112112
113113 public string SearchFilter
114114 {
@@ -119,8 +119,8 @@ public string SearchFilter
119119 public static readonly DirectProperty < BranchSelector , bool > UsePureNameProperty =
120120 AvaloniaProperty . RegisterDirect < BranchSelector , bool > (
121121 nameof ( UsePureName ) ,
122- o => o . UsePureName ,
123- ( o , v ) => o . UsePureName = v ) ;
122+ static o => o . UsePureName ,
123+ static ( o , v ) => o . UsePureName = v ) ;
124124
125125 public bool UsePureName
126126 {
0 commit comments