Show / Hide Table of Contents

Class ProcessStarter

A process starter.

Inheritance
System.Object
Loggable
ProcessStarter
Implements
ILoggable
IProcessStarter
Inherited Members
Loggable.Logger
Loggable.GetLogger()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Diagnostics
Assembly: Kephas.Core.dll
Syntax
public class ProcessStarter : Loggable, ILoggable, IProcessStarter

Constructors

| Improve this Doc View Source

ProcessStarter(ProcessStartInfo)

Initializes a new instance of the ProcessStarter class.

Declaration
public ProcessStarter(ProcessStartInfo processStartInfo)
Parameters
Type Name Description
System.Diagnostics.ProcessStartInfo processStartInfo

Information describing the process start.

Properties

| Improve this Doc View Source

ProcessStartInfo

Gets information describing the process start.

Declaration
public ProcessStartInfo ProcessStartInfo { get; }
Property Value
Type Description
System.Diagnostics.ProcessStartInfo

Information describing the process start.

Methods

| Improve this Doc View Source

StartAsync(Action<Process>, CancellationToken)

Starts the process asynchronously.

Declaration
public Task<ProcessStartResult> StartAsync(Action<Process> config = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Action<System.Diagnostics.Process> config

(Optional) Callback to configure the process before start.

System.Threading.CancellationToken cancellationToken

(Optional) The cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<ProcessStartResult>

The asynchronous result.

Implements

ILoggable
IProcessStarter

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX