Click or drag to resize

ResourceServiceImpl Class

Contains resource managers for application strings and images and handles localization.
Inheritance Hierarchy
SystemObject
  Altaxo.Main.ServicesResourceServiceImpl

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class ResourceServiceImpl : IResourceService

The ResourceServiceImpl type exposes the following members.

Constructors
 NameDescription
Public methodResourceServiceImpl Initializes a new instance of the ResourceServiceImpl class.
Top
Properties
 NameDescription
Public propertyLanguage Gets or sets the current UI language.
Top
Methods
 NameDescription
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 methodGetBitmap Returns a bitmap from the resource database, it handles localization transparent for the user.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetImageResource Gets an image resource.
Public methodGetResourceStream Gets a resource as a stream. The retrieve resource stream is not cached.
Public methodGetString Returns a string from the resource database, it handles localization transparent for the user.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRegisterAssemblyResources Registers all supported embedded resources found in the specified assembly.
Public methodCode exampleRegisterImages Registers image resources in the resource service.
Public methodRegisterNeutralImages(ResourceManager, String) Registers neutral image resources.
Public methodRegisterNeutralImages(String, ResourceManager, String) Registers neutral image resources with an explicit base resource name.
Public methodRegisterNeutralStrings(ResourceManager, String) Registers neutral string resources.
Public methodRegisterNeutralStrings(String, ResourceManager, String) Registers neutral string resources with an explicit key prefix.
Public methodCode exampleRegisterStrings Registers string resources in the resource service.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventLanguageChanged Occurs when the current UI language changes.
Top
See Also