commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
e4e456f8b7dc08f2031d0ef640c65ca5bf46fbcd | Implement ToString() on this view model. | ZocDoc/ZocBuild.Database | ZocBuild.Database.Application/Settings/DatabaseSetting.cs | ZocBuild.Database.Application/Settings/DatabaseSetting.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZocBuild.Database.ScriptRepositories;
using ZocBuild.Database.SqlParser;
namespace ZocBuild.Database.Application.Setting... | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZocBuild.Database.ScriptRepositories;
using ZocBuild.Database.SqlParser;
namespace ZocBuild.Database.Application.Setting... | mit | C# |
779c47602c815bef0c253147275b2a928b2e866d | Remove extra nulable | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Mvc/test/WebSites/BasicWebSite/Controllers/NonNullableApiController.cs | src/Mvc/test/WebSites/BasicWebSite/Controllers/NonNullableApiController.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#nullable enable
using Microsoft.AspNetCore.Mvc;
namespace BasicWebSite.Controllers;
[ApiController]
[Route("api/NonNullable")]
public class NonNullableApiController : ControllerBa... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#nullable enable
using Microsoft.AspNetCore.Mvc;
namespace BasicWebSite.Controllers;
#nullable enable
[ApiController]
[Route("api/NonNullable")]
public class NonNullableApiControl... | apache-2.0 | C# |
4f7d54912a4a5a5ffeb1c9be85a6f58f3e256063 | Change Dictionary to SortedDictionary in FileSettingsProvider. | Grabacr07/MetroTrilithon | source/MetroTrilithon.Desktop/Serialization/FileSettingsProvider.cs | source/MetroTrilithon.Desktop/Serialization/FileSettingsProvider.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xaml;
namespace MetroTrilithon.Serialization
{
public class FileSettingsProvider : ISerializationProvider
{
private readonly string _path;
private readonly object _sync = new object();
private SortedDic... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xaml;
namespace MetroTrilithon.Serialization
{
public class FileSettingsProvider : ISerializationProvider
{
private readonly string _path;
private readonly object _sync = new object();
private Dictionar... | mit | C# |
a39cad740f8581925c29ae1e87390f4faef6582a | Rename to send | phaetto/serviceable-objects | Serviceable.Objects.IO/NamedPipes/Client/NamedPipeClientContext.cs | Serviceable.Objects.IO/NamedPipes/Client/NamedPipeClientContext.cs | namespace Serviceable.Objects.IO.NamedPipes.Client
{
using System.IO.Pipes;
using Newtonsoft.Json;
using Remote;
using Remote.Serialization.Streaming;
public sealed class NamedPipeClientContext: Context<NamedPipeClientContext>
{
// TODO: make client a real proxy content
private... | namespace Serviceable.Objects.IO.NamedPipes.Client
{
using System.IO.Pipes;
using Newtonsoft.Json;
using Remote;
using Remote.Serialization.Streaming;
public sealed class NamedPipeClientContext: Context<NamedPipeClientContext>
{
// TODO: make client a real proxy content
private... | mit | C# |
88045b30aa45e5be8f3f536d26308f43563c5b9c | Bump version to 2.1.1.0 | bobus15/proshine,MeltWS/proshine,Silv3rPRO/proshine | PROShine/Properties/AssemblyInfo.cs | PROShine/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: As... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: As... | mit | C# |
e274c76c4c4989bcbc6ed699ed3d5eaa83bee569 | Test credentials for Enums | Parature/ParatureSDK | ParatureAPITests/TestCredentials.cs | ParatureAPITests/TestCredentials.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Text;
using System.Threading.Tasks;
using ParatureAPI;
namespace ParatureAPITests
{
static class TestCredentials
{
public static ParaCredentials Credentials
{
ge... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Text;
using System.Threading.Tasks;
using ParatureAPI;
namespace ParatureAPITests
{
static class TestCredentials
{
public static ParaCredentials Credentials
{
ge... | mit | C# |
c1855372c1c17fe7b927cb956db5d156b255df47 | Fix CA warning by providing culture. | frackleton/ApplicationInsights-SDK-Labs,Microsoft/ApplicationInsights-SDK-Labs | AggregateMetrics/AggregateMetrics/MetricTelemetryExtensions.cs | AggregateMetrics/AggregateMetrics/MetricTelemetryExtensions.cs | namespace Microsoft.ApplicationInsights.Extensibility.AggregateMetrics
{
using System.Globalization;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.Extensibility.Implementation;
internal static class MetricTelemetryExtensions
{
private const string ... | namespace Microsoft.ApplicationInsights.Extensibility.AggregateMetrics
{
using System.Globalization;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.Extensibility.Implementation;
internal static class MetricTelemetryExtensions
{
private const string ... | mit | C# |
0a6439be8502c5d74c5ff15287ce493f98a74c31 | fix usings | DimitarDKirov/Forum-Paulo-Coelho,DimitarDKirov/Forum-Paulo-Coelho,DimitarDKirov/Forum-Paulo-Coelho | Forum-Paulo-Coelho/ForumSystem.Api/App_Start/IdentityConfig.cs | Forum-Paulo-Coelho/ForumSystem.Api/App_Start/IdentityConfig.cs | namespace ForumSystem.Api
{
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using ForumSystem.Api.Models;
using ForumSystem.Models;
using ForumSystem.Data;... | using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using ForumSystem.Api.Models;
using ForumSystem.Models;
using ForumSystem.Data;
namespace ForumSystem.Api
{
// Configure the application user ... | mit | C# |
dafb0420421e9c2da6490a945763a89a128ee4f9 | Undo repo change | RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast | RightpointLabs.Pourcast.Domain/Repositories/IBeerRepository.cs | RightpointLabs.Pourcast.Domain/Repositories/IBeerRepository.cs | namespace RightpointLabs.Pourcast.Domain.Repositories
{
using RightpointLabs.Pourcast.Domain.Models;
public interface IBeerRepository
{
Beer GetById(string id);
}
} | namespace RightpointLabs.Pourcast.Domain.Repositories
{
using System.Collections.Generic;
using RightpointLabs.Pourcast.Domain.Models;
public interface IBeerRepository
{
IEnumerable<Beer> GetAll();
Beer GetById(string id);
}
} | mit | C# |
01866e01faf055c7cbf6eca9d49be8500b44ddd2 | modify ascension | dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP | src/DotNetCore.CAP/Internal/ISubscriberExecutor.Default.cs | src/DotNetCore.CAP/Internal/ISubscriberExecutor.Default.cs | using System;
using System.Threading.Tasks;
using DotNetCore.CAP.Abstractions;
using DotNetCore.CAP.Models;
using Microsoft.Extensions.Logging;
namespace DotNetCore.CAP.Internal
{
internal class DefaultSubscriberExecutor : ISubscriberExecutor
{
private readonly ICallbackMessageSender _callbackMessageS... | using System;
using System.Linq;
using System.Threading.Tasks;
using DotNetCore.CAP.Abstractions;
using DotNetCore.CAP.Models;
using Microsoft.Extensions.Logging;
namespace DotNetCore.CAP.Internal
{
internal class DefaultSubscriberExecutor : ISubscriberExecutor
{
private readonly ICallbackMessageSende... | mit | C# |
c1e8147210a720c8bebc508a51f6fc7a3d1247cf | Remove using statement referring to Awesomium. | sjoerd222888/MVVM.CEF.Glue,David-Desmaisons/Neutronium,David-Desmaisons/Neutronium,sjoerd222888/MVVM.CEF.Glue,David-Desmaisons/Neutronium,NeutroniumCore/Neutronium,NeutroniumCore/Neutronium,NeutroniumCore/Neutronium,sjoerd222888/MVVM.CEF.Glue | ApplicationExamples/MVVM.CEFGlue.UI.SelectedItems/MainWindow.xaml.cs | ApplicationExamples/MVVM.CEFGlue.UI.SelectedItems/MainWindow.xaml.cs | using MVVM.CEFGlue.Infra;
using MVVM.CEFGlue.ViewModel.Example;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
us... | using Awesomium.Core;
using MVVM.CEFGlue.Infra;
using MVVM.CEFGlue.ViewModel.Example;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System... | mit | C# |
b867205e7ee154bf567c40ace5f50df1a8c7170c | Fix launching help through API on Linux (BL-4577) | StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,gmartin7/myBloomFork,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,StephenMcConnel/Bl... | src/BloomExe/HelpLauncher.cs | src/BloomExe/HelpLauncher.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Bloom.Api;
using SIL.IO;
namespace Bloom
{
public class HelpLauncher
{
public static void Show(Control parent)
{
Help.ShowHelp(parent, FileLocator.GetFileDistributedWithApplication("Bloom.c... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Bloom.Api;
using SIL.IO;
namespace Bloom
{
public class HelpLauncher
{
public static void Show(Control parent)
{
Help.ShowHelp(parent, FileLocator.GetFileDistributedWithApplication("Bloom.c... | mit | C# |
6d485e105b5dc8b9dcdee88255e174ff8832fdcb | Fix using | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET | IntegrationEngine.Tests/Api/Controllers/CronTriggerControllerTest.cs | IntegrationEngine.Tests/Api/Controllers/CronTriggerControllerTest.cs | using IntegrationEngine.Api.Controllers;
using IntegrationEngine.Core.Storage;
using IntegrationEngine.Model;
using IntegrationEngine.Scheduler;
using Moq;
using NUnit.Framework;
namespace IntegrationEngine.Tests.Api.Controllers
{
public class CronTriggerControllerTest
{
[Test]
public void Sho... | using IntegrationEngine;
using IntegrationEngine.Api.Controllers;
using IntegrationEngine.Core.Storage;
using IntegrationEngine.Model;
using Moq;
using NUnit.Framework;
namespace IntegrationEngine.Tests.Api.Controllers
{
public class CronTriggerControllerTest
{
[Test]
public void ShouldSchedu... | mit | C# |
81ad55b903aabb26d75dcf637b005516954d0cf4 | Fix for Nancy view conventions and static content conventions | JDawes-ScottLogic/openidconnect,mtinning/openidconnect,mtinning/openidconnect,JGaudion/openidconnect,JDawes-ScottLogic/openidconnect,ianlovell/openidconnect,JDawes-ScottLogic/openidconnect,mtinning/openidconnect,JGaudion/openidconnect,ianlovell/openidconnect,ianlovell/openidconnect,JGaudion/openidconnect | OpenIDConnect.Clients.Angular14/Bootstrap/CustomNancyBootstrapper.cs | OpenIDConnect.Clients.Angular14/Bootstrap/CustomNancyBootstrapper.cs | using Nancy;
using Nancy.Conventions;
using Nancy.TinyIoc;
namespace OpenIDConnect.Clients.Angular14.Bootstrap
{
public class CustomNancyBootstrapper : DefaultNancyBootstrapper
{
protected override void ApplicationStartup(TinyIoCContainer container, Nancy.Bootstrapper.IPipelines pipelines)
{
... | using System;
using Nancy;
using Nancy.Conventions;
using System.IO;
namespace OpenIDConnect.Clients.Angular14.Bootstrap
{
public class CustomNancyBootstrapper : DefaultNancyBootstrapper
{
protected override IRootPathProvider RootPathProvider
{
get { return new CustomRootPathProvid... | mit | C# |
b44d102546ad45ab1a01fe65bb0159f698f4a00c | Raise a warning when we don't run an event handler | Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server,Cyberboss/tgstation-server | TGServerService/PreactionHandler.cs | TGServerService/PreactionHandler.cs | using System;
using System.Diagnostics;
using System.IO;
namespace TGServerService
{
// Some useful functions for triggering pre action events
partial class TGStationServer
{
const string EventFolder = "EventHandlers/";
string GetPath(string eventName)
{
return string.Format("{}{}.bat", EventFolder, even... | using System;
using System.Diagnostics;
using System.IO;
namespace TGServerService
{
// Some useful functions for triggering pre action events
partial class TGStationServer
{
const string EventFolder = "EventHandlers/";
string GetPath(string eventName)
{
return string.Format("{}{}.bat", EventFolder, even... | agpl-3.0 | C# |
9bc6ffce160a72c13635e5b0db45e39b45efbdaa | Update to wait _referReport.SearchAsync for ReportListPageViuewModel#OnNavigatedTo. | ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey | client/BlueMonkey/BlueMonkey/ViewModels/ReportListPageViewModel.cs | client/BlueMonkey/BlueMonkey/ViewModels/ReportListPageViewModel.cs | using Prism.Commands;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using BlueMonkey.Business;
using BlueMonkey.ExpenceServices;
using BlueMonkey.Model;
using Prism.Navigation;
using Reactive.Bindings;
namespace... | using Prism.Commands;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using BlueMonkey.Business;
using BlueMonkey.ExpenceServices;
using BlueMonkey.Model;
using Prism.Navigation;
using Reactive.Bindings;
namespace... | mit | C# |
9fb32d774ab2d52ac3978c7428a2c3a9881865b7 | Update CustomNetSceneChecker.cs | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/Core/Networking/CustomNetSceneChecker.cs | UnityProject/Assets/Scripts/Core/Networking/CustomNetSceneChecker.cs | using Mirror;
using UnityEngine;
public class CustomNetSceneChecker : NetworkVisibility
{
//TODO this component has now been added to all
//spawnable prefabs. It is a placeholder to be used for
//scene observer rebuilding when we start to prevent connections
//from observing scenes that they are not apart of
}
| using Mirror;
using UnityEngine;
public class CustomNetSceneChecker : MonoBehaviour
{
//TODO this component has now been added to all
//spawnable prefabs. It is a placeholder to be used for
//scene observer rebuilding when we start to prevent connections
//from observing scenes that they are not apart of
}
| agpl-3.0 | C# |
bde5a47dd0c893962fda1c95b9a54cd0c335e794 | Clean code | fredatgithub/WinFormTemplate | WinFormTemplate/FormOptions.cs | WinFormTemplate/FormOptions.cs | /*
The MIT License(MIT)
Copyright(c) 2015 Freddy Juhel
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, pub... | /*
The MIT License(MIT)
Copyright(c) 2015 Freddy Juhel
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, pub... | mit | C# |
abd2ce9cf2c60340cfb6aba41a1ced7ebb875c46 | Disable TeamCity flow logger for now. It's a little too messy and needs refinement | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | build/tasks/Logger/FlowLogger.cs | build/tasks/Logger/FlowLogger.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using Microsoft.Build.Framework;
using Microsoft.Build.Logging;
namespace RepoTasks
{
public class FlowLogger : Co... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using Microsoft.Build.Framework;
using Microsoft.Build.Logging;
namespace RepoTasks
{
public class FlowLogger : Co... | apache-2.0 | C# |
630cd314a0a800fa882e88a386379111c2fe0bed | Update build.cake | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | XPlat/OfficeUIFabric/iOS/build.cake | XPlat/OfficeUIFabric/iOS/build.cake |
var TARGET = Argument ("t", Argument ("target", "Default"));
var PODFILE_VERSION = "0.2.13-pre1";
var NUGET_VERSION = PODFILE_VERSION;
Task ("externals")
.WithCriteria (!DirectoryExists ("./externals/OfficeUIFabric.framework"))
.Does (() =>
{
EnsureDirectoryExists ("./externals");
// Download and build Depende... |
var TARGET = Argument ("t", Argument ("target", "Default"));
var PODFILE_VERSION = "0.2.13";
var NUGET_VERSION = PODFILE_VERSION;
Task ("externals")
.WithCriteria (!DirectoryExists ("./externals/OfficeUIFabric.framework"))
.Does (() =>
{
EnsureDirectoryExists ("./externals");
// Download and build Dependencies... | mit | C# |
54bd3045c6e4932fb025e4cbefe79aa433453404 | Update to UE 4.16 | ufna/VaTexAtlas,ufna/VaTexAtlas | Source/VaTexAtlasEditorPlugin/VaTexAtlasEditorPlugin.Build.cs | Source/VaTexAtlasEditorPlugin/VaTexAtlasEditorPlugin.Build.cs | // Copyright 2016 Vladimir Alyamkin. All Rights Reserved.
using System.IO;
namespace UnrealBuildTool.Rules
{
public class VaTexAtlasEditorPlugin : ModuleRules
{
public VaTexAtlasEditorPlugin(ReadOnlyTargetRules Target) : base(Target)
{
PublicIncludePaths.AddRange(
new string[] {
// ... add public incl... | // Copyright 2016 Vladimir Alyamkin. All Rights Reserved.
using System.IO;
namespace UnrealBuildTool.Rules
{
public class VaTexAtlasEditorPlugin : ModuleRules
{
public VaTexAtlasEditorPlugin(TargetInfo Target)
{
PublicIncludePaths.AddRange(
new string[] {
// ... add public include paths required here ... | mit | C# |
b0ece3466bab409c5d38d245ff2f22dbd7ce4011 | fix warning | NLog/NLog.StructuredEvents | src/Parser/Parts/TextPart.cs | src/Parser/Parts/TextPart.cs | using System.Diagnostics;
namespace Parser
{
[DebuggerDisplay("{Describe}")]
public class TextPart : IPart
{
private readonly char? _escapeChar;
readonly string _text;
/// <summary>Initializes a new instance of the <see cref="T:System.Object" /> class.</summary>
public Text... | using System.Diagnostics;
namespace Parser
{
[DebuggerDisplay("{Describe}")]
public class TextPart : IPart
{
private readonly char? _escapeChar;
readonly string _text;
/// <summary>
/// Escpaped text
/// </summary>
private bool _escaped;
/// <summar... | mit | C# |
2dfbc4f6dab43f8a8f9169041baaa945e9d9eb46 | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2019 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.2.0.10")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2019 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.2.0.9")] | mit | C# |
a400f459ab128e5bad60e585524150f50b710e6e | remove unused using | lvermeulen/HttpProblemDetails | test/HttpProblemDetails.AspNetCore.Tests/MiddlewareStartup.cs | test/HttpProblemDetails.AspNetCore.Tests/MiddlewareStartup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace HttpProblemDetails.AspNetCore.Tests
{
public class MiddlewareStartup
{
public void Configure(IApplicationBuilder app)
{
app.UseMvc(routes =>
{
routes.MapRoute(
... | using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace HttpProblemDetails.AspNetCore.Tests
{
public class MiddlewareStartup
{
public void Configure(IApplicationBuilder app)
{
app.UseMvc(routes =>
... | mit | C# |
98571ad33cdfab4751b87689d7a4286bcf14fce7 | Fix LineRenderer error | cooperra/ld34-beanstalkers-extreme | Assets/Scripts/Beanstalk/VineGenerator.cs | Assets/Scripts/Beanstalk/VineGenerator.cs | using UnityEngine;
using System.Collections;
public class VineGenerator : MainBehaviour {
public Transform VinePoint;
public float Rate = .25f;
public float DownwardSpeed = -5.0f;
public float MaterialGrowthRate = .05f;
private LineRenderer _line;
private float _lastCreated = 0.0f;
private int _points = 0;
... | using UnityEngine;
using System.Collections;
public class VineGenerator : MainBehaviour {
public Transform VinePoint;
public float Rate = .25f;
public float DownwardSpeed = -5.0f;
public float MaterialGrowthRate = .05f;
private LineRenderer _line;
private float _lastCreated = 0.0f;
private int _points = 0;
... | mit | C# |
baa8baaa1efd762b650c4e2b9e409f700e601fe7 | Fix "most played beatmap" request breakage after property rename | ppy/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu | osu.Game/Online/API/Requests/Responses/APIUserMostPlayedBeatmap.cs | osu.Game/Online/API/Requests/Responses/APIUserMostPlayedBeatmap.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using Newtonsoft.Json;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIUserMostPlayedBeatmap
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using Newtonsoft.Json;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIUserMostPlayedBeatmap
... | mit | C# |
707c9d89616dfe737b26666a90fed8d604f6a3df | Reset version | agrajaghh/duplicati,gerco/duplicati,sitofabi/duplicati,agrajaghh/duplicati,agrajaghh/duplicati,sitofabi/duplicati,mnaiman/duplicati,mnaiman/duplicati,duplicati/duplicati,a1ezzz/duplicati,a1ezzz/duplicati,gerco/duplicati,gerco/duplicati,klammbueddel/duplicati,duplicati/duplicati,agrajaghh/duplicati,klammbueddel/duplicat... | Duplicati/Library/Backend/AzureBlob/Properties/AssemblyInfo.cs | Duplicati/Library/Backend/AzureBlob/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Dup... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Dup... | lgpl-2.1 | C# |
0f1c7c8640b8fae4f977429458fc1869c3c8f976 | Add tests to build script | Redth/Cake.Android.Adb | build.cake | build.cake | #tool nuget:?package=NUnit.ConsoleRunner&version=3.6.0
var sln = "./Cake.Android.Adb.sln";
var nuspec = "./Cake.Android.Adb.nuspec";
var target = Argument ("target", "all");
var NUGET_VERSION = Argument("nugetversion", "0.9999");
var SDK_URL_BASE = "https://dl.google.com/android/repository/tools_r{0}-{1}.zip";
var ... | var sln = "./Cake.Android.Adb.sln";
var nuspec = "./Cake.Android.Adb.nuspec";
var target = Argument ("target", "libs");
var NUGET_VERSION = Argument("nugetversion", "0.9999");
var SDK_URL_BASE = "https://dl.google.com/android/repository/tools_r{0}-{1}.zip";
var SDK_VERSION = "25.2.3";
Task ("externals")
.WithCrite... | mit | C# |
0290ae44fb9f9f435778565c9c38cea7f7b67868 | Fix cake script | olsh/todoist-net | build.cake | build.cake | #tool "nuget:?package=OpenCover"
#addin "Cake.Incubator"
var target = Argument("target", "Default");
var extensionsVersion = Argument("version", "1.3.0");
var buildConfiguration = "Release";
var projectName = "Todoist.Net";
var testProjectName = "Todoist.Net.Tests";
var projectFolder = string.Format("./src/{0}/", pr... | #tool "nuget:?package=OpenCover"
#addin "Cake.Incubator"
var target = Argument("target", "Default");
var extensionsVersion = Argument("version", "1.2.1");
var buildConfiguration = "Release";
var projectName = "Todoist.Net";
var testProjectName = "Todoist.Net.Tests";
var projectFolder = string.Format("./src/{0}/", pr... | mit | C# |
61b7ff69f68e33c1bce8f06dd0c7e8bf2f65cede | Fix issue where logoff icon completely disappeared on small viewports | sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp | src/Satrabel.OpenApp.Web/Views/Shared/Components/SideBarUserArea/Default.cshtml | src/Satrabel.OpenApp.Web/Views/Shared/Components/SideBarUserArea/Default.cshtml | @using Satrabel.OpenApp.Web.Views.Shared.Components.SideBarUserArea
@model SideBarUserAreaViewModel
@*
<div class="user-info">
<div class="image">
<img src="~/images/user.png" width="48" height="48" alt="User" />
</div>
<div class="info-container">
<div class="name" ... | @using Satrabel.OpenApp.Web.Views.Shared.Components.SideBarUserArea
@model SideBarUserAreaViewModel
@*
<div class="user-info">
<div class="image">
<img src="~/images/user.png" width="48" height="48" alt="User" />
</div>
<div class="info-container">
<div class="name"... | mit | C# |
02cd88e51192d104a841226cd40527155f4896d1 | Update API controller | peterblazejewicz/asp5-mvc6-examples,peterblazejewicz/asp5-mvc6-examples,peterblazejewicz/asp5-mvc6-examples,peterblazejewicz/asp5-mvc6-examples | MongoMvc/Controllers/SpeakerController.cs | MongoMvc/Controllers/SpeakerController.cs | using Microsoft.AspNet.Mvc;
using MongoDB.Bson;
using MongoMvc.Models;
using MongoMvc.Repository;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace MongoMvc.Controllers
{
[Route("api/[controller]")]
public class SpeakerController : Controller
{
readonly ISpeake... | using Microsoft.AspNet.Mvc;
namespace MongoMvc.Controllers
{
[Route("api/[controller]")]
public class SpeakerController : Controller
{
}
}
| mit | C# |
37131cb1b74f254bf713811e701b0478e897b5c1 | Remove hard-coded cell numbers | jorupp/conference-room,RightpointLabs/conference-room,RightpointLabs/conference-room,jorupp/conference-room,RightpointLabs/conference-room,jorupp/conference-room,jorupp/conference-room,RightpointLabs/conference-room | RightpointLabs.ConferenceRoom.Infrastructure/Services/SmsAddressLookupService.cs | RightpointLabs.ConferenceRoom.Infrastructure/Services/SmsAddressLookupService.cs | using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using log4net;
using Microsoft.Exchange.WebServices.Data;
using RightpointLabs.ConferenceRoom.Domain;
namespace RightpointLabs.ConferenceRoom.Infrastructure.Services
{
/// <summary>
/// This will look up SMS addresses in Exchang... | using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using log4net;
using Microsoft.Exchange.WebServices.Data;
using RightpointLabs.ConferenceRoom.Domain;
namespace RightpointLabs.ConferenceRoom.Infrastructure.Services
{
/// <summary>
/// This will look up SMS addresses in Exchang... | mit | C# |
9b0514eaf21721e8991e2e3af5346d1dc2d60fc9 | fix mess | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/AddWallet/Create/ConfirmRecoveryWordsViewModel.cs | WalletWasabi.Fluent/ViewModels/AddWallet/Create/ConfirmRecoveryWordsViewModel.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using DynamicData;
using DynamicData.Binding;
using NBitcoin;
using ReactiveUI;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Wal... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using DynamicData;
using DynamicData.Binding;
using NBitcoin;
using ReactiveUI;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Wal... | mit | C# |
14c0043ad738dcc7813caac70bcdde6d79c0f329 | Update encoding to UTF-8 | hackathonvixion/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,gzepeda/ApplicationInsights-aspnetcore,gzepeda/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,hackathonvixion/ApplicationInsights-aspnet5... | src/Microsoft.ApplicationInsights.AspNet/ApplicationInsightsExceptionMiddleware.cs | src/Microsoft.ApplicationInsights.AspNet/ApplicationInsightsExceptionMiddleware.cs | namespace Microsoft.ApplicationInsights.AspNet
{
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using System;
using System.Threading.Tasks;
public sealed class ApplicationInsightsExceptionMiddleware
{
private readonly RequestDelegate next;
private readonly Telemet... | namespace Microsoft.ApplicationInsights.AspNet
{
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using System;
using System.Threading.Tasks;
public sealed class ApplicationInsightsExceptionMiddleware
{
private readonly RequestDelegate next;
private readonly Telemetr... | mit | C# |
731831e8343bd50faff59914b9e3a17eb45627ca | Fix DateTimeFormatInfo test (#14278) | seanshpark/corefx,dotnet-bot/corefx,ViktorHofer/corefx,rahku/corefx,nbarbettini/corefx,yizhang82/corefx,twsouthwick/corefx,mazong1123/corefx,ptoonen/corefx,jlin177/corefx,ptoonen/corefx,ViktorHofer/corefx,jlin177/corefx,Petermarcu/corefx,dhoehna/corefx,richlander/corefx,ptoonen/corefx,marksmeltzer/corefx,weltkante/core... | src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoGetInstance.cs | src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoGetInstance.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class TestIFormatP... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class TestIFormatP... | mit | C# |
13736cb0671d4f46f1506688d6add85b87582a2c | Revise IColorTheme for declarative themes | mmoening/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,jlewin/MatterC... | MatterControlLib/ApplicationView/Themes/IColorTheme.cs | MatterControlLib/ApplicationView/Themes/IColorTheme.cs | /*
Copyright (c) 2018, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following ... | /*
Copyright (c) 2018, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following ... | bsd-2-clause | C# |
e28b4e0e81a73085cbaee1c00062d1c7c12adf79 | Fix a bug where decompiled code input was not working | Xeeynamo/KingdomHearts | OpenKh.Tools.Kh2MapStudio/Windows/SpawnScriptWindow.cs | OpenKh.Tools.Kh2MapStudio/Windows/SpawnScriptWindow.cs | using ImGuiNET;
using OpenKh.Tools.Kh2MapStudio.Models;
using System.Numerics;
using static OpenKh.Tools.Common.CustomImGui.ImGuiEx;
namespace OpenKh.Tools.Kh2MapStudio.Windows
{
static class SpawnScriptWindow
{
private static readonly Vector4 ErrorColor = new Vector4(1.0f, 0.0f, 0.0f, 1.0f);
... | using ImGuiNET;
using OpenKh.Tools.Kh2MapStudio.Models;
using System.Numerics;
using static OpenKh.Tools.Common.CustomImGui.ImGuiEx;
namespace OpenKh.Tools.Kh2MapStudio.Windows
{
static class SpawnScriptWindow
{
private static readonly Vector4 ErrorColor = new Vector4(1.0f, 0.0f, 0.0f, 1.0f);
... | mit | C# |
c5e065b17fd1258c64135f4efedc51fc63124e8b | Remove test which was added separately in #4258. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/Hwi/SerialDefaultResponseTests.cs | WalletWasabi.Tests/UnitTests/Hwi/SerialDefaultResponseTests.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Hwi.ProcessBridge;
using WalletWasabi.Microservices;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.Hwi
{
/// <summary>
/// The tests in this collection are time-sensitive, therefore this test collection is run in a special w... | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Hwi.ProcessBridge;
using WalletWasabi.Microservices;
using Xunit;
using WalletWasabi.Helpers;
namespace WalletWasabi.Tests.UnitTests.Hwi
{
/// <summary>
/// The tests in this collection are time-sensitive, therefore this test coll... | mit | C# |
92443b18f6eefb13d71853af76c8e4de63f2b1c9 | clean up | taka-oyama/UniHttp | Assets/Example/Test.cs | Assets/Example/Test.cs | using UnityEngine;
using System;
using UniHttp;
public class Test : MonoBehaviour {
void Start () {
HttpManager.Initalize();
HttpClient client = new HttpClient();
var uri = new Uri("http://localhost:3000/test/debug.json");
var payload = new HttpJsonData(new TestClass() { level = 10, stat = "!!#^(0-=" });
... | using UnityEngine;
using System;
using UniHttp;
using System.Collections.Generic;
public class Test : MonoBehaviour {
void Start () {
HttpManager.Initalize();
HttpClient client = new HttpClient();
var uri = new Uri("http://localhost:3000/test/debug.json");
var payload = new HttpJsonData(new TestClass() { l... | mit | C# |
0d6dbb652315f7f8e341ddf2478617308e3ac59f | Clean up exposed icon for tests | smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu-new | osu.Game.Tests/Visual/UserInterface/TestSceneCommentRepliesButton.cs | osu.Game.Tests/Visual/UserInterface/TestSceneCommentRepliesButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Overlays.Comments.Buttons;
using osu.Framework.Graphics;
using osu.Framework.Allocation;
using osu.Game.Overlays;
using osu.Framework.Graphics.Containers;... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Overlays.Comments.Buttons;
using osu.Framework.Graphics;
using osu.Framework.Allocation;
using osu.Game.Overlays;
using osu.Framework.Graphics.Containers;... | mit | C# |
d38b692b67b203a855ce74adb848c25861dfb0d8 | Fix incorrect return value from OpenableFromGenericFileFileOpener | evandixon/SkyEditor.Core | SkyEditor.Core/IO/OpenableFromGenericFileFileOpener.cs | SkyEditor.Core/IO/OpenableFromGenericFileFileOpener.cs | using SkyEditor.Core.Utilities;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace SkyEditor.Core.IO
{
/// <summary>
/// Opens files using file types that implement <see cref="IOpenableFromGenericFile"/>
/// </summary>
pu... | using SkyEditor.Core.Utilities;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace SkyEditor.Core.IO
{
/// <summary>
/// Opens files using file types that implement <see cref="IOpenableFromGenericFile"/>
/// </summary>
pu... | mit | C# |
707c5f60bd7ba46fe14a0a267cfc104cfcc1e282 | Fix ParseNumber.ToElementSize returns incorrect value for "*". | JCThePants/marklight,JCThePants/marklight,JCThePants/marklight | Source/Assets/MarkLight/Source/Plugins/ParsedNumber.cs | Source/Assets/MarkLight/Source/Plugins/ParsedNumber.cs | using System;
using MarkLight;
using UnityEngine;
namespace Marklight
{
/// <summary>
/// Holds parsed value split into 2 parts. The "Number" which is the initial text comprised of digits only,
/// and the "Suffix" which are alpha-numeric characters that suffix the initial numbers.
/// </summary>
... | using System;
using MarkLight;
using UnityEngine;
namespace Marklight
{
/// <summary>
/// Holds parsed value split into 2 parts. The "Number" which is the initial text comprised of digits only,
/// and the "Suffix" which are alpha-numeric characters that suffix the initial numbers.
/// </summary>
... | mit | C# |
12639c68191d65e8e703a0d313caf640aa6325b4 | Use a different database name for now to avoid conflicts when switching versions | peppy/osu,johnneijzen/osu,smoogipoo/osu,2yangk23/osu,naoey/osu,peppy/osu,EVAST9919/osu,ppy/osu,Drezi126/osu,Frontear/osuKyzer,UselessToucan/osu,naoey/osu,johnneijzen/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,DrabWeb/osu,ZLima12/osu,naoey/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,peppy/osu,D... | osu.Game/Database/DatabaseContextFactory.cs | osu.Game/Database/DatabaseContextFactory.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Platform;
namespace osu.Game.Database
{
public class DatabaseContextFactory
{
private readonly GameHost host;
p... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Platform;
namespace osu.Game.Database
{
public class DatabaseContextFactory
{
private readonly GameHost host;
p... | mit | C# |
bb48441c671065660249d0d5a124169c99ea76d3 | Set focus on search box when select page visible | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.VisualStudio.UI/Views/Dialog/Clone/SelectPageView.xaml.cs | src/GitHub.VisualStudio.UI/Views/Dialog/Clone/SelectPageView.xaml.cs | using System;
using System.ComponentModel.Composition;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Threading;
using GitHub.Exports;
using GitHub.ViewModels.Dialog.Clone;
namespace GitHub.VisualStudio.Views.Dialog.Clone
{
[ExportViewFor(typeof(IRepositorySelectViewModel))]
[... | using System.ComponentModel.Composition;
using System.Windows.Controls;
using System.Windows.Input;
using GitHub.Exports;
using GitHub.ViewModels.Dialog.Clone;
namespace GitHub.VisualStudio.Views.Dialog.Clone
{
[ExportViewFor(typeof(IRepositorySelectViewModel))]
[PartCreationPolicy(CreationPolicy.NonShared)]
... | mit | C# |
329faa215368cfb80591d6c7f5e968ff300e1cee | add AttachedEvent and AttachedProperty enum (#2321) | superyyrrzz/docfx,dotnet/docfx,pascalberger/docfx,dotnet/docfx,superyyrrzz/docfx,pascalberger/docfx,pascalberger/docfx,dotnet/docfx,superyyrrzz/docfx | src/Microsoft.DocAsCode.DataContracts.ManagedReference/MemberType.cs | src/Microsoft.DocAsCode.DataContracts.ManagedReference/MemberType.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.DataContracts.ManagedReference
{
using System;
[Serializable]
public enum MemberType
{
Default,
Toc,
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.DataContracts.ManagedReference
{
using System;
[Serializable]
public enum MemberType
{
Default,
Toc,
... | mit | C# |
579741e4f98a74802c823640339f462ac9f7887c | Update annotations in Versions folder | gafter/roslyn,tannergooding/roslyn,shyamnamboodiripad/roslyn,physhi/roslyn,diryboy/roslyn,shyamnamboodiripad/roslyn,gafter/roslyn,CyrusNajmabadi/roslyn,AmadeusW/roslyn,dotnet/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,AlekseyTs/roslyn,mgoertz-msft/roslyn,bartdesmet/roslyn,panopticoncentral/roslyn,Al... | src/Workspaces/Core/Portable/Versions/PersistedVersionStampLogger.cs | src/Workspaces/Core/Portable/Versions/PersistedVersionStampLogger.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using Microsoft.CodeAnalysis.Internal.Log;
namespace Microsoft.CodeAnalysis.Versions
{
inter... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.Internal.Log;
namespace Microsoft.CodeAnalysis.Versions
{
internal static class P... | mit | C# |
05e317846724c8d28e2c53be3f20cb1067bdd043 | Use ImageSharp's memory allocator | smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework | osu.Framework/Graphics/Textures/ArrayPoolTextureUpload.cs | osu.Framework/Graphics/Textures/ArrayPoolTextureUpload.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Buffers;
using System.Threading;
using osu.Framework.Graphics.Primitives;
using osuTK.Graphics.ES30;
using SixLabors.ImageSharp.PixelFormats;
u... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Buffers;
using osu.Framework.Graphics.Primitives;
using osuTK.Graphics.ES30;
using SixLabors.ImageSharp.PixelFormats;
namespace osu.Framework... | mit | C# |
6db7a428c8c72d40a8facc842dcd9eeb7f7581aa | Fix bug on serialization. | BYVoid/distribox | src/Distribox.Network/Message/ProtocolMessageContainer.cs | src/Distribox.Network/Message/ProtocolMessageContainer.cs | //-----------------------------------------------------------------------
// <copyright file="ProtocolMessageContainer.cs" company="CompanyName">
// Copyright info.
// </copyright>
//-----------------------------------------------------------------------
namespace Distribox.Network
{
using System;
using Dis... | //-----------------------------------------------------------------------
// <copyright file="ProtocolMessageContainer.cs" company="CompanyName">
// Copyright info.
// </copyright>
//-----------------------------------------------------------------------
namespace Distribox.Network
{
using System;
using Dis... | mit | C# |
859b23d533d381f2d95a8c70557234dfaed7448b | Update WebFileLoader.cs | afroraydude/First_Unity_Game,afroraydude/First_Unity_Game,afroraydude/First_Unity_Game | Real_Game/Assets/Scripts/WebFileLoader.cs | Real_Game/Assets/Scripts/WebFileLoader.cs | using UnityEngine;
using System.Collections;
using System.Xml;
using System.IO;
public class WebFileLoader : MonoBehaviour {
public WWW www;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public IEnumerator GetURL (string url) {
www = new WWW (ur... | using UnityEngine;
using System.Collections;
using System.Xml;
using System.IO;
public class WebFileLoader : MonoBehaviour {
public WWW www;
// Use this for initialization
void Start () {
}
/**
* unnessesary
public void startReadingURL() {
StartCoroutine(GetURL())
}
*/
// Update is called once per fra... | mit | C# |
04613ea68166127abcb62888fa89804a780e34b8 | Make sealed | physhi/roslyn,AmadeusW/roslyn,brettfo/roslyn,panopticoncentral/roslyn,AlekseyTs/roslyn,jasonmalinowski/roslyn,tannergooding/roslyn,CyrusNajmabadi/roslyn,gafter/roslyn,brettfo/roslyn,AlekseyTs/roslyn,dotnet/roslyn,genlu/roslyn,ErikSchierboom/roslyn,weltkante/roslyn,heejaechang/roslyn,bartdesmet/roslyn,genlu/roslyn,jason... | src/Workspaces/Remote/ServiceHub/Services/DesignerAttribute/RemoteDesignerAttributeService.cs | src/Workspaces/Remote/ServiceHub/Services/DesignerAttribute/RemoteDesignerAttributeService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Micros... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Micros... | mit | C# |
ab5c076bfbd9bf8bc56d2062e02a1d66fde52c95 | Fix build | luizbon/VisualStudio,HeadhunterXamd/VisualStudio,github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.Exports.Reactive/Collections/ITrackingCollection.cs | src/GitHub.Exports.Reactive/Collections/ITrackingCollection.cs | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
namespace GitHub.Collections
{
/// <summary>
/// TrackingCollection is a specialization of ObservableCollection that gets items from
/// an observable sequence and updates its contents in such a way that two updates to
... | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
namespace GitHub.Collections
{
/// <summary>
/// TrackingCollection is a specialization of ObservableCollection that gets items from
/// an observable sequence and updates its contents in such a way that two updates to
... | mit | C# |
5a6300823c3f10a76b04355484d59c9200a0a52f | Update HtmlEntityInlineRenderer.cs | lunet-io/markdig | src/Markdig/Renderers/Html/Inlines/HtmlEntityInlineRenderer.cs | src/Markdig/Renderers/Html/Inlines/HtmlEntityInlineRenderer.cs | // Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using Markdig.Syntax.Inlines;
namespace Markdig.Renderers.Html.Inlines
{
/// <summary>
/// A HTML renderer for a <see cref="Html... | // Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using Markdig.Syntax.Inlines;
namespace Markdig.Renderers.Html.Inlines
{
/// <summary>
/// A HTML renderer for a <see cref="Html... | bsd-2-clause | C# |
9efa477581352e60d8f83c260155364822105f17 | Set env vars in GitHub Actions | AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning | src/NerdBank.GitVersioning/CloudBuildServices/GitHubActions.cs | src/NerdBank.GitVersioning/CloudBuildServices/GitHubActions.cs | namespace NerdBank.GitVersioning.CloudBuildServices
{
using System;
using System.Collections.Generic;
using System.IO;
using Nerdbank.GitVersioning;
internal class GitHubActions : ICloudBuild
{
public bool IsApplicable => Environment.GetEnvironmentVariable("GITHUB_ACTIONS") == "true";
... | namespace NerdBank.GitVersioning.CloudBuildServices
{
using System;
using System.Collections.Generic;
using System.IO;
using Nerdbank.GitVersioning;
internal class GitHubActions : ICloudBuild
{
public bool IsApplicable => Environment.GetEnvironmentVariable("GITHUB_ACTIONS") == "true";
... | mit | C# |
5e27598eb1a4c985f6e141ca10689b24882df13c | Mark enums as deprecated in the spec | tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server | src/Tgstation.Server.Host/Core/OpenApiEnumVarNamesExtension.cs | src/Tgstation.Server.Host/Core/OpenApiEnumVarNamesExtension.cs | using Microsoft.OpenApi;
using Microsoft.OpenApi.Interfaces;
using Microsoft.OpenApi.Models;
using Microsoft.OpenApi.Writers;
using System;
namespace Tgstation.Server.Host.Core
{
/// <summary>
/// Implements the "x-enum-varnames" OpenAPI 3.0 extension.
/// </summary>
sealed class OpenApiEnumVarNamesExtension : IO... | using Microsoft.OpenApi;
using Microsoft.OpenApi.Interfaces;
using Microsoft.OpenApi.Models;
using Microsoft.OpenApi.Writers;
using System;
namespace Tgstation.Server.Host.Core
{
/// <summary>
/// Implements the "x-enum-varnames" OpenAPI 3.0 extension.
/// </summary>
sealed class OpenApiEnumVarNamesExtension : IO... | agpl-3.0 | C# |
542e44631f80d0fb685db5aefb00abf222d5aca9 | Allow turning off async mode. | atheken/nuget,indsoft/NuGet2,mrward/nuget,alluran/node.net,indsoft/NuGet2,jmezach/NuGet2,jholovacs/NuGet,RichiCoder1/nuget-chocolatey,xero-github/Nuget,mrward/NuGet.V2,oliver-feng/nuget,mrward/NuGet.V2,indsoft/NuGet2,dolkensp/node.net,mrward/nuget,pratikkagda/nuget,RichiCoder1/nuget-chocolatey,OneGet/nuget,mrward/nuget... | src/VsConsole/PowerShellHostProvider/PowerShellHostProvider.cs | src/VsConsole/PowerShellHostProvider/PowerShellHostProvider.cs | using System;
using System.ComponentModel.Composition;
using System.Runtime.CompilerServices;
using EnvDTE;
using EnvDTE80;
using Microsoft.VisualStudio.Shell;
using NuGetConsole.Host.PowerShell;
using NuGetConsole.Host.PowerShell.Implementation;
namespace NuGetConsole.Host.PowerShellProvider {
[Export(t... | using System;
using System.ComponentModel.Composition;
using System.Runtime.CompilerServices;
using EnvDTE;
using EnvDTE80;
using Microsoft.VisualStudio.Shell;
using NuGetConsole.Host.PowerShell;
using NuGetConsole.Host.PowerShell.Implementation;
namespace NuGetConsole.Host.PowerShellProvider {
[Export(t... | apache-2.0 | C# |
cad7291948d2423d71cf82b3129419ffe3c34a93 | Update ITextToSpeechService.cs | tiksn/TIKSN-Framework | TIKSN.Core/Speech/ITextToSpeechService.cs | TIKSN.Core/Speech/ITextToSpeechService.cs | using System.Threading.Tasks;
namespace TIKSN.Speech
{
public interface ITextToSpeechService
{
Task SpeakAsync(string text);
}
}
| using System.Threading.Tasks;
namespace TIKSN.Speech
{
public interface ITextToSpeechService
{
Task SpeakAsync(string text);
}
} | mit | C# |
33c3dbe13eb8d278427b533b75dc9178d121cab5 | Update Index.cshtml | ojraqueno/webapiimageupload,ojraqueno/webapiimageupload,ojraqueno/webapiimageupload | WebAPIImageUpload/Views/Home/Index.cshtml | WebAPIImageUpload/Views/Home/Index.cshtml | @section SPAViews {
@Html.Partial("_Home")
}
@section Scripts{
}
| @section SPAViews {
@Html.Partial("_Home")
}
@section Scripts{
@Scripts.Render("~/bundles/knockout")
@Scripts.Render("~/bundles/app")
} | mit | C# |
443992a8f850b62354ddd8e44ddb33db9e5fa6e2 | Remove unnecessary cast to string. | EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an | A-vs-An/WikipediaAvsAnTrieExtractor/ReadableSerializationExtension.cs | A-vs-An/WikipediaAvsAnTrieExtractor/ReadableSerializationExtension.cs | using System;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using AvsAnLib.Internals;
namespace WikipediaAvsAnTrieExtractor {
public static class ReadableSerializationExtension {
public static string SerializeToReadable(this MutableNode no... | using System;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using AvsAnLib.Internals;
namespace WikipediaAvsAnTrieExtractor {
public static class ReadableSerializationExtension {
public static string SerializeToReadable(this MutableNode no... | apache-2.0 | C# |
7e51b25257a5ed284cb00258ee3cfb81e39d5364 | Update 70.WriteRecordByRecord.cs | MarcosMeli/FileHelpers | FileHelpers.Examples/Examples/10.QuickStart/70.WriteRecordByRecord.cs | FileHelpers.Examples/Examples/10.QuickStart/70.WriteRecordByRecord.cs | using System;
using System.Collections;
using System.Collections.Generic;
using FileHelpers;
// Done
namespace ExamplesFx
{
//-> Name:Write Delimited File
//-> Description:Example of how to write a delimited file
//-> AutoRun:true
public class WriteFile
: ExampleBase
{
//-> To wr... | using System;
using System.Collections;
using System.Collections.Generic;
using FileHelpers;
// Done
namespace ExamplesFx
{
//-> Name:Write Delimited File
//-> Description:Example of how to write a Delimited File
//-> AutoRun:true
public class WriteFile
: ExampleBase
{
//-> To wr... | mit | C# |
98b92b137a1b9fbb4291f5cbda3ad03aeaa35931 | Update src/Abp.AspNetCore/AspNetCore/MultiTenancy/HttpHeaderTenantResolveContributor.cs | ryancyq/aspnetboilerplate,ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplate,carldai0106/aspnetboilerplate,ilyhacker/aspnetboilerplate,ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,v... | src/Abp.AspNetCore/AspNetCore/MultiTenancy/HttpHeaderTenantResolveContributor.cs | src/Abp.AspNetCore/AspNetCore/MultiTenancy/HttpHeaderTenantResolveContributor.cs | using System.Linq;
using Abp.Collections.Extensions;
using Abp.Configuration.Startup;
using Abp.Dependency;
using Abp.MultiTenancy;
using Castle.Core.Logging;
using Microsoft.AspNetCore.Http;
namespace Abp.AspNetCore.MultiTenancy
{
public class HttpHeaderTenantResolveContributor : ITenantResolveContributor, ITran... | using System.Linq;
using Abp.Collections.Extensions;
using Abp.Configuration.Startup;
using Abp.Dependency;
using Abp.MultiTenancy;
using Castle.Core.Logging;
using Microsoft.AspNetCore.Http;
namespace Abp.AspNetCore.MultiTenancy
{
public class HttpHeaderTenantResolveContributor : ITenantResolveContributor, ITran... | mit | C# |
bf7ade80d286f5d0a6c1eaa88a1aad9764a935aa | Update CardType.cs (#1674) | albertodall/eShopOnContainers,skynode/eShopOnContainers,skynode/eShopOnContainers,dotnet-architecture/eShopOnContainers,albertodall/eShopOnContainers,albertodall/eShopOnContainers,albertodall/eShopOnContainers,skynode/eShopOnContainers,dotnet-architecture/eShopOnContainers,skynode/eShopOnContainers,dotnet-architecture/... | src/Services/Ordering/Ordering.Domain/AggregatesModel/BuyerAggregate/CardType.cs | src/Services/Ordering/Ordering.Domain/AggregatesModel/BuyerAggregate/CardType.cs | using Microsoft.eShopOnContainers.Services.Ordering.Domain.SeedWork;
namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.BuyerAggregate
{
/// <remarks>
/// Card type class should be marked as abstract with protected constructor to encapsulate known enum types
/// this is curren... | using Microsoft.eShopOnContainers.Services.Ordering.Domain.SeedWork;
namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.BuyerAggregate
{
/// <remarks>
/// Card type class should be marked as abstract with protected constructor to encapsulate known enum types
/// this is curren... | mit | C# |
c870298c16df11029b392729ee315f82f47c71c9 | remove check | diryboy/roslyn,CyrusNajmabadi/roslyn,eriawan/roslyn,weltkante/roslyn,mavasani/roslyn,sharwell/roslyn,KevinRansom/roslyn,weltkante/roslyn,dotnet/roslyn,physhi/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,mavasani/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,... | src/Workspaces/Core/Portable/Storage/SQLite/v2/SQLitePersistentStorageService.cs | src/Workspaces/Core/Portable/Storage/SQLite/v2/SQLitePersistentStorageService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.H... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.H... | mit | C# |
e6d8348f62fa4a8566e5ddcc0a0815c07a971cdf | Convert a color to an array of ints. | izrik/ChamberLib,izrik/ChamberLib,izrik/ChamberLib | Color.cs | Color.cs | using System;
namespace ChamberLib
{
public struct Color
{
public Color(byte r, byte g, byte b)
: this(r, g, b, 255)
{
}
public Color(byte r, byte g, byte b, byte a)
{
R = r;
G = g;
B = b;
A = a;
}
... | using System;
namespace ChamberLib
{
public struct Color
{
public Color(byte r, byte g, byte b)
: this(r, g, b, 255)
{
}
public Color(byte r, byte g, byte b, byte a)
{
R = r;
G = g;
B = b;
A = a;
}
... | lgpl-2.1 | C# |
64b1a009efb5f80f5c78faae44682b5895c2fd2e | Adjust diffcalc test case to pass | UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu,peppy/osu-new,smoogipooo/osu,smoogipoo/osu | osu.Game.Rulesets.Taiko.Tests/TaikoDifficultyCalculatorTest.cs | osu.Game.Rulesets.Taiko.Tests/TaikoDifficultyCalculatorTest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Taiko.Difficulty;
using osu.Game.Tests.Beatmaps;
namespace os... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Taiko.Difficulty;
using osu.Game.Tests.Beatmaps;
namespace os... | mit | C# |
1eada29af5adb32325212b2637d17dc25633e9fc | Update LunExServices.cs | AgileInstitute/labs-csharp-mstest | LunEx/LunExServices.cs | LunEx/LunExServices.cs | using System;
using System.Collections.Generic;
namespace ITC {
public interface SecurityExchangeTransmissionInterface {
int CurrentPrice(string symbol);
}
}
namespace LunEx {
/// <summary>
/// UNTOUCHABLE! You cannot change this file.
/// @see ITC.SecurityExchangeTransmissio... | using System;
using System.Collections.Generic;
namespace ITC {
public interface SecurityExchangeTransmissionInterface {
double CurrentPrice(string symbol);
}
}
namespace LunEx {
/// <summary>
/// UNTOUCHABLE! You cannot change this file.
/// @see ITC.SecurityExchangeTransmis... | mit | C# |
260568aff3277176eb026f709d31151b6f243f06 | Update to allow Compatability-Level 140 (#173) | tsqllint/tsqllint,tsqllint/tsqllint | TSQLLint.Lib/Utility/CompatabilityLevelUtility.cs | TSQLLint.Lib/Utility/CompatabilityLevelUtility.cs | using System.Collections.Generic;
namespace TSQLLint.Lib.Utility
{
public static class CompatabilityLevelUtility
{
public static int ValidateCompatabilityLevel(int compatabilityLevel)
{
var validCompatibilityLevels = new List<int> { 80, 90, 100, 110, 120, 130, 140 };
ret... | using System.Collections.Generic;
namespace TSQLLint.Lib.Utility
{
public static class CompatabilityLevelUtility
{
public static int ValidateCompatabilityLevel(int compatabilityLevel)
{
var validCompatibilityLevels = new List<int> { 80, 90, 100, 110, 120, 130 };
return v... | mit | C# |
eac16ffa0c21a7ca94f700be257b31f6313520db | Add null checks to ActivityIndicator (#804) | Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms | Xamarin.Forms.Platform.Android/Renderers/ActivityIndicatorRenderer.cs | Xamarin.Forms.Platform.Android/Renderers/ActivityIndicatorRenderer.cs | using System.ComponentModel;
using Android.Graphics;
using Android.OS;
using Android.Views;
using AProgressBar = Android.Widget.ProgressBar;
namespace Xamarin.Forms.Platform.Android
{
public class ActivityIndicatorRenderer : ViewRenderer<ActivityIndicator, AProgressBar>
{
public ActivityIndicatorRenderer()
{
... | using System.ComponentModel;
using Android.Graphics;
using Android.OS;
using Android.Views;
using AProgressBar = Android.Widget.ProgressBar;
namespace Xamarin.Forms.Platform.Android
{
public class ActivityIndicatorRenderer : ViewRenderer<ActivityIndicator, AProgressBar>
{
public ActivityIndicatorRenderer()
{
... | mit | C# |
d473e5b9c84794e58922dc1c69b3ba2f77e49ec1 | Fix SL projects do not work because of synchronization bug. | msgpack/msgpack-cli,msgpack/msgpack-cli,undeadlabs/msgpack-cli,scopely/msgpack-cli,undeadlabs/msgpack-cli,modulexcite/msgpack-cli,scopely/msgpack-cli,modulexcite/msgpack-cli | cli/src/MsgPack.Serialization.Silverlight.4/Serialization/ReaderWriterLockSlim.cs | cli/src/MsgPack.Serialization.Silverlight.4/Serialization/ReaderWriterLockSlim.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.or... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.or... | apache-2.0 | C# |
bf2d0f072ac3cdb72dc27b606e07dfa1743b52ee | Set Socket.NoDelay = true by default (#5934) | hoopsomuah/orleans,ElanHasson/orleans,dotnet/orleans,ibondy/orleans,jason-bragg/orleans,ibondy/orleans,yevhen/orleans,ReubenBond/orleans,ElanHasson/orleans,galvesribeiro/orleans,amccool/orleans,benjaminpetit/orleans,veikkoeeva/orleans,waynemunro/orleans,amccool/orleans,hoopsomuah/orleans,waynemunro/orleans,jthelin/orle... | src/Orleans.Core/Networking/Shared/SocketConnectionOptions.cs | src/Orleans.Core/Networking/Shared/SocketConnectionOptions.cs | using System;
using System.Buffers;
namespace Orleans.Networking.Shared
{
public class SocketConnectionOptions
{
/// <summary>
/// The number of I/O queues used to process requests. Set to 0 to directly schedule I/O to the ThreadPool.
/// </summary>
/// <remarks>
/// Def... | using System;
using System.Buffers;
namespace Orleans.Networking.Shared
{
public class SocketConnectionOptions
{
/// <summary>
/// The number of I/O queues used to process requests. Set to 0 to directly schedule I/O to the ThreadPool.
/// </summary>
/// <remarks>
/// Def... | mit | C# |
6df1c931f3f82095dbb7d72e92ddb41be867bbe5 | Update ComparisonConditionType.cs | wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors,XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Perspex.Xaml.Interactions/Core/ComparisonConditionType.cs | src/Perspex.Xaml.Interactions/Core/ComparisonConditionType.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Perspex.Xaml.Interactions.Core
{
/// <summary>
/// Represents one ternary condition.
/// </summary>
public enum ComparisonConditionType
{... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Perspex.Xaml.Interactions.Core
{
/// <summary>
/// Represents one ternary condition.
/// </summary>
public enum ComparisonConditionType
{
... | mit | C# |
3230c01113113c6af4cb3fe603d12bd2755d8fbb | Reset version number (will be updated by gitversion) | objorke/UsageStats,UsageStats/UsageStats | Source/AssemblyInfo.cs | Source/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyProduct("UsageStats")]
[assembly: AssemblyCompany("UsageStats")]
[assembly: AssemblyCopyright("© UsageStats contributors. Al... | using System.Reflection;
using System.Runtime.InteropServices;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyProduct("UsageStats")]
[assembly: AssemblyCompany("UsageStats")]
[assembly: AssemblyCopyright("© UsageStats contributors. Al... | mit | C# |
35a80abc45c4b60a55e3520ab79311389ba50589 | Update player health | jamioflan/LD38 | Assets/Scripts/HUD_Manager.cs | Assets/Scripts/HUD_Manager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HUD_Manager : MonoBehaviour
{
// The names of the GUI objects we're editing
public string amountXPElementName;
public string playerHealthElementName;
public string equippedWeaponIconElemen... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HUD_Manager : MonoBehaviour
{
// The names of the GUI objects we're editing
public string amountXPElementName;
public string playerHealthElementName;
public string equippedWeaponIconElemen... | mit | C# |
b8e3e58602387edd97baa5d500d5aec1286f744f | Rename factory method | mstrother/BmpListener | BmpListener/Bmp/BmpMessage.cs | BmpListener/Bmp/BmpMessage.cs | using System;
namespace BmpListener.Bmp
{
public abstract class BmpMessage
{
public BmpMessage(BmpHeader header, ref ArraySegment<byte> data)
{
BmpHeader = header;
PeerHeader = new BmpPeerHeader(data);
data = new ArraySegment<byte>(data.Array, 42, data.Array... | using System;
namespace BmpListener.Bmp
{
public abstract class BmpMessage
{
public BmpMessage(BmpHeader header, ref ArraySegment<byte> data)
{
BmpHeader = header;
PeerHeader = new BmpPeerHeader(data);
data = new ArraySegment<byte>(data.Array, 42, data.Array... | mit | C# |
0398983577ec84c5609243136062c5340165cc4b | Fix minor typo in StrictFakeOptions.AllowEvents API docs | blairconrad/FakeItEasy,thomaslevesque/FakeItEasy,FakeItEasy/FakeItEasy,blairconrad/FakeItEasy,thomaslevesque/FakeItEasy,FakeItEasy/FakeItEasy | src/FakeItEasy/StrictFakeOptions.cs | src/FakeItEasy/StrictFakeOptions.cs | namespace FakeItEasy
{
using System;
/// <summary>
/// Options for strict fakes.
/// </summary>
[Flags]
public enum StrictFakeOptions
{
/// <summary>
/// Default behavior. No unconfigured method can be called, including those
/// inherited from <see cref=... | namespace FakeItEasy
{
using System;
/// <summary>
/// Options for strict fakes.
/// </summary>
[Flags]
public enum StrictFakeOptions
{
/// <summary>
/// Default behavior. No unconfigured method can be called, including those
/// inherited from <see cref=... | mit | C# |
1c9484e4c0f52ab52cdadcf6db1e64a1bf25f1af | Increment minor build number for release | rafd123/PowerBridge | src/PowerBridge/Properties/AssemblyInfo.cs | src/PowerBridge/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
[assembly: CLSCompliant(true)]
[assembly: ComVisible(false)]
[assembly: AssemblyTitle("PowerBridge")]
[assembly: AssemblyDescription("Build tasks that enable running Pow... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
[assembly: CLSCompliant(true)]
[assembly: ComVisible(false)]
[assembly: AssemblyTitle("PowerBridge")]
[assembly: AssemblyDescription("Build tasks that enable running PowerShell ... | mit | C# |
a83a1a896d4f6ed0191a509acaecf5a038e9a258 | add tests for maping to backing fields | Pondidum/Stronk,Pondidum/Stronk | src/Stronk.Tests/ExtensionsTests.cs | src/Stronk.Tests/ExtensionsTests.cs | using System;
using System.Configuration;
using Shouldly;
using Xunit;
namespace Stronk.Tests
{
public class ExtensionsTests
{
[Fact]
public void When_loading_the_configuration_to_private_setters()
{
var config = new ConfigWithPrivateSetters();
config.FromAppConfig();
config.ShouldSatisfyAllConditio... | using System;
using System.Configuration;
using Shouldly;
using Xunit;
namespace Stronk.Tests
{
public class ExtensionsTests
{
[Fact]
public void When_loading_the_configuration()
{
var config = new Config();
config.FromAppConfig();
config.ShouldSatisfyAllConditions(
() => config.Name.ShouldBe(Co... | lgpl-2.1 | C# |
8024d3919a73f3d68f8980ff61e288e710a11671 | Fix invalid values bug in MenuItemState | AArnott/pinvoke,jmelosegui/pinvoke,vbfox/pinvoke | src/User32.Desktop/User32+MenuItemState.cs | src/User32.Desktop/User32+MenuItemState.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
/// <content>
/// Contains the <see cref="MenuI... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
/// <content>
/// Contains the <see cref="MenuItemState"/> nested ... | mit | C# |
084ac2fbad1b21b7721e02f2c25e2ce27d5cd5b4 | add enumerable ForEachAsync() and SelectAsync() | huoxudong125/Weakly,tibel/Weakly | src/Weakly/Collections/EnumerableHelper.cs | src/Weakly/Collections/EnumerableHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Weakly
{
/// <summary>
/// Common extensions to <see cref="IEnumerable<T>"/>
/// </summary>
public static class EnumerableHelper
{
/// <summary>
/// Performs the specifi... | using System;
using System.Collections.Generic;
namespace Weakly
{
/// <summary>
/// Common extensions to <see cref="IEnumerable<T>"/>
/// </summary>
public static class EnumerableHelper
{
/// <summary>
/// Performs the specified action on each element of the <see cref="IEnum... | mit | C# |
14d99e2f255b6d5b62fef8612933803a3dcdd75a | Update CartItem SizeId type from int? to string | alexandredubois/openapi-csharp-client | Cdiscount.OpenApi.ProxyClient/Contract/GetCart/CartItem.cs | Cdiscount.OpenApi.ProxyClient/Contract/GetCart/CartItem.cs | namespace Cdiscount.OpenApi.ProxyClient.Contract.GetCart
{
/// <summary>
/// Cart item detail
/// </summary>
public class CartItem
{
/// <summary>
/// Product condition (new or used)
/// </summary>
public string Condition { get; set; }
/// <summa... | namespace Cdiscount.OpenApi.ProxyClient.Contract.GetCart
{
/// <summary>
/// Cart item detail
/// </summary>
public class CartItem
{
/// <summary>
/// Product condition (new or used)
/// </summary>
public string Condition { get; set; }
/// <summa... | mit | C# |
4a2e9a97cbd2b4379e77e1d5553047a9bb317ec3 | Improve error, when test name is invalid | paulvanbrenk/nodejstools,Microsoft/nodejstools,paulvanbrenk/nodejstools,kant2002/nodejstools,lukedgr/nodejstools,kant2002/nodejstools,lukedgr/nodejstools,paulvanbrenk/nodejstools,Microsoft/nodejstools,kant2002/nodejstools,kant2002/nodejstools,Microsoft/nodejstools,paulvanbrenk/nodejstools,Microsoft/nodejstools,lukedgr/... | Nodejs/Product/TestAdapterImpl/TestFrameworks/NodejsTestInfo.cs | Nodejs/Product/TestAdapterImpl/TestFrameworks/NodejsTestInfo.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.NodejsTools.TestAdapter.TestFrameworks
{
internal class NodejsTestInfo
{
public NodejsTestInfo(string full... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.NodejsTools.TestAdapter.TestFrameworks
{
internal class NodejsTestInfo
{
public NodejsTestInfo(string full... | apache-2.0 | C# |
a15e0a72228b7cf4608cbc95e844f20c7c1e512d | Use latest interpreter, and make sure that interpreter exe exists. | DEVSENSE/PTVS,Microsoft/PTVS,int19h/PTVS,Microsoft/PTVS,zooba/PTVS,huguesv/PTVS,huguesv/PTVS,Microsoft/PTVS,Microsoft/PTVS,huguesv/PTVS,int19h/PTVS,zooba/PTVS,zooba/PTVS,int19h/PTVS,int19h/PTVS,DEVSENSE/PTVS,DEVSENSE/PTVS,huguesv/PTVS,int19h/PTVS,Microsoft/PTVS,DEVSENSE/PTVS,huguesv/PTVS,zooba/PTVS,huguesv/PTVS,DEVSENS... | Python/Product/Cookiecutter/Model/CookiecutterClientProvider.cs | Python/Product/Cookiecutter/Model/CookiecutterClientProvider.cs | // Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
/... | // Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
/... | apache-2.0 | C# |
80c7a31d0e440d00012f915ea388df200b1bf540 | fix typo | kouweizhong/RestSharp,wparad/RestSharp,lydonchandra/RestSharp,rucila/RestSharp,cnascimento/RestSharp,huoxudong125/RestSharp,mwereda/RestSharp,chengxiaole/RestSharp,felipegtx/RestSharp,PKRoma/RestSharp,dgreenbean/RestSharp,RestSharp-resurrected/RestSharp,dyh333/RestSharp,eamonwoortman/RestSharp.Unity,jiangzm/RestSharp,a... | RestSharp.MonoDroid/Extensions/ResponseStatusExtensions.cs | RestSharp.MonoDroid/Extensions/ResponseStatusExtensions.cs | using System;
using System.Net;
namespace RestSharp.Extensions
{
public static class ResponseStatusExtensions
{
/// <summary>
/// Convert a <see cref="ResponseStatus"/> to a <see cref="WebException"/> instance.
/// </summary>
/// <param name="responseStatus">The response status.</param>
/// <returns></ret... | using System;
using System.Net;
namespace RestSharp.Extensions
{
public static class ResponseStatusExtensions
{
/// <summary>
/// Convert a <see cref="ResponseStatus"/> to a <see cref="WebException"/> instance.
/// </summary>
/// <param name="responseStatus">The response status.</param>
/// <returns></ret... | apache-2.0 | C# |
8dd8274d4ccc2faf89d72a3d7d8e0fec70f684d2 | Introduce NoOp(0) as HardwareInstruction | vejuhust/msft-scooter | ScooterController/ScooterController/HardwareInstruction.cs | ScooterController/ScooterController/HardwareInstruction.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ScooterController
{
enum HardwareInstruction
{
NoOp, /* <blank> */
PowerOn, /* on */
PowerOff, /* off */
MoveForward, /* fd */... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ScooterController
{
enum HardwareInstruction
{
PowerOn, /* on */
PowerOff, /* off */
MoveForward, /* fd */
MoveBack, /* bk */
... | mit | C# |
d27cf0a8a09adaec351b607197e4a1561314dab8 | Simplify syntax | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Blockchain/Analysis/FeesEstimation/FeeProviders.cs | WalletWasabi/Blockchain/Analysis/FeesEstimation/FeeProviders.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace WalletWasabi.Blockchain.Analysis.FeesEstimation
{
public class FeeProviders : IFeeProvider, IDisposable
{
public FeeProviders(IEnumerable<IFeeProvider> feeProviders)
{
Providers = feeProviders;
Lock = new object();
SetAllFeeEs... | using System;
using System.Collections.Generic;
using System.Linq;
namespace WalletWasabi.Blockchain.Analysis.FeesEstimation
{
public class FeeProviders : IFeeProvider, IDisposable
{
public FeeProviders(IEnumerable<IFeeProvider> feeProviders)
{
Providers = feeProviders;
Lock = new object();
SetAllFeeEs... | mit | C# |
c23354bb67fc63d54e490d195436d5adfa1441a4 | Remove unused setter | ppy/osu,ppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,peppy/osu | osu.Game.Rulesets.Osu/Skinning/Legacy/LegacyReverseArrow.cs | osu.Game.Rulesets.Osu/Skinning/Legacy/LegacyReverseArrow.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Diagnostics;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Objects.Drawables... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Diagnostics;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Objects.Drawables... | mit | C# |
a3df90ad02f06a09088fe0768fe8318c0f3db8b2 | Format speaker bio on index page as well. | michaellperry/MyCon,michaellperry/MyCon | Web/FacetedWorlds.MyCon.Web/ViewModels/SpeakerViewModel.cs | Web/FacetedWorlds.MyCon.Web/ViewModels/SpeakerViewModel.cs | using FacetedWorlds.MyCon.Model;
using System.Linq;
using System.Collections.Generic;
using System.Web.Mvc;
using FacetedWorlds.MyCon.Web.Extensions;
namespace FacetedWorlds.MyCon.Web.ViewModels
{
public class SpeakerViewModel
{
private readonly Speaker _speaker;
public SpeakerViewModel(Speake... | using FacetedWorlds.MyCon.Model;
using System.Linq;
using System.Collections.Generic;
namespace FacetedWorlds.MyCon.Web.ViewModels
{
public class SpeakerViewModel
{
private readonly Speaker _speaker;
public SpeakerViewModel(Speaker speaker)
{
_speaker = speaker;
}
... | mit | C# |
aadfea395e0f967c67ae1b1f0b408890fe4f29fd | Tweak how the entries are listed, only showing since the last balance key | mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection | src/Cash-Flow-Projection/Controllers/HomeController.cs | src/Cash-Flow-Projection/Controllers/HomeController.cs | using Cash_Flow_Projection.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Cash_Flow_Projection.Controllers
{
public class HomeController : Controller
{
private readonly Database db;
public HomeController(Database db)
{
... | using Cash_Flow_Projection.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Cash_Flow_Projection.Controllers
{
public class HomeController : Controller
{
private readonly Database db;
public HomeController(Database db)
{
... | mit | C# |
929e19aede450d6625f7395ab7259af01afb51a3 | change filebox | fiahil/MyMediaPlayer | MyWmp/View/MenuLayout.xaml.cs | MyWmp/View/MenuLayout.xaml.cs | using System;
using System.Windows;
using Microsoft.Win32;
using MyWmp.ViewModel;
namespace MyWmp.View
{
/// <summary>
/// Interaction logic for MenuLayout.xaml
/// </summary>
public partial class MenuLayout
{
public MenuLayout()
{
InitializeComponent();
}
... | using System;
using System.Windows;
using System.Windows.Forms;
using MyWmp.ViewModel;
namespace MyWmp.View
{
/// <summary>
/// Interaction logic for MenuLayout.xaml
/// </summary>
public partial class MenuLayout
{
public MenuLayout()
{
InitializeComponent();
}
... | mit | C# |
c807a9a5daeda82a07e355c55798d719bb4325bb | Fix timedelta | Xenopathic/spatial-evolution,Xenopathic/spatial-evolution | workers/unity/Assets/Gamelogic/Behaviours/OrganismMovement.cs | workers/unity/Assets/Gamelogic/Behaviours/OrganismMovement.cs | using UnityEngine;
using System;
using Random = UnityEngine.Random;
using Improbable.Math;
using System.Collections;
using Evolution.Organism;
using Improbable.Unity;
using Improbable.Unity.Visualizer;
namespace Assets.Gamelogic.Organisms {
public class OrganismMovement : MonoBehaviour {
[Require]
... | using UnityEngine;
using System;
using Random = UnityEngine.Random;
using Improbable.Math;
using System.Collections;
using Evolution.Organism;
using Improbable.Unity;
using Improbable.Unity.Visualizer;
namespace Assets.Gamelogic.Organisms {
public class OrganismMovement : MonoBehaviour {
[Require]
... | mit | C# |
a330eee955c539c91a51fa24cca3e133a39a05bd | resolve missing code phrase issue in the copied source code sample of BlazorUI component demo pages #2574 (#2632) | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/BlazorUI/Playground/Bit.BlazorUI.Playground/Web/Components/ComponentExampleBox.razor.cs | src/BlazorUI/Playground/Bit.BlazorUI.Playground/Web/Components/ComponentExampleBox.razor.cs | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
namespace Bit.BlazorUI.Playground.Web.Components;
public partial class ComponentExampleBox
{
private bool showCode;
[Inject] public IJSRuntime JSRuntime { get; set; }
[Inject] public NavigationM... | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
namespace Bit.BlazorUI.Playground.Web.Components;
public partial class ComponentExampleBox
{
private bool showCode;
[Inject] public IJSRuntime JSRuntime { get; set; }
[Inject] public NavigationM... | mit | C# |
6c3c0b127728d0ca898f3f0c3a23f7ef87322326 | Update documentation for clarity | stephentoub/roslyn,tmat/roslyn,sharwell/roslyn,weltkante/roslyn,KirillOsenkov/roslyn,KevinRansom/roslyn,mgoertz-msft/roslyn,heejaechang/roslyn,CyrusNajmabadi/roslyn,ErikSchierboom/roslyn,brettfo/roslyn,davkean/roslyn,mgoertz-msft/roslyn,diryboy/roslyn,tmat/roslyn,sharwell/roslyn,jasonmalinowski/roslyn,genlu/roslyn,phys... | src/Workspaces/Core/Portable/Options/EditorConfig/IEditorConfigStorageLocation2.cs | src/Workspaces/Core/Portable/Options/EditorConfig/IEditorConfigStorageLocation2.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
#if CODE_STYLE
using OptionSet = Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptions;
#endif... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
#if CODE_STYLE
using OptionSet = Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptions;
#endif... | mit | C# |
56fe4155d757a758c582c45f1ca10bc8b3790369 | Update Time.cs | dimmpixeye/Unity3dTools | Runtime/LibTime/Time.cs | Runtime/LibTime/Time.cs | // Project : ACTORS
// Contacts : Pixeye - ask@pixeye.games
namespace Pixeye.Actors
{
public class time : IKernel
{
protected const float fps = 60;
/// <summary>
/// <para> Default Framework Time. Use it for independent timing</para>
/// </summary>
internal static time Default = new time();
public st... | // Project : ACTORS
// Contacts : Pixeye - ask@pixeye.games
namespace Pixeye.Actors
{
public class time : IKernel
{
protected const float fps = 60;
/// <summary>
/// <para> Default Framework Time. Use it for independent timing</para>
/// </summary>
internal static time Default = new time();
public st... | mit | C# |
a3c8f6c3b682a3351af7e9767cc215cd75f51fa2 | Increase number of grid objects. | fanCDA/ProjectCDA-WPF | ProjectCDA/Data/DataSource.cs | ProjectCDA/Data/DataSource.cs | using ProjectCDA.Model;
using System.Collections.ObjectModel;
using System.ComponentModel;
namespace ProjectCDA.Data
{
public class DataSource : INotifyPropertyChanged
{
private ObservableCollection<TwoPages> _Schedule;
public DataSource()
{
AddSomeDummyData();
}
... | using ProjectCDA.Model;
using System.Collections.ObjectModel;
using System.ComponentModel;
namespace ProjectCDA.Data
{
public class DataSource : INotifyPropertyChanged
{
private ObservableCollection<TwoPages> _Schedule;
public DataSource()
{
AddSomeDummyData();
}
... | mit | C# |
fa79c5d3db98ef982514a9ab235407e8f69970e3 | Edit location provider timeout | MasDevProject/CSharp.Common | MasDev.Common/MasDev.Common.Droid/Source/Utils/SensorsUtils.cs | MasDev.Common/MasDev.Common.Droid/Source/Utils/SensorsUtils.cs | using System;
using Android.Locations;
using Android.Content;
using Android.Gms.Maps.Model;
using Android.OS;
namespace MasDev.Common.Droid
{
public static class SensorsUtils
{
public static bool LocalizationEnabled (Context ctx, LocationManager manager = null)
{
bool gpsEnabled = false;
bool networkEnabl... | using System;
using Android.Locations;
using Android.Content;
using Android.Gms.Maps.Model;
using Android.OS;
namespace MasDev.Common.Droid
{
public static class SensorsUtils
{
public static bool LocalizationEnabled (Context ctx, LocationManager manager = null)
{
bool gpsEnabled = false;
bool networkEnabl... | mit | C# |
14c356c7237030d7010b52f62b4cc876d07c0abb | Update MemoryCachedCurrencyConverterEntry.cs | tiksn/TIKSN-Framework | TIKSN.Core/Finance/Cache/MemoryCachedCurrencyConverterEntry.cs | TIKSN.Core/Finance/Cache/MemoryCachedCurrencyConverterEntry.cs | using System.Collections.Generic;
namespace TIKSN.Finance.Cache
{
public class MemoryCachedCurrencyConverterEntry
{
private MemoryCachedCurrencyConverterEntry(MemoryCachedCurrencyConverterEntryKind kind,
IEnumerable<CurrencyPair> currencyPairs, decimal exchangeRate)
{
t... | using System.Collections.Generic;
namespace TIKSN.Finance.Cache
{
public class MemoryCachedCurrencyConverterEntry
{
private MemoryCachedCurrencyConverterEntry(MemoryCachedCurrencyConverterEntryKind kind, IEnumerable<CurrencyPair> currencyPairs, decimal exchangeRate)
{
Kind = kind;
... | mit | C# |
6493e21e58dda2ecd0b971db0775b33f8a5287fb | Create Event - Form changes (Part 4) #2236 | c0g1t8/allReady,HamidMosalla/allReady,c0g1t8/allReady,BillWagner/allReady,MisterJames/allReady,dpaquette/allReady,binaryjanitor/allReady,stevejgordon/allReady,MisterJames/allReady,mgmccarthy/allReady,stevejgordon/allReady,stevejgordon/allReady,binaryjanitor/allReady,HTBox/allReady,mgmccarthy/allReady,HamidMosalla/allRe... | AllReadyApp/Web-App/AllReady/Areas/Admin/ViewModels/Shared/EventSummaryViewModel.cs | AllReadyApp/Web-App/AllReady/Areas/Admin/ViewModels/Shared/EventSummaryViewModel.cs | using System;
using System.ComponentModel.DataAnnotations;
using AllReady.Models;
using AllReady.ModelBinding;
namespace AllReady.Areas.Admin.ViewModels.Shared
{
public class EventSummaryViewModel
{
public int Id { get; set; }
[Required]
[Display(Name = "Event Title")]
public ... | using System;
using System.ComponentModel.DataAnnotations;
using AllReady.Models;
using AllReady.ModelBinding;
namespace AllReady.Areas.Admin.ViewModels.Shared
{
public class EventSummaryViewModel
{
public int Id { get; set; }
[Required]
[Display(Name = "Event Title")]
public ... | mit | C# |
1248c6f99a1a49dee65b4837adbf43ab3f43db5d | Implement length checks | ozim/CakeStuff | ReverseWords/MatchingParenFinder/MatchingParenFinder.cs | ReverseWords/MatchingParenFinder/MatchingParenFinder.cs | namespace MatchingParenFinder
{
using System;
using System.Collections.Generic;
public class MatchingParenFinder
{
public int FindMatchingParenPosition(string text, int position) {
if (position < 0) throw new ArgumentOutOfRangeException("position cannot be less than 0");
... | namespace MatchingParenFinder
{
using System.Collections.Generic;
public class MatchingParenFinder
{
public int FindMatchingParenPosition(string text,int position) {
char[] codeArray = text.ToCharArray();
Stack<char> parensStack = new Stack<char>();
for (int i... | apache-2.0 | C# |
a518206e3c307a8440f5e2d586fda3648c9486c4 | fix gac 204 | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.FakePersistance.ExternalAPI/GestioneMezzi/GetMezziUtilizzabiliPerBox.cs | src/backend/SO115App.FakePersistance.ExternalAPI/GestioneMezzi/GetMezziUtilizzabiliPerBox.cs | using Microsoft.Extensions.Configuration;
using SO115App.ExternalAPI.Client;
using SO115App.ExternalAPI.Fake.Classi;
using SO115App.ExternalAPI.Fake.Servizi.Gac;
using SO115App.Models.Classi.ServiziEsterni.Gac;
using SO115App.Models.Servizi.Infrastruttura.Composizione;
using SO115App.Models.Servizi.Infrastruttura.Sist... | using Microsoft.Extensions.Configuration;
using SO115App.ExternalAPI.Client;
using SO115App.ExternalAPI.Fake.Classi;
using SO115App.ExternalAPI.Fake.Servizi.Gac;
using SO115App.Models.Classi.ServiziEsterni.Gac;
using SO115App.Models.Servizi.Infrastruttura.Composizione;
using SO115App.Models.Servizi.Infrastruttura.Sist... | agpl-3.0 | C# |
09bb47ec838e616602c5da4b12ffd98e5b39fa7b | Fix NewText handling in TextCellView | hamekoz/xwt,cra0zy/xwt,mono/xwt,TheBrainTech/xwt,lytico/xwt,hwthomas/xwt,antmicro/xwt | Xwt.WPF/Xwt.WPFBackend.CellViews/TextCellViewBackend.cs | Xwt.WPF/Xwt.WPFBackend.CellViews/TextCellViewBackend.cs | //
// TextCellViewBackend.cs
//
// Author:
// Vsevolod Kukol <sevoku@microsoft.com>
//
// Copyright (c) 2017 (c) Vsevolod Kukol
//
// 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 S... | //
// TextCellViewBackend.cs
//
// Author:
// Vsevolod Kukol <sevoku@microsoft.com>
//
// Copyright (c) 2017 (c) Vsevolod Kukol
//
// 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 S... | mit | C# |
f8d035ec751f1af2eaa0f8622a179564cf7e321e | Fix the asset that you try and get | Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype | sample/Glimpse.AgentServer.AspNet.Sample/SamplePage.cs | sample/Glimpse.AgentServer.AspNet.Sample/SamplePage.cs | using System.Threading.Tasks;
using Glimpse.Internal;
using Microsoft.AspNetCore.Http;
using Microsoft.Net.Http.Headers;
namespace Glimpse.AgentServer.AspNet.Sample
{
public class SamplePage
{
private readonly ContextData<MessageContext> _context;
public SamplePage()
{
_con... | using System.Threading.Tasks;
using Glimpse.Internal;
using Microsoft.AspNetCore.Http;
using Microsoft.Net.Http.Headers;
namespace Glimpse.AgentServer.AspNet.Sample
{
public class SamplePage
{
private readonly ContextData<MessageContext> _context;
public SamplePage()
{
_con... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.