Class AsyncStreamOperations
Provides methods for async reading of the tiles. This class is designed for internal use.
Inheritance
System.Object
AsyncStreamOperations
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public sealed class AsyncStreamOperations
Methods
LoadAsync(Stream, Action<Byte[]>)
Loads stream asynchronously to byte array.
Declaration
public static void LoadAsync(Stream stream, Action<byte[]> callback)
Parameters
System.IO.Stream
stream
Stream. |
System.Action<System.Byte[]>
callback
Callback. |
SaveAsync(Stream, Byte[])
Saves byte array asynchronously to the stream.
Declaration
public static void SaveAsync(Stream stream, byte[] tile)
Parameters
System.IO.Stream
stream
Stream. |
System.Byte[]
tile
Byte array. |
SaveAsync(Stream, Byte[], Action<Object>, Object)
Saves byte array asynchronously to the stream.
Declaration
public static void SaveAsync(Stream stream, byte[] tile, Action<object> callback, object userState)
Parameters
System.IO.Stream
stream
Stream. |
System.Byte[]
tile
Byte array. |
System.Action<System.Object>
callback
Callback. |
System.Object
userState
User state. |