C# Class Emul8.UserInterface.Monitor

Afficher le fichier Open project: emul8/emul8 Class Usage Examples

Méthodes publiques

Méthode Description
ConvertValueOrThrowRecoverable ( object value, Type type ) : object
ExecuteDeviceAction ( Type type, string name, IEnumerable p ) : object
GetMonitorInfo ( Type device ) : MonitorInfo

Private Methods

Méthode Description
ConvertValue ( object value, Type type ) : object
CreateInvocationContext ( object device, MemberInfo info ) : InvokeContext

Creates the invocation context.

GetAvailableFields ( Type objectType ) : IEnumerable
GetAvailableIndexers ( Type objectType ) : IEnumerable
GetAvailableMethods ( Type objectType ) : IEnumerable
GetAvailableProperties ( Type objectType ) : IEnumerable
GetDeviceSuggestions ( string name ) : IEnumerable
GetExternalInterfaceOrNull ( string name ) : IExternal
GetNumberFormat ( NumberModes mode, int width ) : string
GetResultFormat ( object result, int num, int width = null ) : string
IdentifyDevice ( string name ) : object
InvokeExtensionMethod ( string name, MethodInfo method, List parameters ) : object
InvokeGet ( string name, MemberInfo info ) : object
InvokeGetIndex ( string name, PropertyInfo property, List parameters ) : object
InvokeMethod ( string name, MethodInfo method, List parameters ) : object
InvokeSet ( string name, MemberInfo info, object parameter ) : void
InvokeSetIndex ( string name, PropertyInfo property, List parameters ) : void
InvokeWithContext ( InvokeContext context, MethodInfo method, object parameters ) : object
PrettyPrint2DArray ( string table, ICommandInteraction writer ) : void
PrintActionResult ( object result, ICommandInteraction writer, bool withNewLine = true ) : void
PrintMonitorInfo ( string name, MonitorInfo info, ICommandInteraction writer, string lookup = null ) : void
PrintPython ( IEnumerable p, ICommandInteraction writer ) : void
ProcessDeviceAction ( Type device, string name, IEnumerable p, ICommandInteraction writer ) : void
ProcessDeviceActionByName ( string name, IEnumerable p, ICommandInteraction writer ) : void
RunCommand ( ICommandInteraction writer, Command command, IList parameters ) : void
TryFindPeripheralByName ( string name, IPeripheral &peripheral, string &longestMatch ) : bool
TryFindPeripheralTypeByName ( string name, Type &type, string &longestMatch, string &actualName ) : bool
TryPrepareParameters ( IList values, IList parameters, List &result ) : bool
TypePrettyName ( Type type ) : string

Method Details

ConvertValueOrThrowRecoverable() public méthode

public ConvertValueOrThrowRecoverable ( object value, Type type ) : object
value object
type System.Type
Résultat object

ExecuteDeviceAction() public méthode

public ExecuteDeviceAction ( Type type, string name, IEnumerable p ) : object
type System.Type
name string
p IEnumerable
Résultat object

GetMonitorInfo() public méthode

public GetMonitorInfo ( Type device ) : MonitorInfo
device System.Type
Résultat MonitorInfo