Win32-optimized implementation of FileCharacteristicsHelper.
Наследование: FileCharacteristicsHelper
Пример #1
0
        /// <summary>
        /// Initializes static members of the FileCharacteristicsHelper class.
        /// </summary>
        static FileCharacteristicsHelper()
        {
#if SILVERLIGHT
            Helper = new PortableFileCharacteristicsHelper();
#else
            if (PlatformDetector.IsDesktopWin32)
            {
                Helper = new Win32FileCharacteristicsHelper();
            }
            else
            {
                Helper = new PortableFileCharacteristicsHelper();
            }
#endif
        }
Пример #2
0
        /// <summary>
        /// Initializes static members of the FileCharacteristicsHelper class.
        /// </summary>
        static FileCharacteristicsHelper()
        {
#if SILVERLIGHT
            Helper = new PortableFileCharacteristicsHelper();
#else
            if (PlatformDetector.IsDesktopWin32)
            {
                Helper = new Win32FileCharacteristicsHelper();
            }
            else
            {
                Helper = new PortableFileCharacteristicsHelper();
            }
#endif
        }