IJob Interface

Namespace
Shiny.Jobs
Implementing Types
graph BT Type["IJob"] class Type type-node Implementing0["TransferJob"]-.->Type click Implementing0 "/api/Shiny.Net.Http/TransferJob"

Syntax

public interface IJob

Methods

Name Value Summary
Run(JobInfo, CancellationToken) Task<bool>
Runs your code

Extension Methods

Name Value Summary
GetPropertyInfo<IJob, TRet>(Expression<Func<IJob, TRet>>) PropertyInfo
Reflects out property information based on the expression value
ReflectCopyTo(object) void
ReflectGet(string) object
Gets an objects property dynamically through reflection - will throw an exception if proper has no getter or property does not exists
ReflectGet<IJob, TReturn>(Expression<Func<IJob, TReturn>>) TReturn
Gets an objects property dynamically through reflection - will throw an exception if proper has no getter or property does not exists
ReflectSet(string, object) void
Sets an objects property dynamically through reflection - will throw an exception if proper has no setter, wrong type, or property does not exists
GitHub