mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-01 18:35:13 +00:00
Code Cleanup
This commit is contained in:
Submodule QuickLook.Common updated: 8978dce92c...21cbdf4cfe
@@ -81,8 +81,7 @@ public class BackgroundVisualHost : FrameworkElement
|
||||
private readonly CreateContentFunction _createContent;
|
||||
private readonly Action _invalidateMeasure;
|
||||
|
||||
private readonly AutoResetEvent _sync =
|
||||
new AutoResetEvent(false);
|
||||
private readonly AutoResetEvent _sync = new(false);
|
||||
|
||||
public ThreadedVisualHelper(
|
||||
CreateContentFunction createContent,
|
||||
@@ -125,15 +124,9 @@ public class BackgroundVisualHost : FrameworkElement
|
||||
}
|
||||
}
|
||||
|
||||
#region Private Fields
|
||||
|
||||
public ThreadedVisualHelper ThreadedHelper;
|
||||
private HostVisual _hostVisual;
|
||||
|
||||
#endregion Private Fields
|
||||
|
||||
#region IsContentShowingProperty
|
||||
|
||||
/// <summary>
|
||||
/// Identifies the IsContentShowing dependency property.
|
||||
/// </summary>
|
||||
@@ -163,10 +156,6 @@ public class BackgroundVisualHost : FrameworkElement
|
||||
bvh.HideContentHelper();
|
||||
}
|
||||
|
||||
#endregion IsContentShowingProperty
|
||||
|
||||
#region CreateContent Property
|
||||
|
||||
/// <summary>
|
||||
/// Identifies the CreateContent dependency property.
|
||||
/// </summary>
|
||||
@@ -196,6 +185,4 @@ public class BackgroundVisualHost : FrameworkElement
|
||||
bvh.CreateContentHelper();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion CreateContent Property
|
||||
}
|
||||
|
Reference in New Issue
Block a user