Class Environment
Inheritance
System.Object
Environment
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Experior.Core.dll
Syntax
Properties
AltKeyActive
Declaration
[Obsolete("Please use Experior.Core.Environment.Input.Keyboard.AltKeyActive instead", false)]
public static bool AltKeyActive { get; }
Property Value
Type |
Description |
System.Boolean |
|
Closing
Declaration
public static bool Closing { get; }
Property Value
Type |
Description |
System.Boolean |
|
CtrlKeyActive
Declaration
[Obsolete("Please use Experior.Core.Environment.Input.Keyboard.CtrlKeyActive instead", false)]
public static bool CtrlKeyActive { get; }
Property Value
Type |
Description |
System.Boolean |
|
CurrentUint
Declaration
[Obsolete("Please use CurrentUnit instead.")]
public static string CurrentUint { get; }
Property Value
Type |
Description |
System.String |
|
CurrentUnit
Declaration
public static string CurrentUnit { get; }
Property Value
Type |
Description |
System.String |
|
InvokeRequired
Declaration
public static bool InvokeRequired { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsRunningHeadless
If Experior is running headless or in full UI mode.
Declaration
public static bool IsRunningHeadless { get; }
Property Value
Type |
Description |
System.Boolean |
|
MeasurementSystem
Declaration
public static MeasurementSystems MeasurementSystem { get; set; }
Property Value
Privileges
Declaration
public static IUserProfile Privileges { get; }
Property Value
SerializableTypes
Declaration
public static List<Type> SerializableTypes { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<System.Type> |
|
Services
Declaration
public static IServiceManager Services { get; }
Property Value
ShiftKeyActive
Declaration
[Obsolete("Please use Experior.Core.Environment.Input.Keyboard.ShiftKeyActive instead", false)]
public static bool ShiftKeyActive { get; }
Property Value
Type |
Description |
System.Boolean |
|
Starting
Declaration
public static bool Starting { get; }
Property Value
Type |
Description |
System.Boolean |
|
User
Declaration
public static IUserProfile User { get; }
Property Value
Version
Declaration
public static Environment.ReferenceVersion Version { get; }
Property Value
Methods
Close()
Close the application (Save dialog is displayed if the model has changes)
Declaration
public static void Close()
Close(Boolean, Boolean)
Declaration
public static void Close(bool allowSave, bool allowCancel = false)
Parameters
Type |
Name |
Description |
System.Boolean |
allowSave |
|
System.Boolean |
allowCancel |
|
GetRandomDimension(Single, Single)
Declaration
public static float GetRandomDimension(float min, float max)
Parameters
Type |
Name |
Description |
System.Single |
min |
min
|
System.Single |
max |
|
Returns
Type |
Description |
System.Single |
|
Invoke(Action)
Declaration
public static void Invoke(Action action)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
InvokeIfRequired(Action)
Declaration
public static void InvokeIfRequired(Action action)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
InvokePhysicsAction(Action)
Declaration
public static void InvokePhysicsAction(Action action)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
InvokeStartingArguments(List<String>)
Declaration
public static void InvokeStartingArguments(List<string> arguments)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<System.String> |
arguments |
|
InvokeSync(Action)
Declaration
public static void InvokeSync(Action action)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
InvokeSync<T>(Func<T>)
Declaration
public static T InvokeSync<T>(Func<T> func)
Parameters
Type |
Name |
Description |
System.Func<T> |
func |
|
Returns
Type Parameters
InvokeUiAction(Action)
Declaration
public static void InvokeUiAction(Action action)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
InvokeWait(Action)
Declaration
public static void InvokeWait(Action action)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
LoadLibrary(String, String)
Declaration
public static object LoadLibrary(string filename, string classname)
Parameters
Type |
Name |
Description |
System.String |
filename |
|
System.String |
classname |
|
Returns
Type |
Description |
System.Object |
|
Terminate()
Declaration
public static void Terminate()
UnlockEngineThread()
Declaration
public static void UnlockEngineThread()
Events
OnClosing
Declaration
public static event Environment.ClosingEvent OnClosing
Event Type
OnInitializeCatalogsCompleted
Declaration
public static event Environment.InitializeCatalogsCompletedEvent OnInitializeCatalogsCompleted
Event Type
OnMeasurementSystemChanged
Declaration
public static event EventHandler OnMeasurementSystemChanged
Event Type
Type |
Description |
System.EventHandler |
|
OnStarting
Declaration
public static event Environment.StartingEvent OnStarting
Event Type