SND\AstrorEnales_cp eccbb00742 - Implemented ContentManager.OpenStream for Metro (Texture loading works already)
- Started refactoring all the Metro rendering classes
- Fixed some missing License headers
2012-08-14 08:44:12 +00:00

45 lines
1001 B
C#

#if WINDOWSMETRO
using System;
using System.Collections;
using System.Threading.Tasks;
// This file is part of the ANX.Framework created by the
// "ANX.Framework developer group" and released under the Ms-PL license.
// For details see: http://anxframework.codeplex.com/license
namespace ANX.Framework
{
public struct DictionaryEntry
{
private Object key;
private Object value;
public DictionaryEntry(Object key, Object value)
{
this.key = key;
this.value = value;
}
public Object Key
{
get { return this.key; }
set { this.key = value; }
}
public Object Value
{
get { return this.value; }
set { this.value = value; }
}
}
public static class TaskHelper
{
public static T WaitForAsyncOperation<T>(Task<T> task)
{
task.Wait();
return task.Result;
}
}
}
#endif