static async void init()
        {
            IFolder rootFolder = FileSystem.Current.LocalStorage;

            folder = await rootFolder.CreateFolderAsync("Cache", CreationCollisionOption.OpenIfExists);

            md5 = JeffWilcox.Utilities.Silverlight.MD5.Create("MD5");
        }
		static async void Init ()
		{
			md5 = JeffWilcox.Utilities.Silverlight.MD5.Create ("MD5");
			IFolder rootFolder = FileSystem.Current.LocalStorage;
			await rootFolder.CreateFolderAsync ("Cache", CreationCollisionOption.OpenIfExists).ContinueWith (createFolderTask => {
				createFolderTask.Wait ();
				folder = createFolderTask.Result;
			});
		}
Exemple #3
0
 static async void Init()
 {
     md5 = JeffWilcox.Utilities.Silverlight.MD5.Create("MD5");
     IFolder rootFolder = FileSystem.Current.LocalStorage;
     await rootFolder.CreateFolderAsync("Cache", CreationCollisionOption.OpenIfExists).ContinueWith(createFolderTask => {
         createFolderTask.Wait();
         folder = createFolderTask.Result;
     });
 }
Exemple #4
0
 static Gravatar()
 {
     // MD5 not available in PCL, using an open-source implementation
     md5 = JeffWilcox.Utilities.Silverlight.MD5.Create ("MD5");
 }
 static Gravatar()
 {
     // MD5 not available in PCL, using an open-source implementation
     md5 = JeffWilcox.Utilities.Silverlight.MD5.Create("MD5");
 }
		static Gravatar ()
		{
			md5 = JeffWilcox.Utilities.Silverlight.MD5.Create ("MD5");
		}
		static async void init()
		{
			IFolder rootFolder = FileSystem.Current.LocalStorage;
			folder = await rootFolder.CreateFolderAsync ("Cache", CreationCollisionOption.OpenIfExists);
			md5 = JeffWilcox.Utilities.Silverlight.MD5.Create ("MD5");
		}
Exemple #8
0
 static Gravatar()
 {
     md5 = JeffWilcox.Utilities.Silverlight.MD5.Create("MD5");
 }