mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-02 02:44:41 +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 CreateContentFunction _createContent;
|
||||||
private readonly Action _invalidateMeasure;
|
private readonly Action _invalidateMeasure;
|
||||||
|
|
||||||
private readonly AutoResetEvent _sync =
|
private readonly AutoResetEvent _sync = new(false);
|
||||||
new AutoResetEvent(false);
|
|
||||||
|
|
||||||
public ThreadedVisualHelper(
|
public ThreadedVisualHelper(
|
||||||
CreateContentFunction createContent,
|
CreateContentFunction createContent,
|
||||||
@@ -125,15 +124,9 @@ public class BackgroundVisualHost : FrameworkElement
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Private Fields
|
|
||||||
|
|
||||||
public ThreadedVisualHelper ThreadedHelper;
|
public ThreadedVisualHelper ThreadedHelper;
|
||||||
private HostVisual _hostVisual;
|
private HostVisual _hostVisual;
|
||||||
|
|
||||||
#endregion Private Fields
|
|
||||||
|
|
||||||
#region IsContentShowingProperty
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identifies the IsContentShowing dependency property.
|
/// Identifies the IsContentShowing dependency property.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -163,10 +156,6 @@ public class BackgroundVisualHost : FrameworkElement
|
|||||||
bvh.HideContentHelper();
|
bvh.HideContentHelper();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion IsContentShowingProperty
|
|
||||||
|
|
||||||
#region CreateContent Property
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identifies the CreateContent dependency property.
|
/// Identifies the CreateContent dependency property.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -196,6 +185,4 @@ public class BackgroundVisualHost : FrameworkElement
|
|||||||
bvh.CreateContentHelper();
|
bvh.CreateContentHelper();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion CreateContent Property
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user