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
996522fcca4717539b36ed7fd9cfdd942a3aefaa
测试提交2
Langbencom/rights,oceanho/rights,oceanho/rights,rucila/rights,Langbencom/rights,rucila/rights,rucila/rights,MetSystem/rights,Langbencom/rights,rucila/rights,MetSystem/rights,oceanho/rights,oceanho/rights,MetSystem/rights,Langbencom/rights,MetSystem/rights
Rights/App/Controllers/HomeController.cs
Rights/App/Controllers/HomeController.cs
using Common; using Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Langben.App.Controllers { public class HomeController : BaseController { // // GET: /Home/ public ActionResult Index() ...
using Common; using Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Langben.App.Controllers { public class HomeController : BaseController { // // GET: /Home/ public ActionResult Index() ...
apache-2.0
C#
7c2e149b4744c855f29cb19099d32fd712fda497
bump build number
jjchiw/gelf4net,jjchiw/gelf4net
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Security; using System.Runtime.CompilerServices; [assembly: AssemblyCompany("gelf4net")] [assembly: AssemblyFileVersion("2.0.3.1")] [assembly: AssemblyVersion("2.0.3.1")] [assembly: AssemblyCopyright("Copyright 2014")] [assemb...
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Security; using System.Runtime.CompilerServices; [assembly: AssemblyCompany("gelf4net")] [assembly: AssemblyFileVersion("2.0.3.0")] [assembly: AssemblyVersion("2.0.3.0")] [assembly: AssemblyCopyright("Copyright 2014")] [assemb...
mit
C#
30254132234e3d42c91ff85c0ba61f6d09d2c258
Use AppModel APIs to get package version for accurate reporting
File-New-Project/EarTrumpet
EarTrumpet/ViewModels/SettingsViewModel.cs
EarTrumpet/ViewModels/SettingsViewModel.cs
using EarTrumpet.DataModel; using EarTrumpet.Misc; using EarTrumpet.Services; using System; using System.Diagnostics; using System.Reflection; using Windows.ApplicationModel; namespace EarTrumpet.ViewModels { public class SettingsViewModel : BindableBase { SettingsService.HotkeyData _hotkey; i...
using EarTrumpet.DataModel; using EarTrumpet.Misc; using EarTrumpet.Services; using System; using System.Diagnostics; using System.Reflection; namespace EarTrumpet.ViewModels { public class SettingsViewModel : BindableBase { SettingsService.HotkeyData _hotkey; internal SettingsService.HotkeyDa...
mit
C#
6f444c279075585b71cafc49bfa54fc9f367e710
Fix namespace in CharacterController
joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
Joinrpg/Controllers/CharacterController.cs
Joinrpg/Controllers/CharacterController.cs
using System.Web.Mvc; using JoinRpg.Data.Interfaces; using JoinRpg.Services.Interfaces; namespace JoinRpg.Web.Controllers { public class CharacterController : Common.ControllerGameBase { // GET: Character public CharacterController(ApplicationUserManager userManager, IProjectRepository projectRe...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using JoinRpg.Data.Interfaces; using JoinRpg.Services.Interfaces; namespace JoinRpg.Web.Controllers { public class CharacterController : Common.ControllerGameBase { // GET: Character public...
mit
C#
cefd016fd15aed83fdb19b06ead75547cc6b649c
update LanguagesController.cs
mauroao/java-aspnet-interop,mauroao/java-aspnet-interop,mauroao/java-aspnet-interop
asp.net/MvcWebApi/Controllers/LanguagesController.cs
asp.net/MvcWebApi/Controllers/LanguagesController.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using MvcWebApi.Repositories; namespace MvcWebApi.Controllers { public class LanguagesController : ApiController { /// <summary> /// Get all indexed langua...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using MvcWebApi.Repositories; namespace MvcWebApi.Controllers { public class LanguagesController : ApiController { /// <summary> /// Get all indexed langua...
unlicense
C#
948f391514f341e3dfc6bfa100d11630292ae489
Remove Task.Run() from SymbolFilterServer
MattKotsenas/SymbolFilterServer
SymbolFilterServer/SymbolFilterServer.cs
SymbolFilterServer/SymbolFilterServer.cs
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace SymbolFilterServer { // ReSharper disable once ClassNeverInstantiated.Global -- Instantiated by middleware public class SymbolFilterServer { private readonly RequestDelegate _next; public SymbolFilterSe...
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace SymbolFilterServer { // ReSharper disable once ClassNeverInstantiated.Global -- Instantiated by middleware public class SymbolFilterServer { private readonly RequestDelegate _next; public SymbolFilterSe...
mit
C#
3ee84034a34439c805eafdf6462457ce614cbb0e
change creature base type (GameEntity is a concept, GameObject is a real instance)
Dergash/le
src/Models/Creature.cs
src/Models/Creature.cs
using System; using System.IO; namespace LE { public class Creature : GameObject { public String Name; public Gender Gender; } }
using System; using System.IO; namespace LE { public class Creature : GameEntity { public String Name; public Gender Gender; } }
mit
C#
9f71d04a632cf2b09fe3eac3c97c2ef5ad91fd8a
add missing log
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/AddWallet/HardwareWallet/DetectedHardwareWalletViewModel.cs
WalletWasabi.Fluent/ViewModels/AddWallet/HardwareWallet/DetectedHardwareWalletViewModel.cs
using System; using System.Windows.Input; using ReactiveUI; using WalletWasabi.Extensions; using WalletWasabi.Fluent.ViewModels.Navigation; using WalletWasabi.Hwi.Models; using WalletWasabi.Logging; namespace WalletWasabi.Fluent.ViewModels.AddWallet.HardwareWallet { public class DetectedHardwareWalletViewModel : Rout...
using System; using System.Windows.Input; using ReactiveUI; using WalletWasabi.Extensions; using WalletWasabi.Fluent.ViewModels.Navigation; using WalletWasabi.Hwi.Models; namespace WalletWasabi.Fluent.ViewModels.AddWallet.HardwareWallet { public class DetectedHardwareWalletViewModel : RoutableViewModel { public De...
mit
C#
b329becda54800fbdbb7de002cf3f96d2386e033
Add a string extension to validate Email
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Extensions/StringExtensions.cs
Anlab.Mvc/Extensions/StringExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace AnlabMvc.Extensions { public static class StringExtensions { const string emailRegex = @"^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AnlabMvc.Extensions { public static class StringExtensions { public static string PaymentMethodDescription(this string value) { if (string.Equals(value, "uc", String...
mit
C#
092978f55eefb75bda8b4a5934f6a15234f356de
fix for report cleanup in session end
Apex-net/WRP
src/WRP/Global.asax.cs
src/WRP/Global.asax.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Security; using System.Web.SessionState; namespace WebReportPreview { public class Global : System.Web.HttpApplication { protected void Application_Start(object sender, EventArgs e) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Security; using System.Web.SessionState; namespace WebReportPreview { public class Global : System.Web.HttpApplication { protected void Application_Start(object sender, EventArgs e) { ...
mit
C#
5741c322e04618a2b99ce79e041a8c828283c224
Update BuildTool Deploy
WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework
Framework.BuildTool/Command/Deploy.cs
Framework.BuildTool/Command/Deploy.cs
using System.IO; namespace Framework.BuildTool { public class CommandDeploy : Command { public CommandDeploy() : base("deploy", "Deploy to Azure git") { this.AzureGitUrl = ArgumentAdd("azureGitUrl", "Azure Git Url"); } public readonly Argument AzureGitU...
using System.IO; namespace Framework.BuildTool { public class CommandDeploy : Command { public CommandDeploy() : base("deploy", "Deploy to Azure git") { this.AzureGitUrl = ArgumentAdd("azureGitUrl", "Azure Git Url"); } public readonly Argument AzureGitU...
mit
C#
90aa156d6d38408d0b782d71295d639e22b08ba7
Update version number for release
markashleybell/MAB.DotIgnore,markashleybell/MAB.DotIgnore
MAB.DotIgnore/Properties/AssemblyInfo.cs
MAB.DotIgnore/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("MAB.DotIgnore")] [assembly: AssemblyDescr...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("MAB.DotIgnore")] [assembly: AssemblyDescr...
mit
C#
f6730b47ad844c22be105a668a6991db59ab4a5e
Update MailService.cs
TopSoftSolutions/CoreMailService
MailService.Core/Services/MailService.cs
MailService.Core/Services/MailService.cs
using MailService.Core.Configuration; using MailService.Core.Models; using MailService.Core.Response; using System; using System.Net; using System.Net.Mail; using System.Threading.Tasks; namespace MailService.Core.Services { public class MailService : IMailService { public async Task<MailSentResult> S...
using MailService.Core.Configuration; using MailService.Core.Models; using MailService.Core.Response; using System; using System.Net; using System.Net.Mail; using System.Threading.Tasks; namespace MailService.Core.Services { public class MailService : IMailService { public async Task<MailSentResult> S...
mit
C#
5b5e87ff3bc1d7045c6685a475ed8303a0564311
Fix incorrect references.
dneelyep/MonoGameUtils
MonoGameUtils/Drawing/CubicBezierPath.cs
MonoGameUtils/Drawing/CubicBezierPath.cs
using System.Collections.Generic; using System.Diagnostics; namespace MonoGameUtils.Drawing { /// <summary> /// Represents a collection of connected <see cref="CubicBezier"/> curves. /// </summary> public class CubicBezierPath { /// <summary> /// The list of Bezier curves that belo...
using System; using System.Collections; using System.Collections.Generic; namespace MonoGameUtils.Drawing { /// <summary> /// Represents a collection of connected <see cref="CubicBezier"/> curves. /// </summary> public class CubicBezierPath { /// <summary> /// The list of Bezier cu...
mit
C#
cb3512f84af32d1809c1e233e170a21499c0071c
Allow indices to be stored for .net assemblies.
sharwell/roslyn,VSadov/roslyn,zooba/roslyn,balajikris/roslyn,Maxwe11/roslyn,mattwar/roslyn,AlekseyTs/roslyn,robinsedlaczek/roslyn,sharadagrawal/Roslyn,jasonmalinowski/roslyn,khyperia/roslyn,lorcanmooney/roslyn,leppie/roslyn,mavasani/roslyn,leppie/roslyn,mmitche/roslyn,xoofx/roslyn,budcribar/roslyn,Pvlerick/roslyn,rgani...
src/VisualStudio/Core/Def/Implementation/Serialization/AssemblySerializationInfoService.cs
src/VisualStudio/Core/Def/Implementation/Serialization/AssemblySerializationInfoService.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Composition; using System.IO; using Microsoft.CodeAnalysis.Host.Mef; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis.Serialization { ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Composition; using System.IO; using Microsoft.CodeAnalysis.Host.Mef; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis.Serialization { ...
mit
C#
078b1bf6661042d34353f107d00978037736817a
Add some symbol kinds
0xd4d/iced,0xd4d/iced,0xd4d/iced,0xd4d/iced,0xd4d/iced
Iced/Intel/FormatterOutputTextKind.cs
Iced/Intel/FormatterOutputTextKind.cs
/* Copyright (C) 2018 de4dot@gmail.com This file is part of Iced. Iced is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any lat...
/* Copyright (C) 2018 de4dot@gmail.com This file is part of Iced. Iced is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any lat...
mit
C#
edba6c1018637a3b7d35ed33d629daa6de79b259
Fix xmldoc typo
huoxudong125/NSubstitute,mrinaldi/NSubstitute,jannickj/NSubstitute,dnm240/NSubstitute,iamkoch/NSubstitute,mrinaldi/NSubstitute,jbialobr/NSubstitute,mrinaldi/NSubstitute,jannickj/NSubstitute,dnm240/NSubstitute,jbialobr/NSubstitute,jannickj/NSubstitute,dnm240/NSubstitute,iamkoch/NSubstitute,huoxudong125/NSubstitute,huoxu...
Source/NSubstitute/Core/WhenCalled.cs
Source/NSubstitute/Core/WhenCalled.cs
using System; using NSubstitute.Routing; namespace NSubstitute.Core { public class WhenCalled<T> { private readonly T _substitute; private readonly Action<T> _call; private readonly MatchArgs _matchArgs; private readonly ICallRouter _callRouter; private readonly IRouteFa...
using System; using NSubstitute.Routing; namespace NSubstitute.Core { public class WhenCalled<T> { private readonly T _substitute; private readonly Action<T> _call; private readonly MatchArgs _matchArgs; private readonly ICallRouter _callRouter; private readonly IRouteFa...
bsd-3-clause
C#
d4d66da121c9d7336e5073b91ad635e84bec31a7
Fix merge mistake
yadyn/JabbR,yadyn/JabbR,yadyn/JabbR
JabbR/App_Start/Startup.Migrations.cs
JabbR/App_Start/Startup.Migrations.cs
using System; using System.Data.Entity; using System.Data.Entity.Migrations; using JabbR.Models; using JabbR.Models.Migrations; using JabbR.Services; namespace JabbR { public partial class Startup { private const string SqlClient = "System.Data.SqlClient"; private static void DoMigrations(IJa...
using System; using System.Data.Entity; using System.Data.Entity.Migrations; using JabbR.Models; using JabbR.Models.Migrations; using JabbR.Services; namespace JabbR { public partial class Startup { private const string SqlClient = "System.Data.SqlClient"; private static void DoMigrations(IJa...
mit
C#
d8f4b56f0046192dc8c861c278ef7bf5fa44e41f
Adjust pane when going to inline mode to close it
clarkezone/Kliva,AppCreativity/Kliva,timheuer/Kliva-1,JasterAtMicrosoft/Kliva
Kliva/ViewModels/SidePaneViewModel.cs
Kliva/ViewModels/SidePaneViewModel.cs
using Cimbalino.Toolkit.Services; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using Kliva.Models; using Kliva.Views; using Windows.UI.Xaml.Controls; namespace Kliva.ViewModels { public class SidePaneViewModel : KlivaBaseViewModel { private bool _isPaneOpen = false; public bool ...
using Cimbalino.Toolkit.Services; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using Kliva.Models; using Kliva.Views; using Windows.UI.Xaml.Controls; namespace Kliva.ViewModels { public class SidePaneViewModel : KlivaBaseViewModel { private bool _isPaneOpen = true; public bool I...
mit
C#
2eb5e302a1d81cff6d4886fc3e5f342f18211704
Fix broken test
cityindex-attic/CIAPI.CS,cityindex-attic/CIAPI.CS,cityindex-attic/CIAPI.CS
src/CIAPI.Tests/PrettyPrinterExtensionsFixture.cs
src/CIAPI.Tests/PrettyPrinterExtensionsFixture.cs
using System; using System.Threading; using CIAPI.DTO; using CIAPI.Streaming; using NUnit.Framework; namespace CIAPI.Tests { [TestFixture] public class PrettyPrinterExtensionsFixture { [Test] public void CreateStringWithValuesOfEachPublicProperty() { var dto = new TheDto...
using System; using System.Threading; using CIAPI.DTO; using CIAPI.Streaming; using NUnit.Framework; namespace CIAPI.Tests { [TestFixture] public class PrettyPrinterExtensionsFixture { [Test] public void CreateStringWithValuesOfEachPublicProperty() { var dto = new TheDto...
apache-2.0
C#
4fb584ee77c76898a3875ad066fed969cb8a6f5b
Add some tests for CassetteApplication.OnPostMapRequestHandler.
BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,damiensawyer/cassette,damiensawyer/cassette,honestegg/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,damiensawyer/cassette
src/Cassette.UnitTests/Web/CassetteApplication.cs
src/Cassette.UnitTests/Web/CassetteApplication.cs
#region License /* Copyright 2011 Andrew Davey This file is part of Cassette. Cassette is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ...
#region License /* Copyright 2011 Andrew Davey This file is part of Cassette. Cassette is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later ...
mit
C#
3a5155066012e818f964236a36c927ca7aa3e450
Use the parameterless contructor from Obselete Portal Helper
robsiera/Dnn.Platform,valadas/Dnn.Platform,EPTamminga/Dnn.Platform,valadas/Dnn.Platform,RichardHowells/Dnn.Platform,valadas/Dnn.Platform,nvisionative/Dnn.Platform,dnnsoftware/Dnn.Platform,dnnsoftware/Dnn.AdminExperience.Library,valadas/Dnn.Platform,dnnsoftware/Dnn.Platform,robsiera/Dnn.Platform,valadas/Dnn.Platform,nvi...
src/Dnn.PersonaBar.Library/Helper/PortalHelper.cs
src/Dnn.PersonaBar.Library/Helper/PortalHelper.cs
using DotNetNuke.Entities.Portals; using System; namespace Dnn.PersonaBar.Library.Helper { public class PortalHelper { private static readonly IContentVerifier _contentVerifier = new ContentVerifier(); [Obsolete("Deprecated in 9.2.1. Use IContentVerifier.IsContentExistsForRequestedPortal")] ...
using DotNetNuke.Entities.Portals; using System; using System.Linq; namespace Dnn.PersonaBar.Library.Helper { public class PortalHelper { private static readonly IContentVerifier _contentVerifier = new ContentVerifier(PortalController.Instance, PortalGroupController.Instance); [Obsolete("Depr...
mit
C#
4124bc7fe28d6c51b72158b7d20f471a1308c110
Increase timeout to prevent cibuild failures
bkoelman/TestableFileSystem
src/Fakes.Tests/Specs/FakeWatcher/WatcherSpecs.cs
src/Fakes.Tests/Specs/FakeWatcher/WatcherSpecs.cs
namespace TestableFileSystem.Fakes.Tests.Specs.FakeWatcher { public abstract class WatcherSpecs { protected const int NotifyWaitTimeoutMilliseconds = 1000; protected const int SleepTimeToEnsureOperationHasArrivedAtWatcherConsumerLoop = 250; // TODO: Add specs for File.Encrypt/Decrypt, ...
namespace TestableFileSystem.Fakes.Tests.Specs.FakeWatcher { public abstract class WatcherSpecs { protected const int NotifyWaitTimeoutMilliseconds = 500; protected const int SleepTimeToEnsureOperationHasArrivedAtWatcherConsumerLoop = 250; // TODO: Add specs for File.Encrypt/Decrypt, F...
apache-2.0
C#
3949d46383b6adece23f0e43445ee92b3ff31585
Add test fix to other test
UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,ppy/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,2yangk23/osu,EVAST9919/osu,ZLima12/osu,peppy/osu,peppy/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,johnneijzen/osu,ZLima12/osu,EVAST9919/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,UselessToucan/osu...
osu.Game.Tests/Visual/UserInterface/TestSceneHoldToConfirmOverlay.cs
osu.Game.Tests/Visual/UserInterface/TestSceneHoldToConfirmOverlay.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 osu.Framework.Graphics; using osu.Game.Graphics; using osu.Game.Graphics.Containers; using osu.Game.Graphics.Sprite...
// 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 osu.Framework.Graphics; using osu.Game.Graphics; using osu.Game.Graphics.Containers; using osu.Game.Graphics.Sprite...
mit
C#
6f6ff7c57b03dc69e294be83ccabe7f8f054be3f
Switch to cake-contrib
Redth/Cake.Json,Redth/Cake.Json
setup.cake
setup.cake
#load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease Environment.SetVariableNames(); BuildParameters.SetParameters(context: Context, buildSystem: BuildSystem, sourceDirectoryPath: "./src", titl...
#load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease Environment.SetVariableNames(); BuildParameters.SetParameters(context: Context, buildSystem: BuildSystem, sourceDirectoryPath: "./src", titl...
apache-2.0
C#
8afb33ff0df96906801aa57a43c9a193880d48ec
Move to cake-contrib
Redth/Cake.SemVer
setup.cake
setup.cake
#load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease Environment.SetVariableNames(); BuildParameters.SetParameters(context: Context, buildSystem: BuildSystem, sourceDirectoryPath: "./src", titl...
#load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease Environment.SetVariableNames(); BuildParameters.SetParameters(context: Context, buildSystem: BuildSystem, sourceDirectoryPath: "./src", titl...
mit
C#
976fc17a4d5002d7933ba81eda8558d25deb0633
Change property "Value"
KonH/UnityCache
Assets/UnityCache/Scripts/Cached.cs
Assets/UnityCache/Scripts/Cached.cs
using UnityEngine; namespace UnityCache { /// <summary> /// Experimental feature: /// You can make instance of this component in our script and use it for lazy initialization /// Pro: /// - You can cache external dependencies by passing its GameObject to constructor /// Contra: /// - You want to explicit crea...
using UnityEngine; namespace UnityCache { /// <summary> /// Experimental feature: /// You can make instance of this component in our script and use it for lazy initialization /// Pro: /// - You can cache external dependencies by passing its GameObject to constructor /// Contra: /// - You want to explicit crea...
mit
C#
66103e17de24dcbcb0c81ee02f125fe94c8b5583
Exit VR with tilt
aornelas/Tiny-Planets,aornelas/Tiny-Planets
Assets/_Scripts/PlanetController.cs
Assets/_Scripts/PlanetController.cs
using UnityEngine; using System.Collections; public class PlanetController : MonoBehaviour { public Transform referencePoint; public GameObject nextPlanet; void Start () { Debug.Log("Started " + this.name); } void OnEnable() { Debug.Log("Enabled " + this.name); OrientTowardsReference(); } void Update...
using UnityEngine; using System.Collections; public class PlanetController : MonoBehaviour { public Transform referencePoint; public GameObject nextPlanet; void Start () { Debug.Log("Started " + this.name); OrientTowardsReference(); } void Update () { OrientTowardsReference(); if (GvrViewer.Instance.T...
mit
C#
6aa2ffc4f7fc9578d351d6926f407f70c54dc968
Change signatures
sakapon/Blaze
Blaze/Blaze/Propositions/Formula.cs
Blaze/Blaze/Propositions/Formula.cs
using System; using System.Collections.Generic; using System.Linq; namespace Blaze.Propositions { public abstract class Formula { public abstract Formula[] Children { get; } public abstract bool? IsTrue { get; } internal static Formula[] EmptyFormulas { get; } = new Formula...
using System; using System.Collections.Generic; using System.Linq; namespace Blaze.Propositions { public abstract class Formula { public abstract Formula[] Children { get; } public abstract bool? IsTrue { get; } internal static Formula[] EmptyFormulas { get; } = new Formula...
mit
C#
535637d3ba3300f414e13a57ba8ea0fc2a91bb6a
Fix bug with date from CKAN API not being converted from UTC to local
DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API
CkanDotNet.Api/Helper/DateHelper.cs
CkanDotNet.Api/Helper/DateHelper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Globalization; namespace CkanDotNet.Api.Helper { public static class DateHelper { /// <summary> /// Parse a date/time string. /// </summary> /// <param name="dateString"></param> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Globalization; namespace CkanDotNet.Api.Helper { public static class DateHelper { /// <summary> /// Parse a date/time string. /// </summary> /// <param name="dateString"></param> ...
apache-2.0
C#
2179f6085409b6eb52ab30724a3ed3a80fdc468f
Update the appveyor account
jeyjeyemem/Xer.Cqrs
setup.cake
setup.cake
#load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease Environment.SetVariableNames(); BuildParameters.SetParameters(context: Context, buildSystem: BuildSystem, sourceDirectoryPath: "./Src", title: "Xer...
#load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease Environment.SetVariableNames(); BuildParameters.SetParameters(context: Context, buildSystem: BuildSystem, sourceDirectoryPath: "./Src", title: "Xer...
mit
C#
bc2adc55fcbe0e6dc8345ced5e4f1ab1c5a851b1
Update MatthewSoucoup.cs
MabroukENG/planetxamarin,planetxamarin/planetxamarin,beraybentesen/planetxamarin,stvansolano/planetxamarin,stvansolano/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin,beraybentesen/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxama...
src/Firehose.Web/Authors/MatthewSoucoup.cs
src/Firehose.Web/Authors/MatthewSoucoup.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class MatthewSoucoup : IAmAMicrosoftMVP, IAmAXamarinMVP { public IEnumerable<Uri> FeedUris { get { yield return new Uri("https://codemilltech.com/feed/"); } ...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class MatthewSoucoup : IAmAMicrosoftMVP, IAmAXamarinMVP { public IEnumerable<Uri> FeedUris { get { yield return new Uri("https://codemilltech.com/feed/"); } ...
mit
C#
476265018699af7fc746f5268b55f77883af4158
修改 Index view.
NemoChenTW/MvcMovie,NemoChenTW/MvcMovie,NemoChenTW/MvcMovie
src/MvcMovie/Views/HelloWorld/Index.cshtml
src/MvcMovie/Views/HelloWorld/Index.cshtml
@{ ViewData["Title"] = "Index"; } <h2>Index</h2> <p>Hello from our View Template!</p>
@* For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 *@ @{ }
apache-2.0
C#
20b51398f2e5e2b616a23f9581003a919bf33824
Bump the build version.
exKAZUu/Code2Xml,exKAZUu/Code2Xml,exKAZUu/Code2Xml,exKAZUu/Code2Xml
Code2Xml.Core/Properties/AssemblyInfo.cs
Code2Xml.Core/Properties/AssemblyInfo.cs
#region License // Copyright (C) 2011-2012 Kazunori Sakamoto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unle...
#region License // Copyright (C) 2011-2012 Kazunori Sakamoto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unle...
apache-2.0
C#
f8bde743dcf8a3180b45df7239d5a7de314de1cc
Change the wait example to a mock login page.
matthewrwilton/SeleniumExamples,matthewrwilton/SeleniumExamples
ExampleWebApp/Views/Examples/Wait.cshtml
ExampleWebApp/Views/Examples/Wait.cshtml
@{ ViewBag.Title = "ComboLoad"; } <div class="row"> <div class="col-md-12"> <h2>Example page for testing waits</h2> <p class="alert alert-danger" id="message" style="display:none"></p> <div> <div class="form-group"> <label for="username">Username</label> ...
@{ ViewBag.Title = "ComboLoad"; } <div class="row"> <div class="col-md-12"> <h2>Example page for testing waits</h2> <p>The following combo starts with a placeholder option and after 3 seconds updates with a new item.</p> <select id="combo" > <option>Placeholder</option> ...
mit
C#
3e60bac49043c2b0324b1a8a3a979b431ac34a04
return to nice situation
IlyasGaripov/Math-Shapes
MathShapesProject/Assets/Scripts/Game.cs
MathShapesProject/Assets/Scripts/Game.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Game : MonoBehaviour { private int coins; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Game : MonoBehaviour { private int VeryBadSituation; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
mit
C#
05459ec5d94a983eef0c3358afa3c5db4a5ebf3b
Update QrCodeScanningService.cs
rhinorust/MoMa
Moma/Moma.Droid/QrCodeScanningService.cs
Moma/Moma.Droid/QrCodeScanningService.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xamarin.Forms; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using ZXing.Mobile; using System.Threading.Tasks; using Moma.Droid; [assembly: Depend...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xamarin.Forms; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using ZXing.Mobile; using System.Threading.Tasks; using Moma.Droid; [assembly: Depend...
mit
C#
be760faa935f2f56797497155c6653f110cb6006
Fix Read-Palettes not counting tile number.
Prof9/PixelPet
PixelPet/CLI/Commands/ReadPalettesCmd.cs
PixelPet/CLI/Commands/ReadPalettesCmd.cs
using LibPixelPet; using System; using System.Linq; namespace PixelPet.CLI.Commands { internal class ReadPalettesCmd : CliCommand { public ReadPalettesCmd() : base("Read-Palettes", new Parameter("format", "f", false, new ParameterValue("name", nameof(ColorFormat.BGRA8888))), new Parameter("palette-numbe...
using LibPixelPet; using System; using System.Linq; namespace PixelPet.CLI.Commands { internal class ReadPalettesCmd : CliCommand { public ReadPalettesCmd() : base("Read-Palettes", new Parameter("format", "f", false, new ParameterValue("name", nameof(ColorFormat.BGRA8888))), new Parameter("palette-numbe...
mit
C#
f4f8917315bde244820b1d0d4fea6dc25fa26f83
add custom presenter to setup
dkataskin/bstrkr
bstrkr.mobile/bstrkr.android/Setup.cs
bstrkr.mobile/bstrkr.android/Setup.cs
using Android.Content; using Cirrious.CrossCore; using Cirrious.CrossCore.Platform; using Cirrious.MvvmCross.Binding.Bindings.Target.Construction; using Cirrious.MvvmCross.Droid.Platform; using Cirrious.MvvmCross.ViewModels; using bstrkr.core.android.config; using bstrkr.core.android.services; using bstrkr.core.andro...
using Android.Content; using Cirrious.CrossCore; using Cirrious.CrossCore.Platform; using Cirrious.MvvmCross.Binding.Bindings.Target.Construction; using Cirrious.MvvmCross.Droid.Platform; using Cirrious.MvvmCross.ViewModels; using bstrkr.core.android.config; using bstrkr.core.android.services; using bstrkr.core.andro...
bsd-2-clause
C#
55e84fc04900eea3257dccc8eebb588eb8391c28
update to the version number
UweKeim/aspnetserve,UweKeim/aspnetserve,UweKeim/aspnetserve,UweKeim/aspnetserve
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyCompany("Jason Whitehorn")] [assembly: AssemblyCopyright("Copyright © 2006-2008 Jason Whitehorn")] [assembly: AssemblyVersion("1.4.0.0")] [assembly: AssemblyFileVersion("1.4.0.0")]
using System.Reflection; [assembly: AssemblyCompany("Jason Whitehorn")] [assembly: AssemblyCopyright("Copyright © 2006-2008 Jason Whitehorn")] [assembly: AssemblyVersion("1.3.0.99")] [assembly: AssemblyFileVersion("1.3.0.99")]
bsd-3-clause
C#
50d3b2494f1f1ba752f92bdf67279f02580924f0
add Icon support to AlertDialogBckend
directhex/xwt,iainx/xwt,mono/xwt,mminns/xwt,lytico/xwt,hamekoz/xwt,mminns/xwt,antmicro/xwt,residuum/xwt,cra0zy/xwt,hwthomas/xwt,akrisiun/xwt,steffenWi/xwt,TheBrainTech/xwt
Xwt.Mac/Xwt.Mac/AlertDialogBackend.cs
Xwt.Mac/Xwt.Mac/AlertDialogBackend.cs
// // AlertDialogBackend.cs // // Author: // Thomas Ziegler <ziegler.thomas@web.de> // // Copyright (c) 2012 Thomas Ziegler // // 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 wi...
// // AlertDialogBackend.cs // // Author: // Thomas Ziegler <ziegler.thomas@web.de> // // Copyright (c) 2012 Thomas Ziegler // // 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 wi...
mit
C#
a091a2f905a8ada6d47f44ff865dc82f3374e8fe
use random int to place checkbox
peterhumbert/YARTE
YARTE/YARTE/Buttons/CheckboxButton.cs
YARTE/YARTE/Buttons/CheckboxButton.cs
using System.Drawing; using YARTE.Properties; using System; namespace YARTE.UI.Buttons { public class CheckboxButton : IHTMLEditorButton { public void IconClicked(ButtonArgs args) { Random t = new Random(); string valueToReplace = t.Next().ToString(); args.E...
using System.Drawing; using YARTE.Properties; using System; namespace YARTE.UI.Buttons { public class CheckboxButton : IHTMLEditorButton { public void IconClicked(ButtonArgs args) { args.Editor.InsertTextAtCursor("123456789"); string html = args.Editor.Html; ...
apache-2.0
C#
d3be7180fe2bdffe1be6f1034bdfa771ad1a34a7
Fix bug where repo name was used instead of organization in the links.
rprouse/GetChanges
GetChanges/Program.cs
GetChanges/Program.cs
using Nito.AsyncEx; using Octokit; using System; using System.Collections.Generic; using System.Linq; namespace Alteridem.GetChanges { class Program { static int Main(string[] args) { var options = new Options(); if (!CommandLine.Parser.Default.ParseArguments(args, opti...
using Nito.AsyncEx; using Octokit; using System; using System.Collections.Generic; using System.Linq; namespace Alteridem.GetChanges { class Program { static int Main(string[] args) { var options = new Options(); if (!CommandLine.Parser.Default.ParseArguments(args, opti...
mit
C#
8bfed285fae886f766e2df57134bccb590c7e4bd
Update version to 2.7.0
TheOtherTimDuncan/TOTD
SharedAssemblyInfo.cs
SharedAssemblyInfo.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: AssemblyConfigura...
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: AssemblyConfigura...
mit
C#
3a576d2a4b863c4b7984e3e854316519f253e5a5
Increment minor -> 0.10.0
awseward/Bugsnag.NET,awseward/Bugsnag.NET
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyVersion("0.10.0.0")] [assembly: AssemblyFileVersion("0.10.0.0")] [assembly: AssemblyInformationalVersion("0.10.0")]
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyVersion("0.9.1.0")] [assembly: AssemblyFileVersion("0.9.1.0")] [assembly: AssemblyInformationalVersion("0.9.1")]
mit
C#
569cb0743f9b4274843e965a5618d3efdd38a411
Update version to 1.6.0
TheOtherTimDuncan/TOTD-Mailer
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
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: AssemblyConfiguration("")] [assembly: AssemblyCompany("The Other Tim Duncan")] [assembly: Asse...
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: AssemblyConfiguration("")] [assembly: AssemblyCompany("The Other Tim Duncan")] [assembly: Asse...
mit
C#
822b6cd015f5c5ebe13bb3b8ea281c0ab68d7199
Add note about what your dod is
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Models/RequestAccessModel.cs
Battery-Commander.Web/Models/RequestAccessModel.cs
using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace BatteryCommander.Web.Models { public class RequestAccessModel { public String Name { get; set; } public String Email { get; set; } [Display...
using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace BatteryCommander.Web.Models { public class RequestAccessModel { public String Name { get; set; } public String Email { get; set; } [Display...
mit
C#
8dbc0d6d85f08560399ceccc501a1b711cac3438
Convert Web Api project to C# 5
DimitarDKirov/RealEstateSystem,DimitarDKirov/RealEstateSystem,DimitarDKirov/RealEstateSystem
RealEstateWebApi/Tests/Teleimot.Web.Api.Tests/Setups/Services.cs
RealEstateWebApi/Tests/Teleimot.Web.Api.Tests/Setups/Services.cs
namespace Teleimot.Web.Api.Tests.Setups { using Teleimot.Services.Data; using Teleimot.Services.Data.Contracts; public static class Services { public static ICommentsService CommentsService { get { return new CommentsService(Repositories.Comments...
namespace Teleimot.Web.Api.Tests.Setups { using Teleimot.Services.Data; using Teleimot.Services.Data.Contracts; public static class Services { public static ICommentsService CommentsService => new CommentsService(Repositories.CommentsRepository, Repositories.RealEstatessRepository); } }
mit
C#
0764372723ff48994acea1797186c16225b34f55
Fix button Id
hishamco/WebForms,hishamco/WebForms
samples/WebFormsSample/Pages/Calculator.htm.designer.cs
samples/WebFormsSample/Pages/Calculator.htm.designer.cs
namespace WebFormsSample.Pages { public partial class Calculator { private global::My.AspNetCore.WebForms.Controls.TextBox txtNumber1; private global::My.AspNetCore.WebForms.Controls.TextBox txtNumber2; private global::My.AspNetCore.WebForms.Controls.Button btnAdd; private globa...
namespace WebFormsSample.Pages { public partial class Calculator { private global::My.AspNetCore.WebForms.Controls.TextBox txtNumber1; private global::My.AspNetCore.WebForms.Controls.TextBox txtNumber2; private global::My.AspNetCore.WebForms.Controls.Button bntAdd; private globa...
mit
C#
133553bfb13c3fc45a8f94fd6c2c5ad7e40f8309
Test was missed.
RadioSystems/Cake.ActiveDirectory
src/Cake.ActiveDirectory.Tests/UserFindTests.cs
src/Cake.ActiveDirectory.Tests/UserFindTests.cs
using NSubstitute; using System; using Cake.ActiveDirectory.Tests.Fixture; using Landpy.ActiveDirectory.Core; using Should; using Should.Core.Assertions; namespace Cake.ActiveDirectory.Tests { public sealed class UserFindTests { public void Should_Throw_If_ProxyAddress_Is_Null() { // Given ...
using NSubstitute; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Cake.ActiveDirectory.Tests.Fixture; using Landpy.ActiveDirectory.Core; using Should; using Should.Core.Assertions; namespace Cake.ActiveDirectory.Tests { public sealed class...
apache-2.0
C#
0cd6e0a02f6781e5b85169cd25225e1141296537
Make DesktopElement not sealed so that clients can extend it with properties that find windows.
toroso/ruibarbo
ruibarbo.core/DesktopElement.cs
ruibarbo.core/DesktopElement.cs
using System.Collections.Generic; using ruibarbo.core.ElementFactory; namespace ruibarbo.core { public class DesktopElement : ISearchSourceElement { internal DesktopElement() { } public string Name { get { return "Desktop"; } } ...
using System.Collections.Generic; using ruibarbo.core.ElementFactory; namespace ruibarbo.core { public sealed class DesktopElement : ISearchSourceElement { internal DesktopElement() { } public string Name { get { return "Desktop"; } } ...
apache-2.0
C#
0a4757db24e7f3e4e35bc6e4a6707db3fa1bf982
Write out raw HTML if SubMessage contains any
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EAS.Web/Views/Shared/_SuccessMessage.cshtml
src/SFA.DAS.EAS.Web/Views/Shared/_SuccessMessage.cshtml
@using SFA.DAS.EAS.Web @using SFA.DAS.EAS.Web.Models @model dynamic @{ var viewModel = Model as OrchestratorResponse; } @if (!string.IsNullOrEmpty(viewModel?.FlashMessage?.Message) || !string.IsNullOrEmpty(viewModel?.FlashMessage?.SubMessage)) { <div class="grid-row"> <div class="column-full"> ...
@using SFA.DAS.EAS.Web @using SFA.DAS.EAS.Web.Models @model dynamic @{ var viewModel = Model as OrchestratorResponse; } @if (!string.IsNullOrEmpty(viewModel?.FlashMessage?.Message) || !string.IsNullOrEmpty(viewModel?.FlashMessage?.SubMessage)) { <div class="grid-row"> <div class="column-full"> ...
mit
C#
e559fddfb1fbb6a73e9e834b2f4014bf63c2bd74
Fix exit codes, reset console colors after changing them
oledid-dotnet/xslt-cli
CLI/Program.cs
CLI/Program.cs
using System; using System.IO; namespace CLI { internal class Program { private enum ExitCodes { Success = 0, Error = 1 } internal static int Main(string[] args) { var parsedArgs = new ArgsParser(args); if (parsedArgs.IsValid(File.Exists)) { return (int)Execute(parsedArgs.Source, parse...
using System; using System.IO; namespace CLI { class Program { static void Main(string[] args) { var parsedArgs = new ArgsParser(args); if (parsedArgs.IsValid(File.Exists)) { Execute(parsedArgs.Source, parsedArgs.Transform, parsedArgs.OutFile); } else { Console.WriteLine(parsedArgs.Err...
mit
C#
cf7b326c4b56959d275835bd9fe1a995c2e7766e
change namespace for extension methods
albx/CorePatterns
src/CorePatterns.AspNetCore/Extensions/ServiceCollectionExtensions.cs
src/CorePatterns.AspNetCore/Extensions/ServiceCollectionExtensions.cs
using CorePatterns.AspNetCore.Commands; using CorePatterns.AspNetCore.Events; using CorePatterns.Commands; using CorePatterns.Events; using Microsoft.Extensions.DependencyInjection; namespace CorePatterns.AspNetCore { public static class ServiceCollectionExtensions { public static IServiceCollection A...
using CorePatterns.AspNetCore.Commands; using CorePatterns.AspNetCore.Events; using CorePatterns.Commands; using CorePatterns.Events; using Microsoft.Extensions.DependencyInjection; namespace CorePatterns.AspNetCore.Extensions { public static class ServiceCollectionExtensions { public static IServiceC...
mit
C#
af620db2da7a00d1d82046c0aab52d2f9d6adca3
Add WriteJson to MixedDateTimeConverter
timheuer/alexa-skills-dotnet,stoiveyp/alexa-skills-dotnet
Alexa.NET/Helpers/MixedDateTimeConverter.cs
Alexa.NET/Helpers/MixedDateTimeConverter.cs
using System; using Newtonsoft.Json; namespace Alexa.NET.Helpers { public class MixedDateTimeConverter : Newtonsoft.Json.Converters.DateTimeConverterBase { static readonly DateTime UnixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); public override void WriteJson(JsonWriter writer, object valu...
using System; using Newtonsoft.Json; namespace Alexa.NET.Helpers { public class MixedDateTimeConverter : Newtonsoft.Json.Converters.DateTimeConverterBase { static readonly DateTime UnixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); public override void WriteJson(JsonWriter writer, object valu...
mit
C#
067e37081738b7261967160a5257c7c78da85f34
Update version
batstyx/Shamanic
Shamanic/Properties/AssemblyInfo.cs
Shamanic/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("Sha...
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("Sha...
mit
C#
3c73f35481e5d1c144787f55548c575e5a9cefb9
Update CombatUse.cs (#3285)
LtRipley36706/ACE,LtRipley36706/ACE,ACEmulator/ACE,ACEmulator/ACE,LtRipley36706/ACE,ACEmulator/ACE
Source/ACE.Entity/Enum/CombatUse.cs
Source/ACE.Entity/Enum/CombatUse.cs
namespace ACE.Entity.Enum { public enum CombatUse : byte { None = 0x00, Melee = 0x01, Missile = 0x02, Ammo = 0x03, Shield = 0x04, TwoHanded = 0x05 } }
namespace ACE.Entity.Enum { public enum CombatUse : byte { None = 0x00, Melee = 0x01, Missle = 0x02, Ammo = 0x03, Shield = 0x04, TwoHanded = 0x05 } }
agpl-3.0
C#
689a29b08c19019947be033eb77464ab4db391b1
Build revision update.
jduv/AppDomainToolkit
AppDomainToolkit/Properties/AssemblyInfo.cs
AppDomainToolkit/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("Ap...
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("Ap...
mit
C#
21871a800707b6f5dbf8cbd5b21b1501e8457d4f
Fix line above home paragraph
travistme/PersonalSite
TElkins.Web/Views/Home/Index.cshtml
TElkins.Web/Views/Home/Index.cshtml
 @{ ViewBag.Title = "Travis Elkins"; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> </head> <body> <div class="jumbotron"> <div class="container"> <div class="col-lg-12"> ...
 @{ ViewBag.Title = "Travis Elkins"; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> </head> <body> <div class="jumbotron"> <div class="container"> <div class="col-lg-12"> ...
mit
C#
0813538e0ac48b65ba7a0fc4078783c1a3be099c
modify ForTestController
mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK
Samples/Senparc.Weixin.MP.Sample.vs2017/Senparc.Weixin.MP.CoreSample/Controllers/ForTestController.cs
Samples/Senparc.Weixin.MP.Sample.vs2017/Senparc.Weixin.MP.CoreSample/Controllers/ForTestController.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Web; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Senparc.Weixin.HttpUtility; namespace Senparc.Weixin.MP.CoreSample.Controllers { /// <summary> /// 提供给 Senp...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Web; using Microsoft.AspNetCore.Mvc; namespace Senparc.Weixin.MP.CoreSample.Controllers { /// <summary> /// 提供给 Senparc.WeixinTests/Utilities/HttpUtility/PostTests.cs使用 /// </summ...
apache-2.0
C#
94ff6f668abc60b5137c6598e96dfe6235d8a69d
Update AssemblyInfo.cs
hyonholee/azure-sdk-for-net,atpham256/azure-sdk-for-net,pankajsn/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,ahosnyms/azure-sdk-for-net,MichaelCommo/azure-sdk-for-net,JasonYang-MSFT/azure-sdk-for-net,smithab/azure-sdk-for-net,AzureAutomationTeam/azure-sdk-for-net,atpham256/azure-sdk-for-net,yaakoviyun/azure-sdk-fo...
src/ResourceManagement/Resource/Microsoft.Azure.Management.ResourceManager/Properties/AssemblyInfo.cs
src/ResourceManagement/Resource/Microsoft.Azure.Management.ResourceManager/Properties/AssemblyInfo.cs
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
mit
C#
df63bd73f5a4b1be0f7809bfd9c2560e96ac2531
Make the 'throw' test more realistic
jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm
tests/throw/throw.cs
tests/throw/throw.cs
using System; public static class Program { public static void Main() { try { ThrowAndFinally(); } catch (Exception o) { Console.Write("are "); } finally { Console.WriteLine("ya"); } } private s...
using System; public static class Program { public static void Main() { try { ThrowAndFinally(); } catch (Object o) { Console.Write("are "); } finally { Console.WriteLine("ya"); } } private stat...
mit
C#
36d5e00b1466319ba02616b2a23c8a443a8ef13c
Set current category to the first one we add
simontaylor81/Syrup,simontaylor81/Syrup
ShaderEditorApp/ViewModel/OutputWindowViewModel.cs
ShaderEditorApp/ViewModel/OutputWindowViewModel.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reactive; using System.Reactive.Linq; using System.Reactive.Subjects; using System.Text; using System.Threading.Tasks; using ReactiveUI; using SRPCommon.Logging; namespace ShaderEditorApp.ViewModel { ...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reactive; using System.Reactive.Linq; using System.Reactive.Subjects; using System.Text; using System.Threading.Tasks; using ReactiveUI; using SRPCommon.Logging; namespace ShaderEditorApp.ViewModel { ...
mit
C#
eb6acab2d46fa4832769bc3597ff729222cb0445
Bump version to 0.6
mganss/XmlSchemaClassGenerator,mganss/XmlSchemaClassGenerator
XmlSchemaClassGenerator/Properties/AssemblyInfo.cs
XmlSchemaClassGenerator/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("Xml...
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("Xm...
apache-2.0
C#
51c43c55a9fb479d07a7deb786049a2f693386c0
Formate code
edwardinubuntu/Roguelike2D
Assets/Scripts/Enemy.cs
Assets/Scripts/Enemy.cs
using UnityEngine; using System.Collections; public class Enemy : MovingObject { public int playerDamage; private Animator animator; private Transform target; private bool skipMove; protected override void Start () { animator = GetComponent < Animator> (); target = GameObject.FindGameObjectsWithTag ("Play...
using UnityEngine; using System.Collections; public class Enemy : MovingObject { public int playerDamage; private Animator animator; private Transform target; private bool skipMove; protected override void Start () { animator = GetComponent < Animator> (); target = GameObject.FindGameObjectsWithTag ("P...
mit
C#
98c13dca25adc8cd15bc3cc0a41645f1594734dc
Add missing Decimal translation
another-guy/CSharpToTypeScript,another-guy/CSharpToTypeScript
Core/DotNetToTypeScriptType.cs
Core/DotNetToTypeScriptType.cs
using System; using System.Collections.Generic; namespace TsModelGen.Core { public static class DotNetToTypeScriptType { public static Dictionary<string, string> Mapping => MappingLazy.Value; private static readonly Lazy<Dictionary<string, string>> MappingLazy = new Lazy<Dictionar...
using System; using System.Collections.Generic; namespace TsModelGen.Core { public static class DotNetToTypeScriptType { public static Dictionary<string, string> Mapping => MappingLazy.Value; private static readonly Lazy<Dictionary<string, string>> MappingLazy = new Lazy<Dictionar...
mit
C#
c08faedc2a66b65afdf5070a1d2d54f5ccbb8879
Update FiverTests.cs
willrawls/xlg,willrawls/xlg
MetX/MetX.Console.Tests/Fiver/FiverTests.cs
MetX/MetX.Console.Tests/Fiver/FiverTests.cs
using System.IO; using MetX.Five; using MetX.Standard.Primary.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MetX.Console.Tests.Fiver; [TestClass] public class FiverTests { [TestMethod] public void SettingsFile_RoundTrip() { var expected = "Fred"; var settingsFilePath =...
using System.IO; using MetX.Five; using MetX.Standard.Primary.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MetX.Console.Tests.Fiver; [TestClass] public class FiverTests { [TestMethod] public void SettingsFile_RoundTrip() { var expected = "Fred"; var settingsFilePath =...
mit
C#
4321e8b194518b30a203f024a6b3fccf09faa508
fix OperationException
gomafutofu/BtrieveWrapper,yezorat/BtrieveWrapper,yezorat/BtrieveWrapper,gomafutofu/BtrieveWrapper
BtrieveWrapper/OperationException.cs
BtrieveWrapper/OperationException.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.Security.Permissions; using System.Text; using System.Xml.Serialization; namespace BtrieveWrapper { [Serializable] public class OperationException : Exception { stat...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.Security.Permissions; using System.Text; using System.Xml.Serialization; namespace BtrieveWrapper { [Serializable] public class OperationException : Exception { stat...
mit
C#
b3c6bd9b75eb527f435f5326a5718b1e0afcac97
Update SwedenProvider.cs
tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date
Nager.Date/PublicHolidays/SwedenProvider.cs
Nager.Date/PublicHolidays/SwedenProvider.cs
using Nager.Date.Contract; using Nager.Date.Model; using System; using System.Collections.Generic; using System.Linq; namespace Nager.Date.PublicHolidays { public class SwedenProvider : IPublicHolidayProvider { public IEnumerable<PublicHoliday> Get(DateTime easterSunday, int year) { ...
using Nager.Date.Contract; using Nager.Date.Model; using System; using System.Collections.Generic; using System.Linq; namespace Nager.Date.PublicHolidays { public class SwedenProvider : IPublicHolidayProvider { public IEnumerable<PublicHoliday> Get(DateTime easterSunday, int year) { ...
mit
C#
7ff43e637209492e35618264fc39a61d7d2fb0f1
Remove useless func
DragonEyes7/ConcoursUBI17,DragonEyes7/ConcoursUBI17
Proto/Assets/Scripts/Helpers/FileManager.cs
Proto/Assets/Scripts/Helpers/FileManager.cs
 using System.IO; public class FileManager { private readonly string _file; public FileManager(string filePath) { _file = filePath; } public void Write(string text) { File.WriteAllText(_file, text); } public string Read() { return File.Exi...
 using System.IO; public class FileManager { private readonly string _file; public FileManager(string filePath) { _file = filePath; } public void Append(string text) { var writer = File.AppendText(_file); writer.Write(text); writer.Flush(); }...
mit
C#
1156fe16a7adc186ad652aba5292e75e1e235d59
Check 3
tamaraAbramov/FinalProject,tamaraAbramov/FinalProject,tamaraAbramov/FinalProject
FinalProject/Models/Article.cs
FinalProject/Models/Article.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace FinalProject.Models { public class Article { public int ID { get; set; } [Display(Name = "Article Title")] public string Title { get; set; } ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace FinalProject.Models { public class Article { public int ID { get; set; } [Display(Name = "Article Title")] public string Title { get; set; } ...
mit
C#
d05f11c2fcf6f9e98edc6eaed9262531cce03a97
Improve the comparable implementation
DHancock/Countdown
Countdown/ViewModels/EquationItem.cs
Countdown/ViewModels/EquationItem.cs
using System; namespace Countdown.ViewModels { /// <summary> /// Used to display solver results in the ui and tracks /// the selection of the items /// </summary> internal sealed class EquationItem : ItemBase, IComparable { public EquationItem() : this(string.Empty) ...
using System; namespace Countdown.ViewModels { /// <summary> /// Used to display solver results in the ui and tracks /// the selection of the items /// </summary> internal sealed class EquationItem : ItemBase, IComparable { public EquationItem() : this(string.Empty) ...
unlicense
C#
1249cc577067d0a2318eadbe598e3e6774478838
Update IndexModule.cs
LeedsSharp/AppVeyorDemo
src/AppVeyorDemo/AppVeyorDemo/Modules/IndexModule.cs
src/AppVeyorDemo/AppVeyorDemo/Modules/IndexModule.cs
namespace AppVeyorDemo.Modules { using System.Configuration; using AppVeyorDemo.Models; using Nancy; public class IndexModule : NancyModule { public IndexModule() { Get["/"] = parameters => { var model = new IndexViewModel { ...
namespace AppVeyorDemo.Modules { using System.Configuration; using AppVeyorDemo.Models; using Nancy; public class IndexModule : NancyModule { public IndexModule() { Get["/"] = parameters => { var model = new IndexViewModel { ...
apache-2.0
C#
30db186ebc157153787691d624c7451efe5dc583
Make a final sound after all the other sounds
gadauto/OCDEscape
Assets/OCDRoomEscape/Scripts/Interaction/PuzzleMaster.cs
Assets/OCDRoomEscape/Scripts/Interaction/PuzzleMaster.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; public class PuzzleMaster : MonoBehaviour { public float timeBetweenSounds = 15f; public WallManager wallMgr; public List<Puzzle> puzzles; public AudioSource puzzleWinSound; public AudioSource endGameWinSound; float increment; fl...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class PuzzleMaster : MonoBehaviour { public float timeBetweenSounds = 15f; public WallManager wallMgr; public List<Puzzle> puzzles; public AudioSource puzzleWinSound; float increment; float weightedIncrementTotal; bool isG...
apache-2.0
C#
8e4e0504032a068b8b903554114266e60d4262a5
bump version
sevoku/MonoDevelop.Xwt
Properties/AddinInfo.cs
Properties/AddinInfo.cs
using Mono.Addins; [assembly:Addin ( "Xwt", Namespace = "MonoDevelop", Version = "1.0.1" )] [assembly:AddinName ("Xwt Project Support")] [assembly:AddinCategory ("IDE extensions")] [assembly:AddinDescription ( "Adds Xwt cross-platform UI project and file templates, " + "including executable projects for suppor...
using Mono.Addins; [assembly:Addin ( "Xwt", Namespace = "MonoDevelop", Version = "1.0" )] [assembly:AddinName ("Xwt Project Support")] [assembly:AddinCategory ("IDE extensions")] [assembly:AddinDescription ( "Adds Xwt cross-platform UI project and file templates, " + "including executable projects for supporte...
mit
C#
3eb5bd9ba7aa2ec13c6fdf9b55c70fd4d6fbecbb
fix typo
splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net
IPTables.Net/Iptables/DataTypes/ConnectionStateHelper.cs
IPTables.Net/Iptables/DataTypes/ConnectionStateHelper.cs
using System; using IPTables.Net.Exceptions; namespace IPTables.Net.Iptables.DataTypes { public class ConnectionStateHelper { public static String GetString(ConnectionState state) { switch (state) { case ConnectionState.Established: r...
using System; using IPTables.Net.Exceptions; namespace IPTables.Net.Iptables.DataTypes { public class ConnectionStateHelper { public static String GetString(ConnectionState state) { switch (state) { case ConnectionState.Established: r...
apache-2.0
C#
3a27a8f29d9bc36e484e12bc2c043eaecfc2f178
Update CacheDecoratorBase.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/Cache/CacheDecoratorBase.cs
TIKSN.Core/Data/Cache/CacheDecoratorBase.cs
using System; namespace TIKSN.Data.Cache { public abstract class CacheDecoratorBase<T> { protected static readonly Type entityType = typeof(T); } }
using System; namespace TIKSN.Data.Cache { public abstract class CacheDecoratorBase<T> { protected static readonly Type entityType = typeof(T); } }
mit
C#
83cc5f97bb1ea67b05e73f1f0e147ff5140e616f
Update AssemblyInfo.cs
faniereynders/WebApiProxy,lust4life/WebApiProxy
WebApiProxy.Core/Properties/AssemblyInfo.cs
WebApiProxy.Core/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: AssemblyTi...
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: AssemblyTi...
mit
C#
bebba5a324bc1027284d3373b18f241edfb3f3e4
fix format index in FinalLogData.ToString
mperdeck/jsnlog
jsnlog/PublicFacing/Configuration/FinalLogData.cs
jsnlog/PublicFacing/Configuration/FinalLogData.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace JSNLog { public class FinalLogData { public ILogRequest LogRequest { get; private set; } public string FinalLogger { get; set; } public Level FinalLevel { get; set; } public string ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace JSNLog { public class FinalLogData { public ILogRequest LogRequest { get; private set; } public string FinalLogger { get; set; } public Level FinalLevel { get; set; } public string ...
mit
C#
6fe49a26b0599a82287a08775b9c6f178ccc68e0
use async / await for http client call
andrew0928/WebServerClock
WebServerClock/Form1.cs
WebServerClock/Form1.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WebServerClock { public partial class Form1 : Form { pu...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WebServerClock { public partial class Form1 : Form { pu...
mit
C#
f1969c253948220dacb29444c2191df7a3bcc598
Fix SignalR Streaming example (#42281)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/SignalR/samples/SignalRSamples/Hubs/Streaming.cs
src/SignalR/samples/SignalRSamples/Hubs/Streaming.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Reactive.Linq; using System.Threading.Channels; using Microsoft.AspNetCore.SignalR; namespace SignalRSamples.Hubs; public class Streaming : Hub { public async IAsy...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Reactive.Linq; using System.Threading.Channels; using Microsoft.AspNetCore.SignalR; namespace SignalRSamples.Hubs; public class Streaming : Hub { public async IAsy...
apache-2.0
C#
0161d607e6bb4944c991f39a2e405706efd0ae8d
Fix handling of deletion of settings file;
SnpM/Lockstep-Framework
Settings/LSFSettingsManager.cs
Settings/LSFSettingsManager.cs
using UnityEngine; using System.Collections; using FastCollections; #if UNITY_EDITOR using UnityEditor; #endif namespace Lockstep { public static class LSFSettingsManager { public const string DEFAULT_SETTINGS_NAME = "DefaultLockstepFrameworkSettings"; public const string SETTINGS_NAME = "Lock...
using UnityEngine; using System.Collections; using FastCollections; #if UNITY_EDITOR using UnityEditor; #endif namespace Lockstep { public static class LSFSettingsManager { public const string DEFAULT_SETTINGS_NAME = "DefaultLockstepFrameworkSettings"; public const string SETTINGS_NAME = "Lock...
mit
C#
0b82182ed246157d8922ff6e909ce8603b13e1fc
refactor database seed
StefanBertels/language-ext,StanJav/language-ext,louthy/language-ext
Samples/Contoso/Contoso.Web/Extensions/HostExtensions.cs
Samples/Contoso/Contoso.Web/Extensions/HostExtensions.cs
using System; using Contoso.Infrastructure.Data; using LanguageExt; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using static LanguageExt.Prelude; namespace Contoso.Web.Extensions { public static class ...
using System; using Contoso.Infrastructure.Data; using LanguageExt; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using static LanguageExt.Prelude; namespace Contoso.Web.Extensions { public static class HostExtensions { public s...
mit
C#
38f22d121f17994e78fbdb6f4b5d1ad9bd489c57
Fix $ning output
graymalkin/gwen
ThreadedIRCBot/Modules/Ning.cs
ThreadedIRCBot/Modules/Ning.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ThreadedIRCBot { class Ning : Module { public Ning(IRC ircNet) : base(ircNet) { } public override void Start() { throw new NotImplementedException(); } public o...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ThreadedIRCBot { class Ning : Module { public Ning(IRC ircNet) : base(ircNet) { } public override void Start() { throw new NotImplementedException(); } public o...
mit
C#
a0eebac196aa19dd6d913df6fb681effc21b7652
Remove Mono specific using
sant0ro/Yupi,sant0ro/Yupi,sant0ro/Yupi,TheDoct0r11/Yupi,TheDoct0r11/Yupi,TheDoct0r11/Yupi,TheDoct0r11/Yupi,sant0ro/Yupi,sant0ro/Yupi
Yupi.Model/MonoSQLiteDriver.cs
Yupi.Model/MonoSQLiteDriver.cs
using System; namespace Yupi.Model { public class MonoSQLiteDriver : NHibernate.Driver.ReflectionBasedDriver { public MonoSQLiteDriver() : base( "Mono.Data.Sqlite", "Mono.Data.Sqlite", "Mono.Data.Sqlite.SqliteConnection", "Mono.Data.Sqlite.SqliteCommand") { } public overri...
using System; using Mono.Data.Sqlite; namespace Yupi.Model { public class MonoSQLiteDriver : NHibernate.Driver.ReflectionBasedDriver { public MonoSQLiteDriver() : base( "Mono.Data.Sqlite", "Mono.Data.Sqlite", "Mono.Data.Sqlite.SqliteConnection", "Mono.Data.Sqlite.SqliteCommand") { ...
mit
C#
e538ccca779e170f30c027b8d623a22bb4664bdd
Update PlatformIdentifier unit test
tgstation/tgstation-server-tools,Cyberboss/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server
tests/Tgstation.Server.Host.Tests/Core/TestPlatformIdentifier.cs
tests/Tgstation.Server.Host.Tests/Core/TestPlatformIdentifier.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Runtime.InteropServices; namespace Tgstation.Server.Host.Core.Tests { [TestClass] public sealed class TestPlatformIdentifier { [TestMethod] public void TestCorrectPlatform() { var identifier = new PlatformIdentifier(); var isWindows = Ru...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Runtime.InteropServices; namespace Tgstation.Server.Host.Core.Tests { [TestClass] public sealed class TestPlatformIdentifier { [TestMethod] public void TestCorrectPlatform() { var identifier = new PlatformIdentifier(); Assert.AreEqual(Run...
agpl-3.0
C#
403690881f1161dc24a7795f19378e314ddffb85
Fix incomplete zlib compression (#102)
hybrasyl/server,baughj/hybrasylserver,baughj/hybrasylserver,hybrasyl/server,baughj/hybrasylserver,hybrasyl/server
hybrasyl/Compression.cs
hybrasyl/Compression.cs
using System.IO; using System.IO.Compression; namespace Hybrasyl { public static class ZlibCompression { public static void Compress(Stream originalStream, Stream compressedStream) { uint checksum = 0; using (var checksumStream = new MemoryStream()) { ...
using System.IO; using System.IO.Compression; namespace Hybrasyl { public static class ZlibCompression { public static void Compress(Stream originalStream, Stream compressedStream) { compressedStream.Write(new byte[] { 0x78, 0x9C }, 0, 2); using (var compressionStream =...
agpl-3.0
C#
b83ea0dea2c4b71407f136178dfb496e8040354f
Fix incorrect field name retrieval
jgoode/EDDiscovery,jgoode/EDDiscovery,mwerle/EDDiscovery,mwerle/EDDiscovery,jthorpe4/EDDiscovery
EDDiscovery/EliteDangerous/JournalEvents/JournalEndCrewSession.cs
EDDiscovery/EliteDangerous/JournalEvents/JournalEndCrewSession.cs
/* * Copyright © 2017 EDDiscovery development team * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
/* * Copyright © 2017 EDDiscovery development team * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
apache-2.0
C#
67ac57f5060232f992d85724e060fdc4e5122755
Rename types in test code.
JohanLarsson/Gu.Roslyn.Asserts
Gu.Roslyn.Asserts.Tests.Net472WithAttributes/RoslynAssertTests.cs
Gu.Roslyn.Asserts.Tests.Net472WithAttributes/RoslynAssertTests.cs
namespace Gu.Roslyn.Asserts.Tests.Net472WithAttributes { using Gu.Roslyn.Asserts.Tests.Net472WithAttributes.AnalyzersAndFixes; using NUnit.Framework; public partial class RoslynAssertTests { [Test] public void ResetMetadataReferences() { CollectionAssert.IsNotEmpty(R...
namespace Gu.Roslyn.Asserts.Tests.Net472WithAttributes { using Gu.Roslyn.Asserts.Tests.Net472WithAttributes.AnalyzersAndFixes; using NUnit.Framework; public partial class RoslynAssertTests { [Test] public void ResetMetadataReferences() { CollectionAssert.IsNotEmpty(R...
mit
C#
3d3c7f1dcc984018ce9abd42dad01cd806fba324
Add test methods 'StringUtilsTest#GetPositionByIndexError'
lury-lang/compiler-base
UnitTest/StringUtilsTest.cs
UnitTest/StringUtilsTest.cs
using System; using Lury.Compiling.Utils; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTest { [TestClass] public class StringUtilsTest { [TestMethod] public void GetNumberOfLineTest() { Assert.AreEqual(0, StringUtils.GetNumberOfLine(null)); ...
using System; using Lury.Compiling.Utils; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTest { [TestClass] public class StringUtilsTest { [TestMethod] public void GetNumberOfLineTest() { Assert.AreEqual(0, StringUtils.GetNumberOfLine(null)); ...
mit
C#
d997684c25c1eef1ab2734a6c705f8ee39ec3459
Add more unit tests for EntityController
jbe2277/waf
src/System.Waf/Samples/BookLibrary/BookLibrary.Library.Applications.Test/Controllers/EntityControllerTest.cs
src/System.Waf/Samples/BookLibrary/BookLibrary.Library.Applications.Test/Controllers/EntityControllerTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Linq; using System.Waf.UnitTesting; using System.Waf.UnitTesting.Mocks; using Waf.BookLibrary.Library.Applications.Controllers; using Waf.BookLibrary.Library.Applications.Services; using Waf.BookLibrary.Library.Applications.ViewModel...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using Waf.BookLibrary.Library.Applications.Controllers; namespace Test.BookLibrary.Library.Applications.Controllers { [TestClass] public class EntityControllerTest : TestClassBase { [TestMethod] public void EntityT...
mit
C#
9d814715639a7d4e2e7101ae407e13ab0a36be50
Bump version.
kyourek/Pagination,kyourek/Pagination,kyourek/Pagination
sln/AssemblyVersion.cs
sln/AssemblyVersion.cs
using System.Reflection; [assembly: AssemblyVersion("2.1.1")]
using System.Reflection; [assembly: AssemblyVersion("2.1.0.2")]
mit
C#
18b14716081cc6c7f4377196db030a862e292d6e
fix review
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-unity/src/CSharp/Feature/Services/Refactorings/Rename/UnityRenameUtil.cs
resharper/resharper-unity/src/CSharp/Feature/Services/Refactorings/Rename/UnityRenameUtil.cs
using JetBrains.ProjectModel; using JetBrains.ReSharper.Plugins.Unity.ProjectModel; using JetBrains.ReSharper.Psi; namespace JetBrains.ReSharper.Plugins.Unity.CSharp.Feature.Services.Refactorings.Rename { public static class UnityRenameUtil { public static bool IsRenameShouldBeSilent(IDeclaredElement d...
using JetBrains.ProjectModel; using JetBrains.ReSharper.Psi; namespace JetBrains.ReSharper.Plugins.Unity.CSharp.Feature.Services.Refactorings.Rename { public static class UnityRenameUtil { public static bool IsRenameShouldBeSilent(IDeclaredElement declaredElement) { var project = de...
apache-2.0
C#
f6cf8d71a4f93f12fa66fa5f1e31d819a657b0cf
Make the chat input only update when enter is not pressed
gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
LmpClient/Windows/Chat/ChatDrawer.cs
LmpClient/Windows/Chat/ChatDrawer.cs
using LmpClient.Localization; using LmpClient.Systems.Chat; using UnityEngine; namespace LmpClient.Windows.Chat { public partial class ChatWindow { private static string _chatInputText = string.Empty; protected override void DrawWindowContent(int windowId) { var pressedEnt...
using LmpClient.Localization; using LmpClient.Systems.Chat; using UnityEngine; namespace LmpClient.Windows.Chat { public partial class ChatWindow { private static string _chatInputText = string.Empty; protected override void DrawWindowContent(int windowId) { var pressedEnt...
mit
C#
9c28835f7384532e5fd2754289dde16a382f3561
change text on index
NJWolf/professionalsite,NJWolf/professionalsite
NickWolf.Web/Views/Home/Index.cshtml
NickWolf.Web/Views/Home/Index.cshtml
@{ Layout = "~/Views/Shared/_Layout.cshtml"; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Index</title> </head> <body id="page-top" class="index"> <header> <div class="container"> <div class="intro-text"> <div class=...
@{ Layout = "~/Views/Shared/_Layout.cshtml"; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Index</title> </head> <body id="page-top" class="index"> <header> <div class="container"> <div class="intro-text"> <div class=...
mit
C#
32aac83e5fa7ec7df8935cbd2498cd13bdb88554
Add tooltips and extract inspector classes
bartlomiejwolk/DisableAfterTime
Editor/DisableAfterTimeEditor.cs
Editor/DisableAfterTimeEditor.cs
using UnityEngine; using System.Collections; using UnityEditor; using OneDayGame; namespace DisableAfterTimeEx { [CustomEditor(typeof (DisableAfterTime))] public class DisableAfterTimeEditor : Editor { private SerializedProperty targetGO; private SerializedProperty delay; private vo...
using UnityEngine; using System.Collections; using UnityEditor; using OneDayGame; namespace DisableAfterTimeEx { [CustomEditor(typeof (DisableAfterTime))] public class DisableAfterTimeEditor : Editor { private SerializedProperty targetGO; private SerializedProperty delay; private vo...
mit
C#
0ac9a707358967b4c4249b74e16ab52708a10de4
Update ApplicationDbContextFactory
mlorbetske/templating,mlorbetske/templating,seancpeters/templating,seancpeters/templating,seancpeters/templating,seancpeters/templating
template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/StarterWeb-CSharp/Data/ApplicationDbContextFactory.cs
template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/StarterWeb-CSharp/Data/ApplicationDbContextFactory.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.Extensions.DependencyInjection; namespace Company.WebApplication1.Data { public class ApplicationDbContextFactory : IDbContextFactory<ApplicationDbCon...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.Extensions.DependencyInjection; namespace Company.WebApplication1.Data { public class ApplicationDbContextFactory : IDbContextFactory<ApplicationDbCon...
mit
C#
b773fc792d4cf1ea386c18a45ecd44eb5344a0ef
use HashSet instead of List for speed of lookups
jmkelly/elephanet,YoloDev/elephanet,jmkelly/elephanet,YoloDev/elephanet
Elephanet/IStoreInfo.cs
Elephanet/IStoreInfo.cs
using System; using System.Collections.Generic; namespace Elephanet { public interface IStoreInfo { string Name { get; } HashSet<string> Tables { get; } void Add(string tableName); } }
using System; using System.Collections.Generic; namespace Elephanet { public interface IStoreInfo { string Name { get; } List<string> Tables { get; } void Add(string tableName); } }
mit
C#
c5ddcaedf1819ad29efd160e732856c570be175d
Make Assign internal for safety
EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework
osu.Framework/Graphics/Pooling/PoolableDrawable.cs
osu.Framework/Graphics/Pooling/PoolableDrawable.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.Diagnostics; using osu.Framework.Graphics.Containers; using osu.Framework.Layout; namespace osu.Framework.Graphics.Pooling { public class ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Diagnostics; using osu.Framework.Graphics.Containers; using osu.Framework.Layout; namespace osu.Framework.Graphics.Pooling { public class PoolableDrawab...
mit
C#
1b567d31f5490c63d02c876a147d093ea3403e41
Add copyright and nullability to AnalyzerConfigOptionSet
AmadeusW/roslyn,heejaechang/roslyn,genlu/roslyn,CyrusNajmabadi/roslyn,brettfo/roslyn,KevinRansom/roslyn,agocke/roslyn,sharwell/roslyn,reaction1989/roslyn,jmarolf/roslyn,mgoertz-msft/roslyn,ErikSchierboom/roslyn,dotnet/roslyn,eriawan/roslyn,aelij/roslyn,mgoertz-msft/roslyn,physhi/roslyn,panopticoncentral/roslyn,weltkant...
src/Features/Core/Portable/Diagnostics/AnalyzerConfigOptionSet.cs
src/Features/Core/Portable/Diagnostics/AnalyzerConfigOptionSet.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. #nullable enable using System; using System.Collections.Generic; using Microsoft.CodeAnalysis.Options; namespace Microsoft.CodeAnalysis.Diagnostics { i...
using System; using System.Collections.Generic; using Microsoft.CodeAnalysis.Options; namespace Microsoft.CodeAnalysis.Diagnostics { internal class AnalyzerConfigOptionSet : OptionSet { private readonly AnalyzerConfigOptions _analyzerConfigOptions; private readonly OptionSet _optionSet; ...
mit
C#