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
31eb243f6c3d30f57f146f5ff40f17474e2c12f8
Bump version to 0.9.2
ar3cka/Journalist
src/SolutionInfo.cs
src/SolutionInfo.cs
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.9.2")] [assembly: AssemblyInformationalVersionAttribute("0.9.2")] [assembly: AssemblyFileVersionAttribute("0.9.2")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namespace...
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.9.1")] [assembly: AssemblyInformationalVersionAttribute("0.9.1")] [assembly: AssemblyFileVersionAttribute("0.9.1")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namespace...
apache-2.0
C#
1925573ffd37f640ba5cc2d3b4b04fcef74f6e9b
Fix FarseerPhysics not compiling in release mode
Blucky87/Nez,prime31/Nez,prime31/Nez,ericmbernier/Nez,prime31/Nez
Nez.FarseerPhysics/Nez/Common/FSWorld.cs
Nez.FarseerPhysics/Nez/Common/FSWorld.cs
using FarseerPhysics.Dynamics; using FarseerPhysics.Dynamics.Joints; using Microsoft.Xna.Framework; using Nez.Analysis; namespace Nez.Farseer { public class FSWorld : SceneComponent { public World world; /// <summary> /// minimum delta time step for the simulation. The min of Time.deltaTime and this will be ...
using FarseerPhysics.Dynamics; using FarseerPhysics.Dynamics.Joints; using Microsoft.Xna.Framework; using Nez.Analysis; namespace Nez.Farseer { public class FSWorld : SceneComponent { public World world; /// <summary> /// minimum delta time step for the simulation. The min of Time.deltaTime and this will be ...
mit
C#
c6cf0d40ee6868d5ee04e9b5dff63065acc194f6
Simplify ReaderTests
adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress
tests/SharpCompress.Test/ReaderTests.cs
tests/SharpCompress.Test/ReaderTests.cs
using System.IO; using SharpCompress.Common; using SharpCompress.IO; using SharpCompress.Readers; using SharpCompress.Test.Mocks; using Xunit; namespace SharpCompress.Test { public class ReaderTests : TestBase { protected void Read(string testArchive, CompressionType expectedCompression) { ...
using System.Collections.Generic; using System.IO; using SharpCompress.Common; using SharpCompress.IO; using SharpCompress.Readers; using SharpCompress.Test.Mocks; using Xunit; namespace SharpCompress.Test { public class ReaderTests : TestBase { protected void Read(string testArchive, CompressionType ...
mit
C#
adaad3303645fecd888dfe9e20a8fe53e07aff6b
Refactor tests for F.Always
farity/farity
Farity.Tests/AlwaysTests.cs
Farity.Tests/AlwaysTests.cs
using Xunit; namespace Farity.Tests { public class AlwaysTests { [Theory] [InlineData()] [InlineData(1)] [InlineData(null, null)] [InlineData(null, null, "string")] [InlineData(null, null, "string", 3)] [InlineData(null, null, "string", 3, 7)] [I...
using Xunit; namespace Farity.Tests { public class AlwaysTests { [Fact] public void AlwaysReturnsAFunctionThatReturnsTheSameValueAlways() { const int expected = 42; var answerToLifeUniverseAndEverything = F.Always(expected); Assert.Equal(expected, an...
mit
C#
c270225e9e513afdd0d7d902519a36b3fc9b72bb
Update MqttTopicFilterBuilder.cs
chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet
Source/MQTTnet/MqttTopicFilterBuilder.cs
Source/MQTTnet/MqttTopicFilterBuilder.cs
using MQTTnet.Exceptions; using MQTTnet.Protocol; using System; namespace MQTTnet { [Obsolete("Use MqttTopicFilterBuilder instead. It is just a renamed version to align with general namings in this lib.")] public class TopicFilterBuilder : MqttTopicFilterBuilder { } public class MqttTopicFilterBu...
using MQTTnet.Exceptions; using MQTTnet.Protocol; using System; namespace MQTTnet { [Obsolete("Use MqttTopicFilter instead. It is just a renamed version to align with general namings in this lib.")] public class TopicFilterBuilder : MqttTopicFilterBuilder { } public class MqttTopicFilterBuilder ...
mit
C#
098b6d0f86457aee5c1ea3aa5c44ea48861d3994
Add preprocessor directive to integration tests
zapadi/vies-dotnetcore,zapadi/vies-dotnetcore
tests/vies-test/ViesIntegrationTests.cs
tests/vies-test/ViesIntegrationTests.cs
using System; using System.Threading.Tasks; using Xunit; namespace Padi.Vies.Test { [Collection("ViesCollection")] public class ViesIntegrationTests { private readonly ViesManagerFixture _fixture; public ViesIntegrationTests(ViesManagerFixture fixture) { _fixture = fixt...
using System.Threading.Tasks; using Xunit; namespace Padi.Vies.Test { [Collection("ViesCollection")] public class ViesIntegrationTests { private readonly ViesManagerFixture _fixture; public ViesIntegrationTests(ViesManagerFixture fixture) { _fixture = fixture; }...
apache-2.0
C#
4a36859804522178a383d9bd21e5bdd60e152244
Ajuste en clase DataCreate
davidjhurtado/MobileTest,davidjhurtado/MobileTest
MobileTest/Library/DataCreate.cs
MobileTest/Library/DataCreate.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Library { public class DataCreate { public DataCreate() { } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Library { public static class DataCreate { public DataCreate() { } } }
mit
C#
9470220fa13bd3c1e6c0f408833a34bdc5cfcc7c
move with force
nikibobi/LD36
Assets/Move.cs
Assets/Move.cs
using UnityEngine; using System.Collections; public class Move : MonoBehaviour { [Range(10, 100)] public float Speed; private Rigidbody2D body; // Use this for initialization void Start() { body = GetComponent<Rigidbody2D>(); } // Update is called once per frame void Update() { va...
using UnityEngine; using System.Collections; public class Move : MonoBehaviour { [Range(10, 100)] public float Speed; // Use this for initialization void Start() { } // Update is called once per frame void Update() { this.transform.Translate(Speed * Input.GetAxis("Horizontal") * Time.deltaTime...
mit
C#
9d92089f9a22cae4b2981f976e7fd3e1a9d93514
Update WidgetEvents Sample
mminns/xwt,residuum/xwt,antmicro/xwt,cra0zy/xwt,hwthomas/xwt,directhex/xwt,TheBrainTech/xwt,mminns/xwt,mono/xwt,hamekoz/xwt,akrisiun/xwt,steffenWi/xwt,iainx/xwt,lytico/xwt,sevoku/xwt
TestApps/Samples/Samples/WidgetEvents.cs
TestApps/Samples/Samples/WidgetEvents.cs
// // WidgetEvents.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2012 Xamarin 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 restrict...
// // WidgetEvents.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2012 Xamarin 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 restrict...
mit
C#
f722f0af8b8fbf3d08406b45452e95ac2e9ddedb
Update LogLevel for DebugLogger
SourceHollandaise/TriggerSol
TriggerSol.JStore.Shared/Bootstrapper.cs
TriggerSol.JStore.Shared/Bootstrapper.cs
using System; using System.IO; using TriggerSol.Dependency; using TriggerSol.JStore; using TriggerSol.Logging; namespace TriggerSol.Boost { public class Bootstrapper : DependencyObject { public Bootstrapper() { RegisterLogger(new DebugLogger { Level = LogLevel.Detailed }); }...
using System; using System.IO; using TriggerSol.Dependency; using TriggerSol.JStore; using TriggerSol.Logging; namespace TriggerSol.Boost { public class Bootstrapper : DependencyObject { public Bootstrapper() { RegisterLogger(new DebugLogger { Level = LogLevel.OnlyException }); ...
mit
C#
a14e68912efcd03fa598fc55914b5b1465e2c1bd
use AppDomain root to locate the logs directory
jmptrader/SuperSocket,mdavid/SuperSocket,fryderykhuang/SuperSocket,mdavid/SuperSocket,kerryjiang/SuperSocket,ZixiangBoy/SuperSocket,ZixiangBoy/SuperSocket,chucklu/SuperSocket,jmptrader/SuperSocket,kerryjiang/SuperSocket,memleaks/SuperSocket,fryderykhuang/SuperSocket,ZixiangBoy/SuperSocket,mdavid/SuperSocket,fryderykhua...
mainline/Common/LogUtil.cs
mainline/Common/LogUtil.cs
using System; using System.Collections.Generic; using System.IO; using System.Text; using log4net.Config; namespace SuperSocket.Common { public class LogUtil { private static ILogger m_logger; public static void Setup() { Setup(@"Config\log4net.config"); ...
using System; using System.Collections.Generic; using System.IO; using System.Text; using log4net.Config; namespace SuperSocket.Common { public class LogUtil { private static ILogger m_logger; public static void Setup() { Setup(@"Config\log4net.config"); ...
apache-2.0
C#
afd6a9f9f83163070b85ae81d7e95add1cdd56a3
fix cocoapods github auth
xamarin/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents,bholmes/XamarinComponents,bholmes/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents
Util/VersionChecker/common/CocoaPods.csx
Util/VersionChecker/common/CocoaPods.csx
#load "VersionFetcher.csx" using Newtonsoft.Json.Linq; using Semver; public class CocoaPods : VersionFetcher { public CocoaPods (string component, string version, string podId, string owner) : base (component, version, owner) { PodId = podId; } public string PodId { get; private set; }...
#load "VersionFetcher.csx" using Newtonsoft.Json.Linq; using Semver; public class CocoaPods : VersionFetcher { public CocoaPods (string component, string version, string podId, string owner) : base (component, version, owner) { PodId = podId; } public string PodId { get; private set; }...
mit
C#
37ed0e4cb5464611fdef8d888ceaf3608cfc9eae
Fix schedule for evals
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Jobs/JobHandler.cs
Battery-Commander.Web/Jobs/JobHandler.cs
using FluentScheduler; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Logging; using System; namespace BatteryCommander.Web.Jobs { internal static class JobHandler { public static void UseJobScheduler(this IApplicationBuilder app, ILoggerFactory loggerFactory) { var...
using FluentScheduler; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Logging; using System; namespace BatteryCommander.Web.Jobs { internal static class JobHandler { public static void UseJobScheduler(this IApplicationBuilder app, ILoggerFactory loggerFactory) { var...
mit
C#
0361cc70a18cb4df41c92e0bfcc1d8e3ee390de3
Add url to get unicorns
fpellet/Bbl.KnockoutJs,fpellet/Bbl.KnockoutJs,fpellet/Bbl.KnockoutJs
Bbl.KnockoutJs/Bbl.KnockoutJs/Startup.cs
Bbl.KnockoutJs/Bbl.KnockoutJs/Startup.cs
using System.IO; using System.Linq; using System.Web.Hosting; using Nancy; using Owin; namespace Bbl.KnockoutJs { public class Startup { public void Configuration(IAppBuilder app) { app.UseNancy(); } } public class IndexModule : NancyModule { private co...
using Nancy; using Owin; namespace Bbl.KnockoutJs { public class Startup { public void Configuration(IAppBuilder app) { app.UseNancy(); } } public class IndexModule : NancyModule { public IndexModule() { Get["/"] = parameters => View...
mit
C#
ea5ea443f91d667223ede870787794fa16af8f46
update WPF
IdentityModel/IdentityModel.OidcClient.Samples,IdentityModel/IdentityModel.OidcClient.Samples
WpfWebView/WpfWebView/MainWindow.xaml.cs
WpfWebView/WpfWebView/MainWindow.xaml.cs
using IdentityModel.OidcClient; 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; usi...
using IdentityModel.OidcClient; 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; usi...
apache-2.0
C#
1809d97221458371619745e8792f52b07bde8f94
fix staging endpoint urls
omise/omise-dotnet
Omise/Environments.cs
Omise/Environments.cs
using System; using System.Collections.Generic; namespace Omise { public sealed class Environments { public static readonly IEnvironment Production = new CustomEnvironment(new Dictionary<Endpoint, string> { { Endpoint.Api, "https://api.omise.co" }, { Endpoin...
using System; using System.Collections.Generic; namespace Omise { public sealed class Environments { public static readonly IEnvironment Production = new CustomEnvironment(new Dictionary<Endpoint, string> { { Endpoint.Api, "https://api.omise.co" }, { Endpoin...
mit
C#
c575d66480eabec51f44ee4a6f8873b32578ad30
Fix case when project directory already exists
DamianEdwards/dotnet-new2
src/dotnet-new2/ProjectCreator.cs
src/dotnet-new2/ProjectCreator.cs
using System; using System.Diagnostics; using System.IO; namespace dotnet_new2 { public class ProjectCreator { public bool CreateProject(string name, string path, Template template) { Directory.CreateDirectory(path); if (Directory.GetFileSystemEntries(path).Length > 0)...
using System; using System.Diagnostics; using System.IO; namespace dotnet_new2 { public class ProjectCreator { public bool CreateProject(string name, string path, Template template) { Directory.CreateDirectory(path); foreach (var file in template.Files) { ...
mit
C#
8c5aa48f28f87699bf78bbffdb57e0de077624a6
Set AssemblyConfiguration details
StevenLiekens/Txt,StevenLiekens/TextFx
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyCompany("Steven Liekens")] [assembly: AssemblyProduct("TextFx...
using System.Reflection; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Steven Liekens...
mit
C#
b5bf329ff034c24c87ac99b5d91a53f3fda54017
Make Skeletal Anim optional on MM aswell (OR/AS)
gdkchan/SPICA
SPICA.WinForms/Formats/GFOWCharaModel.cs
SPICA.WinForms/Formats/GFOWCharaModel.cs
using SPICA.Formats.CtrH3D; using SPICA.Formats.CtrH3D.Animation; using SPICA.Formats.GFL; using SPICA.Formats.GFL.Motion; using System.IO; namespace SPICA.WinForms.Formats { class GFOWCharaModel { public static H3D OpenAsH3D(Stream Input, GFPackage.Header Header) { H3D Output; ...
using SPICA.Formats.CtrH3D; using SPICA.Formats.CtrH3D.Animation; using SPICA.Formats.GFL; using SPICA.Formats.GFL.Motion; using System.IO; namespace SPICA.WinForms.Formats { class GFOWCharaModel { public static H3D OpenAsH3D(Stream Input, GFPackage.Header Header) { H3D Output; ...
unlicense
C#
6783b1d841a2ca69a1e0517c270537e70ab081be
Use ManyString in WhitespaceString
benjamin-hodgson/Pidgin
Pidgin/Parser.Whitespace.cs
Pidgin/Parser.Whitespace.cs
using System.Collections.Generic; using static Pidgin.Parser<char>; namespace Pidgin { public static partial class Parser { /// <summary> /// Gets a parser that parses and returns a single whitespace character /// </summary> /// <returns>A parser that parses and returns a single...
using System.Collections.Generic; using static Pidgin.Parser<char>; namespace Pidgin { public static partial class Parser { /// <summary> /// Gets a parser that parses and returns a single whitespace character /// </summary> /// <returns>A parser that parses and returns a single...
mit
C#
afa05f6700cf8b5a9a864eabec82d131d6272993
Change signature of Instruction#ctor
lury-lang/lury-ir
LuryIR/Compiling/IR/Instruction.cs
LuryIR/Compiling/IR/Instruction.cs
// // Instruction.cs // // Author: // Tomona Nanase <nanase@users.noreply.github.com> // // The MIT License (MIT) // // Copyright (c) 2015 Tomona Nanase // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to d...
// // Instruction.cs // // Author: // Tomona Nanase <nanase@users.noreply.github.com> // // The MIT License (MIT) // // Copyright (c) 2015 Tomona Nanase // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to d...
mit
C#
1d2441b1ba501afd8526476477a6f0dedb567a6d
add edit.enable
2sic/app-mobius-forms,2sic/app-mobius-forms,2sic/app-mobius-forms,2sic/app-mobius-forms
staging/shared/_Assets.cshtml
staging/shared/_Assets.cshtml
@{ string Edition = PageData["Edition"]; } @Edit.Enable(api: true) <script src="@App.Path/node_modules/smokejs/dist/js/smoke.min.js" data-enableoptimizations="100"></script> <script src="@App.Path/@Edition/dist/app-bundle.min.js" data-enableoptimizations="true"></script> <link rel="stylesheet" type="text/css" href=...
@{ string Edition = PageData["Edition"]; } @* todo: use @Edit.Enable(...) *@ <script type="text/javascript" src="/desktopmodules/tosic_sexycontent/js/2sxc.api.min.js" data-enableoptimizations="100" ></script> <script src="@App.Path/node_modules/smokejs/dist/js/smoke.min.js" data-enableoptimizations="100"></script> ...
mit
C#
3cd6e55e2af8cfdd2b415dffe8dff444872bfee5
Throw all dispatcher exceptions on the non-service build.
VoiDeD/steam-irc-bot
SteamIrcBot/Service/ServiceDispatcher.cs
SteamIrcBot/Service/ServiceDispatcher.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; namespace SteamIrcBot { class ServiceDispatcher { static ServiceDispatcher _instance = new ServiceDispatcher(); public static ServiceDispatche...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; namespace SteamIrcBot { class ServiceDispatcher { static ServiceDispatcher _instance = new ServiceDispatcher(); public static ServiceDispatche...
mit
C#
b252a9106bebe19a7ae7b85654c46ac5aa44f750
Fix the XML docs generic class references
bartsokol/Monacs
Monacs.Core/Unit/Result.Unit.Extensions.cs
Monacs.Core/Unit/Result.Unit.Extensions.cs
using System; using System.Collections.Generic; using System.Linq; namespace Monacs.Core.Unit { ///<summary> /// Extensions for <see cref="Result{Unit}" /> type. ///</summary> public static class Result { ///<summary> /// Creates successful <see cref="Result{Unit}" />. ///<...
using System; using System.Collections.Generic; using System.Linq; namespace Monacs.Core.Unit { ///<summary> /// Extensions for <see cref="Result<Unit>" /> type. ///</summary> public static class Result { ///<summary> /// Creates successful <see cref="Result<Unit>" />. ///<...
mit
C#
7d24a07fc8015d75609a20c0dfe1365c971ade5f
add remove duplicates extension method
IUMDPI/IUMediaHelperApps
Packager/Extensions/FileModelExtensions.cs
Packager/Extensions/FileModelExtensions.cs
using System.Collections.Generic; using System.Linq; using Packager.Models.FileModels; namespace Packager.Extensions { public static class FileModelExtensions { public static bool IsObjectModel(this AbstractFileModel fileModel) { return fileModel is ObjectFileModel; } ...
using System.Collections.Generic; using System.Linq; using Packager.Models.FileModels; namespace Packager.Extensions { public static class FileModelExtensions { public static bool IsObjectModel(this AbstractFileModel fileModel) { return fileModel is ObjectFileModel; } ...
apache-2.0
C#
7512746e1b377df44d097a88a6fa31ed3e27341c
add meta property
Research-Institute/json-api-dotnet-core,Research-Institute/json-api-dotnet-core,json-api-dotnet/JsonApiDotNetCore
src/JsonApiDotNetCore/Models/DocumentBase.cs
src/JsonApiDotNetCore/Models/DocumentBase.cs
using System.Collections.Generic; using Newtonsoft.Json; namespace JsonApiDotNetCore.Models { public class DocumentBase { [JsonProperty("included")] public List<DocumentData> Included { get; set; } public Dictionary<string, object> Meta { get; set; } } }
using System.Collections.Generic; using Newtonsoft.Json; namespace JsonApiDotNetCore.Models { public class DocumentBase { [JsonProperty("included")] public List<DocumentData> Included { get; set; } } }
mit
C#
f801aae82f70c1852356e145f851dcfef15e1b37
Support byte[] parameter values.
mysql-net/MySqlConnector,gitsno/MySqlConnector,gitsno/MySqlConnector,mysql-net/MySqlConnector
src/MySql.Data/MySqlClient/MySqlParameter.cs
src/MySql.Data/MySqlClient/MySqlParameter.cs
using System; using System.Data; using System.Data.Common; using System.Globalization; using System.Text; using static System.FormattableString; namespace MySql.Data.MySqlClient { public sealed class MySqlParameter : DbParameter { public override DbType DbType { get; set; } public override ParameterDirection D...
using System; using System.Data; using System.Data.Common; using System.Globalization; using System.Text; using static System.FormattableString; namespace MySql.Data.MySqlClient { public sealed class MySqlParameter : DbParameter { public override DbType DbType { get; set; } public override ParameterDirection D...
mit
C#
1e97f935c48cb55e9889dc039e002b2635fb47ec
Set assembly culture to neutral
eallegretta/providermodel
src/ProviderModel/Properties/AssemblyInfo.cs
src/ProviderModel/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ProviderModel")] [assembly: AssemblyDescription("An improvment over the bundled .NET provider model")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Enrique Alejandro Allegretta")] [assembly: AssemblyProduct("...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ProviderModel")] [assembly: AssemblyDescription("An improvment over the bundled .NET provider model")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Enrique Alejandro Allegretta")] [assembly: AssemblyProduct("...
mit
C#
3068b422f74444331af9cdb224f22cd1e588e9c3
Remove MessageBroadcast event IMessagingChannel.
dingjimmy/primer
Primer/IMessagingChannel.cs
Primer/IMessagingChannel.cs
// Copyright (c) James Dingle namespace Primer { using System; using System.Linq; /// <summary> /// /// </summary> public interface IMessagingChannel { /// <summary> /// Broadcasts a message to anyone who is listening to the channel. /// </summary> /// <pa...
// Copyright (c) James Dingle namespace Primer { using System; using System.Linq; /// <summary> /// /// </summary> public interface IMessagingChannel { /// <summary> /// Occurs when a message has been broadcast on this channel. /// </summary> event Action<...
mit
C#
cd063e1137890d52fd1648d87f4544ba306753ca
add extension methods
Weingartner/SolidworksAddinFramework
SolidworksAddinFramework/MathVectorExtensions.cs
SolidworksAddinFramework/MathVectorExtensions.cs
using System; using System.Linq; using SolidWorks.Interop.sldworks; namespace SolidworksAddinFramework { public static class MathVectorExtensions { /// <summary> /// gives the multiplier for b which would be the projection of a on b /// </summary> /// <param name="a"></param> ...
using System; using SolidWorks.Interop.sldworks; namespace SolidworksAddinFramework { public static class MathVectorExtensions { /// <summary> /// gives the multiplier for b which would be the projection of a on b /// </summary> /// <param name="a"></param> /// <param n...
mit
C#
35c8bf564e03f1f8cfa76cc5ae6413040364ab5c
Add Script as a shortcut type
intentor/shortcuter
src/Assets/Plugins/Editor/Shortcuter/Util/TypeUtils.cs
src/Assets/Plugins/Editor/Shortcuter/Util/TypeUtils.cs
using UnityEngine; using UnityEditor.Animations; using System; using System.Collections.Generic; using System.Reflection; namespace Intentor.Shortcuter.Util { /// <summary> /// Utility class for types. /// </summary> public static class TypeUtils { /// <summary> /// Gets all available shortcut types. /// </s...
using UnityEngine; using UnityEditor.Animations; using System; using System.Collections.Generic; using System.Reflection; namespace Intentor.Shortcuter.Util { /// <summary> /// Utility class for types. /// </summary> public static class TypeUtils { /// <summary> /// Gets all available shortcut types. /// </s...
mit
C#
b30d4317e66d4177c2589f0ad6928026e449ba78
use LoadFrom instead of LoadFile
OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn
src/OmniSharp.Abstractions/Services/IAssemblyLoader.cs
src/OmniSharp.Abstractions/Services/IAssemblyLoader.cs
using System; using System.Collections.Generic; using System.IO; using System.Reflection; namespace OmniSharp.Services { public interface IAssemblyLoader { Assembly Load(AssemblyName name); IReadOnlyList<Assembly> LoadAllFrom(string folderPath); Assembly LoadFrom(string assemblyPath)...
using System; using System.Collections.Generic; using System.IO; using System.Reflection; namespace OmniSharp.Services { public interface IAssemblyLoader { Assembly Load(AssemblyName name); IReadOnlyList<Assembly> LoadAllFrom(string folderPath); Assembly LoadFrom(string assemblyPath)...
mit
C#
73197d9628abc5edd86b6f475d4471ef9c2995eb
Fix Triangulator test
feliwir/openSage,feliwir/openSage
src/OpenSage.Game.Tests/Utilities/TriangulatorTests.cs
src/OpenSage.Game.Tests/Utilities/TriangulatorTests.cs
using System.Numerics; using OpenSage.Utilities; using Xunit; namespace OpenSage.Tests.Utilities { public class TriangulatorTests { [Fact] public void CanTriangulatePolygon() { var polygonPoints = new[] { new Vector2(-22, 577), ne...
using System.Numerics; using OpenSage.Utilities; using Xunit; namespace OpenSage.Tests.Utilities { public class TriangulatorTests { [Fact] public void CanTriangulatePolygon() { var polygonPoints = new[] { new Vector2(-22, 577), ne...
mit
C#
1dfa35eed46d8dae6d67971143db639cd30bd830
Add quadratic solver to MathUtility
SaberSnail/GoldenAnvil.Utility
GoldenAnvil.Utility/MathUtility.cs
GoldenAnvil.Utility/MathUtility.cs
using System; using System.Collections.Generic; namespace GoldenAnvil.Utility { public static class MathUtility { public const double Sin30 = 0.5; public const double Sin60 = 0.8660254038; public const double Cos30 = 0.8660254038; public const double Cos60 = 0.5; public static double DegreesToRadians(dou...
using System; namespace GoldenAnvil.Utility { public static class MathUtility { public const double Sin30 = 0.5; public const double Sin60 = 0.8660254038; public const double Cos30 = 0.8660254038; public const double Cos60 = 0.5; public static double DegreesToRadians(double degrees) => degrees * Math.PI ...
mit
C#
5692708809ff1bb6068b26dd3d9f59c360f53d98
remove dispose call
gigya/microdot
tests/Gigya.Microdot.Orleans.Hosting.UnitTests/Microservice/WarmupTestService/WarmupTestServiceHostWithSiloHostFake.cs
tests/Gigya.Microdot.Orleans.Hosting.UnitTests/Microservice/WarmupTestService/WarmupTestServiceHostWithSiloHostFake.cs
using System.Threading; using System.Threading.Tasks; using Gigya.Microdot.Fakes; using Gigya.Microdot.Hosting.HttpService; using Gigya.Microdot.Hosting.Validators; using Gigya.Microdot.Interfaces; using Gigya.Microdot.Interfaces.Logging; using Gigya.Microdot.Orleans.Hosting.UnitTests.Microservice.CalculatorService; u...
using System.Threading; using System.Threading.Tasks; using Gigya.Microdot.Fakes; using Gigya.Microdot.Hosting.HttpService; using Gigya.Microdot.Hosting.Validators; using Gigya.Microdot.Interfaces; using Gigya.Microdot.Interfaces.Logging; using Gigya.Microdot.Orleans.Hosting.UnitTests.Microservice.CalculatorService; u...
apache-2.0
C#
cacdfc53417f9e787b4b7e672f20760336b111bc
Bump Version number to 0.3
RemiGC/RReplay
RReplay/Properties/AssemblyInfo.cs
RReplay/Properties/AssemblyInfo.cs
using System.Resources; using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
using System.Resources; using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
mit
C#
91c5188281f1bab2d2d1e84a700df3b18b1eac0f
Change port for new RabbitMQ-MQTT server
GeorgeHahn/SOVND
SOVND.Server/ServerMqttSettings.cs
SOVND.Server/ServerMqttSettings.cs
using SOVND.Lib; using System.IO; namespace SOVND.Server { public class ServerMqttSettings : IMQTTSettings { public string Broker { get { return "104.131.87.42"; } } public int Port { get { return 2883; } } public string Username { get { return File.ReadAllText("us...
using SOVND.Lib; using System.IO; namespace SOVND.Server { public class ServerMqttSettings : IMQTTSettings { public string Broker { get { return "104.131.87.42"; } } public int Port { get { return 8883; } } public string Username { get { return File.ReadAllText("us...
epl-1.0
C#
92686edbdf8d81f943ce9366234cf4e65ef96d57
address some compile warnings.
jwChung/Experimentalism,jwChung/Experimentalism
test/Experiment.IdiomsUnitTest/ClassWithTestMembers.cs
test/Experiment.IdiomsUnitTest/ClassWithTestMembers.cs
using System; namespace Jwc.Experiment.Idioms { public class ClassWithTestMembers { public object PublicField; protected internal object ProtectedInternalField; protected object ProtectedField; internal object InternalField = null; #pragma warning disable 169 private obj...
using System; namespace Jwc.Experiment.Idioms { public class ClassWithTestMembers { public object PublicField; protected internal object ProtectedInternalField; protected object ProtectedField; internal object InternalField; private object PrivateField; public C...
mit
C#
c49deb8eb38865eefdcfcf3c03fcf6818240cfb5
Update PetEnPlugin.cs
krbysh/FFXIV-ACT-OverlayPlugin-Plugins
PetEnPlugin.cs
PetEnPlugin.cs
using Advanced_Combat_Tracker; using System; using System.Reflection; using System.Text; using System.Windows.Forms; // Advanced Combat Tracker - mini parse window用Plugin // NameEn: 日本語クライアント利用時に、キャラクター名(ペット含む)を英語で出力 [assembly: AssemblyTitle("Mini Parse Pets' Name in English")] [assembly: AssemblyVersion("1.0.0.0")] n...
using Advanced_Combat_Tracker; using System; using System.Reflection; using System.Text; using System.Windows.Forms; // Advanced Combat Tracker - mini parse window用Plugin // NameEn:キャラクター名のペットも含めて英語で出力 [assembly: AssemblyTitle("Mini Parse Pets' Name in English")] [assembly: AssemblyVersion("1.0.0.0")] namespace ACTv3P...
mit
C#
b541b3681bf8d14a4097c3d53f4bb1dfd2fe990c
change vesrion to 3.2.2
RachelTucker/ds3_net_sdk,SpectraLogic/ds3_net_sdk,rpmoore/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,rpmoore/ds3_net_sdk,rpmoore/ds3_net_sdk,shabtaisharon/ds3_net_sdk,shabtaisharon/ds3_net_sdk,shabtaisharon/ds3_net_sdk
VersionInfo.cs
VersionInfo.cs
/* * ****************************************************************************** * Copyright 2014 Spectra Logic Corporation. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the License is loc...
/* * ****************************************************************************** * Copyright 2014 Spectra Logic Corporation. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the License is loc...
apache-2.0
C#
4efbc0ed0ecdbd18e1e9c89243dc042d2ad2fcc5
Refactor to C# 7
ulrichb/ReSharperExtensionsShared
Src/ReSharperExtensionsShared/Debugging/DebugUtility.cs
Src/ReSharperExtensionsShared/Debugging/DebugUtility.cs
using System; using System.Diagnostics; using JetBrains.Annotations; using JetBrains.ReSharper.Psi; namespace ReSharperExtensionsShared.Debugging { public static class DebugUtility { public static string FormatIncludingContext([CanBeNull] IDeclaredElement element) { if (element == n...
using System; using System.Diagnostics; using JetBrains.Annotations; using JetBrains.ReSharper.Psi; namespace ReSharperExtensionsShared.Debugging { public static class DebugUtility { public static string FormatIncludingContext([CanBeNull] IDeclaredElement element) { if (element == n...
mit
C#
5276e3b9036589b5e14fe5fd1d0e3471aa1c8731
Resolve #86 - Add registration for usage of the Stage
csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay
Tests/CSF.Screenplay.SpecFlow.Tests/ScreenplayConfig.cs
Tests/CSF.Screenplay.SpecFlow.Tests/ScreenplayConfig.cs
using CSF.Screenplay.Integration; using CSF.Screenplay.Reporting; using CSF.Screenplay.SpecFlow; [assembly: ScreenplayAssembly(typeof(CSF.Screenplay.SpecFlow.Tests.ScreenplayConfig))] namespace CSF.Screenplay.SpecFlow.Tests { public class ScreenplayConfig : IIntegrationConfig { public void Configure(IIntegra...
using CSF.Screenplay.Integration; using CSF.Screenplay.Reporting; using CSF.Screenplay.SpecFlow; [assembly: ScreenplayAssembly(typeof(CSF.Screenplay.SpecFlow.Tests.ScreenplayConfig))] namespace CSF.Screenplay.SpecFlow.Tests { public class ScreenplayConfig : IIntegrationConfig { public void Configure(IIntegra...
mit
C#
3b608a046aa526d6e5a944786c08ba1458db61b9
Remove some unneeded debug spew.
mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jacksonh/manos,jmptrader...
server/Mango.Server/HttpConnection.cs
server/Mango.Server/HttpConnection.cs
using System; using System.IO; using System.Text; using System.Net; using System.Net.Sockets; using System.Collections; using System.Collections.Generic; using Mono.Unix.Native; namespace Mango.Server { public class HttpConnection { public static void HandleConnection (IOStream stream, Socket socket, HttpCon...
using System; using System.IO; using System.Text; using System.Net; using System.Net.Sockets; using System.Collections; using System.Collections.Generic; using Mono.Unix.Native; namespace Mango.Server { public class HttpConnection { public static void HandleConnection (IOStream stream, Socket socket, HttpCon...
mit
C#
92b959d5f081561b50ab88be23a31de44a5c4f14
Remove unnecessary comment
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/SettingsPageViewModel.cs
WalletWasabi.Fluent/ViewModels/SettingsPageViewModel.cs
using ReactiveUI; using System.Reactive.Threading.Tasks; using System.Windows.Input; using WalletWasabi.Fluent.ViewModels.Dialogs; namespace WalletWasabi.Fluent.ViewModels { public class SettingsPageViewModel : NavBarItemViewModel { public SettingsPageViewModel(IScreen screen) : base(screen) { Title = "Settin...
using ReactiveUI; using System.Reactive.Threading.Tasks; using System.Windows.Input; using WalletWasabi.Fluent.ViewModels.Dialogs; namespace WalletWasabi.Fluent.ViewModels { public class SettingsPageViewModel : NavBarItemViewModel { public SettingsPageViewModel(IScreen screen) : base(screen) { Title = "Settin...
mit
C#
a002dacdce3bdb66d5f44cdee6a2423e954a1bc4
Add test coverage of various `ScoreInfo` mod set operations
NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu
osu.Game.Tests/NonVisual/ScoreInfoTest.cs
osu.Game.Tests/NonVisual/ScoreInfoTest.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 NUnit.Framework; using osu.Game.Online.API; using osu.Game.Rulesets.Mania; using osu.Game.Rulesets.Mania.Mods; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets...
// 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 NUnit.Framework; using osu.Game.Rulesets.Scoring; using osu.Game.Scoring; namespace osu.Game.Tests.NonVisual { [TestFixture] public class ScoreInfoTest ...
mit
C#
ce687a9f87bbc9307e0b4261a358b72557cf38df
Update IShapeFactory.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/Model/IShapeFactory.cs
src/Core2D/Model/IShapeFactory.cs
#nullable enable using System.Collections.Immutable; using Core2D.Model.Path; using Core2D.ViewModels.Path; using Core2D.ViewModels.Shapes; namespace Core2D.Model; public interface IShapeFactory { PointShapeViewModel? Point(double x, double y, bool isStandalone); LineShapeViewModel? Line(double x1, double y...
#nullable enable using System.Collections.Immutable; using Core2D.Model.Path; using Core2D.ViewModels.Path; using Core2D.ViewModels.Shapes; namespace Core2D.Model; public interface IShapeFactory { PointShapeViewModel Point(double x, double y, bool isStandalone); LineShapeViewModel Line(double x1, double y1,...
mit
C#
512ad057ecfaf617540c6b411932b55c2c516a7c
Change text
Sebazzz/IFS,Sebazzz/IFS,Sebazzz/IFS,Sebazzz/IFS
src/IFS.Web/Models/UploadModel.cs
src/IFS.Web/Models/UploadModel.cs
// ****************************************************************************** // © 2016 Sebastiaan Dammann - damsteen.nl // // File: : UploadModel.cs // Project : IFS.Web // ****************************************************************************** namespace IFS.Web.Models { using Sy...
// ****************************************************************************** // © 2016 Sebastiaan Dammann - damsteen.nl // // File: : UploadModel.cs // Project : IFS.Web // ****************************************************************************** namespace IFS.Web.Models { using Sy...
mit
C#
321197a59e79fa29f40d983dd530fad063bf1ff3
Update ScriptableBuild.cs
dimmpixeye/Unity3dTools
Runtime/LibMisc/ScriptableBuild.cs
Runtime/LibMisc/ScriptableBuild.cs
// Project : ecs // Contacts : Pix - ask@pixeye.games using System; using System.Collections.Generic; using System.Reflection; using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif namespace Pixeye.Framework { public class ScriptableBuild : ScriptableObject { public Dictionary<int, ModelComposer> helpe...
// Project : ecs // Contacts : Pix - ask@pixeye.games using System; using System.Collections.Generic; using System.Reflection; using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif namespace Pixeye.Framework { public class ScriptableBuild : ScriptableObject { public Dictionary<int, ModelComposer> helpe...
mit
C#
5f3d9b23d2b35437a687a7754f0a3dd682978cd9
Improve TaskAction canceled test
ermau/WinRT.NET
WinRT.NET/Tests/TaskActionTests.cs
WinRT.NET/Tests/TaskActionTests.cs
// // TaskActionTests.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2011 Eric Maupin // // 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, includi...
// // TaskActionTests.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2011 Eric Maupin // // 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, includi...
mit
C#
ddc9284bc28a626c745a70a33a2d0854f1f60d94
Add missing vault_token property to PaymentSource
PayDockDev/paydock_dotnet_sdk
sdk/Models/PaymentSource.cs
sdk/Models/PaymentSource.cs
using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Paydock_dotnet_sdk.Models { public enum PaymentType { card, bank_account, bsb, checkout } public class PaymentSource { public string gateway_id { get; set; } public string vault_token { ...
using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Paydock_dotnet_sdk.Models { public enum PaymentType { card, bank_account, bsb, checkout } public class PaymentSource { public string gateway_id { get; set; } [JsonConverter(typeof(St...
mit
C#
66b78cc24319acf93aff47915e87420a7693ce1a
Build error post refactoring..
connellw/Firestorm
src/Firestorm.EntityFramework6/EntitiesDataSource.cs
src/Firestorm.EntityFramework6/EntitiesDataSource.cs
using System; using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.Core.Metadata.Edm; using System.Data.Entity.Infrastructure; using System.Linq; using Firestorm.Data; namespace Firestorm.EntityFramework6 { public class EntitiesDataSource<TDbContext> : IDiscoverableDataSource ...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.Core.Metadata.Edm; using System.Data.Entity.Infrastructure; using System.Linq; using Firestorm.Data; namespace Firestorm.EntityFramework6 { public class EntitiesDataSource<TDbContext> : IDiscoverableDataSource ...
mit
C#
1f7cdcbe33ef35aaae549f43117a26cf56e94363
upgrade version to 2.0.7
Aaron-Liu/equeue,tangxuehua/equeue,geffzhang/equeue,tangxuehua/equeue,geffzhang/equeue,Aaron-Liu/equeue,tangxuehua/equeue
src/EQueue/Properties/AssemblyInfo.cs
src/EQueue/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("EQueue")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyPro...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("EQueue")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyPro...
mit
C#
1199ed4b2d9e4787d8b987a30a2de5fde627281d
remove debug msgs
Yetangitu/f-spot,Sanva/f-spot,Sanva/f-spot,GNOME/f-spot,nathansamson/F-Spot-Album-Exporter,nathansamson/F-Spot-Album-Exporter,Sanva/f-spot,mono/f-spot,NguyenMatthieu/f-spot,dkoeb/f-spot,mono/f-spot,GNOME/f-spot,mono/f-spot,NguyenMatthieu/f-spot,nathansamson/F-Spot-Album-Exporter,mans0954/f-spot,Yetangitu/f-spot,NguyenM...
src/Extensions/ComplexMenuItemNode.cs
src/Extensions/ComplexMenuItemNode.cs
/* * FSpot.Extensions.ComplexMenuItemNode * * Author(s) * Stephane Delcroix <stephane@delcroix.org> * * This is free software. See COPYING for details. * */ using Mono.Addins; using FSpot.Widgets; using System; namespace FSpot.Extensions { [ExtensionNode ("ComplexMenuItem")] public class ComplexMenuItemNo...
/* * FSpot.Extensions.ComplexMenuItemNode * * Author(s) * Stephane Delcroix <stephane@delcroix.org> * * This is free software. See COPYING for details. * */ using Mono.Addins; using FSpot.Widgets; using System; namespace FSpot.Extensions { [ExtensionNode ("ComplexMenuItem")] public class ComplexMenuItemNo...
mit
C#
7756dc640c5d9de30c955a0f84ce7b1529f98118
Bump version
ruisebastiao/FluentValidation,deluxetiky/FluentValidation,robv8r/FluentValidation,GDoronin/FluentValidation,mgmoody42/FluentValidation,glorylee/FluentValidation,regisbsb/FluentValidation,IRlyDontKnow/FluentValidation,cecilphillip/FluentValidation,olcayseker/FluentValidation,roend83/FluentValidation,roend83/FluentValida...
src/CommonAssemblyInfo.cs
src/CommonAssemblyInfo.cs
#region License // Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) // // 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...
#region License // Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) // // 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...
apache-2.0
C#
e0e7e474f15c4f0c2e01c2fd66b077bd02250075
Truncate stream when writing sidecar XMP files.
GNOME/f-spot,dkoeb/f-spot,mono/f-spot,NguyenMatthieu/f-spot,Yetangitu/f-spot,dkoeb/f-spot,NguyenMatthieu/f-spot,GNOME/f-spot,GNOME/f-spot,mans0954/f-spot,mono/f-spot,mans0954/f-spot,nathansamson/F-Spot-Album-Exporter,Sanva/f-spot,dkoeb/f-spot,GNOME/f-spot,dkoeb/f-spot,Yetangitu/f-spot,Sanva/f-spot,mono/f-spot,Sanva/f-s...
src/Utils/SidecarXmpExtensions.cs
src/Utils/SidecarXmpExtensions.cs
using System; using System.IO; using GLib; using Hyena; using TagLib.Image; using TagLib.Xmp; namespace FSpot.Utils { public static class SidecarXmpExtensions { /// <summary> /// Parses the XMP file identified by resource and replaces the XMP /// tag of file by the parsed data. ...
using System; using System.IO; using GLib; using Hyena; using TagLib.Image; using TagLib.Xmp; namespace FSpot.Utils { public static class SidecarXmpExtensions { /// <summary> /// Parses the XMP file identified by resource and replaces the XMP /// tag of file by the parsed data. ...
mit
C#
dac2519d5e3101afd874349ab2f40b55a9549bc1
add constructors for value or state
Kukkimonsuta/Odachi
src/Odachi.Validation/ValueOrState.cs
src/Odachi.Validation/ValueOrState.cs
namespace Odachi.Validation { /// <summary> /// Either value or validation state. /// </summary> public struct ValueOrState<TValue> { public ValueOrState(TValue value) { Value = value; State = null; } public ValueOrState(ValidationState state) { Value = default(TValue); State = state; } ...
namespace Odachi.Validation { /// <summary> /// Either value or validation state. /// </summary> public struct ValueOrState<TValue> { public TValue Value { get; private set; } public ValidationState State { get; private set; } #region Static members public static implicit operator ValueOrState<TValue>(...
apache-2.0
C#
6ed1669803d62f7a02f75d89b0e0ad66b8d5d983
set a sensible cache size for skia.. based on what flutter uses.
akrisiun/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Perspe...
src/Skia/Avalonia.Skia/SkiaOptions.cs
src/Skia/Avalonia.Skia/SkiaOptions.cs
using System; using Avalonia.Skia; namespace Avalonia { /// <summary> /// Options for Skia rendering subsystem. /// </summary> public class SkiaOptions { /// <summary> /// Custom gpu factory to use. Can be used to customize behavior of Skia renderer. /// </summary> p...
using System; using Avalonia.Skia; namespace Avalonia { /// <summary> /// Options for Skia rendering subsystem. /// </summary> public class SkiaOptions { /// <summary> /// Custom gpu factory to use. Can be used to customize behavior of Skia renderer. /// </summary> p...
mit
C#
6c6eec2e59ff80e5726af3bb5050e70cf36fdbf3
set dev to v4.0.0
ControlzEx/ControlzEx,punker76/Controlz
src/GlobalAssemblyInfo.cs
src/GlobalAssemblyInfo.cs
using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; using System.Windows; #if DEBUG [assembly: AssemblyConfiguration("Debug")] #else [assembly: AssemblyConfiguration("Release")] #endif [assembly: AssemblyCompany("https://github.com/ControlzEx/ControlzEx")] [assembly: As...
using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; using System.Windows; #if DEBUG [assembly: AssemblyConfiguration("Debug")] #else [assembly: AssemblyConfiguration("Release")] #endif [assembly: AssemblyCompany("https://github.com/ControlzEx/ControlzEx")] [assembly: As...
mit
C#
d8751df921175cbfd757e2fc2c024ed54fe4eb04
Update EntitySet.cs
PowerMogli/Rabbit.Db
src/RabbitDB/EntitySet.cs
src/RabbitDB/EntitySet.cs
using System; using System.Collections; using System.Collections.Generic; using RabbitDB.Query; namespace RabbitDB.Base { public class EntitySet<T> : IEnumerable<T> { private List<T> _list = new List<T>(); internal EntitySet<T> Load(IDbSession dbSession, IQuery query) { usi...
using System.Collections; using System.Collections.Generic; using RabbitDB.Query; namespace RabbitDB.Base { public class EntitySet<T> : IEnumerable<T> { private List<T> _list = new List<T>(); internal EntitySet<T> Load(IDbSession dbSession, IQuery query) { using (EntityRea...
apache-2.0
C#
e9792c80ed1b1ac7da0f02eb5041512ee7fe4bdf
Use EntitySystem Dictionary
copygirl/EntitySystem
src/World/ChunkManager.cs
src/World/ChunkManager.cs
using EntitySystem.Collections; using EntitySystem.Components.World; using EntitySystem.Utility; namespace EntitySystem.World { public class ChunkManager { readonly Dictionary<ChunkPos, Entity> _chunks = new Dictionary<ChunkPos, Entity>(); public EntityManager EntityManager { get; private set; } publ...
using System.Collections.Generic; using EntitySystem.Components.World; using EntitySystem.Utility; namespace EntitySystem.World { public class ChunkManager { readonly Dictionary<ChunkPos, Entity> _chunks = new Dictionary<ChunkPos, Entity>(); public EntityManager EntityManager { get; private set; } pu...
mit
C#
d15ac2ebbb67239cf85a1f3ae0abe8ac3e43cd22
Update Program.cs
relianz/s2i-aspnet-example,relianz/s2i-aspnet-example,relianz/s2i-aspnet-example
app/Program.cs
app/Program.cs
// using System.Collections.Generic; // using System.Linq; // using System.Threading.Tasks; using System; using System.IO; // Directory. using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace WebApplication { public class Program ...
// using System; // using System.Collections.Generic; // using System.Linq; // using System.Threading.Tasks; using System.IO; // Directory. using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace WebApplication { public class Program { public ...
apache-2.0
C#
de4d80dafdeaba928c4891eb3a09b9203d2faccb
Update template to display CompiledName
mktange/FSharp.Formatting,mktange/FSharp.Formatting,mktange/FSharp.Formatting,mktange/FSharp.Formatting,theprash/FSharp.Formatting,theprash/FSharp.Formatting,tpetricek/FSharp.Formatting,theprash/FSharp.Formatting,theprash/FSharp.Formatting,theprash/FSharp.Formatting,tpetricek/FSharp.Formatting,mktange/FSharp.Formatting...
misc/templates/reference/part-members.cshtml
misc/templates/reference/part-members.cshtml
@if (Enumerable.Count(Model.Members) > 0) { <h3>@Model.Header</h3> <table class="table table-bordered member-list"> <thead> <tr><td>@Model.TableHeader</td><td>Description</td></tr> </thead> <tbody> @foreach (var it in Model.Members) { <tr> <td class="member-name"> @...
@if (Enumerable.Count(Model.Members) > 0) { <h3>@Model.Header</h3> <table class="table table-bordered member-list"> <thead> <tr><td>@Model.TableHeader</td><td>Description</td></tr> </thead> <tbody> @foreach (var it in Model.Members) { <tr> <td class="member-name"> @...
apache-2.0
C#
7a94d819c4ae39f472f7da8b8b15695bd7a82f71
Add missing constructors to ApiException
auth0/auth0.net,auth0/auth0.net
src/Auth0.Core/Exceptions/ApiException.cs
src/Auth0.Core/Exceptions/ApiException.cs
using System; using System.Net; namespace Auth0.Core.Exceptions { /// <summary> /// Represents errors that occur when making API calls. /// </summary> public class ApiException : Exception { /// <summary> /// The <see cref="Core.ApiError"/> from the response. /// </summary>...
using System; using System.Net; namespace Auth0.Core.Exceptions { /// <summary> /// Represents errors that occur when making API calls. /// </summary> public class ApiException : Exception { /// <summary> /// The exception payload from the response /// </summary> pu...
mit
C#
73f25c7eb2c78ef044db595c5f71d374593866cc
Revert security after applying transforms.
nurunquebec/Habitat,nurunquebec/Habitat,GoranHalvarsson/Habitat,GoranHalvarsson/Habitat
src/Foundation/Installer/code/PostStep.cs
src/Foundation/Installer/code/PostStep.cs
namespace Sitecore.Foundation.Installer { using System; using System.Collections.Generic; using System.Collections.Specialized; using System.IO; using System.Linq; using System.Text.RegularExpressions; using Sitecore.Foundation.Installer.XmlTransform; using Sitecore.Install; using Sitecore.Install.Fi...
namespace Sitecore.Foundation.Installer { using System.Collections.Generic; using System.Collections.Specialized; using System.IO; using System.Linq; using System.Text.RegularExpressions; using Sitecore.Foundation.Installer.XmlTransform; using Sitecore.Install.Framework; public class PostStep : IPostS...
apache-2.0
C#
fc9676c6c2934865b5c7b3ff93817a935473b612
Add new line after each question
TeamGameFifteen2AtTelerikAcademy/Game-Fifteen
src/GameFifteen.Logic/Common/Constants.cs
src/GameFifteen.Logic/Common/Constants.cs
namespace GameFifteen.Logic.Common { using System; public static class Constants { // Validator public const string ArgumentName = "Argument name"; public const string CannotBeNullFormat = "{0} cannot be null!"; // Matrix public const string HorizontalBorder = " --...
namespace GameFifteen.Logic.Common { using System; public static class Constants { // Validator public const string ArgumentName = "Argument name"; public const string CannotBeNullFormat = "{0} cannot be null!"; // Matrix public const string HorizontalBorder = " --...
mit
C#
734d4e553f1989958f7c074cb7820f10ee1f5be1
Update Assembly Versions
KallynGowdy/LINDI
src/LINDI.Core/Properties/AssemblyInfo.cs
src/LINDI.Core/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: Ass...
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: Ass...
apache-2.0
C#
e91e723bbbfdce87afde5a5ce0f7d186dd9babd5
Bump version
rabbit-link/rabbit-link,rabbit-link/rabbit-link
src/RabbitLink/Properties/AssemblyInfo.cs
src/RabbitLink/Properties/AssemblyInfo.cs
#region Usings using System.Reflection; using System.Runtime.InteropServices; #endregion // 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("R...
#region Usings using System.Reflection; using System.Runtime.InteropServices; #endregion // 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("R...
mit
C#
965e27ffa288c7f756cf5c1a30f3c26736761a6a
Fix merge conflict
serenabenny/Caliburn.Micro,Caliburn-Micro/Caliburn.Micro
samples/setup/Setup.WPF/Properties/Settings.Designer.cs
samples/setup/Setup.WPF/Properties/Settings.Designer.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
mit
C#
30e17a26eebbc5d225963b8320733ab9fc3f3def
Fix DeviceFamilyService Bug
janabimustafa/waslibs,wasteam/waslibs,janabimustafa/waslibs,pellea/waslibs,wasteam/waslibs,wasteam/waslibs,janabimustafa/waslibs,pellea/waslibs,pellea/waslibs
src/AppStudio.Uwp/Services/DeviceFamilyService.cs
src/AppStudio.Uwp/Services/DeviceFamilyService.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Foundation.Collections; namespace AppStudio.Uwp.Services { public static class DeviceFamilyService { private static IObservableMap<String, String> _qualifierValues; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Foundation.Collections; namespace AppStudio.Uwp.Services { public static class DeviceFamilyService { private static IObservableMap<String, String> _qualifierValues; ...
mit
C#
54d71af00dee23f67183d48c01e23ac1cc55fac8
Add example for UserLoginInfo's ProviderDisplayName property (#19357)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Identity/Extensions.Core/src/UserLoginInfo.cs
src/Identity/Extensions.Core/src/UserLoginInfo.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.AspNetCore.Identity { /// <summary> /// Represents login information and source for a user record. /// </summary> pu...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.AspNetCore.Identity { /// <summary> /// Represents login information and source for a user record. /// </summary> pu...
apache-2.0
C#
84eda5877d3376eedd58b7ffc385e00ebc8e6e3d
Update StrictTransportSecurityAttribute.
ivanra/mvcextras,ivanra/mvcextras
src/MvcExtras/StrictTransportSecurityAttribute.cs
src/MvcExtras/StrictTransportSecurityAttribute.cs
using System; using System.Web.Mvc; namespace MvcExtras { /// <summary> /// StrictTransportSecurityAttribute -- render Strict-Transport-Security HTTP header on response (as per RFC 6797: http://tools.ietf.org/html/rfc6797) /// </summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method...
using System; using System.Web.Mvc; namespace MvcExtras { /// <summary> /// StrictTransportSecurityAttribute -- render Strict-Transport-Security HTTP header on response (as per RFC 6797: http://tools.ietf.org/html/rfc6797) /// </summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method...
mit
C#
38a64a41d589ea5e7f49993b82c0335f4614df78
Fix indexed attachments index
ravendb/ravendb.contrib
src/Raven.Bundles.Contrib.IndexedAttachments/Startup.cs
src/Raven.Bundles.Contrib.IndexedAttachments/Startup.cs
using System.ComponentModel.Composition; using Raven.Abstractions.Indexing; using Raven.Database; using Raven.Database.Plugins; namespace Raven.Bundles.IndexedAttachments { [InheritedExport(typeof(IStartupTask))] [ExportMetadata("Bundle", "IndexedAttachments")] public class Startup : IStartupTask...
using System.ComponentModel.Composition; using Raven.Abstractions.Indexing; using Raven.Database; using Raven.Database.Plugins; namespace Raven.Bundles.IndexedAttachments { [InheritedExport(typeof(IStartupTask))] [ExportMetadata("Bundle", "IndexedAttachments")] public class Startup : IStartupTask...
mit
C#
9b756b9ce6ed06117ee181fbf3c91935bb82cdc8
Fix components
marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,tcmorris/Umbraco-CMS,hfloyd/Umbraco-CMS,mattbrailsford/Umbraco-CMS,bjarnef/Umbraco-CMS,hfloyd/Umbraco-CMS,tcmorris/Umbraco-CMS,abryukhov/Umbraco-CMS,leekelleher/Umbraco-CMS,KevinJump/Umbraco-CMS,hfloyd/Umbraco-CMS,lars-erik/Umbraco-CMS,JimBobSquarePants/...
src/Umbraco.Core/Components/ManifestWatcherComponent.cs
src/Umbraco.Core/Components/ManifestWatcherComponent.cs
using System; using System.IO; using Umbraco.Core.IO; using Umbraco.Core.Logging; using Umbraco.Core.Manifest; namespace Umbraco.Core.Components { public class ManifestWatcherComponent : IComponent, IDisposable { // if configured and in debug mode, a ManifestWatcher watches App_Plugins folders for ...
using System.IO; using Umbraco.Core.IO; using Umbraco.Core.Logging; using Umbraco.Core.Manifest; namespace Umbraco.Core.Components { public class ManifestWatcherComponent : IComponent { // if configured and in debug mode, a ManifestWatcher watches App_Plugins folders for // package.manifest ch...
mit
C#
618455f7ba3496591bc8ea2e8859e7ae74de3328
Remove exit step (needs login to show properly)
2yangk23/osu,ppy/osu,johnneijzen/osu,naoey/osu,smoogipoo/osu,DrabWeb/osu,DrabWeb/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu-new,naoey/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,peppy/osu,ZLima12/o...
osu.Game.Tests/Visual/TestCaseMultiScreen.cs
osu.Game.Tests/Visual/TestCaseMultiScreen.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 NUnit.Framework; using osu.Framework.Screens; using osu.Game.Screens.Multi; using osu.Game.Screens.Multi.Lounge; us...
// 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 NUnit.Framework; using osu.Framework.Screens; using osu.Game.Screens.Multi; using osu.Game.Screens.Multi.Lounge; us...
mit
C#
b7e7b0f850766a568e1e08aa985826402f27d1cb
Trim whitespace.
peppy/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu
osu.Game/Overlays/Settings/SettingsHeader.cs
osu.Game/Overlays/Settings/SettingsHeader.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.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Localisation; using osu.Game.Graphics; using o...
// 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.Containers; using osu.Framework.Localisation; using osu.Game.Graphics; using o...
mit
C#
4e600d096c23f27607097856edde9cece9aee454
Fix /n strings in Forms demo page
jamesmontemagno/ConnectivityPlugin,jamesmontemagno/ConnectivityPlugin
tests/app/ConnectivityTest/ConnectivityTestPage.xaml.cs
tests/app/ConnectivityTest/ConnectivityTestPage.xaml.cs
using Xamarin.Forms; using Plugin.Connectivity; using System.Linq; namespace ConnectivityTest { public partial class ConnectivityTestPage : ContentPage { public ConnectivityTestPage() { InitializeComponent(); } protected override async void OnAppearing() { base.OnAppearing(); await Display...
using Xamarin.Forms; using Plugin.Connectivity; using System.Linq; namespace ConnectivityTest { public partial class ConnectivityTestPage : ContentPage { public ConnectivityTestPage() { InitializeComponent(); } protected override async void OnAppearing() { base.OnAppearing(); await Display...
mit
C#
275770dc783a9bda2422badbe76bfff244cdee87
Remove confined cursor
NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare
Assets/Scripts/Global/GameController.cs
Assets/Scripts/Global/GameController.cs
using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.Events; using System.Collections; public class GameController : MonoBehaviour { public static GameController instance; #pragma warning disable 0649 [SerializeField] private bool disableCursor; [SerializeField] private MicrogameCol...
using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.Events; using System.Collections; public class GameController : MonoBehaviour { public static GameController instance; #pragma warning disable 0649 [SerializeField] private bool disableCursor; [SerializeField] private MicrogameCol...
mit
C#
f92e47144ab8b50ce87abfc1231e81255480cc67
Fix unable to upload blocks if the world smaller than the area
Yonom/BotBits,Tunous/BotBits,EEJesse/BotBits
BotBits/Packages/Blocks/BlockAreaEnumerableExtensions.cs
BotBits/Packages/Blocks/BlockAreaEnumerableExtensions.cs
using System; namespace BotBits { public static class BlockAreaEnumerableExtensions { public static BlockAreaEnumerable In(this IBlockAreaEnumerable blockArea, Rectangle area) { return new BlockAreaEnumerable(blockArea.Blocks, Rectangle.Intersect(area, blockArea.Ar...
using System; namespace BotBits { public static class BlockAreaEnumerableExtensions { public static BlockAreaEnumerable In(this IBlockAreaEnumerable blockArea, Rectangle area) { return new BlockAreaEnumerable(blockArea.Blocks, Rectangle.Intersect(area, blockArea.Ar...
mit
C#
83efa19758fa40a478c85ba911e5d954f7d6cb36
update at TcpClientNode class, try to directly parse ip address before performing host resolution
DarkCaster/DotNetBlocks,DarkCaster/DotNetBlocks
CustomBlocks/DataTransfer/Tcp/Client/TcpClientNode.cs
CustomBlocks/DataTransfer/Tcp/Client/TcpClientNode.cs
// TcpClientNode.cs // // The MIT License (MIT) // // Copyright (c) 2017 DarkCaster <dark.caster@outlook.com> // // 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, inclu...
// TcpClientNode.cs // // The MIT License (MIT) // // Copyright (c) 2017 DarkCaster <dark.caster@outlook.com> // // 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, inclu...
mit
C#
0fcd29bea5012d722305fe3450228f2b874af7f3
Modify File userAuth.cpl/UITests/Tests.cs
ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate
userAuth.cpl/UITests/Tests.cs
userAuth.cpl/UITests/Tests.cs
�using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Android; using Xamarin.UITest.Queries; namespace userAuth.cpl.UITests { [TestFixture] public class Tests { AndroidApp app; [SetUp] public void BeforeEachTest () { app = ConfigureApp.And...
using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Android; using Xamarin.UITest.Queries; namespace userAuth.cpl.UITests { [TestFixture] public class Tests { AndroidApp app; [SetUp] public void BeforeEachTest () { app = ConfigureApp.Andro...
mit
C#
8b2d4c06a99d1ba93f94eb9ed05ffc36bc3b5a15
fix location of file on server
m4r71n85/Recipies,m4r71n85/Recipies
Recipies/Recipies.Api/Controllers/ImagesController.cs
Recipies/Recipies.Api/Controllers/ImagesController.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Web; using System.Web.Http; namespace Recipies.Api.Controllers { public class ImagesController : ApiController { public void UploadImage(string sessionKey) ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Web; using System.Web.Http; namespace Recipies.Api.Controllers { public class ImagesController : ApiController { public void UploadImage(string sessionKey) ...
unlicense
C#
e3112f29e7856a70a3dd1d9d6c5a77541e050168
PATCH and POST on Single object now working. For #12
miclip/NJsonApiCore,brainwipe/NJsonApiCore,miclip/NJsonApiCore,brainwipe/NJsonApiCore
src/NJsonApi/Serialization/UpdateDocument.cs
src/NJsonApi/Serialization/UpdateDocument.cs
using System.Collections.Generic; using Newtonsoft.Json; using NJsonApi.Serialization.Representations.Resources; namespace NJsonApi.Serialization { internal class UpdateDocument { [JsonProperty(PropertyName = "data", Required = Required.Always)] public SingleResource Data { get; set; } } }...
using System.Collections.Generic; using Newtonsoft.Json; using NJsonApi.Serialization.Representations.Resources; namespace NJsonApi.Serialization { internal class UpdateDocument { [JsonExtensionData] public SingleResource Data { get; set; } } }
mit
C#
2fc246052086c7fb7c3bbd1a1fc57cd39ea44d67
fix LockScreenCommands.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Shell/Commands/LockScreenCommands.cs
WalletWasabi.Gui/Shell/Commands/LockScreenCommands.cs
using Avalonia; using AvalonStudio.Commands; using ReactiveUI; using System; using System.Composition; namespace WalletWasabi.Gui.Shell.Commands { internal class LockScreenCommands { public Global Global { get; } [ExportCommandDefinition("File.LockScreen")] public CommandDefinition Lo...
using Avalonia; using AvalonStudio.Commands; using ReactiveUI; using System; using System.Composition; namespace WalletWasabi.Gui.Shell.Commands { internal class LockScreenCommands { [ExportCommandDefinition("File.LockScreen")] public CommandDefinition LockScreenCommand { get; } [ImportingConstructor] publ...
mit
C#
00393aec067c4e54dac3be48648463ba8089000b
add DI for social media link repo
mzrimsek/resume-site-api
Web/Configuration/DependencyInjectionConfiguration.cs
Web/Configuration/DependencyInjectionConfiguration.cs
using Core.Interfaces.RepositoryInterfaces; using Integration.EntityFramework.Repositories; using Microsoft.Extensions.DependencyInjection; namespace Web.Configuration { public static class DependencyInjectionConfiguration { public static void Configure(IServiceCollection services) { ...
using Core.Interfaces.RepositoryInterfaces; using Integration.EntityFramework.Repositories; using Microsoft.Extensions.DependencyInjection; namespace Web.Configuration { public static class DependencyInjectionConfiguration { public static void Configure(IServiceCollection services) { ...
mit
C#
31e9b21d3bdbe32f5236e546e56e8c702fbdab1d
Replace StackTrace with CallerMemberName attribute
OfficeDev/Open-XML-SDK,ThomasBarnekow/Open-XML-SDK,tomjebo/Open-XML-SDK,tarunchopra/Open-XML-SDK,ClareMSYanGit/Open-XML-SDK
DocumentFormat.OpenXml.Tests/Common/TestContext.cs
DocumentFormat.OpenXml.Tests/Common/TestContext.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 System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; usi...
// 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 System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; usi...
mit
C#
42c94a73deacab8417c33b56de43646404030b01
Fix potential crash when clicking on header/footer in recent list.
masterrr/mobile,ZhangLeiCharles/mobile,masterrr/mobile,eatskolnikov/mobile,peeedge/mobile,peeedge/mobile,eatskolnikov/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile
Joey/UI/Fragments/RecentTimeEntriesListFragment.cs
Joey/UI/Fragments/RecentTimeEntriesListFragment.cs
using System; using System.Linq; using Android.OS; using Android.Util; using Android.Views; using Android.Widget; using Toggl.Joey.UI.Adapters; using ListFragment = Android.Support.V4.App.ListFragment; namespace Toggl.Joey.UI.Fragments { public class RecentTimeEntriesListFragment : ListFragment { publ...
using System; using System.Linq; using Android.OS; using Android.Util; using Android.Views; using Android.Widget; using Toggl.Joey.UI.Adapters; using ListFragment = Android.Support.V4.App.ListFragment; namespace Toggl.Joey.UI.Fragments { public class RecentTimeEntriesListFragment : ListFragment { publ...
bsd-3-clause
C#
cead5d67ac4adc57ac8dae642316f4baea8bec6c
update AnimationPartChange DatLoader accessibility for ACViewer clothing (#2995)
LtRipley36706/ACE,ACEmulator/ACE,ACEmulator/ACE,LtRipley36706/ACE,LtRipley36706/ACE,ACEmulator/ACE
Source/ACE.DatLoader/Entity/AnimationPartChange.cs
Source/ACE.DatLoader/Entity/AnimationPartChange.cs
using System.IO; namespace ACE.DatLoader.Entity { public class AnimationPartChange : IUnpackable { public byte PartIndex { get; set; } public uint PartID { get; set; } public void Unpack(BinaryReader reader) { PartIndex = reader.ReadByte(); PartID = r...
using System.IO; namespace ACE.DatLoader.Entity { public class AnimationPartChange : IUnpackable { public byte PartIndex { get; private set; } public uint PartID { get; private set; } public void Unpack(BinaryReader reader) { PartIndex = reader.ReadByte(); ...
agpl-3.0
C#
95d6802995b85a2c4e69fb30ecd07098d8e450c2
Update AudibleTelemeter.cs
tiksn/TIKSN-Framework
TIKSN.Core/Analytics/Telemetry/AudibleTelemeter.cs
TIKSN.Core/Analytics/Telemetry/AudibleTelemeter.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using TIKSN.Speech; namespace TIKSN.Analytics.Telemetry { public class AudibleTelemeter : IEventTelemeter, IExceptionTelemeter, IMetricTelemeter, ITraceTelemeter { private readonly ITextToSpeechService _textToSpeechService; ...
using System; using System.Collections.Generic; using System.Threading.Tasks; using TIKSN.Speech; namespace TIKSN.Analytics.Telemetry { public class AudibleTelemeter : IEventTelemeter, IExceptionTelemeter, IMetricTelemeter, ITraceTelemeter { private readonly ITextToSpeechService _textToSpeechService; ...
mit
C#
93064b4bfa97e52046cc55eab4a2d950d10b2d9e
Implement the ListStates method in EfStateRepository.
RichardVSaasbook/Widget
Widget/Widget.Domain/Concrete/EfStateRepository.cs
Widget/Widget.Domain/Concrete/EfStateRepository.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Widget.Domain.Abstract; using Widget.Domain.Models; namespace Widget.Domain.Concrete { public class EfStateRepository : IStateRepository { private WidgetDbContext db; /// <sum...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Widget.Domain.Abstract; using Widget.Domain.Models; namespace Widget.Domain.Concrete { public class EfStateRepository : IStateRepository { private WidgetDbContext db; /// <sum...
mit
C#
0670ac5a64fa017001be8da4093413ea80c06bd8
Patch array - Hate this problem. Medium my ass. Stupid fucking thing sucks
Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews
LeetCode/remote/patch_array.cs
LeetCode/remote/patch_array.cs
// https://leetcode.com/problems/patching-array/ // // Given a sorted positive integer array nums and an integer n, add/patch elements to the array such that any number in range [1, n] inclusive can be formed by the sum of some elements in the array. Return the minimum number of patches required. // // Example 1: //...
// https://leetcode.com/problems/patching-array/ // // Given a sorted positive integer array nums and an integer n, add/patch elements to the array such that any number in range [1, n] inclusive can be formed by the sum of some elements in the array. Return the minimum number of patches required. // // Example 1: //...
mit
C#
79bf67051eeb1e85d3ef8ca6584d786e324520c7
Change cast to Convert.ToBoolean in PlcBool
proemmer/papper
Papper/src/Papper/Types/PlcBool.cs
Papper/src/Papper/Types/PlcBool.cs
using System.Linq; using Papper.Helper; using System; namespace Papper.Types { internal class PlcBool : PlcObject { public PlcBool(string name) : base(name) { Size = new PlcSize { Bits = 1 }; } public override object ConvertFromRaw(PlcObjectBinding plc...
using System.Linq; using Papper.Helper; namespace Papper.Types { internal class PlcBool : PlcObject { public PlcBool(string name) : base(name) { Size = new PlcSize { Bits = 1 }; } public override object ConvertFromRaw(PlcObjectBinding plcObjectBinding)...
apache-2.0
C#
cad371175b4913e45f36c2e2299635c1cf5146b2
Add test for Firebird
sqlkata/querybuilder
QueryBuilder.Tests/CompilerTest.cs
QueryBuilder.Tests/CompilerTest.cs
using SqlKata; using SqlKata.Compilers; using Xunit; namespace QueryBuilder.Tests { public class CompilerTest { private readonly Compiler pgsql; private readonly MySqlCompiler mysql; private readonly FirebirdCompiler fbsql; private SqlServerCompiler mssql { get; } publ...
using SqlKata; using SqlKata.Compilers; using Xunit; namespace QueryBuilder.Tests { public class CompilerTest { private readonly Compiler pgsql; private readonly MySqlCompiler mysql; private SqlServerCompiler mssql { get; } public CompilerTest() { mssql = n...
mit
C#
68cb7d1f185abe80d4d46e812a1e49413697a403
Make properties writes block by default
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/API/Treehopper/Settings.cs
NET/API/Treehopper/Settings.cs
using System; namespace Treehopper { /// <summary> /// This class represents global settings used by the Treehopper API /// </summary> public class Settings { /// <summary> /// Get or sets whether exceptions should be thrown. /// </summary> /// <remarks> ...
using System; namespace Treehopper { /// <summary> /// This class represents global settings used by the Treehopper API /// </summary> public class Settings { /// <summary> /// Get or sets whether exceptions should be thrown. /// </summary> /// <remarks> ...
mit
C#
f67ce94049cd56393a6e271a18c35f536ced452e
Change switch statement in Version task to use ToLower on argument
frozenskys/generator-tribble,frozenskys/generator-tribble
generators/cakeplus/templates/build.cake
generators/cakeplus/templates/build.cake
/////////////////////////////////////////////////////////////////////////////// // Tools and Addins /////////////////////////////////////////////////////////////////////////////// #tool "GitVersion.CommandLine" #addin nuget:?package=Cake.Git #addin nuget:?package=Cake.Figlet ///////////////////////////////////////////...
/////////////////////////////////////////////////////////////////////////////// // Tools and Addins /////////////////////////////////////////////////////////////////////////////// #tool "GitVersion.CommandLine" #addin nuget:?package=Cake.Git #addin nuget:?package=Cake.Figlet ///////////////////////////////////////////...
mit
C#
6009876182fb1c3fc96573829ac8a3d80ae45671
Edit it
sta/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,2Toad/websocket-sharp,2Toad/websocket-sharp,jogibear9988/websocket-sharp,2Toad/websocket-sharp,2Toad/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp
websocket-sharp/ErrorEventArgs.cs
websocket-sharp/ErrorEventArgs.cs
#region License /* * ErrorEventArgs.cs * * The MIT License * * Copyright (c) 2012-2015 sta.blockhead * * 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 ...
#region License /* * ErrorEventArgs.cs * * The MIT License * * Copyright (c) 2012-2015 sta.blockhead * * 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 ...
mit
C#
ebee9393f1e011d25cdffb36345005a90af74864
Stop double call of Directory.GetCurrentDirectory on startup, as 20% slower on linux
jtkech/Orchard2,alexbocharov/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,GVX111/Orchard2,petedavis/Orchard2,petedavis/Orchard2,yiji/Orchard2,stevetayloruk/Orchard2,lukaskabrt/Orchard2,xkproject/Orchard2,jtkech/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,yiji/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,jt...
src/Orchard.Web/Program.cs
src/Orchard.Web/Program.cs
using System.IO; using Microsoft.AspNetCore.Hosting; using Orchard.Hosting; using Orchard.Web; namespace Orchard.Console { public class Program { public static void Main(string[] args) { var currentDirectory = Directory.GetCurrentDirectory(); var host = new WebHostBuil...
using System.IO; using Microsoft.AspNetCore.Hosting; using Orchard.Hosting; using Orchard.Web; namespace Orchard.Console { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() .UseIISIntegration() .UseKestre...
bsd-3-clause
C#
4875687e65609b0c13edf8d236a7e88d351d39ca
disable retries in tests
SimonCropp/NServiceBus.Serilog
src/Tests/ConfigBuilder.cs
src/Tests/ConfigBuilder.cs
using NServiceBus; public static class ConfigBuilder { public static EndpointConfiguration BuildDefaultConfig(string endpointName) { var configuration = new EndpointConfiguration(endpointName); configuration.SendFailedMessagesTo("error"); configuration.UsePersistence<InMemoryPersistenc...
using NServiceBus; public static class ConfigBuilder { public static EndpointConfiguration BuildDefaultConfig(string endpointName) { var configuration = new EndpointConfiguration(endpointName); configuration.SendFailedMessagesTo("error"); configuration.UsePersistence<InMemoryPersistenc...
mit
C#
b15fb65c1a1c8e2ed691cbaf5134d1daddf6b2dd
Fix NSwag upgrade
amweiss/WeatherLink
src/WeatherLink/Startup.cs
src/WeatherLink/Startup.cs
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using NSwag.AspNetCore; using WeatherLink.Models; using WeatherLink.Services; namespa...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using NSwag.AspNetCore; using WeatherLink.Models; using WeatherLink.Services; namespa...
mit
C#
205b89c680d3abf5b20fb2a5c907111f779ecb8d
remove c# 6 syntax
lust4life/WebApiProxy
WebApiProxy.Tasks/Models/GenerateConfig.cs
WebApiProxy.Tasks/Models/GenerateConfig.cs
using System.Collections.Generic; using System.Linq; namespace WebApiProxy.Tasks.Models { public class GenerateConfig { public bool GenerateOnBuild { get; set; } public bool GenerateAsyncReturnTypes { get; set; } public IEnumerable<ServiceConfig> Services { get; set; } publi...
using System.Collections.Generic; using System.Linq; namespace WebApiProxy.Tasks.Models { public class GenerateConfig { public bool GenerateOnBuild { get; set; } public bool GenerateAsyncReturnTypes { get; set; } public IEnumerable<ServiceConfig> Services { get; set; } publi...
mit
C#
0b5ffcbdcc5ff2c78d564f3a37cacbb662a0705a
Move to next version
aloisdg/Doccou,saidmarouf/Doccou,aloisdg/CountPages
Counter/Properties/AssemblyInfo.cs
Counter/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Counter")] [assembly: AssemblyDescription("Counter is a ...
using System.Reflection; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Counter")] [assembly: AssemblyDescription("Counter is a ...
mit
C#