mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-24 22:06:59 +01:00
af832f23cf
* DataSet field Uuid is not really a uuid. Renamed to Id to avoid misunderstandings. * Renamed properties DataSet.Type and DataSourceItem.DataType to Category. The old name was not reflecting what they were. * Renamed property DataSet.TypeString to DataSet.DataSourceName so it reflects better what it is. * Renamed property DataSet.Name to DataSet.FriendlyName for clarity. Removed duplicate string.Format() call. * The DataSourceItem.Uuid is not really a uuid. Renamed it to Id to avoid misunderstandings. Also, compacted DataSourceItem constructors. * Removed unused and duplicate properties. - DataKey.Hide was unused. Once removed, DataSet.Deselected was unused, hence was also removed. - Dataset.Draw was duplicating DataSet.Show, hence was removed. - DataSet.NeverShow is not necessary, DataSet.Hide can be used both for datasources that should not be shown at all as well as datasources that are wrong for this object. * Made DataSet.FriendlyName a get-only property and compacted repetitive code. * Use the Helpers regular expressions for assigning the datasource category. * Removed id from the DataSet constructor parameters. It can be constructed from the XenObject and the datasource name. * Compacted the code for readability (it was difficult to follow the build of the URIs). Also, removed use of Helper.GetUuid to avoid the use of reflection. Minimised casts. * CP-36567: Use the datasource units as specified in the API instead of deducing them from the datasource name. - Also, merged static method DataSet.Create into the DataSet constructor. - Minor restructuring of the ArchiveMaintainer file (moved all private fields and properties closer together). - Added new resource file so the units can be separated from Messages. |
||
---|---|---|
.. | ||
Actions | ||
Alerts | ||
CustomFields | ||
Mappings | ||
Network | ||
Properties | ||
ServerDBs | ||
StorageLinkAPI | ||
Utils | ||
WLB | ||
XCM | ||
XenAPI | ||
XenAPI-Extensions | ||
XenSearch | ||
XenServerProxy | ||
BrandManager.cs | ||
DockerContainer.cs | ||
DockerContainers.cs | ||
Folder.cs | ||
Folders.cs | ||
FriendlyNameManager.cs | ||
FriendlyNames.Designer.cs | ||
FriendlyNames.ja.resx | ||
FriendlyNames.resx | ||
FriendlyNames.zh-CN.resx | ||
HealthCheckSettings.cs | ||
I18NException.cs | ||
Icons.cs | ||
InvisibleMessages.Designer.cs | ||
InvisibleMessages.ja.resx | ||
InvisibleMessages.resx | ||
InvisibleMessages.zh-CN.resx | ||
InvokeHelper.cs | ||
Messages.Designer.cs | ||
Messages.ja.resx | ||
Messages.resx | ||
Messages.zh-CN.resx | ||
ObjectChange.cs | ||
OtherConfigWatcher.cs | ||
PoolJoinRules.cs | ||
RbacMethod.cs | ||
Tags.cs | ||
UnitStrings.Designer.cs | ||
UnitStrings.ja.resx | ||
UnitStrings.resx | ||
UnitStrings.zh-CN.resx | ||
XenAdminConfigManager.cs | ||
XenModel.csproj | ||
XenObjectDownloader.cs | ||
XenServerPlugins.cs |