System.IO.MultiplexingWin32WinRTFileSystem.GetFileSystemObject C# (CSharp) Méthode

GetFileSystemObject() static private méthode

static private GetFileSystemObject ( FileSystemInfo caller, string fullPath ) : IFileSystemObject
caller FileSystemInfo
fullPath string
Résultat IFileSystemObject
        internal static IFileSystemObject GetFileSystemObject(FileSystemInfo caller, string fullPath)
        {
            return ShouldUseWinRT(fullPath, isCreate: false) ?
                (IFileSystemObject)new WinRTFileSystem.WinRTFileSystemObject(fullPath, asDirectory: caller is DirectoryInfo) :
                (IFileSystemObject)caller;
        }