System.IO.IsolatedStorage.TestHelper.ReadAllText C# (CSharp) Метод

ReadAllText() публичный статический Метод

public static ReadAllText ( this stream ) : string
stream this
Результат string
        public static string ReadAllText(this IsolatedStorageFileStream stream)
        {
            byte[] buffer = new byte[stream.Length];
            stream.Read(buffer, 0, buffer.Length);
            return Encoding.UTF8.GetString(buffer);
        }

Same methods

TestHelper::ReadAllText ( this isf, string fileName ) : string