Show / Hide Table of Contents

Class PercentProgressCallback

A callback to be called by a workload to report its progress in percent.

Inheritance
Object
PercentProgressCallback
Namespace: NanoByte.Common.Tasks
Assembly: NanoByte.Common.dll
Syntax
public sealed class PercentProgressCallback : MulticastDelegate

Constructors

PercentProgressCallback(Object, IntPtr)

Declaration
public PercentProgressCallback(object object, IntPtr method)
Parameters
Type Name Description
Object object
IntPtr method

Methods

BeginInvoke(Int32, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(int percent, AsyncCallback callback, object object)
Parameters
Type Name Description
Int32 percent
AsyncCallback callback
Object object
Returns
Type Description
IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type Name Description
IAsyncResult result

Invoke(Int32)

Declaration
public virtual void Invoke(int percent)
Parameters
Type Name Description
Int32 percent

Extension Methods

UpdateUtils.To<TIn, TOut>(TIn, Func<TIn, TOut>)
JsonStorage.SaveJson<T>(T, Stream)
JsonStorage.SaveJson<T>(T, String)
JsonStorage.ToJsonString<T>(T)
JsonStorage.ReparseAsJson<T>(Object)
JsonStorage.ReparseAsJson<T>(Object, T)
XmlStorage.SaveXml(Object, Stream, String)
XmlStorage.SaveXml<T>(T, String, String)
XmlStorage.ToXmlString(Object, String)
ConversionUtils.ConvertToString<TType>(TType)
In This Article
Back to top Copyright Bastian Eicher