Simplified namespace organization
This commit is contained in:
Родитель
f362ebf91a
Коммит
86843c2784
|
@ -5,7 +5,6 @@
|
|||
using System.Collections.ObjectModel;
|
||||
using Microsoft.Toolkit.Uwp.SampleApp.Models;
|
||||
using Microsoft.Toolkit.Uwp.UI.Animations;
|
||||
using Microsoft.Toolkit.Uwp.UI.Animations.Extensions;
|
||||
using Microsoft.Toolkit.Uwp.UI.Extensions;
|
||||
using Windows.UI.Xaml;
|
||||
using Windows.UI.Xaml.Controls;
|
||||
|
|
|
@ -11,7 +11,7 @@ using Windows.UI.Composition;
|
|||
using Windows.UI.Xaml;
|
||||
using Windows.UI.Xaml.Media;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.Extensions.AnimationExtensions;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
|
|
|
@ -7,7 +7,6 @@ using System.Diagnostics.Contracts;
|
|||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Microsoft.Toolkit.Diagnostics;
|
||||
using Microsoft.Toolkit.Uwp.UI.Animations.Extensions;
|
||||
using Windows.Foundation;
|
||||
using Windows.UI;
|
||||
using Windows.UI.Composition;
|
||||
|
|
|
@ -8,7 +8,7 @@ using System;
|
|||
using System.Numerics;
|
||||
using Windows.UI.Composition;
|
||||
using Windows.UI.Xaml.Media;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.Extensions.AnimationExtensions;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@ using Windows.UI.Composition;
|
|||
using Windows.UI.Xaml;
|
||||
using Windows.UI.Xaml.Media;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.Extensions.AnimationExtensions;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
|
||||
|
||||
#nullable enable
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.Extensions.AnimationExtensions;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.Extensions.AnimationExtensions;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
using System;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.Extensions.AnimationExtensions;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Animations
|
|||
/// <param name="easingType">The easing type to use to reach the new keyframe.</param>
|
||||
/// <param name="easingMode">The easing mode to use to reach the new keyframe.</param>
|
||||
/// <returns>The same <see cref="INormalizedKeyFrameAnimationBuilder{T}"/> instance that the method was invoked upon.</returns>
|
||||
/// <exception cref="System.InvalidOperationException">Thrown when the animation being built targets the XAML layer.</exception>
|
||||
/// <exception cref="InvalidOperationException">Thrown when the animation being built targets the XAML layer.</exception>
|
||||
ITimedKeyFrameAnimationBuilder<T> ExpressionKeyFrame(
|
||||
TimeSpan progress,
|
||||
string expression,
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
using System;
|
||||
using System.Numerics;
|
||||
using Microsoft.Toolkit.Diagnostics;
|
||||
using Microsoft.Toolkit.Uwp.UI.Animations.Extensions;
|
||||
using Windows.UI;
|
||||
using Windows.UI.Composition;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Microsoft.Toolkit.Uwp.UI.Animations.Builders.Helpers;
|
||||
using Microsoft.Toolkit.Uwp.UI.Animations.Extensions;
|
||||
using Windows.UI.Composition;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
using System;
|
||||
using Microsoft.Toolkit.Diagnostics;
|
||||
using Microsoft.Toolkit.Uwp.UI.Animations.Extensions;
|
||||
using Windows.Foundation;
|
||||
using Windows.UI;
|
||||
using Windows.UI.Xaml;
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Microsoft.Toolkit.Uwp.UI.Animations.Builders.Helpers;
|
||||
using Microsoft.Toolkit.Uwp.UI.Animations.Extensions;
|
||||
using Windows.UI.Composition;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace Microsoft.Toolkit.Uwp.UI.Animations
|
|||
public enum EasingType
|
||||
{
|
||||
/// <summary>
|
||||
/// The default easing type, which is specified in <see cref="Extensions.AnimationExtensions.DefaultEasingType"/>.
|
||||
/// The default easing type, which is specified in <see cref="AnimationExtensions.DefaultEasingType"/>.
|
||||
/// Animations using this easing type follow the guidelines mentioned in the "Timing and easing" section of the docs.
|
||||
/// For more info, see: <see href="https://docs.microsoft.com/windows/uwp/design/motion/timing-and-easing"/>.
|
||||
/// </summary>
|
||||
|
|
|
@ -12,7 +12,7 @@ using Windows.UI.Xaml;
|
|||
using Windows.UI.Xaml.Media;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations.Extensions
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
/// <summary>
|
||||
/// Common properties related to extensions.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
using System.Diagnostics.Contracts;
|
||||
using Windows.UI.Composition;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations.Extensions
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
/// <summary>
|
||||
/// An extension <see langword="class"/> for the <see cref="CompositionObject"/> type.
|
||||
|
|
|
@ -10,9 +10,9 @@ using System.Numerics;
|
|||
using Windows.UI;
|
||||
using Windows.UI.Composition;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.Extensions.AnimationExtensions;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations.Extensions
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
/// <summary>
|
||||
/// An extension <see langword="class"/> for the <see cref="Compositor"/> type.
|
||||
|
|
|
@ -12,7 +12,7 @@ using Windows.UI.Xaml;
|
|||
using Windows.UI.Xaml.Media.Animation;
|
||||
using XamlColorAnimation = Windows.UI.Xaml.Media.Animation.ColorAnimation;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations.Extensions
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
/// <summary>
|
||||
/// An extension <see langword="class"/> for the <see cref="DependencyObject"/> type.
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
using System.Diagnostics.Contracts;
|
||||
using Microsoft.Toolkit.Diagnostics;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.Extensions.AnimationExtensions;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations.Extensions
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
/// <summary>
|
||||
/// An extension <see langword="class"/> for the <see cref="EasingType"/> type.
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
|
||||
using System;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.Extensions.AnimationExtensions;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations.Extensions
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
/// <summary>
|
||||
/// An extension <see langword="class"/> for the <see cref="ITimedKeyFrameAnimationBuilder{T}"/> type.
|
||||
|
|
|
@ -9,7 +9,7 @@ using Windows.UI.Xaml;
|
|||
using Windows.UI.Xaml.Controls;
|
||||
using Windows.UI.Xaml.Hosting;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations.Extensions
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides attached dependency properties and methods for the <see cref="ScrollViewer"/> control.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
using System.Threading.Tasks;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations.Extensions
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
/// <summary>
|
||||
/// An extension <see langword="class"/> for the <see cref="Storyboard"/> type.
|
||||
|
|
|
@ -9,7 +9,7 @@ using System.Collections.Generic;
|
|||
using Windows.UI.Xaml;
|
||||
using Windows.UI.Xaml.Markup;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.Extensions.AnimationExtensions;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
using System;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.Extensions.AnimationExtensions;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
using Microsoft.Toolkit.Uwp.UI.Extensions;
|
||||
using Windows.UI.Composition;
|
||||
using Windows.UI.Xaml;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.Extensions.AnimationExtensions;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
using Windows.UI.Xaml;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.Extensions.AnimationExtensions;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
using System;
|
||||
using Windows.UI.Xaml;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.Extensions.AnimationExtensions;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
|
||||
|
||||
namespace Microsoft.Toolkit.Uwp.UI.Animations
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@ using Microsoft.Toolkit.Uwp.UI.Media;
|
|||
using Windows.UI.Composition;
|
||||
using Windows.UI.Xaml;
|
||||
using Windows.UI.Xaml.Media.Animation;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.Extensions.AnimationExtensions;
|
||||
using static Microsoft.Toolkit.Uwp.UI.Animations.AnimationExtensions;
|
||||
|
||||
#nullable enable
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче