MOVED to https://github.com/dotnet/aspire/blob/main/docs/specs/appmodel.md
This file contains hidden or 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
| function replaceHome($pathArray) { | |
| # Check whether the first three paths are equal to HOME | |
| # If it is, it substitutes it for ~ | |
| # Change this accordingly, if your home path is more than three | |
| # paths long. | |
| $splitChar = [System.IO.Path]::DirectorySeparatorChar | |
| if ( ($pathArray.Length -gt 2) -and | |
| (($pathArray[0..2] -join $splitChar) -eq $HOME)) { | |
| @("~") + $pathArray[3..$pathArray.Length] | |
| } |
This file contains hidden or 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
| public class CustomEventHubDataAdapter : EventHubDataAdapter | |
| { | |
| private readonly SerializationManager serializationManager; | |
| public CustomEventHubDataAdapter(SerializationManager serializationManager) | |
| : base(serializationManager) | |
| { | |
| this.serializationManager = serializationManager; | |
| } |
This file contains hidden or 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
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Globalization; | |
| using System.Linq; | |
| using System.Text; | |
| using Microsoft.Extensions.DependencyInjection; | |
| using Microsoft.Extensions.Hosting; | |
| using Microsoft.Extensions.Logging; |
This file contains hidden or 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
| using BitFaster.Caching; | |
| using BitFaster.Caching.Lru; | |
| using Microsoft.Extensions.Options; | |
| using Orleans.Configuration; | |
| using Orleans.Runtime; | |
| using Orleans.Runtime.GrainDirectory; | |
| using System.Diagnostics.CodeAnalysis; | |
| namespace Orleans.BitFasterCaching.GrainDirectoryCache; |
This file contains hidden or 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
| using System.Collections.Concurrent; | |
| using System.Globalization; | |
| using Orleans.Storage; | |
| // https://www.nuget.org/packages/R3 | |
| using R3; | |
| using Xunit.Sdk; | |
| namespace Egil.Orleans.Storage.Testing; | |
| public sealed class ObservableMemoryStorage : IGrainStorage |
OlderNewer