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
63941afa19556b0f21ac9d23cadf0be4c7b264c3
Remove unnecessary brackets
lukedrury/super-market-kata
supermarketkata/engine/rules/PercentageDiscount.cs
supermarketkata/engine/rules/PercentageDiscount.cs
using System; using engine.core; namespace engine.rules { public class PercentageDiscount : Rule { private readonly string m_ApplicableItemName; private readonly double m_Percentage; public PercentageDiscount(string applicableItemName, int percentage) { m_Applicabl...
using System; using engine.core; namespace engine.rules { public class PercentageDiscount : Rule { private readonly string m_ApplicableItemName; private readonly double m_Percentage; public PercentageDiscount(string applicableItemName, int percentage) { m_Applicabl...
mit
C#
19c925517b59a9fd25b2f51eb5daaa676a1f5dbf
Copy Updates Other Copy elements of the Same Type on the Same Page When Saving
tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS
Portal.CMS.Web/Areas/Admin/Views/Copy/_Copy.cshtml
Portal.CMS.Web/Areas/Admin/Views/Copy/_Copy.cshtml
@model Portal.CMS.Entities.Entities.Copy.Copy @using Portal.CMS.Web.Areas.Admin.Helpers; @{ Layout = ""; var isAdmin = UserHelper.IsAdmin; } <script type="text/javascript"> $(document).ready(function () { tinymce.init({ selector: '.copy-@(Model.CopyId).admin', inline: true, plugins: [...
@model Portal.CMS.Entities.Entities.Copy.Copy @using Portal.CMS.Web.Areas.Admin.Helpers; @{ Layout = ""; var isAdmin = UserHelper.IsAdmin; } <script type="text/javascript"> $(document).ready(function () { tinymce.init({ selector: '#copy-@(Model.CopyId).admin', inline: true, plugins: [...
mit
C#
6ddb98b19d38ca1bafab57a141e75c714bb54903
add GitVersion for incrementing version
nrjohnstone/AmbientContext
build.cake
build.cake
#addin "Newtonsoft.Json" #tool "nuget:?package=GitVersion.CommandLine" #tool "nuget:?package=xunit.runner.console" ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var c...
#addin "Newtonsoft.Json" #tool "nuget:?package=xunit.runner.console" ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Rele...
mit
C#
0a5ffb934229fdbd71eddcd9a6371d473fa29e16
Fix output path for nuget package.
sqeezy/FibonacciHeap,sqeezy/FibonacciHeap
build.cake
build.cake
#tool "nuget:?package=xunit.runner.console" var target = Argument("target", "Default"); var outputDir = "./bin"; Task("Default") .IsDependentOn("Xunit") .Does(() => { }); Task("Xunit") .IsDependentOn("Build") .Does(()=> { DotNetCoreTest("./src/FibonacciHeap.Tests/FibonacciHeap.Tests.csproj"); }); Ta...
#tool "nuget:?package=xunit.runner.console" var target = Argument("target", "Default"); var outputDir = "./bin"; Task("Default") .IsDependentOn("Xunit") .Does(() => { }); Task("Xunit") .IsDependentOn("Build") .Does(()=> { DotNetCoreTest("./src/FibonacciHeap.Tests/FibonacciHeap.Tests.csproj"); }); Ta...
mit
C#
aa331ae4e959c93e9c98ac56b7d0b7cdb3c4560b
Apply suggestions from code review
mjedrzejek/nunit,mjedrzejek/nunit,nunit/nunit,nunit/nunit
src/NUnitFramework/framework/Attributes/TypeGetMemberExtension.cs
src/NUnitFramework/framework/Attributes/TypeGetMemberExtension.cs
using System; using System.Collections.Generic; using System.Reflection; namespace NUnit.Framework { internal static class TypeGetMemberExtension { /// <summary> /// Searches for the specified members, using the specified binding constraints. /// </summary> /// <remarks> ...
using System; using System.Collections.Generic; using System.Reflection; namespace NUnit.Framework { internal static class TypeGetMemberExtension { /// <summary> /// Searches for the specified members, using the specified binding constraints. /// </summary> /// <remarks> ...
mit
C#
8ab062336d102b702d19abc38bcce81bbb2fe728
Update to Problem 2. Bonus Score
SimoPrG/CSharpPart1Homework
Conditional-Statements-Homework/BonusScore/BonusScore.cs
Conditional-Statements-Homework/BonusScore/BonusScore.cs
/*Problem 2. Bonus Score Write a program that applies bonus score to given score in the range [1…9] by the following rules: If the score is between 1 and 3, the program multiplies it by 10. If the score is between 4 and 6, the program multiplies it by 100. If the score is between 7 and 9, ...
/*Problem 2. Bonus Score Write a program that applies bonus score to given score in the range [1…9] by the following rules: If the score is between 1 and 3, the program multiplies it by 10. If the score is between 4 and 6, the program multiplies it by 100. If the score is between 7 and 9, ...
mit
C#
22661520effcc7a715a32da7c7f41cc49a70728f
Fix Paket classifier and allow syntax higlighting for groups
hmemcpy/Paket.VisualStudio,fsprojects/Paket.VisualStudio,mrinaldi/Paket.VisualStudio
src/Paket.VisualStudio/IntelliSense/Classifier/PaketClassifier.cs
src/Paket.VisualStudio/IntelliSense/Classifier/PaketClassifier.cs
using System; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.Language.StandardClassification; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Classification; namespace Paket.VisualStudio.IntelliSense.Classifier { internal class PaketClassifier : IClassifier ...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.Language.StandardClassification; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Classification; namespace Paket.VisualStudio.IntelliSense.Classifier { internal class PaketClassifier : IClassifier ...
mit
C#
7e47c72f4240c871c47e7fc9c09904d1e6fcee0a
Change extension method default parameters to use constants
whir1/serilog-sinks-graylog
src/Serilog.Sinks.Graylog/LoggerConfigurationGrayLogExtensions.cs
src/Serilog.Sinks.Graylog/LoggerConfigurationGrayLogExtensions.cs
using Serilog.Configuration; using Serilog.Core; using Serilog.Events; using Serilog.Sinks.Graylog.Helpers; using Serilog.Sinks.Graylog.Transport; namespace Serilog.Sinks.Graylog { public static class LoggerConfigurationGrayLogExtensions { public static LoggerConfiguration Graylog(this LoggerSinkConfi...
using Serilog.Configuration; using Serilog.Core; using Serilog.Events; using Serilog.Sinks.Graylog.Helpers; using Serilog.Sinks.Graylog.Transport; namespace Serilog.Sinks.Graylog { public static class LoggerConfigurationGrayLogExtensions { public static LoggerConfiguration Graylog(this LoggerSinkConfi...
mit
C#
16829b929c4ca3d98deb0ddc13a404c44774f40c
Optimize away empty string literals.
csainty/Veil,csainty/Veil
Src/Veil/Compiler/VeilTemplateCompiler.EmitWriteLiteral.cs
Src/Veil/Compiler/VeilTemplateCompiler.EmitWriteLiteral.cs
using Veil.Parser; namespace Veil.Compiler { internal partial class VeilTemplateCompiler<T> { private void EmitWriteLiteral(SyntaxTreeNode.WriteLiteralNode node) { if (string.IsNullOrEmpty(node.LiteralContent)) return; LoadWriterToStack(); emitter.LoadConst...
using Veil.Parser; namespace Veil.Compiler { internal partial class VeilTemplateCompiler<T> { private void EmitWriteLiteral(SyntaxTreeNode.WriteLiteralNode node) { LoadWriterToStack(); emitter.LoadConstant(node.LiteralContent); CallWriteFor(typeof(string)); ...
mit
C#
26271971172d2c6d20e5a0aadd89f40b5bcabdbd
Add ability to enter commands
StanislavUshakov/ArduinoWindowsRemoteControl
ArduinoWindowsRemoteControl/UI/EditCommandForm.cs
ArduinoWindowsRemoteControl/UI/EditCommandForm.cs
using ArduinoWindowsRemoteControl.Helpers; using ArduinoWindowsRemoteControl.Interfaces; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Ardui...
using ArduinoWindowsRemoteControl.Helpers; using ArduinoWindowsRemoteControl.Interfaces; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Ardui...
mit
C#
74b3797b9f72722d406fe47307d2652ffe093814
Make one of two red tests green by implementing basic support for the Values-method with Id-Property.
ExRam/ExRam.Gremlinq
ExRam.Gremlinq/Gremlin/Steps/ValuesGremlinStep.cs
ExRam.Gremlinq/Gremlin/Steps/ValuesGremlinStep.cs
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Linq.Expressions; namespace ExRam.Gremlinq { public sealed class ValuesGremlinStep<TSource, TTarget> : NonTerminalGremlinStep { private readonly Expression<Func<TSource, TTarget>>[] _proj...
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Linq.Expressions; namespace ExRam.Gremlinq { public sealed class ValuesGremlinStep<TSource, TTarget> : NonTerminalGremlinStep { private readonly Expression<Func<TSource, TTarget>>[] _proj...
mit
C#
ecb7537dc978de646d3ff3ccb27b73ba18794c9f
Make it configurable if high or low throws.
GMJS/gmjs_ocs_dpt
IPOCS_Programmer/ObjectTypes/PointsMotor_Pulse.cs
IPOCS_Programmer/ObjectTypes/PointsMotor_Pulse.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IPOCS_Programmer.ObjectTypes { public class PointsMotor_Pulse : PointsMotor { public override byte motorTypeId { get { return 1; } } public byte ThrowLeftOutput { get; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IPOCS_Programmer.ObjectTypes { public class PointsMotor_Pulse : PointsMotor { public override byte motorTypeId { get { return 1; } } public byte ThrowLeftOutput { get; ...
mit
C#
be95b6e458013e0adc69de041794ab0c8928251f
fix Upgrade_20210829_TypeScript44
signumsoftware/framework,signumsoftware/framework
Signum.Upgrade/Upgrades/Upgrade_20210829_TypeScript44.cs
Signum.Upgrade/Upgrades/Upgrade_20210829_TypeScript44.cs
using Signum.Utilities; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace Signum.Upgrade.Upgrades { class Upgrade_20210829_TypeScript44 : CodeUpgradeBase ...
using Signum.Utilities; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace Signum.Upgrade.Upgrades { class Upgrade_20210829_TypeScript44 : CodeUpgradeBase ...
mit
C#
a034849a1eb067c829d3c3c8fe89b644d807f580
Fix bug: allow anonymous users to see the amount of likes and users who like
erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner
Oogstplanner.Web/Controllers/FriendsController.cs
Oogstplanner.Web/Controllers/FriendsController.cs
using System; using System.Linq; using System.Web.Mvc; using Newtonsoft.Json; using Oogstplanner.Services; using Oogstplanner.Web.Utilities.Helpers; namespace Oogstplanner.Web.Controllers { [Authorize] public sealed class FriendsController : Controller { readonly ICalendarLikingService c...
using System; using System.Linq; using System.Web.Mvc; using Newtonsoft.Json; using Oogstplanner.Services; using Oogstplanner.Web.Utilities.Helpers; namespace Oogstplanner.Web.Controllers { [Authorize] public sealed class FriendsController : Controller { readonly ICalendarLikingService c...
mit
C#
73e011f780da92384a3f8a8039afb93b28a883ac
Update StringLocalizerMonitorOptions.cs
tiksn/TIKSN-Framework
TIKSN.Core/Localization/StringLocalizerMonitorOptions.cs
TIKSN.Core/Localization/StringLocalizerMonitorOptions.cs
using Microsoft.Extensions.Logging; namespace TIKSN.Localization { public class StringLocalizerMonitorOptions { public LogLevel LogLevel { get; set; } } }
using Microsoft.Extensions.Logging; namespace TIKSN.Localization { public class StringLocalizerMonitorOptions { public LogLevel LogLevel { get; set; } } }
mit
C#
d2d518e475d0f9147130b15b2eddc18fa3a28f2c
add parameters
AxelAndersen/quickpay-dotnet-client,QuickPay/quickpay-dotnet-client
QuickPay.IntegrationTests/RestClientSmokeTests.cs
QuickPay.IntegrationTests/RestClientSmokeTests.cs
using System; using NUnit.Framework; using Quickpay; namespace QuickPay.IntegrationTests { [TestFixture] public class RestClientSmokeTests { [Test] public void CanPingGetApiWithCredentials() { var sut = new QuickPayRestClient(QpConfig.Username, QpConfig.Password); ...
using System; using NUnit.Framework; using Quickpay; namespace QuickPay.IntegrationTests { [TestFixture] public class RestClientSmokeTests { [Test] public void CanPingGetApiWithCredentials() { var sut = new QuickPayRestClient(QpConfig.Username, QpConfig.Password); ...
mit
C#
e6751e288d54f4cd974ba6656008893ec73ae0f0
Fix build. More #ifdef insanity.
ajayanandgit/mbunit-v3,mterwoord/mbunit-v3,ajayanandgit/mbunit-v3,mterwoord/mbunit-v3,ajayanandgit/mbunit-v3,xJom/mbunit-v3,xJom/mbunit-v3,Gallio/mbunit-v3,ajayanandgit/mbunit-v3,mterwoord/mbunit-v3,mterwoord/mbunit-v3,Gallio/mbunit-v3,ajayanandgit/mbunit-v3,xJom/mbunit-v3,Gallio/mbunit-v3,mterwoord/mbunit-v3,xJom/mbun...
src/Extensions/ReSharper/Gallio.ReSharperRunner/Provider/Daemons/AnnotationDaemonStage.cs
src/Extensions/ReSharper/Gallio.ReSharperRunner/Provider/Daemons/AnnotationDaemonStage.cs
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // 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:...
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // 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:...
apache-2.0
C#
e70c3be7b963085d661ae4d4dd0a0bbf4f19f355
Fix status text not updating upon reset
Curdflappers/UltimateTicTacToe
Assets/Resources/Scripts/game/view/StatusText.cs
Assets/Resources/Scripts/game/view/StatusText.cs
using UnityEngine; using UnityEngine.UI; /// <summary> /// Attach this to the status text game object /// </summary> public class StatusText : MonoBehaviour { Text text; GlobalGame game; public GlobalGame Game { get { return game; } set { if (game != null) ...
using UnityEngine; using UnityEngine.UI; /// <summary> /// Attach this to the status text game object /// </summary> public class StatusText : MonoBehaviour { Text text; GlobalGame game; public GlobalGame Game { get { return game; } set { if (game != null) ...
mit
C#
7157f43938b6787ae9d63bf79f904d8e36da7b9c
Fix null error on status text initialization
Curdflappers/UltimateTicTacToe
Assets/Resources/Scripts/game/view/StatusText.cs
Assets/Resources/Scripts/game/view/StatusText.cs
using UnityEngine; using UnityEngine.UI; /// <summary> /// Attach this to the status text game object /// </summary> public class StatusText : MonoBehaviour { GlobalGame game; public GlobalGame Game { get { return game; } set { if (game != null) { ...
using UnityEngine; using UnityEngine.UI; /// <summary> /// Attach this to the status text game object /// </summary> public class StatusText : MonoBehaviour { Text text; GlobalGame game; public GlobalGame Game { get { return game; } set { if (game != null) ...
mit
C#
f88c5e831eeda9d7f46354f7d246573649b1db9a
Bump assembly version to 1.0.19910.1700
atifaziz/Kons,atifaziz/Kons
AssemblyInfo.g.cs
AssemblyInfo.g.cs
// This code was generated by a tool. Any changes made manually will be lost // the next time this code is regenerated. // Generated: Wed, 10 Aug 2016 17:00:19 GMT using System.Reflection; [assembly: AssemblyVersion("1.0.19910.0")] [assembly: AssemblyFileVersion("1.0.19910.1700")]
// This code was generated by a tool. Any changes made manually will be lost // the next time this code is regenerated. // Generated: Thu, 03 Dec 2015 09:03:32 GMT using System.Reflection; [assembly: AssemblyVersion("1.0.19103.0")] [assembly: AssemblyFileVersion("1.0.19103.903")]
apache-2.0
C#
9493cd67e9da87a9b7ed4000d85a877049c486da
Remove internal delegate
vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary
CSGL.Vulkan/ShaderModule.cs
CSGL.Vulkan/ShaderModule.cs
using System; using System.Collections.Generic; using System.IO; namespace CSGL.Vulkan { public class ShaderModuleCreateInfo { public IList<byte> data; } public class ShaderModule : IDisposable, INative<Unmanaged.VkShaderModule> { Unmanaged.VkShaderModule shaderModule; bool dispos...
using System; using System.Collections.Generic; using System.IO; namespace CSGL.Vulkan { public class ShaderModuleCreateInfo { public IList<byte> data; } public class ShaderModule : IDisposable, INative<Unmanaged.VkShaderModule> { Unmanaged.VkShaderModule shaderModule; bool dispos...
mit
C#
35f122845d83db909756d85e8c5038dee6650735
Change company house API request to use upper case to fix bug
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Services/CompaniesHouseEmployerVerificationService.cs
src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Services/CompaniesHouseEmployerVerificationService.cs
using System; using System.Linq; using System.Net; using System.Threading.Tasks; using Newtonsoft.Json; using NLog; using SFA.DAS.EAS.Domain; using SFA.DAS.EAS.Domain.Configuration; using SFA.DAS.EAS.Domain.Interfaces; namespace SFA.DAS.EAS.Infrastructure.Services { public class CompaniesHouseEmployerVerification...
using System; using System.Linq; using System.Net; using System.Threading.Tasks; using Newtonsoft.Json; using NLog; using SFA.DAS.EAS.Domain; using SFA.DAS.EAS.Domain.Configuration; using SFA.DAS.EAS.Domain.Interfaces; namespace SFA.DAS.EAS.Infrastructure.Services { public class CompaniesHouseEmployerVerification...
mit
C#
9e997769a4ae88a708b295eba81c31f9813b51fe
Fix issue when picking earnings for learners
SkillsFundingAgency/das-paymentsacceptancetesting
src/SFA.DAS.Payments.AcceptanceTests/Refactoring/Assertions/PaymentsAndEarningsRules/ProviderEarnedTotalRule.cs
src/SFA.DAS.Payments.AcceptanceTests/Refactoring/Assertions/PaymentsAndEarningsRules/ProviderEarnedTotalRule.cs
using System; using System.Collections.Generic; using System.Linq; using SFA.DAS.Payments.AcceptanceTests.Refactoring.Contexts; using SFA.DAS.Payments.AcceptanceTests.Refactoring.ReferenceDataModels; using SFA.DAS.Payments.AcceptanceTests.Refactoring.ResultsDataModels; namespace SFA.DAS.Payments.AcceptanceTest...
using System; using System.Collections.Generic; using System.Linq; using SFA.DAS.Payments.AcceptanceTests.Refactoring.Contexts; using SFA.DAS.Payments.AcceptanceTests.Refactoring.ReferenceDataModels; using SFA.DAS.Payments.AcceptanceTests.Refactoring.ResultsDataModels; namespace SFA.DAS.Payments.AcceptanceTest...
mit
C#
3e7ebf2e40107db323fbacbbd544092ed5c874fa
Delete unused code from Player
ethanmoffat/EndlessClient
EndlessClient/Old/Player.cs
EndlessClient/Old/Player.cs
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file namespace EndlessClient.Old { public class Player { public string AccountName { get; private set; } public OldCharacter ActiveCharacter { get; pr...
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using System.Linq; using EOLib.Net.API; namespace EndlessClient.Old { public class Player { private OldCharacter _activeCharacter; public string ...
mit
C#
462348c0e92ac3a0be2b9d9bd3be95d165527355
improve nqueen output
lifebeyondfife/Decider
Examples/NQueens/Program.cs
Examples/NQueens/Program.cs
/* Copyright © Iain McDonald 2010-2020 This file is part of Decider. */ using System; using System.Globalization; namespace Decider.Example.NQueens { public class Program { public static void Main(string[] args) { var nQueens = new NQueens((args.Length >= 1) ? Int32.Parse(args[0]) : 8); nQueens.Searc...
/* Copyright © Iain McDonald 2010-2020 This file is part of Decider. */ using System; using System.Globalization; namespace Decider.Example.NQueens { public class Program { public static void Main(string[] args) { var nQueens = new NQueens((args.Length >= 1) ? Int32.Parse(args[0]) : 8); nQueens.Searc...
mit
C#
e6f9e4e755dec97afdb81f3ac36e030982ec120b
Update Spacefolder.cs
KerbaeAdAstra/KerbalFuture
KerbalFuture/Spacefolder.cs
KerbalFuture/Spacefolder.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using KSP; namespace KerbalFuture { class SpacefolderData : MonoBehavior { public static string path() { return System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Loca...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using KSP; namespace SpaceFolderDrive { class SFDData : MonoBehavior { public static string path() { return System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location...
mit
C#
175a2325520cd5a95245e27ad06058b0af85e470
Update AppTester.
eylvisaker/AgateLib
Tests/Core/AppTester/App.cs
Tests/Core/AppTester/App.cs
using System; using System.Collections.Generic; using System.Linq; using AgateLib; namespace AppTester { class App : AgateApplication { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { ...
using System; using System.Collections.Generic; using System.Linq; using AgateLib; namespace AppTester { class App : AgateApplication { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { ...
mit
C#
7528b4e178e7028fdd8b301d3a4cb0f2df27fbe8
Add service alert for app update notice
RikkiGibson/Corvallis-Bus-Server,RikkiGibson/Corvallis-Bus-Server
CorvallisBus.Core/WebClients/ServiceAlertsClient.cs
CorvallisBus.Core/WebClients/ServiceAlertsClient.cs
using System; using System.Linq; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using CorvallisBus.Core.Models; using HtmlAgilityPack; namespace CorvallisBus.Core.WebClients { public static class ServiceAlertsClient { static readonly Uri FEED_URL = new Uri("http...
using System; using System.Linq; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using CorvallisBus.Core.Models; using HtmlAgilityPack; namespace CorvallisBus.Core.WebClients { public static class ServiceAlertsClient { static readonly Uri FEED_URL = new Uri("http...
mit
C#
e64e025014e9af000b3416eb7ff4bccdb821c920
Use GL_DEBUG instead of DEBUG.
luca-piccioni/OpenGL.Net,luca-piccioni/OpenGL.Net
OpenWF.Net/Wfd.cs
OpenWF.Net/Wfd.cs
 // Copyright (C) 2015-2016 Luca Piccioni // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This ...
 // Copyright (C) 2015-2016 Luca Piccioni // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This ...
mit
C#
073cd56341f04f63d640ca0c4e10cb8d51f0ca4f
remove empty constructor
Notulp/Pluton,Notulp/Pluton
Pluton/plugins.cs
Pluton/plugins.cs
using System; namespace Pluton { [ConsoleSystem.Factory("plugins")] public class plugins : ConsoleSystem { [ConsoleSystem.Admin, ConsoleSystem.Help("Prints out plugin statistics!")] public static void Loaded(ConsoleSystem.Arg args) { int count = PluginLoader.GetInstance...
using System; namespace Pluton { [ConsoleSystem.Factory("plugins")] public class plugins : ConsoleSystem { public plugins() { } [ConsoleSystem.Admin, ConsoleSystem.Help("Prints out plugin statistics!")] public static void Loaded(ConsoleSystem.Arg args) { ...
mit
C#
88222c01ef3718ed2096fb3324f548c21925dd3f
Add Connexion API
DiabHelp/DiabHelp-App-WP
Diabhelp/LoginScreen.xaml.cs
Diabhelp/LoginScreen.xaml.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net.Http; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows....
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primit...
mit
C#
c7874cc1582cff4f4229617c5e106e4678164b6c
add new line for better layout
SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery
AstroPhotoGallery/AstroPhotoGallery/Views/Home/ListPictures.cshtml
AstroPhotoGallery/AstroPhotoGallery/Views/Home/ListPictures.cshtml
@model List<AstroPhotoGallery.Models.Picture> @{ ViewBag.Title = "List"; } <div class="container"> <div class="row"> @foreach (var picture in Model) { <div class="col-sm-6"> <article> <header> <h2> ...
@model List<AstroPhotoGallery.Models.Picture> @{ ViewBag.Title = "List"; } <div class="container"> <div class="row"> @foreach (var picture in Model) { <div class="col-sm-6"> <article> <header> <h2> ...
mit
C#
9e9b00372d84287465e4ced856b95ea4d5c85a75
Format code to use correct spacing
Microsoft/dotnet-apiweb,conniey/dotnet-apiweb,Microsoft/dotnet-apiweb,conniey/dotnet-apiweb
src/DotNetStatus/Startup.cs
src/DotNetStatus/Startup.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.AspNet.Builder; using Microsoft.AspNet.Diagnostics; using Microsoft.AspNet.Hosting; using Microsoft.Framework.ConfigurationModel; using Microsoft.Frame...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.AspNet.Builder; using Microsoft.AspNet.Diagnostics; using Microsoft.AspNet.Hosting; using Microsoft.Framework.ConfigurationModel; using Microsoft.Frame...
mit
C#
e0830e208a21c3060e507cad8be120591ff369cd
stop using DefaultBindingMetadataProvider
fluffynuts/PeanutButter,fluffynuts/PeanutButter,fluffynuts/PeanutButter
source/TestUtils/PeanutButter.TestUtils.AspNetCore/Builders/ViewDataDictionaryBuilder.cs
source/TestUtils/PeanutButter.TestUtils.AspNetCore/Builders/ViewDataDictionaryBuilder.cs
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.Extensions.Options; using PeanutButter.TestUtils.AspNetCore.Fakes; namespace PeanutBu...
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.Extensions.Options; namespace PeanutButter.TestUtils.AspNetCore.Builders { /// <s...
bsd-3-clause
C#
26f0b2a4fe65342757a52476367b6ae432b10b40
Remove bindable
ZLima12/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,johnneijzen/osu,EVAST9919/osu,EVAST9919/osu,peppy/osu,ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,2yangk23/osu,johnneijzen/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,2yangk23/osu,ppy/osu,UselessToucan/osu,pep...
osu.Game/Rulesets/Mods/ModHidden.cs
osu.Game/Rulesets/Mods/ModHidden.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.Configuration; using osu.Game.Graphics; using osu.Game.Rulesets.Objects.Drawables; using System.Collections.Generic; using System.Linq; using osu.Framework...
// 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.Configuration; using osu.Game.Graphics; using osu.Game.Rulesets.Objects.Drawables; using System.Collections.Generic; using System.Linq; using osu.Framework...
mit
C#
60ebaac0094ea743b7f243e8e69ac103bd8c1164
update transaction model
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerApprenticeshipsService.Domain/Models/Payments/PaymentTransactionLine.cs
src/SFA.DAS.EmployerApprenticeshipsService.Domain/Models/Payments/PaymentTransactionLine.cs
using System; using System.Collections.Generic; using System.Linq; using SFA.DAS.EAS.Domain.Models.Transaction; namespace SFA.DAS.EAS.Domain.Models.Payments { public class PaymentTransactionLine : TransactionLine { public Guid? PaymentId { get; set; } public long UkPrn { get; set; } pu...
using System; using System.Collections.Generic; using System.Linq; using SFA.DAS.EAS.Domain.Models.Transaction; namespace SFA.DAS.EAS.Domain.Models.Payments { public class PaymentTransactionLine : TransactionLine { public Guid? PaymentId { get; set; } public long UkPrn { get; set; } pu...
mit
C#
cde46b3f8d395a57825bf8ce26eb5ad01385e17a
Update C# mops to use 32bit values like the rest of the tests.
ashgti/parrot,ashgti/parrot,ashgti/parrot,ashgti/parrot,ashgti/parrot,ashgti/parrot,ashgti/parrot
examples/mops/mops.cs
examples/mops/mops.cs
// created on 03/03/2002 at 15:12 using System; class App { public static int Main(String[] args) { int i1, i5; // int i2 = 0; int i3 = 1; int i4 = 100000000; DateTime start, end; double n1, n2; Console.WriteLine("Iterations: {0}", i4); // IL_0038: ldloc.3 // IL_0039: ldloc.2 // IL_003a: sub /...
// created on 03/03/2002 at 15:12 using System; class App { public static int Main(String[] args) { long i1, i5; // int i2 = 0; long i3 = 1; long i4 = 100000000; DateTime start, end; double n1, n2; Console.WriteLine("Iterations: {0}", i4); // IL_0038: ldloc.3 // IL_0039: ldloc.2 // IL_003a: su...
artistic-2.0
C#
a8b255367b6cd3e60aa3ee553bd47f49aa220997
Implement FontsHandler.FontFamilyAvailable (missed this one)
l8s/Eto,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1
Source/Eto.Platform.Windows/Drawing/FontsHandler.cs
Source/Eto.Platform.Windows/Drawing/FontsHandler.cs
using Eto.Drawing; using System; using System.Collections.Generic; using System.Linq; using System.Text; using sd = System.Drawing; namespace Eto.Platform.Windows.Drawing { public class FontsHandler : WidgetHandler<Widget>, IFonts { HashSet<string> availableFontFamilies; public IEnumerable<FontFamily> Available...
using Eto.Drawing; using System; using System.Collections.Generic; using System.Linq; using System.Text; using sd = System.Drawing; namespace Eto.Platform.Windows.Drawing { public class FontsHandler : WidgetHandler<Widget>, IFonts { public IEnumerable<FontFamily> AvailableFontFamilies { get { return sd.Fo...
bsd-3-clause
C#
c0ec71fac8f748175ea7d55f3fd47dac3774ff98
Add additonal tests GeneratorExtensionTests
inputfalken/Sharpy
Tests/Sharpy/Integration/GeneratorExtensionTests.cs
Tests/Sharpy/Integration/GeneratorExtensionTests.cs
using GeneratorAPI; using NUnit.Framework; using Sharpy; using Sharpy.Enums; using Sharpy.Implementation; namespace Tests.Sharpy.Integration { [TestFixture] public class GeneratorExtensionTests { [Test] public void Username_Seed_Arg_Not_Null() { var generator = Generator.Factory.Us...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GeneratorAPI; using NUnit.Framework.Internal; using NUnit.Framework; using Sharpy; using Sharpy.Enums; using Sharpy.Implementation; namespace Tests.Sharpy.Integration { [TestFixture] publi...
mit
C#
960c42569e5226f649a9128fefe5ea272897995d
Update minor version
Vtek/Bartender
Cheers.Cqrs/Properties/AssemblyInfo.cs
Cheers.Cqrs/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Cheers.Cqrs")] [assembly: AssemblyDescription("Cheers CQRS contracts")] [assembly: AssemblyConfig...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Cheers.Cqrs")] [assembly: AssemblyDescription("Cheers CQRS contracts")] [assembly: AssemblyConfig...
mit
C#
1b57ecb7da8ba429ba467b6649ac766492ab3b82
add async processing
elyen3824/myfinanalysis-data
data-provider/run.csx
data-provider/run.csx
using System.Net; public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log) { log.Info("C# HTTP trigger function processed a request."); string symbol = await GetValueFromQuery(req, "symbol"); string start = await GetValueFromQuery(req, "start"); string end = await G...
using System.Net; public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log) { log.Info("C# HTTP trigger function processed a request."); string symbol = GetValueFromQuery(req, "symbol"); string start = GetValueFromQuery(req, "start"); string end = GetValueFromQuery...
mit
C#
d577e7d388d8dd40ffd63b701654eef54089d04a
Fix NaN floating point comparison
danielchalmers/DesktopWidgets
DesktopWidgets/Helpers/DoubleHelper.cs
DesktopWidgets/Helpers/DoubleHelper.cs
using System; using DesktopWidgets.Properties; namespace DesktopWidgets.Helpers { public static class DoubleHelper { public static bool IsEqual(this double val1, double val2) => double.IsNaN(val1) || double.IsNaN(val2) || (Math.Abs(val1 - val2) > Settings.Default.DoubleComparis...
using System; using DesktopWidgets.Properties; namespace DesktopWidgets.Helpers { public static class DoubleHelper { public static bool IsEqual(this double val1, double val2) => double.IsNaN(val1) || double.IsNaN(val1) || (Math.Abs(val1 - val2) > Settings.Default.DoubleComparis...
apache-2.0
C#
4918d88e333f5545b1d7c241c93296f106da8e2f
Update jobpicker
bunashibu/kikan
Assets/Scripts/JobPicker.cs
Assets/Scripts/JobPicker.cs
using UnityEngine; using UnityEngine.UI; using System.Collections; public class JobPicker : MonoBehaviour { public void PickManji() { PickImpl(0, 30); } public void PickMagician() { PickImpl(1, 2200); } public void PickWarrior() { //PickImpl(); } void PickImpl(int n, int life) { _play...
using UnityEngine; using UnityEngine.UI; using System.Collections; public class JobPicker : MonoBehaviour { public void PickManji() { PickImpl(0, 30); } public void PickMagician() { PickImpl(1, 2200); } public void PickWarrior() { //PickImpl(); } void PickImpl(int n, int life) { _play...
mit
C#
18f8d5b2690186c73caace681b32011917a75f5b
Tweak key format in analytics request
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Core/Other/Analytics/AnalyticsReport.cs
Core/Other/Analytics/AnalyticsReport.cs
using System.Collections; using System.Collections.Specialized; using System.Text; namespace TweetDuck.Core.Other.Analytics{ sealed class AnalyticsReport : IEnumerable{ private OrderedDictionary data = new OrderedDictionary(32); private int separators; public void Add(int ignored){ // add...
using System.Collections; using System.Collections.Specialized; using System.Text; namespace TweetDuck.Core.Other.Analytics{ sealed class AnalyticsReport : IEnumerable{ private OrderedDictionary data = new OrderedDictionary(32); private int separators; public void Add(int ignored){ // add...
mit
C#
52c8cea27dc8e0400fd125b80e262378b8a79153
Update spectator/multiplayer endpoint in line with new deployment
peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu
osu.Game/Online/ProductionEndpointConfiguration.cs
osu.Game/Online/ProductionEndpointConfiguration.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. namespace osu.Game.Online { public class ProductionEndpointConfiguration : EndpointConfiguration { public ProductionEndpointConfiguration() { ...
// 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. namespace osu.Game.Online { public class ProductionEndpointConfiguration : EndpointConfiguration { public ProductionEndpointConfiguration() { ...
mit
C#
c4644c4b99f7f1e3e0147510b1b83cd4e29dca54
add successful login
Svetlin-Slavchev/Web-Forms-Teamwork,Svetlin-Slavchev/Web-Forms-Teamwork
EBooks/EBooks.Web/Account/Login.aspx.cs
EBooks/EBooks.Web/Account/Login.aspx.cs
using System; using System.Web; using System.Web.UI; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Owin; using EBooks.Web.Models; using System.Web.Security; using System.Security.Principal; namespace EBooks.Web.Account { public partial class Login : Page { protected void...
using System; using System.Web; using System.Web.UI; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Owin; using EBooks.Web.Models; using System.Web.Security; namespace EBooks.Web.Account { public partial class Login : Page { protected void Page_Load(object sender, EventAr...
mit
C#
09fc566e9536b98ee259f46a3af5ad0372f8777e
Hide character fields header if no fields
leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net
Joinrpg/Views/Character/Details.cshtml
Joinrpg/Views/Character/Details.cshtml
@using JoinRpg.Web.Models @model CharacterDetailsViewModel <div> @Html.Partial("CharacterNavigation", Model.Navigation) @* TODO: Жесточайше причесать эту страницу*@ <dl class="dl-horizontal"> <dt>Игрок</dt> <dd>@Html.DisplayFor(model => model, "IPlayerCharacter")</dd> <dt>@Html.Dis...
@using JoinRpg.Web.Models @model CharacterDetailsViewModel <div> @Html.Partial("CharacterNavigation", Model.Navigation) @* TODO: Жесточайше причесать эту страницу*@ <dl class="dl-horizontal"> <dt>Игрок</dt> <dd>@Html.DisplayFor(model => model, "IPlayerCharacter")</dd> <dt>@Html.Dis...
mit
C#
46da86b9063c49149e2d9cf81f6431777e1f990f
Implement 100 prisoners problem
sakapon/Samples-2016,sakapon/Samples-2016
MathSample/PrisonersConsole/Program.cs
MathSample/PrisonersConsole/Program.cs
using System; using System.Collections.Generic; using System.Linq; using Blaze.Randomization; namespace PrisonersConsole { class Program { static void Main(string[] args) { var bulb = new Bulb(); var prisoners = Enumerable.Range(0, Prisoner.NumberOfPrisoners...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PrisonersConsole { class Program { static void Main(string[] args) { } } }
mit
C#
b903960d7fd41da6997932ea40c05d66960388eb
Implement IEquatable
beardgame/utilities
src/Core/Maybe.cs
src/Core/Maybe.cs
using System; using System.Collections.Generic; namespace Bearded.Utilities { public struct Maybe<T> : IEquatable<Maybe<T>> { private readonly bool hasValue; private readonly T value; private Maybe(T value) { hasValue = true; this.value = value; ...
using System; namespace Bearded.Utilities { public struct Maybe<T> { private readonly bool hasValue; private readonly T value; private Maybe(T value) { hasValue = true; this.value = value; } public static Maybe<T> Nothing() => new Maybe<...
mit
C#
4d852a7a1c09133cfc65b9412cc4eb508017cc43
Add test cases attempting to send nulls
Tragetaschen/dbus-sharp,arfbtwn/dbus-sharp,openmedicus/dbus-sharp,mono/dbus-sharp,arfbtwn/dbus-sharp,mono/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp
examples/TestExceptions.cs
examples/TestExceptions.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.Collections.Generic; using NDesk.DBus; using org.freedesktop.DBus; public class ManagedDBusTestExceptions { public static void Main () { Bus bus = Bus.Session...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.Collections.Generic; using NDesk.DBus; using org.freedesktop.DBus; public class ManagedDBusTestExceptions { public static void Main () { Bus bus = Bus.Session...
mit
C#
984e7b9c9d1e3f3d807be07278dcbc02a75abe7b
Make the assembly CLS compliant (#88)
maxwellb/Microsoft.IO.RecyclableMemoryStream,Microsoft/Microsoft.IO.RecyclableMemoryStream
src/Properties/AssemblyInfo.cs
src/Properties/AssemblyInfo.cs
using System; 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: Ass...
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("Mi...
mit
C#
87542aea2d0a81a626736f49d5607ed3faafff25
Update Authorization.cs
giorgalis/skroutz.gr
skroutz.gr/Authorization/Authorization.cs
skroutz.gr/Authorization/Authorization.cs
using Newtonsoft.Json; using skroutz.gr.ServiceBroker; using System; namespace skroutz.gr.Authorization { /// <summary> /// Struct Credentials /// </summary> public struct Credentials { /// <summary> /// The client Id you received from skroutz api team. /// </summary> ...
using Newtonsoft.Json; using skroutz.gr.ServiceBroker; using System; namespace skroutz.gr.Authorization { /// <summary> /// Struct Credentials /// </summary> public struct Credentials { /// <summary> /// The client Id you received from skroutz api team. /// </summary> ...
mit
C#
2ce85fe1eb9b177d5b35f81e8dde29f2e21b862e
Increment version to v1.1.0.12
XeroAPI/XeroAPI.Net,TDaphneB/XeroAPI.Net,jcvandan/XeroAPI.Net,MatthewSteeples/XeroAPI.Net
source/XeroApi/Properties/AssemblyInfo.cs
source/XeroApi/Properties/AssemblyInfo.cs
using System.Reflection; 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("XeroApi")] [assembly: AssemblyDescription...
using System.Reflection; 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("XeroApi")] [assembly: AssemblyDescription...
mit
C#
d0567e4a196e54c95af02eeffd30e5d44a3e0061
add setters to Result.cs
ilovepi/Compiler,ilovepi/Compiler
compiler/frontend/Result.cs
compiler/frontend/Result.cs
namespace compiler.frontend { public enum Kind { Constant, Variable, Register, Conditional } public struct Result { /// <summary> /// Const, Variable, Register, Conditional /// </summary> public int Kind { get; set; } /// <summary> /// Numeric value ///...
using System; namespace compiler { public enum Kind { Constant, Variable, Register, Conditional } public struct Result { /// <summary> /// Const, Variable, Register, Conditional /// </summary> public int Kind { get; } /// <summary> /// Numeric value ...
mit
C#
e340456dd4382b8d778a7508f0ca03b6f8bae80d
Remove using
peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework
osu.Framework/Platform/DisplayMode.cs
osu.Framework/Platform/DisplayMode.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.Drawing; namespace osu.Framework.Platform { /// <summary> /// Represents a display mode on a given <see cref="Display"/>. /// </summary> pub...
// 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.Drawing; namespace osu.Framework.Platform { /// <summary> /// Represents a display mode on a given <see cref="Display"/>. /// </su...
mit
C#
670a30b64bdf1f315898c7a931c0dccc3da7af70
Remove usage of `.Result` in `ArchiveReader`
peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu
osu.Game/IO/Archives/ArchiveReader.cs
osu.Game/IO/Archives/ArchiveReader.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.Collections.Generic; using System.IO; using System.Threading; using System.Threading.Tasks; using osu.Framework.IO.Stores; namespace osu.Game.IO.Archives {...
// 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.Collections.Generic; using System.IO; using System.Threading; using System.Threading.Tasks; using osu.Framework.IO.Stores; namespace osu.Game.IO.Archives {...
mit
C#
02f26e7bc38149a136b697147dc5c3fd9f3042cc
add data member
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Application/ApplicationDetailsMetadataDto.cs
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Application/ApplicationDetailsMetadataDto.cs
using System.Collections.Generic; using System.Runtime.Serialization; using PS.Mothership.Core.Common.Template.Gen; namespace PS.Mothership.Core.Common.Dto.Application { [DataContract] public class ApplicationDetailsMetadataDto { [DataMember] public IList<GenBusinessLegalType> BusinessLega...
using System.Collections.Generic; using System.Runtime.Serialization; using PS.Mothership.Core.Common.Template.Gen; namespace PS.Mothership.Core.Common.Dto.Application { [DataContract] public class ApplicationDetailsMetadataDto { public IList<GenBusinessLegalType> BusinessLegalTypes { get; set; } ...
mit
C#
a0e127f8d1c3c130c117fbc123b26fefa833bae7
Remove unused using statements
nfleet/.net-sdk
NFleetSDK/Data/DepotData.cs
NFleetSDK/Data/DepotData.cs
using System.Collections.Generic; using System.Runtime.Serialization; namespace NFleet.Data { public class DepotData : IResponseData, IVersioned { public static string MIMEType = "application/vnd.jyu.nfleet.depot"; public static string MIMEVersion = "2.2"; [DataMember] public...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; namespace NFleet.Data { public class DepotData : IResponseData, IVersioned { public static string MIMEType = "application/vnd.jyu.nfleet.depot"; public static string MIMEVe...
mit
C#
d2493bc9f9c489401f1577f78ea8e5f9642f9db2
fix bug in the RdnRmnSdSy handler
PipatPosawad/nChronic
src/Chronic/Handlers/RdnRmnSdSyHandler.cs
src/Chronic/Handlers/RdnRmnSdSyHandler.cs
using Chronic.Tags.Repeaters; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Chronic.Handlers { public class RdnRmnSdSyHandler : IHandler { public Span Handle(IList<Token> tokens, Options options) { var ...
using Chronic.Tags.Repeaters; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Chronic.Handlers { public class RdnRmnSdSyHandler : IHandler { public Span Handle(IList<Token> tokens, Options options) { var ...
mit
C#
b44d326439509174dcba3f0bf46376821aa0d46d
Add CIV.Interfaces reference in Main
lou1306/CIV,lou1306/CIV
CIV/Program.cs
CIV/Program.cs
using static System.Console; using CIV.Ccs; using CIV.Interfaces; namespace CIV { class Program { static void Main(string[] args) { var text = System.IO.File.ReadAllText(args[0]); var processes = CcsFacade.ParseAll(text); var trace = CcsFacade.RandomTrace(processes["...
using static System.Console; using CIV.Ccs; namespace CIV { class Program { static void Main(string[] args) { var text = System.IO.File.ReadAllText(args[0]); var processes = CcsFacade.ParseAll(text); var trace = CcsFacade.RandomTrace(processes["Prison"], 450); ...
mit
C#
c4529577880047b72a870ddb0ab221b1ee7e7a90
add BeginScope as dictionary extension method
exceptionless/Foundatio,FoundatioFx/Foundatio
src/Foundatio/Logging/LoggerExtensions.cs
src/Foundatio/Logging/LoggerExtensions.cs
using System; using System.Collections.Generic; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; namespace Foundatio.Logging { public static class LoggerExtensions { public static ILogger GetLogger(this object target) { return target is IHaveLogger accessor ?...
using System; using Foundatio.Logging; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Microsoft.Extensions.Logging.Internal; namespace Foundatio.Logging { public static class LoggerExtensions { public static ILogger GetLogger(this object target) { ret...
apache-2.0
C#
b3b3b07f8d47c811230b368c7c18775d1b48efe9
Update HtmlDocumentLoadCompleted.cs
zzzprojects/html-agility-pack,zzzprojects/html-agility-pack
src/HAPLight/HtmlDocumentLoadCompleted.cs
src/HAPLight/HtmlDocumentLoadCompleted.cs
using System; namespace HtmlAgilityPack { /// <summary> /// Happens when a document has been loaded /// </summary> public class HtmlDocumentLoadCompleted : EventArgs { #region Fields /// <summary> /// The document that has been loaded /// </summary> public H...
using System; namespace HtmlAgilityPack { /// <summary> /// Happens when a document has been loaded /// </summary> public class HtmlDocumentLoadCompleted : EventArgs { #region Fields /// <summary> /// The document that has been loaded /// </summary> public H...
mit
C#
1b480ab285778299ef744a08f2fa776cc37bd3b4
Add RestfulJson to ContentType
ASP-NET-Core-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework,ASP-NET-MVC-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework,ASP-NET-MVC-Boilerplate/Framework
Source/Boxed.AspNetCore/ContentType.cs
Source/Boxed.AspNetCore/ContentType.cs
namespace Boxed.AspNetCore { /// <summary> /// A list of internet media types, which are a standard identifier used on the Internet to indicate the type of /// data that a file contains. Web browsers use them to determine how to display, output or handle files and search /// engines use them to classify...
namespace Boxed.AspNetCore { /// <summary> /// A list of internet media types, which are a standard identifier used on the Internet to indicate the type of /// data that a file contains. Web browsers use them to determine how to display, output or handle files and search /// engines use them to classify...
mit
C#
5b3cfc8cd27061cdf739308ffb8489a211cdc5c6
add style to score
sungry/CS177
unityTree/Assets/_Scripts/HUDScript.cs
unityTree/Assets/_Scripts/HUDScript.cs
using UnityEngine; using System.Collections; using UnitySampleAssets._2D; public class HUDScript : MonoBehaviour { //Heads up Display float playerScore; float currentSpeed; // Update is called once per frame void Update () { playerScore += (Time.deltaTime * 10); //currentSpeed = Pl...
using UnityEngine; using System.Collections; using UnitySampleAssets._2D; public class HUDScript : MonoBehaviour { //Heads up Display float playerScore; float currentSpeed; // Update is called once per frame void Update () { playerScore += (Time.deltaTime * 10); //currentSpeed = Pl...
mit
C#
9a82cbfce44c5c010ce3692b17d5c275c5fb3f23
Fix canvas sizing issue
steffenWi/xwt,antmicro/xwt,akrisiun/xwt,lytico/xwt,TheBrainTech/xwt,mminns/xwt,mono/xwt,cra0zy/xwt,mminns/xwt,iainx/xwt,hamekoz/xwt,sevoku/xwt,hwthomas/xwt,directhex/xwt,residuum/xwt
Xwt.WPF/Xwt.WPFBackend/CanvasBackend.cs
Xwt.WPF/Xwt.WPFBackend/CanvasBackend.cs
 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xwt.Backends; using System.Windows; using SWC = System.Windows.Controls; namespace Xwt.WPFBackend { class CanvasBackend : WidgetBackend, ICanvasBackend { #region ICanvasBackend Members public CanvasBackend () { ...
 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xwt.Backends; using System.Windows; using SWC = System.Windows.Controls; namespace Xwt.WPFBackend { class CanvasBackend : WidgetBackend, ICanvasBackend { #region ICanvasBackend Members public CanvasBackend () { ...
mit
C#
6409e1024edb65328ae5923b1c7dd69aecdda3c4
use custom app config location for tests
config-r/config-r
tests/ConfigR.Tests.Acceptance.Roslyn.CSharp/Support/ConfigFile.cs
tests/ConfigR.Tests.Acceptance.Roslyn.CSharp/Support/ConfigFile.cs
// <copyright file="ConfigFile.cs" company="ConfigR contributors"> // Copyright (c) ConfigR contributors. (configr.net@gmail.com) // </copyright> namespace ConfigR.Tests.Acceptance.Roslyn.CSharp.Support { using System; using System.IO; public static class ConfigFile { public stati...
// <copyright file="ConfigFile.cs" company="ConfigR contributors"> // Copyright (c) ConfigR contributors. (configr.net@gmail.com) // </copyright> namespace ConfigR.Tests.Acceptance.Roslyn.CSharp.Support { using System; using System.Diagnostics.CodeAnalysis; using System.IO; public static c...
mit
C#
97871db6299855cf3ca68c9e17d5c21038291034
Add comments for Conflict
couchbase/couchbase-lite-net,couchbase/couchbase-lite-net,couchbase/couchbase-lite-net
src/Couchbase.Lite.Shared/API/Conflict/Conflict.cs
src/Couchbase.Lite.Shared/API/Conflict/Conflict.cs
// // Conflict.cs // // Copyright (c) 2019 Couchbase, Inc 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 ...
// // Conflict.cs // // Copyright (c) 2019 Couchbase, Inc 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#
83d28b0c89d286a56186bef7b106091ccb8bff86
fix debug dump of ops commands
StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis
service/FunctionApp/Messages/OpsMessage.cs
service/FunctionApp/Messages/OpsMessage.cs
using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace FunctionApp.Messages { public enum OpsMessageType { ProcessReferenceXmldoc = 1, } public class OpsMessage { public OpsMessageType Type { get; set; } [JsonExtensionData] ...
using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace FunctionApp.Messages { public enum OpsMessageType { ProcessReferenceXmldoc, } public class OpsMessage { public OpsMessageType Type { get; set; } [JsonExtensionData] publ...
mit
C#
54d30c21b9aaef61af312c666c8ef7cb4abf9ef7
Test fix works
hartmannr76/EasyIoC,hartmannr76/EasyIoC
EasyIoC/AssemblyFinder.cs
EasyIoC/AssemblyFinder.cs
using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Reflection; using Microsoft.Extensions.DependencyModel; namespace EasyIoC { public class AssemblyFinder { private readonly HashSet<string> _defaultIgnoredAssemblies = new HashSet<string>() { "Microsoft.", ...
using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Reflection; using Microsoft.Extensions.DependencyModel; namespace EasyIoC { public class AssemblyFinder { private readonly HashSet<string> _defaultIgnoredAssemblies = new HashSet<string>() { "Microsoft.", ...
mit
C#
8f34c75a8742a1754246f2d3383b2fcab48dddcf
Revert "Revert "registration of api controllers fixed""
borismod/ReSharperTnT,borismod/ReSharperTnT
ReSharperTnT/Bootstrapper.cs
ReSharperTnT/Bootstrapper.cs
using System.Reflection; using System.Web.Http; using Autofac; using Autofac.Integration.WebApi; namespace ReSharperTnT { public class Bootstrapper { public static void Init() { var bootstrapper = new Bootstrapper(); var container = bootstrapper.CreateContainer(); ...
using System.Web.Http; using Autofac; using Autofac.Integration.WebApi; namespace ReSharperTnT { public class Bootstrapper { static Bootstrapper() { Init(); } public static void Init() { var bootstrapper = new Bootstrapper(); var con...
apache-2.0
C#
056f8d0c23426f0822bc02690cbb9d5ee46dfb4b
Add new fluent syntax: DayOfWeek.Monday.EveryWeek()
diaconesq/RecurringDates
RecurringDates/Extensions.cs
RecurringDates/Extensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RecurringDates { public static class Extensions { public static SetUnionRule Or(this IRule first, params IRule[] otherRules) { return new SetUnionRule {Rule...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RecurringDates { public static class Extensions { public static SetUnionRule Or(this IRule first, params IRule[] otherRules) { return new SetUnionRule {Rule...
bsd-2-clause
C#
9693d19c9986f611678c092b3eab47c09c7a5e22
Use more concrete types
LordMike/TMDbLib
TMDbLib/Utilities/KnownForConverter.cs
TMDbLib/Utilities/KnownForConverter.cs
using System; using Newtonsoft.Json.Linq; using TMDbLib.Objects.General; using TMDbLib.Objects.Search; namespace TMDbLib.Utilities { internal class KnownForConverter : JsonCreationConverter<KnownForBase> { public override bool CanConvert(Type objectType) { return objectType == typeo...
using System; using Newtonsoft.Json.Linq; using TMDbLib.Objects.Search; namespace TMDbLib.Utilities { internal class KnownForConverter : JsonCreationConverter<KnownForBase> { public override bool CanConvert(Type objectType) { return objectType == typeof(KnownForBase); } ...
mit
C#
707817ee38c3a0bd8f19882565a87ee51ac80b09
edit about page with correct description
wilsonvargas/Cognitive-Service-using-Xamarin.Forms
DemoCognitiveServices/DemoCognitiveServices/Views/AboutPage.xaml.cs
DemoCognitiveServices/DemoCognitiveServices/Views/AboutPage.xaml.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace DemoCognitiveServices.Views { [XamlCompilat...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace DemoCognitiveServices.Views { [XamlCompilat...
mit
C#
31848adf87770e551b9a016fe5fb360c803209b2
Address issue #1
JSkimming/TorSharp,joelverhagen/TorSharp
TorSharp/Tools/Tor/TorControlClient.cs
TorSharp/Tools/Tor/TorControlClient.cs
using System.IO; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace Knapcode.TorSharp.Tools.Tor { public class TorControlClient { private const string SuccessResponse = "250 OK"; private const int BufferSize = 256; private TcpClient _tcpClient; ...
using System.IO; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace Knapcode.TorSharp.Tools.Tor { public class TorControlClient { private const string SuccessResponse = "250 OK"; private const int BufferSize = 256; private TcpClient _tcpClient; ...
mit
C#
0cf7eca272c079b90d15e8ab335725be898dd1be
Add missing dependencies to autofac module
arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5
src/Arkivverket.Arkade/Util/ArkadeAutofacModule.cs
src/Arkivverket.Arkade/Util/ArkadeAutofacModule.cs
using Arkivverket.Arkade.Core; using Arkivverket.Arkade.Core.Addml; using Arkivverket.Arkade.Core.Noark5; using Arkivverket.Arkade.Identify; using Arkivverket.Arkade.Logging; using Arkivverket.Arkade.Tests; using Arkivverket.Arkade.Tests.Noark5; using Autofac; namespace Arkivverket.Arkade.Util { public class Arkad...
using Arkivverket.Arkade.Core; using Arkivverket.Arkade.Core.Noark5; using Arkivverket.Arkade.Identify; using Arkivverket.Arkade.Logging; using Arkivverket.Arkade.Tests; using Arkivverket.Arkade.Tests.Noark5; using Autofac; namespace Arkivverket.Arkade.Util { public class ArkadeAutofacModule : Module { ...
agpl-3.0
C#
2c5ed16cd657599aae66fb5607af8c9665e3d79f
Update AdminMenu.cs
johnnyqian/Orchard,jersiovic/Orchard,rtpHarry/Orchard,AdvantageCS/Orchard,SouleDesigns/SouleDesigns.Orchard,grapto/Orchard.CloudBust,ehe888/Orchard,LaserSrl/Orchard,omidnasri/Orchard,hbulzy/Orchard,jimasp/Orchard,rtpHarry/Orchard,tobydodds/folklife,omidnasri/Orchard,jimasp/Orchard,yersans/Orchard,bedegaming-aleksej/Orc...
src/Orchard.Web/Modules/Orchard.Alias/AdminMenu.cs
src/Orchard.Web/Modules/Orchard.Alias/AdminMenu.cs
using Orchard.Environment.Extensions; using Orchard.Localization; using Orchard.Security; using Orchard.UI.Navigation; namespace Orchard.Alias { [OrchardFeature("Orchard.Alias.UI")] public class AdminMenu : INavigationProvider { public Localizer T { get; set; } public string MenuName { get { ...
using Orchard.Environment.Extensions; using Orchard.Localization; using Orchard.Security; using Orchard.UI.Navigation; namespace Orchard.Alias { [OrchardFeature("Orchard.Alias.UI")] public class AdminMenu : INavigationProvider { public Localizer T { get; set; } public string MenuName { get { ...
bsd-3-clause
C#
15154930ca516a22b7640235130fd67e95b21cbc
Implement PhysicalFileSystem methods
appharbor/appharbor-cli
src/AppHarbor/PhysicalFileSystem.cs
src/AppHarbor/PhysicalFileSystem.cs
using System; using System.IO; namespace AppHarbor { public class PhysicalFileSystem : IFileSystem { public void Delete(string path) { var directory = new DirectoryInfo(path); if (directory.Exists) { directory.Delete(recursive: true); return; } var file = new FileInfo(path); if (file....
using System; using System.IO; namespace AppHarbor { public class PhysicalFileSystem : IFileSystem { public void Delete(string path) { throw new NotImplementedException(); } public Stream OpenRead(string path) { throw new NotImplementedException(); } public Stream OpenWrite(string path) { ...
mit
C#
7b0d4f5f1a8220db10e879837b9740c28e2361b3
Initialize links.
jmrgn/schema-hypermedia,jmrgn/schema-hypermedia
src/Schema.Hypermedia/Models/HypermediaResource.cs
src/Schema.Hypermedia/Models/HypermediaResource.cs
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Newtonsoft.Json.Schema; using System; using System.Collections; using System.Collections.Generic; using System.Text; namespace Schema.Hypermedia.Models { public abstract class HypermediaResource : IHypermediaResource { public IEnumer...
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Newtonsoft.Json.Schema; using System; using System.Collections; using System.Collections.Generic; using System.Text; namespace Schema.Hypermedia.Models { public abstract class HypermediaResource : IHypermediaResource { public IEnumer...
apache-2.0
C#
702ca6fa1f84eea2d5178d64e132c3865c1a9bef
add setter for status
jasoncavaliere/Nirvana,nirvana-framework/Nirvana,jasoncavaliere/Nirvana,jasoncavaliere/Nirvana,jasoncavaliere/Nirvana
src/Nirvana/CQRS/Queue/IQueueController.cs
src/Nirvana/CQRS/Queue/IQueueController.cs
using System; using System.Collections.Generic; using Nirvana.Configuration; namespace Nirvana.CQRS.Queue { public interface IQueueController { QueueStatus Status { get; set; } bool InitializeAll(); //bool StopAll(); // bool StartRoot(string rootName); // bool StopRoot(s...
using System; using System.Collections.Generic; using Nirvana.Configuration; namespace Nirvana.CQRS.Queue { public interface IQueueController { QueueStatus Status { get; } bool InitializeAll(); //bool StopAll(); // bool StartRoot(string rootName); // bool StopRoot(string...
apache-2.0
C#
4a8d25d7cbdfde5a5087519630aa35a7e0d498d7
Remove _enabledParticles & ITickable from LeptonPlasma
tainicom/Aether
Source/Core/LeptonPlasma.cs
Source/Core/LeptonPlasma.cs
#region License // Copyright 2015 Kastellanos Nikolaos // // 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 requi...
#region License // Copyright 2015 Kastellanos Nikolaos // // 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 requi...
apache-2.0
C#
ce413bba03ffca04c458096306579ff6e4dc0318
Enable tracing for IAP code
GoogleCloudPlatform/iap-desktop,GoogleCloudPlatform/iap-desktop
Google.Solutions.IapDesktop.Application.Test/FixtureBase.cs
Google.Solutions.IapDesktop.Application.Test/FixtureBase.cs
// // Copyright 2019 Google LLC // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Ver...
// // Copyright 2019 Google LLC // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Ver...
apache-2.0
C#
a2c8ea46bf41df44cf866bdfbd17a0136b0dd1a5
Update LineSegmentTests.cs
Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D
tests/Core2D.UnitTests/Path/Segments/LineSegmentTests.cs
tests/Core2D.UnitTests/Path/Segments/LineSegmentTests.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Core2D.Path.Segments; using Core2D.Shapes; using System.Linq; using Xunit; namespace Core2D.UnitTests { public class LineSegmentTests { [Fac...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Core2D.Path.Segments; using Core2D.Shapes; using System.Linq; using Xunit; namespace Core2D.UnitTests { public class LineSegmentTests { [Fac...
mit
C#
3ffba5e79d38518603bfa6352e83b373d5c84caa
Remove redudent paramiter
wrightg42/todo-list,It423/todo-list
Todo-List/Todo-List/Note.cs
Todo-List/Todo-List/Note.cs
// Note.cs // <copyright file="Note.cs"> This code is protected under the MIT License. </copyright> using System.Collections.Generic; namespace Todo_List { /// <summary> /// A data representation of a note. /// </summary> public class Note { /// <summary> /// Initializes a new inst...
// Note.cs // <copyright file="Note.cs"> This code is protected under the MIT License. </copyright> using System.Collections.Generic; namespace Todo_List { /// <summary> /// A data representation of a note. /// </summary> public class Note { /// <summary> /// Initializes a new inst...
mit
C#
42673870c4cb4e81435f46e03d70a8f74c230de5
Use the generic music icon for the Play Song button
babycaseny/banshee,stsundermann/banshee,stsundermann/banshee,Dynalon/banshee-osx,GNOME/banshee,babycaseny/banshee,ixfalia/banshee,arfbtwn/banshee,babycaseny/banshee,dufoli/banshee,Carbenium/banshee,Carbenium/banshee,arfbtwn/banshee,GNOME/banshee,stsundermann/banshee,Dynalon/banshee-osx,babycaseny/banshee,babycaseny/ban...
src/Clients/Muinshee/Muinshee/MuinsheeActions.cs
src/Clients/Muinshee/Muinshee/MuinsheeActions.cs
// // MuinsheeActions.cs // // Authors: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2008 Novell, Inc. // // 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, i...
// // MuinsheeActions.cs // // Authors: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2008 Novell, Inc. // // 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, i...
mit
C#
7f0ba7e1937cea63678b6dcb369d08e969165e2b
fix in creation of IEnumarble collection
D4N3-777/Din_Website,D4N3-777/Din_Website,D4N3-777/Din_Website
src/Din.Service/Clients/Concrete/TvShowClient.cs
src/Din.Service/Clients/Concrete/TvShowClient.cs
using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Din.Service.Clients.Interfaces; using Din.Service.Clients.RequestObjects; using Din.Service.Clients.ResponseObjects; using Din.Service.Config.Interfaces; using Newtonsoft.Json; namespace D...
using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Din.Service.Clients.Interfaces; using Din.Service.Clients.RequestObjects; using Din.Service.Clients.ResponseObjects; using Din.Service.Config.Interfaces; using Newtonsoft.Json; namespace D...
apache-2.0
C#
1feaac04d6d27b52f620d4d03dd070b0887e41cb
Fix Sender Delete Chiamata in corso
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.SignalR/Sender/GestioneChiamateInCorso/NotificationDeleteChiamataInCorso.cs
src/backend/SO115App.SignalR/Sender/GestioneChiamateInCorso/NotificationDeleteChiamataInCorso.cs
//----------------------------------------------------------------------- // <copyright file="NotificationDeleteChiamataInCorso .cs" company="CNVVF"> // Copyright (C) 2017 - CNVVF // // This file is part of SOVVF. // SOVVF is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero ...
//----------------------------------------------------------------------- // <copyright file="NotificationDeleteChiamataInCorso .cs" company="CNVVF"> // Copyright (C) 2017 - CNVVF // // This file is part of SOVVF. // SOVVF is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero ...
agpl-3.0
C#
be946d59a69bbded682ac263d1889d844f629182
Initialize LinkCommand with an IApplicationConfiguration
appharbor/appharbor-cli
src/AppHarbor/Commands/LinkCommand.cs
src/AppHarbor/Commands/LinkCommand.cs
using System; namespace AppHarbor.Commands { public class LinkCommand : ICommand { private readonly IApplicationConfiguration _applicationConfiguration; public LinkCommand(IApplicationConfiguration applicationConfiguration) { _applicationConfiguration = applicationConfiguration; } public void Execute...
using System; namespace AppHarbor.Commands { public class LinkCommand : ICommand { public LinkCommand() { } public void Execute(string[] arguments) { throw new NotImplementedException(); } } }
mit
C#
51d304d584b82f329bca1e639decc1c4bdc23b6f
fix polyline test
gabornemeth/StravaSharp,gabornemeth/StravaSharp,gabornemeth/StravaSharp,gabornemeth/StravaSharp
src/StravaSharp.Tests/PolylineTest.cs
src/StravaSharp.Tests/PolylineTest.cs
// // ActivityTest.cs // // Author: // Gabor Nemeth (gabor.nemeth.dev@gmail.com) // // Copyright (C) 2015, Gabor Nemeth // using Newtonsoft.Json; using NUnit.Framework; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace StravaSharp.Tests ...
// // ActivityTest.cs // // Author: // Gabor Nemeth (gabor.nemeth.dev@gmail.com) // // Copyright (C) 2015, Gabor Nemeth // using Newtonsoft.Json; using NUnit.Framework; using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; namespace StravaSharp.Tests { [TestFixture]...
mit
C#
16d7f34db2ccf697e46f28e2e1bf57aa4b9eb949
fix possible
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
src/CommitmentsV2/SFA.DAS.CommitmentsV2/Models/ApprenticeshipConfirmationStatus.cs
src/CommitmentsV2/SFA.DAS.CommitmentsV2/Models/ApprenticeshipConfirmationStatus.cs
using System; using SFA.DAS.CommitmentsV2.Models.Interfaces; using SFA.DAS.CommitmentsV2.Types; namespace SFA.DAS.CommitmentsV2.Models { public class ApprenticeshipConfirmationStatus : Aggregate { public ApprenticeshipConfirmationStatus() { } public ApprenticeshipConfirmationS...
using System; using SFA.DAS.CommitmentsV2.Models.Interfaces; using SFA.DAS.CommitmentsV2.Types; namespace SFA.DAS.CommitmentsV2.Models { public class ApprenticeshipConfirmationStatus : Aggregate { public ApprenticeshipConfirmationStatus() { } public ApprenticeshipConfirmationS...
mit
C#
98a877c69f9778609c84d0041ee3c15bb7e36b93
fix mathjax script
YarGU-Demidov/math-site,YarGU-Demidov/math-site,YarGU-Demidov/math-site,YarGU-Demidov/math-site,YarGU-Demidov/math-site
src/MathSite/Views/Shared/Partials/Scripts.cshtml
src/MathSite/Views/Shared/Partials/Scripts.cshtml
@model CommonViewModel <!-- jQuery --> <script src="vendors/jquery/jquery-3.2.0.min.js"></script> <!-- Outline.js --> <script src="vendors/outline/outline.js" asp-append-version="true"></script> <!-- Math formulas --> <script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHT...
@model CommonViewModel <!-- jQuery --> <script src="vendors/jquery/jquery-3.2.0.min.js"></script> <!-- Outline.js --> <script src="vendors/outline/outline.js" asp-append-version="true"></script> <!-- Math formulas --> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.j...
mit
C#
1cdbbd172b91dbde5125666fa2884357aed40c48
Use NancyOptions. (#2812)
xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,OrchardCMS/Brochard,xkproject/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,petedavis/Orchard2,petedavis/Orchard2,stevetayloruk/Or...
src/OrchardCore/OrchardCore.Nancy.Core/Startup.cs
src/OrchardCore/OrchardCore.Nancy.Core/Startup.cs
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using Nancy; using Nancy.Owin; using OrchardCore.Modules; using OrchardCore.Nancy.AssemblyCatalogs; namespace Orchar...
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Nancy; using Nancy.Owin; using OrchardCore.Modules; using OrchardCore.Nancy.AssemblyCatalogs; namespace OrchardCore.Nancy { public class Start...
bsd-3-clause
C#
bd0c793def174fd8e11d3c5ff503d7080f533d1e
Use single method to get drive in ExportArgsTests
Sitecore/Sitecore-Instance-Manager
src/SIM.Tests/Pipelines/Export/ExportArgsTests.cs
src/SIM.Tests/Pipelines/Export/ExportArgsTests.cs
namespace SIM.Tests.Pipelines.Export { using System; using System.IO; using System.Linq; using SIM.Extensions; using SIM.Pipelines.Export; using Xunit; public class ExportArgsTests { [Fact] public void GetTempFolderTest() { var drive = GetDrive(); var result = ExportArgs.GetTem...
namespace SIM.Tests.Pipelines.Export { using System; using System.IO; using System.Linq; using SIM.Extensions; using SIM.Pipelines.Export; using Xunit; public class ExportArgsTests { [Fact] public void GetTempFolderTest() { //Try to get disk C. Get any disk if it doesn't exist ...
mit
C#
c98c9419b62353bf68ed1b40b5c798a19d2afdcc
Fix 404 bug (should actually return 404 now)
nbarbettini/beautiful-rest-api-aspnetcore
src/BeautifulRestApi/Filters/LinkRewritingFilter.cs
src/BeautifulRestApi/Filters/LinkRewritingFilter.cs
using System; using System.Linq; using System.Reflection; using System.Threading.Tasks; using BeautifulRestApi.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Mvc.Routing; namespace BeautifulRestApi.Filters { public class LinkRewritingFilter : IAsyncResul...
using System; using System.Linq; using System.Reflection; using System.Threading.Tasks; using BeautifulRestApi.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Mvc.Routing; namespace BeautifulRestApi.Filters { public class LinkRewritingFilter : IAsyncResul...
apache-2.0
C#
9d31efd24cfd819abaafa057e17d501f89a168f5
Fix social buttons not copying setting valus
murst/Blogifier.Core,blogifierdotnet/Blogifier.Core,murst/Blogifier.Core,murst/Blogifier.Core,blogifierdotnet/Blogifier.Core
src/Blogifier.Core/Services/Social/SocialService.cs
src/Blogifier.Core/Services/Social/SocialService.cs
using Blogifier.Core.Common; using Blogifier.Core.Data.Domain; using Blogifier.Core.Data.Interfaces; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Blogifier.Core.Services.Social { public class SocialService : ISocialService { IUnitOfWork _db; pub...
using Blogifier.Core.Common; using Blogifier.Core.Data.Domain; using Blogifier.Core.Data.Interfaces; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Blogifier.Core.Services.Social { public class SocialService : ISocialService { IUnitOfWork _db; pub...
mit
C#
75c8cd46f31abf531b86e0c4a9df0ebf715411a5
Update DefaultShapePresenter.cs
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/Draw2D.Core/Presenters/DefaultShapePresenter.cs
src/Draw2D.Core/Presenters/DefaultShapePresenter.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using Draw2D.Core.Editor; namespace Draw2D.Core.Presenters { public class DefaultShapePresenter : ShapePresenter { ...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using Draw2D.Core.Editor; namespace Draw2D.Core.Presenters { public class DefaultShapePresenter : ShapePresenter { ...
mit
C#
d6a705d76cdcf0843fe6a69a88072982d8e728d8
support nomnoml diagrams
lunet-io/markdig
src/Markdig/Extensions/Diagrams/DiagramExtension.cs
src/Markdig/Extensions/Diagrams/DiagramExtension.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.Renderers; using Markdig.Renderers.Html; namespace Markdig.Extensions.Diagrams { /// <summary> /// Extension to ...
// 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.Renderers; using Markdig.Renderers.Html; namespace Markdig.Extensions.Diagrams { /// <summary> /// Extension to ...
bsd-2-clause
C#
19cd07a473e5d39e069bd2376cfaf37fce8f0ee6
Fix issues related to open dialogs when a player disconnects
ikkentim/SampSharp,ikkentim/SampSharp,ikkentim/SampSharp
src/SampSharp.Entities/SAMP/Dialogs/DialogSystem.cs
src/SampSharp.Entities/SAMP/Dialogs/DialogSystem.cs
// SampSharp // Copyright 2022 Tim Potze // // 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 o...
// SampSharp // Copyright 2022 Tim Potze // // 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 o...
apache-2.0
C#
e8c93d0c27b350b60f6a4f5867911c7fcf30385f
Change raven configuration
Vavro/DragonContracts,Vavro/DragonContracts
DragonContracts/DragonContracts/Base/RavenDbController.cs
DragonContracts/DragonContracts/Base/RavenDbController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web; using System.Web.Http; using System.Web.Http.Controllers; using DragonContracts.Indexes; using DragonContracts.Models; using Raven.Client; using Raven.Client...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web; using System.Web.Http; using System.Web.Http.Controllers; using DragonContracts.Indexes; using DragonContracts.Models; using Raven.Client; using Raven.Client...
mit
C#
a10c0a835dcd53ac1a510c927624c887f03f75c0
Add missing ARC runtime linker flag
gururajios/XamarinBindings,gururajios/XamarinBindings,hanoibanhcuon/XamarinBindings,hanoibanhcuon/XamarinBindings,kushal2905/XamarinBindings-1,andnsx/XamarinBindings,theonlylawislove/XamarinBindings,andnsx/XamarinBindings,kushal2905/XamarinBindings-1
AlexTouch.PSPDFKit/PSPDFKit.linkwith.cs
AlexTouch.PSPDFKit/PSPDFKit.linkwith.cs
using System; using MonoTouch.ObjCRuntime; [assembly: LinkWith ("PSPDFKit.a", LinkTarget.ArmV7s | LinkTarget.ArmV7 | LinkTarget.Simulator, ForceLoad = true, IsCxx = true, Frameworks = "MediaPlayer CoreText QuartzCore MessageUI ImageIO CoreMedia CoreGraphics AVFoundation", LinkerFlags = "-lz -ObjC -fobjc-arc")]
using System; using MonoTouch.ObjCRuntime; [assembly: LinkWith ("PSPDFKit.a", LinkTarget.ArmV7s | LinkTarget.ArmV7 | LinkTarget.Simulator, ForceLoad = true, IsCxx = true, Frameworks = "MediaPlayer CoreText QuartzCore MessageUI ImageIO CoreMedia CoreGraphics AVFoundation", LinkerFlags = "-lz -ObjC")]
mit
C#
e744629a4167586e87e41ab1ba6da547b7f5a530
Fix broken obsoletion message
NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,ppy/osu,peppy/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu
osu.Game/Beatmaps/Formats/IHasComboColours.cs
osu.Game/Beatmaps/Formats/IHasComboColours.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.Collections.Generic; using osuTK.Graphics; namespace osu.Game.Beatmaps.Formats { public interface IHasComboColours { /// <summ...
// 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.Collections.Generic; using osuTK.Graphics; namespace osu.Game.Beatmaps.Formats { public interface IHasComboColours { /// <summ...
mit
C#