C# Класс Microsoft.Zing.Process

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AssertionFailureCtx ZingSourceContext[]
PredicateContext PredicateContextIndexer

Private Properties

Свойство Тип Описание
Clone object
Process System
RaiseZingException void
RunNextBlock void
WriteString void
checkInStackFrames System.Collections.Stack
doPop ZingMethod
doPush void
revertStackFrames void
rollbackStackFrames void

Открытые методы

Метод Описание
Call ( ZingMethod method ) : void
CallPredicateMethod ( ZingMethod predicateMethod ) : bool
ClearCurrentProcesses ( ) : void
ComputeFingerprint ( StateImpl state ) : Fingerprint

Compute the fingerprint of a process. The current implementation computes this fingerprint nonincrementally. But in the future this can be made incremental

ContainsVariable ( string variableName ) : bool

Check if the vaiable is declared in this process

DoCheckIn ( ) : object
DoCheckout ( object currentUle ) : void
DoRevert ( ) : void
DoRollback ( object uleList ) : void
GetCurrentProcess ( int threadId ) : Process
LookupValueByName ( string variableName ) : object
Process ( StateImpl stateObj, ZingMethod entryPoint, string name, uint id ) : System

Constructor

Process ( StateImpl stateObj, ZingMethod entryPoint, string name, uint id, int threadID ) : System
Return ( ZingSourceContext context, ZingAttribute contextAttribute ) : void
UpdateDirectLastFunctionCompleted ( ZingMethod method ) : void

Приватные методы

Метод Описание
Clone ( StateImpl myState, bool shallowCopy ) : object
Process ( StateImpl stateObj, string myName, uint myId ) : System

Private constructor for cloning only

RaiseZingException ( int exception ) : void
RunNextBlock ( ) : void
WriteString ( StateImpl state, BinaryWriter bw ) : void
checkInStackFrames ( ) : Stack
doPop ( ) : ZingMethod
doPush ( ZingMethod method ) : void
revertStackFrames ( ) : void
rollbackStackFrames ( Stack sules ) : void

Описание методов

Call() публичный Метод

public Call ( ZingMethod method ) : void
method ZingMethod
Результат void

CallPredicateMethod() публичный Метод

public CallPredicateMethod ( ZingMethod predicateMethod ) : bool
predicateMethod ZingMethod
Результат bool

ClearCurrentProcesses() публичный статический Метод

public static ClearCurrentProcesses ( ) : void
Результат void

ComputeFingerprint() публичный Метод

Compute the fingerprint of a process. The current implementation computes this fingerprint nonincrementally. But in the future this can be made incremental
public ComputeFingerprint ( StateImpl state ) : Fingerprint
state StateImpl
Результат Fingerprint

ContainsVariable() публичный Метод

Check if the vaiable is declared in this process
public ContainsVariable ( string variableName ) : bool
variableName string
Результат bool

DoCheckIn() публичный Метод

public DoCheckIn ( ) : object
Результат object

DoCheckout() публичный Метод

public DoCheckout ( object currentUle ) : void
currentUle object
Результат void

DoRevert() публичный Метод

public DoRevert ( ) : void
Результат void

DoRollback() публичный Метод

public DoRollback ( object uleList ) : void
uleList object
Результат void

GetCurrentProcess() публичный статический Метод

public static GetCurrentProcess ( int threadId ) : Process
threadId int
Результат Process

LookupValueByName() публичный Метод

public LookupValueByName ( string variableName ) : object
variableName string
Результат object

Process() публичный Метод

Constructor
public Process ( StateImpl stateObj, ZingMethod entryPoint, string name, uint id ) : System
stateObj StateImpl
entryPoint ZingMethod
name string
id uint
Результат System

Process() публичный Метод

public Process ( StateImpl stateObj, ZingMethod entryPoint, string name, uint id, int threadID ) : System
stateObj StateImpl
entryPoint ZingMethod
name string
id uint
threadID int
Результат System

Return() публичный Метод

public Return ( ZingSourceContext context, ZingAttribute contextAttribute ) : void
context ZingSourceContext
contextAttribute ZingAttribute
Результат void

UpdateDirectLastFunctionCompleted() публичный Метод

public UpdateDirectLastFunctionCompleted ( ZingMethod method ) : void
method ZingMethod
Результат void

Описание свойств

AssertionFailureCtx публичное статическое свойство

Field to store the assertion failure context
public static ZingSourceContext[] AssertionFailureCtx
Результат ZingSourceContext[]

PredicateContext публичное статическое свойство

public static PredicateContextIndexer PredicateContext
Результат PredicateContextIndexer