C# Class Sage.ResourceManagement.InternationalizationSummary

Provides summary information about globalizing an XML resource.
The summary contains information about the files that the resource consists of (via XInclude), the phrases that the resource uses and the phrase sources.
Datei anzeigen Open project: igorfrance/sage Class Usage Examples

Private Properties

Property Type Description
AddDependencies void
AddPhraseSummary void
InternationalizationSummary System
Save void
ToXml System.Xml.XmlElement

Public Methods

Method Description
GetConstituentFiles ( string locale ) : IEnumerable

Gets the constituent files.

Private Methods

Method Description
AddDependencies ( string locale, IEnumerable dependencies ) : void
AddPhraseSummary ( string locale, XmlDocument summary ) : void

Adds a phrase summary for the specified locale.

InternationalizationSummary ( XmlResource resource, CategoryInfo categoryInfo ) : System

Initializes a new instance of the InternationalizationSummary class, using the specified file path and category info.

Save ( ) : void

Saves the summary as a new XmlDocument to the same location in which the resource got globalized.

ToXml ( XmlDocument owner ) : XmlElement

Generates an XmlElement that contains the information from this object.

Method Details

GetConstituentFiles() public method

Gets the constituent files.
public GetConstituentFiles ( string locale ) : IEnumerable
locale string The locale.
return IEnumerable