Click or drag to resize

Altaxo.Main.Services Namespace

Contains service contracts and service implementations for application infrastructure.
Classes
 ClassDescription
Public classAltaxoServiceContainer A thread-safe service container class.
Public classApplicationStateInfoService This service is used to summarize important information about the state of the application when an exception occurs.
Public classBuiltinFitFunctionInformation Holds information about built-in fit functions.
Public classChooseSaveErrorResult Represents a user's choice when handling a save error.
Public classDirectoryName Represents a path to a directory. The equality operator is overloaded to compare for path equality (case insensitive, normalizing paths with '..\')
Public classDirectoryNameConverter Converts between strings and DirectoryName instances.
Public classDocumentFitFunctionInformation Holds information about fit function scripts stored in the current document.
Public classDummyProgressReporter Dummy implementation of IProgressReporter. Does nothing.
Public classExternalDrivenBackgroundMonitor Background monitor that can be externally driven, for example by a timer, to set ShouldReportNow.
Public classExternalDrivenBackgroundMonitorReporter Reports progress to an ExternalDrivenBackgroundMonitor and supports hierarchical subtasks.
Public classExternalDrivenTimeReportMonitor Reports the elapsed time of an operation through the progress text.
Public classFallbackServiceProvider Resolves fallback service instances declared through GlobalServiceAttribute.
Public classFileBasedFitFunctionInformation Holds information about file based user defined fit function scripts.
Public classFileCancelEventArgs Provides data for cancellable file-system events involving a single file or directory.
Public classFileEventArgs Provides data for file-system events involving a single file or directory.
Public classFileName Represents a path to a file. The equality operator is overloaded to compare for path equality (case insensitive, normalizing paths with '..\')
Public classFileNameConverter Converts between strings and FileName instances.
Public classFileNameEventArgs Event arguments that carry a FileName value.
Public classFileRenameEventArgs Provides data for file or directory rename operations.
Public classFileRenamingEventArgs Provides data for cancellable file or directory rename operations.
Public classFileUtility A utility class related to file utilities.
Public classFitFunctionService Handles the storage and retrieving of user defined fit function scripts.
Public classGlobalServiceAttribute Specifies that the interface is a service that is accessible via Altaxo.Current.
Public classGUIFactoryService Creates the appropriate GUI object for a given document type.
Public classHighResolutionClock Implementation of a high resolution clock. The delivered time value is relative, e.g. relative to the start of the timer. The values are guaranteed to be continuously increasing, even if the system time of the computer is changed backwards.
Public classInfoWarningErrorTextMessageService IMessageService implementation that writes messages to a text writer. User input is not implemented by this service.
Public classInstanceStorageService Supports the creation of temporary folders and files on a per application-instance base.
Public classInvokeableThread Thread that can be invoked, i.e. code can be executed using Invoke(Action) or InvokeAsync(Action) always from this thread. This is especially important for objects that are thread-sensitive. These objects must be created and their functions must always be called from the same thread.
Public classMessageService Class with static methods to show message boxes. All text displayed using the MessageService is passed to the StringParser to replace ${res} markers.
Public classPathName Represents a path to a file or directory.
Public classPathNameEventArgs Event arguments that carry a PathName value.
Public classProperties A container for settings - key/value pairs where keys are strings, and values are arbitrary objects. Instances of this class are thread-safe.
Public classPropertyObjectTagProvider Provides properties by using Reflection on an object.
Public classPropertyService Default implementation of the application property service.
Public classPropertyServiceFallbackImplementation Fallback implementation of IPropertyService for use during debugging.
Public classRecentOpenBase This class handles the recent open files and the recent open project files. It provides almost all functionality necessary, with the exception that recent files are not added to the Windows shell jump list, since this requires a reference to the WPF assemblies. Use a class (RecentOpen) derived from here that implements this functionality.
Public classReflectionService Static functions for searching by attributes.
Public classResourceNotFoundException Is thrown when the GlobalResource manager can't find a requested resource.
Public classResourceServiceImpl Contains resource managers for application strings and images and handles localization.
Public classRtfComposerService Provides helper methods for composing rich text format output that can embed MathML content as images.
Public classServiceNotFoundException Is thrown when the ServiceManager cannot find a required service.
Public classStatusBarService Implements a standard IStatusBarService. This can be used also as a controller for the Gui component of the status bar.
Public classStringParser This class parses internal ${xyz} tags of #Develop. All environment variables are available under the name env.[NAME], where [NAME] represents the string under which it is available in the environment.
Public classTextOutputServiceBase Base class implementing ITextOutputService. You only need to override InternalWrite(String).
Public classTextOutputServiceTemporary Temporary in-memory implementation of TextOutputServiceBase.
Public classTextWriterLoggingService Logging service implementation that writes log output to a TextWriter.
Public classTimedBackgroundMonitor Provides a timer-driven progress reporter for background tasks.
Public classTimerQueue Queue that allows to trigger actions at specific times. This class is thread safe. When enqueuing items, you will get back a token, which can be used to question or change the item on the queue.
Public classUnnamedProjectArchiveManager Represents the state of an unnamed and thus unsaved project.
Public classZipFileProjectArchiveManager Manages the permanent storage of projects into Zip files, including cloning to, and maintaining a safety copy. This manager uses Zip files zipped with the framework provided Zip routines. As such, no progressive storage is supported (and no deferred loading).
Public classZipFileProjectArchiveManagerBase Manages the permanent storage of projects into Zip files, including cloning to, and maintaining a safety copy. This manager uses Zip files zipped with the Altaxo provided Zip routines. This, progressive storage is supported, but the risk of data failures is higher.
Public classZipFileProjectArchiveManagerNative Manages the permanent storage of projects into Zip files, including cloning to, and maintaining a safety copy. This manager uses Zip files zipped with the framework provided Zip routines. As such, no progressive storage is supported (and no deferred loading).
Public classZipFileProjectArchiveManagerWithoutClonedFile Manages the permanent storage of a projects into a Zip files. In contrast to ZipFileProjectArchiveManager, this manager does not use a cloned copy of the project file.
Structures
 StructureDescription
Public structureCachedServiceT, U Structure that caches a service provided by Current. It monitors if the services in Current change, and will then update the cached service.
Public structureGUIFactoryServiceScreenInformation Contains information about the usable work area of a screen.
Public structureInfoWarningErrorTextMessageItem Represents a timestamped informational, warning, or error message.
Public structureStringTagPair Represents a custom string tag and its replacement value.
Interfaces
 InterfaceDescription
Public interfaceIAnalyticsMonitor Tracks exceptions and feature usage for analytics purposes.
Public interfaceIAnalyticsMonitorTrackedFeature Allows marking the end-time of feature uses.
Public interfaceIAutoUpdateInstallationService Defines a service that can install application updates.
Public interfaceIDataDisplayService Provides methods for displaying information obtained from a data reader, such as item counts and x/y values.
Public interfaceIDispatcherMessageLoop Represents a thread running a message loop. This is the non-GUI part of the interface. The GUI interface will contain a dispatcher object, and additional possibilities to set the priority.
Public interfaceIExternalDrivenBackgroundMonitor Interface that provides both cancellation support and progress reporting for an operation.
Public interfaceIFileBasedProjectArchiveManager Represents a file base (such as a Zip file, an XML file, etc.) project archive that is currently open.
Public interfaceIFitFunctionInformation Provides metadata and factory methods for a fit function.
Public interfaceIFitFunctionService Responsible for retrieving and storing user defined fit functions.
Public interfaceIFolderBasedProjectArchiveManager Represents a folder based project archive (entries of the archive represented by files in that folder), that is currently open.
Public interfaceIGuiFactoryService Provides factory and dialog services for GUI-related controllers and views.
Public interfaceIGuiTimerService Interface for a timer service that invokes callbacks on the GUI thread.
Public interfaceIHighResolutionClock Interface for a high resolution clock. The delivered time value is relative, e.g. relative to the start of the timer. The values are guaranteed to be continuously increasing, even if the system time of the computer is changed backwards.
Public interfaceIInfoWarningErrorTextMessageService Service that usually display infos, warnings, and errors in a pad window at the bottom of the workbench. Typically, the messages will be displayed in different colors according to their warning level.
Public interfaceIInstanceStorageService Supports the creation of temporary folders and files on a per-instance basis.
Public interfaceIInvokeableThread Thread that can be invoked, i.e. code can be executed using Invoke(Action) or InvokeAsync(Action) always from this thread. This is especially important for objects which are thread-sensitive. These objects must be created on the same thread from which their functions are called.
Public interfaceILaTeXFormulaImageStreamProvider Provides a LaTeX formula as an image stream representing a PNG image.
Public interfaceILoggingService Interface to a logging service which typically logs some events to a log file.
Public interfaceIMementoCapable This interface flags an object beeing "mementocapable". This means that the state of the object could be saved to an object that can be serialized, and set from an object from the same class. This is used to save and restore the state of GUI objects.
Public interfaceIMessageService Provides methods for reporting messages, prompting the user, and displaying exceptions.
Public interfaceIPrintingService This interface provides access to printers and forms.
Public interfaceIProgressMonitor Interface for the other side of an IProgressReporter, that is, the side that reads and displays the progress.
Public interfaceIProjectArchive Abstracts a zip file or a virtual file system where the project is stored into.
Public interfaceIProjectArchiveEntry Abstracts an entry in an IProjectArchive.
Public interfaceIProjectArchiveEntryMemento A class from which a project archive can be restored. Ideally, this object should not claim any resources.
Public interfaceIProjectArchiveManager Manages an open project archive, including making and maintaining a safety copy of the project, and saving the project into a new or temporary file or folder.
Public interfaceIPropertyService Service for getting global and user defined properties for the application.
Public interfaceIRecentOpen Interface to a class that stores recently open files and projects.
Public interfaceIResourceService Provides string and bitmap resources.
Public interfaceIShutdownService Service that is responsible for managing the IDE shutdown. Furthermore it can intercept the shutdown if shutdown is not currently possible.
Public interfaceIStatusBarService Defines the minimum functionality required from a status bar service.
Public interfaceIStringTagProvider Provides string values for replacement tags.
Public interfaceITextOutputService Provides methods for writing text output for the user, such as operation results, warnings, and error messages.
Public interfaceITimerQueue Interface for a timer queue. Users of this queue can add items, update the due time of already enqueued items, or remove items. The actions that are triggered when the due time is reached are run asynchronously in a thread pool task.
Public interfaceReflectionServiceIAttributeForClassList Represents a list of attributes associated with their target classes.
Public interfaceReflectionServiceIAttributeForClassListCollection This interface is merely for filtering the argument of different functions.
Delegates
 DelegateDescription
Public delegateFileOperationDelegate Represents a file operation without parameters.
Public delegateGuiTimerServiceHandler Delegate for the IGuiTimerService. Note that the argument is the UTC time. If you need local time, you have to convert the argument to local time.
Public delegateNamedFileOperationDelegate Represents a file operation that takes a FileName.
Public delegateNamedFileOrFolderOperationDelegate Represents a file or folder operation that takes a PathName.
Public delegateRestoreProjectAndWindowsState Delegate that should load the project from the given archive, and then restore the state of the Gui.
Public delegateSaveProjectAndWindowsStateDelegate Delegate that saves the current project and window state into an archive.
Public delegateZipFileProjectArchiveManagerBaseProjectArchiveCreationFunction Function delegate to create a new project archive.
Enumerations
 EnumerationDescription
Public enumerationFileErrorPolicy Defines how file-operation errors should be reported to the user.
Public enumerationFileOperationResult Represents the result of an observed file operation.
Public enumerationMessageLevel Defines the severity of a message.
Public enumerationRuntimePropertyKind Designates the location at where to look for property values.