diff --git a/src/Nexus/Program.cs b/src/Nexus/Program.cs index 7118bdef..5709ad20 100644 --- a/src/Nexus/Program.cs +++ b/src/Nexus/Program.cs @@ -76,7 +76,7 @@ ConfigurePipeline(app); // initialize app state - await InitializeAppAsync(app.Services, pathsOptions, securityOptions, app.Logger); + await InitializeAppAsync(app.Services, pathsOptions, app.Logger); // Run app.Run(); @@ -258,7 +258,6 @@ void ConfigurePipeline(WebApplication app) async Task InitializeAppAsync( IServiceProvider serviceProvider, PathsOptions pathsOptions, - SecurityOptions securityOptions, ILogger logger) { var appState = serviceProvider.GetRequiredService(); diff --git a/src/extensibility/dotnet-extensibility/Extensibility/ExtensibilityUtilities.cs b/src/extensibility/dotnet-extensibility/Extensibility/ExtensibilityUtilities.cs index 1246481d..6ffa7077 100644 --- a/src/extensibility/dotnet-extensibility/Extensibility/ExtensibilityUtilities.cs +++ b/src/extensibility/dotnet-extensibility/Extensibility/ExtensibilityUtilities.cs @@ -34,9 +34,4 @@ internal static int CalculateElementCount(DateTime begin, DateTime end, TimeSpan { return (int)((end.Ticks - begin.Ticks) / samplePeriod.Ticks); } - - internal static DateTime RoundDown(DateTime dateTime, TimeSpan timeSpan) - { - return new DateTime(dateTime.Ticks - (dateTime.Ticks % timeSpan.Ticks), dateTime.Kind); - } } \ No newline at end of file