Click or drag to resize
FileBasedLanguageResourcesTemplate Class
A language resources template implementation (ILanguageResourcesTemplate) that can be loaded from and saved to a file.
Inheritance Hierarchy
SystemObject
  Sdl.LanguagePlatform.TranslationMemoryApiFileBasedLanguageResourcesTemplate

Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
Syntax
public class FileBasedLanguageResourcesTemplate : ILanguageResourcesTemplate

The FileBasedLanguageResourcesTemplate type exposes the following members.

Constructors
  NameDescription
Public methodFileBasedLanguageResourcesTemplate
Creates a new file-based language resources template.
Public methodFileBasedLanguageResourcesTemplate(Guid)
Creates a new file-based language resources template with the provided ID. This is useful during copying.
Public methodFileBasedLanguageResourcesTemplate(String)
Loads a file-based language resources template from the specified file.
Top
Properties
  NameDescription
Public propertyDescription
Gets or sets the description of this template.
Public propertyFilePath
Gets the location where this language resources template is located.
Public propertyId
gets the unique id of this template.
Public propertyLanguageResourceBundles
Gets the collection of language resource bundles in this template.
Public propertyName
Gets or sets the name of this template. Not that this is not necessarily the same as the file name.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRefresh
Reloads the template from the file.
Public methodSave
Saves the template to the location specified in FilePath. If this is the first time the template is saved, use SaveAs(String) instead.
Public methodSave(Stream)
Saves this template to the specified stream.
Public methodSaveAs
Saves the template to the specified location. This also updates the current FilePath. Subsequent calls to Save will save the template to this new location.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments