-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump packages, target .NET 9, remove .NET 6 and .NET 7
- Loading branch information
Showing
24 changed files
with
126 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
src/Facteur.Attachments.IO.Tests/Facteur.Attachments.IO.Tests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
src/Facteur.Compilers.Scriban.Tests/Facteur.Compilers.Scriban.Tests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
....Extensions.DependencyInjection.Tests/Facteur.Extensions.DependencyInjection.Tests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
using System; | ||
using System.Diagnostics.CodeAnalysis; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using Facteur.MsGraph; | ||
using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
|
@@ -27,7 +28,7 @@ public async Task Graph_SendMail_ShouldSend() | |
EmailComposer composer = new(); | ||
EmailRequest request = await composer | ||
.Subject("Hello world") | ||
.From("info@facteur.com") | ||
.From("info@dimescheduler.com") | ||
.To("[email protected]") | ||
.BuildAsync(new TestMailModel { Email = "[email protected]", Name = "Guy Gadbois" }); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
using Microsoft.Kiota.Abstractions.Authentication; | ||
|
||
namespace Facteur.MsGraph | ||
{ | ||
public class TokenProvider : IAccessTokenProvider | ||
{ | ||
public string Token { get; set; } | ||
|
||
public TokenProvider(string token) => Token = token; | ||
|
||
public AllowedHostsValidator AllowedHostsValidator => throw new NotImplementedException(); | ||
|
||
public Task<string> GetAuthorizationTokenAsync(Uri uri, Dictionary<string, object>? additionalAuthenticationContext = null, CancellationToken cancellationToken = default) | ||
Check warning on line 17 in src/Facteur.MsGraph/TokenProvider.cs GitHub Actions / build
Check warning on line 17 in src/Facteur.MsGraph/TokenProvider.cs GitHub Actions / build
Check warning on line 17 in src/Facteur.MsGraph/TokenProvider.cs GitHub Actions / build
|
||
=> Task.FromResult(Token); | ||
} | ||
} |
12 changes: 6 additions & 6 deletions
12
src/Facteur.Resolvers.ViewModel.Test/Facteur.Resolvers.ViewModel.Tests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.