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
f324072d44d70ec439fe8ef17e95f7dff2d426a2
Make map pool layout more correct
johnneijzen/osu,EVAST9919/osu,2yangk23/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,EVAST9919/osu,2yangk23/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,ZLima12/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,Z...
osu.Game.Tournament.Tests/TestCaseMapPool.cs
osu.Game.Tournament.Tests/TestCaseMapPool.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 System.Linq; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Screens; using osu.Game.Tourname...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Linq; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Tournament.Components; using osu...
mit
C#
47d6b3da8b1d6c6b685030830801c7004deb0034
Bump version
programcsharp/griddly,programcsharp/griddly,programcsharp/griddly
Build/CommonAssemblyInfo.cs
Build/CommonAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProduct("Griddly")] [assembly: AssemblyCopyright("Copyright © 2013-2022 Chris Hynes, Joel Potter, and Data Research Group")] [assembly: ComVisible(false)] // Version information for an assembly consists of the following four values: /...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProduct("Griddly")] [assembly: AssemblyCopyright("Copyright © 2013-2022 Chris Hynes, Joel Potter, and Data Research Group")] [assembly: ComVisible(false)] // Version information for an assembly consists of the following four values: /...
mit
C#
4a6add483f69fc88d4a9909bcde5c7de57f27f98
Modify Thief and Perspective modification
Guityyo/minerparty,Guityyo/minerparty
Assets/_Scripts/Sensors/Senses/Perspective.cs
Assets/_Scripts/Sensors/Senses/Perspective.cs
using UnityEngine; using System.Collections; public class Perspective : Sense { public int FieldOfView = 45; public int ViewDistance = 100; private Transform playerTrans; private Vector3 rayDirection; protected override void Initialise() { playerTrans = GameObject.FindGameObjectWithT...
using UnityEngine; using System.Collections; public class Perspective : Sense { public int FieldOfView = 45; public int ViewDistance = 100; private Transform playerTrans; private Vector3 rayDirection; protected override void Initialise() { playerTrans = GameObject.FindGameObjectWithT...
apache-2.0
C#
30a5a4abed9fb2519b6e72308977f624484b5b57
Add support for named argument parsing.
alastairs/BobTheBuilder,fffej/BobTheBuilder
BobTheBuilder/NamedArgumentsDynamicBuilder.cs
BobTheBuilder/NamedArgumentsDynamicBuilder.cs
using System; using System.Dynamic; using System.Linq; namespace BobTheBuilder { public class NamedArgumentsDynamicBuilder<T> : DynamicObject, IDynamicBuilder<T> where T : class { private readonly IDynamicBuilder<T> wrappedBuilder; private readonly IArgumentStore argumentStore; intern...
using System; using System.Dynamic; namespace BobTheBuilder { public class NamedArgumentsDynamicBuilder<T> : DynamicObject, IDynamicBuilder<T> where T : class { private readonly IDynamicBuilder<T> wrappedBuilder; private readonly IArgumentStore argumentStore; internal NamedArgumentsDy...
apache-2.0
C#
0a5951b03955ecc02b083a874209a33518a687af
Remove IDisposable from NaturalSortComparer
BloomBooks/BloomDesktop,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,gmartin7/myBloomFork,JohnThomson/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,Jo...
src/BloomExe/Collection/NaturalSortComparer.cs
src/BloomExe/Collection/NaturalSortComparer.cs
using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace Bloom.Collection { /// <summary> /// From James McCormack, http://zootfroot.blogspot.com/2009/09/natural-sort-compare-with-linq-orderby.html /// </summary> /// <typeparam name="T"></typeparam> public class NaturalSort...
using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace Bloom.Collection { /// <summary> /// From James McCormack, http://zootfroot.blogspot.com/2009/09/natural-sort-compare-with-linq-orderby.html /// </summary> /// <typeparam name="T"></typeparam> public class NaturalSort...
mit
C#
f5aa6b09edc9338111114e4e8ea425be37f99cce
Enable stopwatch extension methods for .NET Core
malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime,jskeet/nodatime,jskeet/nodatime,nodatime/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,BenJenkinson/nodatime,malcolmr/nodatime
src/NodaTime/Extensions/StopwatchExtensions.cs
src/NodaTime/Extensions/StopwatchExtensions.cs
// Copyright 2014 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System.Diagnostics; using JetBrains.Annotations; using NodaTime.Utility; namespace NodaTime.Extensions { /// <summary> /// Extension method...
// Copyright 2014 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. #if !PCL using System.Diagnostics; using JetBrains.Annotations; using NodaTime.Utility; namespace NodaTime.Extensions { /// <summary> /// Extensi...
apache-2.0
C#
e466e3d15f8522d4db37575a6665d943d8c6e1e6
Add group by yellow cards count
mglodack/RedCard.API,mglodack/RedCard.API
src/RedCard.API/Controllers/StatsController.cs
src/RedCard.API/Controllers/StatsController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using RedCard.API.Contexts; using RedCard.API.Models; // For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 namespace RedCard.API....
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using RedCard.API.Contexts; // For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 namespace RedCard.API.Controllers { [Route("...
mit
C#
f0cf94f283aaca7981561800cc250eea11742d42
Allow coroutines of 0 sec delay
gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
Client/Utilities/CoroutineUtil.cs
Client/Utilities/CoroutineUtil.cs
using System; using System.Collections; using UnityEngine; namespace LunaClient.Utilities { public class CoroutineUtil { public static void StartDelayedRoutine(string routineName, Action action, float delayInSec) { Client.Singleton.StartCoroutine(DelaySeconds(routineName, action, d...
using System; using System.Collections; using UnityEngine; namespace LunaClient.Utilities { public class CoroutineUtil { public static void StartDelayedRoutine(string routineName, Action action, float delayInSec) { Client.Singleton.StartCoroutine(DelaySeconds(routineName, action, d...
mit
C#
a2e4d250d2c5127a8ae99a8dd99fbcb93844c309
Add perf tests
rmandvikar/csharp-extensions,rmandvikar/csharp-extensions
tests/rm.ExtensionsTest/Base64ExtensionTest.cs
tests/rm.ExtensionsTest/Base64ExtensionTest.cs
using System; using System.Diagnostics; using NUnit.Framework; using rm.Extensions; namespace rm.ExtensionsTest { [TestFixture] public class Base64ExtensionTest { private const int iterations = 1_000_000; [Test] [TestCase("Man", "TWFu")] [TestCase("Woman", "V29tYW4=")] [TestCase("light work.", "bGlnaHQg...
using NUnit.Framework; using rm.Extensions; namespace rm.ExtensionsTest { [TestFixture] public class Base64ExtensionTest { [Test] [TestCase("Man", "TWFu")] [TestCase("Woman", "V29tYW4=")] [TestCase("light work.", "bGlnaHQgd29yay4=")] [TestCase("light work", "bGlnaHQgd29yaw==")] public void Base64Encode...
mit
C#
2364b0539d6672482b90a5a005b690b86204e2b6
Fix README to reflect recent name changes
rlugojr/octokit.net,hahmed/octokit.net,Sarmad93/octokit.net,ChrisMissal/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,shiftkey-tester/octokit.net,mminns/octokit.net,Sarmad93/octokit.net,ivandrofly/octokit.net,hahmed/octokit.net,hitesh97/octokit.net,M-Zuber/octokit.net,dampir/octokit.net,kolbasov/octokit.net,dev...
Nocto.Tests.Integration/Readme.cs
Nocto.Tests.Integration/Readme.cs
using System.Threading.Tasks; namespace Nocto.Tests { public class Readme { public Readme() { // create an anonymous client var client = new GitHubClient(); // create a client with basic auth client = new GitHubClient { Login = "xapitestaccountx...
using System.Threading.Tasks; namespace Nocto.Tests { public class Readme { public Readme() { // create an anonymous client var client = new GitHubClient(); // create a client with basic auth client = new GitHubClient { Login = "xapitestaccountx...
mit
C#
6bcfe067e9399b01d576cd6c685e4427f02d6dec
Correct Exception Message
Luke-Wolf/krystal-voicecontrol
Krystal.Core/FileCommand.cs
Krystal.Core/FileCommand.cs
// // Copyright 2014 Luke // // 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...
// // Copyright 2014 Luke // // 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...
apache-2.0
C#
deb74f5c7ade2ff476ca13e88b659e51b27168fb
Update DataReader.cs
Fody/Obsolete
Obsolete.Fody/DataReader.cs
Obsolete.Fody/DataReader.cs
using Mono.Cecil; public static class DataReader { public static AttributeData ReadAttributeData(CustomAttribute attribute, bool throwsNotImplemented) { return new AttributeData { Message = attribute.GetValue("Message"), Replacement = attribute.GetValue("ReplacementTypeO...
using Mono.Cecil; public static class DataReader { public static AttributeData ReadAttributeData(CustomAttribute obsoleteExAttribute, bool throwsNotImplemented) { var treatAsErrorFromVersionString = obsoleteExAttribute.GetValue("TreatAsErrorFromVersion"); var removeInVersionString = obsoleteExA...
mit
C#
369064dfc8bb2c20e25ba9c5aeeae1b42088e78d
Refactor GetBgpMessage
mstrother/BmpListener
BMPClient/BGP/BgpMessage.cs
BMPClient/BGP/BgpMessage.cs
using System; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace BmpListener.Bgp { public abstract class BgpMessage { protected BgpMessage(BgpHeader bgpHeader) { Length = bgpHeader.Length; Type = bgpHeader.Type; } [JsonIgnore] p...
using System; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace BmpListener.Bgp { public abstract class BgpMessage { protected BgpMessage(BgpHeader bgpHeader) { Length = bgpHeader.Length; Type = bgpHeader.Type; } [JsonIgnore] p...
mit
C#
6b17d8bab2977129f97f3960307e2728d0ef74c4
Add blank package migration (to get into the list)
KevinJump/uSync,KevinJump/uSync,KevinJump/uSync
uSync/uSync.cs
uSync/uSync.cs
using System; using Umbraco.Cms.Core.IO; using Umbraco.Cms.Core.Packaging; using Umbraco.Cms.Core.PropertyEditors; using Umbraco.Cms.Core.Services; using Umbraco.Cms.Core.Strings; using Umbraco.Cms.Infrastructure.Migrations; using Umbraco.Cms.Infrastructure.Packaging; namespace uSync { /// <summary> /// we ...
namespace uSync { /// <summary> /// we only have this class, so there is a dll in the root /// uSync package. /// /// With a root dll, the package can be stopped from installing /// on .netframework sites. /// </summary> public static class uSync { // private static st...
mpl-2.0
C#
21cfb943bf38a1fcaaeea0227cabf8b151db5915
bump version
raml-org/raml-dotnet-parser-2,raml-org/raml-dotnet-parser-2
source/Raml.Parser/Properties/AssemblyInfo.cs
source/Raml.Parser/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("RAML.Parser")] [assembly: AssemblyDescri...
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("RAML.Parser")] [assembly: AssemblyDescri...
apache-2.0
C#
1ead34fde2360df97a290b062a24ca5b94b85797
bump version
raml-org/raml-dotnet-parser-2,raml-org/raml-dotnet-parser-2
source/Raml.Parser/Properties/AssemblyInfo.cs
source/Raml.Parser/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("RAML.Parser")] [assembly: AssemblyDescri...
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("RAML.Parser")] [assembly: AssemblyDescri...
apache-2.0
C#
263b2e6f8078a90113b1bd7da2bf5c8ade1d5199
Fix comment
CyrusNajmabadi/roslyn,brettfo/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,tannergooding/roslyn,mgoertz-msft/roslyn,stephentoub/roslyn,heejaechang/roslyn,jmarolf/roslyn,KirillOsenkov/roslyn,mavasani/roslyn,gafter/roslyn,AlekseyTs/roslyn,aelij/roslyn,stephentoub/roslyn,panopticoncentral/roslyn,weltkante/roslyn,wvdd007/r...
src/Compilers/Core/Portable/SourceGeneration/ISourceGenerator.cs
src/Compilers/Core/Portable/SourceGeneration/ISourceGenerator.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Immutable; using System.Threading; using Microsoft.CodeAnalysis.Diagnostics;...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Immutable; using System.Threading; using Microsoft.CodeAnalysis.Diagnostics;...
mit
C#
c638b00103c9c4852c667baa9f313ebe1ed0b3e6
Update ObsCollection.cs
ADAPT/ADAPT
source/ADAPT/Documents/ObsCollection.cs
source/ADAPT/Documents/ObsCollection.cs
/******************************************************************************* * Copyright (C) 2019 AgGateway; PAIL and ADAPT Contributors * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distrib...
/******************************************************************************* * Copyright (C) 2019 AgGateway; PAIL and ADAPT Contributors * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distrib...
epl-1.0
C#
96b0804f4e44b1d1d8d0c093df16c7eb2c5556c0
remove empty statement
Liwoj/Metrics.NET,Recognos/Metrics.NET,Liwoj/Metrics.NET,Recognos/Metrics.NET
Src/Metrics/Sampling/SlidingWindowReservoir.cs
Src/Metrics/Sampling/SlidingWindowReservoir.cs
using System; using System.Linq; using Metrics.ConcurrencyUtilities; namespace Metrics.Sampling { public sealed class SlidingWindowReservoir : Reservoir { private const int DefaultSize = 1028; private readonly UserValueWrapper[] values; private AtomicLong count = new AtomicLong(); ...
using System; using System.Linq; using Metrics.ConcurrencyUtilities; namespace Metrics.Sampling { public sealed class SlidingWindowReservoir : Reservoir { private const int DefaultSize = 1028; private readonly UserValueWrapper[] values; private AtomicLong count = new AtomicLong(); ...
apache-2.0
C#
d841fadc260ec4f87b2f424823ad24a68e2858cf
patch in updating
dev-zzo/Spritesse,dev-zzo/Spritesse
ThreeSheeps.Spritesse/Physics/PhysicalShape.cs
ThreeSheeps.Spritesse/Physics/PhysicalShape.cs
using System.Collections.Generic; using Microsoft.Xna.Framework; namespace ThreeSheeps.Spritesse.Physics { public abstract class PhysicalShape { public class CreationInfo { public bool SendCollisions; public bool ReceiveCollisions; public Vector2 Position; ...
using System.Collections.Generic; using Microsoft.Xna.Framework; namespace ThreeSheeps.Spritesse.Physics { public abstract class PhysicalShape { public class CreationInfo { public bool SendCollisions; public bool ReceiveCollisions; public Vector2 Position; ...
unlicense
C#
73a78470a14e55e8a476582c0f081b04d108f979
Remove console.log
octoblu/meshblu-connector-skype,octoblu/meshblu-connector-skype
src/csharp/stop-meetings.cs
src/csharp/stop-meetings.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Lync.Model; using Microsoft.Lync.Model.Conversation; using Microsoft.Lync.Model.Conversation.AudioVideo; using Microsoft.Lync.Model.Extensibility; public class Startup { private as...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Lync.Model; using Microsoft.Lync.Model.Conversation; using Microsoft.Lync.Model.Conversation.AudioVideo; using Microsoft.Lync.Model.Extensibility; public class Startup { private as...
mit
C#
a1cedd02c9ed37931a10f872e42be5bf4e7c4909
improve Paragraph test case names
icarus-consulting/Yaapii.Atoms
tests/Yaapii.Atoms.Tests/Text/ParagraphTest.cs
tests/Yaapii.Atoms.Tests/Text/ParagraphTest.cs
using System; using System.Collections.Generic; using System.Text; using Xunit; using Yaapii.Atoms.Enumerable; namespace Yaapii.Atoms.Texts.Tests { public sealed class ParagraphTest { [Fact] public void BuildsWithParamsString() { var p = new Paragraph("a", "b", "c"); ...
using System; using System.Collections.Generic; using System.Text; using Xunit; using Yaapii.Atoms.Enumerable; namespace Yaapii.Atoms.Texts.Tests { public sealed class ParagraphTest { [Fact] public void ParamsStringWorks() { var p = new Paragraph("a", "b", "c"); ...
mit
C#
4e84e5fd389c65e2e000aa4702bc8aff2f09a86a
Revert "test port changed"
Softlr/Selenium.WebDriver.Extensions,RaYell/selenium-webdriver-extensions,Softlr/selenium-webdriver-extensions,Softlr/selenium-webdriver-extensions
test/Selenium.WebDriver.Extensions.IntegrationTests/TestsBase.cs
test/Selenium.WebDriver.Extensions.IntegrationTests/TestsBase.cs
namespace Selenium.WebDriver.Extensions.IntegrationTests { using System; using System.Diagnostics.CodeAnalysis; using JetBrains.Annotations; using Nancy.Hosting.Self; using OpenQA.Selenium; using PostSharp.Patterns.Model; [Disposable] [PublicAPI] [ExcludeFromCodeCoverage] public...
namespace Selenium.WebDriver.Extensions.IntegrationTests { using System; using System.Diagnostics.CodeAnalysis; using JetBrains.Annotations; using Nancy.Hosting.Self; using OpenQA.Selenium; using PostSharp.Patterns.Model; [Disposable] [PublicAPI] [ExcludeFromCodeCoverage] public...
apache-2.0
C#
4acb077538a8769345de48615b930430e2a253d4
Resolve #170 - Fix query to get label detail
csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil
Agiil.Domain.Impl/Labels/ExistingLabelReader.cs
Agiil.Domain.Impl/Labels/ExistingLabelReader.cs
using System; using System.Linq; using CSF.Data.Entities; using CSF.Data.NHibernate; namespace Agiil.Domain.Labels { public class ExistingLabelReader : IGetsExistingLabel { readonly IEntityData data; public Label GetLabel(string name) { if(String.IsNullOrEmpty(name)) return null; return ...
using System; using System.Linq; using CSF.Data.Entities; using CSF.Data.NHibernate; namespace Agiil.Domain.Labels { public class ExistingLabelReader : IGetsExistingLabel { readonly IEntityData data; public Label GetLabel(string name) { if(String.IsNullOrEmpty(name)) return null; return ...
mit
C#
0ded40800b7f6395fb5a18278a58a379ececb763
Add check for content type when parsing in client. Fallback to Json if Protobuf is not available
Hypnobrew/StockMonitor
Web/Controllers/HomeController.cs
Web/Controllers/HomeController.cs
using System; using System.Net.Http.Headers; using System.Threading.Tasks; using Infrastructure.Model; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; namespace Web.Controllers { public class HomeController : Controller { [HttpGet] public async Task<string> Index() { ...
using System; using System.Net.Http.Headers; using System.Threading.Tasks; using Infrastructure.Model; using Microsoft.AspNetCore.Mvc; namespace Web.Controllers { public class HomeController : Controller { [HttpGet] public async Task<string> Index() { var client = new System...
mit
C#
d32cf85d64067ea24ddbfd5888927d215f3bf647
Update NavItemGroup.cs according to code guidelines
YOTOV-LIMITED/monotouch-samples,iFreedive/monotouch-samples,sakthivelnagarajan/monotouch-samples,kingyond/monotouch-samples,andypaul/monotouch-samples,a9upam/monotouch-samples,xamarin/monotouch-samples,robinlaide/monotouch-samples,nervevau2/monotouch-samples,W3SS/monotouch-samples,hongnguyenpro/monotouch-samples,davidr...
CoreAnimation/Code/NavigationTable/NavItemGroup.cs
CoreAnimation/Code/NavigationTable/NavItemGroup.cs
using System; using System.Collections.Generic; namespace Example_CoreAnimation.Code.NavigationTable { /// <summary> /// A group that contains table items /// </summary> public class NavItemGroup { public string Name { get; set; } public string Footer { get; set; } public List<NavItem> Items { get { re...
using System; using System.Collections.Generic; namespace Example_CoreAnimation.Code.NavigationTable { /// <summary> /// A group that contains table items /// </summary> public class NavItemGroup { public string Name { get; set; } public string Footer { get; set; } public List<NavItem> Items { get...
mit
C#
57d29fed40cf13c86806557838b57621c06a2bc7
add footer links
kreeben/resin,kreeben/resin
src/Sir.HttpServer/Views/_Layout.cshtml
src/Sir.HttpServer/Views/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> </head> <body> <style> a { text-decoration: none; color: orangered; } a.result-link { color: mediumblue; } a.result-l...
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> </head> <body> <style> a { text-decoration: none; color: orangered; } a.result-link { color: mediumblue; } a.result-l...
mit
C#
5c958ebeb8e847fd47a7fc383b82e42a4beea1a1
Disable warnings about obsoletion since the point is testing the obsolete stuff still works
EamonNerbonne/ExpressionToCode
ExpressionToCodeTest/ExceptionsSerialization.cs
ExpressionToCodeTest/ExceptionsSerialization.cs
using System; using System.IO; using System.Runtime.CompilerServices; using ExpressionToCodeLib; using Xunit; //requires binary serialization, which is omitted in older .net cores - but those are out of support: https://docs.microsoft.com/en-us/lifecycle/products/microsoft-net-and-net-core namespace ExpressionToCodeT...
using System; using System.IO; using System.Runtime.CompilerServices; using ExpressionToCodeLib; using Xunit; //requires binary serialization, which is omitted in older .net cores - but those are out of support: https://docs.microsoft.com/en-us/lifecycle/products/microsoft-net-and-net-core namespace ExpressionToCodeT...
apache-2.0
C#
9f734cca43ceb042e00f5c151e11f472e56b0b05
Fix a warning about m_log due to change in SimulationBase.
TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim
Aurora/Server/ServerBase.cs
Aurora/Server/ServerBase.cs
/* * Copyright (c) Contributors, http://aurora-sim.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code mus...
/* * Copyright (c) Contributors, http://aurora-sim.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code mus...
bsd-3-clause
C#
b3fb8ca44996f7f3e21005e1761f7257820612a6
fix warnings
stanac/LiteApi,stanac/LiteApi,stanac/LiteApi
LiteApi/LiteApi.Tests/Fakes/FakeHttpResponse.cs
LiteApi/LiteApi.Tests/Fakes/FakeHttpResponse.cs
using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.IO; namespace LiteApi.Tests.Fakes { public class FakeHttpResponse : HttpResponse, IDisposable { internal IResponseCookies cookies = null; internal IHea...
using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.IO; namespace LiteApi.Tests.Fakes { public class FakeHttpResponse : HttpResponse, IDisposable { internal IResponseCookies cookies; internal IHeaderDict...
mit
C#
27b3f23ff3c7b040885784b46a90e9523e633e93
Remove some usings that stopped compilation
RavenB/opensim,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,RavenB/opensim,TomDataworks/opensim,TomDataworks/opensim,RavenB/opensim,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,RavenB/opensim,TomD...
OpenSim/Services/Interfaces/IAttachmentsService.cs
OpenSim/Services/Interfaces/IAttachmentsService.cs
//////////////////////////////////////////////////////////////// // // (c) 2009, 2010 Careminster Limited and Melanie Thielker // // All rights reserved // using System; using Nini.Config; namespace OpenSim.Services.Interfaces { public interface IAttachmentsService { string Get(string id); void...
//////////////////////////////////////////////////////////////// // // (c) 2009, 2010 Careminster Limited and Melanie Thielker // // All rights reserved // using System; using System.Diagnostics; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading; using System.Reflection; using...
bsd-3-clause
C#
28bd86e720ffdb3dbb2440484fd5b0bdf92a6f3a
Add intermediate comments to help explain what to do
tompaana/intermediator-bot-sample,tompaana/intermediator-bot-sample
IntermediatorBotSample/Controllers/Api/ConversationsController.cs
IntermediatorBotSample/Controllers/Api/ConversationsController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FizzWare.NBuilder; using IntermediatorBotSample.Models; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Bot.Schema; using Newtonsoft.Json; namespace IntermediatorBotSample.Controller...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FizzWare.NBuilder; using IntermediatorBotSample.Models; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Bot.Schema; using Newtonsoft.Json; namespace IntermediatorBotSample.Controller...
mit
C#
48cd23cfc0c415e8950f08624209cd6c71815cbe
Add GetChebyshevDistance method
rvhuang/heuristic-suite
AlgorithmForce.HeuristicSuite/DistanceHelper.cs
AlgorithmForce.HeuristicSuite/DistanceHelper.cs
using System; namespace AlgorithmForce.HeuristicSuite { public static class DistanceHelper { public static long GetManhattanDistance(long x1, long y1, long x2, long y2) { return Math.Abs(x1 - x2) + Math.Abs(y1 - y2); } public static long GetChebyshevDistance(long x...
using System; namespace AlgorithmForce.HeuristicSuite { public static class DistanceHelper { public static long GetManhattanDistance(long x1, long y1, long x2, long y2) { return Math.Abs(x1 - x2) + Math.Abs(y1 - y2); } } }
mit
C#
a5cfc060d903486786102726db324ae8b9b2d82e
Use different sounds for minigun's missed enemy effect.
fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game
game/server/weapons/minigun.projectile.sfx.cs
game/server/weapons/minigun.projectile.sfx.cs
//------------------------------------------------------------------------------ // Revenge Of The Cats: Ethernet // Copyright (C) 2008, mEthLab Interactive //------------------------------------------------------------------------------ datablock AudioProfile(MinigunProjectileImpactSound) { filename = "share/sounds/...
//------------------------------------------------------------------------------ // Revenge Of The Cats: Ethernet // Copyright (C) 2008, mEthLab Interactive //------------------------------------------------------------------------------ datablock AudioProfile(MinigunProjectileImpactSound) { filename = "share/sounds/...
lgpl-2.1
C#
59b37bc3455616cf02d1886d1d904737b670e54c
add indexer support
jjnguy/LRU.Net
LRU.Net/LRU.Net/LruCache.cs
LRU.Net/LRU.Net/LruCache.cs
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LRU.Net { public class LruCache<TKey, TValue> { private readonly int _maxObjects; private OrderedDictionary _data; public...
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LRU.Net { public class LruCache<TKey, TValue> { private readonly int _maxObjects; private OrderedDictionary _data; public...
mit
C#
dded58fed8f177d82807dc7738dc08cce5ba16cf
implement TableRowWrapper with IamVisualElement
mvbalaw/FluentBrowserAutomation
src/FluentBrowserAutomation/Controls/TableRowWrapper.cs
src/FluentBrowserAutomation/Controls/TableRowWrapper.cs
using System; using System.Linq; using OpenQA.Selenium; namespace FluentBrowserAutomation.Controls { public class TableRowWrapper : BasicInfoWrapper, IAmVisualElement { public TableRowWrapper(IWebElement tableRow, string howFound, IBrowserContext browserContext) : base(tableRow, howFound, browserContext) { ...
using System; using System.Linq; using OpenQA.Selenium; namespace FluentBrowserAutomation.Controls { public class TableRowWrapper : BasicInfoWrapper { public TableRowWrapper(IWebElement tableRow, string howFound, IBrowserContext browserContext) : base(tableRow, howFound, browserContext) { } public strin...
mit
C#
326c3520b04da7633df76cc7911f3c95e38f6d83
Add a comment in MathUtil.Wrap tests for floats to point out that precision cannot be guaranteed and safely tested
RobyDX/SharpDX,wyrover/SharpDX,jwollen/SharpDX,dazerdude/SharpDX,RobyDX/SharpDX,weltkante/SharpDX,sharpdx/SharpDX,TechPriest/SharpDX,manu-silicon/SharpDX,wyrover/SharpDX,jwollen/SharpDX,dazerdude/SharpDX,fmarrabal/SharpDX,TigerKO/SharpDX,Ixonos-USA/SharpDX,waltdestler/SharpDX,wyrover/SharpDX,RobyDX/SharpDX,TechPriest/S...
Source/Tests/SharpDX.Tests/MathUtilWrapTests.cs
Source/Tests/SharpDX.Tests/MathUtilWrapTests.cs
using System; namespace SharpDX.Tests { using NUnit.Framework; [TestFixture] public class MathUtilWrapTests { [TestCase(0, 10, 2, 2)] [TestCase(0, 10, 15, 4)] [TestCase(0, 10, -15, 7)] [TestCase(0, 10, 0, 0)] [TestCase(0, 10, 10, 10)] [TestCase(0, 0, 10...
using System; namespace SharpDX.Tests { using NUnit.Framework; [TestFixture] public class MathUtilWrapTests { [TestCase(0, 10, 2, 2)] [TestCase(0, 10, 15, 4)] [TestCase(0, 10, -15, 7)] [TestCase(0, 10, 0, 0)] [TestCase(0, 10, 10, 10)] [TestCase(0, 0, 10...
mit
C#
2aa441c70d61afaa06711293b412f3412e15cafa
Use assembly version for file version
danielchalmers/SteamAccountSwitcher
SteamAccountSwitcher/Properties/AssemblyInfo.cs
SteamAccountSwitcher/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Steam Account Switc...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Steam Account Switc...
mit
C#
52e613967747fa061cea87226d0771fdf97d69ee
Update AssemblyInfo.cs
tiksn/TIKSN-Framework
TIKSN.Framework.Core/Properties/AssemblyInfo.cs
TIKSN.Framework.Core/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("TIKSN.Framework.Core")] [assembly: AssemblyTr...
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("TIKSN.Framework.Core")] [assembly: AssemblyTr...
mit
C#
5ac41384f2a70b11844e493b622317050ce00641
bump version
raml-org/raml-dotnet-parser-2,raml-org/raml-dotnet-parser-2
source/Raml.Parser/Properties/AssemblyInfo.cs
source/Raml.Parser/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("RAML.Parser")] [assembly: AssemblyDescri...
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("RAML.Parser")] [assembly: AssemblyDescri...
apache-2.0
C#
b7f425adacb65a037c2969e5622308785260a856
add FossilDeltaTest
gamestdio/colyseus-unity3d,gamestdio/colyseus-unity3d
Assets/Editor/ColyseusTests/FossilDeltaTest.cs
Assets/Editor/ColyseusTests/FossilDeltaTest.cs
using NUnit.Framework; using UnityEngine; using Colyseus; public class FossilDeltaTest { FossilDeltaSerializer serializer = new FossilDeltaSerializer(); [SetUp] public void Init() { } [TearDown] public void Dispose() { } [Test] public void ApplyPatchTest() { Assert.DoesNotThrow(() => { byte[] i...
using System; namespace Application { public class NewClass { public NewClass() { } } }
mit
C#
2f978a9e54b33753d672a869e7a934302d811e91
Revert "Adding Request-Id to ShopifyException message. When exception are logged, it is very useful to be able to see the Request-Id for Shopify support to investigate."
nozzlegear/ShopifySharp,clement911/ShopifySharp
ShopifySharp/Infrastructure/ShopifyException.cs
ShopifySharp/Infrastructure/ShopifyException.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; namespace ShopifySharp { public class ShopifyException : Exception { public HttpResponseMessage HttpResponse { get; } public HttpStatusCode HttpStatusCode { get; } /// <summary...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; namespace ShopifySharp { public class ShopifyException : Exception { public HttpResponseMessage HttpResponse { get; } public HttpStatusCode HttpStatusCode { get; } /// <summary...
mit
C#
6f97aeab90939df17c5befa8c18507ca3d16a4c6
update test date time string
yasokada/unity-150908-udpTimeGraph
Assets/Test_weekly.cs
Assets/Test_weekly.cs
using UnityEngine; using System.Collections; public class Test_weekly : MonoBehaviour { void Test_addWeeklyData() { string [] dts = new string[]{ "2015/09/07 12:30", "2015/09/08 09:30", "2015/09/10 11:30", "2015/09/11 13:30", "2015/09/12 13:30", }; System.DateTime curDt; float yval; in...
using UnityEngine; using System.Collections; public class Test_weekly : MonoBehaviour { void Test_addWeeklyData() { string [] dts = new string[]{ "2015/09/07 12:30", "2015/09/08 09:30", "2015/09/10 11:30", "2015/09/11 13:30" }; System.DateTime curDt; float yval; int idx = 0; timeGraph...
mit
C#
37324c63719a3816fece44625e2d4e2e3ba83957
Update TurkeyProvider.cs
tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date
Src/Nager.Date/PublicHolidays/TurkeyProvider.cs
Src/Nager.Date/PublicHolidays/TurkeyProvider.cs
using Nager.Date.Contract; using Nager.Date.Model; using System.Collections.Generic; using System.Linq; namespace Nager.Date.PublicHolidays { public class TurkeyProvider : IPublicHolidayProvider { public IEnumerable<PublicHoliday> Get(int year) { //Turkey //https://en.w...
using Nager.Date.Contract; using Nager.Date.Model; using System.Collections.Generic; using System.Linq; namespace Nager.Date.PublicHolidays { public class TurkeyProvider : IPublicHolidayProvider { public IEnumerable<PublicHoliday> Get(int year) { //Turkey //https://en.w...
mit
C#
ebb2290abf8ec652db505451292c93bdd275b52b
Implement IList.IsFixedSize
jbevain/cecil,cgourlay/cecil,xen2/cecil,kzu/cecil,ttRevan/cecil,mono/cecil,sailro/cecil,saynomoo/cecil,SiliconStudio/Mono.Cecil,gluck/cecil,furesoft/cecil,fnajera-rac-de/cecil,joj/cecil
Mono.Collections.Generic/ReadOnlyCollection.cs
Mono.Collections.Generic/ReadOnlyCollection.cs
// // ReadOnlyCollection.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2010 Jb Evain // // 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,...
// // ReadOnlyCollection.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2010 Jb Evain // // 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,...
mit
C#
87d653aa42b0309980b79654b8ef744c8350ee07
Update addin description
mhutch/MonoDevelop.AddinMaker,mhutch/MonoDevelop.AddinMaker
MonoDevelop.AddinMaker/Properties/AddinInfo.cs
MonoDevelop.AddinMaker/Properties/AddinInfo.cs
using System; using Mono.Addins; using Mono.Addins.Description; [assembly:Addin ( "AddinMaker", Namespace = "MonoDevelop", Version = "1.3.6", Url = "http://github.com/mhutch/MonoDevelop.AddinMaker" )] [assembly:AddinName ("Addin Maker")] [assembly:AddinCategory ("Extension Development")] [assembly:AddinDescripti...
using System; using Mono.Addins; using Mono.Addins.Description; [assembly:Addin ( "AddinMaker", Namespace = "MonoDevelop", Version = "1.3.6", Url = "http://github.com/mhutch/MonoDevelop.AddinMaker" )] [assembly:AddinName ("Addin Maker")] [assembly:AddinCategory ("Addin Development")] [assembly:AddinDescription (...
mit
C#
2fa82c82dcaf200e418255431a615c07e7a13afd
bump version
Fody/PropertyChanged,0x53A/PropertyChanged,user1568891/PropertyChanged
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("PropertyChanged")] [assembly: AssemblyProduct("PropertyChanged")] [assembly: AssemblyVersion("1.32.2.0")] [assembly: AssemblyFileVersion("1.32.2.0")]
using System.Reflection; [assembly: AssemblyTitle("PropertyChanged")] [assembly: AssemblyProduct("PropertyChanged")] [assembly: AssemblyVersion("1.32.1.0")] [assembly: AssemblyFileVersion("1.32.1.0")]
mit
C#
ce07a82040d6d06e1a6fea4ea19225433542e49a
fix name and version
GeertvanHorrik/MethodTimer,Fody/MethodTimer
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("MethodTimer")] [assembly: AssemblyProduct("MethodTimer")] [assembly: AssemblyVersion("0.1.0.0")] [assembly: AssemblyFileVersion("0.1.0.0")]
using System.Reflection; [assembly: AssemblyTitle("Obsolete")] [assembly: AssemblyProduct("Obsolete")] [assembly: AssemblyVersion("0.9.0.0")] [assembly: AssemblyFileVersion("0.9.0.0")]
mit
C#
8f9964230a1f8355979f3c4303c79ee2b6ddf033
Change data in script
conekta/conekta-xamarin
ConektaSDK/Conekta.cs
ConektaSDK/Conekta.cs
using System; using System.Drawing; using System.Diagnostics; #if __IOS__ using Foundation; using ObjectiveC; using ObjCRuntime; using UIKit; #endif #if __ANDROID__ using Android; #endif namespace ConektaSDK { public abstract class Conekta { public static string ApiVersion { get; set; } public const string B...
using System; using System.Drawing; using System.Diagnostics; #if __IOS__ using Foundation; using ObjectiveC; using ObjCRuntime; using UIKit; #endif #if __ANDROID__ using Android; #endif namespace ConektaSDK { public abstract class Conekta { public static string ApiVersion { get; set; } public const string B...
mit
C#
a8537d3b6ba4675a1bae21c91d45b72c233c86dc
create commands each time
jbtule/keyczar-dotnet
Keyczar/KeyczarTool/Program.cs
Keyczar/KeyczarTool/Program.cs
// Copyright 2012 James Tuley (jay+code@tuley.name) // // 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 applicab...
// Copyright 2012 James Tuley (jay+code@tuley.name) // // 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 applicab...
apache-2.0
C#
c8655ae990a4988342814f94add9b2edf8141a1d
Fix height limit.
PlanetLotus/TetrisClone2D
Assets/GridManager.cs
Assets/GridManager.cs
using UnityEngine; public class GridManager : MonoBehaviour { public const int MinX = 0; public const int MaxX = 9; public const int MinY = 0; public bool IsValidPosition(Transform transform) { // Check out of bounds if (transform.position.x > MaxX || transform.position.x < MinX |...
using UnityEngine; public class GridManager : MonoBehaviour { public const int MinX = 0; public const int MaxX = 9; public const int MinY = 0; public bool IsValidPosition(Transform transform) { // Check out of bounds if (transform.position.x > MaxX || transform.position.x < MinX |...
mit
C#
f607a04b74d525bb10ec75f98813a4f2d46420ca
Move template paths into static array.
github/VisualStudio,github/VisualStudio,github/VisualStudio
src/GitHub.App/Services/PullRequestService.cs
src/GitHub.App/Services/PullRequestService.cs
using System; using System.ComponentModel.Composition; using System.IO; using System.Linq; using GitHub.Models; namespace GitHub.Services { [NullGuard.NullGuard(NullGuard.ValidationFlags.None)] [Export(typeof(IPullRequestService))] [PartCreationPolicy(CreationPolicy.Shared)] public class PullRequestSer...
using System; using System.ComponentModel.Composition; using System.IO; using GitHub.Models; namespace GitHub.Services { [NullGuard.NullGuard(NullGuard.ValidationFlags.None)] [Export(typeof(IPullRequestService))] [PartCreationPolicy(CreationPolicy.Shared)] public class PullRequestService : IPullRequest...
mit
C#
e87452fc6af58701db40b4dbf0efc2b82ce63f81
Add composition overloads
StanJav/language-ext,louthy/language-ext,StefanBertels/language-ext
LanguageExt.Core/Compose.cs
LanguageExt.Core/Compose.cs
using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LanguageExt { public static class __ComposeExt { /// <summary> /// Function composition /// </summary> /// <returns>...
using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LanguageExt { public static class __ComposeExt { /// <summary> /// Function composition /// </summary> /// <returns>...
mit
C#
9773beed0dcb14b94a819ad060a49ca492f4e753
Handle empty aggregate fact source. #146
NRules/NRules
src/NRules/NRules/Rete/AggregateFactSource.cs
src/NRules/NRules/Rete/AggregateFactSource.cs
using System.Collections.Generic; using NRules.RuleModel; namespace NRules.Rete { internal class AggregateFactSource : IFactSource { private static readonly IEnumerable<IFact> Empty = new IFact[0]; public AggregateFactSource(IEnumerable<IFact> facts) { Facts = facts ?? Emp...
using System.Collections.Generic; using NRules.RuleModel; namespace NRules.Rete { internal class AggregateFactSource : IFactSource { public AggregateFactSource(IEnumerable<IFact> facts) { Facts = facts; } public FactSourceType SourceType => FactSourceType.Aggregate...
mit
C#
816241e1a9d75510e9bfd5c2d2a96eefde7ec8fe
fix coreclr build
UdiBen/elasticsearch-net,azubanov/elasticsearch-net,TheFireCookie/elasticsearch-net,CSGOpenSource/elasticsearch-net,RossLieberman/NEST,UdiBen/elasticsearch-net,TheFireCookie/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net,UdiBen/elasticsearch-net,azubanov/elas...
src/Nest/Cat/CatHelp/ElasticClient-CatHelp.cs
src/Nest/Cat/CatHelp/ElasticClient-CatHelp.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Elasticsearch.Net; namespace Nest { public partial interface IElasticClient { /// <inheritdoc/> ICatResponse<CatHelpRecord> CatHelp(Func<CatHelpDescriptor, ICatHelpRequest> ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Elasticsearch.Net; namespace Nest { public partial interface IElasticClient { /// <inheritdoc/> ICatResponse<CatHelpRecord> CatHelp(Func<CatHelpDescriptor, ICatHelpRequest> ...
apache-2.0
C#
8072cf75408b76aa55d6dc85f3a901034d69b207
Remove lag
CSharpForLife/PoE-TradeUI
PoE-TradeUI/MainWindow.xaml.cs
PoE-TradeUI/MainWindow.xaml.cs
using System; using System.Windows; using System.Windows.Threading; using PoE_TradeUI.poe; namespace PoE_TradeUI { public partial class MainWindow { public MainWindow() { InitializeComponent(); var game = new Game(); game.WindowStateChanged += GameOnWindowStateChanged...
using System; using System.Windows; using System.Windows.Threading; using PoE_TradeUI.poe; namespace PoE_TradeUI { public partial class MainWindow { public MainWindow() { InitializeComponent(); var game = new Game(); game.WindowStateChanged += GameOnWindowStateChanged...
mit
C#
d0bfd06c5f3995df6c38a4f08c218eebb247b4a9
remove Dispose() from test
MiniProfiler/dotnet,MiniProfiler/dotnet
tests/MiniProfiler.Tests/Storage/MongoDbStorageTests.cs
tests/MiniProfiler.Tests/Storage/MongoDbStorageTests.cs
using System; using Xunit; using Xunit.Abstractions; namespace StackExchange.Profiling.Tests.Storage { public class MongoDbStorageTests : StorageBaseTest, IClassFixture<MongoDbStorageFixture> { public MongoDbStorageTests(MongoDbStorageFixture fixture, ITestOutputHelper output) : base(fixture, output) ...
using System; using Xunit; using Xunit.Abstractions; namespace StackExchange.Profiling.Tests.Storage { public class MongoDbStorageTests : StorageBaseTest, IClassFixture<MongoDbStorageFixture> { public MongoDbStorageTests(MongoDbStorageFixture fixture, ITestOutputHelper output) : base(fixture, output) ...
mit
C#
cd56b49e34486d1733a97a5c6dd593abacee9993
Move client handling into a separate method.
darkriszty/NetworkCardsGame
EchoServer/Program.cs
EchoServer/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace EchoServer { class Program { static void Main(string[] args) { Task main = MainAsync(args); mai...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace EchoServer { class Program { static void Main(string[] args) { Task main = MainAsync(args); mai...
mit
C#
66a2a54aebcc6197c1bacf84b0aa5105b86e3f27
Clean up the diagnostic in FieldToProperty pass.
mono/CppSharp,inordertotest/CppSharp,mohtamohit/CppSharp,zillemarco/CppSharp,u255436/CppSharp,mono/CppSharp,mono/CppSharp,inordertotest/CppSharp,ddobrev/CppSharp,inordertotest/CppSharp,mono/CppSharp,ktopouzi/CppSharp,zillemarco/CppSharp,ddobrev/CppSharp,mohtamohit/CppSharp,genuinelucifer/CppSharp,inordertotest/CppSharp...
src/Generator/Passes/FieldToPropertyPass.cs
src/Generator/Passes/FieldToPropertyPass.cs
using System.Linq; using CppSharp.AST; using CppSharp.Generators; namespace CppSharp.Passes { public class FieldToPropertyPass : TranslationUnitPass { public override bool VisitClassDecl(Class @class) { if (@class.CompleteDeclaration != null) return VisitClassDecl(@...
using System.Linq; using CppSharp.AST; using CppSharp.Generators; namespace CppSharp.Passes { public class FieldToPropertyPass : TranslationUnitPass { public override bool VisitClassDecl(Class @class) { if (@class.CompleteDeclaration != null) return VisitClassDecl(@...
mit
C#
f761049c342a401950ea20d305737294bfbfff96
Remove extra space
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/EmployerCommitments/Acknowledgement.cshtml
src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/EmployerCommitments/Acknowledgement.cshtml
<div class="grid-row"> <div class="column-two-thirds"> <div class="govuk-box-highlight"> <h1 class="heading-xlarge" id="changeHeadline"> Sent to provider </h1> <p id="changeRefNumber"> Your reference number is <br> <stron...
<div class="grid-row"> <div class="column-two-thirds"> <div class="govuk-box-highlight"> <h1 class="heading-xlarge" id="changeHeadline"> Sent to provider </h1> <p id="changeRefNumber"> Your reference number is <br> <stron...
mit
C#
23e4e8afd376ede7e3b0aa97099443305f557ceb
Add additional languages
f0xy/forecast.io-csharp
forecast.io/Entities/Constants.cs
forecast.io/Entities/Constants.cs
using System.ComponentModel; namespace ForecastIO { public enum Unit { us, si, ca, uk, auto } public enum Exclude { currently, minutely, hourly, daily, alerts, flags } // Keeping this an enum for now t...
using System.ComponentModel; namespace ForecastIO { public enum Unit { us, si, ca, uk, auto } public enum Exclude { currently, minutely, hourly, daily, alerts, flags } // Keeping this an enum for now t...
mit
C#
9a89c1721f0767da2ee7fc8863e02ce3b80c27bc
Mark evil test as ignore, again
mattolenik/HttpMock,hibri/HttpMock,oschwald/HttpMock,zhdusurfin/HttpMock
src/HttpMock.Unit.Tests/HttpFactoryTests.cs
src/HttpMock.Unit.Tests/HttpFactoryTests.cs
 using System; using NUnit.Framework; namespace HttpMock.Unit.Tests { [TestFixture] public class HttpFactoryTests { [Test] [Ignore ("Makes the test suite flaky (???)")] public void ShouldBeAbleToHostAtSameAddressIfPreviousWasDisposed() { var serverFactory = new HttpServerFactory(); va...
 using System; using NUnit.Framework; namespace HttpMock.Unit.Tests { [TestFixture] public class HttpFactoryTests { [Test] public void ShouldBeAbleToHostAtSameAddressIfPreviousWasDisposed() { var serverFactory = new HttpServerFactory(); var uri = new Uri(String.Format("http://localhost:{...
mit
C#
2544c314b8c124d5184188e4785ff850cad092c4
Update AssemblyInfo.cs
Brillio/appium-dotnet-driver,rajfidel/appium-dotnet-driver,suryarend/appium-dotnet-driver,rajfidel/appium-dotnet-driver,Astro03/appium-dotnet-driver,appium/appium-dotnet-driver
appium-dotnet-driver/Properties/AssemblyInfo.cs
appium-dotnet-driver/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 ("appium-dotnet-driver")] [assembly: AssemblyDescription ("Appium Dotnet Driver")] [assembly: Asse...
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 ("appium-dotnet-driver")] [assembly: AssemblyDescription ("Appium Dotnet Driver")] [assembly: Asse...
apache-2.0
C#
95acc457aad5f08df2b7a7a4bc37af4a241ffc2d
Fix stupid mistake
peppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,smoogipooo/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu
osu.Game/Online/Rooms/BeatmapAvailability.cs
osu.Game/Online/Rooms/BeatmapAvailability.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 Newtonsoft.Json; namespace osu.Game.Online.Rooms { /// <summary> /// The local availability information about a certain beatmap for the clien...
// 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 Newtonsoft.Json; namespace osu.Game.Online.Rooms { /// <summary> /// The local availability information about a certain beatmap for the clien...
mit
C#
368bd5021918e524fd64475aba6c214e27717300
Update assembly version
DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; using System.Resources; // WARNING this file is shared accross multiple projects [assembly: AssemblyProduct("ASP.NET AJAX Control Toolkit")] [assembly: AssemblyCopyright("Copyright © CodePlex Foundation 2012-2016")] [assembly: AssemblyCompany("CodePlex Foundation")] [assembly: AssemblyVersi...
using System.Reflection; using System.Resources; // WARNING this file is shared accross multiple projects [assembly: AssemblyProduct("ASP.NET AJAX Control Toolkit")] [assembly: AssemblyCopyright("Copyright © CodePlex Foundation 2012-2016")] [assembly: AssemblyCompany("CodePlex Foundation")] [assembly: AssemblyVersi...
bsd-3-clause
C#
a95bdcf8ab928c29c9ac93be8c5f6fe3dccc84c5
Fix assembly product name
xt0rted/Nancy.Validation.DataAnnotations.Extensions
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyCompany("Brian Surowiec")] [assembly: AssemblyProduct("Nancy.Validation.DataAnnotations.Extensions")] [assembly: AssemblyCopyright("Copyright © 2015")] [assembly: AssemblyInformationalVersion("0.4.0")] [assembly: AssemblyVersion("0.4.0")] [assembly: AssemblyFileVersion("0...
using System.Reflection; [assembly: AssemblyCompany("Brian Surowiec")] [assembly: AssemblyProduct("Nancy.Validation.DataAnnotations.Extensions.Tests")] [assembly: AssemblyCopyright("Copyright © 2015")] [assembly: AssemblyInformationalVersion("0.4.0")] [assembly: AssemblyVersion("0.4.0")] [assembly: AssemblyFileVers...
mit
C#
04b587c61475b5ab383c27b426bf4c522185df83
Bump to version 0.1.1
Kryptos-FR/markdig-wpf,Kryptos-FR/markdig.wpf
src/Markdig.Xaml/Properties/AssemblyInfo.cs
src/Markdig.Xaml/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; // 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("Markdig.Xaml")] [assembly: AssemblyDescription("a XAML ...
using System.Reflection; using System.Resources; // 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("Markdig.Xaml")] [assembly: AssemblyDescription("a XAML ...
mit
C#
f62f20e1b9d723cdec45edf52482f03a6f89fb9c
Update ReferenceCacheManager.cs
PowerMogli/Rabbit.Db
src/Micro+/Caching/ReferenceCacheManager.cs
src/Micro+/Caching/ReferenceCacheManager.cs
using MicroORM.Entity; namespace MicroORM.Caching { internal static class ReferenceCacheManager { private static readonly object _lock = new object(); private static EntityInfoReferenceCache<object> _referenceCache = new EntityInfoReferenceCache<object>(); internal static EntityInfo G...
using MicroORM.Entity; namespace MicroORM.Caching { internal static class ReferenceCacheManager { private static readonly object _lock = new object(); private static EntityInfoReferenceCache<object> _referenceCache = new EntityInfoReferenceCache<object>(); internal static EntityInfo G...
apache-2.0
C#
b6953e379573db2a6c71a35ec69b6b45826d6d58
Use CreateDelegate for method without parameter and return value
KodamaSakuno/Sakuno.Base
src/Sakuno.Base/Reflection/MethodInvoker.cs
src/Sakuno.Base/Reflection/MethodInvoker.cs
using System; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace Sakuno.Reflection { public class MethodInvoker { public MethodInfo Method { get; } Func<object, object[], object> _invoker; public MethodInvoker(MethodInfo method) { ...
using System; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace Sakuno.Reflection { public class MethodInvoker { public MethodInfo Method { get; } Func<object, object[], object> _invoker; public MethodInvoker(MethodInfo method) { ...
mit
C#
aabe4a7ede2134f5bdca8637a5285efa7bf31c75
Remove unused variable
another-guy/CSharpToTypeScript,another-guy/CSharpToTypeScript
TsModelGen/Program.cs
TsModelGen/Program.cs
using System; using System.Collections.Generic; using System.Linq; using TsModelGen.Core; using TsModelGen.Core.TypeTranslationContext; namespace TsModelGen { public class Program { public static void Main(string[] args) { // TODO Move this to input parameters // TODO ...
using System; using System.Collections.Generic; using System.Linq; using TsModelGen.Core; using TsModelGen.Core.TypeTranslationContext; namespace TsModelGen { public class Program { public static void Main(string[] args) { // TODO Move this to input parameters // TODO ...
mit
C#
747cd0f76321c26285b4492f0afa49c934963290
Update Item.cs
mihov/J.D.Salinger
Waits/TheGame/Item.cs
Waits/TheGame/Item.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Waits { public abstract class Item { private int price; public Item(int price) { this.Price = price; } public int Price { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Waits { abstract class Item { private int price; public Item(int price) { this.Price = price; } public int Price { ...
unlicense
C#
2d6a960b281ae4a900e8b3801dc06a0438edfe42
Clean up Startup.cs
Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training
src/AtomicChessPuzzles/Startup.cs
src/AtomicChessPuzzles/Startup.cs
using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.Extensions.DependencyInjection; namespace AtomicChessPuzzles { public class Startup { public void ConfigureServices(IServiceCollection services) { services.AddMvc(); } public void Confi...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.AspNet.Http; using Microsoft.Extensions.DependencyInjection; namespace AtomicChessPuzzles { public class Startup { // This me...
agpl-3.0
C#
e907394d50a53c6ac5287113b7b1da9ec22c4768
Add missing variable field to support Update Variable
opinum/opisense-sample-dotnet-console
opisense-sample-dotnet-console/Model/Variable.cs
opisense-sample-dotnet-console/Model/Variable.cs
namespace opisense_sample_dotnet_console.Model { public class Variable { public int Id { get; set; } public string Name { get; set; } public int SourceId { get; set; } public int VariableTypeId { get; set; } public int UnitId { get; set; } public double Granularit...
namespace opisense_sample_dotnet_console.Model { public class Variable { public int Id { get; set; } public string Name { get; set; } public int SourceId { get; set; } public int VariableTypeId { get; set; } public int UnitId { get; set; } public double Granularit...
mit
C#
b2ae012598085ed86961105e461cac59f19d53a8
Add GitHubAccessToken support to the tests
tgstation/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server
tests/Tgstation.Server.Tests/TestingServer.cs
tests/Tgstation.Server.Tests/TestingServer.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Host; namespace Tgstation.Server.Tests { sealed class TestingServer : IServer { public Uri U...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Globalization; using System.IO; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Host; namespace Tgstation.Server.Tests { sealed class TestingServer : IServer { public Uri Url { get; } public string Direc...
agpl-3.0
C#
3acab01ae313553f85beaddcdfe9aa8922aa1acf
Align output and remove needless padding format spec
smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework
osu.Framework/Logging/LoadingComponentsLogger.cs
osu.Framework/Logging/LoadingComponentsLogger.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.Linq; using osu.Framework.Development; using osu.Framework.Extensions.TypeExtensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using osu.Framework.Development; using osu.Framework.Extensions.TypeExtensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; ...
mit
C#
00a4d60e8910869457d3e70ec04b6727b705d15f
Make sure distance is clamped to sane values
johnneijzen/osu,EVAST9919/osu,2yangk23/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,smoogipoo/osu,naoey/osu,ZLima12/osu,DrabWeb/osu,DrabWeb/osu,peppy/osu,UselessToucan/osu,ppy/osu,2yangk23/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,NeoAdonis/osu,naoey/osu,naoey/osu,ZLima1...
osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs
osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.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 System; using osu.Game.Rulesets.Osu.Difficulty.Preprocessing; namespace osu.Game.Rulesets.Osu.Difficulty.Skills { /// <summary> /// Represents the skill ...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using osu.Game.Rulesets.Osu.Difficulty.Preprocessing; namespace osu.Game.Rulesets.Osu.Difficulty.Skills { /// <summary> /// Represents the skill ...
mit
C#
b5834044e0d405ec4acbfa9629271d4dc77fa729
Update `GetScoreRequest` to support requests with interface types
peppy/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu
osu.Game/Online/API/Requests/GetScoresRequest.cs
osu.Game/Online/API/Requests/GetScoresRequest.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 osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Screens.Select.Leaderboards; using osu.Game.Online.API.Requests.Responses; using osu.Game....
// 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 osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Screens.Select.Leaderboards; using osu.Game.Online.API.Requests.Responses; using osu.Game....
mit
C#
3377a8dd4a9cd0c4134773fbca310dac9cfc5f99
document igraph
DasAllFolks/SharpGraphs
Graph/IGraph.cs
Graph/IGraph.cs
using System; namespace Graph { /// <summary> /// Represents a graph. /// </summary> /// <typeparam name="V">The vertex type.</typeparam> /// <typeparam name="E">The edge type.</typeparam> public interface IGraph<V, E> : IEquatable<IGraph<V, E>> where E: IEdge<V> { } }
using System; namespace Graph { public interface IGraph<E, V> : IEquatable<IGraph<E, V>> where E: IEdge<V> { } }
apache-2.0
C#
2af42bc3e658b76591999ab7daa540f6e9e2181c
Add comments to IIntervalSet
marsop/ephemeral
IIntervalSet.cs
IIntervalSet.cs
using System; using System.Collections.Generic; namespace seasonal { /// <summary> /// Collection of IIntervals /// </summary> public interface IIntervalSet : IList<IInterval> { bool HasOverlap { get; } /// <summary> /// Sum of durations of the enclosed intervals ...
using System; using System.Collections.Generic; namespace seasonal { /// <summary> /// An IntervalSet cannot have overlapping intervals inside. /// </summary> public interface IIntervalSet : IList<IInterval> { bool HasOverlap { get; } TimeSpan AggregatedDuration { get; } Dat...
mit
C#
9774c90393b8b669c95ebecbac7dbe3b1b6ef1c8
resolve #368
rollbar/Rollbar.NET
Rollbar/Common/DateTimeUtil.cs
Rollbar/Common/DateTimeUtil.cs
namespace Rollbar.Common { using System; /// <summary> /// Utility class for date/time related conversions. /// </summary> public static class DateTimeUtil { /// <summary> /// Converts to unix timestamp in milliseconds. /// </summary> /// <param name="dateTime"...
namespace Rollbar.Common { using System; /// <summary> /// Utility class for date/time related conversions. /// </summary> public static class DateTimeUtil { /// <summary> /// Converts to unix timestamp in milliseconds. /// </summary> /// <param name="dateTime"...
mit
C#
f36ec7a402a8b2feb2aa6e43b1d7465f7f6cc616
Handle paging diffrently
projecteon/thecollection,projecteon/thecollection,projecteon/thecollection,projecteon/thecollection
TheCollection.Web/Controllers/BagsController.cs
TheCollection.Web/Controllers/BagsController.cs
using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.Documents.Client; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using TheCollection.Business.Tea; using TheCollection.Web.Services; namespace TheCollection.Web.Controllers { [Route("api/[controller]")] public class Bags...
using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.Documents.Client; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using TheCollection.Business.Tea; using TheCollection.Web.Services; namespace TheCollection.Web.Controllers { [Route("api/[controller]")] public class Bags...
apache-2.0
C#
0636ea0b161ad9e250fd8e910cf12cbc9a546120
fix build
bjarnef/Umbraco-CMS,marcemarc/Umbraco-CMS,rasmuseeg/Umbraco-CMS,bjarnef/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abryukhov/Umbraco-CMS,bjarnef/Umbraco-CMS,umbraco/Umbraco-CMS,tcmorris/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,madsoulswe/Umbraco-CMS,NikRimington/Umbraco-CMS,lars-erik/Umbraco-CMS,hfloyd/Umbraco...
src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/insertMasterpagePlaceholder.aspx.designer.cs
src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/insertMasterpagePlaceholder.aspx.designer.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---------------------------------...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---------------------------------...
mit
C#
0048da589474cf960aea075980d8b1fc1ce22f81
Update comments
Minesweeper-6-Team-Project-Telerik/Minesweeper-6
src2/ConsoleMinesweeper/EnumerableEx.cs
src2/ConsoleMinesweeper/EnumerableEx.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="EnumerableEx.cs" company="Telerik Academy"> // Teamwork Project "Minesweeper-6" // </copyright> // <summary> // The enumerable ex. // </summary> // ----------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="EnumerableEx.cs" company=""> // // </copyright> // <summary> // The enumerable ex. // </summary> // --------------------------------------------------------------------------...
mit
C#
9e3dd89cc9fcbb49c28947169d1382807a769f7f
Update PredecessorList.cs
smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk
main/Smartsheet/Api/Models/PredecessorList.cs
main/Smartsheet/Api/Models/PredecessorList.cs
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2014 SmartsheetClient // %% // 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 // // ...
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2014 SmartsheetClient // %% // 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 // // ...
apache-2.0
C#
bef6c26296b31f56b80f2ad5087f1b2b4384796c
remove extensions because no need in netstd2.0
neuecc/MagicOnion
src/MagicOnion/Utils/ReflectionExtensions.cs
src/MagicOnion/Utils/ReflectionExtensions.cs
using System; using System.Collections.Generic; using System.Reflection; using System.Linq; using System.Text; // Internal, Global. internal static class ReflectionExtensions { public static bool IsNullable(this System.Reflection.TypeInfo type) { return type.IsGenericType && type.GetGenericTypeDefinit...
using System; using System.Collections.Generic; using System.Reflection; using System.Linq; using System.Text; // Internal, Global. internal static class ReflectionExtensions { public static bool IsNullable(this System.Reflection.TypeInfo type) { return type.IsGenericType && type.GetGenericTypeDefinit...
mit
C#
8f3e9e2cc07e1769245c60c1f96ed212ef1609e0
fix build.
SuperJMN/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,SuperJMN/Avalonia,grokys/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia
src/iOS/Avalonia.iOS/AvaloniaAppDelegate.cs
src/iOS/Avalonia.iOS/AvaloniaAppDelegate.cs
using Foundation; using Avalonia.Controls; using Avalonia.Controls.ApplicationLifetimes; using UIKit; namespace Avalonia.iOS { public class AvaloniaAppDelegate<TApp> : UIResponder, IUIApplicationDelegate where TApp : Application, new() { class SingleViewLifetime : ISingleViewApplicationLifetim...
using Foundation; using UIKit; namespace Avalonia.iOS { public class AvaloniaAppDelegate<TApp> : UIResponder, IUIApplicationDelegate where TApp : Application, new() { class SingleViewLifetime : ISingleViewApplicationLifetime { public AvaloniaView View; public Co...
mit
C#
b7c20065a46d23a1032285cb97ed66b46129f2c8
Fix for GetTestCases not returning current folder
avao/Qart,mcraveiro/Qart,tudway/Qart
Src/Qart.Testing/TestSystem.cs
Src/Qart.Testing/TestSystem.cs
using Qart.Core.DataStore; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Qart.Testing { public class TestSystem { public IDataStore DataStorage { get; private set; } public TestSystem(IDataStore d...
using Qart.Core.DataStore; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Qart.Testing { public class TestSystem { public IDataStore DataStorage { get; private set; } public TestSystem(IDataStore d...
apache-2.0
C#
1083e34d4737a93cfcceb9dc17b2beb46b8b29f3
fix bug in DefineTextTag writing
Alexx999/SwfSharp
SwfSharp/Tags/DefineTextTag.cs
SwfSharp/Tags/DefineTextTag.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using SwfSharp.Structs; using SwfSharp.Utils; namespace SwfSharp.Tags { public class DefineTextTag : SwfTag { public ushort CharacterID { get; set; } public RectStruct TextBounds { get; set; ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using SwfSharp.Structs; using SwfSharp.Utils; namespace SwfSharp.Tags { public class DefineTextTag : SwfTag { public ushort CharacterID { get; set; } public RectStruct TextBounds { get; set; ...
mit
C#
e379e0b3aa5740778435ea22b68c37c30c83c539
Update ShouldMatchApprovedException.cs
JoeMighty/shouldly
src/Shouldly/ShouldMatchApprovedException.cs
src/Shouldly/ShouldMatchApprovedException.cs
namespace Shouldly { public class ShouldMatchApprovedException : ShouldAssertException { public ShouldMatchApprovedException(string message, string receivedFile, string approvedFile) : base( GenerateMessage(message, receivedFile, approvedFile)) { } private static str...
namespace Shouldly { public class ShouldMatchApprovedException : ShouldAssertException { public ShouldMatchApprovedException(string message, string receivedFile, string approvedFile) : base( GenerateMessage(message, receivedFile, approvedFile)) { } private static str...
bsd-3-clause
C#
d0fec6ebc6564a3c8aa71305029caf1608ee4524
increment patch 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#
3a783d11d25cc13bc9ca0294b2b4dac4792d3fb0
Change new example data
Zalodu/Schedutalk,Zalodu/Schedutalk
Schedutalk/Schedutalk/Schedutalk/ViewModel/VMMainView.cs
Schedutalk/Schedutalk/Schedutalk/ViewModel/VMMainView.cs
using Schedutalk.Model; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Xamarin.Forms; namespace Schedutalk.ViewModel { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Xamarin.Forms; namespace Schedutalk.ViewModel { public class VMMainView : VMBase { public Model.H...
mit
C#
5b5bc70ba92681d99f93e7dabbf1489d7bf12749
Update SimpleXmlBondSerializer.cs
tiksn/TIKSN-Framework
TIKSN.Core/Serialization/Bond/SimpleXmlBondSerializer.cs
TIKSN.Core/Serialization/Bond/SimpleXmlBondSerializer.cs
using System.IO; using System.Xml; using Bond.Protocols; namespace TIKSN.Serialization.Bond { public class SimpleXmlBondSerializer : SerializerBase<string> { protected override string SerializeInternal<T>(T obj) { using var output = new StringWriter(); var writer = new S...
using System.IO; using System.Xml; using Bond.Protocols; namespace TIKSN.Serialization.Bond { public class SimpleXmlBondSerializer : SerializerBase<string> { protected override string SerializeInternal<T>(T obj) { using (var output = new StringWriter()) { ...
mit
C#
59925fab3480df6a451bc1420ac698f2a1f80b22
Increment version number
mj1856/TimeZoneNames
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyCompany("Matt Johnson")] [assembly: AssemblyProduct("Time Zone Names")] [assembly: AssemblyCopyright("Copyright © 2014 Matt Johnson")] [assembly: AssemblyVersion("1.1.0.*")] [assembly: AssemblyInformationalVersion("1.1.0")]
using System.Reflection; [assembly: AssemblyCompany("Matt Johnson")] [assembly: AssemblyProduct("Time Zone Names")] [assembly: AssemblyCopyright("Copyright © 2014 Matt Johnson")] [assembly: AssemblyVersion("1.0.1.*")] [assembly: AssemblyInformationalVersion("1.0.1")]
mit
C#
53ac663cd40484776555e7d61d0265a77d8744e1
Connect with the Blockcypher API over https instead of http
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/WebClients/BlockCypher/BlockCypherClient.cs
WalletWasabi/WebClients/BlockCypher/BlockCypherClient.cs
using NBitcoin; using Newtonsoft.Json; using Nito.AsyncEx; using System; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using WalletWasabi.WebClients.BlockCypher.Models; namespace WalletWasabi.WebClients.BlockCypher { public class BlockCypherClient : IDisposable { p...
using NBitcoin; using Newtonsoft.Json; using Nito.AsyncEx; using System; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using WalletWasabi.WebClients.BlockCypher.Models; namespace WalletWasabi.WebClients.BlockCypher { public class BlockCypherClient : IDisposable { p...
mit
C#
4eb2c05c4fe931f5bbc18a66f22ca46139df1b7f
use pattern matching
OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn
src/OmniSharp.Roslyn.CSharp/Services/ImplementTypeWorkspaceOptionsProvider.cs
src/OmniSharp.Roslyn.CSharp/Services/ImplementTypeWorkspaceOptionsProvider.cs
using System; using System.Composition; using System.Reflection; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Options; using OmniSharp.Options; using OmniSharp.Roslyn.Options; using OmniSharp.Services; using OmniSharp.Utilities; namespace OmniSharp.Roslyn.CSharp.Services { [Export(typeof(IWorkspaceO...
using System; using System.Composition; using System.Reflection; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Options; using OmniSharp.Options; using OmniSharp.Roslyn.Options; using OmniSharp.Services; using OmniSharp.Utilities; namespace OmniSharp.Roslyn.CSharp.Services { [Export(typeof(IWorkspaceO...
mit
C#
bc171b90128eb73d2b650828cff1d1a51ed22470
Fix returns documentation on GetRouteData() (#36881)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Http/Routing.Abstractions/src/RoutingHttpContextExtensions.cs
src/Http/Routing.Abstractions/src/RoutingHttpContextExtensions.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #nullable enable using System; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; namespace Microsoft.AspNetCore.Routing { /// <summary> /// Extensi...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #nullable enable using System; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; namespace Microsoft.AspNetCore.Routing { /// <summary> /// Extensi...
apache-2.0
C#
6e206e285921132ec3b11602bdf7cbf88ad57f85
set authentication style
IdentityModel/IdentityModel.OidcClient2,IdentityModel/IdentityModel.OidcClient2,roflkins/IdentityModel.OidcClient2,roflkins/IdentityModel.OidcClient2,IdentityModel/IdentityModel.OidcClient,IdentityModel/IdentityModel.OidcClient
src/IdentityModel.OidcClient/Infrastructure/TokenClientFactory.cs
src/IdentityModel.OidcClient/Infrastructure/TokenClientFactory.cs
using IdentityModel.Client; using System.Net.Http; namespace IdentityModel.OidcClient.Infrastructure { internal class TokenClientFactory { public static TokenClient Create(OidcClientOptions options) { var info = options.ProviderInformation; var handler = options.Backcha...
using IdentityModel.Client; using System.Net.Http; namespace IdentityModel.OidcClient.Infrastructure { internal class TokenClientFactory { public static TokenClient Create(OidcClientOptions options) { var info = options.ProviderInformation; var handler = options.Backcha...
apache-2.0
C#
66f5187e6a26ea480fb777d9f5abef93ce7a4e13
Remove redundant access permission
NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,ppy/osu,ppy/osu
osu.Game/Screens/Edit/IEditorChangeHandler.cs
osu.Game/Screens/Edit/IEditorChangeHandler.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 osu.Game.Rulesets.Objects; namespace osu.Game.Screens.Edit { /// <summary> /// Interface for a component that manages changes in the <see cre...
// 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 osu.Game.Rulesets.Objects; namespace osu.Game.Screens.Edit { /// <summary> /// Interface for a component that manages changes in the <see cre...
mit
C#
e4ec2f40d9f19028efcd8d2b68ad9ddf30f888de
Remove ClientVersion from DiallerSessionSubscribeDto
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/DiallerSessionSubscribeDto.cs
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/DiallerSessionSubscribeDto.cs
using System; using System.Runtime.Serialization; namespace PS.Mothership.Core.Common.Dto { [DataContract] public class DiallerSessionSubscribeDto { [DataMember] public Guid UserGuid { get; set; } [DataMember] public DateTime StartDateTime { get; set; } ...
using System; using System.Runtime.Serialization; namespace PS.Mothership.Core.Common.Dto { [DataContract] public class DiallerSessionSubscribeDto { [DataMember] public Guid UserGuid { get; set; } [DataMember] public DateTime StartDateTime { get; set; } ...
mit
C#
4cdde422280004f4013124ba29a78cf871f52bc0
Remove unnecessary backing field
smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,peppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu
osu.Game/Overlays/Chat/Selection/ChannelSection.cs
osu.Game/Overlays/Chat/Selection/ChannelSection.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 System.Linq; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Graphics; using ...
// 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 System.Linq; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Graphics; using ...
mit
C#