Click or drag to resize

UserDefinedUnitEnvironmentsService Class

Service that manages a single instance of UserDefinedUnitEnvironments. During creation, it reads the user defined unit environments from the property service. During disposal, it writes the environments back to the property service.
Inheritance Hierarchy
SystemObject
  Altaxo.Gui.UnitsUserDefinedUnitEnvironmentsService

Namespace: Altaxo.Gui.Units
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class UserDefinedUnitEnvironmentsService : IDisposable

The UserDefinedUnitEnvironmentsService type exposes the following members.

Constructors
 NameDescription
Public methodUserDefinedUnitEnvironmentsService Initializes a new instance of the UserDefinedUnitEnvironmentsService class. Reads the environments from the property service.
Top
Properties
 NameDescription
Public propertyEnvironments Gets the user defined unit environments.
Top
Methods
 NameDescription
Public methodDispose A call to Dispose signals that this service is about to shutdown. Thus we store all unit environments in the property service
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetUserDefinedUnitEnvironment 
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also