summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/Internals
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/Internals')
-rw-r--r--Xamarin.Forms.Core/Internals/EffectUtilities.cs2
-rw-r--r--Xamarin.Forms.Core/Internals/Ticker.cs5
2 files changed, 5 insertions, 2 deletions
diff --git a/Xamarin.Forms.Core/Internals/EffectUtilities.cs b/Xamarin.Forms.Core/Internals/EffectUtilities.cs
index f4fe832..4fd1b73 100644
--- a/Xamarin.Forms.Core/Internals/EffectUtilities.cs
+++ b/Xamarin.Forms.Core/Internals/EffectUtilities.cs
@@ -1,6 +1,6 @@
namespace Xamarin.Forms.Internals
{
- internal static class EffectUtilities
+ public static class EffectUtilities
{
public static void RegisterEffectControlProvider(IEffectControlProvider self, IElementController oldElement, IElementController newElement)
{
diff --git a/Xamarin.Forms.Core/Internals/Ticker.cs b/Xamarin.Forms.Core/Internals/Ticker.cs
index 7fe60cc..9b7c575 100644
--- a/Xamarin.Forms.Core/Internals/Ticker.cs
+++ b/Xamarin.Forms.Core/Internals/Ticker.cs
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
+using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
@@ -14,7 +15,7 @@ namespace Xamarin.Forms.Internals
int _count;
bool _enabled;
- internal Ticker()
+ protected Ticker()
{
_count = 0;
_timeouts = new List<Tuple<int, Func<long, bool>>>();
@@ -22,6 +23,8 @@ namespace Xamarin.Forms.Internals
_stopwatch = new Stopwatch();
}
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static void SetDefault(Ticker ticker) => Default = ticker;
public static Ticker Default
{
internal set { s_ticker = value; }