diff --git a/.editorconfig b/.editorconfig index 8bcf06c..fba76c5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -200,6 +200,9 @@ dotnet_diagnostic.SA1629.severity=silent dotnet_diagnostic.SA1611.severity=silent dotnet_diagnostic.SA1615.severity=silent +## Header +file_header_template = Copyright (c) Ubisoft. All Rights Reserved.\nLicensed under the Apache License, Version 2.0. + ## Naming conventions # IDE0090: Use 'new(...)' diff --git a/Directory.Build.props b/Directory.Build.props index 2c71975..9b39413 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -8,7 +8,7 @@ 0.0.0 - 9.0 + 10.0 net6.0-windows true strict @@ -20,11 +20,17 @@ $(DefaultItemExcludes);publish/**/* enable false + enable False + + + + + diff --git a/GitTimelapseView.Core/Common/GitExecutableFinder.cs b/GitTimelapseView.Core/Common/GitExecutableFinder.cs index ca738a4..82e2abb 100644 --- a/GitTimelapseView.Core/Common/GitExecutableFinder.cs +++ b/GitTimelapseView.Core/Common/GitExecutableFinder.cs @@ -1,5 +1,6 @@ -using System; -using System.IO; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using Microsoft.Win32; namespace GitTimelapseView.Common diff --git a/GitTimelapseView.Core/Common/GitHelpers.cs b/GitTimelapseView.Core/Common/GitHelpers.cs index c76bb13..25b842c 100644 --- a/GitTimelapseView.Core/Common/GitHelpers.cs +++ b/GitTimelapseView.Core/Common/GitHelpers.cs @@ -1,8 +1,7 @@ -using System; -using System.Collections.Generic; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using System.Diagnostics; -using System.IO; -using System.Linq; using System.Text; using GitTimelapseView.Common; using LibGit2Sharp; diff --git a/GitTimelapseView.Core/Common/StringExtensions.cs b/GitTimelapseView.Core/Common/StringExtensions.cs index 556beb3..8f26bf2 100644 --- a/GitTimelapseView.Core/Common/StringExtensions.cs +++ b/GitTimelapseView.Core/Common/StringExtensions.cs @@ -1,5 +1,6 @@ -using System; -using System.Collections.Generic; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using System.Text; namespace GitTimelapseView.Common diff --git a/GitTimelapseView.Core/Models/BlameBlock.cs b/GitTimelapseView.Core/Models/BlameBlock.cs index f5b4c2e..2f48563 100644 --- a/GitTimelapseView.Core/Models/BlameBlock.cs +++ b/GitTimelapseView.Core/Models/BlameBlock.cs @@ -1,4 +1,6 @@ -using System.Collections.Generic; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using GitTimelapseView.Common; using LibGit2Sharp; diff --git a/GitTimelapseView.Core/Models/Commit.cs b/GitTimelapseView.Core/Models/Commit.cs index 5575389..40ab123 100644 --- a/GitTimelapseView.Core/Models/Commit.cs +++ b/GitTimelapseView.Core/Models/Commit.cs @@ -1,7 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using GitTimelapseView.Core.Common; using LibGit2Sharp; using Microsoft.Extensions.Logging; diff --git a/GitTimelapseView.Core/Models/FileChange.cs b/GitTimelapseView.Core/Models/FileChange.cs index 67b43d6..57991f6 100644 --- a/GitTimelapseView.Core/Models/FileChange.cs +++ b/GitTimelapseView.Core/Models/FileChange.cs @@ -1,4 +1,7 @@ -using LibGit2Sharp; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +using LibGit2Sharp; namespace GitTimelapseView.Core.Models { diff --git a/GitTimelapseView.Core/Models/FileHistory.cs b/GitTimelapseView.Core/Models/FileHistory.cs index 04e7def..cf23312 100644 --- a/GitTimelapseView.Core/Models/FileHistory.cs +++ b/GitTimelapseView.Core/Models/FileHistory.cs @@ -1,10 +1,8 @@ -using System; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using System.Collections.Concurrent; -using System.Collections.Generic; -using System.IO; -using System.Linq; using System.Text.RegularExpressions; -using System.Threading.Tasks; using GitTimelapseView.Common; using GitTimelapseView.Core.Common; using LibGit2Sharp; diff --git a/GitTimelapseView.Core/Models/FileRevision.cs b/GitTimelapseView.Core/Models/FileRevision.cs index 735a74a..c395587 100644 --- a/GitTimelapseView.Core/Models/FileRevision.cs +++ b/GitTimelapseView.Core/Models/FileRevision.cs @@ -1,7 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using GitTimelapseView.Core.Common; using LibGit2Sharp; using Microsoft.Extensions.Logging; diff --git a/GitTimelapseView.Extensions/ActionState.cs b/GitTimelapseView.Extensions/ActionState.cs index bfd41c8..ba040c0 100644 --- a/GitTimelapseView.Extensions/ActionState.cs +++ b/GitTimelapseView.Extensions/ActionState.cs @@ -1,4 +1,7 @@ -namespace GitTimelapseView.Extensions +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +namespace GitTimelapseView.Extensions { public enum ActionState { diff --git a/GitTimelapseView.Extensions/IAction.cs b/GitTimelapseView.Extensions/IAction.cs index 23ef9c1..c75b90e 100644 --- a/GitTimelapseView.Extensions/IAction.cs +++ b/GitTimelapseView.Extensions/IAction.cs @@ -1,4 +1,5 @@ -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. namespace GitTimelapseView.Extensions { diff --git a/GitTimelapseView.Extensions/IActionContext.cs b/GitTimelapseView.Extensions/IActionContext.cs index 873c841..7379137 100644 --- a/GitTimelapseView.Extensions/IActionContext.cs +++ b/GitTimelapseView.Extensions/IActionContext.cs @@ -1,5 +1,6 @@ -using System; -using System.Collections.Generic; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using Microsoft.Extensions.Logging; namespace GitTimelapseView.Extensions diff --git a/GitTimelapseView.Extensions/IAppInfo.cs b/GitTimelapseView.Extensions/IAppInfo.cs index ea1b7f4..d6e6c0d 100644 --- a/GitTimelapseView.Extensions/IAppInfo.cs +++ b/GitTimelapseView.Extensions/IAppInfo.cs @@ -1,4 +1,7 @@ -namespace GitTimelapseView.Extensions +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +namespace GitTimelapseView.Extensions { public interface IAppInfo { diff --git a/GitTimelapseView.Extensions/IPlugin.cs b/GitTimelapseView.Extensions/IPlugin.cs index 8fe3e12..c7dede0 100644 --- a/GitTimelapseView.Extensions/IPlugin.cs +++ b/GitTimelapseView.Extensions/IPlugin.cs @@ -1,4 +1,7 @@ -using Microsoft.Extensions.DependencyInjection; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +using Microsoft.Extensions.DependencyInjection; namespace GitTimelapseView.Extensions { diff --git a/GitTimelapseView.Extensions/IService.cs b/GitTimelapseView.Extensions/IService.cs index aa5f5be..7b97d7a 100644 --- a/GitTimelapseView.Extensions/IService.cs +++ b/GitTimelapseView.Extensions/IService.cs @@ -1,4 +1,6 @@ -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using Microsoft.Extensions.Logging; namespace GitTimelapseView.Extensions diff --git a/GitTimelapseView.Extensions/ITelemetryProvider.cs b/GitTimelapseView.Extensions/ITelemetryProvider.cs index af01403..2f5868f 100644 --- a/GitTimelapseView.Extensions/ITelemetryProvider.cs +++ b/GitTimelapseView.Extensions/ITelemetryProvider.cs @@ -1,6 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using Microsoft.Extensions.Logging; namespace GitTimelapseView.Extensions diff --git a/GitTimelapseView.Extensions/ITitleBarActionProvider.cs b/GitTimelapseView.Extensions/ITitleBarActionProvider.cs index c402fef..e949847 100644 --- a/GitTimelapseView.Extensions/ITitleBarActionProvider.cs +++ b/GitTimelapseView.Extensions/ITitleBarActionProvider.cs @@ -1,4 +1,5 @@ -using System.Collections.Generic; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. namespace GitTimelapseView.Extensions { diff --git a/GitTimelapseView.Extensions/IUserInfoProvider.cs b/GitTimelapseView.Extensions/IUserInfoProvider.cs index fa03ee5..3bcc2eb 100644 --- a/GitTimelapseView.Extensions/IUserInfoProvider.cs +++ b/GitTimelapseView.Extensions/IUserInfoProvider.cs @@ -1,4 +1,5 @@ -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. namespace GitTimelapseView.Extensions { diff --git a/GitTimelapseView.Extensions/UserInfo.cs b/GitTimelapseView.Extensions/UserInfo.cs index 3c8c10c..d6ad68a 100644 --- a/GitTimelapseView.Extensions/UserInfo.cs +++ b/GitTimelapseView.Extensions/UserInfo.cs @@ -1,4 +1,7 @@ -namespace GitTimelapseView.Extensions +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +namespace GitTimelapseView.Extensions { public class UserInfo { diff --git a/GitTimelapseView.Extensions/VisualFeedback.cs b/GitTimelapseView.Extensions/VisualFeedback.cs index 1c199c4..f51e91a 100644 --- a/GitTimelapseView.Extensions/VisualFeedback.cs +++ b/GitTimelapseView.Extensions/VisualFeedback.cs @@ -1,4 +1,7 @@ -namespace GitTimelapseView.Extensions +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +namespace GitTimelapseView.Extensions { public enum VisualFeedback { diff --git a/GitTimelapseView.Tests/TimelapseHistoryTests.cs b/GitTimelapseView.Tests/TimelapseHistoryTests.cs index c3b256a..6a0b857 100644 --- a/GitTimelapseView.Tests/TimelapseHistoryTests.cs +++ b/GitTimelapseView.Tests/TimelapseHistoryTests.cs @@ -1,4 +1,6 @@ -using System.IO; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using System.Runtime.CompilerServices; using GitTimelapseView.Core.Models; using Microsoft.Extensions.Logging.Abstractions; diff --git a/GitTimelapseView/Actions/AboutAction.cs b/GitTimelapseView/Actions/AboutAction.cs index 4106c45..3149f56 100644 --- a/GitTimelapseView/Actions/AboutAction.cs +++ b/GitTimelapseView/Actions/AboutAction.cs @@ -1,5 +1,7 @@ -using System.Text; -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +using System.Text; using GitTimelapseView.Extensions; using GitTimelapseView.Services; using Microsoft.Extensions.DependencyInjection; diff --git a/GitTimelapseView/Actions/ActionBase.cs b/GitTimelapseView/Actions/ActionBase.cs index a0416b8..dbbbfd5 100644 --- a/GitTimelapseView/Actions/ActionBase.cs +++ b/GitTimelapseView/Actions/ActionBase.cs @@ -1,5 +1,6 @@ -using System; -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using GitTimelapseView.Extensions; namespace GitTimelapseView.Actions diff --git a/GitTimelapseView/Actions/ChangeCurrentRevisionAction.cs b/GitTimelapseView/Actions/ChangeCurrentRevisionAction.cs index d22a6da..3cbdbc9 100644 --- a/GitTimelapseView/Actions/ChangeCurrentRevisionAction.cs +++ b/GitTimelapseView/Actions/ChangeCurrentRevisionAction.cs @@ -1,5 +1,7 @@ -using System.Globalization; -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +using System.Globalization; using GitTimelapseView.Extensions; using GitTimelapseView.Services; using Microsoft.Extensions.DependencyInjection; diff --git a/GitTimelapseView/Actions/CopyToClipboardAction.cs b/GitTimelapseView/Actions/CopyToClipboardAction.cs index 3c23901..171d203 100644 --- a/GitTimelapseView/Actions/CopyToClipboardAction.cs +++ b/GitTimelapseView/Actions/CopyToClipboardAction.cs @@ -1,5 +1,6 @@ -using System; -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using GitTimelapseView.Extensions; using Humanizer; diff --git a/GitTimelapseView/Actions/DiffFileChangeAction.cs b/GitTimelapseView/Actions/DiffFileChangeAction.cs index efd962c..6198b16 100644 --- a/GitTimelapseView/Actions/DiffFileChangeAction.cs +++ b/GitTimelapseView/Actions/DiffFileChangeAction.cs @@ -1,5 +1,7 @@ -using System.IO; -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +using System.IO; using GitTimelapseView.Core.Common; using GitTimelapseView.Core.Models; using GitTimelapseView.Extensions; diff --git a/GitTimelapseView/Actions/ExitApplicationAction.cs b/GitTimelapseView/Actions/ExitApplicationAction.cs index 1a79c85..2bd1eea 100644 --- a/GitTimelapseView/Actions/ExitApplicationAction.cs +++ b/GitTimelapseView/Actions/ExitApplicationAction.cs @@ -1,4 +1,6 @@ -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using GitTimelapseView.Extensions; namespace GitTimelapseView.Actions diff --git a/GitTimelapseView/Actions/OpenFileAction.cs b/GitTimelapseView/Actions/OpenFileAction.cs index 7e7933e..459be78 100644 --- a/GitTimelapseView/Actions/OpenFileAction.cs +++ b/GitTimelapseView/Actions/OpenFileAction.cs @@ -1,4 +1,6 @@ -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using GitTimelapseView.Extensions; using GitTimelapseView.Services; using Microsoft.Extensions.DependencyInjection; diff --git a/GitTimelapseView/Actions/SelectCommitAction.cs b/GitTimelapseView/Actions/SelectCommitAction.cs index e6c8abb..492a5e1 100644 --- a/GitTimelapseView/Actions/SelectCommitAction.cs +++ b/GitTimelapseView/Actions/SelectCommitAction.cs @@ -1,4 +1,6 @@ -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using GitTimelapseView.Core.Models; using GitTimelapseView.Extensions; using GitTimelapseView.Services; diff --git a/GitTimelapseView/Actions/ViewLogsAction.cs b/GitTimelapseView/Actions/ViewLogsAction.cs index 32d0048..dec815d 100644 --- a/GitTimelapseView/Actions/ViewLogsAction.cs +++ b/GitTimelapseView/Actions/ViewLogsAction.cs @@ -1,5 +1,6 @@ -using System.Diagnostics; -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using GitTimelapseView.Extensions; namespace GitTimelapseView.Actions diff --git a/GitTimelapseView/Data/CommitChangeReason.cs b/GitTimelapseView/Data/CommitChangeReason.cs index d6b5e44..c3d33df 100644 --- a/GitTimelapseView/Data/CommitChangeReason.cs +++ b/GitTimelapseView/Data/CommitChangeReason.cs @@ -1,4 +1,7 @@ -namespace GitTimelapseView.Data +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +namespace GitTimelapseView.Data { public enum CommitChangeReason { diff --git a/GitTimelapseView/Data/CommitChangedEventArgs.cs b/GitTimelapseView/Data/CommitChangedEventArgs.cs index 79e349a..9792035 100644 --- a/GitTimelapseView/Data/CommitChangedEventArgs.cs +++ b/GitTimelapseView/Data/CommitChangedEventArgs.cs @@ -1,4 +1,6 @@ -using System; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using GitTimelapseView.Core.Models; namespace GitTimelapseView.Data diff --git a/GitTimelapseView/Data/FileRevisionIndexChangeReason.cs b/GitTimelapseView/Data/FileRevisionIndexChangeReason.cs index 30deb20..10063b3 100644 --- a/GitTimelapseView/Data/FileRevisionIndexChangeReason.cs +++ b/GitTimelapseView/Data/FileRevisionIndexChangeReason.cs @@ -1,4 +1,7 @@ -namespace GitTimelapseView.Data +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +namespace GitTimelapseView.Data { public enum FileRevisionIndexChangeReason { diff --git a/GitTimelapseView/Data/FileRevisionIndexChangedEventArgs.cs b/GitTimelapseView/Data/FileRevisionIndexChangedEventArgs.cs index 45a4891..3ef8351 100644 --- a/GitTimelapseView/Data/FileRevisionIndexChangedEventArgs.cs +++ b/GitTimelapseView/Data/FileRevisionIndexChangedEventArgs.cs @@ -1,4 +1,5 @@ -using System; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. namespace GitTimelapseView.Data { diff --git a/GitTimelapseView/Helpers/ActionExtensions.cs b/GitTimelapseView/Helpers/ActionExtensions.cs index bc3a024..01d34c9 100644 --- a/GitTimelapseView/Helpers/ActionExtensions.cs +++ b/GitTimelapseView/Helpers/ActionExtensions.cs @@ -1,4 +1,6 @@ -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using GitTimelapseView.Extensions; using GitTimelapseView.Services; using Microsoft.Extensions.DependencyInjection; diff --git a/GitTimelapseView/Helpers/BindableBase.cs b/GitTimelapseView/Helpers/BindableBase.cs index 55acb58..32329a1 100644 --- a/GitTimelapseView/Helpers/BindableBase.cs +++ b/GitTimelapseView/Helpers/BindableBase.cs @@ -1,5 +1,6 @@ -using System; -using System.Collections.Generic; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using System.ComponentModel; using System.Runtime.CompilerServices; diff --git a/GitTimelapseView/Helpers/DependencyInjectionExtensions.cs b/GitTimelapseView/Helpers/DependencyInjectionExtensions.cs index e6137cf..6a74535 100644 --- a/GitTimelapseView/Helpers/DependencyInjectionExtensions.cs +++ b/GitTimelapseView/Helpers/DependencyInjectionExtensions.cs @@ -1,4 +1,7 @@ -using GitTimelapseView.Extensions; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +using GitTimelapseView.Extensions; using Microsoft.Extensions.DependencyInjection; namespace GitTimelapseView.Helpers diff --git a/GitTimelapseView/Helpers/NotificationServiceExtensions.cs b/GitTimelapseView/Helpers/NotificationServiceExtensions.cs index 0481d80..9084c82 100644 --- a/GitTimelapseView/Helpers/NotificationServiceExtensions.cs +++ b/GitTimelapseView/Helpers/NotificationServiceExtensions.cs @@ -1,4 +1,6 @@ -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using AntDesign; namespace GitTimelapseView.Helpers diff --git a/GitTimelapseView/Services/ActionService.cs b/GitTimelapseView/Services/ActionService.cs index fddbe9e..b977831 100644 --- a/GitTimelapseView/Services/ActionService.cs +++ b/GitTimelapseView/Services/ActionService.cs @@ -1,8 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Threading; -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using GitTimelapseView.Extensions; using GitTimelapseView.Helpers; using Microsoft.Extensions.Logging; diff --git a/GitTimelapseView/Services/MessagingService.cs b/GitTimelapseView/Services/MessagingService.cs index 018bacd..2b9979b 100644 --- a/GitTimelapseView/Services/MessagingService.cs +++ b/GitTimelapseView/Services/MessagingService.cs @@ -1,4 +1,7 @@ -using System.Windows; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +using System.Windows; using AntDesign; using Microsoft.Extensions.Logging; diff --git a/GitTimelapseView/Services/PageProgressService.cs b/GitTimelapseView/Services/PageProgressService.cs index bd1e2fd..a0a428c 100644 --- a/GitTimelapseView/Services/PageProgressService.cs +++ b/GitTimelapseView/Services/PageProgressService.cs @@ -1,4 +1,7 @@ -using Microsoft.Extensions.Logging; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +using Microsoft.Extensions.Logging; namespace GitTimelapseView.Services { diff --git a/GitTimelapseView/Services/PluginService.cs b/GitTimelapseView/Services/PluginService.cs index f66804b..3a6b5de 100644 --- a/GitTimelapseView/Services/PluginService.cs +++ b/GitTimelapseView/Services/PluginService.cs @@ -1,7 +1,7 @@ -using System; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using System.IO; -using System.Linq; -using System.Reflection; using GitTimelapseView.Extensions; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; diff --git a/GitTimelapseView/Services/ServiceBase.cs b/GitTimelapseView/Services/ServiceBase.cs index 8c149f3..5e61fae 100644 --- a/GitTimelapseView/Services/ServiceBase.cs +++ b/GitTimelapseView/Services/ServiceBase.cs @@ -1,4 +1,6 @@ -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using GitTimelapseView.Extensions; using GitTimelapseView.Helpers; using Microsoft.Extensions.Logging; diff --git a/GitTimelapseView/Services/TelemetryService.cs b/GitTimelapseView/Services/TelemetryService.cs index 622a6d8..3620e03 100644 --- a/GitTimelapseView/Services/TelemetryService.cs +++ b/GitTimelapseView/Services/TelemetryService.cs @@ -1,6 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using GitTimelapseView.Extensions; using Microsoft.Extensions.Logging; diff --git a/GitTimelapseView/Services/ThemeInfo.cs b/GitTimelapseView/Services/ThemeInfo.cs index 4e65927..039fe78 100644 --- a/GitTimelapseView/Services/ThemeInfo.cs +++ b/GitTimelapseView/Services/ThemeInfo.cs @@ -1,4 +1,7 @@ -namespace GitTimelapseView.Services +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +namespace GitTimelapseView.Services { public record ThemeInfo { diff --git a/GitTimelapseView/Services/ThemingService.cs b/GitTimelapseView/Services/ThemingService.cs index 9266e22..d2ce34f 100644 --- a/GitTimelapseView/Services/ThemingService.cs +++ b/GitTimelapseView/Services/ThemingService.cs @@ -1,5 +1,6 @@ -using System; -using System.Linq; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using MaterialDesignThemes.Wpf; using Microsoft.Extensions.Logging; diff --git a/GitTimelapseView/Services/TimelapseService.cs b/GitTimelapseView/Services/TimelapseService.cs index e3b56f8..f134164 100644 --- a/GitTimelapseView/Services/TimelapseService.cs +++ b/GitTimelapseView/Services/TimelapseService.cs @@ -1,6 +1,6 @@ -using System; -using System.Linq; -using System.Threading.Tasks; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using GitTimelapseView.Core.Models; using GitTimelapseView.Data; using Microsoft.Extensions.Logging; diff --git a/GitTimelapseView/Services/UserInfoService.cs b/GitTimelapseView/Services/UserInfoService.cs index 7740da0..2d4671c 100644 --- a/GitTimelapseView/Services/UserInfoService.cs +++ b/GitTimelapseView/Services/UserInfoService.cs @@ -1,8 +1,8 @@ -using System; -using System.Collections.Generic; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using System.Globalization; using System.Text; -using System.Threading.Tasks; using GitTimelapseView.Extensions; using Microsoft.Extensions.Logging; diff --git a/GitTimelapseView/StartupOptions.cs b/GitTimelapseView/StartupOptions.cs index 1b3f7cd..b354bf9 100644 --- a/GitTimelapseView/StartupOptions.cs +++ b/GitTimelapseView/StartupOptions.cs @@ -1,4 +1,7 @@ -using CommandLine; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +using CommandLine; namespace GitTimelapseView { diff --git a/GitTimelapseView/Wpf/App.xaml.cs b/GitTimelapseView/Wpf/App.xaml.cs index 89ddebe..34d1eb4 100644 --- a/GitTimelapseView/Wpf/App.xaml.cs +++ b/GitTimelapseView/Wpf/App.xaml.cs @@ -1,10 +1,7 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using System.IO; -using System.Linq; -using System.Reflection; -using System.Threading.Tasks; using System.Windows; using CommandLine; using GitTimelapseView.Actions; diff --git a/GitTimelapseView/Wpf/Helpers/ActionExtensions.cs b/GitTimelapseView/Wpf/Helpers/ActionExtensions.cs index 96af23f..ec9049e 100644 --- a/GitTimelapseView/Wpf/Helpers/ActionExtensions.cs +++ b/GitTimelapseView/Wpf/Helpers/ActionExtensions.cs @@ -1,5 +1,6 @@ -using System; -using System.Linq; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using System.Windows; using System.Windows.Controls; using System.Windows.Media.Imaging; diff --git a/GitTimelapseView/Wpf/Helpers/FrameworkElementExtensions.cs b/GitTimelapseView/Wpf/Helpers/FrameworkElementExtensions.cs index cdd87a1..fdb51fd 100644 --- a/GitTimelapseView/Wpf/Helpers/FrameworkElementExtensions.cs +++ b/GitTimelapseView/Wpf/Helpers/FrameworkElementExtensions.cs @@ -1,4 +1,7 @@ -using System.Windows; +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + +using System.Windows; using System.Windows.Controls.Primitives; namespace GitTimelapseView.Wpf.Helpers diff --git a/GitTimelapseView/Wpf/MainWindow.xaml.cs b/GitTimelapseView/Wpf/MainWindow.xaml.cs index e84774f..6d91179 100644 --- a/GitTimelapseView/Wpf/MainWindow.xaml.cs +++ b/GitTimelapseView/Wpf/MainWindow.xaml.cs @@ -1,5 +1,7 @@ +// Copyright (c) Ubisoft. All Rights Reserved. +// Licensed under the Apache License, Version 2.0. + using System.IO; -using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Input;