summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/IPlatformServices.cs
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@users.noreply.github.com>2016-04-25 13:57:44 -0600
committerRui Marinho <me@ruimarinho.net>2016-04-25 15:57:44 -0400
commit843bc4727a40d6ca67127326facf2333f461da2d (patch)
tree5467ab3850df7f2368baa1290e983adba27f35d9 /Xamarin.Forms.Core/IPlatformServices.cs
parent07df05ced2b43446c84d47f4b7a8325abcd0f767 (diff)
downloadxamarin-forms-843bc4727a40d6ca67127326facf2333f461da2d.tar.gz
xamarin-forms-843bc4727a40d6ca67127326facf2333f461da2d.tar.bz2
xamarin-forms-843bc4727a40d6ca67127326facf2333f461da2d.zip
Make core Ticker abstract and public (#116)
* Make core Ticker abstract and public Make the core Ticker abstract and public so it can be inherited by platform implementations; remove now-unused parts of original Ticker; add CreateTicker to IPlatformServices; remove unused CreateTimer methods from IPlatformServices * Add docs for Ticker * Remove unnecessary Ticker.Default set * Move Ticker into Internals * Update Ticker docs * Remove old Ticker docs * Remove commented code
Diffstat (limited to 'Xamarin.Forms.Core/IPlatformServices.cs')
-rw-r--r--Xamarin.Forms.Core/IPlatformServices.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/Xamarin.Forms.Core/IPlatformServices.cs b/Xamarin.Forms.Core/IPlatformServices.cs
index e4a3ce0b..a01baa02 100644
--- a/Xamarin.Forms.Core/IPlatformServices.cs
+++ b/Xamarin.Forms.Core/IPlatformServices.cs
@@ -3,6 +3,7 @@ using System.IO;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
+using Xamarin.Forms.Internals;
namespace Xamarin.Forms
{
@@ -12,12 +13,7 @@ namespace Xamarin.Forms
void BeginInvokeOnMainThread(Action action);
- //this will go once Timer is included in Pcl profiles
- ITimer CreateTimer(Action<object> callback);
- ITimer CreateTimer(Action<object> callback, object state, int dueTime, int period);
- ITimer CreateTimer(Action<object> callback, object state, long dueTime, long period);
- ITimer CreateTimer(Action<object> callback, object state, TimeSpan dueTime, TimeSpan period);
- ITimer CreateTimer(Action<object> callback, object state, uint dueTime, uint period);
+ Ticker CreateTicker();
Assembly[] GetAssemblies();