C# Класс xn.Context

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

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

Метод Описание
AddLicense ( License license ) : void
Context ( ) : System
Context ( string xmlFile ) : System
CreateAnyProductionTree ( NodeType type, Query query ) : ProductionNode
CreateProductionNodeFromNative ( IntPtr hNodeHandle ) : ProductionNode
CreateProductionTree ( NodeInfo nodeInfo ) : ProductionNode
EnumerateExistingNodes ( ) : NodeInfoList
EnumerateExistingNodes ( NodeType type ) : NodeInfoList
EnumerateLicenses ( ) : License[]
EnumerateProductionTrees ( NodeType type, Query query ) : NodeInfoList
FindExistingNode ( NodeType type ) : ProductionNode
FromNative ( IntPtr pContext ) : Context

Creates a managed Context object to wrap a native one.

GetGlobalErrorState ( ) : string

Gets the global error state.

GetGlobalMirror ( ) : bool
GetProductionNodeByName ( string name ) : ProductionNode
GetProductionNodeInfoByName ( string name ) : NodeInfo
OpenFileRecording ( string fileName ) : void
RunXmlScript ( string xml ) : void
RunXmlScriptFromFile ( string xmlFile ) : void
SetGlobalMirror ( bool mirror ) : void
Shutdown ( ) : void
StartGeneratingAll ( ) : void
StopGeneratingAll ( ) : void
WaitAndUpdateAll ( ) : void
WaitAnyUpdateAll ( ) : void
WaitNoneUpdateAll ( ) : void
WaitOneUpdateAll ( Generator node ) : void

Защищенные методы

Метод Описание
FreeObject ( IntPtr ptr ) : void

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

Метод Описание
Context ( IntPtr pContext ) : System
CreateAnyProductionTreeImpl ( NodeType type, Query query ) : IntPtr
CreateProductionNodeObject ( IntPtr nodeHandle ) : ProductionNode
CreateProductionNodeObject ( IntPtr nodeHandle, NodeType type ) : ProductionNode
ErrorStateChangedCallback ( UInt32 status, IntPtr cookie ) : void
Init ( ) : IntPtr
InitFromXml ( string xmlFile ) : IntPtr

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

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

public AddLicense ( License license ) : void
license License
Результат void

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

public Context ( ) : System
Результат System

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

public Context ( string xmlFile ) : System
xmlFile string
Результат System

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

public CreateAnyProductionTree ( NodeType type, Query query ) : ProductionNode
type NodeType
query Query
Результат ProductionNode

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

public static CreateProductionNodeFromNative ( IntPtr hNodeHandle ) : ProductionNode
hNodeHandle System.IntPtr
Результат ProductionNode

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

public CreateProductionTree ( NodeInfo nodeInfo ) : ProductionNode
nodeInfo NodeInfo
Результат ProductionNode

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

public EnumerateExistingNodes ( ) : NodeInfoList
Результат NodeInfoList

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

public EnumerateExistingNodes ( NodeType type ) : NodeInfoList
type NodeType
Результат NodeInfoList

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

public EnumerateLicenses ( ) : License[]
Результат License[]

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

public EnumerateProductionTrees ( NodeType type, Query query ) : NodeInfoList
type NodeType
query Query
Результат NodeInfoList

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

public FindExistingNode ( NodeType type ) : ProductionNode
type NodeType
Результат ProductionNode

FreeObject() защищенный Метод

protected FreeObject ( IntPtr ptr ) : void
ptr System.IntPtr
Результат void

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

Creates a managed Context object to wrap a native one.
public static FromNative ( IntPtr pContext ) : Context
pContext System.IntPtr A pointer to the native object
Результат Context

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

Gets the global error state.
public GetGlobalErrorState ( ) : string
Результат string

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

public GetGlobalMirror ( ) : bool
Результат bool

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

public GetProductionNodeByName ( string name ) : ProductionNode
name string
Результат ProductionNode

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

public GetProductionNodeInfoByName ( string name ) : NodeInfo
name string
Результат NodeInfo

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

public OpenFileRecording ( string fileName ) : void
fileName string
Результат void

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

public RunXmlScript ( string xml ) : void
xml string
Результат void

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

public RunXmlScriptFromFile ( string xmlFile ) : void
xmlFile string
Результат void

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

public SetGlobalMirror ( bool mirror ) : void
mirror bool
Результат void

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

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

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

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

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

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

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

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

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

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

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

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

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

public WaitOneUpdateAll ( Generator node ) : void
node Generator
Результат void