Portable implementation of FileCharacteristicsHelper.
Inheritance: FileCharacteristicsHelper
Exemplo n.º 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
        }
Exemplo n.º 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
        }