commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
de8271ad6bff2193377e12fafbccf0953d99402d
osu.Game.Rulesets.Mania/Beatmaps/ManiaBeatmapConverter.cs
osu.Game.Rulesets.Mania/Beatmaps/ManiaBeatmapConverter.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Rulesets.Beatmaps; using osu.Game.Rulesets.Mania.Objects; using System; using System.Collections.Generic; using osu.Game.Beatmaps; using osu.Game...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Rulesets.Beatmaps; using osu.Game.Rulesets.Mania.Objects; using System; using System.Collections.Generic; using osu.Game.Beatmaps; using osu.Game...
Fix out of range exceptions due to out-of-order hitobjects.
Fix out of range exceptions due to out-of-order hitobjects.
C#
mit
peppy/osu,UselessToucan/osu,naoey/osu,smoogipoo/osu,osu-RP/osu-RP,Nabile-Rahmani/osu,EVAST9919/osu,2yangk23/osu,smoogipooo/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,naoey/osu,Damnae/osu,johnneijzen/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,ZLima12/osu,tacchinotacchi/osu,peppy/osu,smoogipoo/osu...
186d43366f08e9e6d6c50e3bb33afeb34a7054d0
HouseCannith.Frontend/Program.cs
HouseCannith.Frontend/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace HouseCannith_Frontend { public class Program { public static void Main(string[] args) { ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace HouseCannith_Frontend { public class Program { public static void Main(string[] args) { ...
Add comment explaining UseUrls usage
Add comment explaining UseUrls usage
C#
mit
dbjorge/housecannith,dbjorge/housecannith,dbjorge/housecannith
eeda7820bf1c779d4728f901039f268117d1bc91
source/XeroApi/Model/Payment.cs
source/XeroApi/Model/Payment.cs
using System; namespace XeroApi.Model { public class Payment : EndpointModelBase { [ItemId] public Guid? PaymentID { get; set; } public DateTime Date { get; set; } public decimal Amount { get; set; } public string Reference { get; set; } public...
using System; namespace XeroApi.Model { public class Payment : EndpointModelBase { [ItemId] public Guid? PaymentID { get; set; } public DateTime Date { get; set; } public decimal Amount { get; set; } public string Reference { get; set; } public...
Allow payments to be marked as reconciled
Allow payments to be marked as reconciled Update with version 2.43
C#
mit
TDaphneB/XeroAPI.Net,XeroAPI/XeroAPI.Net,MatthewSteeples/XeroAPI.Net,jcvandan/XeroAPI.Net
c98c761a8024de92a94c4ba060629d62c9505159
src/LibSassGen/CodeGenerator.cs
src/LibSassGen/CodeGenerator.cs
using System; using System.IO; namespace LibSassGen { public partial class CodeGenerator { private const string DefaultIncludeDir = @"../../../../../libsass/include"; private const string DefaultOutputFilePath = @"../../../../SharpScss/LibSass.Generated.cs"; private const int IndentMu...
using System; using System.IO; namespace LibSassGen { public partial class CodeGenerator { private const string DefaultIncludeDir = @"../../../../libsass/include"; private const string DefaultOutputFilePath = @"../../../SharpScss/LibSass.Generated.cs"; private const int IndentMultiplie...
Update code generator relative filepath
Update code generator relative filepath
C#
bsd-2-clause
xoofx/SharpScss,xoofx/SharpScss
28fb1221601afdf629420509ae4147953aa9c3b4
src/Xpdm.PurpleOnion/Program.cs
src/Xpdm.PurpleOnion/Program.cs
using System; using System.IO; using System.Security.Cryptography; using Mono.Security; using Mono.Security.Cryptography; namespace Xpdm.PurpleOnion { class Program { private static void Main() { long count = 0; while (true) { RSA pki = RSA.Create(); ASN1 asn = RSAExtensions.ToAsn1Key(pki); ...
using System; using System.IO; using System.Security.Cryptography; using Mono.Security; using Mono.Security.Cryptography; namespace Xpdm.PurpleOnion { static class Program { private static void Main() { long count = 0; while (true) { RSA pki = RSA.Create(); ASN1 asn = RSAExtensions.ToAsn1Key(pki...
Make main program class static
Make main program class static (Gendarme:AvoidConstructorsInStaticTypes)
C#
bsd-3-clause
printerpam/purpleonion,neoeinstein/purpleonion,printerpam/purpleonion
94fbba76bf11440c0d97403c4123247b69e31af3
GoldenAnvil.Utility.Windows/EnumToDisplayStringConverter.cs
GoldenAnvil.Utility.Windows/EnumToDisplayStringConverter.cs
using System; using System.Resources; using System.Windows.Data; namespace GoldenAnvil.Utility.Windows { public sealed class EnumToDisplayStringConverter : IValueConverter { public static readonly EnumToDisplayStringConverter Instance = new EnumToDisplayStringConverter(); public object Convert(object value, Ty...
using System; using System.Resources; using System.Windows.Data; namespace GoldenAnvil.Utility.Windows { public sealed class EnumToDisplayStringConverter : IValueConverter { public static readonly EnumToDisplayStringConverter Instance = new EnumToDisplayStringConverter(); public object Convert(object value, Ty...
Fix crash when clearing resetting template
Fix crash when clearing resetting template
C#
mit
SaberSnail/GoldenAnvil.Utility
65a7c5e1226b82c8bc1d57effd6a7e22f3d27a8e
src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/IDbFactory.cs
src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/IDbFactory.cs
using System; using System.Data; namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Data { public interface IDbFactory { /// <summary> /// Creates an instance of your ISession expanded interface /// </summary> /// <typeparam name="T"></typeparam> /// <returns>ISession</r...
using System; using System.Data; namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Data { public interface IDbFactory { /// <summary> /// Creates an instance of your ISession expanded interface /// </summary> /// <typeparam name="T"></typeparam> /// <returns>ISession</r...
Remove obsolete methods and add sumary texts.
Remove obsolete methods and add sumary texts.
C#
mit
generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork
81f004f0aeedd4d241f23f9e7aee35de2d9bae5a
source/Playnite/CefTools.cs
source/Playnite/CefTools.cs
using CefSharp; using CefSharp.Wpf; using Playnite.Common; using Playnite.Settings; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Playnite { public class CefTools { public static bool IsInit...
using CefSharp; using CefSharp.Wpf; using Playnite.Common; using Playnite.Settings; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Playnite { public class CefTools { public static bool IsInit...
Change default user agent for web views
Change default user agent for web views
C#
mit
JosefNemec/Playnite,JosefNemec/Playnite,JosefNemec/Playnite
ed264518b7dfea6d7f7366b2c03eca9baf24ec50
Framework/Pair.cs
Framework/Pair.cs
using System; using System.Collections.Generic; namespace TirkxDownloader.Framework { public sealed class Pair<TFirst, TSecond> : IEquatable<Pair<TFirst, TSecond>> { private readonly TFirst first; private readonly TSecond second; public Pair(TFirst first, TSecond second) { ...
using System; using System.Collections.Generic; namespace TirkxDownloader.Framework { public sealed class Pair<TFirst, TSecond> : IEquatable<Pair<TFirst, TSecond>> { private readonly TFirst first; private readonly TSecond second; public Pair(TFirst first, TSecond second) { ...
Delete override keyword from Equals method to indicate that this method implement interface
Delete override keyword from Equals method to indicate that this method implement interface
C#
mit
witoong623/TirkxDownloader,witoong623/TirkxDownloader
06e92f7e92dc026c255d329404017ac2d8c24872
Tests/AirbrakeValidator.cs
Tests/AirbrakeValidator.cs
using System; using System.IO; using System.Text; using System.Xml; using System.Xml.Schema; using NUnit.Framework; namespace SharpBrake.Tests { public class AirbrakeValidator { public static void ValidateSchema(string xml) { var schema = GetXmlSchema(); XmlReaderSetti...
using System; using System.IO; using System.Text; using System.Xml; using System.Xml.Schema; using NUnit.Framework; namespace SharpBrake.Tests { public class AirbrakeValidator { public static void ValidateSchema(string xml) { var schema = GetXmlSchema(); XmlReaderSetti...
Return instead of using a variable.
Return instead of using a variable.
C#
mit
airbrake/SharpBrake,kayoom/SharpBrake,cbtnuggets/SharpBrake,airbrake/SharpBrake
5a1654893223486ca082e6456c8994a25c377ae4
Alexa.NET.Management/IVendorApi.cs
Alexa.NET.Management/IVendorApi.cs
using Alexa.NET.Management.Vendors; using Refit; namespace Alexa.NET.Management { [Headers("Authorization: Bearer")] public interface IVendorApi { [Get("/vendors")] Vendor[] Get(); } }
using System.Threading.Tasks; using Alexa.NET.Management.Vendors; using Refit; namespace Alexa.NET.Management { [Headers("Authorization: Bearer")] public interface IVendorApi { [Get("/vendors")] Task<Vendor[]> Get(); } }
Update vendor api to ensure task returned
Update vendor api to ensure task returned
C#
mit
stoiveyp/Alexa.NET.Management
a6efcc866fd11c0861c11fbbc87bfbf21fb80929
EndlessClient/XNAControlsDependencyContainer.cs
EndlessClient/XNAControlsDependencyContainer.cs
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using EndlessClient.GameExecution; using EOLib.DependencyInjection; using Microsoft.Practices.Unity; using Microsoft.Xna.Framework; namespace EndlessClient { public ...
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using EndlessClient.GameExecution; using EOLib.DependencyInjection; using Microsoft.Practices.Unity; using Microsoft.Xna.Framework; namespace EndlessClient { public ...
Remove old XNAControls code from initialization. Crash & burn if old XNAControls are used.
Remove old XNAControls code from initialization. Crash & burn if old XNAControls are used.
C#
mit
ethanmoffat/EndlessClient
b2df0a0d29e94d1decd5c6be9cce94585ff1497e
Prism/Mods/Hooks/ModDefHooks.cs
Prism/Mods/Hooks/ModDefHooks.cs
using System; using System.Collections.Generic; using System.Linq; using Prism.API; namespace Prism.Mods.Hooks { class ModDefHooks : IHookManager { IEnumerable<Action> onAllModsLoaded, onUnload , preUpdate , postUpdate ; public vo...
using System; using System.Collections.Generic; using System.Linq; using Prism.API; namespace Prism.Mods.Hooks { class ModDefHooks : IHookManager { IEnumerable<Action> onAllModsLoaded, onUnload , preUpdate , postUpdate ; public vo...
Set preUpdate to null with the rest of the hooks.
Set preUpdate to null with the rest of the hooks.
C#
artistic-2.0
Nopezal/Prism,Nopezal/Prism
3da596eedffd3d891b3a423b4e53027729cc1bfb
src/Umbraco.Web/PublishedCache/UmbracoContextPublishedSnapshotAccessor.cs
src/Umbraco.Web/PublishedCache/UmbracoContextPublishedSnapshotAccessor.cs
using System; namespace Umbraco.Web.PublishedCache { public class UmbracoContextPublishedSnapshotAccessor : IPublishedSnapshotAccessor { private readonly IUmbracoContextAccessor _umbracoContextAccessor; public UmbracoContextPublishedSnapshotAccessor(IUmbracoContextAccessor umbracoContextAcces...
using System; namespace Umbraco.Web.PublishedCache { public class UmbracoContextPublishedSnapshotAccessor : IPublishedSnapshotAccessor { private readonly IUmbracoContextAccessor _umbracoContextAccessor; public UmbracoContextPublishedSnapshotAccessor(IUmbracoContextAccessor umbracoContextAcces...
Fix PublishedSnapshotAccessor to not throw but return null
Fix PublishedSnapshotAccessor to not throw but return null
C#
mit
tcmorris/Umbraco-CMS,bjarnef/Umbraco-CMS,leekelleher/Umbraco-CMS,tompipe/Umbraco-CMS,KevinJump/Umbraco-CMS,arknu/Umbraco-CMS,madsoulswe/Umbraco-CMS,umbraco/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,hfloyd/Umbraco-CMS,mattbrailsford/Umbraco-CMS,arknu/Umbraco-CMS,leekelleher/Umbraco-CMS,hfloyd/Umbra...
4ddd08cc9733abfa7859840782c331109e5b5627
src/MICore/NativeMethods.cs
src/MICore/NativeMethods.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; using System.Runtime.InteropServices; namespace MICore { internal class NativeMethods { // TODO: It would be better to route these to th...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Runtime.InteropServices; namespace MICore { internal class NativeMethods { private const string Libc = "libc"; [Dl...
Change interop calls to directly pinvoke.
Change interop calls to directly pinvoke.
C#
mit
orbitcowboy/MIEngine,rajkumar42/MIEngine,caslan/MIEngine,edumunoz/MIEngine,csiusers/MIEngine,pieandcakes/MIEngine,wesrupert/MIEngine,edumunoz/MIEngine,caslan/MIEngine,chuckries/MIEngine,xingshenglu/MIEngine,devilman3d/MIEngine,wiktork/MIEngine,caslan/MIEngine,csiusers/MIEngine,orbitcowboy/MIEngine,Microsoft/MIEngine,we...
5eccd45a7ed9b4fddc9345fad1f7f63fa5d0adf3
src/runtime/Loader.cs
src/runtime/Loader.cs
using System; using System.Text; namespace Python.Runtime { using static Runtime; [Obsolete("Only to be used from within Python")] static class Loader { public unsafe static int Initialize(IntPtr data, int size) { try { var dllPath = Encoding.UTF...
using System; using System.Text; namespace Python.Runtime { using static Runtime; [Obsolete("Only to be used from within Python")] static class Loader { public unsafe static int Initialize(IntPtr data, int size) { try { var dllPath = Encoding.UTF...
Use Py.GIL directly, now that it doesn't try to init anymore
Use Py.GIL directly, now that it doesn't try to init anymore
C#
mit
pythonnet/pythonnet,pythonnet/pythonnet,pythonnet/pythonnet
5d0db6250b39f85cce2653edab728cc3e8e60aaa
Controllers/CommitsController.cs
Controllers/CommitsController.cs
using System; using GitHubSharp.Models; using System.Collections.Generic; namespace GitHubSharp.Controllers { public class CommitsController : Controller { public RepositoryController RepositoryController { get; private set; } public CommitController this[string key] { get ...
using System; using GitHubSharp.Models; using System.Collections.Generic; namespace GitHubSharp.Controllers { public class CommitsController : Controller { public string FilePath { get; set; } public RepositoryController RepositoryController { get; private set; } public CommitControll...
Support commit listing for single file within repository
Support commit listing for single file within repository
C#
mit
thedillonb/GitHubSharp
e5f8628e792b3e32e265a3c9ce75bd3aab7c5923
TargetAnimationPath.cs
TargetAnimationPath.cs
namespace ATP.AnimationPathTools { public class TargetAnimationPath : AnimationPath { } }
using UnityEngine; namespace ATP.AnimationPathTools { public class TargetAnimationPath : AnimationPath { /// <summary> /// Color of the gizmo curve. /// </summary> private Color gizmoCurveColor = Color.magenta; } }
Set default target path gizmo curve color
Set default target path gizmo curve color
C#
mit
bartlomiejwolk/AnimationPathAnimator
cd0c3ba22122b4083c8cc31b2c830db215eaa4fe
TourOfCSharp6/Point.cs
TourOfCSharp6/Point.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TourOfCSharp6 { public class Point { public double X { get; set; } public double Y { get; set; } public double Distance { get { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TourOfCSharp6 { public class Point { public double X { get; set; } public double Y { get; set; } public double Distance => Math.Sqrt(X * X + Y * Y); } }
Convert Distance to Expression Bodied Member
Convert Distance to Expression Bodied Member This gives a simpler version of the class.
C#
mit
BillWagner/TourOfCSharp6
e87b71d99e4c8d4063525428114848e9afe412a7
src/Global/GlobalAssemblyInfo.cs
src/Global/GlobalAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ShipStationAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ] [ assembly : Assembly...
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ShipStationAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ] [ assembly : Assembly...
Revert "bump version again to 1.3.76.0"
Revert "bump version again to 1.3.76.0" This reverts commit 0bbf8e1a07481611eb85b8913c55d1b0b9a867d2.
C#
bsd-3-clause
agileharbor/shipStationAccess
51a63210ca1c927e1343178ca903e6231823f10e
CertiPay.Common.Testing/TestExtensions.cs
CertiPay.Common.Testing/TestExtensions.cs
namespace CertiPay.Common.Testing { using ApprovalTests; using Newtonsoft.Json; using Ploeh.AutoFixture; public static class TestExtensions { private static readonly Fixture _fixture = new Fixture { }; /// <summary> /// Runs ApprovalTests's VerifyJson against a JSON.net se...
namespace CertiPay.Common.Testing { using ApprovalTests; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Ploeh.AutoFixture; public static class TestExtensions { private static readonly Fixture _fixture = new Fixture { }; private static readonly JsonSerializerSet...
Use StringEnumConvert for Approvals.VerifyJson / VerifyMe
Use StringEnumConvert for Approvals.VerifyJson / VerifyMe Note, this is a breaking change if there are existing results with enums in their output
C#
mit
mattgwagner/CertiPay.Common
8db44315204f31a29989ad09a2fd59fd49c93062
Software/CSharp/GrovePi/Sensors/Sensor.cs
Software/CSharp/GrovePi/Sensors/Sensor.cs
using System; namespace GrovePi.Sensors { public abstract class Sensor<TSensorType> where TSensorType : class { protected readonly IGrovePi Device; protected readonly Pin Pin; internal Sensor(IGrovePi device, Pin pin, PinMode pinMode) { if (device == null) throw ne...
using System; namespace GrovePi.Sensors { public abstract class Sensor<TSensorType> where TSensorType : class { protected readonly IGrovePi Device; protected readonly Pin Pin; internal Sensor(IGrovePi device, Pin pin, PinMode pinMode) { if (device == null) throw ne...
Fix bug in pinmode usage The device.PinMode was being set from internal members which had not been stored yet. Would result in Relay module not working as expected.
Fix bug in pinmode usage The device.PinMode was being set from internal members which had not been stored yet. Would result in Relay module not working as expected.
C#
mit
penoud/GrovePi,penoud/GrovePi,karan259/GrovePi,karan259/GrovePi,karan259/GrovePi,karan259/GrovePi,rpedersen/GrovePi,rpedersen/GrovePi,rpedersen/GrovePi,karan259/GrovePi,karan259/GrovePi,rpedersen/GrovePi,rpedersen/GrovePi,karan259/GrovePi,rpedersen/GrovePi,penoud/GrovePi,karan259/GrovePi,penoud/GrovePi,rpedersen/GroveP...
912b3d15b5eadb5f1f8dc2781c60b31950888054
Enum/EnumListLambda.cs
Enum/EnumListLambda.cs
using System.Collections; class IENumDemo { /// <summary> /// Create a cosinus table enumerator with 0..360 deg values /// </summary> private IEnumerator costable = new Func<List<float>>(() => { List<float> nn = new List<float>(); for (int v = 0; v < 360; v++) ...
using System.Collections; class IENumDemo { /// <summary> /// Create a cosinus table enumerator with 0..360 deg values /// </summary> private IEnumerator costable = new Func<List<float>>(() => { List<float> nn = new List<float>(); for (int v = 0; v < 360; v++) ...
Revert "Now with "yield" in GetaNum()"
Revert "Now with "yield" in GetaNum()" This reverts commit df203e6297237ad55c0dd216706a2035ed1a8bd3.
C#
mit
flodis/C-Sharp-Fragments
4a4d9b0dc6ef79a48c5718ae6d3e211095f0aa02
osu.Game.Rulesets.Osu/Mods/OsuModMirror.cs
osu.Game.Rulesets.Osu/Mods/OsuModMirror.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.Framework.Bindables; using osu.Game.Configuration; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Osu.Obje...
// 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.Framework.Bindables; using osu.Game.Configuration; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Osu.Obje...
Update description to match mania mirror implementation
Update description to match mania mirror implementation
C#
mit
NeoAdonis/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,ppy/osu
4cbe71f4882cec9d87b1739bb7ed7c40c422c438
Rant/Vocabulary/RantTableLoadException.cs
Rant/Vocabulary/RantTableLoadException.cs
using System; using Rant.Localization; namespace Rant.Vocabulary { /// <summary> /// Thrown when Rant encounters an error while loading a dictionary table. /// </summary> public sealed class RantTableLoadException : Exception { internal RantTableLoadException(string origin, int line, int col, string messageTy...
using System; using Rant.Localization; namespace Rant.Vocabulary { /// <summary> /// Thrown when Rant encounters an error while loading a dictionary table. /// </summary> public sealed class RantTableLoadException : Exception { internal RantTableLoadException(string origin, int line, int col, string messageTy...
Fix formatting of table load errors
Fix formatting of table load errors
C#
mit
TheBerkin/Rant
e45fa431e957a64f7407a3a8a8958443bef80b1c
src/SaveWatcher.cs
src/SaveWatcher.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace BetterLoadSaveGame { class SaveWatcher : IDisposable { private FileSystemWatcher _watcher; public event FileSystemEventHandler OnSave; public SaveWatcher() { ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace BetterLoadSaveGame { class SaveWatcher : IDisposable { private FileSystemWatcher _watcher; public event FileSystemEventHandler OnSave; public SaveWatcher() { ...
Fix updating screenshots for quicksave
Fix updating screenshots for quicksave
C#
mit
jefftimlin/BetterLoadSaveGame
892482e94e165be8aea689b8d9b6573613c7b890
Common/NuGetConstants.cs
Common/NuGetConstants.cs
using System; namespace NuGet { public static class NuGetConstants { public static readonly string DefaultFeedUrl = "https://go.microsoft.com/fwlink/?LinkID=230477"; public static readonly string V1FeedUrl = "https://go.microsoft.com/fwlink/?LinkID=206669"; public static read...
using System; namespace NuGet { public static class NuGetConstants { public static readonly string DefaultFeedUrl = "https://go.microsoft.com/fwlink/?LinkID=230477"; public static readonly string V1FeedUrl = "https://go.microsoft.com/fwlink/?LinkID=206669"; public static read...
Update default publishing url to point to v2 feed.
Update default publishing url to point to v2 feed. --HG-- branch : 1.6
C#
apache-2.0
chocolatey/nuget-chocolatey,GearedToWar/NuGet2,xoofx/NuGet,jholovacs/NuGet,xoofx/NuGet,xoofx/NuGet,antiufo/NuGet2,alluran/node.net,jholovacs/NuGet,jholovacs/NuGet,OneGet/nuget,antiufo/NuGet2,xoofx/NuGet,mrward/nuget,themotleyfool/NuGet,mrward/NuGet.V2,indsoft/NuGet2,OneGet/nuget,OneGet/nuget,ctaggart/nuget,antiufo/NuGe...
771df86f66ae777b7e616c70f0fa15ebc77a18f3
JustSaying.Models/Message.cs
JustSaying.Models/Message.cs
using System; namespace JustSaying.Models { public abstract class Message { protected Message() { TimeStamp = DateTime.UtcNow; Id = Guid.NewGuid(); } public Guid Id { get; set; } public DateTime TimeStamp { get; private set; } public stri...
using System; namespace JustSaying.Models { public abstract class Message { protected Message() { TimeStamp = DateTime.UtcNow; Id = Guid.NewGuid(); } public Guid Id { get; set; } public DateTime TimeStamp { get; set; } public string Raisi...
Allow message TimeStamp to be set when deserializing
Allow message TimeStamp to be set when deserializing Made TimeStamp property setter public so that Json.NET can restore it's state to whatever is in the json, rather than leaving it to the time of when it was deserialized.
C#
apache-2.0
Intelliflo/JustSaying,eric-davis/JustSaying,Intelliflo/JustSaying
5d659b38601b2620054b286c941a5d53f1da20ae
ReSharperTnT/Bootstrapper.cs
ReSharperTnT/Bootstrapper.cs
using System.Reflection; using System.Web.Http; using Autofac; using Autofac.Integration.WebApi; namespace ReSharperTnT { public class Bootstrapper { public static void Init() { var bootstrapper = new Bootstrapper(); var container = bootstrapper.CreateContainer(); ...
using System.Web.Http; using Autofac; using Autofac.Integration.WebApi; namespace ReSharperTnT { public class Bootstrapper { static Bootstrapper() { Init(); } public static void Init() { var bootstrapper = new Bootstrapper(); var con...
Revert "registration of api controllers fixed"
Revert "registration of api controllers fixed" This reverts commit 390d797cd77acd347c5f42645ebd16c4e940190e.
C#
apache-2.0
borismod/ReSharperTnT,borismod/ReSharperTnT
814cafb7eb541a4080d6ac9e521f8ba2f39bf35b
src/SyncTrayzor/Utils/AtomicFileStream.cs
src/SyncTrayzor/Utils/AtomicFileStream.cs
using System; using System.IO; using System.Runtime.InteropServices; namespace SyncTrayzor.Utils { public class AtomicFileStream : FileStream { private const string DefaultTempFileSuffix = ".tmp"; private readonly string path; private readonly string tempPath; public AtomicFi...
using System; using System.IO; using System.Runtime.InteropServices; namespace SyncTrayzor.Utils { public class AtomicFileStream : FileStream { private const string DefaultTempFileSuffix = ".tmp"; private readonly string path; private readonly string tempPath; public AtomicFi...
Fix possible cause of null bytes in config file
Fix possible cause of null bytes in config file Relates to: #471
C#
mit
canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor
a8f67e58088e06be3df6df51f35551d85db1f7f9
ApiCheck/Loader/AssemblyLoader.cs
ApiCheck/Loader/AssemblyLoader.cs
using System; using System.IO; using System.Reflection; namespace ApiCheck.Loader { public sealed class AssemblyLoader : IDisposable { public AssemblyLoader() { AppDomain.CurrentDomain.ReflectionOnlyAssemblyResolve += CurrentDomainOnReflectionOnlyAssemblyResolve; } public void Dispose() ...
using System; using System.IO; using System.Reflection; namespace ApiCheck.Loader { public sealed class AssemblyLoader : IDisposable { public AssemblyLoader() { AppDomain.CurrentDomain.ReflectionOnlyAssemblyResolve += CurrentDomainOnReflectionOnlyAssemblyResolve; } public void Dispose() ...
Apply policy when loading reflection only assemblys
Apply policy when loading reflection only assemblys
C#
mit
PMudra/ApiCheck
eb829a9276058401ab6dbc2b27aa2afcf10be1b1
Calculator.Droid/ButtonAdapter.cs
Calculator.Droid/ButtonAdapter.cs
 using Android.Content; using Android.Views; using Android.Widget; namespace Calculator.Droid { public class ButtonAdapter : BaseAdapter { Context context; string[] buttons = new string[] { "<-", "C", "±", "/", "7", "8", "9", "*", "4", "5", "6", "-", "1", "2", "3", "+", "0", ".", null, "=" }; ...
 using Android.Content; using Android.Views; using Android.Widget; namespace Calculator.Droid { public class ButtonAdapter : BaseAdapter { Context context; string[] buttons = new string[] { "←", "C", "±", "/", "7", "8", "9", "*", "4", "5", "6", "-", "1", "2", "3", "+", "0", ".", null, "=" }; ...
Use single arrow character for backspace.
Use single arrow character for backspace. Previously it was two characters "<-"
C#
mit
mrward/xamarin-calculator
5b24a580d65272e7e29723d1665eb608dc973e8e
tests/src/GC/API/GC/TotalMemory.cs
tests/src/GC/API/GC/TotalMemory.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. // Tests GC.TotalMemory using System; public class Test { public static int Main() { GC.Collect(); ...
// 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. // Tests GC.TotalMemory using System; public class Test { public static int Main() { GC.Collect(); ...
Fix the GC total memory test.
Fix the GC total memory test. This test was relying upon the result of GC.GetTotalMemory() returning a greater number after allocating a large array. However, the array was not kept live past the call to GC.GetTotalMemory, which resulted in this test failing under GCStress=0xC (in which a GC is performed after each in...
C#
mit
ruben-ayrapetyan/coreclr,qiudesong/coreclr,wateret/coreclr,yeaicc/coreclr,AlexGhiondea/coreclr,cydhaselton/coreclr,James-Ko/coreclr,alexperovich/coreclr,krytarowski/coreclr,alexperovich/coreclr,cmckinsey/coreclr,pgavlin/coreclr,neurospeech/coreclr,yeaicc/coreclr,rartemev/coreclr,neurospeech/coreclr,pgavlin/coreclr,tijo...
b4145303cafe8775a213b5dd9217f93429b3ce45
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api/question")] public class QuestionsController : Controller { private readonly IQuestionRepository ...
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api/question")] public class QuestionsController : Controller { private readonly IQuestionRepository ...
Update server side API for single multiple answer question
Update server side API for single multiple answer question
C#
mit
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
e1b04c9463ae632f65b164a1ab390f62099f8411
samples/GenericReceivers/WebHooks/GenericJsonWebHookHandler.cs
samples/GenericReceivers/WebHooks/GenericJsonWebHookHandler.cs
using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.WebHooks; using Newtonsoft.Json.Linq; namespace GenericReceivers.WebHooks { public class GenericJsonWebHookHandler : WebHookHandler { public GenericJsonWebHookHandler() { this.Receiver = "genericjson"; ...
using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.WebHooks; using Newtonsoft.Json.Linq; namespace GenericReceivers.WebHooks { public class GenericJsonWebHookHandler : WebHookHandler { public GenericJsonWebHookHandler() { this.Receiver = "genericjson"; ...
Update param name to match IWebHookHandler
Update param name to match IWebHookHandler This class doesn't seem to use the param, so shouldn't effect anything but it should be consistently named.
C#
apache-2.0
aspnet/WebHooks,PriyaChandak/DemoForProjectShare,garora/WebHooks,aspnet/WebHooks
bc7e44713193ab66f8ed11d6a92b7daa925f7349
ParsecSharp/GlobalSuppressions.cs
ParsecSharp/GlobalSuppressions.cs
using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("Style", "IDE0071:Simplify interpolation", Justification = "IDE0071 considerably decreases the performance of string construction")]
using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("Style", "IDE0071:Simplify interpolation", Justification = "IDE0071 considerably decreases the performance of string construction")] [assembly: SuppressMessage("Style", "IDE0071WithoutSuggestion")]
Revert "remove a suppression no longer needed"
Revert "remove a suppression no longer needed" This reverts commit dababde0a8b99a4c01cc9ed4a232e1b5f82e25bc.
C#
mit
acple/ParsecSharp
94a7d20cfccea581812aeaf38df3a0cdc4e7407f
src/client/NP/NPFileException.cs
src/client/NP/NPFileException.cs
using System; namespace NPSharp.NP { internal class NpFileException : Exception { internal NpFileException(int error) : base(error == 1 ? @"File not found on NP server" : @"Internal error on NP server") { } internal NpFileException() : base(@"Could not ...
using System; namespace NPSharp.NP { public class NpFileException : Exception { internal NpFileException(int error) : base(error == 1 ? @"File not found on NP server" : @"Internal error on NP server") { } internal NpFileException() : base(@"Could not fe...
Make NP file exception class public
Make NP file exception class public
C#
mit
icedream/NPSharp
07cc1822c8c8e9a46997f926e86a3d53b3277710
Client/API/APIInfo.cs
Client/API/APIInfo.cs
using CareerHub.Client.API.Meta; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CareerHub.Client.API { public class APIInfo { public APIInfo() { this.SupportedComponents = new List<string>(); } publ...
using CareerHub.Client.API.Meta; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CareerHub.Client.API { public class APIInfo { public APIInfo() { this.SupportedComponents = new List<string>(); } publ...
Make area name case insensitive, better error handling
Make area name case insensitive, better error handling
C#
mit
CareerHub/.NET-CareerHub-API-Client,CareerHub/.NET-CareerHub-API-Client
80beb6b7b4b7cf12dec0ecd74dfa40e485039935
Bravo/Models/Album.cs
Bravo/Models/Album.cs
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Bravo.Models { public class Album { [Required] public int AlbumId { get; set; } [Required, MaxLength(255), Display(Name = "Title")] public string AlbumName { get; set; } [Required] public int GenreId { get; set; } ...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Bravo.Models { public class Album { [Required] public int AlbumId { get; set; } [Required, MaxLength(255), Display(Name = "Title")] public string AlbumName { get; set; } [Required] public int GenreId { get; set; } ...
Add virtual property to album model
Add virtual property to album model
C#
mit
lukecahill/Bravo,lukecahill/Bravo,lukecahill/Bravo
b3152406a7da31664c437366baabddd770f6de45
MessageBird/Client.cs
MessageBird/Client.cs
using System; using MessageBird.Objects; using MessageBird.Resources; using MessageBird.Net; namespace MessageBird { public class Client { private IRestClient restClient; private Client(IRestClient restClient) { this.restClient = restClient; } public static...
using System; using MessageBird.Objects; using MessageBird.Resources; using MessageBird.Net; namespace MessageBird { public class Client { private IRestClient restClient; private Client(IRestClient restClient) { this.restClient = restClient; } public static...
Remove obsolete send message method
Remove obsolete send message method There are better alternatives that doesn't require manual construction of a message object.
C#
isc
messagebird/csharp-rest-api
bf66bd70d21f77fe1453c2cbea695398d37f165e
Derby/Models/Competition.cs
Derby/Models/Competition.cs
using System; using System.ComponentModel.DataAnnotations; using Derby.Infrastructure; namespace Derby.Models { public class Competition { public int Id { get; set; } public int PackId { get; set; } public string Title { get; set; } public string Location { get; set; } ...
using System; using System.ComponentModel.DataAnnotations; using Derby.Infrastructure; namespace Derby.Models { public class Competition { public int Id { get; set; } public int PackId { get; set; } public string Title { get; set; } public string Location { get; set; } ...
Refactor from RaceType to DerbyType
Refactor from RaceType to DerbyType
C#
mit
tmeers/Derby,tmeers/Derby,tmeers/Derby
3412c598caa6b08095bc02e4a770069950c284a5
EncryptApp/Program.cs
EncryptApp/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using BabelMark; using Newtonsoft.Json; namespace EncryptApp { class Program { static int Main(string[] args) { if (args.Length !=...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using BabelMark; using Newtonsoft.Json; namespace EncryptApp { class Program { static int Main(string[] args) { if (args.Length !=...
Allow to encode/decode the registry
Allow to encode/decode the registry
C#
bsd-2-clause
babelmark/babelmark-proxy
f2d3110729b052da68062e971f0d70533258dc7b
src/ExpressiveAnnotations.MvcWebSample.UITests/DriverFixture.cs
src/ExpressiveAnnotations.MvcWebSample.UITests/DriverFixture.cs
using System; using OpenQA.Selenium.PhantomJS; using OpenQA.Selenium.Remote; namespace ExpressiveAnnotations.MvcWebSample.UITests { public class DriverFixture : IDisposable { public DriverFixture() // called before every test class { var service = PhantomJSDriverService.CreateDefau...
using System; using OpenQA.Selenium.Firefox; using OpenQA.Selenium.PhantomJS; using OpenQA.Selenium.Remote; namespace ExpressiveAnnotations.MvcWebSample.UITests { public class DriverFixture : IDisposable { public DriverFixture() // called before every test class { //var service = P...
Switch to FirefoxDriver due to instability of PhantomJS headless testing.
Switch to FirefoxDriver due to instability of PhantomJS headless testing.
C#
mit
jwaliszko/ExpressiveAnnotations,JaroslawWaliszko/ExpressiveAnnotations,JaroslawWaliszko/ExpressiveAnnotations,jwaliszko/ExpressiveAnnotations,jwaliszko/ExpressiveAnnotations,jwaliszko/ExpressiveAnnotations,JaroslawWaliszko/ExpressiveAnnotations,JaroslawWaliszko/ExpressiveAnnotations
5a611f17a605f9c207c45bfdbfd12db74a1fc2e6
OneWireConsoleScanner/Program.cs
OneWireConsoleScanner/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OneWireConsoleScanner { class Program { static void Main(string[] args) { Console.WriteLine("OneWire scanner"); var ports = OneWire.OneWire.GetP...
using System; using System.Collections.Generic; namespace OneWireConsoleScanner { internal class Program { private static void Main(string[] args) { Console.WriteLine("OneWire scanner"); var ports = OneWire.OneWire.GetPortNames(); if (ports.Length == 0) ...
Read value of OneWire device with address in first command-line argument
Read value of OneWire device with address in first command-line argument
C#
mit
Aleks-K/1-Wire-Termometer
31603d8498a955d0f6b7610814ee2aa681b02b41
DataAccess/Entities/User.cs
DataAccess/Entities/User.cs
using System.Collections.Generic; using System.Collections.ObjectModel; using Azimuth.DataAccess.Infrastructure; namespace Azimuth.DataAccess.Entities { public class User : BaseEntity { public virtual Name Name { get; set; } public virtual string ScreenName { get; set; } public virtual...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using Azimuth.DataAccess.Infrastructure; namespace Azimuth.DataAccess.Entities { public class User : BaseEntity { public virtual Name Name { get; set; } public virtual string ScreenName { get; set; } ...
Insert check user fields for null
Insert check user fields for null
C#
mit
B1naryStudio/Azimuth,B1naryStudio/Azimuth
829c5884b3e169d779bd6aca256e021ae9ad80e5
src/Bakery/Security/BasicAuthenticationParser.cs
src/Bakery/Security/BasicAuthenticationParser.cs
namespace Bakery.Security { using System; using System.Text; using Text; public class BasicAuthenticationParser : IBasicAuthenticationParser { private readonly IBase64Parser base64Parser; private readonly Encoding encoding; public BasicAuthenticationParser(IBase64Parser base64Parser, Encodin...
namespace Bakery.Security { using System; using System.Text; using Text; public class BasicAuthenticationParser : IBasicAuthenticationParser { private readonly IBase64Parser base64Parser; private readonly Encoding encoding; public BasicAuthenticationParser(IBase64Parser base64Parser, Encodin...
Fix mis-matched split string indices (username is 0, password is 1).
Fix mis-matched split string indices (username is 0, password is 1).
C#
mit
brendanjbaker/Bakery
474e7fd2cb1ed672f905edae9473642baf2d626e
WalletWasabi/Crypto/Extensions.cs
WalletWasabi/Crypto/Extensions.cs
using System.Collections.Generic; using WalletWasabi.Helpers; using WalletWasabi.Crypto.Groups; namespace System.Linq { public static class Extensions { public static GroupElement Sum(this IEnumerable<GroupElement> groupElements) => groupElements.Aggregate(GroupElement.Infinity, (ge, acc) => ge + acc); publi...
using System.Collections.Generic; using WalletWasabi.Helpers; using WalletWasabi.Crypto.Groups; using WalletWasabi.Crypto.ZeroKnowledge.LinearRelation; using WalletWasabi.Crypto; namespace System.Linq { public static class Extensions { public static GroupElement Sum(this IEnumerable<GroupElement> groupElements) =>...
Add extension method to check eq mat dimensions
Add extension method to check eq mat dimensions
C#
mit
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
0f7ed9ff3168bb90f9796fc07c95d88d876cd447
Assets/HoloToolkit/Utilities/Scripts/CameraCache.cs
Assets/HoloToolkit/Utilities/Scripts/CameraCache.cs
using UnityEngine; namespace HoloToolkit.Unity { public static class CameraCache { private static Camera cachedCamera; /// <summary> /// Returns a cached reference to the main camera and uses Camera.main if it hasn't been cached yet. /// </summary> public static Camera...
using UnityEngine; namespace HoloToolkit.Unity { public static class CameraCache { private static Camera cachedCamera; /// <summary> /// Returns a cached reference to the main camera and uses Camera.main if it hasn't been cached yet. /// </summary> public static Camera...
Rename cache refresh and make public
Rename cache refresh and make public
C#
mit
HoloFan/HoloToolkit-Unity,NeerajW/HoloToolkit-Unity,HattMarris1/HoloToolkit-Unity,paseb/MixedRealityToolkit-Unity,willcong/HoloToolkit-Unity,out-of-pixel/HoloToolkit-Unity,dbastienMS/HoloToolkit-Unity,ForrestTrepte/HoloToolkit-Unity,paseb/HoloToolkit-Unity
9f9cb635e259554e39ccdc42c9152be8fdf8bd65
CertiPay.Common.Notifications/Notifications/AndroidNotification.cs
CertiPay.Common.Notifications/Notifications/AndroidNotification.cs
using System; namespace CertiPay.Common.Notifications { public class AndroidNotification : Notification { public static string QueueName { get; } = "AndroidNotifications"; // Message => Content /// <summary> /// The subject line of the email /// </summary> pub...
using System; namespace CertiPay.Common.Notifications { /// <summary> /// Describes a notification sent to an Android device via Google Cloud Messaging /// </summary> public class AndroidNotification : Notification { public static string QueueName { get; } = "AndroidNotifications"; ...
Add comments and the TTL and highPriority flags for android notifications
Add comments and the TTL and highPriority flags for android notifications
C#
mit
mattgwagner/CertiPay.Common
a354d96879f03146e403d8c4c219fd3cbb18d038
Examples/CSharp/Outlook/OLM/LoadAndReadOLMFile.cs
Examples/CSharp/Outlook/OLM/LoadAndReadOLMFile.cs
using System; using Aspose.Email.Storage.Olm; using Aspose.Email.Mapi; namespace Aspose.Email.Examples.CSharp.Email.Outlook.OLM { class LoadAndReadOLMFile { public static void Run() { // The path to the File directory. string dataDir = RunExamples.GetDataDir_Outlook(); ...
using System; using Aspose.Email.Storage.Olm; using Aspose.Email.Mapi; namespace Aspose.Email.Examples.CSharp.Email.Outlook.OLM { class LoadAndReadOLMFile { public static void Run() { // The path to the File directory. string dataDir = RunExamples.GetDataDir_Outlook(); ...
Revert "Revert "Revert "Update Examples/.vs/Aspose.Email.Examples.CSharp/v15/Server/sqlite3/storage.ide-wal"""
Revert "Revert "Revert "Update Examples/.vs/Aspose.Email.Examples.CSharp/v15/Server/sqlite3/storage.ide-wal""" This reverts commit e1e166ae66421c038c24c05e5d71481d6c86cb20.
C#
mit
aspose-email/Aspose.Email-for-.NET,asposeemail/Aspose_Email_NET
45714a9616262c9a7a49cfcdcf9376f06fa5653f
ExtractCopyright.Tests/Properties/AssemblyInfo.cs
ExtractCopyright.Tests/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("Ext...
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("Ext...
Add nl to end of file
Add nl to end of file
C#
mit
ermshiperete/libpalaso,sillsdev/libpalaso,sillsdev/libpalaso,glasseyes/libpalaso,gtryus/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,glasseyes/libpalaso,glasseyes/libpalaso,ermshiperete/libpalaso,glasseyes/libpalaso,gtryus/libpalaso,ermshiperete/libpalaso,gtryus/libpalaso,ermshiperete/libpalaso,sillsdev/libpalaso,gt...
4de31f3710e79d8dbd01503dc9fba79757af2ea0
src/ZeroLog.Tests/UninitializedLogManagerTests.cs
src/ZeroLog.Tests/UninitializedLogManagerTests.cs
using NUnit.Framework; namespace ZeroLog.Tests { [TestFixture] public class UninitializedLogManagerTests { [TearDown] public void Teardown() { LogManager.Shutdown(); } [Test] public void should_log_without_initialize() { LogMa...
using System; using NFluent; using NUnit.Framework; using ZeroLog.Configuration; namespace ZeroLog.Tests { [TestFixture, NonParallelizable] public class UninitializedLogManagerTests { private TestAppender _testAppender; [SetUp] public void SetUpFixture() { _test...
Add unit test that checks that a logger retrieved before the log manager is initialised can log correctly
Add unit test that checks that a logger retrieved before the log manager is initialised can log correctly
C#
mit
Abc-Arbitrage/ZeroLog
420b715b6e2e7134a9ede19bc6c89bb1d1b270fe
Renci.SshClient/Renci.SshClient/ConnectionInfo.cs
Renci.SshClient/Renci.SshClient/ConnectionInfo.cs
using System; namespace Renci.SshClient { public class ConnectionInfo { public string Host { get; set; } public int Port { get; set; } public string Username { get; set; } public string Password { get; set; } public PrivateKeyFile KeyFile { get; set; } ...
using System; namespace Renci.SshClient { public class ConnectionInfo { public string Host { get; set; } public int Port { get; set; } public string Username { get; set; } public string Password { get; set; } public PrivateKeyFile KeyFile { get; set; } ...
Change default timeout to 30 seconds
Change default timeout to 30 seconds
C#
mit
GenericHero/SSH.NET,Bloomcredit/SSH.NET,miniter/SSH.NET,sshnet/SSH.NET
c0c1b8d62014bb0c23dad2e3b924051af5467303
osu.Game.Rulesets.Catch/UI/CatcherTrail.cs
osu.Game.Rulesets.Catch/UI/CatcherTrail.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Pooling; using osu.Framework.Timing; using osuTK; namespace osu.Game.Rulesets.Catch.UI { /// <summary> ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Pooling; using osu.Framework.Timing; using osuTK; namespace osu.Game.Rulesets.Catch.UI { /// <summary> ...
Fix catcher hyper-dash afterimage is not always displayed
Fix catcher hyper-dash afterimage is not always displayed
C#
mit
smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,UselessToucan/osu
22c09ec893b184b6a3611eae18a5daa43b85b5a7
osu.Game/Database/LegacyBeatmapImporter.cs
osu.Game/Database/LegacyBeatmapImporter.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Platform; using osu.Game.Beatmaps; using osu.Game.IO; namespace osu.Game.Database { public class LegacyBeatmapImporter : LegacyModelImporter<Beat...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using osu.Framework.IO.Stores; using osu.Framework.Platform; using osu.Game.Beatmaps; using osu.Game.IO; namespace o...
Handle subdirectories during beatmap stable import
Handle subdirectories during beatmap stable import
C#
mit
peppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu
1a8ebaf77a289df7a37b5da39f9376b5bee5605f
test/Templates.Test/WebApiTemplateTest.cs
test/Templates.Test/WebApiTemplateTest.cs
using Xunit; using Xunit.Abstractions; namespace Templates.Test { public class WebApiTemplateTest : TemplateTestBase { public WebApiTemplateTest(ITestOutputHelper output) : base(output) { } [Theory] [InlineData(null)] [InlineData("net461")] public void ...
using Xunit; using Xunit.Abstractions; namespace Templates.Test { public class WebApiTemplateTest : TemplateTestBase { public WebApiTemplateTest(ITestOutputHelper output) : base(output) { } [Theory] [InlineData(null)] [InlineData("net461")] public void ...
Update tests to use newer name for 'webapi' template
Update tests to use newer name for 'webapi' template
C#
apache-2.0
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
d18e8b04b3df0023519fae781421df695761037d
Plating/Bootstrapper.cs
Plating/Bootstrapper.cs
using Nancy; namespace Plating { public class Bootstrapper : DefaultNancyBootstrapper { public Bootstrapper() { Cassette.Nancy.CassetteNancyStartup.OptimizeOutput = true; } } }
using Nancy; namespace Plating { public class Bootstrapper : DefaultNancyBootstrapper { public Bootstrapper() { StaticConfiguration.DisableErrorTraces = false; Cassette.Nancy.CassetteNancyStartup.OptimizeOutput = true; } } }
Enable error traces for Razor.
Enable error traces for Razor.
C#
mit
eidolonic/plating,eidolonic/plating
7a26d0ea7b75dbe6b3aee3f30633048c889dcba2
src/CompetitionPlatform/Helpers/StreamsConstants.cs
src/CompetitionPlatform/Helpers/StreamsConstants.cs
namespace CompetitionPlatform.Helpers { public static class StreamsRoles { public const string Admin = "ADMIN"; } public static class ResultVoteTypes { public const string Admin = "ADMIN"; public const string Author = "AUTHOR"; } public static class OrderingConstan...
namespace CompetitionPlatform.Helpers { public static class StreamsRoles { public const string Admin = "ADMIN"; } public static class ResultVoteTypes { public const string Admin = "ADMIN"; public const string Author = "AUTHOR"; } public static class OrderingTypes ...
Change class name to OrderingTypes.
Change class name to OrderingTypes.
C#
mit
LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform
d5d6f626845c30f5c00b799468bfd5a58933f68b
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,...
Add BoolParameter and IntParameter to enum
Ajax: Add BoolParameter and IntParameter to enum
C#
mpl-2.0
faint32/snowflake-1,RonnChyran/snowflake,SnowflakePowered/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1,faint32/snowflake-1,RonnChyran/snowflake
b5f5400e069bcc8cb720391eccea385a45bfe7b5
OpenSim/Region/Framework/Interfaces/ISearchModule.cs
OpenSim/Region/Framework/Interfaces/ISearchModule.cs
/* * Copyright (c) Contributors, http://opensimulator.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 must r...
/* * Copyright (c) Contributors, http://opensimulator.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 must r...
Add Refresh() Method to ISerachModule to allow forcing a sim to resend it's search data
Add Refresh() Method to ISerachModule to allow forcing a sim to resend it's search data
C#
bsd-3-clause
EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,TomDataworks/opensim,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,TomDataworks/opensim,TomDataworks/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,TomDataworks/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,RavenB/ope...
0c30c87f50a560e823667ff016caa9c92ce850ef
src/dotless.Core/Parser/Functions/RgbaFunction.cs
src/dotless.Core/Parser/Functions/RgbaFunction.cs
namespace dotless.Core.Parser.Functions { using System.Linq; using Infrastructure; using Infrastructure.Nodes; using Tree; using Utils; public class RgbaFunction : Function { protected override Node Evaluate(Env env) { if (Arguments.Count == 2) { ...
namespace dotless.Core.Parser.Functions { using System.Linq; using Infrastructure; using Infrastructure.Nodes; using Tree; using Utils; public class RgbaFunction : Function { protected override Node Evaluate(Env env) { if (Arguments.Count == 2) { ...
Use new return value of Guard.ExpectNode to refine casting...
Use new return value of Guard.ExpectNode to refine casting...
C#
apache-2.0
rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,dotless/dotless,dotless/dotless,rytmis/dotless
94792535512270a9bdf17e7c21e36aed9f9d7740
src/unBand/App.xaml.cs
src/unBand/App.xaml.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace unBand { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { ...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace unBand { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { ...
Add visual MessageBox when an unhandled crash is encountered
Add visual MessageBox when an unhandled crash is encountered
C#
mit
jehy/unBand,nachmore/unBand
40fe27db061942d5bb0919f76b33acf363adbd45
src/Projects/MyCouch/Responses/Factories/DocumentResponseFactory.cs
src/Projects/MyCouch/Responses/Factories/DocumentResponseFactory.cs
using System.IO; using System.Net.Http; using MyCouch.Extensions; using MyCouch.Serialization; namespace MyCouch.Responses.Factories { public class DocumentResponseFactory : ResponseFactoryBase { public DocumentResponseFactory(SerializationConfiguration serializationConfiguration) : base(s...
using System.IO; using System.Net.Http; using System.Text; using MyCouch.Extensions; using MyCouch.Serialization; namespace MyCouch.Responses.Factories { public class DocumentResponseFactory : ResponseFactoryBase { public DocumentResponseFactory(SerializationConfiguration serializationConfiguration) ...
Fix issue with trailing whitespace.
Fix issue with trailing whitespace.
C#
mit
danielwertheim/mycouch,danielwertheim/mycouch
6e71632dcf034bc9a4672ab7fc26d520f8d9dbe8
RepoZ.Api.Win/Git/WindowsRepositoryCache.cs
RepoZ.Api.Win/Git/WindowsRepositoryCache.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using RepoZ.Api.Common; using RepoZ.Api.Common.Git; using RepoZ.Api.Git; namespace RepoZ.Api.Win.Git { public class WindowsRepositoryCache : FileRepositoryCache { public WindowsRepo...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using RepoZ.Api.Common; using RepoZ.Api.Common.Git; using RepoZ.Api.Git; namespace RepoZ.Api.Win.Git { public class WindowsRepositoryCache : FileRepositoryCache { public WindowsRepo...
Use the user-specific appdata path for the repository cache
Use the user-specific appdata path for the repository cache
C#
mit
awaescher/RepoZ,awaescher/RepoZ
c7a6f0668bb44170340d568b2a50f96170957a98
src/Pfim.Benchmarks/DdsBenchmark.cs
src/Pfim.Benchmarks/DdsBenchmark.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using BenchmarkDotNet.Attributes; using FreeImageAPI; using ImageMagick; using DS = DevILSharp; namespace Pfim.Benchmarks { public class DdsBenchmark { [Params("dxt1-sim...
using System.IO; using BenchmarkDotNet.Attributes; using FreeImageAPI; using ImageMagick; using DS = DevILSharp; namespace Pfim.Benchmarks { public class DdsBenchmark { [Params("dxt1-simple.dds", "dxt3-simple.dds", "dxt5-simple.dds", "32-bit-uncompressed.dds")] public string Payload { get; set...
Remove unused directives from benchmarking
Remove unused directives from benchmarking
C#
mit
nickbabcock/Pfim,nickbabcock/Pfim
f61ede421e3b67b3bbf82da5fbb7749328e7f862
src/Yaclops/GlobalParserSettings.cs
src/Yaclops/GlobalParserSettings.cs
using System.Collections.Generic; namespace Yaclops { /// <summary> /// Settings that alter the default behavior of the parser, but do not depend on the command type. /// </summary> public class GlobalParserSettings { /// <summary> /// Constructor /// </summary> pu...
using System.Collections.Generic; namespace Yaclops { /// <summary> /// Settings that alter the default behavior of the parser, but do not depend on the command type. /// </summary> public class GlobalParserSettings { /// <summary> /// Constructor /// </summary> pu...
Enable yaclops internal commands by default
Enable yaclops internal commands by default
C#
mit
dswisher/yaclops
208573bb252e8542d2d9fc25421918c94444866f
src/Glimpse.Owin.Sample/Startup.cs
src/Glimpse.Owin.Sample/Startup.cs
using Glimpse.Host.Web.Owin; using Owin; namespace Glimpse.Owin.Sample { public class Startup { public void Configuration(IAppBuilder app) { app.Use<GlimpseMiddleware>(); app.UseWelcomePage(); app.UseErrorPage(); } } }
using Glimpse.Host.Web.Owin; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection.Fallback; using Owin; using System.Collections.Generic; namespace Glimpse.Owin.Sample { public class Startup { public void Configuration(IAppBuilder app) { var ...
Update startup of sample to pass in the serviceProvider
Update startup of sample to pass in the serviceProvider
C#
mit
pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototy...
a5be9a77ba8eef4f0e22fb43fa74fa6bd1d6cd0b
Properties/VersionAssemblyInfo.cs
Properties/VersionAssemblyInfo.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning.
Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning.
C#
mit
autofac/Autofac.Extras.AggregateService
869814580a8bea2e3ad2f8696929cd15f9a69b0a
IntegrationEngine.Core/Configuration/IntegrationPointConfigurations.cs
IntegrationEngine.Core/Configuration/IntegrationPointConfigurations.cs
using System; using System.Collections.Generic; namespace IntegrationEngine.Core.Configuration { public class IntegrationPointConfigurations { public IList<MailConfiguration> Mail { get; set; } public IList<RabbitMQConfiguration> RabbitMQ { get; set; } public IList<ElasticsearchConfigu...
using System; using System.Collections.Generic; namespace IntegrationEngine.Core.Configuration { public class IntegrationPointConfigurations { public List<MailConfiguration> Mail { get; set; } public List<RabbitMQConfiguration> RabbitMQ { get; set; } public List<ElasticsearchConfigurat...
Use List because IList isn't supported by FX.Configuration
Use List because IList isn't supported by FX.Configuration
C#
mit
InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET
e558fd69d22fcf17dffce8e4b2d90b5c7042a513
osu.Game/Tests/Visual/RateAdjustedBeatmapTestScene.cs
osu.Game/Tests/Visual/RateAdjustedBeatmapTestScene.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Tests.Visual { /// <summary> /// Test case which adjusts the beatmap's rate to match any speed adjustments in visual tests. /// </summary> ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Tests.Visual { /// <summary> /// Test case which adjusts the beatmap's rate to match any speed adjustments in visual tests. /// </summary> ...
Remove unnecessary null check and associated comment
Remove unnecessary null check and associated comment
C#
mit
NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu
2e3d70650dfd718ccb20a4df4568c4ac305f4123
src/Models/Engine.cs
src/Models/Engine.cs
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using System; namespace Wangkanai.Detection.Models { [Flags] public enum Engine { Unknown = 0, // Unknown engine WebKit = 1, ...
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using System; namespace Wangkanai.Detection.Models { [Flags] public enum Engine { Unknown = 0, // Unknown engine WebKit = 1, ...
Remove not common engine from base
Remove not common engine from base
C#
apache-2.0
wangkanai/Detection
18c97036945398421a9a94905e80eab607add7d9
Battery-Commander.Web/Views/APFT/List.cshtml
Battery-Commander.Web/Views/APFT/List.cshtml
@model IEnumerable<APFT> <div class="page-header"> <h1>APFT @Html.ActionLink("Add New", "New", "APFT", null, new { @class = "btn btn-default" })</h1> </div> <table class="table table-striped" id="dt"> <thead> <tr> <th>Soldier</th> <th>Date</th> <th>Score</th> ...
@model IEnumerable<APFT> <div class="page-header"> <h1>APFT @Html.ActionLink("Add New", "New", "APFT", null, new { @class = "btn btn-default" })</h1> </div> <table class="table table-striped" id="dt"> <thead> <tr> <th>Soldier</th> <th>Date</th> <th>Score</th> ...
Fix APFT list sort by score
Fix APFT list sort by score
C#
mit
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
42ac0c72eac12ea39415f9bc9926adcc5a1a6ff6
osu.Game.Rulesets.Catch/Skinning/CatchSkinColour.cs
osu.Game.Rulesets.Catch/Skinning/CatchSkinColour.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Rulesets.Catch.Skinning { public enum CatchSkinColour { /// <summary> /// The colour to be used for the catcher while on hyper-...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Rulesets.Catch.Skinning { public enum CatchSkinColour { /// <summary> /// The colour to be used for the catcher while in hyper-...
Fix grammer issue and more rewording
Fix grammer issue and more rewording Co-authored-by: Bartłomiej Dach <809709723693c4e7ecc6f5379a3099c830279741@gmail.com>
C#
mit
NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipooo/osu,peppy/osu-new,ppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu
da996ffe748d2d30821284f1ccf48ad0fa0d193d
osu.Game/Overlays/BreadcrumbControlOverlayHeader.cs
osu.Game/Overlays/BreadcrumbControlOverlayHeader.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; using osu.Game.Graphics.UserInterface; namespace osu.Game.Overlays { public abstract 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 osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; using osu.Game.Graphics.UserInterface; namespace osu.Game.Over...
Update header breadcrumb tab control
Update header breadcrumb tab control
C#
mit
EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,peppy/osu,peppy/osu
7da8cc3c3e3e488cec93ea79f114766711f18ccb
Source/Assets/Editor/PlayFabEdExPackager.cs
Source/Assets/Editor/PlayFabEdExPackager.cs
using UnityEditor; using UnityEngine; namespace PlayFab.Internal { public static class PlayFabEdExPackager { private static readonly string[] SdkAssets = { "Assets/PlayFabEditorExtensions" }; [MenuItem("PlayFab/Build PlayFab EdEx UnityPackage")] public static void BuildUnit...
using UnityEditor; using UnityEngine; namespace PlayFab.Internal { public static class PlayFabEdExPackager { private static readonly string[] SdkAssets = { "Assets/PlayFabEditorExtensions" }; [MenuItem("PlayFab/Testing/Build PlayFab EdEx UnityPackage")] public static void B...
Revise dropdowns for building unitypackages.
Revise dropdowns for building unitypackages.
C#
apache-2.0
PlayFab/UnityEditorExtensions
90ef72e50defd269fdf4373f6eaf95c6b451b30a
src/CommonAssemblyInfo.cs
src/CommonAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Yevgeniy Shunevych")] [assembly: AssemblyProduct("Atata")] [assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2016")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("0...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Yevgeniy Shunevych")] [assembly: AssemblyProduct("Atata")] [assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2016")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("0...
Increase project version number to 0.11.0
Increase project version number to 0.11.0
C#
apache-2.0
atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata
28ebec8332b1dfae1d8258fe8c4f14f75262e3b3
src/CSharpClient/Bit.CSharpClient.Prism/ViewModel/BitExceptionHandler.cs
src/CSharpClient/Bit.CSharpClient.Prism/ViewModel/BitExceptionHandler.cs
#define Debug using System; using System.Collections.Generic; using System.Diagnostics; namespace Bit.ViewModel { public class BitExceptionHandler { public static BitExceptionHandler Current { get; set; } = new BitExceptionHandler(); public virtual void OnExceptionReceived(Exception exp, IDi...
#define Debug using System; using System.Collections.Generic; using System.Diagnostics; namespace Bit.ViewModel { public class BitExceptionHandler { public static BitExceptionHandler Current { get; set; } = new BitExceptionHandler(); public virtual void OnExceptionReceived(Exception exp, IDi...
Check debugger is attached before writing something to it
Check debugger is attached before writing something to it
C#
mit
bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework
1326905a3b85fc7a5ef81cc92ee9bbb7591001e1
src/Porthor/ResourceRequestValidators/ContentValidators/JsonValidator.cs
src/Porthor/ResourceRequestValidators/ContentValidators/JsonValidator.cs
using Microsoft.AspNetCore.Http; using NJsonSchema; using System.IO; using System.Net; using System.Net.Http; using System.Threading.Tasks; namespace Porthor.ResourceRequestValidators.ContentValidators { /// <summary> /// Request validator for json content. /// </summary> public class JsonValidator : ...
using Microsoft.AspNetCore.Http; using NJsonSchema; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; namespace Porthor.ResourceRequestValidators.ContentValidators { /// <summary> /// Request validator for json content. /// </summary> public cla...
Use Any instead of Count > 0
Use Any instead of Count > 0
C#
apache-2.0
NicatorBa/Porthor
9984debf927338698464f7e12a8d8e43109b2d7d
Saveyour/Saveyour/Settings.xaml.cs
Saveyour/Saveyour/Settings.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
Revert "Fixed a bug where closing the quicknotes window then clicking show/hide quicknotes on the settings window would crash the program."
Revert "Fixed a bug where closing the quicknotes window then clicking show/hide quicknotes on the settings window would crash the program." This reverts commit 37590fdc25d5c4a40da7c400df340c68f7501c2d.
C#
apache-2.0
Saveyour-Team/Saveyour
85dcea5b8fc8707728c92e280a8ff5644f012e2d
src/NerdBank.GitVersioning/CloudBuildServices/VisualStudioTeamServices.cs
src/NerdBank.GitVersioning/CloudBuildServices/VisualStudioTeamServices.cs
namespace Nerdbank.GitVersioning.CloudBuildServices { using System; using System.IO; /// <summary> /// /// </summary> /// <remarks> /// The VSTS-specific properties referenced here are documented here: /// https://msdn.microsoft.com/en-us/Library/vs/alm/Build/scripts/variables ///...
namespace Nerdbank.GitVersioning.CloudBuildServices { using System; using System.IO; /// <summary> /// /// </summary> /// <remarks> /// The VSTS-specific properties referenced here are documented here: /// https://msdn.microsoft.com/en-us/Library/vs/alm/Build/scripts/variables ///...
Set env vars when updating VSTS variables
Set env vars when updating VSTS variables
C#
mit
AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning
a62118ff46b6ee57f8ce241637625232e3c69291
OctopusPuppet.Gui/AppBootstrapper.cs
OctopusPuppet.Gui/AppBootstrapper.cs
using System.Windows; using Caliburn.Micro; using OctopusPuppet.Gui.ViewModels; namespace OctopusPuppet.Gui { public class AppBootstrapper : BootstrapperBase { public AppBootstrapper() { Initialize(); } protected override void OnStartup(object sender, StartupEventA...
using System.Collections.Generic; using System.Windows; using Caliburn.Micro; using OctopusPuppet.Gui.ViewModels; namespace OctopusPuppet.Gui { public class AppBootstrapper : BootstrapperBase { public AppBootstrapper() { Initialize(); } protected override void OnSt...
Set default size for window
Set default size for window
C#
apache-2.0
Aqovia/OctopusPuppet
468bd0ab7f05c7c84f2677a526e3b5b8639a6a85
DeRange/Config/KeyboardShortcut.cs
DeRange/Config/KeyboardShortcut.cs
using System; using System.Windows.Forms; using System.Xml.Serialization; namespace DeRange.Config { [Serializable] [XmlRoot(ElementName = "KeyboardShortcut")] public class KeyboardShortcut { public bool ShiftModifier { get; set; } public bool CtrlModifier { get; set; } ...
using System; using System.Windows.Forms; using System.Xml.Serialization; namespace DeRange.Config { [Serializable] [XmlRoot(ElementName = "KeyboardShortcut")] public class KeyboardShortcut { public bool ShiftModifier { get; set; } public bool CtrlModifier { get; set; } ...
Add helper method to return KeyModifier
Add helper method to return KeyModifier
C#
apache-2.0
bright-tools/DeRange
9d4260187896c063bbe21af135b6248b8da555f9
DevTyr.Gullap/Guard.cs
DevTyr.Gullap/Guard.cs
using System; namespace DevTyr.Gullap { public static class Guard { public static void NotNull (object obj, string argumentName) { if (obj == null) throw new ArgumentNullException(argumentName); } public static void NotNullOrEmpty (object obj, string argumentName) { NotNull (obj, a...
using System; namespace DevTyr.Gullap { public static class Guard { public static void NotNull (object obj, string argumentName) { if (obj == null) throw new ArgumentNullException(argumentName); } public static void NotNullOrEmpty (string obj, string argumentName) { NotNull (obj, a...
Change type signature of NotNullOrEmpty to string since it's only used for strings.
Change type signature of NotNullOrEmpty to string since it's only used for strings.
C#
mit
devtyr/gullap
04abb2ce8f1723fbf342d7cb215eea0d20d221bb
osu.Game.Rulesets.Osu/Skinning/Default/DefaultSmoke.cs
osu.Game.Rulesets.Osu/Skinning/Default/DefaultSmoke.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Rulesets.Osu.Skinning.Default { public class DefaultSmoke : Smoke { public DefaultSmoke() { Radius = 2; } ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics.Textures; namespace osu.Game.Rulesets.Osu.Skinning.Default { public class DefaultSmoke : Smoke { ...
Update default cursor smoke implementation to use a texture
Update default cursor smoke implementation to use a texture
C#
mit
peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu
d1e4b2164be26209b5be9d148b91b77b1b444b76
Harmony/Transpilers.cs
Harmony/Transpilers.cs
using System.Collections.Generic; using System.Reflection; using System.Reflection.Emit; namespace Harmony { public static class Transpilers { public static IEnumerable<CodeInstruction> MethodReplacer(this IEnumerable<CodeInstruction> instructions, MethodBase from, MethodBase to) { foreach (var instruction i...
using System.Collections.Generic; using System.Reflection; using System.Reflection.Emit; namespace Harmony { public static class Transpilers { public static IEnumerable<CodeInstruction> MethodReplacer(this IEnumerable<CodeInstruction> instructions, MethodBase from, MethodBase to) { foreach (var instruction in...
Make Visual Studio 2017 Enterprise happy
Make Visual Studio 2017 Enterprise happy
C#
mit
pardeike/Harmony
bbf9f477f3dc318045520b8a52c909b8044402d2
Assets/Scripts/Player/CountDown.cs
Assets/Scripts/Player/CountDown.cs
using UnityEngine; using System.Collections; public class CountDown : MonoBehaviour { public float maxTime = 600; //Because it is in seconds; private float curTime; private string prettyTime; // Use this for initialization void Start () { curTime = maxTime; } // Update is called once per frame void Update...
using UnityEngine; using System.Collections; using UnityEngine.UI; public class CountDown : MonoBehaviour { public float maxTime = 600; //Because it is in seconds; private float curTime; private string prettyTime; private Text text; // Use this for initialization void Start () { curTime = maxTime; text = ga...
Update text on countdown timer GUI
Update text on countdown timer GUI
C#
mit
hcorion/RoverVR
9af2b3573dd60300e9f814f034ac5bcaa412b7dd
DesktopWidgets/Classes/FilePath.cs
DesktopWidgets/Classes/FilePath.cs
using System.ComponentModel; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.Classes { [ExpandableObject] [DisplayName("File")] public class FilePath { public FilePath(string path) { Path = path; } public FilePath() { ...
using System.ComponentModel; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.Classes { [ExpandableObject] [DisplayName("File")] public class FilePath { public FilePath(string path) { Path = path; } public FilePath() { ...
Fix file paths default value null
Fix file paths default value null
C#
apache-2.0
danielchalmers/DesktopWidgets
930b22d30b0caaec01b6a79c9afc379ee680e969
Assets/Scripts/MakeItRain.cs
Assets/Scripts/MakeItRain.cs
using UnityEngine; using System.Collections; public class MakeItRain : MonoBehaviour { private int numObjects = 20; private float minX = -4f; private float maxX = 4f; private GameObject rain; private GameObject rainClone; // Use this for initialization void Start() { // Here...
using UnityEngine; using System.Collections; public class MakeItRain : MonoBehaviour { private int numObjects = 20; private float minX = -4f; private float maxX = 4f; private GameObject rain; private GameObject rainClone; int count = 0; // Use this for initialization void Start() ...
Make it Rain now rains blocks constantly
Make it Rain now rains blocks constantly
C#
mit
TheMagnificentSeven/MakeItRain
8be4a079caba68b286884885acb19875ce4d97fa
MonadTests/StaticContractsCases.cs
MonadTests/StaticContractsCases.cs
using System; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.Contracts; namespace PGSolutions.Utilities.Monads.StaticContracts { using static Contract; public struct MaybeAssume<T> { ///<summary>Create a new Maybe{T}.</summary> private MaybeAssume(T value) : this() { ...
using System; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.Contracts; namespace PGSolutions.Utilities.Monads.StaticContracts { using static Contract; public struct Maybe<T> { ///<summary>Create a new Maybe{T}.</summary> private Maybe(T value) : this() { Ensures(...
Align failing CodeContracts case better to object Invariant.
Align failing CodeContracts case better to object Invariant.
C#
mit
pgeerkens/Monads
78e7af5bbf74319f7869630ac750ad8b0eab8987
src/Samples/PubSubUsingConfiguration/Bootstrapper.cs
src/Samples/PubSubUsingConfiguration/Bootstrapper.cs
using System.Configuration; using Amazon.ServiceBus.DistributedMessages.Serializers; using ProjectExtensions.Azure.ServiceBus; using ProjectExtensions.Azure.ServiceBus.Autofac.Container; namespace PubSubUsingConfiguration { static internal class Bootstrapper { public static void Initialize() { ...
using System.Configuration; using Amazon.ServiceBus.DistributedMessages.Serializers; using ProjectExtensions.Azure.ServiceBus; using ProjectExtensions.Azure.ServiceBus.Autofac.Container; namespace PubSubUsingConfiguration { static internal class Bootstrapper { public static void Initialize() { ...
Disable partitioning in the bootstrapper.
Disable partitioning in the bootstrapper.
C#
bsd-3-clause
ProjectExtensions/ProjectExtensions.Azure.ServiceBus
58bb93065147cc41822fdec8d54e1958db3d9a38
src/Squidex/Areas/Api/Controllers/Schemas/Models/CreateSchemaNestedFieldDto.cs
src/Squidex/Areas/Api/Controllers/Schemas/Models/CreateSchemaNestedFieldDto.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
Fix in API, added IsLocked field to nested schema.
Fix in API, added IsLocked field to nested schema.
C#
mit
Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex
1528ccd2635c7e03fd05df43731086f39ea6582a
Assets/Scripts/MainMenu.cs
Assets/Scripts/MainMenu.cs
using UnityEngine; using UnityEngine.UI; using System.Collections; public class Menu : MonoBehaviour { public Canvas MainCanvas; static public int money = 1000; public void LoadOn() { //DontDestroyOnLoad(money); Application.LoadLevel(1); } }
using UnityEngine; using UnityEngine.UI; using System.Collections; public class Menu : MonoBehaviour { public Canvas MainCanvas; static public int money = 1000; public void LoadOn() { Screen.SetResolution(1080, 1920, true); //DontDestroyOnLoad(money); Application.LoadLevel(1); } }
Adjust screen resolution to samsung galaxy s4
Adjust screen resolution to samsung galaxy s4
C#
mit
ImperialBeasts-OxfordHack16/skybreak-android
19530fa692fdc772fea01117288a88d847980c2b
Assert.cs
Assert.cs
using System; namespace TDDUnit { class Assert { public static void Equal(object expected, object actual) { if (!expected.Equals(actual)) { string message = string.Format("Expected: '{0}'; Actual: '{1}'", expected, actual); Console.WriteLine(message); throw new TestRunException(mes...
using System; namespace TDDUnit { class Assert { private static void Fail(object expected, object actual) { string message = string.Format("Expected: '{0}'; Actual: '{1}'", expected, actual); Console.WriteLine(message); throw new TestRunException(message); } public static void Equal(o...
Refactor the error caused by a failing assertion
Refactor the error caused by a failing assertion
C#
apache-2.0
yawaramin/TDDUnit
75f19f1856901a00e616aa2f2b9b05d77f110490
src/Topshelf.Unity.Sample/Program.cs
src/Topshelf.Unity.Sample/Program.cs
using System; using Microsoft.Practices.Unity; namespace Topshelf.Unity.Sample { class Program { static void Main(string[] args) { // Create your container var container = new UnityContainer(); container.RegisterType<ISampleDependency, SampleDependency>(); ...
using System; using Microsoft.Practices.Unity; namespace Topshelf.Unity.Sample { class Program { static void Main(string[] args) { // Create your container var container = new UnityContainer(); container.RegisterType<ISampleDependency, SampleDependency>(); ...
Clean up: removed empty line
Clean up: removed empty line
C#
mit
alexandrnikitin/Topshelf.Unity
b444b6e8b8eb041579ab5b2877a562b6dd04ca76
TeamTracker/Settings.aspx.cs
TeamTracker/Settings.aspx.cs
using System; public partial class Settings : System.Web.UI.Page { //--------------------------------------------------------------------------- protected void Page_Load( object sender, EventArgs e ) { // Don't allow people to skip the login page. if( Session[ SettingsLogin.SES_SETTINGS_LOGGED_IN ] == ...
using System; public partial class Settings : System.Web.UI.Page { //--------------------------------------------------------------------------- protected void Page_Load( object sender, EventArgs e ) { // Don't allow people to skip the login page. if( Session[ SettingsLogin.SES_SETTINGS_LOGGED_IN ] == ...
Fix for 'new' setting button triggering if you hit enter when editing a setting.
Fix for 'new' setting button triggering if you hit enter when editing a setting.
C#
mit
grae22/TeamTracker
682455e4fc3d0db782a89eab4456d4c930d886c2
source/ADAPT/Equipment/ConnectorTypeEnum.cs
source/ADAPT/Equipment/ConnectorTypeEnum.cs
/******************************************************************************* * Copyright (C) 2015 AgGateway and ADAPT Contributors * Copyright (C) 2015 Deere and Company * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0...
/******************************************************************************* * Copyright (C) 2015 AgGateway and ADAPT Contributors * Copyright (C) 2015 Deere and Company * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0...
Update List of ConnectorTypes to be compatible with ISOBUS.net List
Update List of ConnectorTypes to be compatible with ISOBUS.net List
C#
epl-1.0
ADAPT/ADAPT
54f0ab7b705f20dee3a07ffa8cebe3a097a7125b
Source/Engine/AGS.Engine.Desktop/DesktopFileSystem.cs
Source/Engine/AGS.Engine.Desktop/DesktopFileSystem.cs
using System; using System.Collections.Generic; using System.IO; namespace AGS.Engine.Desktop { public class DesktopFileSystem : IFileSystem { #region IFileSystem implementation public string StorageFolder => Directory.GetCurrentDirectory(); //todo: find a suitable save location on desktop ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; namespace AGS.Engine.Desktop { public class DesktopFileSystem : IFileSystem { #region IFileSystem implementation public string StorageFolder => Directory.GetCurrentDirectory(); //todo: find a suitable save l...
Test fix- catching permission denied exceptions
Test fix- catching permission denied exceptions
C#
artistic-2.0
tzachshabtay/MonoAGS
aeabdcf100f064f737fa8d995aeca3d7927a5142
Common/CommonAssemblyInfo.cs
Common/CommonAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Outercurve Foundation")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyConfiguration("")] // If you change this version, make sure to change Build\build.proj accordingly [as...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Outercurve Foundation")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyConfiguration("")] // If you change this version, make sure to change Build\build.proj accordingly [as...
Make version 4 digits to fix replacement regex
Make version 4 digits to fix replacement regex
C#
apache-2.0
badescuga/kudu,chrisrpatterson/kudu,sitereactor/kudu,EricSten-MSFT/kudu,shrimpy/kudu,mauricionr/kudu,kali786516/kudu,kenegozi/kudu,kali786516/kudu,shrimpy/kudu,bbauya/kudu,MavenRain/kudu,kenegozi/kudu,sitereactor/kudu,shibayan/kudu,juoni/kudu,badescuga/kudu,barnyp/kudu,oliver-feng/kudu,juvchan/kudu,sitereactor/kudu,juo...
be589ef4df09d9c5eb9072d395515ee3b0cb1dbb
LibGit2Sharp/FetchOptions.cs
LibGit2Sharp/FetchOptions.cs
using LibGit2Sharp.Handlers; namespace LibGit2Sharp { /// <summary> /// Collection of parameters controlling Fetch behavior. /// </summary> public sealed class FetchOptions { /// <summary> /// Specifies the tag-following behavior of the fetch operation. /// <para> /...
using LibGit2Sharp.Handlers; namespace LibGit2Sharp { /// <summary> /// Collection of parameters controlling Fetch behavior. /// </summary> public sealed class FetchOptions { /// <summary> /// Specifies the tag-following behavior of the fetch operation. /// <para> /...
Fix Xml documentation compilation warning
Fix Xml documentation compilation warning
C#
mit
jorgeamado/libgit2sharp,shana/libgit2sharp,Zoxive/libgit2sharp,rcorre/libgit2sharp,dlsteuer/libgit2sharp,xoofx/libgit2sharp,OidaTiftla/libgit2sharp,red-gate/libgit2sharp,vivekpradhanC/libgit2sharp,AMSadek/libgit2sharp,ethomson/libgit2sharp,nulltoken/libgit2sharp,jorgeamado/libgit2sharp,Skybladev2/libgit2sharp,rcorre/li...
54363cc27bb1e1354627e71ba6a61468f9579176
Configgy/Properties/AssemblyInfo.cs
Configgy/Properties/AssemblyInfo.cs
using System.Resources; using System.Reflection; // 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("Configgy")] [assembly: AssemblyDescription("Configgy: C...
using System.Resources; using System.Reflection; // 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("Configgy")] [assembly: AssemblyDescription("Configgy: C...
Update to beta1 for next release
Update to beta1 for next release
C#
mit
bungeemonkee/Configgy