Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="StorageStream"/> class.
        /// </summary>
        /// <param name="s">The s.</param>
        /// <remarks></remarks>
        public StorageStream(StorageStream s)
        {
            if (s == null) {
                throw new ArgumentNullException();
            }

            s.CopyTo(this);
        }
 public void TestStorageStreamCopyTo()
 {
     StorageStream srcStream = new StorageStream();
     StorageStream destStream = null;
     srcStream.CopyTo(destStream);
 }