chore: use file-scoped namespace

This commit is contained in:
NaBian committed 2022-03-13 20:28:58 +08:00
1 parent 99d2fafb72
commit bbf1b7d4c6
748 files changed
+57929 -58678

No files matched your search

@@ -2,24 +2,23 @@
using System.Windows.Media;
using System.Windows.Media.Animation;
namespace HandyControl.Media.Animation
namespace HandyControl.Media.Animation;
public class DiscreteGeometryKeyFrame : GeometryKeyFrame
{
public class DiscreteGeometryKeyFrame : GeometryKeyFrame
public DiscreteGeometryKeyFrame()
{
public DiscreteGeometryKeyFrame()
{
}
public DiscreteGeometryKeyFrame(Geometry value) : base(value)
{
}
public DiscreteGeometryKeyFrame(Geometry value, KeyTime keyTime) : base(value, keyTime)
{
}
protected override Freezable CreateInstanceCore() => new DiscreteGeometryKeyFrame();
protected override double[] InterpolateValueCore(double[] baseValue, double keyFrameProgress) => keyFrameProgress < 1.0 ? baseValue : Numbers;
}
}
public DiscreteGeometryKeyFrame(Geometry value) : base(value)
{
}
public DiscreteGeometryKeyFrame(Geometry value, KeyTime keyTime) : base(value, keyTime)
{
}
protected override Freezable CreateInstanceCore() => new DiscreteGeometryKeyFrame();
protected override double[] InterpolateValueCore(double[] baseValue, double keyFrameProgress) => keyFrameProgress < 1.0 ? baseValue : Numbers;
}