System.IO.MultiplexingWin32WinRTFileSystem.GetFileSystemObject C# (CSharp) 메소드

GetFileSystemObject() 정적인 개인적인 메소드

static private GetFileSystemObject ( FileSystemInfo caller, string fullPath ) : IFileSystemObject
caller FileSystemInfo
fullPath string
리턴 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;
        }