Skip to content

Commit

Permalink
disable resharper warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlm committed Dec 14, 2024
1 parent 4e902fb commit c10eb52
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public override void OnFrameworkInitializationCompleted()
if (data != null && data is string)
{
var result = new ConsoloniaAccessText();
// ReSharper disable AccessToStaticMemberViaDerivedType
result.Bind(TextBlock.TextProperty,
result.GetObservable(Control.DataContextProperty));
return result;
Expand Down

0 comments on commit c10eb52

Please sign in to comment.