Skip to content

Commit

Permalink
Get label files for settings
Browse files Browse the repository at this point in the history
  • Loading branch information
shashisadasivan committed Aug 29, 2019
1 parent ce96709 commit a7241c0
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
Binary file modified OutputDlls/SSD365VSAddIn.dll
Binary file not shown.
Binary file modified SSD365VSAddIn/.vs/SSD365VSAddIn/v14/.suo
Binary file not shown.
14 changes: 14 additions & 0 deletions SSD365VSAddIn/SSD365VSAddIn/Labels/LabelHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ public static void GetLabelLanguages(string labelFileId)

}

public IList<AxLabelFile> GetLabelFilesSettings()
{
List<AxLabelFile> labelFilesToUpdate = new List<AxLabelFile>();

Settings.FetchSettings.FindOrCreateSettings().LabelsToUpdate.ForEach(
labelFileName =>
{
var axLabelFile = Common.CommonUtil.GetModelSaveService().GetLabelFile(labelFileName);
labelFilesToUpdate.Add(axLabelFile);
});

return labelFilesToUpdate;
}

/// <summary>
/// Gets a list of labels in the current model (without the language)
/// </summary>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified SSD365VSAddIn/SSD365VSAddIn/obj/Debug/SSD365VSAddIn.dll
Binary file not shown.
Binary file modified SSD365VSAddIn/SSD365VSAddIn/obj/Debug/SSD365VSAddIn.pdb
Binary file not shown.

0 comments on commit a7241c0

Please sign in to comment.