Current Class |
[Missing <summary> documentation for "T:Altaxo.Current"]
public class Current
The Current type exposes the following members.
Name | Description | |
---|---|---|
Current | Avoids instantiation of this class from the outside, but allows other Current classes inherit from this class and add new static methods. |
Name | Description | |
---|---|---|
AddInTree | ||
AnalyticsMonitor | ||
ApplicationInstanceGuid | Gets a Guid that uniquely identifies the current application instance. Needed for drag/drop operations to decide if a drag source is coming from the own instance or another one. | |
ComManager | ||
Console | Returns the console window, which can be used by your scripts for textual output. | |
DataDisplay | Returns the data display window, which is used to show the data obtained from the data reader tool. | |
Dispatcher | Used to invoke calls in the context of the Gui thread. | |
FallbackServiceProvider | ||
FitFunctionService | Returns the fit function service, which is used to obtain the file based user defined fit functions. | |
Gui | ||
GuiTimer | ||
HighResolutionClock | Gets a high resolution clock that delivers relative values (TimeSpan values relative to the start of the clock). Those values are guaranteed to be continuously incresing, even if the computer's clock time is changed backwards. | |
InfoTextMessageService | ||
IProject | Gets the current project. | |
IProjectService | Returns the project service, which provides methods to add worksheet and graphs, or open and close the document. | |
IsInDesignMode | Gets or sets a value indicating whether the app is in design mode. | |
Log | ||
MessageService | Gets the message service. The message service usually requires action from the user (showing a message box, the user has to click OK to close the message box). If a message should be showed without requiring user interaction, it is better to use InfoTextMessageService. | |
PrintingService | Returns the printing service, which provides methods for page setup and printing. | |
Project | Gets the current open project. If the application is in a transition state between two projects, a InvalidOperationException is thrown. | |
ProjectOrNull | Gets the current open project. If the application is in a transition state between two projects, null is returned. | |
ProjectService | ||
PropertyService | Returns the property service, which is used to obtain application settings. | |
ResourceService | ||
Services | Gets the main service container. | |
StatusBar | ||
TimerQueue | Gets an application wide timer queue to add actions to be scheduled. | |
Workbench | Gets the main workbench. |
Name | Description | |
---|---|---|
AddServiceT(T) | ||
AddServiceT, U(T) | ||
AddServiceT, U, V(T) | ||
DisposeServicesAll | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetActiveViewContentService(Type) |
Equivalent to C# SD.Workbench.ActiveViewContent.GetService(type) | |
GetActiveViewContentServiceT |
Equivalent to C# SD.Workbench.ActiveViewContent.GetService<T>() | |
GetFutureServiceT | Returns a task that gets completed when the service is initialized. This method does not try to initialize the service -- if no other code forces the service to be initialized, the task will never complete. | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetRequiredServiceT | Retrieves the service of type T from the provider. If the service cannot be found, a ServiceNotFoundException will be thrown. | |
GetRequiredServiceT, U | Gets the required service. The service is primarily being searched with key T. If it is not found with this key, it is search with key U, thus U has to be a base class or an interface of type T. If the service is found with this second key U and is of type T, the service will be register with the key T in order to avoid further searching. | |
GetServiceT | Gets a service. Returns null if service is not found. | |
GetServiceT, U | ||
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
RemoveServiceT | ||
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
ServiceChanged | Occurs when a service was added or removed. Static classes that cache a service should invalidate their cached service member in response to this event. Attention: Only static classes should subscribe to this event! (Or use a weak event handler in order to avoid memory leaks). |
Name | Description | |
---|---|---|
fallbackServiceProvider | The service provider that is used when the "real" service provider is not already set. |