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
449d204656cdfd00e855bcbd64dabe84edca6590
build version: 3.9.71.6
wiesel78/Canwell.OrmLite.MSAccess2003
Source/GlobalAssemblyInfo.cs
Source/GlobalAssemblyInfo.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Cake. // </auto-generated> //------------------------------------------------------------------------------ using System.Reflection; [assembly: AssemblyCompany("canwell - IT Solutions...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Cake. // </auto-generated> //------------------------------------------------------------------------------ using System.Reflection; [assembly: AssemblyCompany("canwell - IT Solutions...
bsd-3-clause
C#
edeed1b05e70ed72ca16d10e9f6ab451cbc71e7f
Fix bug when time stamp included as part of date
ekincaglar/clarizen
Ekin.Clarizen.Tests/Steps/TestHelperSteps.cs
Ekin.Clarizen.Tests/Steps/TestHelperSteps.cs
using System; using System.Collections.Generic; using Clarizen.Tests.Context; using Ekin.Clarizen.Tests.Models; using Moq; using TechTalk.SpecFlow; using TechTalk.SpecFlow.Assist; using Xunit; namespace Ekin.Clarizen.Tests.Steps { [Binding] public class TestHelperSteps : BaseApiSteps { public Test...
using System; using System.Collections.Generic; using Clarizen.Tests.Context; using Ekin.Clarizen.Tests.Models; using Moq; using TechTalk.SpecFlow; using TechTalk.SpecFlow.Assist; using Xunit; namespace Ekin.Clarizen.Tests.Steps { [Binding] public class TestHelperSteps : BaseApiSteps { public Test...
mit
C#
4f0508c1c5aad22271c7c447f08d4adf238833e1
Add get all files method
fredatgithub/UsefulFunctions
FonctionsUtiles.Fred.Csharp/FunctionsWindows.cs
FonctionsUtiles.Fred.Csharp/FunctionsWindows.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Security.Principal; namespace FonctionsUtiles.Fred.Csharp { public class FunctionsWindows { public static bool IsInWinPath(string substring) { bool resu...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Security.Principal; namespace FonctionsUtiles.Fred.Csharp { public class FunctionsWindows { public static bool IsInWinPath(string substring) { bool result = false; ...
mit
C#
ee0e9171976dbc33eec1106325a336f7c53cadb2
Edit cancel button because don't work
vasilchavdarov/SoftUniBlog,vasilchavdarov/SoftUniBlog,vasilchavdarov/SoftUniBlog
Blog/Blog/Views/Article/Create.cshtml
Blog/Blog/Views/Article/Create.cshtml
@model Blog.Models.Article @{ ViewBag.Title = "Create"; } <div class="container"> <div class="well"> <h2>Create Article</h2> @using (Html.BeginForm("Create", "Article", FormMethod.Post, new { @class = "form-horizontal" })) { @Html.AntiForgeryToken() @Html.Valida...
@model Blog.Models.Article @{ ViewBag.Title = "Create"; } <div class="container"> <div class="well"> <h2>Create Article</h2> @using (Html.BeginForm("Create", "Article", FormMethod.Post, new { @class = "form-horizontal" })) { @Html.AntiForgeryToken() @Html.Valida...
mit
C#
2f4c3b821e8a74d719114baf6b6ce55569f81cba
Add IDisposable to IConsulClient
PlayFab/consuldotnet
Consul/Interfaces/IConsulClient.cs
Consul/Interfaces/IConsulClient.cs
// ----------------------------------------------------------------------- // <copyright file="Health.cs" company="PlayFab Inc"> // Copyright 2015 PlayFab Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You m...
// ----------------------------------------------------------------------- // <copyright file="Health.cs" company="PlayFab Inc"> // Copyright 2015 PlayFab Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You m...
apache-2.0
C#
de5eb12cb51addcbf5438861bc217e63876b9286
add xmldoc for IAwaitable
navaei/BotBuilder,mmatkow/BotBuilder,dr-em/BotBuilder,stevengum97/BotBuilder,msft-shahins/BotBuilder,dr-em/BotBuilder,digibaraka/BotBuilder,Clairety/ConnectMe,msft-shahins/BotBuilder,xiangyan99/BotBuilder,yakumo/BotBuilder,yakumo/BotBuilder,digibaraka/BotBuilder,mmatkow/BotBuilder,mmatkow/BotBuilder,navaei/BotBuilder,j...
CSharp/Library/Fibers/Awaitable.cs
CSharp/Library/Fibers/Awaitable.cs
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Bot Framework: http://botframework.com // // Bot Builder SDK Github: // https://github.com/Microsoft/BotBuilder // // Copyright (c) Microsoft Corporation // All rights reserved. // // MIT License: // Permission ...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Bot Framework: http://botframework.com // // Bot Builder SDK Github: // https://github.com/Microsoft/BotBuilder // // Copyright (c) Microsoft Corporation // All rights reserved. // // MIT License: // Permission ...
mit
C#
7937bdb8311f418babd2a525add44a65fcac6b36
update to 1.0.6.0
tdiehl/raygun4net,articulate/raygun4net,MindscapeHQ/raygun4net,articulate/raygun4net,tdiehl/raygun4net,MindscapeHQ/raygun4net,nelsonsar/raygun4net,nelsonsar/raygun4net,MindscapeHQ/raygun4net,ddunkin/raygun4net,ddunkin/raygun4net
Mindscape.Raygun4Net/Properties/AssemblyInfo.cs
Mindscape.Raygun4Net/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Mi...
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#
f6028cd5845d2f150bae30139dba68d7eca7854b
Update FolderOptions.cs
A51UK/File-Repository
File-Repository/Enum/FolderOptions.cs
File-Repository/Enum/FolderOptions.cs
/* * Copyright 2017 Craig Lee Mark Adams Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
/* * Copyright 2017 Criag Lee Mark Adams Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
apache-2.0
C#
1d873cacce967f99ed992ba00d24433bc1f0da29
remove GetService Method
AspectCore/AspectCore-Framework,AspectCore/Lite,AspectCore/Abstractions,AspectCore/AspectCore-Framework
src/AspectCore.Abstractions/Extensions/ServiceProviderExtensions.cs
src/AspectCore.Abstractions/Extensions/ServiceProviderExtensions.cs
using System; namespace AspectCore.Abstractions.Extensions { public static class ServiceProviderExtensions { public static IAspectActivator GetAspectActivator(this IServiceProvider provider) { if (provider == null) { throw new ArgumentNullException(nameo...
using System; namespace AspectCore.Abstractions.Extensions { public static class ServiceProviderExtensions { public static IAspectActivator GetAspectActivator(this IServiceProvider provider) { if (provider == null) { throw new ArgumentNullException(nameo...
mit
C#
772a4b829aa22dd00e4a0f8475bda72a2c2d304a
Handle exceptions in SourceAdded (bgo#612407)
arfbtwn/hyena,arfbtwn/hyena,dufoli/hyena,GNOME/hyena,dufoli/hyena,petejohanson/hyena,GNOME/hyena,petejohanson/hyena
src/Hyena/Hyena/EventArgs.cs
src/Hyena/Hyena/EventArgs.cs
// // EventArgs.cs // // Author: // Alexander Kojevnikov <alexander@kojevnikov.com> // // Copyright (C) 2009-2010 Alexander Kojevnikov // // 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 ...
// // EventArgs.cs // // Author: // Alexander Kojevnikov <alexander@kojevnikov.com> // // Copyright (C) 2009 Alexander Kojevnikov // // 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 witho...
mit
C#
682bef36be87d0495ed1a53292b377658a06f460
Update Program.cs
mtsuker/GitTest1
ConsoleApp1/ConsoleApp1/Program.cs
ConsoleApp1/ConsoleApp1/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { //github change + edit } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { //github change } } }
mit
C#
c111b1edff046663dd4bf4f4338d87d2c7608fd1
add loading baseclass methods
Pondidum/Ledger.Stores.Fs,Pondidum/Ledger.Stores.Fs
Ledger.Stores.Fs.Tests/TestBase.cs
Ledger.Stores.Fs.Tests/TestBase.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Ledger.Infrastructure; using NSubstitute; using TestsDomain; namespace Ledger.Stores.Fs.Tests { public class TestBase { public List<string> Events { get; private set; } public List<string> Snapshots { get; private set; } ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using NSubstitute; namespace Ledger.Stores.Fs.Tests { public class TestBase { public List<string> Events { get; private set; } public List<string> Snapshots { get; private set; } public TestBase() { Events = new List<str...
lgpl-2.1
C#
e8b4a7ec73b8d2cfc7fe420143d1dff8d2c51bfd
バージョン番号更新。
YKSoftware/YKToolkit.Controls
YKToolkit.Controls/Properties/AssemblyInfo.cs
YKToolkit.Controls/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("YKToolkit.Controls")] #if NET4 [assembly: AssemblyDescription(".NET Framework 4.0 用 の WPF カスタムコントロールライブラリです。")] #else [assembly: AssemblyDescription("WPF カスタムコントロールライブラリです。")] #endif [assembly: Ass...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("YKToolkit.Controls")] #if NET4 [assembly: AssemblyDescription(".NET Framework 4.0 用 の WPF カスタムコントロールライブラリです。")] #else [assembly: AssemblyDescription("WPF カスタムコントロールライブラリです。")] #endif [assembly: Ass...
mit
C#
594038a3641028b1e298dfd40b2a0831921ce260
Fix crash when picking selected date; fix #28
arthurrump/Zermelo.App.UWP
Zermelo.App.UWP/Schedule/ScheduleView.xaml.cs
Zermelo.App.UWP/Schedule/ScheduleView.xaml.cs
using System; using System.Linq; using Autofac; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace Zermelo.App.UWP.Schedule { public sealed partial class ScheduleView : Page { public ScheduleView() { this.InitializeComponent(); ViewModel = (App...
using System; using System.Linq; using Autofac; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace Zermelo.App.UWP.Schedule { public sealed partial class ScheduleView : Page { public ScheduleView() { this.InitializeComponent(); ViewModel = (App...
mit
C#
a644ad0589c136bfd7b5e0a862b96f5c8e454cd7
Implement Kart portion of interface. Basically, it is a simplified version of CarControl that performs top level logic to path plan
intel-cornellcup/sim-ai,maZang/ModbotPathPlan,maZang/ModbotPathPlan,intel-cornellcup/sim-ai,intel-cornellcup/sim-ai,maZang/ModbotPathPlan
ModbotPathPlan/Assets/Scripts/Kart.cs
ModbotPathPlan/Assets/Scripts/Kart.cs
using UnityEngine; using System; using System.Collections.Generic; public class Kart : MonoBehaviour { public List<Vector3> wayPoints; //list of waypoints for the car public int current_point; //the current waypoint PathPlanning pathPlanner; // Represents the path planning object public void SetUpKart () { //...
using UnityEngine; using System; using System.Collections.Generic; public class Kart : MonoBehaviour { public List<Vector3> wayPoints; //list of waypoints for the car public int current_point; //the current waypoint public void SetUpKart (List<Vector3> wayPoints, int current_point) { this.wayPoints = wayPoints;...
mit
C#
23183bce9e01408be41c1f05c5caa68c9adc0f26
fix May15 test
MetacoSA/NBitcoin,thepunctuatedhorizon/BrickCoinAlpha.0.0.1,lontivero/NBitcoin,bitcoinbrisbane/NBitcoin,MetacoSA/NBitcoin,NicolasDorier/NBitcoin,you21979/NBitcoin,stratisproject/NStratis,dangershony/NStratis,HermanSchoenfeld/NBitcoin
NBitcoin.Tests/checkblock_tests.cs
NBitcoin.Tests/checkblock_tests.cs
using NBitcoin.DataEncoders; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Xunit; namespace NBitcoin.Tests { public class checkblock_tests { [Fact] [Trait("C...
using NBitcoin.DataEncoders; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Xunit; namespace NBitcoin.Tests { public class checkblock_tests { [Fact] [Trait("C...
mit
C#
68129626ab4a700e64489763f39edd4ef44b93d8
Make TestResultPage internal.
dsplaisted/pcltesting,AArnott/pcltesting
PCLTesting.Forms/TestResultPage.cs
PCLTesting.Forms/TestResultPage.cs
namespace PCLTesting.Infrastructure { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Validation; using Xamarin.Forms; internal class TestResultPage : ContentPage { public TestResultPage(Test test) ...
namespace PCLTesting.Infrastructure { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Validation; using Xamarin.Forms; public class TestResultPage : ContentPage { public TestResultPage(Test test) ...
mit
C#
49770ceda40f148896e138bc0bbc7db79626557f
Add non-generic polygon type that uses double type by default.
taylorhutchison/Geode
Geode/Geometry/Polygon.cs
Geode/Geometry/Polygon.cs
using System; using System.Collections.Generic; using System.Text; namespace Geode.Geometry { public class Polygon: IGeoType { public string Type => "Polygon"; public IEnumerable<IEnumerable<double>> Coordinates { get; set; } public Polygon(IEnumerable<IEnumerable<double>> coordinates)...
using System; using System.Collections.Generic; using System.Text; namespace Geode.Geometry { public class Polygon<T> : IGeoType { public string Type => "Polygon"; public IEnumerable<IEnumerable<T>> Coordinates { get; set; } public Polygon(IEnumerable<IEnumerable<T>> coordinates) ...
mit
C#
adf6c7e86712fb4cea47a8503d6a21f0976816fc
Change to caps
JimFung/GGJ2015RAMS
RAMS/Assets/Scripts/changeScene.cs
RAMS/Assets/Scripts/changeScene.cs
using UnityEngine; using System.Collections; public class ChangeScene1 : MonoBehaviour { [SerializeField] AudioClip select; public static bool flag = false; public static float startTime = 0; public static int sceneValue ; public void changeToScene(int scene){ if (scene == -1) { Application.Quit(); } ...
using UnityEngine; using System.Collections; public class ChangeScene : MonoBehaviour { [SerializeField] AudioClip select; public static bool flag = false; public static float startTime = 0; public static int sceneValue ; public void changeToScene(int scene){ if (scene == -1) { Application.Quit(); } ...
mit
C#
411d2c3be492292d070e2d5b83eb9d03b0596bbc
fix context rename
WojcikMike/docs.particular.net
Snippets/Snippets_6/Headers/IncomingBehavior.cs
Snippets/Snippets_6/Headers/IncomingBehavior.cs
namespace Snippets6.Headers { using System; using System.Collections.Generic; using System.Threading.Tasks; using NServiceBus; using NServiceBus.Pipeline; #region header-incoming-behavior public class IncomingBehavior : Behavior<IncomingPhysicalMessageContext> { public override...
namespace Snippets6.Headers { using System; using System.Collections.Generic; using System.Threading.Tasks; using NServiceBus; using NServiceBus.Pipeline; #region header-incoming-behavior public class IncomingBehavior : Behavior<PhysicalMessageProcessingContext> { public overri...
apache-2.0
C#
8cd477c717e62f68906f9a3c6dc862e273e88cc7
include the number 9
modulexcite/RandomGen,aliostad/RandomGen,jkonecki/RandomGen,aliostad/RandomGen
src/RandomGen/PhoneNumbersLink.cs
src/RandomGen/PhoneNumbersLink.cs
using System; using System.Collections.Generic; using RandomGen.Fluent; namespace RandomGen { class PhoneNumbersLink : IPhoneNumbers { private readonly RandomLink _random; private readonly Func<int> _generate; internal PhoneNumbersLink(RandomLink random) { this._ra...
using System; using System.Collections.Generic; using RandomGen.Fluent; namespace RandomGen { class PhoneNumbersLink : IPhoneNumbers { private readonly RandomLink _random; private readonly Func<int> _generate; internal PhoneNumbersLink(RandomLink random) { this._ra...
mit
C#
47d6ba61dd7014087d6195e628420fa922d25694
Update tests/Avalonia.Markup.UnitTests/Extensions/IEnummerableExtension.cs
AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,Perspex/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jk...
tests/Avalonia.Markup.UnitTests/Extensions/IEnummerableExtension.cs
tests/Avalonia.Markup.UnitTests/Extensions/IEnummerableExtension.cs
using System; using System.Collections; namespace Avalonia.Markup.UnitTests { internal static class IEnumerableExtensions { public static object ElementAt(this IEnumerable source, int index) { var i = -1; var enumerator = source.GetEnumerator(); while (enume...
using System; using System.Collections; namespace Avalonia.Markup.UnitTests { static class IEnummerableExtension { public static object ElementAt(this IEnumerable source, int index) { var i = -1; var enumerator = source.GetEnumerator(); while (enumerator.Mo...
mit
C#
8cd8f1c36b75f49764bb9c0537110a5b9463b192
update about
NickSerg/water-meter,NickSerg/water-meter,NickSerg/water-meter
WaterMeter/WM.AspNetMvc/Views/Home/About.cshtml
WaterMeter/WM.AspNetMvc/Views/Home/About.cshtml
@{ ViewBag.Title = "Информация"; } <h2>@ViewBag.Title</h2> <h3>@ViewBag.Message</h3> <p>Система регистрации показаний пробора учёта</p>
@{ ViewBag.Title = "Информация"; } <h2>@ViewBag.Title</h2> <h3>@ViewBag.Message</h3> <p>Система регистрации показаний пробора учёта.</p>
apache-2.0
C#
2b751669ed693f5e433725c97a07783b236569c5
Drop '$' characters from variables
exodrifter/unity-raconteur,dpek/unity-raconteur
Assets/Raconteur/Util/Expressions/ValueVariable.cs
Assets/Raconteur/Util/Expressions/ValueVariable.cs
namespace DPek.Raconteur.Util.Expressions { /// <summary> /// A Variable represents a string in an expression that refers to a /// variable. /// </summary> public class ValueVariable : Value { /// <summary> /// The name of the variable to look up and modify. /// </summary> private string m_variable; p...
namespace DPek.Raconteur.Util.Expressions { /// <summary> /// A Variable represents a string in an expression that refers to a /// variable. /// </summary> public class ValueVariable : Value { /// <summary> /// The name of the variable to look up and modify. /// </summary> private string m_variable; p...
bsd-3-clause
C#
342d06ef49f36630e2b52e30b99efb1d4cbe28ee
Update Stability.cs
tiksn/TIKSN-Framework
TIKSN.Core/Versioning/Stability.cs
TIKSN.Core/Versioning/Stability.cs
namespace TIKSN.Versioning { public enum Stability { Stable, Unstable } }
namespace TIKSN.Versioning { public enum Stability { Stable, Unstable, } }
mit
C#
4596bdeaace6c02aa37c14e7b71b781d3b042811
Bump version to 0.35.0-beta
github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity
common/SolutionInfo.cs
common/SolutionInfo.cs
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.VersionForAssembly)] [assembly: AssemblyFileVersion(Sys...
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.VersionForAssembly)] [assembly: AssemblyFileVersion(Sys...
mit
C#
e99310b59cfddbad40882e187a79668cdd865bb4
Add JsonConstructor attribute
peppy/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,UselessToucan/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; namespace osu.Game.Online.Rooms { /// <summary> /// The local availability information about a certain beatmap for the client. /// </summary> ...
mit
C#
eed061adf8554909bcc012612e8da3293d6c34ed
fix some obsolescence warnings
fozzzgate/xamarin-bluetooth-le,xabre/xamarin-bluetooth-le
Source/MvvmCross.Plugins.BLE.macOS/Plugin.cs
Source/MvvmCross.Plugins.BLE.macOS/Plugin.cs
using Foundation; using MvvmCross.IoC; using MvvmCross.Logging; using MvvmCross.Plugin; using Plugin.BLE; using Plugin.BLE.Abstractions; using Plugin.BLE.Abstractions.Contracts; [assembly: Preserve] namespace MvvmCross.Plugins.BLE.macOS { [Preserve(AllMembers = true)] [MvxPlugin] public class Plugin ...
using Foundation; using MvvmCross.Logging; using MvvmCross.Plugin; using Plugin.BLE; using Plugin.BLE.Abstractions; using Plugin.BLE.Abstractions.Contracts; [assembly: Preserve] namespace MvvmCross.Plugins.BLE.macOS { [Preserve(AllMembers = true)] [MvxPlugin] public class Plugin : IMvxPlugin { ...
apache-2.0
C#
befb78f83b890f847b16cbcd2c52310bc7d15975
Simplify LegacySkinResourceStore by deriving from ResourceStore
peppy/osu,smoogipoo/osu,2yangk23/osu,peppy/osu-new,EVAST9919/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,EVAST9919/osu,johnneijzen/osu,NeoAdonis/osu,2yangk23/osu,ppy/osu
osu.Game/Skinning/LegacySkinResourceStore.cs
osu.Game/Skinning/LegacySkinResourceStore.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.IO.Stores; using osu.Game.Database; namespace osu.Game.Skinning { public class...
// 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.IO; using System.Linq; using System.Threading.Tasks; using osu.Framework.IO.Stores; using osu.Game.Database; ...
mit
C#
a8c74ec791104649abd6d8162fd835fa613e39ff
Print version of firmware
treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk
NET/Demos/Console/Blink/Program.cs
NET/Demos/Console/Blink/Program.cs
using System; using Treehopper; using System.Threading.Tasks; using System.Diagnostics; using System.Collections.Generic; namespace Blink { /// <summary> /// This demo blinks the built-in LED using basic procedural programming. /// </summary> /// <remarks> /// <para> /// This example illustra...
using System; using Treehopper; using System.Threading.Tasks; using System.Diagnostics; using System.Collections.Generic; namespace Blink { /// <summary> /// This demo blinks the built-in LED using basic procedural programming. /// </summary> /// <remarks> /// <para> /// This example illustra...
mit
C#
95e117fddd3b51ff2f988820ae6d5747e9fde692
Add a test for SKSwizzle
mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp
tests/Tests/SKPixmapTest.cs
tests/Tests/SKPixmapTest.cs
using System; using System.Runtime.InteropServices; using Xunit; namespace SkiaSharp.Tests { public class SKPixmapTest : SKTest { [SkippableFact] public void ReadPixelSucceeds() { var info = new SKImageInfo(10, 10); var ptr1 = Marshal.AllocCoTaskMem(info.BytesSize); var pix1 = new SKPixmap(info, ptr...
using System; using System.Runtime.InteropServices; using Xunit; namespace SkiaSharp.Tests { public class SKPixmapTest : SKTest { [SkippableFact] public void ReadPixelSucceeds() { var info = new SKImageInfo(10, 10); var ptr1 = Marshal.AllocCoTaskMem(info.BytesSize); var pix1 = new SKPixmap(info, ptr...
mit
C#
9402930be306bf433f71958f8f5014407dd9c49a
Add 'Required' field to AjaxMethodParameterAttribute
SnowflakePowered/snowflake,faint32/snowflake-1,faint32/snowflake-1,RonnChyran/snowflake,faint32/snowflake-1,RonnChyran/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,SnowflakePowered/snowflake
Snowflake.API/Ajax/AjaxMethodParameterAttribute.cs
Snowflake.API/Ajax/AjaxMethodParameterAttribute.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Snowflake.Ajax { /// <summary> /// A metadata attribute to indicate parameter methods /// Does not affect execution. /// </summary> [AttributeUsage(AttributeTargets.Method,...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Snowflake.Ajax { /// <summary> /// A metadata attribute to indicate parameter methods /// Does not affect execution. /// </summary> [AttributeUsage(AttributeTargets.Method,...
mpl-2.0
C#
535b5ee81dc85c750b29b840270161b799b0364c
Update profile strings.
Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving
XamarinApp/MyTrips/MyTrips.iOS/Screens/ProfileTableViewController.cs
XamarinApp/MyTrips/MyTrips.iOS/Screens/ProfileTableViewController.cs
using Foundation; using System; using UIKit; namespace MyTrips.iOS { public partial class ProfileTableViewController : UITableViewController { public ProfileTableViewController (IntPtr handle) : base (handle) { } public override void ViewDidLoad() { base.ViewDidLoad(); Updat...
using Foundation; using System; using UIKit; namespace MyTrips.iOS { public partial class ProfileTableViewController : UITableViewController { public ProfileTableViewController (IntPtr handle) : base (handle) { } public override void ViewDidLoad() { base.ViewDidLoad(); Updat...
mit
C#
1cd9b6d93b48274179fa8b1859a0040b6878390b
INcrease timeout
lahma/MassTransit,abombss/MassTransit,lahma/MassTransit,ccellar/MassTransit,petedavis/MassTransit,vebin/MassTransit,D3-LucaPiombino/MassTransit,ccellar/MassTransit,abombss/MassTransit,lahma/MassTransit,ccellar/MassTransit,lahma/MassTransit,vebin/MassTransit,petedavis/MassTransit,lahma/MassTransit,ccellar/MassTransit,ab...
src/Containers/MassTransit.Containers.Tests/Scenarios/When_registering_a_consumer.cs
src/Containers/MassTransit.Containers.Tests/Scenarios/When_registering_a_consumer.cs
// Copyright 2007-2012 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 ...
// Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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#
daae454f26147aa4d6f54f1a64e6d4713144ea23
Fix resource type
AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azur...
src/ResourceManager/SignalR/Commands.SignalR/Strategies/SignalRRp/SignalRStrategy.cs
src/ResourceManager/SignalR/Commands.SignalR/Strategies/SignalRRp/SignalRStrategy.cs
using Microsoft.Azure.Commands.Common.Strategies; using Microsoft.Azure.Management.SignalR; using Microsoft.Azure.Management.SignalR.Models; namespace Microsoft.Azure.Commands.SignalR.Strategies.SignalRRp { static class SignalRStrategy { public static ResourceStrategy<SignalRResource> Strategy { get; ...
using Microsoft.Azure.Commands.Common.Strategies; using Microsoft.Azure.Management.SignalR; using Microsoft.Azure.Management.SignalR.Models; namespace Microsoft.Azure.Commands.SignalR.Strategies.SignalRRp { static class SignalRStrategy { public static ResourceStrategy<SignalRResource> Strategy { get; ...
apache-2.0
C#
31386f24618f758b4d411cc7cb768e4ceb8cd359
replace contents as per details in ticket.
SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers
src/SFA.DAS.EmployerUsers.Web/Views/TermsAndConditions/_TermsAndConditionBody.cshtml
src/SFA.DAS.EmployerUsers.Web/Views/TermsAndConditions/_TermsAndConditionBody.cshtml
<p>To use this service, you agree to:</p> <ul class="list list-bullet"> <li>sign out at the end of each session</li> <li>input truthful and accurate information</li> <li>adhere to the <a href="http://www.legislation.gov.uk/ukpga/1990/18/contents" target="_blank">Computer Misuse Act 1990</a></li> <...
<p>To use this service, you agree to:</p> <ul class="list list-bullet"> <li>sign out at the end of each session</li> <li>input truthful and accurate information</li> <li>adhere to the <a href="http://www.legislation.gov.uk/ukpga/1990/18/contents" target="_blank">Computer Misuse Act 1990</a></li> <...
mit
C#
4e8edfdeabcf78baf12657c9ac6d8838bca41f4c
Add Shuffle
garlab/Ext.NET
Ext.NET/EnumerableExtension.cs
Ext.NET/EnumerableExtension.cs
using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace Ext.NET { public static class EnumerableExtension { public static void Each<T>(this IEnumerable<T> enumerable, Action<T> action) { foreach (var item in enumerable) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace Ext.NET { public static class EnumerableExtension { public static void Each<T>(this IEnumerable<T> enumerable, Action<T> action) { foreach (var item...
mit
C#
0a38c79f1091052a7df0e516f50bd62525b6d79c
fix build
Recognos/Metrics.NET,Recognos/Metrics.NET,Liwoj/Metrics.NET,Liwoj/Metrics.NET
Src/Metrics/MetricData/ValueReader.cs
Src/Metrics/MetricData/ValueReader.cs
using Metrics.Core; namespace Metrics.MetricData { public static class ValueReader { private static readonly CounterValue EmptyCounter = new CounterValue(0); private static readonly MeterValue EmptyMeter = new MeterValue(0, 0.0, 0.0, 0.0, 0.0, TimeUnit.Seconds); private static readonly...
using Metrics.Core; namespace Metrics.MetricData { public static class ValueReader { private static readonly CounterValue EmptyCounter = new CounterValue(0); private static readonly MeterValue EmptyMeter = new MeterValue(0, 0.0, 0.0, 0.0, 0.0, TimeUnit.Seconds); private static readonly...
apache-2.0
C#
a32e30a641eedc1e4fb7826a21e769d353cee39a
Add 1.15
archrival/SubsonicSharp
Subsonic.Common/SubsonicApiVersion.cs
Subsonic.Common/SubsonicApiVersion.cs
using System; namespace Subsonic.Common { public static class SubsonicApiVersion { public static readonly Version Version1_0_0 = Version.Parse("1.0.0"); public static readonly Version Version1_1_0 = Version.Parse("1.1.0"); public static readonly Version Version1_1_1 = Version.Parse("1....
using System; namespace Subsonic.Common { public static class SubsonicApiVersion { public static readonly Version Version1_0_0 = Version.Parse("1.0.0"); public static readonly Version Version1_1_0 = Version.Parse("1.1.0"); public static readonly Version Version1_1_1 = Version.Parse("1....
mit
C#
183a852b938280ceb90826c862b4ca72e49dafdc
Fix unit test
akarpov89/MicroFlow
test/FlowTests/Flow2Tests.cs
test/FlowTests/Flow2Tests.cs
using System.Collections.Generic; using NSubstitute; using NUnit.Framework; namespace MicroFlow.Test { [TestFixture] public class Flow2Tests { [Test] public void FlowIsValid() { // Arrange var writer = Substitute.For<IWriter>(); var flow = new Fl...
using System.Collections.Generic; using NSubstitute; using NUnit.Framework; namespace MicroFlow.Test { [TestFixture] public class Flow2Tests { [Test] public void FlowIsValid() { // Arrange var writer = Substitute.For<IWriter>(); var flow = new Fl...
mit
C#
6fda3622150e62318d9ae95ccecebe2977844264
Check JsonErrorInfo parameters and store them.
PenguinF/sandra-three
Sandra.UI.WF/Storage/JsonSyntax.cs
Sandra.UI.WF/Storage/JsonSyntax.cs
#region License /********************************************************************************* * JsonSyntax.cs * * Copyright (c) 2004-2018 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
#region License /********************************************************************************* * JsonSyntax.cs * * Copyright (c) 2004-2018 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
apache-2.0
C#
644606b63a0558f222bf8fd09d7cf86a0b10bf0a
Increment version to 2.6.8.3
qwertie/Loyc,qwertie/Loyc
Core/AssemblyVersion.cs
Core/AssemblyVersion.cs
using System.Reflection; [assembly: AssemblyCopyright("Copyright ©2019. Licence: LGPL")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build...
using System.Reflection; [assembly: AssemblyCopyright("Copyright ©2019. Licence: LGPL")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build...
lgpl-2.1
C#
3e6ee2d34ddd52cc13da3b9c10d57e67fb60dcd6
Remove code involving MessageBox that did not belong in this class
xyon1/Expenditure-App
ServiceProvider/SettingsManager.cs
ServiceProvider/SettingsManager.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ServiceProvider { public static class SettingsManager { internal static void CheckForXmlFileDirectory(Func<string> getXmlFilePath, Action<string, string> messageForUser) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ServiceProvider { public static class SettingsManager { internal static void CheckForXmlFileDirectory(Func<string> getXmlFilePath, Action<string, string> messageForUser) ...
apache-2.0
C#
a84b8c642077d7f5eb2af6cf223bf6bdea1485f0
Fix bug where ParseExpression doesn't parse an expression but a query
terrajobst/nquery-vnext
NQuery.Language/SyntaxTree.cs
NQuery.Language/SyntaxTree.cs
using System; namespace NQuery.Language { public sealed class SyntaxTree { private readonly CompilationUnitSyntax _root; private readonly TextBuffer _textBuffer; private SyntaxTree(CompilationUnitSyntax root, TextBuffer textBuffer) { _root = root; _textB...
using System; namespace NQuery.Language { public sealed class SyntaxTree { private readonly CompilationUnitSyntax _root; private readonly TextBuffer _textBuffer; private SyntaxTree(CompilationUnitSyntax root, TextBuffer textBuffer) { _root = root; _textB...
mit
C#
0dd1ffc92b4c2a4c2bcdc926cf828048d6198f9f
Set MaximumInputs value properly
RonnChyran/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,faint32/snowflake-1,faint32/snowflake-1,faint32/snowflake-1,SnowflakePowered/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake
Snowflake/Platform/PlatformInfo.cs
Snowflake/Platform/PlatformInfo.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Snowflake.Information.MediaStore; using Snowflake.Information; using Snowflake.Controller; using System.Collections.ObjectModel; using Snowflake.Extensions; using Newtonsoft.Json.Linq; namespace S...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Snowflake.Information.MediaStore; using Snowflake.Information; using Snowflake.Controller; using System.Collections.ObjectModel; using Snowflake.Extensions; using Newtonsoft.Json.Linq; namespace S...
mpl-2.0
C#
8851e0078e580aefd039bc788ed7adaca70eb4ae
Add missing check on Array size
NicolasDorier/NBitcoin,MetacoSA/NBitcoin,MetacoSA/NBitcoin
NBitcoin/Protocol/VarString.cs
NBitcoin/Protocol/VarString.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBitcoin.Protocol { public class VarString : IBitcoinSerializable { public VarString() { _Bytes = new byte[0]; } byte[] _Bytes; public int Lengt...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBitcoin.Protocol { public class VarString : IBitcoinSerializable { public VarString() { _Bytes = new byte[0]; } byte[] _Bytes; public int Lengt...
mit
C#
23bb03bc09a10833a9fbe535f7d11b54fab23af3
Add internal weight calculation for requirements
victoria92/university-program-generator,victoria92/university-program-generator
UniProgramGen/Data/Requirements.cs
UniProgramGen/Data/Requirements.cs
using System.Collections.Generic; using UniProgramGen; using System.Linq; namespace UniProgramGen.Data { public class Requirements { public const uint TOTAL_HOURS = 15; public const uint TOTAL_WEEK_HOURS = 5 * TOTAL_HOURS; public readonly double weight; public readonly List<He...
using System.Collections.Generic; using UniProgramGen; namespace UniProgramGen.Data { public class Requirements { public readonly double weight; public readonly List<Helpers.TimeSlot> availableTimeSlots; public readonly List<Room> requiredRooms; public Requirements(double weig...
bsd-2-clause
C#
6a3ea187ad97d436342facb394cabed05e3ff876
Fix test json file path on unix systems
stranne/Vasttrafik.NET,stranne/Vasttrafik.NET
src/Stranne.VasttrafikNET.Tests/Helpers/JsonHelper.cs
src/Stranne.VasttrafikNET.Tests/Helpers/JsonHelper.cs
using System.IO; using Stranne.VasttrafikNET.Tests.Json; namespace Stranne.VasttrafikNET.Tests.Helpers { public static class JsonHelper { public static string GetJson(JsonFile jsonFile) { var fileName = $"{jsonFile}.json"; var json = File.ReadAllText($@"Json/{fileName}"...
using System.IO; using Stranne.VasttrafikNET.Tests.Json; namespace Stranne.VasttrafikNET.Tests.Helpers { public static class JsonHelper { public static string GetJson(JsonFile jsonFile) { var fileName = $"{jsonFile}.json"; var json = File.ReadAllText($@"Json\{fileName}"...
mit
C#
b07ff17b0824ba47f7f448872ab6820624ff5b9d
Simplify constructor
MobileEssentials/Merq
src/Vsix/Merq.Vsix/Components/AsyncManagerProvider.cs
src/Vsix/Merq.Vsix/Components/AsyncManagerProvider.cs
using System; using System.ComponentModel; using System.ComponentModel.Composition; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Merq.Properties; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; using Microsoft.VisualStudio.Threading; namespace Merq...
using System; using System.ComponentModel; using System.ComponentModel.Composition; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Merq.Properties; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; using Microsoft.VisualStudio.Threading; namespace Merq...
mit
C#
f66002c46f8246903d3bdefc1c2bf30581bff635
Fix for searching for basebuilder already defined on all assemblies
Ar3sDevelopment/Caelan.Frameworks.Common
Caelan.Frameworks.Common/Classes/GenericBuilder.cs
Caelan.Frameworks.Common/Classes/GenericBuilder.cs
using System; using System.Linq; using System.Reflection; using AutoMapper; namespace Caelan.Frameworks.Common.Classes { public static class GenericBuilder { public static BaseBuilder<TSource, TDestination> Create<TSource, TDestination>() where TDestination : class, new() where TSource : class, new() { ...
using AutoMapper; namespace Caelan.Frameworks.Common.Classes { public static class GenericBuilder { public static BaseBuilder<TSource, TDestination> Create<TSource, TDestination>() where TDestination : class, new() where TSource : class, new() { var builder = new BaseBuilder<TSource, TDestination>(); ...
mit
C#
07dfdcf9d0330817a47a40549a1cb2052462dbad
rename Log::Log to Log::LogMessage to fix compilation
HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteCh...
airesources/CSharp/Halite2/hlt/Log.cs
airesources/CSharp/Halite2/hlt/Log.cs
using System.IO; namespace Halite2.hlt { public class Log { private TextWriter file; private static Log instance; private Log(TextWriter f) { file = f; } public static void Initialize(TextWriter f) { instance = new Log(f); ...
using System.IO; namespace Halite2.hlt { public class Log { private TextWriter file; private static Log instance; private Log(TextWriter f) { file = f; } public static void Initialize(TextWriter f) { instance = new Log(f); ...
mit
C#
c9dbcc552c58546220f5651f34a305b3f615df30
Change Namespace
muhammedikinci/FuzzyCore
FuzzyCore/ConcreteCommands/GetProcesses_Command.cs
FuzzyCore/ConcreteCommands/GetProcesses_Command.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FuzzyCore.Server.Data; namespace FuzzyCore.Server { public class GetProcesses_Command : Command { public GetProcesses_Command(JsonCommand comm) : base(comm) { } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using fuzzyControl.Server.Data; namespace fuzzyControl.Server { public class GetProcesses_Command : Command { public GetProcesses_Command(JsonCommand comm) : base(comm) { ...
mit
C#
f10e28dbfdd3a2f7a6dde9cc950bed230a441dc0
Make DelegatingMetaObject work with field as well as property, and start to add some exceptions
MikeBeaton/SqlProfiler
DelegatingMetaObject.cs
DelegatingMetaObject.cs
using System; using System.Dynamic; using System.Linq.Expressions; using System.Reflection; namespace SqlProfiler { // TO DO: internal public class DelegatingMetaObject : DynamicMetaObject { private readonly DynamicMetaObject _innerMetaObject; /// <summary> /// Create delegating meta-object: methods and pro...
using System; using System.Dynamic; using System.Linq.Expressions; using System.Reflection; namespace SqlProfiler { // TO DO: internal public class DelegatingMetaObject : DynamicMetaObject { private readonly DynamicMetaObject _innerMetaObject; /// <summary> /// Create delegating meta-object: methods and pro...
bsd-3-clause
C#
6676c8402281b2ac1466b0d8db8d5fc876910860
Increase render distance for Overlay layer. Fixes large overlay tiles popping in
ethanmoffat/EndlessClient
EndlessClient/Rendering/MapEntityRenderers/OverlayLayerRenderer.cs
EndlessClient/Rendering/MapEntityRenderers/OverlayLayerRenderer.cs
using EndlessClient.Rendering.Map; using EOLib.Domain.Character; using EOLib.Domain.Map; using EOLib.Graphics; using EOLib.IO.Map; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace EndlessClient.Rendering.MapEntityRenderers { public class OverlayLayerRenderer : BaseMapEntityRenderer...
using EndlessClient.Rendering.Map; using EOLib.Domain.Character; using EOLib.Domain.Map; using EOLib.Graphics; using EOLib.IO.Map; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace EndlessClient.Rendering.MapEntityRenderers { public class OverlayLayerRenderer : BaseMapEntityRenderer...
mit
C#
222d63a4919b27245e90b163871be9d6e81176f3
Update EnumerableExtensions.Split.cs
NN---/CodeJam,rsdn/CodeJam
Main/src/Collections/EnumerableExtensions.Split.cs
Main/src/Collections/EnumerableExtensions.Split.cs
using System; using System.Collections.Generic; using JetBrains.Annotations; namespace CodeJam.Collections { partial class EnumerableExtensions { /// <summary> /// Splits the input sequence into a sequence of chunks of the specified size. /// </summary> /// <param name="source">The sequence to ...
using System; using System.Collections.Generic; using JetBrains.Annotations; namespace CodeJam.Collections { partial class EnumerableExtensions { /// <summary> /// Splits the input sequence into a sequence of chunks of the specified size. /// </summary> /// <param name="source">The sequence to ...
mit
C#
259d8597623a8db390187fad7b6d78191e307bcc
Add stream variant of GetFileHeader()
detaybey/MimeBank
MimeBank/MimeChecker.cs
MimeBank/MimeChecker.cs
/* * Programmed by Umut Celenli umut@celenli.com */ using System.Collections.Generic; using System.IO; using System.Linq; namespace MimeBank { /// <summary> /// This is the main class to check the file mime type /// Header list is loaded once /// </summary> public class MimeChecker ...
/* * Programmed by Umut Celenli umut@celenli.com */ using System.Collections.Generic; using System.IO; using System.Linq; namespace MimeBank { /// <summary> /// This is the main class to check the file mime type /// Header list is loaded once /// </summary> public class MimeChecker ...
apache-2.0
C#
321873c0fbfdbf3713b45327147a63545dd980bc
Redact DB password in logging
BlythMeister/Ensconce,BlythMeister/Ensconce,15below/Ensconce,15below/Ensconce
src/Ensconce.Cli/DatabaseInteraction.cs
src/Ensconce.Cli/DatabaseInteraction.cs
using Ensconce.Database; using Ensconce.Helpers; using System.Data.SqlClient; namespace Ensconce.Cli { internal static class DatabaseInteraction { internal static void DoDeployment() { SqlConnectionStringBuilder connStr = null; if (!string.IsNullOrEmpty(Arguments.Connec...
using Ensconce.Database; using Ensconce.Helpers; using System.Data.SqlClient; namespace Ensconce.Cli { internal static class DatabaseInteraction { internal static void DoDeployment() { SqlConnectionStringBuilder connStr = null; if (!string.IsNullOrEmpty(Arguments.Connec...
mit
C#
c908e13d15a7659b27ee4254fedc0315651862c3
Rename GetAllEntitiesPermissions To Query
tidm/TAuthorization
src/TAuthorization/TAuthorization.Test/TestAuthorizationDataStore.cs
src/TAuthorization/TAuthorization.Test/TestAuthorizationDataStore.cs
using System; using System.Collections.Generic; using System.Linq; namespace TAuthorization.Test { public class TestAuthorizationDataStore : IAuthorizationDataStore { private readonly IList<EntityPermission> _entityPermissions; public TestAuthorizationDataStore() { ...
using System; using System.Collections.Generic; using System.Linq; namespace TAuthorization.Test { public class TestAuthorizationDataStore : IAuthorizationDataStore { private readonly IList<EntityPermission> _entityPermissions; public TestAuthorizationDataStore() { _entityP...
mit
C#
b94964b88671643a7b8caa205ec951acc54ad747
Disable the master mobile site.
GeraldBecker/TechProFantasySoccer,GeraldBecker/TechProFantasySoccer,GeraldBecker/TechProFantasySoccer
TechProFantasySoccer/TechProFantasySoccer/App_Start/RouteConfig.cs
TechProFantasySoccer/TechProFantasySoccer/App_Start/RouteConfig.cs
using System; using System.Collections.Generic; using System.Web; using System.Web.Routing; using Microsoft.AspNet.FriendlyUrls; namespace TechProFantasySoccer { public static class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { /*var settings = new Friend...
using System; using System.Collections.Generic; using System.Web; using System.Web.Routing; using Microsoft.AspNet.FriendlyUrls; namespace TechProFantasySoccer { public static class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { var settings = new Friendly...
mit
C#
42e16ce3e1715d11ce879a4c4eec931a56d50dc7
Fix #124 with InvariantCulture in double.TryParse()
rianjs/ical.net
ical.NET/Serialization/iCalendar/Serializers/DataTypes/GeographicLocationSerializer.cs
ical.NET/Serialization/iCalendar/Serializers/DataTypes/GeographicLocationSerializer.cs
using System; using System.IO; using Ical.Net.DataTypes; using Ical.Net.Interfaces.DataTypes; using System.Globalization; namespace Ical.Net.Serialization.iCalendar.Serializers.DataTypes { public class GeographicLocationSerializer : EncodableDataTypeSerializer { public override Type TargetType => type...
using System; using System.IO; using Ical.Net.DataTypes; using Ical.Net.Interfaces.DataTypes; namespace Ical.Net.Serialization.iCalendar.Serializers.DataTypes { public class GeographicLocationSerializer : EncodableDataTypeSerializer { public override Type TargetType => typeof (GeographicLocation); ...
mit
C#
a6faa3e9d933a2d43be453782c82b99489af3cd2
Add a GitHub link.
MrJoy/UnityGit
Panels/GitAboutPanel.cs
Panels/GitAboutPanel.cs
using UnityEngine; using UnityEditor; public class GitAboutPanel : GitPanel { private GUIContent gitShellVersion = new GUIContent("UnityGit " + GitShell.VERSION); private GUIContent gitShellCopyright = new GUIContent("(C)Copyright 2010 MrJoy, Inc."); private GUIContent gitShellLink = new GUIContent("http://githu...
using UnityEngine; using UnityEditor; public class GitAboutPanel : GitPanel { private GUIContent gitShellVersion = new GUIContent("UnityGit " + GitShell.VERSION); private GUIContent gitShellCopyright = new GUIContent("(C)Copyright 2010 MrJoy, Inc."); private GUIContent gitVersion = null, gitBinary = null; priv...
mit
C#
dbd95354e8d802e8d1044992c5ca5e42668037ab
Make FortunaShaDouble256Extractor thread-safe.
henricj/SpongePrng,henricj/SpongePrng,henricj/SpongePrng
SpongePrng/Fortuna/FortunaShaDouble256Extractor.cs
SpongePrng/Fortuna/FortunaShaDouble256Extractor.cs
// Copyright (c) 2015 Henric Jungheim <software@henric.org> // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy...
// Copyright (c) 2015 Henric Jungheim <software@henric.org> // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy...
mit
C#
34d08ed1cae56a48114f98e41825687c9fa568c9
fix bug
gparlakov/chat-teamwork,gparlakov/chat-teamwork
WS-Team-Work/Chat.FileExtensions/ImageValidator.cs
WS-Team-Work/Chat.FileExtensions/ImageValidator.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Chat.FileExtensions { public static class ImageValidator { static string[] allowedImgageFormat = new string[] { "JPG","JPEG", "IMG", "GIF", "ICO", "JFIF", "Exif...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Chat.FileExtensions { public static class ImageValidator { static string[] allowedImgageFormat = new string[] { "jpg","jpeg", "img", "gif", "ico", "JPEG", "JFIF...
mit
C#
4323bf77797b7be6ad488b908672dba69faa57cf
Install default rules only if no customs are provided
tmds/Tmds.DBus
Monitor.cs
Monitor.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 ManagedDBusTest { public static void Main (string[] args) { string addr = Addr...
// 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 ManagedDBusTest { public static void Main (string[] args) { string addr = Addr...
mit
C#
e799951641d1fe703f528c739d9fedac4e4339c5
Update ApprenticeshipBase.cs
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
src/CommitmentsV2/SFA.DAS.CommitmentsV2/Models/ApprenticeshipBase.cs
src/CommitmentsV2/SFA.DAS.CommitmentsV2/Models/ApprenticeshipBase.cs
using System; using System.Collections.Generic; using SFA.DAS.CommitmentsV2.Types; namespace SFA.DAS.CommitmentsV2.Models { public abstract class ApprenticeshipBase : Aggregate { public ApprenticeshipBase() { ApprenticeshipUpdate = new List<ApprenticeshipUpdate>(); } ...
using System; using System.Collections.Generic; using SFA.DAS.CommitmentsV2.Types; namespace SFA.DAS.CommitmentsV2.Models { public abstract class ApprenticeshipBase : Aggregate { public bool IsApproved { get; set; } public virtual long Id { get; set; } public virtual long CommitmentId...
mit
C#
d7da5b57b5b8883307d2e7652ad06fa7a8091b54
Make sure config exists by checking steam credentials
thecocce/SteamDatabaseBackend,SteamDatabase/SteamDatabaseBackend,GoeGaming/SteamDatabaseBackend,agarbuno/SteamDatabaseBackend,SteamDatabase/SteamDatabaseBackend,SGColdSun/SteamDatabaseBackend,thecocce/SteamDatabaseBackend,SGColdSun/SteamDatabaseBackend,GoeGaming/SteamDatabaseBackend
Program.cs
Program.cs
/* * Copyright (c) 2013, SteamDB. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * * Future non-SteamKit stuff should go in this file. */ using System; using System.Configuration; using System.Threading; namespace PICSUpdater { cla...
/* * Copyright (c) 2013, SteamDB. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * * Future non-SteamKit stuff should go in this file. */ using System; using System.Threading; namespace PICSUpdater { class Program { sta...
bsd-3-clause
C#
83483c536cd51c5f1501a921aba02c61ebe2df32
Add comment.
mavasani/roslyn,tannergooding/roslyn,stephentoub/roslyn,panopticoncentral/roslyn,CaptainHayashi/roslyn,AnthonyDGreen/roslyn,heejaechang/roslyn,lorcanmooney/roslyn,abock/roslyn,abock/roslyn,jamesqo/roslyn,brettfo/roslyn,jkotas/roslyn,AlekseyTs/roslyn,shyamnamboodiripad/roslyn,Giftednewt/roslyn,kelltrick/roslyn,DustinCam...
src/EditorFeatures/Core/Implementation/CommentSelection/CommentSelectionServiceProxy.cs
src/EditorFeatures/Core/Implementation/CommentSelection/CommentSelectionServiceProxy.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Threading; using Microsoft.CodeAnalysis.CommentSelection; using Microsoft.CodeAnalysis.Text; namespace Micr...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Threading; using Microsoft.CodeAnalysis.CommentSelection; using Microsoft.CodeAnalysis.Text; namespace Micr...
mit
C#
0f2184e710f4002866902afecaf7747bd1018b39
Remove unused notfound method
Yonom/WebNom
WebNom/Pages/Monitor.cs
WebNom/Pages/Monitor.cs
using System; using System.Net; using System.Text.RegularExpressions; using MuffinFramework.Muffins; using WebNom.Http; namespace WebNom.Pages { public abstract class Monitor : Muffin { private HttpPlatform _httpPlatform; protected override void Enable() { this._httpPlatfo...
using System; using System.Net; using System.Text.RegularExpressions; using MuffinFramework.Muffins; using WebNom.Http; namespace WebNom.Pages { public abstract class Monitor : Muffin { private HttpPlatform _httpPlatform; protected override void Enable() { this._httpPlatfo...
mit
C#
9018f1c38add6da08ce2953534a60608fb950034
refactor SeleniumNotifier
OlegKleyman/AlphaDev,OlegKleyman/AlphaDev,OlegKleyman/AlphaDev
tests/integration/AlphaDev.Web.Tests.Integration/SeleniumNotifier.cs
tests/integration/AlphaDev.Web.Tests.Integration/SeleniumNotifier.cs
using System.IO; using System.Text.RegularExpressions; using LightBDD.Core.Metadata; using LightBDD.Core.Notification; using LightBDD.Core.Results; using OpenQA.Selenium; namespace AlphaDev.Web.Tests.Integration { public class SeleniumNotifier : IScenarioProgressNotifier { private readonly ITakesScree...
using System.IO; using System.Text.RegularExpressions; using LightBDD.Core.Metadata; using LightBDD.Core.Notification; using LightBDD.Core.Results; using OpenQA.Selenium; namespace AlphaDev.Web.Tests.Integration { public class SeleniumNotifier : IScenarioProgressNotifier { private readonly ITakesScree...
unlicense
C#
1c83e565f7532cff0a66b7eb7bf86e6bdfe199ab
Fix race condition for some threading tests using GC.KeepAlive (#13351)
dpodder/coreclr,hseok-oh/coreclr,JonHanna/coreclr,JosephTremoulet/coreclr,AlexGhiondea/coreclr,mmitche/coreclr,mmitche/coreclr,dpodder/coreclr,rartemev/coreclr,dpodder/coreclr,poizan42/coreclr,parjong/coreclr,wtgodbe/coreclr,JonHanna/coreclr,botaberg/coreclr,hseok-oh/coreclr,yizhang82/coreclr,mskvortsov/coreclr,yizhang...
tests/src/baseservices/threading/mutex/openexisting/openmutexneg7.cs
tests/src/baseservices/threading/mutex/openexisting/openmutexneg7.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.Threading; class OpenMutexNeg { public ManualResetEvent mre; public Mutex mut; ...
// 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.Threading; class OpenMutexNeg { public ManualResetEvent mre; public Mutex mut; ...
mit
C#
593c557bb4839b66fce93a3682788c3fc6f04ce9
fix casing of API URL constant
NebulousConcept/b2-csharp-client
b2-csharp-client-test/B2.Client/TestEnvironment.cs
b2-csharp-client-test/B2.Client/TestEnvironment.cs
using System; using NUnit.Framework; namespace B2.Client.Test { internal static class TestEnvironment { internal const string B2ApiUrl = "https://api.backblazeb2.com"; internal static string GetTestConfiguration(string key) { var ret = Environment.GetEnvironmentVariable(k...
using System; using NUnit.Framework; namespace B2.Client.Test { internal static class TestEnvironment { internal const string B2_API_URL = "https://api.backblazeb2.com"; internal static string GetTestConfiguration(string key) { var ret = Environment.GetEnvironmentVariable...
mit
C#
a005f596c9e106727edb096d4be18c1b98370d6a
Fix date 2008 -> 2009
codingteam/codingteam.org.ru,codingteam/codingteam.org.ru
Views/Home/Index.cshtml
Views/Home/Index.cshtml
<p>Welcome! Codingteam is an open community of engineers and programmers.</p> <p>And here're today's conference logs:</p> <iframe class="logs" src="@ViewData["LogUrl"]"></iframe> <a href="/old-logs/codingteam@conference.jabber.ru/">Older logs (mostly actual in period 2009-08-22 — 2016-12-09)</a>
<p>Welcome! Codingteam is an open community of engineers and programmers.</p> <p>And here're today's conference logs:</p> <iframe class="logs" src="@ViewData["LogUrl"]"></iframe> <a href="/old-logs/codingteam@conference.jabber.ru/">Older logs (mostly actual in period 2008-08-22 — 2016-12-09)</a>
mit
C#
fe5b6d67c5cffcbf07c0ec72135fc2f4afc99aa7
Fix routing sample
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNet.Routing/RoutingServices.cs
src/Microsoft.AspNet.Routing/RoutingServices.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNet.Routing; namespace Microsoft.Framework.DependencyInjection { public static class RoutingServices { ...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNet.Routing; namespace Microsoft.Framework.DependencyInjection { public static class RoutingServices { ...
apache-2.0
C#
3848da321e2ff0c2347e7c5955ddda4284a474db
Allow to specify which TraceEventType will cause DebuggerTraceListener to break
xecrets/nlight,slorion/nlight
src/NLight/Diagnostics/DebuggerTraceListener.cs
src/NLight/Diagnostics/DebuggerTraceListener.cs
// Author(s): Sébastien Lorion // inspired by https://github.com/akkadotnet/akka.net/pull/1424 using System.Diagnostics; namespace NLight.Diagnostics { /// <summary> /// A trace listener that will break in the debugger when the <see cref="TraceEventType"/> is equal or lower /// than the value specified by <see c...
// Author(s): Sébastien Lorion // inspired by https://github.com/akkadotnet/akka.net/pull/1424 using System.Diagnostics; namespace NLight.Diagnostics { public class DebuggerTraceListener : TraceListener { public bool BreakOnErrorEnabled { get; set; } = true; public override void Write(string message) => Deb...
mit
C#
d31c18e128b9182e2292f2787876c1dcc3ced6af
Make string accessor returning a string
lunet-io/scriban,textamina/scriban
src/Scriban/Runtime/Accessors/StringAccessor.cs
src/Scriban/Runtime/Accessors/StringAccessor.cs
// Copyright (c) Alexandre Mutel. All rights reserved. // Licensed under the BSD-Clause 2 license. // See license.txt file in the project root for full license information. using System.Collections.Generic; using Scriban.Parsing; using Scriban.Syntax; namespace Scriban.Runtime.Accessors { public class StringAccess...
// Copyright (c) Alexandre Mutel. All rights reserved. // Licensed under the BSD-Clause 2 license. // See license.txt file in the project root for full license information. using System.Collections.Generic; using Scriban.Parsing; using Scriban.Syntax; namespace Scriban.Runtime.Accessors { public class StringAcces...
bsd-2-clause
C#
7640d7800ea449775893e040cb457776ce0d1693
Fix untranslatable query
ShadowNoire/NadekoBot
NadekoBot.Core/Services/Database/Repositories/Impl/QuoteRepository.cs
NadekoBot.Core/Services/Database/Repositories/Impl/QuoteRepository.cs
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using NadekoBot.Common; namespace NadekoBot.Core.Services.Database.Repositories.Impl { public class QuoteR...
using NadekoBot.Core.Services.Database.Models; using NadekoBot.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using NadekoBot.Common; namespace NadekoBot.Core.Services.Database.Repositories.Impl { public class QuoteR...
mit
C#
2edcf11ff676a930a72ab114e6b4c4a49ae8aa99
Use timestamp properly.
vcsjones/OpenVsixSignTool
src/OpenVsixSignTool.Core/Timestamp/TimestampBuilder.netcoreapp.cs
src/OpenVsixSignTool.Core/Timestamp/TimestampBuilder.netcoreapp.cs
using System; using System.Net; using System.Net.Http; using System.Security.Cryptography; using System.Security.Cryptography.Pkcs; using System.Threading.Tasks; namespace OpenVsixSignTool.Core.Timestamp { static partial class TimestampBuilder { private static async Task<(TimestampResult, byte[])> Sub...
using System; using System.Net; using System.Net.Http; using System.Security.Cryptography; using System.Security.Cryptography.Pkcs; using System.Threading.Tasks; namespace OpenVsixSignTool.Core.Timestamp { static partial class TimestampBuilder { private static async Task<(TimestampResult, byte[])> Sub...
mit
C#
bd032ff4ead9da2aceff36807d07368e83cfe69d
Check all object for ispassable
fomalsd/unitystation,Necromunger/unitystation,krille90/unitystation,Necromunger/unitystation,Necromunger/unitystation,krille90/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,kril...
UnityProject/Assets/Scripts/Tilemaps/Behaviours/Layers/ObjectLayer.cs
UnityProject/Assets/Scripts/Tilemaps/Behaviours/Layers/ObjectLayer.cs
using System.Collections.Generic; using System.Linq; using UnityEngine; [ExecuteInEditMode] public class ObjectLayer : Layer { private TileList _objects; public TileList Objects => _objects ?? (_objects = new TileList()); public override void SetTile(Vector3Int position, GenericTile tile, Matrix4x4 transf...
using System.Collections.Generic; using System.Linq; using UnityEngine; [ExecuteInEditMode] public class ObjectLayer : Layer { private TileList _objects; public TileList Objects => _objects ?? (_objects = new TileList()); public override void SetTile(Vector3Int position, GenericTile tile, Matrix4x4 transf...
agpl-3.0
C#
c48d32dbd8a998bf223cb3171a56186096f667d8
clean up interface... ooppss lol
justcoding121/Titanium-Web-Proxy,titanium007/Titanium,titanium007/Titanium-Web-Proxy
src/Titanium.Web.Proxy/Models/IExternalProxy.cs
src/Titanium.Web.Proxy/Models/IExternalProxy.cs
namespace Titanium.Web.Proxy.Models { public interface IExternalProxy { /// <summary> /// Use default windows credentials? /// </summary> bool UseDefaultCredentials { get; set; } /// <summary> /// Bypass this proxy for connections to localhost? /...
namespace Titanium.Web.Proxy.Models { public interface IExternalProxy { /// <summary> /// Use default windows credentials? /// </summary> public bool UseDefaultCredentials { get; set; } /// <summary> /// Bypass this proxy for connections to localhost? ...
mit
C#
d31978f23eb1faa82faee6b7eb5fd87cf161cef4
Update publish on InMemoryEventBus to return false if it fails to publish event
Elders/Cronus,Elders/Cronus
src/Cronus.Core/Eventing/InMemoryEventBus.cs
src/Cronus.Core/Eventing/InMemoryEventBus.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Reflection.Emit; using System.Threading.Tasks; namespace Cronus.Core.Eventing { /// <summary> /// Represents an in memory event messaging destribution /// </summary> public class InMemo...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Reflection.Emit; using System.Threading.Tasks; namespace Cronus.Core.Eventing { /// <summary> /// Represents an in memory event messaging destribution /// </summary> public class InMemo...
apache-2.0
C#
82d9f2b0e7126640f5e2911715bc273a12cc7146
tidy up formatting
WorldWideTelescope/wwt-website,WorldWideTelescope/wwt-website,WorldWideTelescope/wwt-website
src/WWTMVC5/Views/Shared/_ContentPage.cshtml
src/WWTMVC5/Views/Shared/_ContentPage.cshtml
@{ Layout = "~/Views/Shared/_Layout.cshtml"; } @section head{ @RenderSection("head", required: false) } <div class="row"> <div class="col-md-3"> <div class="bs-sidebar" id="cellLeftNav"> <ul class="nav bs-sidenav"> @RenderSection("leftnav", required: false) </ul> </div> </div> <div class="col-md-9"...
 @{ Layout = "~/Views/Shared/_Layout.cshtml"; } @section head{ @RenderSection("head", required: false) } <div class="row"> <div class="col-md-3"> <div class="bs-sidebar" id="cellLeftNav"> <ul class="nav bs-sidenav"> @RenderSection("leftnav", required: false) </ul> </div> </div> <div class="col-...
mit
C#
fe216025c92236fb1e6ccce31de4ebc646ccb893
Fix bugs with the querying from the AA lsl functions.
TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim
Aurora/Services/DataService/Connectors/Local/LocalAssetConnector.cs
Aurora/Services/DataService/Connectors/Local/LocalAssetConnector.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Aurora.DataManager; using Aurora.Framework; using OpenMetaverse; using Nini.Config; using OpenSim.Framework; using Aurora.Simulation.Base; using OpenSim.Services.Interfaces; namespace Aurora.Services.DataService { public cl...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Aurora.DataManager; using Aurora.Framework; using OpenMetaverse; using Nini.Config; using OpenSim.Framework; using Aurora.Simulation.Base; using OpenSim.Services.Interfaces; namespace Aurora.Services.DataService { public cl...
bsd-3-clause
C#
cdfa29cce50fc3a11070c05d72c9239b3d8273a4
Remove TabTypeUtilities class.
GetTabster/Tabster.Core
Types/TabType.cs
Types/TabType.cs
namespace Tabster.Core.Types { public enum TabType { Guitar, Chords, Bass, Drum, Ukulele } public static class TabTypeExtensions { public static string ToFriendlyString(this TabType type) { switch (type) ...
#region using System; #endregion namespace Tabster.Core.Types { public enum TabType { Guitar, Chords, Bass, Drum, Ukulele } public static class TabTypeUtilities { internal static readonly string[] _typeStrings = new[] {"Guitar T...
apache-2.0
C#
979c4a3f6be79fe94bb7e0b0a0129e159f93df99
Enforce single responsibility principle -- decorators can implement additional functionality.
brendanjbaker/Bakery
src/Bakery/Logging/ConsoleLog.cs
src/Bakery/Logging/ConsoleLog.cs
namespace Bakery.Logging { using System; public class ConsoleLog : ILog { public void Write(Level logLevel, String message) { var textWriter = logLevel >= Level.Warning ? Console.Error : Console.Out; textWriter.WriteLine(message); } } }
namespace Bakery.Logging { using System; using Time; public class ConsoleLog : ILog { private readonly IClock clock; public ConsoleLog(IClock clock) { this.clock = clock; } public void Write(Level logLevel, String message) { const String FORMAT = "{0}: [{1}] {2}"; var ...
mit
C#
e68ce5643e815210d0b8f8b622eed3aae30e74dd
Revert "restore file."
wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalon...
src/Avalonia.OpenGL/Angle/AngleEglInterface.cs
src/Avalonia.OpenGL/Angle/AngleEglInterface.cs
using System; using System.Runtime.InteropServices; using Avalonia.Platform; using Avalonia.Platform.Interop; namespace Avalonia.OpenGL.Angle { public class AngleEglInterface : EglInterface { [DllImport("libglesv2.dll", CharSet = CharSet.Ansi)] static extern IntPtr EGL_GetProcAddress(string pro...
using System; using System.Runtime.InteropServices; using Avalonia.Platform; using Avalonia.Platform.Interop; namespace Avalonia.OpenGL.Angle { public class AngleEglInterface : EglInterface { [DllImport("libegl.dll", CharSet = CharSet.Ansi)] static extern IntPtr eglGetProcAddress(string proc); ...
mit
C#
d1b38302a66ca5d655944b969e35029483d0e287
fix #3678 Add a constructor in the Log4NetLoggerFactory to implement the reloadOnChange feature.
aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplate,carldai0106/aspnetboilerplate,verdentk/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,zclmoon/aspnetboilerplate,virtualcca/aspnetboilerplate,Nongzhsh/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplate,ilyhacker/aspnetboi...
src/Abp.Castle.Log4Net/Castle/Logging/Log4Net/Log4NetLoggerFactory.cs
src/Abp.Castle.Log4Net/Castle/Logging/Log4Net/Log4NetLoggerFactory.cs
using System; using System.IO; using System.Xml; using Abp.Reflection.Extensions; using Castle.Core.Logging; using log4net; using log4net.Config; using log4net.Repository; namespace Abp.Castle.Logging.Log4Net { public class Log4NetLoggerFactory : AbstractLoggerFactory { internal const string DefaultCo...
using System; using System.IO; using System.Xml; using Abp.Reflection.Extensions; using Castle.Core.Logging; using log4net; using log4net.Config; using log4net.Repository; namespace Abp.Castle.Logging.Log4Net { public class Log4NetLoggerFactory : AbstractLoggerFactory { internal const string DefaultCo...
mit
C#
e81f89e3f0b49a6161da347321b4493dd496423c
Add note to change the version number for both VSIX files
ericstj/nuproj,PedroLamas/nuproj,nuproj/nuproj,faustoscardovi/nuproj,kovalikp/nuproj,AArnott/nuproj,zbrad/nuproj,oliver-feng/nuproj,NN---/nuproj
src/Common/CommonAssemblyInfo.cs
src/Common/CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyCompany("Immo Landwerth")] [assembly: AssemblyProduct("NuProj")] [assembly: AssemblyCopyright("Copyright © Immo Landwerth")] [assembly: AssemblyTrademark("")] [assembly : AssemblyMetadata("PreRelease", "Beta")] [assembly : AssemblyMetadata("ProjectUrl", "http://nuproj.net"...
using System.Reflection; [assembly: AssemblyCompany("Immo Landwerth")] [assembly: AssemblyProduct("NuProj")] [assembly: AssemblyCopyright("Copyright © Immo Landwerth")] [assembly: AssemblyTrademark("")] [assembly : AssemblyMetadata("PreRelease", "Beta")] [assembly : AssemblyMetadata("ProjectUrl", "http://nuproj.net"...
mit
C#
ef6a975d648137cad41050d11493a7820a28f93a
Add ProtocolAttribute.WrapperType and .Name.
mono/maccore
src/Foundation/ModelAttribute.cs
src/Foundation/ModelAttribute.cs
// // Copyright 2009-2010, 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, including // without limitation the rights to use, copy, modify, merge, publ...
// // Copyright 2009-2010, 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, including // without limitation the rights to use, copy, modify, merge, publ...
apache-2.0
C#
8b40dac983c618527bb9a357d18697624f199d37
Improve test coverage for Parsed<T> by mirroring the test coverage for Error<T>.
plioi/parsley
src/Parsley.Tests/ParsedTests.cs
src/Parsley.Tests/ParsedTests.cs
namespace Parsley.Tests; class ParsedTests { public void CanIndicateSuccessfullyParsedValueAtTheCurrentPosition() { var parsed = new Parsed<string>("parsed", new(12, 34)); parsed.Success.ShouldBe(true); parsed.Value.ShouldBe("parsed"); parsed.ErrorMessages.ShouldBe(ErrorMessageL...
namespace Parsley.Tests; class ParsedTests { public void HasAParsedValue() { new Parsed<string>("parsed", new(1, 1)).Value.ShouldBe("parsed"); } public void HasNoErrorMessageByDefault() { new Parsed<string>("x", new(1, 1)).ErrorMessages.ShouldBe(ErrorMessageList.Empty); } ...
mit
C#
8bdc4e8b64b6361d81aca8cba8e820e58b8633ac
Add internal constructor AllExistingOrderStatuses
bretgourdie/stockfighter
StockFighter/API/Responses/AllExistingOrderStatuses.cs
StockFighter/API/Responses/AllExistingOrderStatuses.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StockFighter.API.Responses { /// <summary> /// Client-facing response from querying all existing orders. /// </summary> public class AllExistingOrderStatuses : Common.APIRespon...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StockFighter.API.Responses { /// <summary> /// Client-facing response from querying all existing orders. /// </summary> public class AllExistingOrderStatuses : Common.APIRespon...
mit
C#
64f74ccfd560132570b2958d9af7e936c3cc9c4a
Fix accidental type conversion breakage.
nemec/clipr
clipr/Utils/ObjectTypeConverter.cs
clipr/Utils/ObjectTypeConverter.cs
using System; using System.ComponentModel; using System.Globalization; using System.Linq; namespace clipr.Utils { /// <summary> /// <para> /// A TypeConverter that allows conversion of any object to System.Object. /// Does not actually perform a conversion, just passes the value on /// through. ...
using System; using System.ComponentModel; using System.Globalization; using System.Linq; namespace clipr.Utils { /// <summary> /// <para> /// A TypeConverter that allows conversion of any object to System.Object. /// Does not actually perform a conversion, just passes the value on /// through. ...
mit
C#
dafe5a04a988d45357b7d0cbd5a44cd282fbcca5
remove alt text to be decorative
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
src/StockportWebapp/Views/healthystockport/Shared/SubItem-List.cshtml
src/StockportWebapp/Views/healthystockport/Shared/SubItem-List.cshtml
@model StockportWebapp.Models.SubItem <li class="article-list-item article-list-item-mobile grid-33 tablet-grid-50 mobile-grid-100 matchbox-item"> <a href="@Model.NavigationLink" class="article-list-item-block grid-45 tablet-grid-45"> @if (!string.IsNullOrEmpty(Model.Image)) { <div sty...
@model StockportWebapp.Models.SubItem <li class="article-list-item article-list-item-mobile grid-33 tablet-grid-50 mobile-grid-100 matchbox-item"> <a href="@Model.NavigationLink" class="article-list-item-block grid-45 tablet-grid-45"> @if (!string.IsNullOrEmpty(Model.Image)) { <div sty...
mit
C#
362e7312042d7a50f8eec2fb11593714858d15fe
Hide InternalParserConfig because it shouldn't be public.
nemec/clipr
clipr/Core/VerbParserConfig.cs
clipr/Core/VerbParserConfig.cs
 namespace clipr.Core { /// <summary> /// Parsing config for a verb, includes a way to "set" the resulting /// verb on the original options object. /// </summary> public interface IVerbParserConfig: IParserConfig { /// <summary> /// Store the verb on the options objcet. ...
 namespace clipr.Core { /// <summary> /// Parsing config for a verb, includes a way to "set" the resulting /// verb on the original options object. /// </summary> public interface IVerbParserConfig: IParserConfig { /// <summary> /// Store the verb on the options objcet. ...
mit
C#
3cdf9e78bec7545396e319f7ff92ae99092d82d1
update app version
aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template
aspnet-core/src/AbpCompanyName.AbpProjectName.Core/AppVersionHelper.cs
aspnet-core/src/AbpCompanyName.AbpProjectName.Core/AppVersionHelper.cs
using System; using System.IO; using Abp.Reflection.Extensions; namespace AbpCompanyName.AbpProjectName { /// <summary> /// Central point for application version. /// </summary> public class AppVersionHelper { /// <summary> /// Gets current version of the application. /// I...
using System; using System.IO; using Abp.Reflection.Extensions; namespace AbpCompanyName.AbpProjectName { /// <summary> /// Central point for application version. /// </summary> public class AppVersionHelper { /// <summary> /// Gets current version of the application. /// I...
mit
C#
32480909dd0b11b81257e8cf9f3ad8e0c2e03c1a
Add Progress set to TextAdvance
NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare
Assets/Scripts/UI/AdvancingText.cs
Assets/Scripts/UI/AdvancingText.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.Events; using TMPro; public class AdvancingText : MonoBehaviour { [SerializeField] private float advanceSpeed; [SerializeField] private UnityEvent onComplete; private bool ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.Events; using TMPro; public class AdvancingText : MonoBehaviour { [SerializeField] private float advanceSpeed; [SerializeField] private UnityEvent onComplete; private bool ...
mit
C#
893ec687c0c712ee3aa2a0148b07558e6be039c1
fix test
quezlatch/Binky
Binky.Tests/old_values_in_cache.cs
Binky.Tests/old_values_in_cache.cs
using System; using System.Threading; using Xunit; namespace Binky.Tests { public class old_values_in_cache : IDisposable { readonly Cache<string, DateTime> _cache; int _count; public old_values_in_cache() { _cache = CacheBuilder .With<string, DateTime>(key => { _count++; return DateTi...
using System; using System.Threading; using Xunit; namespace Binky.Tests { public class old_values_in_cache : IDisposable { readonly Cache<string, DateTime> _cache; int _count; public old_values_in_cache() { _cache = CacheBuilder .With<string, DateTime>(key => { _count++; return DateTi...
mit
C#
7217db50f343d4ccd8d14debb507b322117103da
Fix ICommandDispatcher
Vtek/Bartender
src/Bartender/ICommandDispatcher.cs
src/Bartender/ICommandDispatcher.cs
namespace Bartender { /// <summary> /// Define a command dispatcher /// </summary> public interface ICommandDispatcher { /// <summary> /// Dispatch a command /// </summary> /// <param name="command">Command to dispatch</param> /// <returns>Result</returns> ...
namespace Cheers.Cqrs.Write { /// <summary> /// Define a command dispatcher /// </summary> public interface ICommandDispatcher { /// <summary> /// Dispatch a command /// </summary> /// <param name="command">Command to dispatch</param> /// <returns>Result</ret...
mit
C#
4f181bae5dbc4a6841fb2f89bd3a1c45058b5500
Add missing 'else'
sean-gilliam/msbuild,AndyGerlicher/msbuild,AndyGerlicher/msbuild,rainersigwald/msbuild,sean-gilliam/msbuild,sean-gilliam/msbuild,rainersigwald/msbuild,rainersigwald/msbuild,rainersigwald/msbuild,AndyGerlicher/msbuild,sean-gilliam/msbuild,AndyGerlicher/msbuild
src/Build/Globbing/CompositeGlob.cs
src/Build/Globbing/CompositeGlob.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; namespace Microsoft.Build.Globbing { /// <summary> /// A Composi...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; namespace Microsoft.Build.Globbing { /// <summary> /// A Composi...
mit
C#
3c7b03ca7a2c68785e5ece20c3d882e71d7de71e
Fix LanguageDepotProject credentials to match MongoDB
sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge
src/LfMerge/LanguageDepotProject.cs
src/LfMerge/LanguageDepotProject.cs
// Copyright (c) 2015 SIL International // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using System.Linq; using MongoDB.Bson; using MongoDB.Driver; namespace LfMerge { public class LanguageDepotProject: ILanguageDepotProject { private ILfMergeSettings Setting...
// Copyright (c) 2015 SIL International // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using System.Linq; using MongoDB.Bson; using MongoDB.Driver; namespace LfMerge { public class LanguageDepotProject: ILanguageDepotProject { private ILfMergeSettings Setting...
mit
C#
03576d389de874c000d9893968f49bc48f28fab2
Update IRouteResolver.cs
joebuschmann/Nancy,grumpydev/Nancy,daniellor/Nancy,xt0rted/Nancy,dbabox/Nancy,AlexPuiu/Nancy,charleypeng/Nancy,tparnell8/Nancy,daniellor/Nancy,nicklv/Nancy,SaveTrees/Nancy,SaveTrees/Nancy,adamhathcock/Nancy,tsdl2013/Nancy,sroylance/Nancy,Worthaboutapig/Nancy,danbarua/Nancy,murador/Nancy,guodf/Nancy,phillip-haydon/Nancy...
src/Nancy/Routing/IRouteResolver.cs
src/Nancy/Routing/IRouteResolver.cs
namespace Nancy.Routing { /// <summary> /// Returns a route that matches the request /// </summary> public interface IRouteResolver { /// <summary> /// Gets the route, and the corresponding parameter dictionary from the URL /// </summary> /// <param name="c...
namespace Nancy.Routing { /// <summary> /// Returns a route that matches the request /// </summary> public interface IRouteResolver { /// <summary> /// Gets the route, and the corresponding parameter dictionary from the URL /// </summary> /// <param name="c...
mit
C#