├── .editorconfig ├── .gitattributes ├── .gitignore ├── Key.snk ├── LicenseHeaderManager.2019 ├── LicenseHeaderManager.2019.csproj ├── LicenseHeaders.vsct ├── Properties │ └── AssemblyInfo.cs ├── app.config └── source.extension.vsixmanifest ├── LicenseHeaderManager.Console ├── App.config ├── ConsoleProgress.cs ├── LicenseHeaderManager.Console.csproj ├── Options.cs ├── Program.cs ├── Properties │ └── AssemblyInfo.cs ├── UpdateMode.cs └── UpdateTarget.cs ├── LicenseHeaderManager.Core.Tests ├── AdditionalPropertyTest.cs ├── CommentParserTest.cs ├── CoreOptionsTest.cs ├── DocumentHeaderPropertiesTest.cs ├── DocumentHeaderPropertyTest.cs ├── DocumentHeaderTest.cs ├── DocumentTest.cs ├── JsonOptionsManagerTest.cs ├── LanguageTest.cs ├── LicenseHeaderContentInputTest.cs ├── LicenseHeaderExtractorTest.cs ├── LicenseHeaderInputBaseTest.cs ├── LicenseHeaderManager.Core.Tests.csproj ├── LicenseHeaderPathInputTest.cs ├── LicenseHeaderPreparerTest.cs ├── LicenseHeaderReplacerTest.cs ├── LineManagerTest.cs ├── NotSupportedOptions.cs ├── PathUtilityTest.cs ├── Properties │ └── AssemblyInfo.cs ├── ReplacerErrorTest.cs ├── ReplacerProgressContentReportTest.cs ├── ReplacerResultTest.cs ├── ReplacerSuccessTest.cs ├── StringArrayExtensions.cs ├── StringExtensionsTest.cs ├── UserInfoTest.cs └── app.config ├── LicenseHeaderManager.Core ├── AdditionalProperty.cs ├── AssemblyInfo.cs ├── CommentParser.cs ├── CreateDocumentResult.cs ├── Document.cs ├── DocumentHeader.cs ├── DocumentHeaderProperties.cs ├── DocumentHeaderProperty.cs ├── ICommentParser.cs ├── IDocumentHeader.cs ├── ILicenseHeaderExtractor.cs ├── ILicenseHeaderReplacer.cs ├── Language.cs ├── LicenseHeaderContentInput.cs ├── LicenseHeaderExtractor.cs ├── LicenseHeaderInput.cs ├── LicenseHeaderInputMode.cs ├── LicenseHeaderManager.Core.csproj ├── LicenseHeaderPathInput.cs ├── LicenseHeaderPreparer.cs ├── LicenseHeaderReplacer.cs ├── LineEndInformation.cs ├── NewLineConst.cs ├── NewLineManager.cs ├── Options │ ├── CoreOptions.cs │ ├── CoreOptionsRepository.cs │ ├── JsonOptionsManager.cs │ └── LicenseHeaderManagerOptionsAttribute.cs ├── ParseException.cs ├── PathUtility.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── ReplacerError.cs ├── ReplacerErrorType.cs ├── ReplacerProgressContentReport.cs ├── ReplacerProgressReport.cs ├── ReplacerResult.cs ├── ReplacerSuccess.cs ├── StringExtensions.cs ├── UserInfo.cs └── app.config ├── LicenseHeaderManager.Shared ├── GlobalSuppressions.cs ├── Headers │ ├── LicenseHeaderDefinitionFileHelper.cs │ ├── LicenseHeaderFinder.cs │ └── NewLineConst.cs ├── Interfaces │ ├── ILicenseHeaderExtension.cs │ ├── ILinkedFileFilter.cs │ └── IMenuItemButtonHandler.cs ├── LicenseHeaderManager.Shared.projitems ├── LicenseHeaderManager.Shared.shproj ├── LicenseHeadersPackage.cs ├── MenuItemButtonHandler │ ├── FolderProjectMenuItemButtonHandler.cs │ ├── Implementations │ │ ├── AddLicenseHeaderToAllFilesInFolderProjectImplementation.cs │ │ ├── AddLicenseHeaderToAllFilesInSolutionImplementation.cs │ │ ├── RemoveLicenseHeaderFromAllFilesInSolutionImplementation.cs │ │ └── RemoveLicenseHeaderToAllFilesInFolderProjectImplementation.cs │ ├── MenuItemButtonHandlerFactory.cs │ ├── MenuItemButtonHandlerImplementation.cs │ ├── MenuItemButtonLevel.cs │ ├── MenuItemButtonOperation.cs │ └── SolutionMenuItemButtonHandler.cs ├── MenuItemCommands │ ├── Common │ │ ├── AddLicenseHeaderToAllFilesInProjectHelper.cs │ │ ├── ExistingLicenseHeaderDefinitionFileAdder.cs │ │ ├── FolderProjectMenuHelper.cs │ │ └── RemoveLicenseHeaderFromAllFilesInProjectHelper.cs │ ├── EditorMenu │ │ ├── AddLicenseHeaderEditorAdvancedMenuCommand.cs │ │ └── RemoveLicenseHeaderEditorAdvancedMenuCommand.cs │ ├── FolderMenu │ │ ├── AddExistingLicenseHeaderDefinitionFileToFolderCommand.cs │ │ ├── AddLicenseHeaderToAllFilesInFolderCommand.cs │ │ ├── AddNewLicenseHeaderDefinitionFileToFolderCommand.cs │ │ └── RemoveLicenseHeaderFromAllFilesInFolderCommand.cs │ ├── ProjectItemMenu │ │ ├── AddHeaderToProjectItemCommand.cs │ │ └── RemoveHeaderFromProjectItemCommand.cs │ ├── ProjectMenu │ │ ├── AddExistingLicenseHeaderDefinitionFileToProjectCommand.cs │ │ ├── AddLicenseHeaderToAllFilesInProjectCommand.cs │ │ ├── AddNewLicenseHeaderDefinitionFileToProjectCommand.cs │ │ ├── LicenseHeaderOptionsCommand.cs │ │ └── RemoveLicenseHeaderFromAllFilesInProjectCommand.cs │ └── SolutionMenu │ │ ├── AddLicenseHeaderToAllFilesInSolutionCommand.cs │ │ ├── AddNewSolutionLicenseHeaderDefinitionFileCommand.cs │ │ ├── OpenSolutionLicenseHeaderDefinitionFileCommand.cs │ │ ├── RemoveLicenseHeaderFromAllFilesInSolutionCommand.cs │ │ └── RemoveSolutionLicenseHeaderDefinitionFileCommand.cs ├── Options │ ├── Converters │ │ ├── ExtensionConverter.cs │ │ ├── LanguageConverter.cs │ │ ├── LinkedCommandConverter.cs │ │ └── XmlTypeConverter.cs │ ├── DialogPageControls │ │ ├── WpfCommandDialog.xaml │ │ ├── WpfCommandDialog.xaml.cs │ │ ├── WpfDefaultLicenseHeader.xaml │ │ ├── WpfDefaultLicenseHeader.xaml.cs │ │ ├── WpfEditDefaultLicenseHeaderDialog.xaml │ │ ├── WpfEditDefaultLicenseHeaderDialog.xaml.cs │ │ ├── WpfLanguageDialog.xaml │ │ ├── WpfLanguageDialog.xaml.cs │ │ ├── WpfLanguages.xaml │ │ ├── WpfLanguages.xaml.cs │ │ ├── WpfOptions.xaml │ │ └── WpfOptions.xaml.cs │ ├── DialogPages │ │ ├── BaseOptionPage.cs │ │ ├── DefaultLicenseHeaderPage.cs │ │ ├── LanguagesPage.cs │ │ ├── OptionsPage.cs │ │ └── OptionsStoreMode.cs │ ├── LinkedCommand.cs │ ├── Model │ │ ├── BaseOptionPageModel.cs │ │ ├── DefaultLicenseHeaderPageModel.cs │ │ ├── GeneralOptionsPageModel.cs │ │ ├── IDefaultLicenseHeaderPageModel.cs │ │ ├── IGeneralOptionsPageModel.cs │ │ ├── ILanguagesPageModel.cs │ │ └── LanguagesPageModel.cs │ ├── OptionsFacade.cs │ ├── UpdateStep.cs │ ├── VisualStudioOptions.cs │ ├── WpfHost.Designer.cs │ ├── WpfHost.cs │ └── WpfHost.resx ├── Resources.Designer.cs ├── Resources.resx ├── Resources │ └── Package.ico ├── ResultObjects │ └── AddLicenseHeaderToAllFilesResult.cs ├── UpdateViewModels │ ├── BaseUpdateViewModel.cs │ ├── FolderProjectUpdateViewModel.cs │ ├── RelayCommand.cs │ └── SolutionUpdateViewModel.cs ├── UpdateViews │ ├── FolderProjectUpdateDialog.xaml │ ├── FolderProjectUpdateDialog.xaml.cs │ ├── IntToMaximumConverter.cs │ ├── SolutionUpdateDialog.xaml │ └── SolutionUpdateDialog.xaml.cs ├── Utils │ ├── AllSolutionProjectsSearcher.cs │ ├── CommandUtility.cs │ ├── CoreHelpers.cs │ ├── Extensions.cs │ ├── LinkedFileFilter.cs │ ├── LinkedFileHandler.cs │ ├── MessageBoxHelper.cs │ ├── OutputPaneAppender.cs │ ├── ProjectItemInspection.cs │ ├── ProjectItemParentFinder.cs │ └── ReplacerProgress.cs └── VSPackage.resx ├── LicenseHeaderManager.Tests ├── AllSolutionProjectsSearcherTest.cs ├── GeneralOptionsPageModelTest.cs ├── LicenseHeaderManager.Tests.csproj ├── LinkedFileFilterTest.cs ├── LinkedFileHandlerTest.cs ├── ProjectItemInspectionTest.cs ├── Properties │ └── AssemblyInfo.cs └── VisualStudioTestContext.cs ├── LicenseHeaderManager.sln ├── LicenseHeaderManager.sln.licenseheader ├── LicenseHeaderManager ├── LicenseHeaderManager.csproj ├── LicenseHeaders.vsct ├── Properties │ └── AssemblyInfo.cs ├── app.config ├── license.txt └── source.extension.vsixmanifest ├── README.md ├── SharedResources ├── Images.bmp └── Images.pdn ├── SharedVsixInformation ├── Icon.png └── Preview.png ├── TestPlan.md ├── TestSolution └── LHM-CsProjTest │ ├── .editorconfig │ ├── .vs │ └── config │ │ └── applicationhost.config │ ├── App1 │ ├── App.xaml │ ├── App.xaml.cs │ ├── App1.csproj │ ├── App1.licenseheader │ ├── Assets │ │ ├── Logo.scale-240.png │ │ ├── SmallLogo.scale-240.png │ │ ├── SplashScreen.scale-240.png │ │ ├── Square71x71Logo.scale-240.png │ │ ├── StoreLogo.scale-240.png │ │ └── WideLogo.scale-240.png │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── NewFolder1 │ │ ├── Class1.cs │ │ └── NewFolder1 │ │ │ └── Class1.cs │ ├── Package.appxmanifest │ └── Properties │ │ └── AssemblyInfo.cs │ ├── App2 │ ├── App2.Shared │ │ ├── App.xaml │ │ ├── App.xaml.cpp │ │ ├── App.xaml.h │ │ ├── App2.Shared.licenseheader │ │ ├── App2.Shared.vcxitems │ │ ├── App2.Shared.vcxitems.filters │ │ ├── pch.cpp │ │ └── pch.h │ ├── App2.Windows │ │ ├── App2.Windows.vcxproj │ │ ├── App2.Windows.vcxproj.filters │ │ ├── Assets │ │ │ ├── Logo.scale-100.png │ │ │ ├── SmallLogo.scale-100.png │ │ │ ├── SplashScreen.scale-100.png │ │ │ └── StoreLogo.scale-100.png │ │ ├── Generated Files │ │ │ ├── App.g.h │ │ │ ├── App.g.hpp │ │ │ ├── App.xaml │ │ │ ├── App.xbf │ │ │ ├── MainPage.g.h │ │ │ ├── MainPage.g.hpp │ │ │ ├── MainPage.xaml │ │ │ ├── MainPage.xbf │ │ │ ├── XamlLibMetadataProvider.g.cpp │ │ │ ├── XamlTypeInfo.Impl.g.cpp │ │ │ ├── XamlTypeInfo.g.cpp │ │ │ └── XamlTypeInfo.g.h │ │ ├── MainPage.xaml │ │ ├── MainPage.xaml.cpp │ │ ├── MainPage.xaml.h │ │ └── Package.appxmanifest │ └── App2.WindowsPhone │ │ ├── App2.WindowsPhone.licenseheader │ │ ├── App2.WindowsPhone.vcxproj │ │ ├── App2.WindowsPhone.vcxproj.filters │ │ ├── Assets │ │ ├── Logo.scale-240.png │ │ ├── SmallLogo.scale-240.png │ │ ├── SplashScreen.scale-240.png │ │ ├── Square71x71Logo.scale-240.png │ │ ├── StoreLogo.scale-240.png │ │ └── WideLogo.scale-240.png │ │ ├── Generated Files │ │ ├── App.g.h │ │ ├── App.g.hpp │ │ ├── App.xaml │ │ ├── App.xbf │ │ ├── MainPage.g.h │ │ ├── MainPage.g.hpp │ │ ├── MainPage.xaml │ │ ├── MainPage.xbf │ │ ├── XamlLibMetadataProvider.g.cpp │ │ ├── XamlTypeInfo.Impl.g.cpp │ │ ├── XamlTypeInfo.g.cpp │ │ └── XamlTypeInfo.g.h │ │ ├── MainPage.xaml │ │ ├── MainPage.xaml.cpp │ │ ├── MainPage.xaml.h │ │ └── Package.appxmanifest │ ├── BlankSharedApp1 │ ├── BlankSharedApp1.Shared │ │ ├── BlankSharedApp1.Shared.projitems │ │ ├── BlankSharedApp1.Shared.shproj │ │ ├── TypeScriptHTMLApp1.licenseheader │ │ └── js │ │ │ └── default.js │ ├── BlankSharedApp1.Windows │ │ ├── BlankSharedApp1.Windows.jsproj │ │ ├── css │ │ │ └── default.css │ │ ├── default.html │ │ ├── images │ │ │ ├── logo.png │ │ │ ├── smalllogo.png │ │ │ ├── splashscreen.png │ │ │ └── storelogo.png │ │ └── package.appxmanifest │ └── BlankSharedApp1.WindowsPhone │ │ ├── BlankSharedApp1.WindowsPhone.jsproj │ │ ├── css │ │ ├── NewFolder │ │ │ └── file.ts │ │ ├── TypeScriptHTMLApp1.licenseheader │ │ ├── default.css │ │ ├── ui-themed.css │ │ ├── ui-themed.theme-dark.css │ │ └── ui-themed.theme-light.css │ │ ├── default.html │ │ ├── images │ │ ├── SplashScreen.scale-240.png │ │ ├── Square150x150Logo.scale-240.png │ │ ├── Square44x44Logo.scale-240.png │ │ ├── Square71x71Logo.scale-240.png │ │ ├── StoreLogo.scale-240.png │ │ └── Wide310x150Logo.scale-240.png │ │ └── package.appxmanifest │ ├── ConsoleApplication1 │ ├── App.config │ ├── ConsoleApplication1.fsproj │ ├── ConsoleApplication1.licenseheader │ ├── Program.fs │ └── newfolder1 │ │ ├── File1.fs │ │ ├── NewFolder2 │ │ └── File2.fs │ │ └── TypeScriptHTMLApp1.licenseheader │ ├── LHM-CsProjTest.VC.db │ ├── LHM-CsProjTest.sln │ ├── LHM-CsProjTest │ ├── App.config │ ├── LHM-CsProjTest.csproj │ ├── LHM-CsProjTest.licenseheader │ ├── NewFolder1 │ │ ├── Class1.cs │ │ └── NewFolder1 │ │ │ └── Class1.cs │ ├── Program.cs │ └── Properties │ │ └── AssemblyInfo.cs │ ├── OfficeApp1 │ ├── OfficeApp1.csproj │ ├── OfficeApp1.licenseheader │ └── OfficeApp1Manifest │ │ ├── OfficeApp1.xml │ │ └── SharePointProjectItem.spdata │ ├── OfficeApp1Web │ ├── App │ │ ├── App.css │ │ ├── App.js │ │ └── Home │ │ │ ├── Home.css │ │ │ ├── Home.html │ │ │ └── Home.js │ ├── Content │ │ ├── Office.css │ │ └── OfficeThemes.css │ ├── Images │ │ └── Close.png │ ├── NewFolder1 │ │ ├── NewFolder1 │ │ │ └── HtmlPage1.html │ │ └── StyleSheet1.css │ ├── OfficeApp1Web.csproj │ ├── OfficeApp1Web.licenseheader │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Scripts │ │ ├── Office │ │ │ ├── 1.1 │ │ │ │ ├── access-web-16.00.debug.js │ │ │ │ ├── access-web-16.00.js │ │ │ │ ├── ar-sa │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── bg-bg │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── ca-es │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── cs-cz │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── da-dk │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── de-de │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── el-gr │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── en-us │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── es-es │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── et-ee │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── eu-es │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── excel-15.01.debug.js │ │ │ │ ├── excel-15.01.js │ │ │ │ ├── excel-15.debug.js │ │ │ │ ├── excel-15.js │ │ │ │ ├── excel-ios-16.00.debug.js │ │ │ │ ├── excel-ios-16.00.js │ │ │ │ ├── excel-web-16.00.debug.js │ │ │ │ ├── excel-web-16.00.js │ │ │ │ ├── excel-win32-16.00.debug.js │ │ │ │ ├── excel-win32-16.00.js │ │ │ │ ├── excelios-15.debug.js │ │ │ │ ├── excelios-15.js │ │ │ │ ├── excelwebapp-15.01.debug.js │ │ │ │ ├── excelwebapp-15.01.js │ │ │ │ ├── excelwebapp-15.debug.js │ │ │ │ ├── excelwebapp-15.js │ │ │ │ ├── fi-fi │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── fr-fr │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── gl-es │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── he-il │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── hi-in │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── hr-hr │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── hu-hu │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── id-id │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── it-it │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── ja-jp │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── kk-kz │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── ko-kr │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── lt-lt │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── lv-lv │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── ms-my │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── nb-no │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── nl-nl │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── o15apptofilemappingtable.debug.js │ │ │ │ ├── o15apptofilemappingtable.js │ │ │ │ ├── office-vsdoc.js │ │ │ │ ├── office.debug.js │ │ │ │ ├── office.js │ │ │ │ ├── outlook-15.01.debug.js │ │ │ │ ├── outlook-15.01.js │ │ │ │ ├── outlook-15.02.debug.js │ │ │ │ ├── outlook-15.02.js │ │ │ │ ├── outlook-15.debug.js │ │ │ │ ├── outlook-15.js │ │ │ │ ├── outlook-web-16.00.debug.js │ │ │ │ ├── outlook-web-16.00.js │ │ │ │ ├── outlook-win32-16.00.debug.js │ │ │ │ ├── outlook-win32-16.00.js │ │ │ │ ├── outlook-win32.debug-vsdoc.js │ │ │ │ ├── outlookwebapp-15.01.debug.js │ │ │ │ ├── outlookwebapp-15.01.js │ │ │ │ ├── outlookwebapp-15.debug.js │ │ │ │ ├── outlookwebapp-15.js │ │ │ │ ├── pl-pl │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── powerpoint-15.01.debug.js │ │ │ │ ├── powerpoint-15.01.js │ │ │ │ ├── powerpoint-15.debug.js │ │ │ │ ├── powerpoint-15.js │ │ │ │ ├── powerpoint-ios-16.00.debug.js │ │ │ │ ├── powerpoint-ios-16.00.js │ │ │ │ ├── powerpoint-web-16.00.debug.js │ │ │ │ ├── powerpoint-web-16.00.js │ │ │ │ ├── powerpoint-win32-16.00.debug.js │ │ │ │ ├── powerpoint-win32-16.00.js │ │ │ │ ├── powerpointios-15.debug.js │ │ │ │ ├── powerpointios-15.js │ │ │ │ ├── project-15.01.debug.js │ │ │ │ ├── project-15.01.js │ │ │ │ ├── project-15.debug.js │ │ │ │ ├── project-15.js │ │ │ │ ├── project-win32-16.00.debug.js │ │ │ │ ├── project-win32-16.00.js │ │ │ │ ├── pt-br │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── pt-pt │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── ro-ro │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── ru-ru │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── sk-sk │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── sl-si │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── sr-cyrl-cs │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── sr-cyrl-rs │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── sr-latn-cs │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── sr-latn-rs │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── sv-se │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── th-th │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── tr-tr │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── uk-ua │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── vi-vn │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ ├── word-15.01.debug.js │ │ │ │ ├── word-15.01.js │ │ │ │ ├── word-15.debug.js │ │ │ │ ├── word-15.js │ │ │ │ ├── word-ios-16.00.debug.js │ │ │ │ ├── word-ios-16.00.js │ │ │ │ ├── word-web-16.00.debug.js │ │ │ │ ├── word-web-16.00.js │ │ │ │ ├── word-win32-16.00.debug.js │ │ │ │ ├── word-win32-16.00.js │ │ │ │ ├── wordios-15.debug.js │ │ │ │ ├── wordios-15.js │ │ │ │ ├── zh-cn │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ │ └── zh-tw │ │ │ │ │ ├── office_strings.debug.js │ │ │ │ │ ├── office_strings.js │ │ │ │ │ ├── outlook_strings.debug.js │ │ │ │ │ └── outlook_strings.js │ │ │ ├── MicrosoftAjax.js │ │ │ └── metadata │ │ │ │ ├── endpoints.xml │ │ │ │ └── features.xml │ │ ├── _officeintellisense.js │ │ ├── _references.js │ │ ├── jquery-1.9.1.intellisense.js │ │ ├── jquery-1.9.1.js │ │ ├── jquery-1.9.1.min.js │ │ ├── jquery-1.9.1.min.js.map │ │ └── jquery-1.9.1.min.map │ ├── Web.Debug.config │ ├── Web.Release.config │ ├── Web.config │ └── packages.config │ ├── PHPWebProject1 │ ├── NewFolder1 │ │ ├── Class1.php │ │ └── NewFolder1 │ │ │ └── Class1.php │ ├── PHPWebProject1.phpproj │ └── index.php │ ├── PythonApplication1 │ ├── NewFolder1 │ │ └── class1.py │ ├── NewFolder2 │ │ └── PythonApplication1.py │ ├── NewFolder3 │ │ ├── NewFolder1 │ │ │ └── class1.py │ │ └── class1.py │ ├── PythonApplication1.py │ └── PythonApplication1.pyproj │ ├── PythonToolsLinks1 │ ├── PythonTools.html │ ├── PythonToolsLinks1.csproj │ └── vslogo.png │ ├── ReportsApplication1 │ ├── App.config │ ├── Form1.Designer.cs │ ├── Form1.cs │ ├── Program.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings │ ├── Report1.rdlc │ ├── ReportsApplication1.csproj │ └── ReportsApplication1.licenseheader │ ├── Settings.FSharpLint │ ├── SetupProject1 │ ├── Include1.wxi │ ├── NewFolder1 │ │ ├── File1.wxs │ │ ├── Include1.wxi │ │ ├── NewFolder1 │ │ │ └── Include1.wxi │ │ └── Strings1.wxl │ ├── Product.wxs │ ├── Script1.ps1 │ ├── Script2.ps1 │ ├── SetupProject1.licenseheader │ ├── SetupProject1.wixproj │ └── testFolder.licenseheader │ └── TypeScriptHTMLApp1 │ ├── TypeScriptHTMLApp1.csproj │ ├── TypeScriptHTMLApp1.licenseheader │ ├── app.css │ ├── app.js │ ├── app.js.map │ ├── app.ts │ ├── index.html │ ├── testFolder │ ├── NewFolder1 │ │ ├── file1.js │ │ ├── file1.js.map │ │ └── file1.ts │ ├── file1.js │ ├── file1.js.map │ ├── file1.ts │ └── testFolder.licenseheader │ ├── web.Debug.config │ ├── web.Release.config │ └── web.config ├── license └── MIT.txt ├── nuget.config └── teamcity.properties /.editorconfig: -------------------------------------------------------------------------------- 1 | [*.cs] 2 | indent_style = space 3 | indent_size = 2 4 | dotnet_style_qualification_for_field = false 5 | dotnet_style_qualification_for_property = false 6 | dotnet_style_qualification_for_method = false 7 | dotnet_style_qualification_for_event = false -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Set default behaviour, in case users don't have core.autocrlf set. 2 | * text=auto 3 | 4 | # DotSettings files have LFs, not CRLFs 5 | *.DotSettings text eol=lf 6 | 7 | #Github language statistic should ignore specific languages, so that the project is still defined as c# project 8 | special-vendored-path/* linguist-vendored 9 | *.js linguist-vendored=true 10 | *.cpp linguist-vendored=true 11 | *.h linguist-vendored=true -------------------------------------------------------------------------------- /Key.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/Key.snk -------------------------------------------------------------------------------- /LicenseHeaderManager.2019/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /LicenseHeaderManager.2019/source.extension.vsixmanifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | License Header Manager 8 | An extension for adding license headers to source code files. 9 | https://github.com/rubicon-oss/LicenseHeaderManager 10 | https://github.com/rubicon-oss/LicenseHeaderManager/wiki 11 | VsixInformation/Icon.png 12 | VsixInformation/Preview.png 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 28 | 29 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Console/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Console/ConsoleProgress.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | 16 | namespace LicenseHeaderManager.Console 17 | { 18 | /// 19 | /// This class ensures that the files are processed and printed in the correct order to the console. 20 | /// 21 | /// The type of progress information sent. 22 | public class ConsoleProgress : IProgress 23 | { 24 | private readonly Action _action; 25 | 26 | public ConsoleProgress (Action action) 27 | { 28 | _action = action ?? throw new ArgumentNullException (nameof(action)); 29 | } 30 | 31 | public void Report (T value) 32 | { 33 | _action (value); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Console/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Reflection; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle ("LicenseHeaderManager.Console")] 9 | [assembly: AssemblyDescription ("")] 10 | [assembly: AssemblyConfiguration ("")] 11 | [assembly: AssemblyCompany ("")] 12 | [assembly: AssemblyProduct ("LicenseHeaderManager.Console")] 13 | [assembly: AssemblyCopyright ("Copyright © 2021")] 14 | [assembly: AssemblyTrademark ("")] 15 | [assembly: AssemblyCulture ("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible (false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid ("912f8a5e-80bb-45cb-89f8-47d4b3c3a658")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion ("5.0.1.0")] 36 | [assembly: AssemblyFileVersion ("5.0.1.0")] 37 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Console/UpdateMode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace LicenseHeaderManager.Console 4 | { 5 | /// 6 | /// Specifies if the license headers should be inserted or removed from the files. 7 | /// 8 | public enum UpdateMode 9 | { 10 | Add = 0, 11 | Remove = 1 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Console/UpdateTarget.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace LicenseHeaderManager.Console 4 | { 5 | /// 6 | /// Specifies the target of the license header update operation. 7 | /// 8 | public enum UpdateTarget 9 | { 10 | Files = 0, 11 | Directory = 1 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core.Tests/AdditionalPropertyTest.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using NUnit.Framework; 16 | 17 | namespace LicenseHeaderManager.Core.Tests 18 | { 19 | [TestFixture] 20 | public class AdditionalPropertyTest 21 | { 22 | [Test] 23 | public void AdditionalProperty_ValidInput_ReturnsValidProperties () 24 | { 25 | const string token = "%TestToken%"; 26 | const string value = "Property value"; 27 | var property = new AdditionalProperty (token, value); 28 | 29 | var actualToken = property.Token; 30 | var actualValue = property.Value; 31 | 32 | Assert.That (actualToken, Is.EqualTo (token)); 33 | Assert.That (actualValue, Is.EqualTo (value)); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core.Tests/LicenseHeaderInputBaseTest.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using System.Collections.Generic; 16 | using System.IO; 17 | using System.Text; 18 | using NUnit.Framework; 19 | 20 | namespace LicenseHeaderManager.Core.Tests 21 | { 22 | [TestFixture] 23 | public abstract class LicenseHeaderInputBaseTest 24 | { 25 | protected List Paths; 26 | 27 | [SetUp] 28 | public void Setup () 29 | { 30 | Paths = new List(); 31 | } 32 | 33 | [TearDown] 34 | public void TearDown () 35 | { 36 | foreach (var path in Paths) 37 | File.Delete (path); 38 | } 39 | 40 | protected string CreateTestFile (string extension = null) 41 | { 42 | if (extension == null) 43 | extension = ".cs"; 44 | 45 | var testFile = Path.Combine (Path.GetTempPath(), Guid.NewGuid() + extension); 46 | Paths.Add (testFile); 47 | 48 | using (var fs = File.Create (testFile)) 49 | { 50 | var content = Encoding.UTF8.GetBytes (""); 51 | fs.Write (content, 0, content.Length); 52 | } 53 | 54 | return testFile; 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core.Tests/NotSupportedOptions.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using System.Collections.Generic; 16 | using LicenseHeaderManager.Core.Options; 17 | 18 | namespace LicenseHeaderManager.Core.Tests 19 | { 20 | /// 21 | /// This option class that is used for testing purposes is not supported because there is no built-in 22 | /// converter to (de-)serialize the Dictionary<int, string> type of the property NotSupportedMember. 23 | /// 24 | [LicenseHeaderManagerOptions] 25 | internal class NotSupportedOptions 26 | { 27 | public NotSupportedOptions () 28 | { 29 | NotSupportedMember = new Dictionary 30 | { 31 | { 1, "one" }, 32 | { 2, "two" } 33 | }; 34 | } 35 | 36 | public Dictionary NotSupportedMember { get; set; } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core.Tests/ReplacerErrorTest.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using NUnit.Framework; 16 | 17 | namespace LicenseHeaderManager.Core.Tests 18 | { 19 | [TestFixture] 20 | public class ReplacerErrorTest 21 | { 22 | [Test] 23 | public void ReplacerError_ValidInput_ReturnsValidProperties () 24 | { 25 | const string description = "error description"; 26 | var replacerError = new ReplacerError (null, ReplacerErrorType.Miscellaneous, description); 27 | 28 | var actualInput = replacerError.Input; 29 | var actualType = replacerError.Type; 30 | var actualDescription = replacerError.Description; 31 | 32 | Assert.That (actualInput, Is.Null); 33 | Assert.That (actualType, Is.EqualTo (ReplacerErrorType.Miscellaneous)); 34 | Assert.That (actualDescription, Is.EqualTo (description)); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core.Tests/ReplacerSuccessTest.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using NUnit.Framework; 16 | 17 | namespace LicenseHeaderManager.Core.Tests 18 | { 19 | [TestFixture] 20 | public class ReplacerSuccessTest 21 | { 22 | [Test] 23 | public void ReplacerSuccess_ValidInput_ReturnsValidProperties () 24 | { 25 | const string filePath = @"C:\"; 26 | const string newContent = "new content text"; 27 | var replacerSuccess = new ReplacerSuccess (filePath, newContent); 28 | 29 | var actualFilePath = replacerSuccess.FilePath; 30 | var actualNewContent = replacerSuccess.NewContent; 31 | 32 | Assert.That (actualFilePath, Is.EqualTo (filePath)); 33 | Assert.That (actualNewContent, Is.EqualTo (newContent)); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core.Tests/StringArrayExtensions.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | 16 | namespace LicenseHeaderManager.Core.Tests 17 | { 18 | public static class StringArrayExtensions 19 | { 20 | public static string JoinWithNewLine (this string[] array) 21 | { 22 | return string.Join (Environment.NewLine, array); 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core.Tests/UserInfoTest.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using NUnit.Framework; 16 | 17 | namespace LicenseHeaderManager.Core.Tests 18 | { 19 | [TestFixture] 20 | public class UserInfoTest 21 | { 22 | [Test] 23 | public void Name_ReturnsName () 24 | { 25 | var name = UserInfo.Name; 26 | Assert.That (name, Is.Not.Null.Or.Empty); 27 | } 28 | 29 | [Test] 30 | public void DisplayName_ReturnsDisplayName () 31 | { 32 | var name = UserInfo.DisplayName; 33 | Assert.That (name, Is.Not.Null.Or.Empty); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core.Tests/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using System.Runtime.CompilerServices; 16 | 17 | [assembly: 18 | InternalsVisibleTo ( 19 | "LicenseHeaderManager.Core.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100a518" 20 | + "63ec92c8300ac3838c02fc45700305e1d0c531fc50bb69386935bbe857706dfcaf2025f9b7d88fbf232e68308db5d131d0" 21 | + "4fed6d1b5f628d9f62bee787a4b59232a12f2d8a9524ca0b598203c75c3f3f348a5f9dc26516c8275de7b665126edb9cd8" 22 | + "627bac1f4ec69aa98f16912b8f604bd1bdf07edf008ce165436031b6")] 23 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core/ICommentParser.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | 16 | namespace LicenseHeaderManager.Core 17 | { 18 | public interface ICommentParser 19 | { 20 | /// 21 | /// Parses a given text according to a language-specific comment syntax. Given a text, it extracts the comments. 22 | /// 23 | /// The text to be parsed. 24 | /// Returns the comments contained in , according to the language-specific comment syntax. 25 | /// Thrown if parsing comments fails due to invalid syntax. 26 | /// 27 | /// The language-specific comment syntax may be configured using the constructor of an 28 | /// implementation. 29 | /// 30 | string Parse (string text); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core/IDocumentHeader.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using System.IO; 16 | 17 | namespace LicenseHeaderManager.Core 18 | { 19 | public interface IDocumentHeader 20 | { 21 | /// 22 | /// Gets a value denoting the header represented by this is non-existing, i. e. if the 23 | /// property is null. 24 | /// 25 | bool IsEmpty { get; } 26 | 27 | /// 28 | /// Gets the object associated with the file this refers to. 29 | /// 30 | FileInfo FileInfo { get; } 31 | 32 | /// 33 | /// Gets the effective text denoting the license header text represented by this instance, 34 | /// with expandable properties having been replaced. 35 | /// 36 | string Text { get; } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core/ILicenseHeaderExtractor.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using System.Collections.Generic; 16 | using System.IO; 17 | 18 | namespace LicenseHeaderManager.Core 19 | { 20 | /// 21 | /// Provides members to parse and extract information describing license headers from given license header definition files. 22 | /// 23 | public interface ILicenseHeaderExtractor 24 | { 25 | /// 26 | /// Extracts license header definitions from a license header definition file represented by its path. 27 | /// 28 | /// 29 | /// The path to the license header definition file whose header definitions should be 30 | /// extracted. 31 | /// 32 | /// If the file represented by does not exists. 33 | /// 34 | /// Returns a whose keys are extensions identifying a language and whose 35 | /// values represent the license header definition for the corresponding language. If the dictionary is , a 36 | /// respective file's header is to be removed. 37 | /// 38 | Dictionary ExtractHeaderDefinitions (string definitionFilePath); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core/LicenseHeaderInputMode.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | 16 | namespace LicenseHeaderManager.Core 17 | { 18 | /// 19 | /// Identifies different kinds of input supported by the . 20 | /// 21 | /// 22 | internal enum LicenseHeaderInputMode 23 | { 24 | /// 25 | /// License Headers are updated solely based on the input files' paths. Reading and writing files is done by the Core. 26 | /// 27 | FilePath = 0, 28 | 29 | /// 30 | /// License Headers are updated solely based on the input files' contents. Only the content itself, represented as 31 | /// , is manipulated. 32 | /// 33 | Content = 1 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core/LineEndInformation.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | 16 | namespace LicenseHeaderManager.Core 17 | { 18 | /// 19 | /// Class for summarizing the information about the line end, where is it (index) and what character is it (CR, LR, 20 | /// CR+LF). 21 | /// 22 | internal class LineEndInformation 23 | { 24 | /// 25 | /// Initializes a new instance. 26 | /// 27 | /// Index of occurrence. 28 | /// Line ending (CR, LR or CR+LF). 29 | public LineEndInformation (int index, string lineEnd) 30 | { 31 | Index = index; 32 | LineEnd = lineEnd; 33 | } 34 | 35 | /// 36 | /// Index of occurrence. 37 | /// 38 | public int Index { get; } 39 | 40 | /// 41 | /// Length of the line ending this was initialized with. 42 | /// 43 | public int LineEndLength => LineEnd.Length; 44 | 45 | /// 46 | /// Line ending (CR, LR or CR+LF). 47 | /// 48 | private string LineEnd { get; } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core/NewLineConst.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using System.Diagnostics.CodeAnalysis; 16 | 17 | namespace LicenseHeaderManager.Core 18 | { 19 | /// 20 | /// Contains new line constants. 21 | /// 22 | [SuppressMessage ("ReSharper", "InconsistentNaming", Justification = "For such special constants, different notations would be uncommon and maybe confusing")] 23 | internal static class NewLineConst 24 | { 25 | /// 26 | /// Carriage Return. 27 | /// 28 | public const string CR = "\r"; 29 | 30 | /// 31 | /// Line feed. 32 | /// 33 | public const string LF = "\n"; 34 | 35 | /// 36 | /// Carriage return, followed by line feed. 37 | /// 38 | public const string CRLF = "\r\n"; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core/Options/LicenseHeaderManagerOptionsAttribute.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | 16 | namespace LicenseHeaderManager.Core.Options 17 | { 18 | /// 19 | /// Represents an attribute discerning types eligible for serialization and deserialization via 20 | /// . 21 | /// 22 | /// 23 | [AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct)] 24 | public class LicenseHeaderManagerOptionsAttribute : Attribute 25 | { 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core/ParseException.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using LicenseHeaderManager.Core.Properties; 16 | 17 | namespace LicenseHeaderManager.Core 18 | { 19 | /// 20 | /// An used to denote errors while parsing comments. 21 | /// 22 | [Serializable] 23 | internal class ParseException : Exception 24 | { 25 | /// 26 | public ParseException () 27 | : base (string.Format (Resources.Error_InvalidLicenseHeader, string.Empty)) 28 | { 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core/ReplacerSuccess.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | 16 | namespace LicenseHeaderManager.Core 17 | { 18 | /// 19 | /// Represents information linked to a successful license header update operation when the 20 | /// was invoked with file contents. 21 | /// 22 | public class ReplacerSuccess 23 | { 24 | /// 25 | /// Initializes a new instance. 26 | /// 27 | /// The path of the file whose license headers have been successfully updated. 28 | /// The new content of the file whose license headers have been successfully updated. 29 | public ReplacerSuccess (string filePath, string newContent) 30 | { 31 | FilePath = filePath; 32 | NewContent = newContent; 33 | } 34 | 35 | /// 36 | /// The path of the file whose license headers have been successfully updated. 37 | /// 38 | public string FilePath { get; } 39 | 40 | /// 41 | /// The new content of the file whose license headers have been successfully updated. 42 | /// 43 | public string NewContent { get; } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Core/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/GlobalSuppressions.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using System.Diagnostics.CodeAnalysis; 16 | 17 | [assembly: SuppressMessage ("Microsoft.Design", "CA1017:MarkAssembliesWithComVisible")] -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/Headers/NewLineConst.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | 16 | namespace LicenseHeaderManager.Headers 17 | { 18 | /// 19 | /// Contains new line constants. 20 | /// 21 | public class NewLineConst 22 | { 23 | /// 24 | /// Carriage Return. 25 | /// 26 | public const string CR = "\r"; 27 | 28 | /// 29 | /// Line feed. 30 | /// 31 | public const string LF = "\n"; 32 | 33 | /// 34 | /// Carriage return, followed by line feed. 35 | /// 36 | public const string CRLF = "\r\n"; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/LicenseHeaderManager.Shared.shproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {4F20BA37-5942-466D-B51F-85105CB74277} 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/MenuItemButtonHandler/MenuItemButtonLevel.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | 16 | namespace LicenseHeaderManager.MenuItemButtonHandler 17 | { 18 | /// 19 | /// Provides different levels/scopes menu item buttons may reside in. 20 | /// 21 | public enum MenuItemButtonLevel 22 | { 23 | /// 24 | /// A menu item button that appears in the right click menu of a solution node. 25 | /// 26 | Solution, 27 | 28 | /// 29 | /// A menu item button that appears in the right click menu of a project node. 30 | /// 31 | Project, 32 | 33 | /// 34 | /// A menu item button that appears in the right click menu of a folder node. 35 | /// 36 | Folder 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/MenuItemButtonHandler/MenuItemButtonOperation.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | 16 | namespace LicenseHeaderManager.MenuItemButtonHandler 17 | { 18 | /// 19 | /// Specifies different types of operations the click of a menu item button may invoke 20 | /// 21 | public enum MenuItemButtonOperation 22 | { 23 | /// 24 | /// Inserts license headers into one or multiple files or replaces them. 25 | /// 26 | Add, 27 | 28 | /// 29 | /// Removes license headers from one or multiple files. 30 | /// 31 | Remove 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/Options/DialogPageControls/WpfDefaultLicenseHeader.xaml: -------------------------------------------------------------------------------- 1 | 14 | 22 | 23 | 24 | 25 | 26 | 28 | 30 | 31 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/Options/DialogPageControls/WpfDefaultLicenseHeader.xaml.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using System.Windows; 16 | using System.Windows.Controls; 17 | using LicenseHeaderManager.Options.Model; 18 | 19 | namespace LicenseHeaderManager.Options.DialogPageControls 20 | { 21 | /// 22 | /// Interaction logic for WpfDefaultLicenseHeader.xaml 23 | /// 24 | public partial class WpfDefaultLicenseHeader : UserControl 25 | { 26 | private readonly IDefaultLicenseHeaderPageModel _pageModel; 27 | 28 | public WpfDefaultLicenseHeader (IDefaultLicenseHeaderPageModel pageModel) 29 | : this() 30 | { 31 | _pageModel = pageModel; 32 | DataContext = _pageModel; 33 | } 34 | 35 | public WpfDefaultLicenseHeader () 36 | { 37 | InitializeComponent(); 38 | } 39 | 40 | private void EditButton_Click (object sender, RoutedEventArgs e) 41 | { 42 | var dialog = new WpfEditDefaultLicenseHeaderDialog (_pageModel); 43 | dialog.ShowDialog(); 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/Options/DialogPageControls/WpfEditDefaultLicenseHeaderDialog.xaml.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using System.Windows; 16 | using System.Windows.Controls; 17 | using LicenseHeaderManager.Options.Model; 18 | 19 | namespace LicenseHeaderManager.Options.DialogPageControls 20 | { 21 | /// 22 | /// Interaction logic for WpfDefaultLicenseHeaderDialog.xaml 23 | /// 24 | public partial class WpfEditDefaultLicenseHeaderDialog : Window 25 | { 26 | public WpfEditDefaultLicenseHeaderDialog (IDefaultLicenseHeaderPageModel pageModel) 27 | : this() 28 | { 29 | DataContext = pageModel; 30 | } 31 | 32 | public WpfEditDefaultLicenseHeaderDialog () 33 | { 34 | InitializeComponent(); 35 | } 36 | 37 | private void OKButtonClick (object sender, RoutedEventArgs e) 38 | { 39 | var bindingExpression = defaultText.GetBindingExpression (TextBox.TextProperty); 40 | bindingExpression?.UpdateSource(); 41 | DialogResult = true; 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/Options/DialogPageControls/WpfLanguageDialog.xaml.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using System.Windows; 16 | using LicenseHeaderManager.Core; 17 | using LicenseHeaderManager.Utils; 18 | 19 | namespace LicenseHeaderManager.Options.DialogPageControls 20 | { 21 | public partial class WpfLanguageDialog : Window 22 | { 23 | public WpfLanguageDialog () 24 | { 25 | InitializeComponent(); 26 | skipExpression.ToolTip = LicenseHeaderManager.Resources.SkipExpressionHelp.ReplaceNewLines(); 27 | } 28 | 29 | public new Language Language 30 | { 31 | get => DataContext as Language; 32 | set => DataContext = value; 33 | } 34 | 35 | private void OkButton_Click (object sender, RoutedEventArgs e) 36 | { 37 | if (Language == null) 38 | return; 39 | 40 | if (Language.IsValid()) 41 | { 42 | Language.NormalizeExtensions(); 43 | DialogResult = true; 44 | Close(); 45 | } 46 | else 47 | { 48 | MessageBoxHelper.ShowMessage (LicenseHeaderManager.Resources.Error_LanguageInvalid, LicenseHeaderManager.Resources.Error, true); 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/Options/DialogPages/OptionsStoreMode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace LicenseHeaderManager.Options.DialogPages 4 | { 5 | public enum OptionsStoreMode 6 | { 7 | RegistryStore_3_0_3, 8 | JsonStore 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/Options/Model/DefaultLicenseHeaderPageModel.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using LicenseHeaderManager.Core.Options; 16 | 17 | namespace LicenseHeaderManager.Options.Model 18 | { 19 | public class DefaultLicenseHeaderPageModel : BaseOptionModel, IDefaultLicenseHeaderPageModel 20 | { 21 | public string LicenseHeaderFileText { get; set; } 22 | 23 | public void Reset () 24 | { 25 | LicenseHeaderFileText = CoreOptions.DefaultLicenseHeaderFileText; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/Options/Model/IDefaultLicenseHeaderPageModel.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | 16 | namespace LicenseHeaderManager.Options.Model 17 | { 18 | /// 19 | /// Provides options for the options page regarding License Header File text. 20 | /// 21 | public interface IDefaultLicenseHeaderPageModel 22 | { 23 | /// 24 | /// Gets or sets the text for new license header definition files. 25 | /// 26 | string LicenseHeaderFileText { get; set; } 27 | 28 | /// 29 | /// Resets the options on this page to the default values. 30 | /// 31 | void Reset (); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/Options/Model/ILanguagesPageModel.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using System.Collections.ObjectModel; 16 | using LicenseHeaderManager.Core; 17 | 18 | namespace LicenseHeaderManager.Options.Model 19 | { 20 | /// 21 | /// Provides options for the options page regarding Languages. 22 | /// 23 | public interface ILanguagesPageModel 24 | { 25 | /// 26 | /// Gets or sets a list of objects that represents the 27 | /// languages for which the is configured to use. 28 | /// 29 | ObservableCollection Languages { get; set; } 30 | 31 | /// 32 | /// Resets the options on this page to the default values. 33 | /// 34 | void Reset (); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/Options/Model/LanguagesPageModel.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using System.Collections.ObjectModel; 16 | using LicenseHeaderManager.Core; 17 | using LicenseHeaderManager.Core.Options; 18 | 19 | namespace LicenseHeaderManager.Options.Model 20 | { 21 | public class LanguagesPageModel : BaseOptionModel, ILanguagesPageModel 22 | { 23 | public ObservableCollection Languages { get; set; } 24 | 25 | public void Reset () 26 | { 27 | Languages = CoreOptions.DefaultLanguages; 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/Resources/Package.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/LicenseHeaderManager.Shared/Resources/Package.ico -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/ResultObjects/AddLicenseHeaderToAllFilesResult.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using System.Collections.Generic; 16 | using EnvDTE; 17 | 18 | namespace LicenseHeaderManager.ResultObjects 19 | { 20 | /// 21 | /// Represents result information of a folder and project wide invocation of "AddLicenseHeadersToAllFiles". 22 | /// 23 | public class AddLicenseHeaderToAllFilesResult 24 | { 25 | /// 26 | /// 27 | /// 28 | /// 29 | /// 30 | public AddLicenseHeaderToAllFilesResult (int countSubLicenseHeadersFound, bool baseHeaderFound, List linkedItems) 31 | { 32 | CountSubLicenseHeadersFound = countSubLicenseHeadersFound; 33 | BaseHeaderFound = baseHeaderFound; 34 | LinkedItems = linkedItems; 35 | } 36 | 37 | public int CountSubLicenseHeadersFound { get; set; } 38 | 39 | public bool BaseHeaderFound { get; set; } 40 | 41 | public List LinkedItems { get; set; } 42 | 43 | public bool NoHeaderFound => BaseHeaderFound && CountSubLicenseHeadersFound == 0; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/UpdateViewModels/FolderProjectUpdateViewModel.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | 16 | namespace LicenseHeaderManager.UpdateViewModels 17 | { 18 | public class FolderProjectUpdateViewModel : BaseUpdateViewModel 19 | { 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/UpdateViewModels/RelayCommand.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | using System.Diagnostics; 16 | using System.Windows.Input; 17 | 18 | namespace LicenseHeaderManager.UpdateViewModels 19 | { 20 | public class RelayCommand : ICommand 21 | { 22 | private readonly Predicate _canExecute; 23 | private readonly Action _execute; 24 | 25 | public RelayCommand (Action execute) 26 | : this (execute, null) 27 | { 28 | } 29 | 30 | public RelayCommand (Action execute, Predicate canExecute) 31 | { 32 | if (execute == null) 33 | throw new ArgumentNullException (nameof(execute)); 34 | _execute = execute; 35 | _canExecute = canExecute; 36 | } 37 | 38 | [DebuggerStepThrough] 39 | public bool CanExecute (object parameter) 40 | { 41 | return _canExecute?.Invoke (parameter) ?? true; 42 | } 43 | 44 | public event EventHandler CanExecuteChanged 45 | { 46 | add => CommandManager.RequerySuggested += value; 47 | remove => CommandManager.RequerySuggested -= value; 48 | } 49 | 50 | public void Execute (object parameter) 51 | { 52 | _execute (parameter); 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/UpdateViewModels/SolutionUpdateViewModel.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | 16 | namespace LicenseHeaderManager.UpdateViewModels 17 | { 18 | public class SolutionUpdateViewModel : BaseUpdateViewModel 19 | { 20 | private string _currentProject = "Preparing update..."; 21 | private int _projectCount; 22 | 23 | public SolutionUpdateViewModel () 24 | { 25 | } 26 | 27 | public string CurrentProject 28 | { 29 | get => _currentProject; 30 | set 31 | { 32 | _currentProject = value; 33 | NotifyPropertyChanged (nameof(CurrentProject)); 34 | } 35 | } 36 | 37 | public int ProjectCount 38 | { 39 | get => _projectCount; 40 | set 41 | { 42 | _projectCount = value; 43 | NotifyPropertyChanged (nameof(ProjectCount)); 44 | } 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /LicenseHeaderManager.Shared/Utils/ReplacerProgress.cs: -------------------------------------------------------------------------------- 1 | /* Copyright (c) rubicon IT GmbH 2 | * 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 5 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | * 7 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | * 9 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 10 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 11 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 12 | */ 13 | 14 | using System; 15 | 16 | namespace LicenseHeaderManager.Utils 17 | { 18 | /// 19 | /// This class ensures that the files are processed and displayed in the correct order in the progress bar. 20 | /// 21 | /// 22 | public class ReplacerProgress : IProgress 23 | { 24 | private readonly Action _action; 25 | 26 | public ReplacerProgress (Action action) 27 | { 28 | _action = action ?? throw new ArgumentNullException (nameof(action)); 29 | } 30 | 31 | public void Report (T value) 32 | { 33 | _action (value); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /LicenseHeaderManager.sln.licenseheader: -------------------------------------------------------------------------------- 1 | extensions: .cs 2 | /* Copyright (c) rubicon IT GmbH 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 5 | * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 6 | * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 7 | * 8 | * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 9 | * 10 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 11 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 12 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 13 | */ 14 | 15 | extensions: .xaml 16 | -------------------------------------------------------------------------------- /LicenseHeaderManager/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /LicenseHeaderManager/license.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) rubicon IT GmbH 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /LicenseHeaderManager/source.extension.vsixmanifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | License Header Manager 8 | An extension for adding license headers to source code files. 9 | https://github.com/rubicon-oss/LicenseHeaderManager 10 | https://github.com/rubicon-oss/LicenseHeaderManager/wiki 11 | VsixInformation/Icon.png 12 | VsixInformation/Preview.png 13 | 14 | 15 | 16 | amd64 17 | 18 | 19 | amd64 20 | 21 | 22 | amd64 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 34 | 35 | -------------------------------------------------------------------------------- /SharedResources/Images.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/SharedResources/Images.bmp -------------------------------------------------------------------------------- /SharedResources/Images.pdn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/SharedResources/Images.pdn -------------------------------------------------------------------------------- /SharedVsixInformation/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/SharedVsixInformation/Icon.png -------------------------------------------------------------------------------- /SharedVsixInformation/Preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/SharedVsixInformation/Preview.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App1/App.xaml: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | //Sample license text. 3 | 8 | 9 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App1/App1.licenseheader: -------------------------------------------------------------------------------- 1 | extensions: designer.cs generated.cs 2 | extensions: .cs .cpp .h .js 3 | //Sample license text. 4 | extensions: .aspx .ascx 5 | <%-- 6 | Sample license text. 7 | --%> 8 | extensions: .vb 9 | 'Sample license text. 10 | extensions: .xml .config .xsd 11 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App1/Assets/Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App1/Assets/Logo.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App1/Assets/SmallLogo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App1/Assets/SmallLogo.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App1/Assets/SplashScreen.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App1/Assets/SplashScreen.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App1/Assets/Square71x71Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App1/Assets/Square71x71Logo.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App1/Assets/StoreLogo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App1/Assets/StoreLogo.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App1/Assets/WideLogo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App1/Assets/WideLogo.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App1/MainPage.xaml: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App1/MainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | using System; 3 | using System.Collections.Generic; 4 | using System.IO; 5 | using System.Linq; 6 | using System.Runtime.InteropServices.WindowsRuntime; 7 | using Windows.Foundation; 8 | using Windows.Foundation.Collections; 9 | using Windows.UI.Xaml; 10 | using Windows.UI.Xaml.Controls; 11 | using Windows.UI.Xaml.Controls.Primitives; 12 | using Windows.UI.Xaml.Data; 13 | using Windows.UI.Xaml.Input; 14 | using Windows.UI.Xaml.Media; 15 | using Windows.UI.Xaml.Navigation; 16 | 17 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=391641 18 | 19 | namespace App1 20 | { 21 | /// 22 | /// An empty page that can be used on its own or navigated to within a Frame. 23 | /// 24 | public sealed partial class MainPage : Page 25 | { 26 | public MainPage() 27 | { 28 | this.InitializeComponent(); 29 | 30 | this.NavigationCacheMode = NavigationCacheMode.Required; 31 | } 32 | 33 | /// 34 | /// Invoked when this page is about to be displayed in a Frame. 35 | /// 36 | /// Event data that describes how this page was reached. 37 | /// This parameter is typically used to configure the page. 38 | protected override void OnNavigatedTo(NavigationEventArgs e) 39 | { 40 | // TODO: Prepare page for display here. 41 | 42 | // TODO: If your application contains multiple pages, ensure that you are 43 | // handling the hardware Back button by registering for the 44 | // Windows.Phone.UI.Input.HardwareButtons.BackPressed event. 45 | // If you are using the NavigationHelper provided by some templates, 46 | // this event is handled for you. 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App1/NewFolder1/Class1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 rubicon IT GmbH 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace App1.NewFolder1 9 | { 10 | class Class1 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App1/NewFolder1/NewFolder1/Class1.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 rubicon IT GmbH 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace App1.NewFolder1.NewFolder1 9 | { 10 | class Class1 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App1/Package.appxmanifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | App1 12 | florian.decker 13 | Assets\StoreLogo.png 14 | 15 | 16 | 17 | 6.3.1 18 | 6.3.1 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 29 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App1/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | using System.Reflection; 3 | using System.Runtime.CompilerServices; 4 | using System.Runtime.InteropServices; 5 | 6 | // General Information about an assembly is controlled through the following 7 | // set of attributes. Change these attribute values to modify the information 8 | // associated with an assembly. 9 | [assembly: AssemblyTitle("App1")] 10 | [assembly: AssemblyDescription("")] 11 | [assembly: AssemblyConfiguration("")] 12 | [assembly: AssemblyCompany("")] 13 | [assembly: AssemblyProduct("App1")] 14 | [assembly: AssemblyCopyright("Copyright © 2016")] 15 | [assembly: AssemblyTrademark("")] 16 | [assembly: AssemblyCulture("")] 17 | 18 | // Version information for an assembly consists of the following four values: 19 | // 20 | // Major Version 21 | // Minor Version 22 | // Build Number 23 | // Revision 24 | // 25 | // You can specify all the values or you can default the Build and Revision Numbers 26 | // by using the '*' as shown below: 27 | // [assembly: AssemblyVersion("1.0.*")] 28 | [assembly: AssemblyVersion("1.0.0.0")] 29 | [assembly: AssemblyFileVersion("1.0.0.0")] 30 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Shared/App.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Shared/App.xaml.h: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | 3 | // 4 | // App.xaml.h 5 | // Declaration of the App class. 6 | // 7 | 8 | #pragma once 9 | 10 | #include "App.g.h" 11 | 12 | namespace App2 13 | { 14 | /// 15 | /// Provides application-specific behavior to supplement the default Application class. 16 | /// 17 | ref class App sealed 18 | { 19 | public: 20 | App(); 21 | 22 | virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ e) override; 23 | 24 | private: 25 | #if WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP 26 | Windows::UI::Xaml::Media::Animation::TransitionCollection^ _transitions; 27 | Windows::Foundation::EventRegistrationToken _firstNavigatedToken; 28 | 29 | void RootFrame_FirstNavigated(Platform::Object^ sender, Windows::UI::Xaml::Navigation::NavigationEventArgs^ e); 30 | #endif 31 | 32 | void OnSuspending(Platform::Object^ sender, Windows::ApplicationModel::SuspendingEventArgs^ e); 33 | }; 34 | } 35 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Shared/App2.Shared.licenseheader: -------------------------------------------------------------------------------- 1 | extensions: designer.cs generated.cs 2 | extensions: .cs .cpp .h 3 | //Sample license text. 4 | extensions: .aspx .ascx 5 | <%-- 6 | Sample license text. 7 | --%> 8 | extensions: .vb 9 | 'Sample license text. 10 | extensions: .xml .config .xsd 11 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Shared/App2.Shared.vcxitems: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | true 6 | 6e8b46d5-4383-434b-aadb-6455108d8357 7 | {652187b5-f9d1-4462-9757-0d7e820074aa} 8 | App2 9 | 10 | 11 | 12 | %(AdditionalIncludeDirectories);$(MSBuildThisFileDirectory) 13 | 14 | 15 | 16 | 17 | Designer 18 | 19 | 20 | $(MSBuildThisFileDirectory)App.xaml 21 | 22 | 23 | $(MSBuildThisFileDirectory)App.xaml 24 | 25 | 26 | Create 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Shared/App2.Shared.vcxitems.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Shared/pch.cpp: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | 3 | // 4 | // pch.cpp 5 | // Include the standard header and generate the precompiled header. 6 | // 7 | 8 | #include "pch.h" 9 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Shared/pch.h: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | 3 | // 4 | // pch.h 5 | // Header for standard system include files. 6 | // 7 | 8 | #pragma once 9 | 10 | #include 11 | #include 12 | 13 | #include "App.xaml.h" 14 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/App2.Windows.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {56b26cbc-896f-46f0-bece-6ff6188ead66} 6 | bmp;fbx;gif;jpg;jpeg;tga;tiff;tif;png 7 | 8 | 9 | Assets 10 | 11 | 12 | Assets 13 | 14 | 15 | Assets 16 | 17 | 18 | Assets 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/Assets/Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App2/App2.Windows/Assets/Logo.scale-100.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/Assets/SmallLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App2/App2.Windows/Assets/SmallLogo.scale-100.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/Assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App2/App2.Windows/Assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/Assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App2/App2.Windows/Assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/Generated Files/App.g.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #pragma once 4 | //------------------------------------------------------------------------------ 5 | // This code was generated by a tool. 6 | // 7 | // Changes to this file may cause incorrect behavior and will be lost if 8 | // the code is regenerated. 9 | //------------------------------------------------------------------------------ 10 | 11 | #include "XamlTypeInfo.g.h" 12 | 13 | namespace App2 14 | { 15 | partial ref class App : public ::Windows::UI::Xaml::Application, 16 | public ::Windows::UI::Xaml::Markup::IXamlMetadataProvider, 17 | public ::Windows::UI::Xaml::Markup::IComponentConnector 18 | { 19 | public: 20 | void InitializeComponent(); 21 | virtual void Connect(int connectionId, ::Platform::Object^ target); 22 | 23 | [Windows::Foundation::Metadata::DefaultOverload] 24 | virtual ::Windows::UI::Xaml::Markup::IXamlType^ GetXamlType(::Windows::UI::Xaml::Interop::TypeName type); 25 | virtual ::Windows::UI::Xaml::Markup::IXamlType^ GetXamlType(::Platform::String^ fullName); 26 | virtual ::Platform::Array<::Windows::UI::Xaml::Markup::XmlnsDefinition>^ GetXmlnsDefinitions(); 27 | private: 28 | ::XamlTypeInfo::InfoProvider::XamlTypeInfoProvider^ _provider; 29 | bool _contentLoaded; 30 | 31 | }; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/Generated Files/App.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/Generated Files/App.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App2/App2.Windows/Generated Files/App.xbf -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/Generated Files/MainPage.g.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #pragma once 4 | //------------------------------------------------------------------------------ 5 | // This code was generated by a tool. 6 | // 7 | // Changes to this file may cause incorrect behavior and will be lost if 8 | // the code is regenerated. 9 | //------------------------------------------------------------------------------ 10 | 11 | 12 | namespace App2 13 | { 14 | partial ref class MainPage : public ::Windows::UI::Xaml::Controls::Page, 15 | public ::Windows::UI::Xaml::Markup::IComponentConnector 16 | { 17 | public: 18 | void InitializeComponent(); 19 | virtual void Connect(int connectionId, ::Platform::Object^ target); 20 | 21 | private: 22 | bool _contentLoaded; 23 | 24 | }; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/Generated Files/MainPage.g.hpp: -------------------------------------------------------------------------------- 1 | 2 | 3 | //------------------------------------------------------------------------------ 4 | // This code was generated by a tool. 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | //------------------------------------------------------------------------------ 9 | #include "pch.h" 10 | #include "MainPage.xaml.h" 11 | 12 | 13 | 14 | 15 | void ::App2::MainPage::InitializeComponent() 16 | { 17 | if (_contentLoaded) 18 | return; 19 | 20 | _contentLoaded = true; 21 | 22 | // Call LoadComponent on ms-appx:///MainPage.xaml 23 | ::Windows::UI::Xaml::Application::LoadComponent(this, ref new ::Windows::Foundation::Uri(L"ms-appx:///MainPage.xaml"), ::Windows::UI::Xaml::Controls::Primitives::ComponentResourceLocation::Application); 24 | 25 | } 26 | 27 | void ::App2::MainPage::Connect(int connectionId, Platform::Object^ target) 28 | { 29 | (void)connectionId; // Unused parameter 30 | (void)target; // Unused parameter 31 | _contentLoaded = true; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/Generated Files/MainPage.xaml: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/Generated Files/MainPage.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App2/App2.Windows/Generated Files/MainPage.xbf -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/Generated Files/XamlLibMetadataProvider.g.cpp: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/MainPage.xaml: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/MainPage.xaml.cpp: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | 3 | // 4 | // MainPage.xaml.cpp 5 | // Implementation of the MainPage class. 6 | // 7 | 8 | #include "pch.h" 9 | #include "MainPage.xaml.h" 10 | 11 | using namespace App2; 12 | 13 | using namespace Platform; 14 | using namespace Windows::Foundation; 15 | using namespace Windows::Foundation::Collections; 16 | using namespace Windows::UI::Xaml; 17 | using namespace Windows::UI::Xaml::Controls; 18 | using namespace Windows::UI::Xaml::Controls::Primitives; 19 | using namespace Windows::UI::Xaml::Data; 20 | using namespace Windows::UI::Xaml::Input; 21 | using namespace Windows::UI::Xaml::Media; 22 | using namespace Windows::UI::Xaml::Navigation; 23 | 24 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238 25 | 26 | MainPage::MainPage() 27 | { 28 | InitializeComponent(); 29 | } 30 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/MainPage.xaml.h: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | 3 | // 4 | // MainPage.xaml.h 5 | // Declaration of the MainPage class. 6 | // 7 | 8 | #pragma once 9 | 10 | #include "MainPage.g.h" 11 | 12 | namespace App2 13 | { 14 | /// 15 | /// An empty page that can be used on its own or navigated to within a Frame. 16 | /// 17 | public ref class MainPage sealed 18 | { 19 | public: 20 | MainPage(); 21 | 22 | }; 23 | } 24 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.Windows/Package.appxmanifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | App2.Windows 10 | florian.decker 11 | Assets\StoreLogo.png 12 | 13 | 14 | 15 | 6.3.0 16 | 6.3.0 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 27 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/App2.WindowsPhone.licenseheader: -------------------------------------------------------------------------------- 1 | extensions: designer.cs generated.cs 2 | extensions: .cs .cpp .h 3 | //Sample license text. 4 | extensions: .aspx .ascx 5 | <%-- 6 | Sample license text. 7 | --%> 8 | extensions: .vb 9 | 'Sample license text. 10 | extensions: .xml .config .xsd 11 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/App2.WindowsPhone.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {3cf343a3-c66e-44c2-ac52-e714532cc904} 6 | bmp;fbx;gif;jpg;jpeg;tga;tiff;tif;png 7 | 8 | 9 | Assets 10 | 11 | 12 | Assets 13 | 14 | 15 | Assets 16 | 17 | 18 | Assets 19 | 20 | 21 | Assets 22 | 23 | 24 | Assets 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Assets/Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Assets/Logo.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Assets/SmallLogo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Assets/SmallLogo.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Assets/SplashScreen.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Assets/SplashScreen.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Assets/Square71x71Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Assets/Square71x71Logo.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Assets/StoreLogo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Assets/StoreLogo.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Assets/WideLogo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Assets/WideLogo.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Generated Files/App.g.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #pragma once 4 | //------------------------------------------------------------------------------ 5 | // This code was generated by a tool. 6 | // 7 | // Changes to this file may cause incorrect behavior and will be lost if 8 | // the code is regenerated. 9 | //------------------------------------------------------------------------------ 10 | 11 | #include "XamlTypeInfo.g.h" 12 | 13 | namespace App2 14 | { 15 | partial ref class App : public ::Windows::UI::Xaml::Application, 16 | public ::Windows::UI::Xaml::Markup::IXamlMetadataProvider, 17 | public ::Windows::UI::Xaml::Markup::IComponentConnector 18 | { 19 | public: 20 | void InitializeComponent(); 21 | virtual void Connect(int connectionId, ::Platform::Object^ target); 22 | 23 | [Windows::Foundation::Metadata::DefaultOverload] 24 | virtual ::Windows::UI::Xaml::Markup::IXamlType^ GetXamlType(::Windows::UI::Xaml::Interop::TypeName type); 25 | virtual ::Windows::UI::Xaml::Markup::IXamlType^ GetXamlType(::Platform::String^ fullName); 26 | virtual ::Platform::Array<::Windows::UI::Xaml::Markup::XmlnsDefinition>^ GetXmlnsDefinitions(); 27 | private: 28 | ::XamlTypeInfo::InfoProvider::XamlTypeInfoProvider^ _provider; 29 | bool _contentLoaded; 30 | 31 | }; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Generated Files/App.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Generated Files/App.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Generated Files/App.xbf -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Generated Files/MainPage.g.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #pragma once 4 | //------------------------------------------------------------------------------ 5 | // This code was generated by a tool. 6 | // 7 | // Changes to this file may cause incorrect behavior and will be lost if 8 | // the code is regenerated. 9 | //------------------------------------------------------------------------------ 10 | 11 | 12 | namespace App2 13 | { 14 | partial ref class MainPage : public ::Windows::UI::Xaml::Controls::Page, 15 | public ::Windows::UI::Xaml::Markup::IComponentConnector 16 | { 17 | public: 18 | void InitializeComponent(); 19 | virtual void Connect(int connectionId, ::Platform::Object^ target); 20 | 21 | private: 22 | bool _contentLoaded; 23 | 24 | }; 25 | } 26 | 27 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Generated Files/MainPage.g.hpp: -------------------------------------------------------------------------------- 1 | 2 | 3 | //------------------------------------------------------------------------------ 4 | // This code was generated by a tool. 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | //------------------------------------------------------------------------------ 9 | #include "pch.h" 10 | #include "MainPage.xaml.h" 11 | 12 | 13 | 14 | 15 | void ::App2::MainPage::InitializeComponent() 16 | { 17 | if (_contentLoaded) 18 | return; 19 | 20 | _contentLoaded = true; 21 | 22 | // Call LoadComponent on ms-appx:///MainPage.xaml 23 | ::Windows::UI::Xaml::Application::LoadComponent(this, ref new ::Windows::Foundation::Uri(L"ms-appx:///MainPage.xaml"), ::Windows::UI::Xaml::Controls::Primitives::ComponentResourceLocation::Application); 24 | 25 | } 26 | 27 | void ::App2::MainPage::Connect(int connectionId, Platform::Object^ target) 28 | { 29 | (void)connectionId; // Unused parameter 30 | (void)target; // Unused parameter 31 | _contentLoaded = true; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Generated Files/MainPage.xaml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Generated Files/MainPage.xbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Generated Files/MainPage.xbf -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Generated Files/XamlLibMetadataProvider.g.cpp: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/MainPage.xaml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/MainPage.xaml.cpp: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | 3 | // 4 | // MainPage.xaml.cpp 5 | // Implementation of the MainPage class. 6 | // 7 | 8 | #include "pch.h" 9 | #include "MainPage.xaml.h" 10 | 11 | using namespace App2; 12 | 13 | using namespace Platform; 14 | using namespace Windows::Foundation; 15 | using namespace Windows::Foundation::Collections; 16 | using namespace Windows::UI::Xaml; 17 | using namespace Windows::UI::Xaml::Controls; 18 | using namespace Windows::UI::Xaml::Controls::Primitives; 19 | using namespace Windows::UI::Xaml::Data; 20 | using namespace Windows::UI::Xaml::Input; 21 | using namespace Windows::UI::Xaml::Media; 22 | using namespace Windows::UI::Xaml::Navigation; 23 | 24 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238 25 | 26 | MainPage::MainPage() 27 | { 28 | InitializeComponent(); 29 | } 30 | 31 | /// 32 | /// Invoked when this page is about to be displayed in a Frame. 33 | /// 34 | /// Event data that describes how this page was reached. The Parameter 35 | /// property is typically used to configure the page. 36 | void MainPage::OnNavigatedTo(NavigationEventArgs^ e) 37 | { 38 | (void) e; // Unused parameter 39 | 40 | // TODO: Prepare page for display here. 41 | 42 | // TODO: If your application contains multiple pages, ensure that you are 43 | // handling the hardware Back button by registering for the 44 | // Windows::Phone::UI::Input::HardwareButtons.BackPressed event. 45 | // If you are using the NavigationHelper provided by some templates, 46 | // this event is handled for you. 47 | } 48 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/MainPage.xaml.h: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | 3 | // 4 | // MainPage.xaml.h 5 | // Declaration of the MainPage class. 6 | // 7 | 8 | #pragma once 9 | 10 | #include "MainPage.g.h" 11 | 12 | namespace App2 13 | { 14 | /// 15 | /// An empty page that can be used on its own or navigated to within a Frame. 16 | /// 17 | public ref class MainPage sealed 18 | { 19 | public: 20 | MainPage(); 21 | 22 | protected: 23 | virtual void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override; 24 | }; 25 | } 26 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/App2/App2.WindowsPhone/Package.appxmanifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | App2.WindowsPhone 12 | florian.decker 13 | Assets\StoreLogo.png 14 | 15 | 16 | 17 | 6.3.1 18 | 6.3.1 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 29 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.Shared/BlankSharedApp1.Shared.projitems: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | true 6 | e81eb80b-42ab-4ebb-9037-27870a9335c5 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.Shared/BlankSharedApp1.Shared.shproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {e81eb80b-42ab-4ebb-9037-27870a9335c5} 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.Shared/TypeScriptHTMLApp1.licenseheader: -------------------------------------------------------------------------------- 1 | extensions: designer.cs generated.cs 2 | extensions: .cs .cpp .h .py .js 3 | // Copyright (c) 2011 rubicon IT GmbH 4 | extensions: .aspx .ascx 5 | <%-- 6 | Copyright (c) 2011 rubicon IT GmbH 7 | --%> 8 | extensions: .vb 9 | 'Sample license text. 10 | extensions: .xml .config .xsd 11 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.Shared/js/default.js: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 rubicon IT GmbH 2 | 3 | // For an introduction to the Blank template, see the following documentation: 4 | // http://go.microsoft.com/fwlink/?LinkID=392286 5 | (function () { 6 | "use strict"; 7 | 8 | var app = WinJS.Application; 9 | var activation = Windows.ApplicationModel.Activation; 10 | 11 | app.onactivated = function (args) { 12 | if (args.detail.kind === activation.ActivationKind.launch) { 13 | if (args.detail.previousExecutionState !== activation.ApplicationExecutionState.terminated) { 14 | // TODO: This application has been newly launched. Initialize 15 | // your application here. 16 | } else { 17 | // TODO: This application has been reactivated from suspension. 18 | // Restore application state here. 19 | } 20 | args.setPromise(WinJS.UI.processAll()); 21 | } 22 | }; 23 | 24 | app.oncheckpoint = function (args) { 25 | // TODO: This application is about to be suspended. Save any state 26 | // that needs to persist across suspensions here. You might use the 27 | // WinJS.Application.sessionState object, which is automatically 28 | // saved and restored across suspension. If you need to complete an 29 | // asynchronous operation before your application is suspended, call 30 | // args.setPromise(). 31 | }; 32 | 33 | app.start(); 34 | })(); -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.Windows/css/default.css: -------------------------------------------------------------------------------- 1 | body { 2 | } 3 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.Windows/default.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BlankSharedApp1.Windows 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | Content goes here 18 | 19 | 20 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.Windows/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.Windows/images/logo.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.Windows/images/smalllogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.Windows/images/smalllogo.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.Windows/images/splashscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.Windows/images/splashscreen.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.Windows/images/storelogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.Windows/images/storelogo.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.Windows/package.appxmanifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | BlankSharedApp1.Windows 11 | florian.decker 12 | images\storelogo.png 13 | 14 | 15 | 16 | 6.3.0 17 | 6.3.0 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 28 | 29 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/css/NewFolder/file.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/css/TypeScriptHTMLApp1.licenseheader: -------------------------------------------------------------------------------- 1 | extensions: designer.cs generated.cs 2 | extensions: .cs .cpp .h .py 3 | // Copyright (c) 2011 rubicon IT GmbH 4 | extensions: .aspx .ascx 5 | <%-- 6 | Copyright (c) 2011 rubicon IT GmbH 7 | --%> 8 | extensions: .vb 9 | 'Sample license text. 10 | extensions: .xml .config .xsd 11 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/css/default.css: -------------------------------------------------------------------------------- 1 | body { 2 | } 3 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/css/ui-themed.css: -------------------------------------------------------------------------------- 1 | @import url(//Microsoft.Phone.WinJS.2.1/css/ui-dark.css); 2 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/css/ui-themed.theme-dark.css: -------------------------------------------------------------------------------- 1 | @import url(//Microsoft.Phone.WinJS.2.1/css/ui-dark.css); 2 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/css/ui-themed.theme-light.css: -------------------------------------------------------------------------------- 1 | @import url(//Microsoft.Phone.WinJS.2.1/css/ui-light.css); -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/default.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BlankSharedApp1.WindowsPhone 6 | 7 | 8 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | Content goes here 20 | 21 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/images/SplashScreen.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/images/SplashScreen.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/images/Square150x150Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/images/Square150x150Logo.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/images/Square44x44Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/images/Square44x44Logo.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/images/Square71x71Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/images/Square71x71Logo.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/images/StoreLogo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/images/StoreLogo.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/images/Wide310x150Logo.scale-240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/images/Wide310x150Logo.scale-240.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/BlankSharedApp1/BlankSharedApp1.WindowsPhone/package.appxmanifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | BlankSharedApp1.WindowsPhone 13 | florian.decker 14 | images\StoreLogo.png 15 | 16 | 17 | 18 | 6.3.1 19 | 6.3.1 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 30 | 31 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/ConsoleApplication1/App.config: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/ConsoleApplication1/ConsoleApplication1.licenseheader: -------------------------------------------------------------------------------- 1 | extensions: designer.cs generated.cs 2 | extensions: .cs .cpp .h .fs 3 | // Copyright (c) 2011 rubicon IT GmbH 4 | extensions: .aspx .ascx 5 | <%-- 6 | Copyright (c) 2011 rubicon IT GmbH 7 | --%> 8 | extensions: .vb 9 | 'Sample license text. 10 | extensions: .xml .config .xsd 11 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/ConsoleApplication1/Program.fs: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 rubicon IT GmbH 2 | [] 3 | let main argv = 4 | printfn "%A" argv 5 | 0 // return an integer exit code 6 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/ConsoleApplication1/newfolder1/File1.fs: -------------------------------------------------------------------------------- 1 | module File1 2 | 3 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/ConsoleApplication1/newfolder1/NewFolder2/File2.fs: -------------------------------------------------------------------------------- 1 | module File2 2 | 3 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/ConsoleApplication1/newfolder1/TypeScriptHTMLApp1.licenseheader: -------------------------------------------------------------------------------- 1 | extensions: designer.cs generated.cs 2 | extensions: .cs .cpp .h .ts .wxi .wxs .py .php .js .css .html 3 | /* 4 | * Copyright (c) 2011 rubicon IT GmbH 5 | */ 6 | 7 | extensions: .aspx .ascx 8 | <%-- 9 | Copyright (c) 2011 rubicon IT GmbH 10 | --%> 11 | extensions: .vb 12 | 'Sample license text. 13 | extensions: .xml .config .xsd 14 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/LHM-CsProjTest.VC.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/LHM-CsProjTest.VC.db -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/LHM-CsProjTest/App.config: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/LHM-CsProjTest/LHM-CsProjTest.licenseheader: -------------------------------------------------------------------------------- 1 | extensions: designer.cs generated.cs 2 | extensions: .cs .cpp .h 3 | //Copyright (c) 2011 rubicon IT GmbH 4 | extensions: .aspx .ascx 5 | <%-- 6 | Copyright (c) 2011 rubicon IT GmbH 7 | --%> 8 | extensions: .vb 9 | 'Sample license text. 10 | extensions: .xml .config .xsd 11 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/LHM-CsProjTest/NewFolder1/Class1.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 rubicon IT GmbH 3 | */ 4 | 5 | using System; 6 | using System.Collections.Generic; 7 | using System.Linq; 8 | using System.Text; 9 | using System.Threading.Tasks; 10 | 11 | namespace LHM_CsProjTest.NewFolder1 12 | { 13 | class Class1 14 | { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/LHM-CsProjTest/NewFolder1/NewFolder1/Class1.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 rubicon IT GmbH 3 | */ 4 | 5 | using System; 6 | using System.Collections.Generic; 7 | using System.Linq; 8 | using System.Text; 9 | using System.Threading.Tasks; 10 | 11 | namespace LHM_CsProjTest.NewFolder1.NewFolder1 12 | { 13 | class Class1 14 | { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/LHM-CsProjTest/Program.cs: -------------------------------------------------------------------------------- 1 | //Copyright (c) 2011 rubicon IT GmbH 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | 8 | namespace LHM_CsProjTest 9 | { 10 | class Program 11 | { 12 | static void Main(string[] args) 13 | { 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/LHM-CsProjTest/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //Copyright (c) 2011 rubicon IT GmbH 2 | using System.Reflection; 3 | using System.Runtime.CompilerServices; 4 | using System.Runtime.InteropServices; 5 | 6 | // General Information about an assembly is controlled through the following 7 | // set of attributes. Change these attribute values to modify the information 8 | // associated with an assembly. 9 | [assembly: AssemblyTitle("LHM-CsProjTest")] 10 | [assembly: AssemblyDescription("")] 11 | [assembly: AssemblyConfiguration("")] 12 | [assembly: AssemblyCompany("")] 13 | [assembly: AssemblyProduct("LHM-CsProjTest")] 14 | [assembly: AssemblyCopyright("Copyright © 2016")] 15 | [assembly: AssemblyTrademark("")] 16 | [assembly: AssemblyCulture("")] 17 | 18 | // Setting ComVisible to false makes the types in this assembly not visible 19 | // to COM components. If you need to access a type in this assembly from 20 | // COM, set the ComVisible attribute to true on that type. 21 | [assembly: ComVisible(false)] 22 | 23 | // The following GUID is for the ID of the typelib if this project is exposed to COM 24 | [assembly: Guid("49bffc6a-6e00-4b24-bcd3-529bd6fa34c6")] 25 | 26 | // Version information for an assembly consists of the following four values: 27 | // 28 | // Major Version 29 | // Minor Version 30 | // Build Number 31 | // Revision 32 | // 33 | // You can specify all the values or you can default the Build and Revision Numbers 34 | // by using the '*' as shown below: 35 | // [assembly: AssemblyVersion("1.0.*")] 36 | [assembly: AssemblyVersion("1.0.0.0")] 37 | [assembly: AssemblyFileVersion("1.0.0.0")] 38 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1/OfficeApp1.licenseheader: -------------------------------------------------------------------------------- 1 | extensions: designer.cs generated.cs 2 | extensions: .cs .cpp .h 3 | // Copyright (c) 2011 rubicon IT GmbH 4 | extensions: .aspx .ascx 5 | <%-- 6 | Copyright (c) 2011 rubicon IT GmbH 7 | --%> 8 | extensions: .vb 9 | 'Sample license text. 10 | extensions: .xml .config .xsd 11 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1/OfficeApp1Manifest/OfficeApp1.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 5b9320b8-d209-4b7a-9d3f-3001024c7973 9 | 1.0.0.0 10 | [Provider name] 11 | en-US 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | ReadWriteDocument 24 | 25 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1/OfficeApp1Manifest/SharePointProjectItem.spdata: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/App/App.css: -------------------------------------------------------------------------------- 1 | /* Common app styling */ 2 | 3 | #content-header { 4 | background: #2a8dd4; 5 | color: #fff; 6 | position: absolute; 7 | top: 0; 8 | left: 0; 9 | width: 100%; 10 | height: 80px; /* Fixed header height */ 11 | overflow: hidden; /* Disable scrollbars for header */ 12 | } 13 | 14 | #content-main { 15 | background: #fff; 16 | position: fixed; 17 | top: 80px; /* Same value as #content-header's height */ 18 | left: 0; 19 | right: 0; 20 | bottom: 0; 21 | overflow: auto; /* Enable scrollbars within main content section */ 22 | } 23 | 24 | .padding { 25 | padding: 15px; 26 | } 27 | 28 | #notification-message { 29 | background-color: #818285; 30 | color: #fff; 31 | position: absolute; 32 | width: 100%; 33 | min-height: 80px; 34 | right: 0; 35 | z-index: 100; 36 | bottom: 0; 37 | display: none; /* Hidden until invoked */ 38 | } 39 | 40 | #notification-message #notification-message-header { 41 | font-size: medium; 42 | margin-bottom: 10px; 43 | } 44 | 45 | #notification-message #notification-message-close { 46 | background-image: url("../Images/Close.png"); 47 | background-repeat: no-repeat; 48 | width: 24px; 49 | height: 24px; 50 | position: absolute; 51 | right: 5px; 52 | top: 5px; 53 | cursor: pointer; 54 | } 55 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/App/App.js: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | var app = (function () { 3 | "use strict"; 4 | 5 | var app = {}; 6 | 7 | // Common initialization function (to be called from each page) 8 | app.initialize = function () { 9 | $('body').append( 10 | '' + 11 | '' + 12 | '' + 13 | '' + 14 | '' + 15 | '' + 16 | ''); 17 | 18 | $('#notification-message-close').click(function () { 19 | $('#notification-message').hide(); 20 | }); 21 | 22 | 23 | // After initialization, expose a common notification function 24 | app.showNotification = function (header, text) { 25 | $('#notification-message-header').text(header); 26 | $('#notification-message-body').text(text); 27 | $('#notification-message').slideDown('fast'); 28 | }; 29 | }; 30 | 31 | return app; 32 | })(); -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/App/Home/Home.css: -------------------------------------------------------------------------------- 1 | /* Page-specific styling */ 2 | 3 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/App/Home/Home.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | Welcome 26 | 27 | 28 | 29 | 30 | Add home screen content here. 31 | For example: 32 | Get data from selection 33 | 34 | 35 | Find more samples online... 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/App/Home/Home.js: -------------------------------------------------------------------------------- 1 | /// 2 | //Sample license text. 3 | (function () { 4 | "use strict"; 5 | 6 | // The initialize function must be run each time a new page is loaded 7 | Office.initialize = function (reason) { 8 | $(document).ready(function () { 9 | app.initialize(); 10 | 11 | $('#get-data-from-selection').click(getDataFromSelection); 12 | }); 13 | }; 14 | 15 | // Reads data from current document selection and displays a notification 16 | function getDataFromSelection() { 17 | Office.context.document.getSelectedDataAsync(Office.CoercionType.Text, 18 | function (result) { 19 | if (result.status === Office.AsyncResultStatus.Succeeded) { 20 | app.showNotification('The selected text is:', '"' + result.value + '"'); 21 | } else { 22 | app.showNotification('Error:', result.error.message); 23 | } 24 | } 25 | ); 26 | } 27 | })(); -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/Images/Close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/OfficeApp1Web/Images/Close.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/NewFolder1/NewFolder1/HtmlPage1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/NewFolder1/StyleSheet1.css: -------------------------------------------------------------------------------- 1 | body { 2 | } 3 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/OfficeApp1Web.licenseheader: -------------------------------------------------------------------------------- 1 | extensions: designer.cs generated.cs 2 | extensions: .cs .cpp .h 3 | //Sample license text. 4 | extensions: .aspx .ascx 5 | <%-- 6 | Sample license text. 7 | --%> 8 | extensions: .vb 9 | 'Sample license text. 10 | extensions: .xml .config .xsd 11 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | using System.Reflection; 3 | using System.Runtime.CompilerServices; 4 | using System.Runtime.InteropServices; 5 | 6 | // General Information about an assembly is controlled through the following 7 | // set of attributes. Change these attribute values to modify the information 8 | // associated with an assembly. 9 | [assembly: AssemblyTitle("OfficeApp1Web")] 10 | [assembly: AssemblyDescription("")] 11 | [assembly: AssemblyConfiguration("")] 12 | [assembly: AssemblyCompany("")] 13 | [assembly: AssemblyProduct("OfficeApp1Web")] 14 | [assembly: AssemblyCopyright("Copyright © 2016")] 15 | [assembly: AssemblyTrademark("")] 16 | [assembly: AssemblyCulture("")] 17 | 18 | // Setting ComVisible to false makes the types in this assembly not visible 19 | // to COM components. If you need to access a type in this assembly from 20 | // COM, set the ComVisible attribute to true on that type. 21 | [assembly: ComVisible(false)] 22 | 23 | // The following GUID is for the ID of the typelib if this project is exposed to COM 24 | [assembly: Guid("fdd6a4bb-5ba9-4492-98bd-239ff46ab98c")] 25 | 26 | // Version information for an assembly consists of the following four values: 27 | // 28 | // Major Version 29 | // Minor Version 30 | // Build Number 31 | // Revision 32 | // 33 | // You can specify all the values or you can default the Revision and Build Numbers 34 | // by using the '*' as shown below: 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/Scripts/Office/1.1/ja-jp/outlook_strings.js: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | Type.registerNamespace("_u");_u.ExtensibilityStrings=function(){};_u.ExtensibilityStrings.registerClass("_u.ExtensibilityStrings");_u.ExtensibilityStrings.l_DeleteAttachmentDoesNotExist_Text="添付ファイル インデックスを含む添付ファイルが見つからなかったため、添付ファイルを削除できません。";_u.ExtensibilityStrings.l_EwsRequestOversized_Text="要求がサイズの上限である 1 MB を超えています。EWS 要求を変更してください。";_u.ExtensibilityStrings.l_ElevatedPermissionNeededForMethod_Text="このメソッドを呼び出すには、管理者特権のアクセス許可が必要です: '{0}'。";_u.ExtensibilityStrings.l_AttachmentErrorName_Text="添付ファイルのエラー";_u.ExtensibilityStrings.l_InvalidEventDates_Text="終了日を開始日の前に設定することはできません。";_u.ExtensibilityStrings.l_DisplayNameTooLong_Text="指定した表示名の中に、長すぎるものが 1 つ以上あります。";_u.ExtensibilityStrings.l_NumberOfRecipientsExceeded_Text="フィールド内の受信者の総数は {0} 以下にする必要があります。";_u.ExtensibilityStrings.l_HtmlSanitizationFailure_Text="HTML サニタイズに失敗しました。";_u.ExtensibilityStrings.l_DataWriteErrorName_Text="データの書き込みエラーが発生しました";_u.ExtensibilityStrings.l_ElevatedPermissionNeeded_Text="JavaScript API for Office の保護されたメンバーにアクセスするには、管理者特権のアクセス許可が必要です。";_u.ExtensibilityStrings.l_ExceededMaxNumberOfAttachments_Text="メッセージの添付ファイル数が最大値に達しているため、添付ファイルを追加できません";_u.ExtensibilityStrings.l_InternalProtocolError_Text="内部プロトコル エラー: '{0}'。";_u.ExtensibilityStrings.l_AttachmentDeletedBeforeUploadCompletes_Text="アップロードが完了する前に、ユーザーが添付ファイルを削除しました。";_u.ExtensibilityStrings.l_OffsetNotfound_Text="このタイム スタンプのオフセットが見つかりませんでした。";_u.ExtensibilityStrings.l_AttachmentExceededSize_Text="添付ファイルのサイズが大きすぎるため、追加できません。";_u.ExtensibilityStrings.l_InvalidEndTime_Text="終了時刻は開始時刻より前に設定できません。";_u.ExtensibilityStrings.l_ParametersNotAsExpected_Text="指定したパラメーターが予期されていない形式です。";_u.ExtensibilityStrings.l_AttachmentUploadGeneralFailure_Text="アイテムに添付ファイルを追加できません。";_u.ExtensibilityStrings.l_NoValidRecipientsProvided_Text="有効な受信者が指定されていません。";_u.ExtensibilityStrings.l_InvalidAttachmentId_Text="添付ファイル ID が無効です。";_u.ExtensibilityStrings.l_CannotAddAttachmentBeforeUpgrade_Text="サーバーから返信または転送をすべて取得している間は、添付ファイルを追加できません。";_u.ExtensibilityStrings.l_EmailAddressTooLong_Text="指定したメール アドレスの中に、長すぎるものが 1 つ以上あります。";_u.ExtensibilityStrings.l_InvalidAttachmentPath_Text="添付ファイルのパスが無効です。";_u.ExtensibilityStrings.l_AttachmentDeleteGeneralFailure_Text="アイテムから添付ファイルを削除できません。";_u.ExtensibilityStrings.l_InternalFormatError_Text="内部の形式エラーが発生しました。";_u.ExtensibilityStrings.l_InvalidDate_Text="入力を有効な日付に解決できません。";_u.ExtensibilityStrings.l_CursorPositionChanged_Text="データの挿入中に、ユーザーがカーソル位置を変更しました。" -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/Scripts/Office/1.1/ko-kr/outlook_strings.js: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | Type.registerNamespace("_u");_u.ExtensibilityStrings=function(){};_u.ExtensibilityStrings.registerClass("_u.ExtensibilityStrings");_u.ExtensibilityStrings.l_DeleteAttachmentDoesNotExist_Text="첨부 파일 인덱스가 있는 첨부 파일을 찾을 수 없으므로 첨부 파일을 삭제할 수 없습니다.";_u.ExtensibilityStrings.l_EwsRequestOversized_Text="요청이 제한 크기 1MB를 초과합니다. EWS 요청을 수정하십시오.";_u.ExtensibilityStrings.l_ElevatedPermissionNeededForMethod_Text="메서드 '{0}'을(를) 호출하려면 관리자 권한이 필요합니다.";_u.ExtensibilityStrings.l_AttachmentErrorName_Text="첨부 파일 오류";_u.ExtensibilityStrings.l_InvalidEventDates_Text="종료일이 시작일보다 빠릅니다.";_u.ExtensibilityStrings.l_DisplayNameTooLong_Text="하나 이상의 제공된 표시 이름이 너무 깁니다.";_u.ExtensibilityStrings.l_NumberOfRecipientsExceeded_Text="필드에 있는 받는 사람의 총 수는 {0}을(를) 초과할 수 없습니다.";_u.ExtensibilityStrings.l_HtmlSanitizationFailure_Text="HTML 삭제가 실패했습니다.";_u.ExtensibilityStrings.l_DataWriteErrorName_Text="데이터 쓰기 오류";_u.ExtensibilityStrings.l_ElevatedPermissionNeeded_Text="JavaScript API for Office의 보호된 멤버에 액세스하려면 관리자 권한이 필요합니다.";_u.ExtensibilityStrings.l_ExceededMaxNumberOfAttachments_Text="메시지에 이미 최대 개수의 첨부 파일이 있으므로 첨부 파일을 추가할 수 없습니다.";_u.ExtensibilityStrings.l_InternalProtocolError_Text="내부 프로토콜 오류입니다. {0}";_u.ExtensibilityStrings.l_AttachmentDeletedBeforeUploadCompletes_Text="업로드가 완료되기 전 사용자가 첨부 파일을 제거했습니다.";_u.ExtensibilityStrings.l_OffsetNotfound_Text="이 타임스탬프에 대한 오프셋을 찾을 수 없습니다.";_u.ExtensibilityStrings.l_AttachmentExceededSize_Text="첨부 파일이 너무 커서 추가할 수 없습니다.";_u.ExtensibilityStrings.l_InvalidEndTime_Text="종료 시간은 시작 시간보다 이전일 수 없습니다.";_u.ExtensibilityStrings.l_ParametersNotAsExpected_Text="주어진 매개 변수가 예상된 형식과 일치하지 않습니다.";_u.ExtensibilityStrings.l_AttachmentUploadGeneralFailure_Text="항목에 첨부 파일을 추가할 수 없습니다.";_u.ExtensibilityStrings.l_NoValidRecipientsProvided_Text="제공된 받는 사람이 유효하지 않습니다.";_u.ExtensibilityStrings.l_InvalidAttachmentId_Text="첨부 파일 ID가 잘못되었습니다.";_u.ExtensibilityStrings.l_CannotAddAttachmentBeforeUpgrade_Text="서버에서 전체 회신 또는 전달을 검색하는 중에는 첨부 파일을 추가할 수 없습니다.";_u.ExtensibilityStrings.l_EmailAddressTooLong_Text="하나 이상의 제공된 전자 메일 주소가 너무 깁니다.";_u.ExtensibilityStrings.l_InvalidAttachmentPath_Text="첨부 파일 경로가 잘못되었습니다.";_u.ExtensibilityStrings.l_AttachmentDeleteGeneralFailure_Text="항목에서 첨부 파일을 삭제할 수 없습니다.";_u.ExtensibilityStrings.l_InternalFormatError_Text="내부 형식 오류가 발생했습니다.";_u.ExtensibilityStrings.l_InvalidDate_Text="입력값이 유효한 날짜와 맞지 않습니다.";_u.ExtensibilityStrings.l_CursorPositionChanged_Text="데이터를 삽입하던 중 사용자가 커서의 위치를 변경했습니다." -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/Scripts/Office/1.1/zh-cn/outlook_strings.debug.js: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | Type.registerNamespace("_u"); 3 | _u.ExtensibilityStrings = function() 4 | { 5 | }; 6 | _u.ExtensibilityStrings.registerClass("_u.ExtensibilityStrings"); 7 | _u.ExtensibilityStrings.l_DeleteAttachmentDoesNotExist_Text = "无法删除附件,因为找不到具有附件索引的附件。"; 8 | _u.ExtensibilityStrings.l_EwsRequestOversized_Text = "请求超出 1 MB 大小限制。请修改您的 EWS 请求。"; 9 | _u.ExtensibilityStrings.l_ElevatedPermissionNeededForMethod_Text = "调用该方法需要提升的权限:“{0}”。"; 10 | _u.ExtensibilityStrings.l_AttachmentErrorName_Text = "附件错误"; 11 | _u.ExtensibilityStrings.l_InvalidEventDates_Text = "结束日期早于开始日期。"; 12 | _u.ExtensibilityStrings.l_DisplayNameTooLong_Text = "提供的一个或多个显示名称太长。"; 13 | _u.ExtensibilityStrings.l_NumberOfRecipientsExceeded_Text = "字段中的收件人总数不能超过 {0}。"; 14 | _u.ExtensibilityStrings.l_HtmlSanitizationFailure_Text = "HTML 清理失败。"; 15 | _u.ExtensibilityStrings.l_DataWriteErrorName_Text = "数据写入错误"; 16 | _u.ExtensibilityStrings.l_ElevatedPermissionNeeded_Text = "访问 Office 的 JavaScript API 受保护成员需要提升的权限。"; 17 | _u.ExtensibilityStrings.l_ExceededMaxNumberOfAttachments_Text = "无法添加附件,因为邮件的附件数已达到最大数目"; 18 | _u.ExtensibilityStrings.l_InternalProtocolError_Text = "内部协议错误:“{0}”。"; 19 | _u.ExtensibilityStrings.l_AttachmentDeletedBeforeUploadCompletes_Text = "在完成上载之前,用户删除了附件。"; 20 | _u.ExtensibilityStrings.l_OffsetNotfound_Text = "无法找到此时间戳的偏移量。"; 21 | _u.ExtensibilityStrings.l_AttachmentExceededSize_Text = "该附件太大,无法添加。"; 22 | _u.ExtensibilityStrings.l_InvalidEndTime_Text = "结束时间不能早于开始时间。"; 23 | _u.ExtensibilityStrings.l_ParametersNotAsExpected_Text = "给定参数与预期格式不匹配。"; 24 | _u.ExtensibilityStrings.l_AttachmentUploadGeneralFailure_Text = "无法向项目添加附件。"; 25 | _u.ExtensibilityStrings.l_NoValidRecipientsProvided_Text = "未提供有效的收件人。"; 26 | _u.ExtensibilityStrings.l_InvalidAttachmentId_Text = "附件 ID 无效。"; 27 | _u.ExtensibilityStrings.l_CannotAddAttachmentBeforeUpgrade_Text = "正在从服务器检索完整的答复或转发时,无法添加附件。"; 28 | _u.ExtensibilityStrings.l_EmailAddressTooLong_Text = "提供的一个或多个电子邮件地址太长。"; 29 | _u.ExtensibilityStrings.l_InvalidAttachmentPath_Text = "附件路径无效。"; 30 | _u.ExtensibilityStrings.l_AttachmentDeleteGeneralFailure_Text = "无法从项目中删除附件。"; 31 | _u.ExtensibilityStrings.l_InternalFormatError_Text = "存在内部格式错误。"; 32 | _u.ExtensibilityStrings.l_InvalidDate_Text = "此输入无法解析为有效的日期。"; 33 | _u.ExtensibilityStrings.l_CursorPositionChanged_Text = "用户在插入数据时更改了光标的位置。" 34 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/Scripts/Office/1.1/zh-cn/outlook_strings.js: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | Type.registerNamespace("_u");_u.ExtensibilityStrings=function(){};_u.ExtensibilityStrings.registerClass("_u.ExtensibilityStrings");_u.ExtensibilityStrings.l_DeleteAttachmentDoesNotExist_Text="无法删除附件,因为找不到具有附件索引的附件。";_u.ExtensibilityStrings.l_EwsRequestOversized_Text="请求超出 1 MB 大小限制。请修改您的 EWS 请求。";_u.ExtensibilityStrings.l_ElevatedPermissionNeededForMethod_Text="调用该方法需要提升的权限:“{0}”。";_u.ExtensibilityStrings.l_AttachmentErrorName_Text="附件错误";_u.ExtensibilityStrings.l_InvalidEventDates_Text="结束日期早于开始日期。";_u.ExtensibilityStrings.l_DisplayNameTooLong_Text="提供的一个或多个显示名称太长。";_u.ExtensibilityStrings.l_NumberOfRecipientsExceeded_Text="字段中的收件人总数不能超过 {0}。";_u.ExtensibilityStrings.l_HtmlSanitizationFailure_Text="HTML 清理失败。";_u.ExtensibilityStrings.l_DataWriteErrorName_Text="数据写入错误";_u.ExtensibilityStrings.l_ElevatedPermissionNeeded_Text="访问 Office 的 JavaScript API 受保护成员需要提升的权限。";_u.ExtensibilityStrings.l_ExceededMaxNumberOfAttachments_Text="无法添加附件,因为邮件的附件数已达到最大数目";_u.ExtensibilityStrings.l_InternalProtocolError_Text="内部协议错误:“{0}”。";_u.ExtensibilityStrings.l_AttachmentDeletedBeforeUploadCompletes_Text="在完成上载之前,用户删除了附件。";_u.ExtensibilityStrings.l_OffsetNotfound_Text="无法找到此时间戳的偏移量。";_u.ExtensibilityStrings.l_AttachmentExceededSize_Text="该附件太大,无法添加。";_u.ExtensibilityStrings.l_InvalidEndTime_Text="结束时间不能早于开始时间。";_u.ExtensibilityStrings.l_ParametersNotAsExpected_Text="给定参数与预期格式不匹配。";_u.ExtensibilityStrings.l_AttachmentUploadGeneralFailure_Text="无法向项目添加附件。";_u.ExtensibilityStrings.l_NoValidRecipientsProvided_Text="未提供有效的收件人。";_u.ExtensibilityStrings.l_InvalidAttachmentId_Text="附件 ID 无效。";_u.ExtensibilityStrings.l_CannotAddAttachmentBeforeUpgrade_Text="正在从服务器检索完整的答复或转发时,无法添加附件。";_u.ExtensibilityStrings.l_EmailAddressTooLong_Text="提供的一个或多个电子邮件地址太长。";_u.ExtensibilityStrings.l_InvalidAttachmentPath_Text="附件路径无效。";_u.ExtensibilityStrings.l_AttachmentDeleteGeneralFailure_Text="无法从项目中删除附件。";_u.ExtensibilityStrings.l_InternalFormatError_Text="存在内部格式错误。";_u.ExtensibilityStrings.l_InvalidDate_Text="此输入无法解析为有效的日期。";_u.ExtensibilityStrings.l_CursorPositionChanged_Text="用户在插入数据时更改了光标的位置。" -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/Scripts/Office/1.1/zh-tw/outlook_strings.debug.js: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | Type.registerNamespace("_u"); 3 | _u.ExtensibilityStrings = function() 4 | { 5 | }; 6 | _u.ExtensibilityStrings.registerClass("_u.ExtensibilityStrings"); 7 | _u.ExtensibilityStrings.l_DeleteAttachmentDoesNotExist_Text = "無法刪除附件,因為找不到有附件索引的附件。"; 8 | _u.ExtensibilityStrings.l_EwsRequestOversized_Text = "此要求超過 1 MB 的大小限制。請修改您的 EWS 要求。"; 9 | _u.ExtensibilityStrings.l_ElevatedPermissionNeededForMethod_Text = "需要較高的權限,才能呼叫此方法: '{0}'。"; 10 | _u.ExtensibilityStrings.l_AttachmentErrorName_Text = "附件錯誤"; 11 | _u.ExtensibilityStrings.l_InvalidEventDates_Text = "結束日期早於開始日期。"; 12 | _u.ExtensibilityStrings.l_DisplayNameTooLong_Text = "提供的一或多個顯示名稱過長。"; 13 | _u.ExtensibilityStrings.l_NumberOfRecipientsExceeded_Text = "在欄位中的收件者總數不能超過 {0}。"; 14 | _u.ExtensibilityStrings.l_HtmlSanitizationFailure_Text = "HTML 處理已失敗。"; 15 | _u.ExtensibilityStrings.l_DataWriteErrorName_Text = "資料寫入錯誤"; 16 | _u.ExtensibilityStrings.l_ElevatedPermissionNeeded_Text = "需要較高的權限,才能存取適用於 Office 的 JavaScript API 中受保護的成員。"; 17 | _u.ExtensibilityStrings.l_ExceededMaxNumberOfAttachments_Text = "無法新增附件,因為郵件的附件數已達上限"; 18 | _u.ExtensibilityStrings.l_InternalProtocolError_Text = "內部通訊協定錯誤: '{0}'。"; 19 | _u.ExtensibilityStrings.l_AttachmentDeletedBeforeUploadCompletes_Text = "完成上傳之前,使用者即已移除附件。"; 20 | _u.ExtensibilityStrings.l_OffsetNotfound_Text = "找不到這個時間戳記的位移。"; 21 | _u.ExtensibilityStrings.l_AttachmentExceededSize_Text = "附件過大而無法新增。"; 22 | _u.ExtensibilityStrings.l_InvalidEndTime_Text = "結束時間不能早於開始時間。"; 23 | _u.ExtensibilityStrings.l_ParametersNotAsExpected_Text = "指定的參數不符合預期的格式。"; 24 | _u.ExtensibilityStrings.l_AttachmentUploadGeneralFailure_Text = "附件無法新增至項目。"; 25 | _u.ExtensibilityStrings.l_NoValidRecipientsProvided_Text = "未提供有效的收件者。"; 26 | _u.ExtensibilityStrings.l_InvalidAttachmentId_Text = "附件識別碼無效。"; 27 | _u.ExtensibilityStrings.l_CannotAddAttachmentBeforeUpgrade_Text = "從伺服器擷取完整回覆或轉寄時,無法新增附件。"; 28 | _u.ExtensibilityStrings.l_EmailAddressTooLong_Text = "提供的一或多個電子郵件地址過長。"; 29 | _u.ExtensibilityStrings.l_InvalidAttachmentPath_Text = "附件路徑無效。"; 30 | _u.ExtensibilityStrings.l_AttachmentDeleteGeneralFailure_Text = "無法從項目刪除附件。"; 31 | _u.ExtensibilityStrings.l_InternalFormatError_Text = "發生內部格式錯誤。"; 32 | _u.ExtensibilityStrings.l_InvalidDate_Text = "輸入的內容無法解析為有效的日期。"; 33 | _u.ExtensibilityStrings.l_CursorPositionChanged_Text = "插入資料時,使用者變更了游標位置。" 34 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/Scripts/Office/1.1/zh-tw/outlook_strings.js: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | Type.registerNamespace("_u");_u.ExtensibilityStrings=function(){};_u.ExtensibilityStrings.registerClass("_u.ExtensibilityStrings");_u.ExtensibilityStrings.l_DeleteAttachmentDoesNotExist_Text="無法刪除附件,因為找不到有附件索引的附件。";_u.ExtensibilityStrings.l_EwsRequestOversized_Text="此要求超過 1 MB 的大小限制。請修改您的 EWS 要求。";_u.ExtensibilityStrings.l_ElevatedPermissionNeededForMethod_Text="需要較高的權限,才能呼叫此方法: '{0}'。";_u.ExtensibilityStrings.l_AttachmentErrorName_Text="附件錯誤";_u.ExtensibilityStrings.l_InvalidEventDates_Text="結束日期早於開始日期。";_u.ExtensibilityStrings.l_DisplayNameTooLong_Text="提供的一或多個顯示名稱過長。";_u.ExtensibilityStrings.l_NumberOfRecipientsExceeded_Text="在欄位中的收件者總數不能超過 {0}。";_u.ExtensibilityStrings.l_HtmlSanitizationFailure_Text="HTML 處理已失敗。";_u.ExtensibilityStrings.l_DataWriteErrorName_Text="資料寫入錯誤";_u.ExtensibilityStrings.l_ElevatedPermissionNeeded_Text="需要較高的權限,才能存取適用於 Office 的 JavaScript API 中受保護的成員。";_u.ExtensibilityStrings.l_ExceededMaxNumberOfAttachments_Text="無法新增附件,因為郵件的附件數已達上限";_u.ExtensibilityStrings.l_InternalProtocolError_Text="內部通訊協定錯誤: '{0}'。";_u.ExtensibilityStrings.l_AttachmentDeletedBeforeUploadCompletes_Text="完成上傳之前,使用者即已移除附件。";_u.ExtensibilityStrings.l_OffsetNotfound_Text="找不到這個時間戳記的位移。";_u.ExtensibilityStrings.l_AttachmentExceededSize_Text="附件過大而無法新增。";_u.ExtensibilityStrings.l_InvalidEndTime_Text="結束時間不能早於開始時間。";_u.ExtensibilityStrings.l_ParametersNotAsExpected_Text="指定的參數不符合預期的格式。";_u.ExtensibilityStrings.l_AttachmentUploadGeneralFailure_Text="附件無法新增至項目。";_u.ExtensibilityStrings.l_NoValidRecipientsProvided_Text="未提供有效的收件者。";_u.ExtensibilityStrings.l_InvalidAttachmentId_Text="附件識別碼無效。";_u.ExtensibilityStrings.l_CannotAddAttachmentBeforeUpgrade_Text="從伺服器擷取完整回覆或轉寄時,無法新增附件。";_u.ExtensibilityStrings.l_EmailAddressTooLong_Text="提供的一或多個電子郵件地址過長。";_u.ExtensibilityStrings.l_InvalidAttachmentPath_Text="附件路徑無效。";_u.ExtensibilityStrings.l_AttachmentDeleteGeneralFailure_Text="無法從項目刪除附件。";_u.ExtensibilityStrings.l_InternalFormatError_Text="發生內部格式錯誤。";_u.ExtensibilityStrings.l_InvalidDate_Text="輸入的內容無法解析為有效的日期。";_u.ExtensibilityStrings.l_CursorPositionChanged_Text="插入資料時,使用者變更了游標位置。" -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/Scripts/_officeintellisense.js: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | 3 | // This file is generated by Visual Studio to enable IntelliSense for the Office JavaScript Object Model. 4 | 5 | var Office = new function() { 6 | this._appContext = 23; 7 | this._showAll = true; 8 | this._setContext = { 9 | 10 | }; 11 | } 12 | 13 | // 1 Excel appContext = 001 14 | // 2 Word appContext = 010 15 | // 3 Word + Excel appContext = 011 16 | // 4 Project appContext = 100 17 | // 5 Project + Excel appContext = 101 18 | // 6 Project + Word appContext = 110 19 | // 7 Project + Word + Excel appContext = 111 20 | // 8 Outlook read-form appContext = 1000 21 | // 16 PowerPoint appContext = 10000 22 | // 17 PowerPoint + Excel appContext = 10001 23 | // 18 PowerPoint + Word appContext = 10010 24 | // 19 PowerPoint + Word + Excel appContext = 10011 25 | // 20 PowerPoint + Project appContext = 10100 26 | // 21 PowerPoint + Project + Excel appContext = 10101 27 | // 22 PowerPoint + Project + Word appContext = 10110 28 | // 23 PowerPoint + Project + Word + Excel appContext = 10111 29 | // 32 Outlook compose-form appContext = 100000 30 | // 40 Outlook read-form + Outlook compose form appContext = 101000 31 | // 64 Access appContext = 1000000 32 | // 65 Access + Excel appContext = 1000001 33 | // 66 Access + Word appContext = 1000010 34 | // 67 Access + Word + Excel appContext = 1000011 35 | // 68 Access + Project appContext = 1000100 36 | // 69 Access + Project + Excel appContext = 1000101 37 | // 70 Access + Project + Word appContext = 1000110 38 | // 71 Access + Project + Word + Excel appContext = 1000111 39 | // 80 Access + PowerPoint appContext = 1010000 40 | // 81 Access + PowerPoint + Excel appContext = 1010001 41 | // 82 Access + PowerPoint + Word appContext = 1010010 42 | // 83 Access + PowerPoint + Word + Excel appContext = 1010011 43 | // 84 Access + PowerPoint + Project appContext = 1010100 44 | // 85 Access + PowerPoint + Project + Excel appContext = 1010101 45 | // 86 Access + PowerPoint + Project + Word appContext = 1010110 46 | // 87 Access + PowerPoint + Project + Word + Excel appContext = 1010111 47 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/Scripts/_references.js: -------------------------------------------------------------------------------- 1 | /// 2 | //Sample license text. 3 | 4 | /* Required to correctly initalize Office.js for intellisense */ 5 | /// 6 | /* Use offline copy of Office.js for intellisense */ 7 | // /// 8 | // /// 9 | /* Use online copy of Office.js for intellisense */ 10 | /// 11 | /// 12 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/Web.Debug.config: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 20 | 21 | 32 | 33 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/Web.Release.config: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 20 | 21 | 22 | 33 | 34 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/Web.config: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/OfficeApp1Web/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/PHPWebProject1/NewFolder1/Class1.php: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 rubicon IT GmbH 3 | */ 4 | 5 | 2 | 3 | 4 | Debug 5 | PHPWebProject1 6 | 68198f91-4cd7-429e-901c-ef6d7a81e282 7 | Library 8 | 9 | 10 | {A0786B88-2ADB-4C21-ABE8-AA2D79766269} 11 | PHPWebProject1 12 | 13 | 14 | true 15 | 16 | 17 | false 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | NewFolder1\testFolder.licenseheader 27 | 28 | 29 | TypeScriptHTMLApp1.licenseheader 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/PHPWebProject1/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/PythonApplication1/NewFolder1/class1.py: -------------------------------------------------------------------------------- 1 | class class1(object): 2 | """description of class""" 3 | 4 | 5 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/PythonApplication1/NewFolder2/PythonApplication1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/PythonApplication1/NewFolder2/PythonApplication1.py -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/PythonApplication1/NewFolder3/NewFolder1/class1.py: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 rubicon IT GmbH 3 | */ 4 | 5 | class class1(object): 6 | """description of class""" 7 | 8 | 9 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/PythonApplication1/NewFolder3/class1.py: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 rubicon IT GmbH 3 | */ 4 | 5 | class class1(object): 6 | """description of class""" 7 | 8 | 9 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/PythonApplication1/PythonApplication1.py: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 rubicon IT GmbH 3 | */ 4 | 5 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/PythonToolsLinks1/PythonTools.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/PythonToolsLinks1/PythonTools.html -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/PythonToolsLinks1/PythonToolsLinks1.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Debug 5 | AnyCPU 6 | 8.0.30703 7 | 2.0 8 | {ACB75143-10C4-4687-85EF-84CBCE53B954} 9 | Library 10 | Properties 11 | PythonToolsLinks1 12 | PythonToolsLinks1 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | NewFolder1\TypeScriptHTMLApp1.licenseheader 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/PythonToolsLinks1/vslogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rubicon-oss/LicenseHeaderManager/9c9e3627dabaefe1462a1adcb18c39e28f6e320b/TestSolution/LHM-CsProjTest/PythonToolsLinks1/vslogo.png -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/ReportsApplication1/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/ReportsApplication1/Form1.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ReportsApplication1 2 | { 3 | partial class Form1 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.reportViewer1 = new Microsoft.Reporting.WinForms.ReportViewer(); 32 | this.SuspendLayout(); 33 | // 34 | // reportViewer1 35 | // 36 | this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; 37 | this.reportViewer1.Location = new System.Drawing.Point(0, 0); 38 | this.reportViewer1.Name = "reportViewer1"; 39 | this.reportViewer1.Size = new System.Drawing.Size(682, 386); 40 | this.reportViewer1.TabIndex = 0; 41 | // 42 | // Form1 43 | // 44 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 45 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 46 | this.ClientSize = new System.Drawing.Size(682, 386); 47 | this.Controls.Add(this.reportViewer1); 48 | this.Name = "Form1"; 49 | this.Text = "Form1"; 50 | this.Load += new System.EventHandler(this.Form1_Load); 51 | this.ResumeLayout(false); 52 | 53 | } 54 | 55 | #endregion 56 | 57 | private Microsoft.Reporting.WinForms.ReportViewer reportViewer1; 58 | } 59 | } 60 | 61 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/ReportsApplication1/Form1.cs: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | using System; 3 | using System.Collections.Generic; 4 | using System.ComponentModel; 5 | using System.Data; 6 | using System.Drawing; 7 | using System.Linq; 8 | using System.Text; 9 | using System.Threading.Tasks; 10 | using System.Windows.Forms; 11 | 12 | namespace ReportsApplication1 13 | { 14 | public partial class Form1 : Form 15 | { 16 | public Form1() 17 | { 18 | InitializeComponent(); 19 | } 20 | 21 | private void Form1_Load(object sender, EventArgs e) 22 | { 23 | this.reportViewer1.RefreshReport(); 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/ReportsApplication1/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using System.Windows.Forms; 6 | 7 | namespace ReportsApplication1 8 | { 9 | static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | static void Main() 16 | { 17 | Application.EnableVisualStyles(); 18 | Application.SetCompatibleTextRenderingDefault(false); 19 | Application.Run(new Form1()); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/ReportsApplication1/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //Sample license text. 2 | using System.Reflection; 3 | using System.Runtime.CompilerServices; 4 | using System.Runtime.InteropServices; 5 | 6 | // General Information about an assembly is controlled through the following 7 | // set of attributes. Change these attribute values to modify the information 8 | // associated with an assembly. 9 | [assembly: AssemblyTitle("ReportsApplication1")] 10 | [assembly: AssemblyDescription("")] 11 | [assembly: AssemblyConfiguration("")] 12 | [assembly: AssemblyCompany("")] 13 | [assembly: AssemblyProduct("ReportsApplication1")] 14 | [assembly: AssemblyCopyright("Copyright © 2016")] 15 | [assembly: AssemblyTrademark("")] 16 | [assembly: AssemblyCulture("")] 17 | 18 | // Setting ComVisible to false makes the types in this assembly not visible 19 | // to COM components. If you need to access a type in this assembly from 20 | // COM, set the ComVisible attribute to true on that type. 21 | [assembly: ComVisible(false)] 22 | 23 | // The following GUID is for the ID of the typelib if this project is exposed to COM 24 | [assembly: Guid("f9f31aea-616f-46d7-ad4f-127940c334d7")] 25 | 26 | // Version information for an assembly consists of the following four values: 27 | // 28 | // Major Version 29 | // Minor Version 30 | // Build Number 31 | // Revision 32 | // 33 | [assembly: AssemblyVersion("1.0.0.0")] 34 | [assembly: AssemblyFileVersion("1.0.0.0")] 35 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/ReportsApplication1/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace ReportsApplication1.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/ReportsApplication1/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/ReportsApplication1/Report1.rdlc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6.5in 4 | 5 | 2in 6 | 7 | true 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/ReportsApplication1/ReportsApplication1.licenseheader: -------------------------------------------------------------------------------- 1 | extensions: designer.cs generated.cs 2 | extensions: .cs .cpp .h 3 | //Sample license text. 4 | extensions: .aspx .ascx 5 | <%-- 6 | Sample license text. 7 | --%> 8 | extensions: .vb 9 | 'Sample license text. 10 | extensions: .xml .config .xsd 11 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/Settings.FSharpLint: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/SetupProject1/Include1.wxi: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/SetupProject1/NewFolder1/File1.wxs: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/SetupProject1/NewFolder1/Include1.wxi: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/SetupProject1/NewFolder1/NewFolder1/Include1.wxi: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/SetupProject1/NewFolder1/Strings1.wxl: -------------------------------------------------------------------------------- 1 | 2 | 3 | Your localized string 4 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/SetupProject1/Product.wxs: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/SetupProject1/Script1.ps1: -------------------------------------------------------------------------------- 1 | # 2 | # Script1.ps1 3 | # 4 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/SetupProject1/Script2.ps1: -------------------------------------------------------------------------------- 1 | # 2 | # Script2.ps1 3 | # 4 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/SetupProject1/SetupProject1.licenseheader: -------------------------------------------------------------------------------- 1 | extensions: designer.cs generated.cs 2 | extensions: .cs .cpp .h 3 | //Sample license text. 4 | extensions: .aspx .ascx .ps1 5 | <%-- 6 | Sample license text. 7 | --%> 8 | extensions: .vb 9 | 'Sample license text. 10 | extensions: .xml .config .xsd .wxs .wxi .wxl 11 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/SetupProject1/SetupProject1.wixproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Debug 5 | x86 6 | 3.9 7 | e0cad2fa-c944-44a6-ad2f-d757568d1889 8 | 2.0 9 | SetupProject1 10 | Package 11 | $(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets 12 | $(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets 13 | 14 | 15 | bin\$(Configuration)\ 16 | obj\$(Configuration)\ 17 | Debug 18 | 19 | 20 | bin\$(Configuration)\ 21 | obj\$(Configuration)\ 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 44 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/SetupProject1/testFolder.licenseheader: -------------------------------------------------------------------------------- 1 | extensions: designer.cs generated.cs 2 | extensions: .cs .cpp .h .ts .wxi .wxs .py .php .js .css .html 3 | /* 4 | * Copyright (c) 2011 rubicon IT GmbH 5 | */ 6 | 7 | extensions: .aspx .ascx 8 | <%-- 9 | Copyright (c) 2011 rubicon IT GmbH 10 | --%> 11 | extensions: .vb 12 | 'Sample license text. 13 | extensions: .xml .config .xsd 14 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/TypeScriptHTMLApp1/TypeScriptHTMLApp1.licenseheader: -------------------------------------------------------------------------------- 1 | extensions: designer.cs generated.cs 2 | extensions: .cs .cpp .h .py 3 | // Copyright (c) 2011 rubicon IT GmbH 4 | extensions: .aspx .ascx 5 | <%-- 6 | Copyright (c) 2011 rubicon IT GmbH 7 | --%> 8 | extensions: .vb 9 | 'Sample license text. 10 | extensions: .xml .config .xsd 11 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/TypeScriptHTMLApp1/app.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: 'Segoe UI', sans-serif; 3 | } 4 | 5 | span { 6 | font-style: italic; 7 | } 8 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/TypeScriptHTMLApp1/app.js: -------------------------------------------------------------------------------- 1 | var Greeter = (function () { 2 | function Greeter(element) { 3 | this.element = element; 4 | this.element.innerHTML += "The time is: "; 5 | this.span = document.createElement('span'); 6 | this.element.appendChild(this.span); 7 | this.span.innerText = new Date().toUTCString(); 8 | } 9 | Greeter.prototype.start = function () { 10 | var _this = this; 11 | this.timerToken = setInterval(function () { 12 | return _this.span.innerHTML = new Date().toUTCString(); 13 | }, 500); 14 | }; 15 | 16 | Greeter.prototype.stop = function () { 17 | clearTimeout(this.timerToken); 18 | }; 19 | return Greeter; 20 | })(); 21 | 22 | window.onload = function () { 23 | var el = document.getElementById('content'); 24 | var greeter = new Greeter(el); 25 | greeter.start(); 26 | }; 27 | //# sourceMappingURL=app.js.map 28 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/TypeScriptHTMLApp1/app.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"app.js","sourceRoot":"","sources":["app.ts"],"names":["Greeter","Greeter.constructor","Greeter.start","Greeter.stop"],"mappings":"AAAA;IAKIA,iBAAYA,OAAoBA;QAC5BC,IAAIA,CAACA,OAAOA,GAAGA,OAAOA;QACtBA,IAAIA,CAACA,OAAOA,CAACA,SAASA,IAAIA,eAAeA;QACzCA,IAAIA,CAACA,IAAIA,GAAGA,QAAQA,CAACA,aAAaA,CAACA,MAAMA,CAACA;QAC1CA,IAAIA,CAACA,OAAOA,CAACA,WAAWA,CAACA,IAAIA,CAACA,IAAIA,CAACA;QACnCA,IAAIA,CAACA,IAAIA,CAACA,SAASA,GAAGA,IAAIA,IAAIA,CAACA,CAACA,CAACA,WAAWA,CAACA,CAACA;IAClDA,CAACA;IAEDD,0BAAAA;QAAAE,iBAECA;QADGA,IAAIA,CAACA,UAAUA,GAAGA,WAAWA,CAACA;mBAAMA,KAAIA,CAACA,IAAIA,CAACA,SAASA,GAAGA,IAAIA,IAAIA,CAACA,CAACA,CAACA,WAAWA,CAACA,CAACA;QAA9CA,CAA8CA,EAAEA,GAAGA,CAACA;IAC5FA,CAACA;;IAEDF,yBAAAA;QACIG,YAAYA,CAACA,IAAIA,CAACA,UAAUA,CAACA;IACjCA,CAACA;IAELH,eAACA;AAADA,CAACA,IAAA;;AAED,MAAM,CAAC,MAAM,GAAG;IACZ,IAAI,EAAE,GAAG,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC;IAC3C,IAAI,OAAO,GAAG,IAAI,OAAO,CAAC,EAAE,CAAC;IAC7B,OAAO,CAAC,KAAK,CAAC,CAAC;AACnB,CAAC"} -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/TypeScriptHTMLApp1/app.ts: -------------------------------------------------------------------------------- 1 | class Greeter { 2 | element: HTMLElement; 3 | span: HTMLElement; 4 | timerToken: number; 5 | 6 | constructor(element: HTMLElement) { 7 | this.element = element; 8 | this.element.innerHTML += "The time is: "; 9 | this.span = document.createElement('span'); 10 | this.element.appendChild(this.span); 11 | this.span.innerText = new Date().toUTCString(); 12 | } 13 | 14 | start() { 15 | this.timerToken = setInterval(() => this.span.innerHTML = new Date().toUTCString(), 500); 16 | } 17 | 18 | stop() { 19 | clearTimeout(this.timerToken); 20 | } 21 | 22 | } 23 | 24 | window.onload = () => { 25 | var el = document.getElementById('content'); 26 | var greeter = new Greeter(el); 27 | greeter.start(); 28 | }; -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/TypeScriptHTMLApp1/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | TypeScript HTML App 7 | 8 | 9 | 10 | 11 | TypeScript HTML App 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/TypeScriptHTMLApp1/testFolder/NewFolder1/file1.js: -------------------------------------------------------------------------------- 1 | //# sourceMappingURL=file1.js.map 2 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/TypeScriptHTMLApp1/testFolder/NewFolder1/file1.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"file1.js","sourceRoot":"","sources":["file1.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/TypeScriptHTMLApp1/testFolder/NewFolder1/file1.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 rubicon IT GmbH 3 | */ 4 | 5 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/TypeScriptHTMLApp1/testFolder/file1.js: -------------------------------------------------------------------------------- 1 | //# sourceMappingURL=file1.js.map 2 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/TypeScriptHTMLApp1/testFolder/file1.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"file1.js","sourceRoot":"","sources":["file1.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/TypeScriptHTMLApp1/testFolder/file1.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 rubicon IT GmbH 3 | */ 4 | 5 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/TypeScriptHTMLApp1/testFolder/testFolder.licenseheader: -------------------------------------------------------------------------------- 1 | extensions: designer.cs generated.cs 2 | extensions: .cs .cpp .h .ts .wxi .wxs .py .php .js .css .html 3 | /* 4 | * Copyright (c) 2011 rubicon IT GmbH 5 | */ 6 | 7 | extensions: .aspx .ascx 8 | <%-- 9 | Copyright (c) 2011 rubicon IT GmbH 10 | --%> 11 | extensions: .vb 12 | 'Sample license text. 13 | extensions: .xml .config .xsd 14 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/TypeScriptHTMLApp1/web.Debug.config: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 20 | 21 | 32 | 33 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/TypeScriptHTMLApp1/web.Release.config: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 20 | 21 | 22 | 33 | 34 | -------------------------------------------------------------------------------- /TestSolution/LHM-CsProjTest/TypeScriptHTMLApp1/web.config: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /license/MIT.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) rubicon IT GmbH 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /nuget.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /teamcity.properties: -------------------------------------------------------------------------------- 1 | MSBuildVersion=16.0 --------------------------------------------------------------------------------
Content goes here
Add home screen content here.
For example:
35 | Find more samples online... 36 |