Browse Source

Stylecop fixes.

pull/39/head
Steven Kirk 12 years ago
parent
commit
bad9aae1a5
  1. 2
      Cairo/Perspex.Cairo/Media/FormattedTextImpl.cs
  2. 2
      Perspex.Input/KeyboardNavigation.cs
  3. 12
      Perspex.Interactivity/EventSubscription.cs
  4. 10
      Perspex.SceneGraph/Media/StreamGeometry.cs
  5. 1
      Perspex.SceneGraph/Visual.cs

2
Cairo/Perspex.Cairo/Media/FormattedTextImpl.cs

@ -1,5 +1,5 @@
// -----------------------------------------------------------------------
// <copyright file="TextService.cs" company="Steven Kirk">
// <copyright file="FormattedTextImpl.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------

2
Perspex.Input/KeyboardNavigation.cs

@ -1,5 +1,5 @@
// -----------------------------------------------------------------------
// <copyright file="FocusNavigationDirection.cs" company="Steven Kirk">
// <copyright file="KeyboardNavigation.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------

12
Perspex.Interactivity/EventSubscription.cs

@ -1,11 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// -----------------------------------------------------------------------
// <copyright file="EventSubscription.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Interactivity
{
using System;
internal class EventSubscription
{
public Delegate Handler { get; set; }

10
Perspex.SceneGraph/Media/StreamGeometry.cs

@ -18,6 +18,11 @@ namespace Perspex.Media
this.PlatformImpl = factory.CreateStreamGeometry();
}
private StreamGeometry(IGeometryImpl impl)
{
this.PlatformImpl = impl;
}
public override Rect Bounds
{
get { return this.PlatformImpl.Bounds; }
@ -35,11 +40,6 @@ namespace Perspex.Media
}
}
private StreamGeometry(IGeometryImpl impl)
{
this.PlatformImpl = impl;
}
public override Geometry Clone()
{
return new StreamGeometry(((IStreamGeometryImpl)this.PlatformImpl).Clone());

1
Perspex.SceneGraph/Visual.cs

@ -113,7 +113,6 @@ namespace Perspex
}
}
public void InvalidateVisual()
{
IRenderRoot root = this.GetSelfAndVisualAncestors()

Loading…
Cancel
Save