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
4474c8be125d6236046733da43d63ffcd92fcb14
Set nuget package version to 2.0.0-beta1
andrewdavey/cassette,damiensawyer/cassette,honestegg/cassette,andrewdavey/cassette,andrewdavey/cassette,honestegg/cassette,BluewireTechnologies/cassette,BluewireTechnologies/cassette,honestegg/cassette,damiensawyer/cassette,damiensawyer/cassette
src/SharedAssemblyInfo.cs
src/SharedAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyCompany("Andrew Davey")] [assembly: AssemblyProduct("Cassette")] [assembly: AssemblyCopyright("Copyright © 2011 Andrew Davey")] [assembly: AssemblyInformationalVersion("2.0.0-beta1")] [assembly: AssemblyVersion("2.0.0.*")] [assembly: AssemblyFileVersion("2.0.0.0"...
using System.Reflection; [assembly: AssemblyCompany("Andrew Davey")] [assembly: AssemblyProduct("Cassette")] [assembly: AssemblyCopyright("Copyright © 2011 Andrew Davey")] // NOTE: When changing this version, also update Cassette.MSBuild\Cassette.targets to match. [assembly: AssemblyInformationalVersion("2.0....
mit
C#
db09845c8a454a697a53744fcb2b4668c748338d
tweak snapshot LintRawRule
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
src/FilterLists.Services/Snapshot/RawRuleLinterExtensions.cs
src/FilterLists.Services/Snapshot/RawRuleLinterExtensions.cs
using System; namespace FilterLists.Services.Snapshot { public static class RawRuleLinterExtensions { public static string LintRawRule(this string rule) { rule = rule.Trim(); rule = rule.DropIfTooLong(); rule = rule?.DropIfComment(); rule = rule?...
namespace FilterLists.Services.Snapshot { public static class RawRuleLinterExtensions { public static string LintRawRule(this string rule) { rule = rule?.TrimLeadingAndTrailingWhitespace(); rule = rule?.DropIfEmpty(); rule = rule?.DropIfComment(); ...
mit
C#
f0b215c0b562906d2eee66554c3b91c8e5a3238c
Support added for HTML comment removal
anuraj/HtmlMinificationMiddleware
src/HtmlMinificationMiddleware/HtmlMinificationMiddleware.cs
src/HtmlMinificationMiddleware/HtmlMinificationMiddleware.cs
namespace DotnetThoughts.AspNet { using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; using System.IO; using System.Threading.Tasks; using System.Text; using System.Text.RegularExpressions; public class HtmlMinificationMiddleware { private RequestDelegate _next; ...
namespace DotnetThoughts.AspNet { using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; using System.IO; using System.Threading.Tasks; using System.Text; using System.Text.RegularExpressions; public class HtmlMinificationMiddleware { private RequestDelegate _next; ...
mit
C#
4c6286a3ca1929cbe5c96410ea8121da00f65a40
Fix license header
peppy/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,ZLima12/osu,EVAST9919/osu,ppy/osu,johnneijzen/osu,smoogipoo/osu,2yangk23/osu,NeoAdonis/osu,2yangk23/osu,ZLima12/osu,ppy/osu,peppy/osu-new,smoogipooo/osu,Useless...
osu.Game/Screens/Play/QuickExit.cs
osu.Game/Screens/Play/QuickExit.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Input.Bindings; using osu.Game.Input.Bindings; using osu.Game.Overlays; namespace osu.Game.Screens.Play { public class QuickExit : HoldToConfir...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCEusing System; using osu.Framework.Input.Bindings; using osu.Game.Input.Bindings; using osu.Game.Overlays; namespace osu.Game.Screens.Play { public class QuickExit :...
mit
C#
d9ac6a4a2ca374f7937e193a647599c68817946f
Add SecurityCode
SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers
src/SFA.DAS.EmployerUsers.Web/Models/ChangeEmailViewModel.cs
src/SFA.DAS.EmployerUsers.Web/Models/ChangeEmailViewModel.cs
namespace SFA.DAS.EmployerUsers.Web.Models { public class ChangeEmailViewModel : ViewModelBase { public string NewEmailAddress { get; set; } public string ConfirmEmailAddress { get; set; } public string UserId { get; set; } public string ClientId { get; set; } ...
namespace SFA.DAS.EmployerUsers.Web.Models { public class ChangeEmailViewModel : ViewModelBase { public string NewEmailAddress { get; set; } public string ConfirmEmailAddress { get; set; } public string UserId { get; set; } public string ClientId { get; set; } ...
mit
C#
5226130c7b7c7fe006ecd141e03067360c47ae33
Add edit link to soldier list
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
BatteryCommander.Web/Views/Soldier/List.cshtml
BatteryCommander.Web/Views/Soldier/List.cshtml
@model IEnumerable<BatteryCommander.Common.Models.Soldier> @{ ViewBag.Title = "Soldiers"; } <h2>@ViewBag.Title</h2> <div class="btn-group" role="group"> @Html.ActionLink("Add a Soldier", "New", null, new { @class = "btn btn-primary" }) @Html.ActionLink("Bulk Add/Edit Soldiers", "Bulk", null, new { @clas...
@model IEnumerable<BatteryCommander.Common.Models.Soldier> @{ ViewBag.Title = "Soldiers"; } <h2>@ViewBag.Title</h2> <div class="btn-group" role="group"> @Html.ActionLink("Add a Soldier", "New", null, new { @class = "btn btn-primary" }) @Html.ActionLink("Bulk Add/Edit Soldiers", "Bulk", null, new { @clas...
mit
C#
3be386c98623555cacc933554a66d3996fa78597
Remove unnecessary methods.
toqueteos/bacon
Assets/EndlessFloor.cs
Assets/EndlessFloor.cs
using UnityEngine; using System.Collections; public class EndlessFloor : MonoBehaviour { public int offset = 0; void OnTriggerEnter(Collider other) { Vector3 pos = other.transform.position; pos.z -= offset; other.transform.position = pos; } }
using UnityEngine; using System.Collections; public class EndlessFloor : MonoBehaviour { public int offset = 0; void Start() { } void Update() { } void OnTriggerEnter(Collider other) { Vector3 pos = other.transform.position; pos.z -= offset; other.transform.position = pos; } }
mit
C#
3cde2f5467f380603b50981532dd7a219dabcb6b
Update AssemblyInfo.cs
shutchings/azure-sdk-for-net,AzureAutomationTeam/azure-sdk-for-net,olydis/azure-sdk-for-net,SiddharthChatrolaMs/azure-sdk-for-net,AzCiS/azure-sdk-for-net,nathannfan/azure-sdk-for-net,begoldsm/azure-sdk-for-net,JasonYang-MSFT/azure-sdk-for-net,mihymel/azure-sdk-for-net,MichaelCommo/azure-sdk-for-net,shahabhijeet/azure-s...
src/ResourceManagement/Logic/LogicManagement/Properties/AssemblyInfo.cs
src/ResourceManagement/Logic/LogicManagement/Properties/AssemblyInfo.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Microsoft Azure Logic App Management Library"...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Microsoft Azure Logic App Management Library"...
mit
C#
6d1ccdbfa4c9f2893757b7079aa35c0475a384ce
Remove ResultFormat.None
Microsoft/dotnet-apiport,conniey/dotnet-apiport,JJVertical/dotnet-apiport,twsouthwick/dotnet-apiport,twsouthwick/dotnet-apiport,mjrousos/dotnet-apiport-old,mjrousos/dotnet-apiport,mjrousos/dotnet-apiport,conniey/dotnet-apiport,Microsoft/dotnet-apiport,conniey/dotnet-apiport,Microsoft/dotnet-apiport,JJVertical/dotnet-ap...
src/components/Microsoft.Fx.Portability/Reporting/ObjectModel/ResultFormat.cs
src/components/Microsoft.Fx.Portability/Reporting/ObjectModel/ResultFormat.cs
 namespace Microsoft.Fx.Portability.Reporting.ObjectModel { public enum ResultFormat { Excel, HTML, Json } }
 namespace Microsoft.Fx.Portability.Reporting.ObjectModel { public enum ResultFormat { None, Excel, HTML, Json } }
mit
C#
a5c5fb0c6258d51f346fc5c6be189b9487828600
Add VisitErrorNode() to HmlListener
lou1306/CIV,lou1306/CIV
CIV.Hml/HmlListener.cs
CIV.Hml/HmlListener.cs
using System; using CIV.Common; namespace CIV.Hml { class HmlListener : HmlParserBaseListener { public HmlFormula RootFormula { get; private set; } readonly HmlFactory factory = new HmlFactory(); public override void EnterBaseHml(HmlParser.BaseHmlContext context) { ...
using System; namespace CIV.Hml { class HmlListener : HmlParserBaseListener { public HmlFormula RootFormula { get; private set; } readonly HmlFactory factory = new HmlFactory(); public override void EnterBaseHml(HmlParser.BaseHmlContext context) { RootFormula = fac...
mit
C#
0e83165be3221d2273b313ce38ffa09fe30179c9
fix comment + explain behavior
NServiceKit/NServiceKit.Text,gerryhigh/ServiceStack.Text,mono/ServiceStack.Text,mono/ServiceStack.Text,gerryhigh/ServiceStack.Text,NServiceKit/NServiceKit.Text
tests/ServiceStack.Text.Tests/JsonTests/BackingFieldTests.cs
tests/ServiceStack.Text.Tests/JsonTests/BackingFieldTests.cs
using System; using NUnit.Framework; namespace ServiceStack.Text.Tests.JsonTests { #region Test types public class GetOnlyWithBacking { long backing; public GetOnlyWithBacking(long i) { backing = i; } public long Property { get { return backing; } } } public class Ge...
using System; using NUnit.Framework; namespace ServiceStack.Text.Tests.JsonTests { #region Test types public class GetOnlyWithBacking { long backing; public GetOnlyWithBacking(long i) { backing = i; } public long Property { get { return backing; } } } public class Ge...
bsd-3-clause
C#
9e585cac71769a5ff720a7d43e3c314e97e5eb96
Use input value as seed in AxisInput to prevent initial spike
mysticfall/Alensia
Assets/Alensia/Core/Input/AxisInput.cs
Assets/Alensia/Core/Input/AxisInput.cs
using System.Collections.Generic; using System.Linq; using UniRx; using UnityEngine; using UnityEngine.Assertions; using static UnityEngine.Input; namespace Alensia.Core.Input { public class AxisInput : ModifierInput<float>, IAxisInput { public string Axis { get; } public float? Smoothing { g...
using System.Collections.Generic; using System.Linq; using UniRx; using UnityEngine; using UnityEngine.Assertions; using static UnityEngine.Input; namespace Alensia.Core.Input { public class AxisInput : ModifierInput<float>, IAxisInput { public string Axis { get; } public float? Smoothing { g...
apache-2.0
C#
28911062a62db90bbf863fcdad6dacfe13471bc5
Fix car movement input in editor
android/games-samples,android/games-samples,android/games-samples,android/games-samples
trivialkart/trivialkart-unity/Assets/Scripts/Controller/Game/CarMove.cs
trivialkart/trivialkart-unity/Assets/Scripts/Controller/Game/CarMove.cs
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
apache-2.0
C#
b13aba07a1968f6d6273327766fd41b135c33668
Change Always(x) so that it doesn't depend on the 'true' literal
Logicalshift/Reason
LogicalShift.Reason/Clause.cs
LogicalShift.Reason/Clause.cs
using LogicalShift.Reason.Api; using LogicalShift.Reason.Clauses; using System; using System.Linq; namespace LogicalShift.Reason { /// <summary> /// Methods for creating an altering clauses /// </summary> public static class Clause { /// <summary> /// Creates a new negative Horn cl...
using LogicalShift.Reason.Api; using LogicalShift.Reason.Clauses; using System; using System.Linq; namespace LogicalShift.Reason { /// <summary> /// Methods for creating an altering clauses /// </summary> public static class Clause { /// <summary> /// Creates a new negative Horn cl...
apache-2.0
C#
6a198d1c906bfe482669453bbf5426d75908890f
Fix popups
danielchalmers/SteamAccountSwitcher
SteamAccountSwitcher/Popup.cs
SteamAccountSwitcher/Popup.cs
#region using System.Windows; using SteamAccountSwitcher.Properties; #endregion namespace SteamAccountSwitcher { internal class Popup { public static MessageBoxResult Show(string text, MessageBoxButton btn = MessageBoxButton.OK, MessageBoxImage img = MessageBoxImage.Information, MessageB...
#region using System.Windows; using SteamAccountSwitcher.Properties; #endregion namespace SteamAccountSwitcher { internal class Popup { public static MessageBoxResult Show(string text, MessageBoxButton btn = MessageBoxButton.OK, MessageBoxImage img = MessageBoxImage.Information, MessageB...
mit
C#
9786d73b4eeccd6bccbe8bf2037235af5fa05760
Fix :bug:
Zalodu/Schedutalk,Zalodu/Schedutalk
Schedutalk/Schedutalk/Schedutalk/Logic/KTHPlaces/KTHPlacesDataFetcher.cs
Schedutalk/Schedutalk/Schedutalk/Logic/KTHPlaces/KTHPlacesDataFetcher.cs
using Newtonsoft.Json; using Org.Json; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net.Http; using System.Runtime.Serialization.Json; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Schedut...
using Newtonsoft.Json; using Org.Json; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net.Http; using System.Runtime.Serialization.Json; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Schedut...
mit
C#
6d5171c7509e0e709034f525a5e50270861f394f
Bump version
programcsharp/griddly,programcsharp/griddly,jehhynes/griddly,nickdevore/griddly,nickdevore/griddly,jehhynes/griddly,programcsharp/griddly
Build/CommonAssemblyInfo.cs
Build/CommonAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProduct("Griddly")] [assembly: AssemblyCopyright("Copyright © 2015 Chris Hynes and Data Research Group")] [assembly: ComVisible(false)] // Version information for an assembly consists of the following four values: // // Major Ver...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProduct("Griddly")] [assembly: AssemblyCopyright("Copyright © 2015 Chris Hynes and Data Research Group")] [assembly: ComVisible(false)] // Version information for an assembly consists of the following four values: // // Major Ver...
mit
C#
d34e313012f4b7f2de4146ef4beb08abf56954e0
Fix line endings in Displayable.
Misterblue/convoar,Misterblue/convoar
convoar/Displayable.cs
convoar/Displayable.cs
/* * Copyright (c) 2017 Robert Adams * * 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 * * Unless required by applicable law or agree...
/* * Copyright (c) 2017 Robert Adams * * 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 * * Unless required by applicable la...
apache-2.0
C#
964c116d98cd06e88c868f85aee30cff9966e198
use FunBookData.Create(); in category menu
dzhenko/FunBook,dzhenko/FunBook
FunBook/FunBook.WebForms/FunAreaPages/FunMasterPage.master.cs
FunBook/FunBook.WebForms/FunAreaPages/FunMasterPage.master.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using FunBook.Data; namespace FunBook.WebForms.FunAreaPages { public partial class FunMasterPage : MasterPage { FunBookData db = FunBookData.Create(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using FunBook.Data; namespace FunBook.WebForms.FunAreaPages { public partial class FunMasterPage : MasterPage { FunBookDbContext db = new FunBookDbContext(); ...
mit
C#
41d3129e6bcd1e68ffc8da374a6cdccacc7f21e7
Convert HTTP status codes to gRPC status codes when converting LROs
jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet
apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1/OperationToLroResponse.cs
apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1/OperationToLroResponse.cs
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
apache-2.0
C#
6ef289a21c89cd2c416248ed0d1bbe6738c769f4
Add VotingOnly node role (#4276)
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/Cluster/NodesInfo/NodeRole.cs
src/Nest/Cluster/NodesInfo/NodeRole.cs
using System.Runtime.Serialization; using Elasticsearch.Net; namespace Nest { [StringEnum] public enum NodeRole { [EnumMember(Value = "master")] Master, [EnumMember(Value = "data")] Data, [EnumMember(Value = "client")] Client, [EnumMember(Value = "ingest")] Ingest, [EnumMember(Value = "ml")] ...
using System.Runtime.Serialization; using Elasticsearch.Net; namespace Nest { [StringEnum] public enum NodeRole { [EnumMember(Value = "master")] Master, [EnumMember(Value = "data")] Data, [EnumMember(Value = "client")] Client, [EnumMember(Value = "ingest")] Ingest, [EnumMember(Value = "ml")] ...
apache-2.0
C#
6b650f6172e92c8ee037fd1f8180e0e1486b5e14
Rename GamepadMappingType._empty to GamepadMappingType.None
bridgedotnet/Bridge,bridgedotnet/Bridge,AndreyZM/Bridge,AndreyZM/Bridge,AndreyZM/Bridge,bridgedotnet/Bridge,bridgedotnet/Bridge,AndreyZM/Bridge
Html5/GamepadMappingType.cs
Html5/GamepadMappingType.cs
namespace Bridge.Html5 { [External] [Name("String")] [Enum(Emit.StringName)] public enum GamepadMappingType { [Name("")] None, [Name("standard")] Standard } }
namespace Bridge.Html5 { [External] [Name("String")] [Enum(Emit.StringName)] public enum GamepadMappingType { [Name("standard")] Standard, [Name("")] _empty } }
apache-2.0
C#
bba2a5610bb50a6f94fc233e571048a31c8905a5
bump version
ParticularLabs/SetStartupProjects
src/SetStartupProjects/AssemblyInfo.cs
src/SetStartupProjects/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("SetStartupProjects")] [assembly: AssemblyProduct("SetStartupProjects")] [assembly: AssemblyCopyright("Copyright © NServiceBus Ltd")] [assembly: AssemblyVersion("1.2.2")] [assembly: AssemblyFileVersion("1.2.2")] [assembly: Intern...
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("SetStartupProjects")] [assembly: AssemblyProduct("SetStartupProjects")] [assembly: AssemblyCopyright("Copyright © NServiceBus Ltd")] [assembly: AssemblyVersion("1.2.1")] [assembly: AssemblyFileVersion("1.2.1")] [assembly: Intern...
mit
C#
e0d597ce4b2a47619c0d4e1d60cb7f11fdb834d3
change url
DotNetRu/App,DotNetRu/App
DotNetRu.Utils/Helpers/AboutThisApp.cs
DotNetRu.Utils/Helpers/AboutThisApp.cs
namespace DotNetRu.Utils.Helpers { public static class AboutThisApp { public const string AppLinkProtocol = "dotnetru"; public const string PackageName = "com.dotnetru.app"; public const string AppName = "DotNetRu"; public const string CompanyName = "DotNetRu"; publi...
namespace DotNetRu.Utils.Helpers { public static class AboutThisApp { public const string AppLinkProtocol = "dotnetru"; public const string PackageName = "com.dotnetru.app"; public const string AppName = "DotNetRu"; public const string CompanyName = "DotNetRu"; publi...
mit
C#
7760912ffcb638e36c025e465ef9b299912fab59
Fix initial value not propagating
peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,smoogipooo/osu-framework
osu.Framework/Statistics/GlobalStatistic.cs
osu.Framework/Statistics/GlobalStatistic.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.Framework.Bindables; namespace osu.Framework.Statistics { public class GlobalStatistic<T> : IGlobalStatistic { public string Group { get; } ...
// 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.Framework.Bindables; namespace osu.Framework.Statistics { public class GlobalStatistic<T> : IGlobalStatistic { public string Group { get; } ...
mit
C#
15970d6d517149f449edbfa464d7747e8387fb36
change register back button to call login.Show instead of SetActive
NoScopeProductions/Gravi-Cube
Assets/Scripts/UI/Manager/RegisterManager.cs
Assets/Scripts/UI/Manager/RegisterManager.cs
using System; using System.Collections; using JetBrains.Annotations; using Parse; using UnityEngine; using UnityEngine.UI; namespace UI.Manager { [UsedImplicitly] public class RegisterManager : MonoBehaviour { [SerializeField, UsedImplicitly] private InputField _username; [Seriali...
using System; using System.Collections; using JetBrains.Annotations; using Parse; using UnityEngine; using UnityEngine.UI; namespace UI.Manager { [UsedImplicitly] public class RegisterManager : MonoBehaviour { [SerializeField, UsedImplicitly] private InputField _username; [Seriali...
mit
C#
6001cf6fa90ce4e444d5aec94cd8af6daa0593ae
Update version number
hudl/HudlFfmpeg
Hudl.Ffmpeg/Properties/AssemblyInfo.cs
Hudl.Ffmpeg/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("Hu...
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("Hu...
apache-2.0
C#
172a9644b79f6f7c4883d0dd383a70209e7f2449
Remove trailing slashes from baseUrl in .NET to prevent double slashes in URL
joshmgrant/selenium,amikey/selenium,yukaReal/selenium,mestihudson/selenium,clavery/selenium,lukeis/selenium,lukeis/selenium,krosenvold/selenium,MeetMe/selenium,SeleniumHQ/selenium,telefonicaid/selenium,xsyntrex/selenium,gregerrag/selenium,alexec/selenium,asashour/selenium,gurayinan/selenium,sebady/selenium,houchj/selen...
dotnet/src/Selenium.WebDriverBackedSelenium/Internal/SeleniumEmulation/Open.cs
dotnet/src/Selenium.WebDriverBackedSelenium/Internal/SeleniumEmulation/Open.cs
using System; using System.Collections.Generic; using System.Text; using OpenQA.Selenium; using Selenium.Internal.SeleniumEmulation; namespace Selenium.Internal.SeleniumEmulation { /// <summary> /// Defines the command for the open keyword. /// </summary> internal class Open : SeleneseCommand { ...
using System; using System.Collections.Generic; using System.Text; using OpenQA.Selenium; using Selenium.Internal.SeleniumEmulation; namespace Selenium.Internal.SeleniumEmulation { /// <summary> /// Defines the command for the open keyword. /// </summary> internal class Open : SeleneseCommand { ...
apache-2.0
C#
a37ace94010227f3be4d3edc23614bc326f06c6f
Fix #93: ReferenceFinder should return public types only (#95)
Fody/NullGuard
Fody/ReferenceFinder.cs
Fody/ReferenceFinder.cs
using System.Collections.Generic; using System.Linq; using Mono.Cecil; public partial class ModuleWeaver { public MethodReference ArgumentNullExceptionConstructor; public MethodReference ArgumentNullExceptionWithMessageConstructor; public MethodReference InvalidOperationExceptionConstructor; public Meth...
using System.Collections.Generic; using System.Linq; using Mono.Cecil; public partial class ModuleWeaver { public MethodReference ArgumentNullExceptionConstructor; public MethodReference ArgumentNullExceptionWithMessageConstructor; public MethodReference InvalidOperationExceptionConstructor; public Meth...
mit
C#
d572a32c59e2260a224fcecb1650c9b253edfe84
Fix build warning
jmelosegui/pinvoke,vbfox/pinvoke,AArnott/pinvoke
src/UxTheme.Desktop/UxTheme+MARGINS.cs
src/UxTheme.Desktop/UxTheme+MARGINS.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; using System.Runtime.InteropServices; /// <cont...
// 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; using System.Runtime.InteropServices; /// <cont...
mit
C#
a7755d50eff2b471e204df27c168a13d150324f7
Fix bad logic stopping the UrlSegmentProvider from being installed. Fixes #2.
ryanlewis/seo-metadata,ryanmcdonough/seo-metadata,ryanmcdonough/seo-metadata,ryanlewis/seo-metadata,ryanmcdonough/seo-metadata,ryanlewis/seo-metadata
app/Epiphany.SeoMetadata/SeoMetadataStartup.cs
app/Epiphany.SeoMetadata/SeoMetadataStartup.cs
using System; using System.Configuration; using Umbraco.Core; using Umbraco.Core.Logging; using Umbraco.Core.Strings; namespace Epiphany.SeoMetadata { public class SeoMetadataStartup : ApplicationEventHandler { protected override void ApplicationStarting(UmbracoApplicationBase umbracoApplication, Appl...
using System; using System.Configuration; using Umbraco.Core; using Umbraco.Core.Logging; using Umbraco.Core.Strings; namespace Epiphany.SeoMetadata { public class SeoMetadataStartup : ApplicationEventHandler { protected override void ApplicationStarting(UmbracoApplicationBase umbracoApplication, Appl...
mit
C#
458c12cfb16c937b215a7372bc41be843fdc9d9d
Update VacancyClosed.cshtml
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/VacancyClosed.cshtml
src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/VacancyClosed.cshtml
@model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel @{ var applicationsTextSuffix = !Model.NoOfApplications.GetValueOrDefault().Equals(0) ? (Model.NoOfApplications.Value.Equals(1) ? "application" : "applications") : ""; var applicationsTextPrefix = !Model.NoOfApplications.GetValueOrDefault().Equal...
@model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel @{ var applicationsTextSuffix = !Model.NoOfApplications.GetValueOrDefault().Equals(0) ? (Model.NoOfApplications.Value.Equals(1) ? "application" : "applications") : ""; var applicationsTextPrefix = !Model.NoOfApplications.GetValueOrDefault().Equal...
mit
C#
9d45cf85ad9cfaeef5e29d8880af66fdc3348b56
Add coments to ProductDto.cs.
harrison314/MapperPerformace
MapperPerformace/Testing/ProductDto.cs
MapperPerformace/Testing/ProductDto.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MapperPerformace.Testing { /// <summary> /// Dto represents <see cref="MapperPerformace.Ef.Product"/>. /// </summary> [System.Diagnostics.DebuggerDisplay("Id: {ProductID}, Count...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MapperPerformace.Testing { [System.Diagnostics.DebuggerDisplay("Id: {ProductID}, Count: {ProductListPriceHistories.Count}")] public class ProductDto { public int ProductID ...
mit
C#
08b3ed7f093eaac592b38db86f45ac25e1081e80
Add WaitForExit to Archive build task
andrew-polk/libpalaso,gtryus/libpalaso,marksvc/libpalaso,ddaspit/libpalaso,tombogle/libpalaso,hatton/libpalaso,darcywong00/libpalaso,glasseyes/libpalaso,glasseyes/libpalaso,ddaspit/libpalaso,gmartin7/libpalaso,andrew-polk/libpalaso,chrisvire/libpalaso,andrew-polk/libpalaso,hatton/libpalaso,gtryus/libpalaso,JohnThomson/...
Palaso.MSBuildTasks/Archive/Archive.cs
Palaso.MSBuildTasks/Archive/Archive.cs
using System; using System.Diagnostics; using System.IO; using System.Text; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace Palaso.BuildTasks.Archive { public class Archive : Task { [Required] public ITaskItem[] InputFilePaths { get; set; } [Required] public string Command { get;...
using System; using System.Diagnostics; using System.IO; using System.Text; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace Palaso.BuildTasks.Archive { public class Archive : Task { [Required] public ITaskItem[] InputFilePaths { get; set; } [Required] public string Command { get;...
mit
C#
a46f0103eed359a29c0cfbfd01f348db5d835bb2
Use CopyRecursive as extension method
dkoeb/f-spot,nathansamson/F-Spot-Album-Exporter,mono/f-spot,NguyenMatthieu/f-spot,mans0954/f-spot,dkoeb/f-spot,mono/f-spot,NguyenMatthieu/f-spot,GNOME/f-spot,dkoeb/f-spot,mono/f-spot,nathansamson/F-Spot-Album-Exporter,Sanva/f-spot,mans0954/f-spot,mans0954/f-spot,GNOME/f-spot,Yetangitu/f-spot,NguyenMatthieu/f-spot,dkoeb...
src/Utils/FileExtensions.cs
src/Utils/FileExtensions.cs
/* * FSpot.Utils.FileExtensions.cs * * Author(s) * Paul Wellner Bou <paul@purecodes.org> * * This is free software. See COPYING for details. */ using System; using System.IO; using Mono.Unix; using GLib; namespace FSpot.Utils { public static class FileExtensions { public static bool CopyRecursive (this GL...
/* * FSpot.Utils.FileExtensions.cs * * Author(s) * Paul Wellner Bou <paul@purecodes.org> * * This is free software. See COPYING for details. */ using System; using System.IO; using Mono.Unix; using GLib; namespace FSpot.Utils { public static class FileExtensions { public static bool CopyRecursive (this GL...
mit
C#
56f0e4254e68d5c90e6d718fad731517cfbcd2b4
modifica creata
gaggiga/academyOvernetLuglio2017
Yoox.StringCalculatorKata/Yoox.StringCalculatorKataTest/StringCalculatorTest.cs
Yoox.StringCalculatorKata/Yoox.StringCalculatorKataTest/StringCalculatorTest.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Yoox.StringCalculatorKata; namespace Yoox.StringCalculatorKataTest { [TestClass] public class StringCalculatorTest { StringCalculator sck; public StringCalculatorTest() { sck = new StringCalculator...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Yoox.StringCalculatorKata; namespace Yoox.StringCalculatorKataTest { [TestClass] public class StringCalculatorTest { StringCalculator sck; public StringCalculatorTest() { sck = new StringCalculator...
mit
C#
e3d14c8223f74e486f0f553558075685e0917b2d
Change EventData type
twilio/twilio-csharp,IRlyDontKnow/twilio-csharp,mplacona/twilio-csharp
src/Twilio.Monitor/Model/Event.cs
src/Twilio.Monitor/Model/Event.cs
using System; using System.Collections; using System.Collections.Generic; namespace Twilio.Monitor { /// <summary> /// An Event instance resource represents a single Twilio Event. /// </summary> public class Event : TwilioBase { /// <summary> /// The unique ID for this Event. ...
using System; using System.Collections.Generic; namespace Twilio.Monitor { /// <summary> /// An Event instance resource represents a single Twilio Event. /// </summary> public class Event : TwilioBase { /// <summary> /// The unique ID for this Event. /// </summary> ...
mit
C#
e519b6f8890ecd08a207427081cbefd27b306e24
Add comment to Auth Login action describing redirect
GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet
aspnet/4-auth/Controllers/SessionController.cs
aspnet/4-auth/Controllers/SessionController.cs
// Copyright(c) 2016 Google Inc. // // 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 // // Unless required by applicable law or agree...
// Copyright(c) 2016 Google Inc. // // 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 // // Unless required by applicable law or agree...
apache-2.0
C#
fe258cc73a8500b987bef99cc76c5c968487536b
Add registration options for documentSymbol request
PowerShell/PowerShellEditorServices
src/PowerShellEditorServices.Protocol/LanguageServer/WorkspaceSymbols.cs
src/PowerShellEditorServices.Protocol/LanguageServer/WorkspaceSymbols.cs
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol; namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer { public enum Symbo...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol; namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer { public enum Symbo...
mit
C#
380c6e4c6f0a4740b541a449efdc7993a1bdae74
Use separator when joining string attributes
JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET
SpotifyAPI/Web/Util.cs
SpotifyAPI/Web/Util.cs
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; namespace SpotifyAPI.Web { public static class Util { public static string GetStringAttribute<T>(this T en, String separator) where T : struct, IConvertible { Enum e = (Enum)(object)en; ...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; namespace SpotifyAPI.Web { public static class Util { public static string GetStringAttribute<T>(this T en, String separator) where T : struct, IConvertible { Enum e = (Enum)(object)en; ...
mit
C#
ba9dc7d0a285f97e49a25752c277fed5169bb6ef
refactor services
wangkanai/Detection
test/Services/DetectionServiceTests.cs
test/Services/DetectionServiceTests.cs
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Http; using Xunit; namespace Wangkanai.Detection.Services { public class UserAgentServiceTests { [Fact] pu...
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Http; using Xunit; namespace Wangkanai.Detection.Services { public class UserAgentServiceTests { [Fact] pu...
apache-2.0
C#
d6486991046a63d07fda73645e3026f276dcca8a
Fix Typo on Content History
pushrbx/squidex,Squidex/squidex,pushrbx/squidex,pushrbx/squidex,Squidex/squidex,pushrbx/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,pushrbx/squidex
src/Squidex.Domain.Apps.Entities/Contents/ContentHistoryEventsCreator.cs
src/Squidex.Domain.Apps.Entities/Contents/ContentHistoryEventsCreator.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
mit
C#
4c77aed687a819e67844c9bb8e6ff6cb362e350b
Implement IPropertyDescriptorInitializer to validate properties on initializing
evicertia/HermaFx,evicertia/HermaFx,evicertia/HermaFx
HermaFx.SettingsAdapter/SettingsAttribute.cs
HermaFx.SettingsAdapter/SettingsAttribute.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Castle.Components.DictionaryAdapter; namespace HermaFx.Settings { [AttributeUsage(AttributeTargets.Interface | AttributeTargets.Property, AllowMultiple = false)] public sealed class SettingsAttr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HermaFx.Settings { [AttributeUsage(AttributeTargets.Interface | AttributeTargets.Property, AllowMultiple = false)] public sealed class SettingsAttribute : Attribute { public const string ...
mit
C#
3d6dcba826f4e151db2a570f782f18bc33c8eaa0
Remove duplicates from sorted array II - Linq
Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews
LeetCode/remove_duplicates_sorted_array_2.cs
LeetCode/remove_duplicates_sorted_array_2.cs
using System; using System.Linq; using System.Collections.Generic; static class Program { static int RemoveDupes(this int[] a) { int write = 1; int read = 0; bool same = false; int count = 0; for (int i = 1; i < a.Length; i++) { read = i; if ...
using System; static class Program { static int RemoveDupes(this int[] a) { int write = 1; int read = 0; bool same = false; int count = 0; for (int i = 1; i < a.Length; i++) { read = i; if (same && a[read] == a[write]) { count...
mit
C#
a372b6d897b36fa833f42590134bd41d60467d00
add http context
SignalGo/SignalGo-full-net
SignalGo.Server.Owin/OwinClientInfo.cs
SignalGo.Server.Owin/OwinClientInfo.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; #if (!NETSTANDARD) using Microsoft.Owin; #else using Microsoft.AspNetCore.Http; #endif using SignalGo.Server.Models; using SignalGo.Server.ServiceManager; namespace SignalGo.Server.Owin { public class OwinClientInfo : HttpClientI...
using System; using System.Collections.Generic; using System.Linq; using System.Net; #if (!NETSTANDARD) using Microsoft.Owin; #endif using SignalGo.Server.Models; using SignalGo.Server.ServiceManager; namespace SignalGo.Server.Owin { public class OwinClientInfo : HttpClientInfo { public OwinClientInfo...
mit
C#
ce0854174ade23c0f60e830535409b9502f059cf
Fix ZoneMarker: replace DaemonEngineZone with DaemonZone and add missing ILanguageAspZone
ulrichb/ImplicitNullability,ulrichb/ImplicitNullability,ulrichb/ImplicitNullability
Src/ImplicitNullability.Plugin/ZoneMarker.cs
Src/ImplicitNullability.Plugin/ZoneMarker.cs
using JetBrains.Application.BuildScript.Application.Zones; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.Asp; using JetBrains.ReSharper.Psi.CSharp; namespace ImplicitNullability.Plugin { [ZoneDefinition] [ZoneDefinitionConfigurableFeature(Assem...
using JetBrains.Application.BuildScript.Application.Zones; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.CSharp; namespace ImplicitNullability.Plugin { [ZoneDefinition] [ZoneDefinitionConfigurableFeature(AssemblyConsts.Title, AssemblyConsts.Des...
mit
C#
3f95c0691d42cf90b435caf0964915d1b0346c9d
set zero version
michaelschnyder/todo-sample,michaelschnyder/todo-sample,michaelschnyder/todo-sample
ToDoSample.WebApi/Properties/AssemblyInfo.cs
ToDoSample.WebApi/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("To...
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("To...
mit
C#
cc8abd5231e585212227d46f285b8854563f8a02
implement DefineButtonCxformTag writing
Alexx999/SwfSharp
SwfSharp/Tags/DefineButtonCxformTag.cs
SwfSharp/Tags/DefineButtonCxformTag.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SwfSharp.Structs; using SwfSharp.Utils; namespace SwfSharp.Tags { public class DefineButtonCxformTag : SwfTag { public ushort ButtonId { get; set; } public CXformStruct ButtonColorTransform { get; set; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SwfSharp.Structs; using SwfSharp.Utils; namespace SwfSharp.Tags { public class DefineButtonCxformTag : SwfTag { public ushort ButtonId { get; set; } public CXformStruct ButtonColorTransform { get; set; ...
mit
C#
378202509898ba6103af2b06a1f9910a2179617a
Build config for PhysX on IOS
zmij/pg_async,zmij/tip-http,zmij/tip-http,zmij/tip-http,zmij/tip-http
Source/Awm/Awm.Build.cs
Source/Awm/Awm.Build.cs
// Copyright 2015 Mail.Ru Group. All Rights Reserved. using UnrealBuildTool; public class Awm : ModuleRules { public Awm(TargetInfo Target) { PublicDependencyModuleNames.AddRange( new string[] { "Core", "CoreUObject", "Engine", "Inpu...
// Copyright 2015 Mail.Ru Group. All Rights Reserved. using UnrealBuildTool; public class Awm : ModuleRules { public Awm(TargetInfo Target) { PublicDependencyModuleNames.AddRange( new string[] { "Core", "CoreUObject", "Engine", "Inpu...
artistic-2.0
C#
d2a1278e5b63a7f27fee038454cda7da5cd16169
fix typo
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Transactions/OperationMerger.cs
WalletWasabi/Transactions/OperationMerger.cs
using NBitcoin; using System; using System.Collections.Generic; using System.Linq; using System.Text; using WalletWasabi.Models; namespace WalletWasabi.Transactions { public static class OperationMerger { /// <summary> /// Merges the operations in a way that it leaves the order, but two consecutive remove or app...
using NBitcoin; using System; using System.Collections.Generic; using System.Linq; using System.Text; using WalletWasabi.Models; namespace WalletWasabi.Transactions { public static class OperationMerger { /// <summary> /// Merges the operations in a way that it leaves the order, but two consequtive remove or app...
mit
C#
0617f9062799e1504f229570418909323256ca4c
Revert accidental name change
xamarin/XamarinStripe,haithemaraissia/XamarinStripe
XamarinStripe/StripeCard.cs
XamarinStripe/StripeCard.cs
/* * Copyright 2011 - 2012 Xamarin, Inc. * * Author(s): * Gonzalo Paniagua Javier (gonzalo@xamarin.com) * Joe Dluzen (jdluzen@gmail.com) * * 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 ...
/* * Copyright 2011 - 2012 Xamarin, Inc. * * Author(s): * Gonzalo Paniagua Javier (gonzalo@xamarin.com) * Joe Dluzen (jdluzen@gmail.com) * * 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 ...
apache-2.0
C#
38f74b32505ee021a02d0fa0df0fbf04f0fda9bc
Update OSTests.cs
StefanoRaggi/Lean,jameschch/Lean,StefanoRaggi/Lean,redmeros/Lean,JKarathiya/Lean,redmeros/Lean,StefanoRaggi/Lean,QuantConnect/Lean,StefanoRaggi/Lean,JKarathiya/Lean,kaffeebrauer/Lean,Jay-Jay-D/LeanSTP,Jay-Jay-D/LeanSTP,AlexCatarino/Lean,kaffeebrauer/Lean,jameschch/Lean,kaffeebrauer/Lean,Jay-Jay-D/LeanSTP,AlexCatarino/L...
Tests/Common/OSTests.cs
Tests/Common/OSTests.cs
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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 ...
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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 ...
apache-2.0
C#
eb70ae788c9e037edca47f767265621d2af5b80e
Store max combo in ScoreProcessor.
UselessToucan/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,Frontear/osuKyzer,ppy/osu,ppy/osu,nyaamara/osu,theguii/osu,Nabile-Rahmani/osu,peppy/osu,Drezi126/osu,UselessToucan/osu,smoogipoo/osu,ZLima12/osu,DrabWeb/osu,naoey/osu,smoogipoo/osu,johnneijzen/osu,johnneijzen/osu,2yangk23/osu,osu-RP/osu-RP,EVAST9919/osu,naoey/osu,R...
osu.Game/Modes/ScoreProcesssor.cs
osu.Game/Modes/ScoreProcesssor.cs
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using osu.Framework.Configuration; using osu....
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using osu.Framework.Configuration; using osu....
mit
C#
048c832afb8e002bca548d08d86f32a5eb5f25c9
Fix rotation on 0x60 0x43 step 1 attack packet
HelloKitty/Booma.Proxy
src/Booma.Proxy.Packets.BlockServer/Commands/Command60/Sub60PlayerAttackStepOneCommand.cs
src/Booma.Proxy.Packets.BlockServer/Commands/Command60/Sub60PlayerAttackStepOneCommand.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FreecraftCore.Serializer; namespace Booma.Proxy { //https://sylverant.net/wiki/index.php/Packet_0x60#Subcommand_0x43 [WireDataContract] [SubCommand60(SubCommand60OperationCode.AttackStepOne)] ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FreecraftCore.Serializer; namespace Booma.Proxy { //https://sylverant.net/wiki/index.php/Packet_0x60#Subcommand_0x43 [WireDataContract] [SubCommand60(SubCommand60OperationCode.AttackStepOne)] ...
agpl-3.0
C#
af95e2143f2289e9a3167b921c6b06840f5344e9
remove user agent string
dkackman/Sunlight.Net
SunlightAPI/SunlightService.cs
SunlightAPI/SunlightService.cs
using System.Linq; using System.Collections.Generic; using System.Text; using System.Net; using System.Threading.Tasks; using System.Diagnostics; using PortableRest; namespace SunlightAPI { class SunlightService { string _root; string apikey_param; public SunlightService(string root...
using System.Linq; using System.Collections.Generic; using System.Text; using System.Net; using System.Threading.Tasks; using System.Diagnostics; using PortableRest; namespace SunlightAPI { class SunlightService { string _root; string apikey_param; public SunlightService(string root...
mit
C#
b8155af8d4b1ba452f481e02866933b509d44e4b
Update ResultStatus.cs
zoosk/testrail-client
TestRail/Types/ResultStatus.cs
TestRail/Types/ResultStatus.cs
namespace TestRail.Types { /// <summary>the enumeration represents the status of a test result</summary> public enum ResultStatus { /// <summary>the test has not been run</summary> Untested = 3, /// <summary>the test passed</summary> Passed = 1, /// <summary>the test...
namespace TestRail.Types { /// <summary>the enumeration represents the status of a test result</summary> public enum ResultStatus { /// <summary>the test has not been run</summary> Untested = 0, /// <summary>the test passed</summary> Passed = 1, /// <summary>the test...
apache-2.0
C#
9486712f5670267080778ffa389cb70e2e5ca6ef
Write the test for the reset behavior.
ocoanet/moq4,breyed/moq4,LeonidLevin/moq4,kulkarnisachin07/moq4,Moq/moq4,kolomanschaft/moq4,madcapsoftware/moq4,JohanLarsson/moq4,AhmedAssaf/moq4,AhmedAssaf/moq4,HelloKitty/moq4,RobSiklos/moq4,jeremymeng/moq4,ramanraghur/moq4,cgourlay/moq4,iskiselev/moq4,chkpnt/moq4
UnitTests/OccurrenceFixture.cs
UnitTests/OccurrenceFixture.cs
using System; using Xunit; namespace Moq.Tests { public class OccurrenceFixture { [Fact] public void OnceDoesNotThrowOnSecondCallIfCountWasResetBefore() { var mock = new Mock<IFoo>(); mock.Setup(foo => foo.Execute("ping")) .Returns("ack") ...
using System; using Xunit; namespace Moq.Tests { public class OccurrenceFixture { [Fact] [Obsolete] public void OnceThrowsOnSecondCall() { var mock = new Mock<IFoo>(); mock.Setup(foo => foo.Execute("ping")) .Returns("ack") .AtMostOnce(); Assert.Equal("ack", mock.Object.Exec...
bsd-3-clause
C#
286066b2886e4b2c16dc01ba1dbf27efc88bacff
teste 45
gsmgabriela/Vai-Fundos
VaiFundos/VaiFundos/Program.cs
VaiFundos/VaiFundos/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VaiFundos { class Program { static void Main(string[] args) { //Olá Mundo! //OLA HALANA SAÌ DAQUI!!! //Vai fi! // vam...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VaiFundos { class Program { static void Main(string[] args) { //Olá Mundo! //OLA HALANA SAÌ DAQUI!!! //Vai fi! ...
mit
C#
7b9ebe63e8076e4c4008181dd0d2f465e783650b
Fix comment.
MichalStrehovsky/roslyn,agocke/roslyn,gafter/roslyn,MichalStrehovsky/roslyn,abock/roslyn,weltkante/roslyn,heejaechang/roslyn,tannergooding/roslyn,brettfo/roslyn,physhi/roslyn,nguerrera/roslyn,AlekseyTs/roslyn,AmadeusW/roslyn,abock/roslyn,sharwell/roslyn,tmat/roslyn,MichalStrehovsky/roslyn,KirillOsenkov/roslyn,tmat/rosl...
src/Features/Core/Portable/EmbeddedLanguages/IEmbeddedLanguageFeatures.cs
src/Features/Core/Portable/EmbeddedLanguages/IEmbeddedLanguageFeatures.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 Microsoft.CodeAnalysis.CodeStyle; using Microsoft.CodeAnalysis.Completion; using Microsoft.CodeAnalysis.DocumentHighlighting; using Microsoft.CodeAnaly...
// 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 Microsoft.CodeAnalysis.CodeStyle; using Microsoft.CodeAnalysis.Completion; using Microsoft.CodeAnalysis.DocumentHighlighting; using Microsoft.CodeAnaly...
mit
C#
1d30525e2288bc3df89e6a41ff904d5ef1d41f00
Update UserRepository.cs
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Data/UserRepository.cs
src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Data/UserRepository.cs
using System; using System.Data; using System.Threading.Tasks; using Dapper; using SFA.DAS.EAS.Domain.Data.Repositories; using SFA.DAS.EAS.Domain.Models.UserProfile; namespace SFA.DAS.EAS.Infrastructure.Data { public class UserRepository : IUserRepository { private readonly Lazy<EmployerAcc...
using System; using System.Data; using System.Threading.Tasks; using Dapper; using SFA.DAS.EAS.Domain.Data.Repositories; using SFA.DAS.EAS.Domain.Models.UserProfile; namespace SFA.DAS.EAS.Infrastructure.Data { public class UserRepository : IUserRepository { private readonly Lazy<EmployerAcc...
mit
C#
6e21d33999b493783a68500cabbffdefa7c986ab
Update events.cs
AntiTcb/Discord.Net,Confruggy/Discord.Net,RogueException/Discord.Net
docs/guides/concepts/samples/events.cs
docs/guides/concepts/samples/events.cs
using Discord; using Discord.WebSocket; public class Program { private DiscordSocketClient _client; static void Main(string[] args) => new Program().MainAsync().GetAwaiter().GetResult(); public async Task MainAsync() { // When working with events that have Cacheable<IMessage, ulong> parameters, // you must e...
using Discord; using Discord.WebSocket; public class Program { private DiscordSocketClient _client; static void Main(string[] args) => new Program().MainAsync().GetAwaiter().GetResult(); public async Task MainAsync() { // When working with events that have Cacheable<IMessage, ulong> parameters, // you must e...
mit
C#
de4f639a14f1646260a97c71e74aa211a19dbf13
Fix error in control not null not reporting result type error
arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5
src/Arkivverket.Arkade/Core/Addml/Processes/ControlNotNull.cs
src/Arkivverket.Arkade/Core/Addml/Processes/ControlNotNull.cs
using System.Collections.Generic; using Arkivverket.Arkade.Core.Addml.Definitions; using Arkivverket.Arkade.Resources; using Arkivverket.Arkade.Tests; using Arkivverket.Arkade.Util; namespace Arkivverket.Arkade.Core.Addml.Processes { public class ControlNotNull : AddmlProcess { private readonly TestId...
using System.Collections.Generic; using Arkivverket.Arkade.Core.Addml.Definitions; using Arkivverket.Arkade.Resources; using Arkivverket.Arkade.Tests; using Arkivverket.Arkade.Util; namespace Arkivverket.Arkade.Core.Addml.Processes { public class ControlNotNull : AddmlProcess { private readonly TestId...
agpl-3.0
C#
517f6b7b2eba6989e39a29eb1ec72a8ab673434d
Add a comment.
TTExtensions/MouseClickSimulator
TTMouseclickSimulator/Core/ToontownRewritten/Actions/Fishing/FishingSpotFlavor.cs
TTMouseclickSimulator/Core/ToontownRewritten/Actions/Fishing/FishingSpotFlavor.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TTMouseclickSimulator.Core.Environment; namespace TTMouseclickSimulator.Core.ToontownRewritten.Actions.Fishing { public enum FishingSpotFlavor : int { PunchlinePlace = 0, ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TTMouseclickSimulator.Core.Environment; namespace TTMouseclickSimulator.Core.ToontownRewritten.Actions.Fishing { public enum FishingSpotFlavor : int { PunchlinePlace = 0, ...
mit
C#
b5ef7dc953441261cd893f3fa2cf8f3f228a2473
Include top left encoded targa in benchmark
nickbabcock/Pfim,nickbabcock/Pfim
src/Pfim.Benchmarks/TargaBenchmark.cs
src/Pfim.Benchmarks/TargaBenchmark.cs
using System.IO; using BenchmarkDotNet.Attributes; using FreeImageAPI; using ImageMagick; using DS = DevILSharp; namespace Pfim.Benchmarks { public class TargaBenchmark { [Params("true-32-rle-large.tga", "true-24-large.tga", "true-24.tga", "true-32-rle.tga", "rgb24_top_left")] public string Pa...
using System.IO; using BenchmarkDotNet.Attributes; using FreeImageAPI; using ImageMagick; using DS = DevILSharp; namespace Pfim.Benchmarks { public class TargaBenchmark { [Params("true-32-rle-large.tga", "true-24-large.tga", "true-24.tga", "true-32-rle.tga")] public string Payload { get; set; ...
mit
C#
a7f914b7df81cc3a41a35bbbf605bad03261a257
Refactor puzzle 24
martincostello/project-euler
src/ProjectEuler/Puzzles/Puzzle024.cs
src/ProjectEuler/Puzzles/Puzzle024.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System.Collections.Generic; /// <summary> /// A class representing the soluti...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System.Linq; /// <summary> /// A class representing the solution to <c>https:...
apache-2.0
C#
fd47c165578409337b9df8665adee1575865ce2f
Revert "a"
MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps
Source/Site/Microsoft.Deployment.Site.Service/OptionsHttpMessageHandler.cs
Source/Site/Microsoft.Deployment.Site.Service/OptionsHttpMessageHandler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http; namespace Microsoft.Deployment.Site.Service { public class OptionsHttpMessageHandler : DelegatingHandler { protected ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http; namespace Microsoft.Deployment.Site.Service { public class OptionsHttpMessageHandler : DelegatingHandler { protected ...
mit
C#
4db7577448a89f777bbc4b7b78b8ec927103b321
Fix #181 that directory could be removed by user when wox running.
Wox-launcher/Wox,lances101/Wox,Wox-launcher/Wox,qianlifeng/Wox,qianlifeng/Wox,lances101/Wox,qianlifeng/Wox
Wox.Plugin.SystemPlugins/Program/ProgramSources/FileSystemProgramSource.cs
Wox.Plugin.SystemPlugins/Program/ProgramSources/FileSystemProgramSource.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using Wox.Infrastructure.Storage.UserSettings; namespace Wox.Plugin.SystemPlugins.Program.ProgramSources { public class FileSystemProgramSource : AbstractProgramSource { private string baseDir...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using Wox.Infrastructure.Storage.UserSettings; namespace Wox.Plugin.SystemPlugins.Program.ProgramSources { public class FileSystemProgramSource : AbstractProgramSource { private string baseDir...
mit
C#
cc8cf7191a3cdff5d586120ac3fcb5f51323d60c
Set default value for no depot mode.
earalov/Skylines-ElevatedTrainStationTrack
Options.cs
Options.cs
 using MetroOverhaul.Detours; using MetroOverhaul.OptionsFramework.Attibutes; namespace MetroOverhaul { [Options("MetroOverhaul")] public class Options { private const string UNSUBPREP = "Unsubscribe Prep"; private const string GENERAL = "General settings"; public Options() ...
 using MetroOverhaul.Detours; using MetroOverhaul.OptionsFramework.Attibutes; namespace MetroOverhaul { [Options("MetroOverhaul")] public class Options { private const string UNSUBPREP = "Unsubscribe Prep"; private const string STYLES = "Additional styles"; private const string GEN...
mit
C#
7b60ae3ca5b8d783d38efb6a5bff0ff568da1d20
fix outputs and async task
kreuzhofer/AzureLargeFileUploader
Program.cs
Program.cs
using System; using System.IO; using System.Threading.Tasks; namespace AzureLargeFileUploader { class Program { static int Main(string[] args) { if (args.Length != 4) { Help(); return -1; } var fileToUpload = args...
using System; using System.IO; namespace AzureLargeFileUploader { class Program { static int Main(string[] args) { if (args.Length != 4) { Help(); return -1; } var fileToUpload = args[0]; if (!File.Exi...
mit
C#
28271253fb5004a5eeb1995de44b5ea1ba533351
Correct method name
douglasPinheiro/Selenium-Webdriver-helpers
src/SeleniumWebdriverHelpers/SeleniumWebdriverHelpers/SelectExtensions.cs
src/SeleniumWebdriverHelpers/SeleniumWebdriverHelpers/SelectExtensions.cs
using OpenQA.Selenium; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SeleniumWebdriverHelpers { public static class SelectExtensions { public static IWebElement SelectElement(this IWebDriver browser, By locator) { ...
using OpenQA.Selenium; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SeleniumWebdriverHelpers { public static class SelectExtensions { public static IWebElement SelectElement(this IWebDriver browser, By locator) { ...
mit
C#
def90ff51a85337bbb156d6e1386ad11632782aa
Rename tests
JohanLarsson/Gu.Analyzers
Gu.Analyzers.Test/GU0060EnumMemberValueConflictsWithAnother/Diagnostics.cs
Gu.Analyzers.Test/GU0060EnumMemberValueConflictsWithAnother/Diagnostics.cs
namespace Gu.Analyzers.Test.GU0060EnumMemberValueConflictsWithAnother { using System.Threading.Tasks; using NUnit.Framework; internal class Diagnostics : DiagnosticVerifier<Analyzers.GU0060EnumMemberValueConflictsWithAnother> { [Test] public async Task ExplicitValueSharing() {...
namespace Gu.Analyzers.Test.GU0060EnumMemberValueConflictsWithAnother { using System.Threading.Tasks; using NUnit.Framework; internal class Diagnostics : DiagnosticVerifier<Analyzers.GU0060EnumMemberValueConflictsWithAnother> { [Test] public async Task ImplicitValueSharing() {...
mit
C#
a1b3cc7a7d1a39a313c1a0e8de072deb46940a63
add extra arg in non-test
palette-software/PaletteInsightAgent,palette-software/PaletteInsightAgent,palette-software/PaletteInsightAgent,palette-software/PaletteInsightAgent
test/PaletteInsightAgent.UnitTests/LogPoller/LogPollerTest.cs
test/PaletteInsightAgent.UnitTests/LogPoller/LogPollerTest.cs
using System; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using PaletteInsightAgent.LogPoller; using TypeMock.ArrangeActAssert; namespace UnitTestLogPoller { [TestClass] public class LogPollerTest { [TestMethod, Isolated] public void TestLogFileWatcher() { ...
using System; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using PaletteInsightAgent.LogPoller; using TypeMock.ArrangeActAssert; namespace UnitTestLogPoller { [TestClass] public class LogPollerTest { [TestMethod, Isolated] public void TestLogFileWatcher() { ...
mit
C#
4797f9de8f62d3e0682144757ba9e7f69a287ee3
Update RasterBandReader.cs
LANDIS-II-Foundation/Landis-Spatial-Modeling-Library
src/RasterIO.Gdal/RasterBandReader.cs
src/RasterIO.Gdal/RasterBandReader.cs
// Contributors: // James Domingo, Green Code LLC namespace Landis.RasterIO.Gdal { /// <summary> /// A reader for a particular GDAL raster band. /// </summary> public class RasterBandReader<T> where T : struct { private OSGeo.GDAL.Band gdalBand; private BlockDimensions blo...
// Copyright 2010 Green Code LLC // All rights reserved. // // The copyright holders license this file under the New (3-clause) BSD // License (the "License"). You may not use this file except in // compliance with the License. A copy of the License is available at // // http://www.opensource.org/licenses/BSD-3-Cla...
apache-2.0
C#
01e59d0a9e07cc8cd0e7c108c88747ffe3ab24e9
increment minor version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
5969c3e7cc40c4ba6a8597c09a3e8653ad5d773b
Bump to 0.6.0
mgrosperrin/commandlineparser
src/CommonFiles/VersionAssemblyInfo.cs
src/CommonFiles/VersionAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyVersion("0.6.0.0")] [assembly: AssemblyFileVersion("0.6.0.0")] [assembly:AssemblyInformationalVersion("0.6.0")]
using System.Reflection; [assembly: AssemblyVersion("0.6.0.0")] [assembly: AssemblyFileVersion("0.6.0.0")] [assembly:AssemblyInformationalVersion("0.6.0-beta1")]
mit
C#
1936d480018c2bfc7910a8a4734f7493eb4ac0af
Save did not work with generic ActiveRecord objects.
castleproject/Castle.Transactions,castleproject/Castle.Transactions,castleproject/Castle.Facilities.Wcf-READONLY,carcer/Castle.Components.Validator,castleproject/castle-READONLY-SVN-dump,castleproject/Castle.Facilities.Wcf-READONLY,codereflection/Castle.Components.Scheduler,castleproject/castle-READONLY-SVN-dump,castle...
MonoRail/Castle.MonoRail.ActiveRecordScaffold/Utils/CommonOperationUtils.cs
MonoRail/Castle.MonoRail.ActiveRecordScaffold/Utils/CommonOperationUtils.cs
// Copyright 2004-2006 Castle Project - http://www.castleproject.org/ // // 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 // // Unless ...
// Copyright 2004-2006 Castle Project - http://www.castleproject.org/ // // 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 // // Unless ...
apache-2.0
C#
65f0de9224389ffd8982f13c9da58c5068eb2526
Remove LocatorId generation code from DTO since the locator id will be generated by a SQL CLR function
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Merchant/AddProspectDto.cs
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Merchant/AddProspectDto.cs
using System; namespace PS.Mothership.Core.Common.Dto.Merchant { public class AddProspectDto { public string CompanyName { get; set; } public string LocatorId { get; set; } public long MainPhoneCountryKey { get; set; } public string MainPhoneNumber { get; set; } pub...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PS.Mothership.Core.Common.Dto.Merchant { public class AddProspectDto { public string CompanyName { get; set; } public string LocatorId { get ...
mit
C#
87d6e1099df41fd986e920fda27349df2b329218
Put Program class in Console App template inside namespace
nkolev92/sdk,nkolev92/sdk
src/Templates/ProjectTemplates/CSharp/.NETCore/CSharpConsoleApplication/Program.cs
src/Templates/ProjectTemplates/CSharp/.NETCore/CSharpConsoleApplication/Program.cs
using System; namespace $safeprojectname$ { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
using System; class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } }
mit
C#
a21f5e0f144cf884312182ceae4aba016be9afb3
Move fields up
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Tor/Socks5/Models/Fields/OctetFields/AtypField.cs
WalletWasabi/Tor/Socks5/Models/Fields/OctetFields/AtypField.cs
using System.Net; using System.Net.Sockets; using WalletWasabi.Helpers; using WalletWasabi.Tor.Socks5.Models.Bases; namespace WalletWasabi.Tor.Socks5.Models.Fields.OctetFields { public class AtypField : OctetSerializableBase { // https://gitweb.torproject.org/torspec.git/tree/socks-extensions.txt // IPv6 is not ...
using System.Net; using System.Net.Sockets; using WalletWasabi.Helpers; using WalletWasabi.Tor.Socks5.Models.Bases; namespace WalletWasabi.Tor.Socks5.Models.Fields.OctetFields { public class AtypField : OctetSerializableBase { public AtypField(byte value) { ByteValue = value; } public AtypField(string ds...
mit
C#
d43bc6bc5371ae0b319f40f67eb52dd52b12187f
test cases for movement of tv shows
davidwhitney/UTorrentPostDownloadScript
UTorrentPostDownloadScript.Test.Unit/Features/Sorting/DetectAndSortTvSeriesTests.cs
UTorrentPostDownloadScript.Test.Unit/Features/Sorting/DetectAndSortTvSeriesTests.cs
using System.Collections.Specialized; using System.Configuration.Abstractions; using System.IO.Abstractions; using Moq; using NUnit.Framework; using UTorrentPostDownloadScript.Features.Sorting; using UTorrentPostDownloadScript.UtorrentApi; namespace UTorrentPostDownloadScript.Test.Unit.Features.Sorting { [TestFix...
using System.Collections.Specialized; using System.Configuration.Abstractions; using System.IO.Abstractions; using Moq; using NUnit.Framework; using UTorrentPostDownloadScript.Features.Sorting; using UTorrentPostDownloadScript.UtorrentApi; namespace UTorrentPostDownloadScript.Test.Unit.Features.Sorting { [TestFix...
mit
C#
f6f2e8b8dd40b708bd60cb74f4af9a67a2b736a9
Fix bug workflow.JavaScriptWorkflowScriptEvaluator (#3314)
OrchardCMS/Brochard,stevetayloruk/Orchard2,petedavis/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,xkproject/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,xkproject/Orchar...
src/OrchardCore.Modules/OrchardCore.Workflows/Scripting/JavaScriptWorkflowScriptEvaluator.cs
src/OrchardCore.Modules/OrchardCore.Workflows/Scripting/JavaScriptWorkflowScriptEvaluator.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Localization; using Microsoft.Extensions.Logging; using OrchardCore.Modules; using OrchardCore.Scripting; using OrchardCore.Workflows.Models; using OrchardCore.Workflows.Services; namespace Orcha...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Localization; using Microsoft.Extensions.Logging; using OrchardCore.Modules; using OrchardCore.Scripting; using OrchardCore.Workflows.Models; using OrchardCore.Workflows.Services; namespace OrchardCore.Workflo...
bsd-3-clause
C#
a7f5340c1fc2a75a0e951d98d275a65588ed30cd
Fix semicolon delimiter tests class name
stsrki/fluentmigrator,igitur/fluentmigrator,spaccabit/fluentmigrator,amroel/fluentmigrator,spaccabit/fluentmigrator,fluentmigrator/fluentmigrator,fluentmigrator/fluentmigrator,stsrki/fluentmigrator,amroel/fluentmigrator,igitur/fluentmigrator
test/FluentMigrator.Tests/Unit/Loggers/TextWriterSemicolonDelimiterTests.cs
test/FluentMigrator.Tests/Unit/Loggers/TextWriterSemicolonDelimiterTests.cs
#region License // // Copyright (c) 2018, Fluent Migrator Project // // 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 // // Unless required ...
#region License // // Copyright (c) 2018, Fluent Migrator Project // // 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 // // Unless required ...
apache-2.0
C#
8ef3f829813112b0bf12cf7a33234205956187a8
Refactor TwoCompatibleFields test
vanashimko/MPP.Mapper
MapperTests/DtoMapperTests.cs
MapperTests/DtoMapperTests.cs
using System; using Xunit; using Mapper; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Moq; namespace Mapper.Tests { public class DtoMapperTests { [Fact] public void Map_NullPassed_ExceptionThrown() { IMapper map...
using System; using Xunit; using Mapper; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Moq; namespace Mapper.Tests { public class DtoMapperTests { [Fact] public void Map_NullPassed_ExceptionThrown() { IMapper map...
mit
C#
0d5bf63946fe5fbb5acf3e0efe7bfde9f1d9cb7e
Add events to UrhoAppView. Fixes https://forums.xamarin.com/discussion/82700/best-way-to-launch-hololens-application-from-xamarin-forms#latest
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
Bindings/HoloLens/UrhoAppViewSource.cs
Bindings/HoloLens/UrhoAppViewSource.cs
using System; using Windows.ApplicationModel.Core; using Urho.HoloLens; namespace Urho { public class UrhoAppViewSource<T> : IFrameworkViewSource where T : HoloApplication { readonly ApplicationOptions opts; public event Action<UrhoAppView> UrhoAppViewCreated; public UrhoAppViewSource() { } public UrhoAp...
using Windows.ApplicationModel.Core; using Urho.HoloLens; namespace Urho { public class UrhoAppViewSource<T> : IFrameworkViewSource where T : HoloApplication { readonly ApplicationOptions opts; public UrhoAppViewSource() { } public UrhoAppViewSource(ApplicationOptions opts) { this.opts = opts; } p...
mit
C#
95256c7268fc0487ed8aa08309e9c34e09b57b51
Fix image offset in ImageButton down state
iridinite/shiftdrive
Client/ImageButton.cs
Client/ImageButton.cs
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace ShiftDrive { /// <summary> /// Represents an interactive button with an image label. /// </summary> internal sealed class ImageButton : Button { priv...
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace ShiftDrive { /// <summary> /// Represents an interactive button with an image label. /// </summary> internal sealed class ImageButton : Button { priv...
bsd-3-clause
C#
ebd73a748d00a6afaa212b3d8b140a800fa58636
bump version
user1568891/PropertyChanged,0x53A/PropertyChanged,Fody/PropertyChanged
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("PropertyChanged")] [assembly: AssemblyProduct("PropertyChanged")] [assembly: AssemblyCompany("Simon Cropp and Contributors")] [assembly: AssemblyDescription("Fody add-in for injecting INotifyPropertyChanged code into properties.")] [assembly: AssemblyVersion("1.50.2"...
using System.Reflection; [assembly: AssemblyTitle("PropertyChanged")] [assembly: AssemblyProduct("PropertyChanged")] [assembly: AssemblyCompany("Simon Cropp and Contributors")] [assembly: AssemblyDescription("Fody add-in for injecting INotifyPropertyChanged code into properties.")] [assembly: AssemblyVersion("1.50.1"...
mit
C#
e56fe70ecf2541a953074f13cb4504c0edbb571e
bump version
Fody/Immutable
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Immutable")] [assembly: AssemblyProduct("Immutable")] [assembly: AssemblyVersion("0.2.2.1")] [assembly: AssemblyFileVersion("0.2.2.1")]
using System.Reflection; [assembly: AssemblyTitle("Immutable")] [assembly: AssemblyProduct("Immutable")] [assembly: AssemblyVersion("0.2.2.0")] [assembly: AssemblyFileVersion("0.2.2.0")]
mit
C#
7f6acc7328fb98aae6111c504e18a1d4fcd99a84
Update Index.cshtml
Longfld/ASPNETcoreAngularJWT,Longfld/ASPNETcoreAngularJWT,Longfld/ASPNETcoreAngularJWT,Longfld/ASPNETcoreAngularJWT
Views/Home/Index.cshtml
Views/Home/Index.cshtml
<!doctype html> <html> <head> <title>ASP.NET Angular JWT</title> <base href="~/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" /> <link rel="stylesheet" href="https://fonts.googleapis.com/cs...
<!doctype html> <html> <head> <title>webapp</title> <base href="~/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" /> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Robo...
mit
C#
f2001dfb00f02c41debf028a006a988dbb2b2750
Add event to serialization.
pushrbx/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,pushrbx/squidex,pushrbx/squidex,pushrbx/squidex,pushrbx/squidex,Squidex/squidex
src/Squidex.Domain.Apps.Core.Operations/HandleRules/EnrichedEvents/EnrichedEvent.cs
src/Squidex.Domain.Apps.Core.Operations/HandleRules/EnrichedEvents/EnrichedEvent.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
mit
C#
45a5557c8e8b7ab82cc372b1fcd1c4f527b81068
add subject information as additional claims
elerch/SAML2,alexrster/SAML2
src/Owin.Security.Saml/Saml20AssertionExtensions.cs
src/Owin.Security.Saml/Saml20AssertionExtensions.cs
using SAML2; using System; using System.Linq; using System.Security.Claims; using SAML2.Schema.Core; using System.Collections.Generic; namespace Owin.Security.Saml { internal static class Saml20AssertionExtensions { public static ClaimsIdentity ToClaimsIdentity(this Saml20Assertion value, string auth...
using SAML2; using System; using System.Linq; using System.Security.Claims; namespace Owin.Security.Saml { internal static class Saml20AssertionExtensions { public static ClaimsIdentity ToClaimsIdentity(this Saml20Assertion value, string authenticationType, string nameType = null, string roleType = n...
mpl-2.0
C#
b045bf7195e08286a58967ca9adbfeb8c5159c48
Fix integration test
sonvister/Binance
test/Binance.Tests/Integration/DepthWebSocketClientTest.cs
test/Binance.Tests/Integration/DepthWebSocketClientTest.cs
//#define INTEGRATION using System; using System.Threading; using System.Threading.Tasks; using Binance.WebSocket; using Moq; using Xunit; namespace Binance.Tests.Integration { public class DepthWebSocketClientTest { [Fact] public void SubscribeThrows() { var client = new ...
//#define INTEGRATION using System; using System.Threading; using System.Threading.Tasks; using Binance.WebSocket; using Moq; using Xunit; namespace Binance.Tests.Integration { public class DepthWebSocketClientTest { [Fact] public void SubscribeThrows() { var client = new ...
mit
C#
e0c4f28f423c4a139986f3acdbaf0a28a160225c
Solve build related issue
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api")] public class QuestionsController : Controller { private readonly IQuestionRepository _question...
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api")] public class QuestionsController : Controller { private readonly IQuestionRepository _question...
mit
C#
98d313a8f2d47bf2b52a2253a359558e47c35e7d
Add WithIndex extension method
KodamaSakuno/Sakuno.Base
src/Sakuno.Base/Collections/EnumerableExtensions.cs
src/Sakuno.Base/Collections/EnumerableExtensions.cs
using System.Collections.Generic; using System.ComponentModel; using System.Linq; namespace Sakuno.Collections { [EditorBrowsable(EditorBrowsableState.Never)] public static class EnumerableExtensions { public static bool AnyNull<T>(this IEnumerable<T> source) where T : class { ...
using System.Collections.Generic; using System.ComponentModel; using System.Linq; namespace Sakuno.Collections { [EditorBrowsable(EditorBrowsableState.Never)] public static class EnumerableExtensions { public static bool AnyNull<T>(this IEnumerable<T> source) where T : class { ...
mit
C#
10fc3eefe498291daf62f9c5d1358aac7fb1f45c
Revert "[mscorlib] RuntimeWrappedException mono updates."
stormleoxia/referencesource,ludovic-henry/referencesource,evincarofautumn/referencesource,esdrubal/referencesource,directhex/referencesource,mono/referencesource
mscorlib/system/runtime/compilerservices/RuntimeWrappedException.cs
mscorlib/system/runtime/compilerservices/RuntimeWrappedException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================= ** ** Class: RuntimeWrappedException ** ** ** Purpose: The exception class uses to wrap all non-CLS compliant exceptions. ** ** ====================...
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================= ** ** Class: RuntimeWrappedException ** ** ** Purpose: The exception class uses to wrap all non-CLS compliant exceptions. ** ** ====================...
mit
C#
c3aecdcaf9fe4cd87a97c9323092b68ca5e81277
Update AzureNotificationHubs.cs
jorisbrauns/Cordova-Azure-Notificationhubs,jorisbrauns/Cordova-Azure-Notificationhubs,jorisbrauns/Cordova-Azure-Notificationhubs
src/windows/AzureNotificationHubs/AzureNotificationHubs.cs
src/windows/AzureNotificationHubs/AzureNotificationHubs.cs
using System; using Windows.Networking.PushNotifications; using Microsoft.WindowsAzure.Messaging; using Windows.Foundation; using System.Threading.Tasks; using System.IO; using System.Runtime.Serialization.Json; using Windows.UI.Popups; namespace AzureNotificationHubs { public sealed class AzureNotificationHubs ...
using System; using Windows.Networking.PushNotifications; using Microsoft.WindowsAzure.Messaging; using Windows.Foundation; using System.Threading.Tasks; using System.IO; using System.Runtime.Serialization.Json; using Windows.UI.Popups; namespace AzureNotificationHubs { public sealed class AzureNotificationHubs ...
mit
C#
f3eb1b587d919a18e934ef52211ccaa15a77fc69
Make TexturedVertex2D depth internal
ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework
osu.Framework/Graphics/OpenGL/Vertices/TexturedVertex2D.cs
osu.Framework/Graphics/OpenGL/Vertices/TexturedVertex2D.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.Runtime.InteropServices; using osuTK; using osuTK.Graphics; using osuTK.Graphics.ES30; namespace osu.Framework.Graphics.OpenGL.Vertices { ...
// 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.Runtime.InteropServices; using osuTK; using osuTK.Graphics; using osuTK.Graphics.ES30; namespace osu.Framework.Graphics.OpenGL.Vertices { ...
mit
C#
b650a2b43172335c106f896fa44af372acf69c47
Add missing namespace
killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MixedRealityToolkit/Interfaces/InputSystem/IMixedRealityMouseDeviceManager.cs
Assets/MixedRealityToolkit/Interfaces/InputSystem/IMixedRealityMouseDeviceManager.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; namespace Microsoft.MixedReality.Toolkit.Input { /// <summary> /// Interface defining a mouse input device manager. /// </summary> pub...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Input; using System; /// <summary> /// Interface defining a mouse input device manager. /// </summary> public interface IMixedR...
mit
C#
ca361f553700358c1eda48c77bfd138444e6c1a2
Fix tests
progaudi/MsgPack.Light,roman-kozachenko/MsgPack.Light
src/msgpack.light/CompiledLambdaActivatorFactory.cs
src/msgpack.light/CompiledLambdaActivatorFactory.cs
using System; using System.Linq; using System.Linq.Expressions; // ReSharper disable once RedundantUsingDirective using System.Reflection; namespace ProGaudi.MsgPack.Light { public class CompiledLambdaActivatorFactory { public static Func<object> GetActivator(Type type) { #if PROGAUDI_NETCORE ...
using System; using System.Linq; using System.Linq.Expressions; // ReSharper disable once RedundantUsingDirective using System.Reflection; namespace ProGaudi.MsgPack.Light { public class CompiledLambdaActivatorFactory { public static Func<object> GetActivator(Type type) { #if PROGAUDI_NETCORE ...
mit
C#
516312d9a6b4d1481521e5a6f3f5e7f738903632
Unify device manufacturer string
dotMorten/AllJoynDeviceSimulator,dotMorten/AllJoynDeviceSimulator
src/AdapterLib/MockBulbDevice.cs
src/AdapterLib/MockBulbDevice.cs
/* * AllJoyn Device Service Bridge for Philips Hue * * Copyright (c) Morten Nielsen * All rights reserved. * * MIT License * * 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 * w...
/* * AllJoyn Device Service Bridge for Philips Hue * * Copyright (c) Morten Nielsen * All rights reserved. * * MIT License * * 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 * w...
mit
C#
a7f00bac976a2a3bfe75670e60dcbb6413c79f55
Use the correct namespace on the static content module.
mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/...
data/mango-tool/layouts/default/StaticContentModule.cs
data/mango-tool/layouts/default/StaticContentModule.cs
using System; using System.IO; using Mango; // // This the default StaticContentModule that comes with all Mango apps // if you do not wish to serve any static content with Mango you can // remove its route handler from <YourApp>.cs's constructor and delete // this file. // // All Content placed on the Conten...
using System; using System.IO; using Mango; // // This the default StaticContentModule that comes with all Mango apps // if you do not wish to serve any static content with Mango you can // remove its route handler from <YourApp>.cs's constructor and delete // this file. // // All Content placed on the Conten...
mit
C#