示例#1
0
文件: IOSSetup.cs 项目: radtek/csj2k
 public static void RegisterCretors()
 {
     DotnetFileInfoCreator.Register();
     DotnetFileStreamCreator.Register();
     DotnetMsgLogger.Register();
     IOSImageCreator.Register();
 }
        public static void RegisterCreators()
        {
#if NETFX_CORE
            StoreMsgLogger.Register();
            StoreFileInfoCreator.Register();
            StoreFileStreamCreator.Register();
            WriteableBitmapWrapperCreator.Register();
#elif SILVERLIGHT
#if WINDOWS_PHONE
            WriteableBitmapWrapperCreator.Register();
#else
            SilverlightMsgLogger.Register();
            SilverlightFileStreamCreator.Register();
            WriteableBitmapWrapperCreator.Register();
#endif
#else
            DotnetMsgLogger.Register();
            DotnetFileInfoCreator.Register();
            DotnetFileStreamCreator.Register();
            WriteableBitmapWrapperCreator.Register();
#endif
        }