This repository was archived by the owner on Dec 24, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ public static class Platforms
2222 {
2323 public const string WindowsStore = "WindowsStore" ;
2424 public const string Android = "Android" ;
25- public const string IOS = "IOS" ;
25+ public const string IOS = "IOS" ;
26+ public const string Mac = "MAC" ;
2627 public const string Silverlight5 = "Silverlight5" ;
2728 public const string WindowsPhone = "WindowsPhone" ;
2829 }
@@ -40,6 +41,8 @@ public static PclExport Instance
4041 = new XboxPclExport ( )
4142#elif __IOS__
4243 = new IosPclExport ( )
44+ #elif __MAC__
45+ = new MacPclExport ( )
4346#elif ANDROID
4447 = new AndroidPclExport ( )
4548#else
@@ -58,6 +61,8 @@ static PclExport()
5861 return;
5962 if ( ConfigureProvider ( "ServiceStack.AndroidPclExportClient, ServiceStack.Pcl.Android" ) )
6063 return;
64+ if ( ConfigureProvider ( "ServiceStack.MacPclExportClient, ServiceStack.Pcl.Mac20" ) )
65+ return;
6166 if ( ConfigureProvider ( "ServiceStack.WinStorePclExportClient, ServiceStack.Pcl.WinStore" ) )
6267 return;
6368 if ( ConfigureProvider ( "ServiceStack.Net40PclExportClient, ServiceStack.Pcl.Net45" ) )
You can’t perform that action at this time.
0 commit comments