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
6d8a9b49ab990c3c6298d5c5c761429725d1f5dd
Comment out some Windows-only code on Linux with #if (20211202)
StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,gmartin7/myBloomFork,gmartin7/myBloom...
src/BloomExe/MiscUI/BloomFolderChooser.cs
src/BloomExe/MiscUI/BloomFolderChooser.cs
using System.Windows.Forms; #if !__MonoCS__ using System.Linq; using Microsoft.WindowsAPICodePack.Dialogs; #endif namespace Bloom.MiscUI { /// <summary> /// Static class for launching a folder chooser dialog. This launches the modern Windows /// file chooser dialog as a folder chooser on Windows. Using DialogAda...
using System.Linq; using System.Windows.Forms; using Microsoft.WindowsAPICodePack.Dialogs; namespace Bloom.MiscUI { /// <summary> /// Static class for launching a folder chooser dialog. This launches the modern Windows /// file chooser dialog as a folder chooser on Windows. Using DialogAdapters.FolderBrowser //...
mit
C#
7b6787534836ec522547885f8f00f239df022f70
Update FrancisSetash.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/FrancisSetash.cs
src/Firehose.Web/Authors/FrancisSetash.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class FrancisSetash : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "Francis"; ...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class FrancisSetash : IAmACommunityMember { public string FirstName => "Francis"; public string ...
mit
C#
e33098d258e9deb4c5d873e8239045f8ebfc526d
fix reading uri value
wikibus/JsonLD.Entities
src/JsonLD.Entities/StringUriConverter.cs
src/JsonLD.Entities/StringUriConverter.cs
using System; using Newtonsoft.Json; using NullGuard; namespace JsonLD.Entities { /// <summary> /// Converter, which ensures that Uris are serialized as strings /// </summary> public class StringUriConverter : JsonConverter { /// <summary> /// Writes the JSON representation of the ...
using System; using Newtonsoft.Json; namespace JsonLD.Entities { /// <summary> /// Converter, which ensures that Uris are serialized as strings /// </summary> public class StringUriConverter : JsonConverter { /// <summary> /// Writes the JSON representation of the Uri. /// ...
mit
C#
2cd0cb9805ad2c3be7114cad16d447af17483471
remove useless achievement debug log
solfen/Rogue_Cadet
Assets/Scripts/Achievements/BaseAchievement.cs
Assets/Scripts/Achievements/BaseAchievement.cs
using UnityEngine; using System.Collections; public abstract class BaseAchievement : MonoBehaviour { [SerializeField] private int achievementIndex; [SerializeField] private int shipToUnlock = -1; // Use this for initialization protected virtual void Start () { EventDispatcher.DispatchEvent(Events....
using UnityEngine; using System.Collections; public abstract class BaseAchievement : MonoBehaviour { [SerializeField] private int achievementIndex; [SerializeField] private int shipToUnlock = -1; // Use this for initialization protected virtual void Start () { EventDispatcher.DispatchEvent(Events....
mit
C#
ca845648e734219daab33b835766a070e8196610
Fix negative numbers
robertmuehsig/ExpensiveMeeting,Code-Inside/ExpensiveMeeting
ExpensiveMeeting.WinApp/Views/MainPage.xaml.cs
ExpensiveMeeting.WinApp/Views/MainPage.xaml.cs
using System; using ExpensiveMeeting.WinApp.ViewModels; using Windows.UI.Xaml.Controls; namespace ExpensiveMeeting.WinApp.Views { public sealed partial class MainPage : Page { public MainPage() { InitializeComponent(); NavigationCacheMode = Windows.UI.Xaml.Navigation.Nav...
using System; using ExpensiveMeeting.WinApp.ViewModels; using Windows.UI.Xaml.Controls; namespace ExpensiveMeeting.WinApp.Views { public sealed partial class MainPage : Page { public MainPage() { InitializeComponent(); NavigationCacheMode = Windows.UI.Xaml.Navigation.Nav...
mit
C#
6b6a90b63fc9e537c50dd47396ba79eb5f37d117
Throw unexpected value
heejaechang/roslyn,gafter/roslyn,reaction1989/roslyn,panopticoncentral/roslyn,mavasani/roslyn,brettfo/roslyn,nguerrera/roslyn,mgoertz-msft/roslyn,ErikSchierboom/roslyn,weltkante/roslyn,KevinRansom/roslyn,AlekseyTs/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,genlu/roslyn,aelij/roslyn,shyamnamboodiripad/roslyn,KirillO...
src/Workspaces/Core/Portable/Extensions/NotificationOptionExtensions.cs
src/Workspaces/Core/Portable/Extensions/NotificationOptionExtensions.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 Roslyn.Utilities; namespace Microsoft.CodeAnalysis.CodeStyle { internal static class NotificationOptionExtensions { public static strin...
// 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 Roslyn.Utilities; namespace Microsoft.CodeAnalysis.CodeStyle { internal static class NotificationOptionExtensions { public static strin...
mit
C#
16f8b4ec8d2113f0dc8513c74b196476e19603e0
Fix the build warning
NickCraver/StackExchange.Exceptional,NickCraver/StackExchange.Exceptional
samples/Samples.MVC4/Controllers/TestController.cs
samples/Samples.MVC4/Controllers/TestController.cs
using System; using System.Transactions; using System.Web.Mvc; namespace Samples.MVC4.Controllers { public class TestController : Controller { public ActionResult Form() { Response.SetCookie(new System.Web.HttpCookie("authToken", "test value")); Response.SetCookie(new S...
using System; using System.Transactions; using System.Web.Mvc; namespace Samples.MVC4.Controllers { public class TestController : Controller { public ActionResult Form() { Response.SetCookie(new System.Web.HttpCookie("authToken", "test value")); Response.SetCookie(new S...
apache-2.0
C#
d847af7a63eaae8840ae8f622fff407a64da5b05
Enable the content type to be editable when there is no result appearing based on the chosen keywords
sdl/dxa-modules,sdl/dxa-modules,sdl/dxa-modules,sdl/dxa-modules,sdl/dxa-modules
webapp-net/TridionDocsMashup/Areas/TridionDocsMashup/Views/TridionDocsMashup/StaticWidget.cshtml
webapp-net/TridionDocsMashup/Areas/TridionDocsMashup/Views/TridionDocsMashup/StaticWidget.cshtml
@model StaticWidget <div class="rich-text @Model.HtmlClasses" @Html.DxaEntityMarkup()> @if (Model.TridionDocsItems != null && Model.TridionDocsItems.Any()) { foreach (TridionDocsItem item in Model.TridionDocsItems) { if (Model.DisplayContentAs.ToLower() == "embedded content") ...
@model StaticWidget <div class="rich-text @Model.HtmlClasses" @Html.DxaEntityMarkup()> @if (Model.TridionDocsItems != null) { foreach (TridionDocsItem item in Model.TridionDocsItems) { if (Model.DisplayContentAs.ToLower() == "embedded content") { <div c...
apache-2.0
C#
0b50b46c2cddb53b42502bee1afb19de2208f185
Put in a border color for the color display
mmoening/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,unlimitedbacon/M...
MatterControlLib/PartPreviewWindow/ItemColorButton.cs
MatterControlLib/PartPreviewWindow/ItemColorButton.cs
/* Copyright (c) 2018, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
/* Copyright (c) 2018, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
bsd-2-clause
C#
028c72c4ff13870643f10724ff552ff8d2d7b6a4
Add call to Configure() and clean up comments.
andrerav/NHibernate.Spatial.MySql.Demo,andrerav/NHibernate.Spatial.MySql.Demo,andrerav/NHibernate.Spatial.MySql.Demo
DemoQueryUtil/Program.cs
DemoQueryUtil/Program.cs
using DemoDataAccess; using DemoDataAccess.Entity; using NHibernate.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DemoQueryUtil { class Program { static void Main(string[] args) { FluentConfiguration.Configure(); // Wor...
using DemoDataAccess; using DemoDataAccess.Entity; using NHibernate.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DemoQueryUtil { class Program { static void Main(string[] args) { // Works, but Area is null var county = ...
mit
C#
29d83e3579d1348004123a111ff2ab47a9156211
Tweak fatal exception handler
jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm
stdlib/corlib/Environment.cs
stdlib/corlib/Environment.cs
using System.Runtime.InteropServices; using System.Primitives.IO; namespace System { /// <summary> /// Defines logic that allows an application to interact with its environment. /// </summary> public static unsafe class Environment { /// <summary> /// Initializes the environment. ...
using System.Runtime.InteropServices; using System.Primitives.IO; namespace System { /// <summary> /// Defines logic that allows an application to interact with its environment. /// </summary> public static unsafe class Environment { /// <summary> /// Initializes the environment. ...
mit
C#
58f8f9e25c733da3a89932ffefdb8de513af8635
Make TestLogger thread-safe
sebastienros/yessql
test/YesSql.Tests/TestLogger.cs
test/YesSql.Tests/TestLogger.cs
using Microsoft.Extensions.Logging; using System; using System.Text; namespace YesSql.Tests { public class TestLogger : ILogger { private object _lockObj = new object(); private readonly StringBuilder _builder; public TestLogger(StringBuilder builder = null) { _bui...
using Microsoft.Extensions.Logging; using System; using System.Text; namespace YesSql.Tests { public class TestLogger : ILogger { private readonly StringBuilder _builder; public TestLogger(StringBuilder builder = null) { _builder = builder ?? new StringBuilder(); } ...
mit
C#
6c9f0c23726af85e611eeefda82703f8503ef005
use development connection
corker/estuite
Estuite/Estuite.Example/ProgramConfiguration.cs
Estuite/Estuite.Example/ProgramConfiguration.cs
using Estuite.AzureEventStore; using Estuite.Example.Configuration; namespace Estuite.Example { public class ProgramConfiguration : IEventStoreConfiguration, ICloudStorageAccountConfiguration { public string ConnectionString => "UseDevelopmentStorage=true"; public string StreamTableName => "es...
using Estuite.AzureEventStore; using Estuite.Example.Configuration; namespace Estuite.Example { public class ProgramConfiguration : IEventStoreConfiguration, ICloudStorageAccountConfiguration { //public string ConnectionString => "UseDevelopmentStorage=true"; public string ConnectionString => ...
mit
C#
c30cf2ac2d763176be251bda1625d6d775cf2cb0
fix crash when datatable serialization has incorrect values
underwater/qdms,underwater/qdms,qusma/qdms,qusma/qdms
QDMSApp/ExtensionMethods/DataGridExtensions.cs
QDMSApp/ExtensionMethods/DataGridExtensions.cs
// ----------------------------------------------------------------------- // <copyright file="DataGridSettingsSerializer.cs" company=""> // Copyright 2014 Alexander Soffronow Pagonidis // </copyright> // ----------------------------------------------------------------------- using System.Collections.Generic; using S...
// ----------------------------------------------------------------------- // <copyright file="DataGridSettingsSerializer.cs" company=""> // Copyright 2014 Alexander Soffronow Pagonidis // </copyright> // ----------------------------------------------------------------------- using System.Collections.Generic; using S...
bsd-3-clause
C#
f609be3e810b67287faf4e8116dfd3b36938ce71
Sort the usings
martijn00/MvvmCross-Plugins
Json/MvvmCross.Plugins.Json/MvxJsonConverter.cs
Json/MvvmCross.Plugins.Json/MvxJsonConverter.cs
// MvxJsonConverter.cs // (c) Copyright Cirrious Ltd. http://www.cirrious.com // MvvmCross is licensed using Microsoft Public License (Ms-PL) // Contributions and inspirations noted in readme.md and license.txt // // Project Lead - Stuart Lodge, @slodge, me@slodge.com using System; using System.Collections.Generic; us...
// MvxJsonConverter.cs // (c) Copyright Cirrious Ltd. http://www.cirrious.com // MvvmCross is licensed using Microsoft Public License (Ms-PL) // Contributions and inspirations noted in readme.md and license.txt // // Project Lead - Stuart Lodge, @slodge, me@slodge.com using Newtonsoft.Json; using System; using System....
mit
C#
62d31839d45a28b18418dfa3426c226ccdfa6b26
Refactor CompareExpression to use IComparable
ajlopez/Mass
Src/Mass.Core/Expressions/CompareExpression.cs
Src/Mass.Core/Expressions/CompareExpression.cs
namespace Mass.Core.Expressions { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class CompareExpression : BinaryExpression { private static IDictionary<CompareOperator, Func<object, object, object>> functions = new Dictionary<Comp...
namespace Mass.Core.Expressions { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class CompareExpression : BinaryExpression { private static IDictionary<CompareOperator, Func<object, object, object>> functions = new Dictionary<Comp...
mit
C#
c5728c1b58a74dca1f2db2c154ef4687f22c7477
Revise unit tests for Actions.Win32Window
y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter
ThScoreFileConverterTests/Actions/Win32WindowTests.cs
ThScoreFileConverterTests/Actions/Win32WindowTests.cs
using System; using System.Diagnostics.CodeAnalysis; using System.Windows; using System.Windows.Interop; using Microsoft.VisualStudio.TestTools.UnitTesting; using ThScoreFileConverter.Actions; using ThScoreFileConverterTests.Models; namespace ThScoreFileConverterTests.Actions { [TestClass] public class Win32W...
using System; using System.Diagnostics.CodeAnalysis; using System.Windows; using Microsoft.VisualStudio.TestTools.UnitTesting; using ThScoreFileConverter.Actions; using ThScoreFileConverterTests.Models; namespace ThScoreFileConverterTests.Actions { [TestClass] public class Win32WindowTests { [Test...
bsd-2-clause
C#
46003716501596a337cde2919966aff79a6df6f5
update version comment
yasokada/unity-150905-dynamicDisplay
Assets/PanelDisplayControl.cs
Assets/PanelDisplayControl.cs
using UnityEngine; using System.Collections; using UnityEngine.UI; /* * v0.2 2015/09/06 * - add sample UI components in each panel * v0.1 2015/09/05 * - show/hide panels */ public class PanelDisplayControl : MonoBehaviour { public GameObject PageSelect; public GameObject PanelGroup; private Vector2[] o...
using UnityEngine; using System.Collections; using UnityEngine.UI; /* * v0.1 2015/09/05 * - show/hide panels */ public class PanelDisplayControl : MonoBehaviour { public GameObject PageSelect; public GameObject PanelGroup; private Vector2[] orgSize; void Start() { orgSize = new Vector2[4]; int idx=0;...
mit
C#
36b604996a7b2d43c1b37a15e973054675f2b204
Update Character2D: hitGround
bunashibu/kikan
Assets/Scripts/Character2D.cs
Assets/Scripts/Character2D.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Rigidbody2D))] [RequireComponent(typeof(BoxCollider2D))] public class Character2D : MonoBehaviour { void Update() { UpdateRaycast(); } private void UpdateRaycast() { Vector2 footRayOrigin = new Vecto...
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Rigidbody2D))] [RequireComponent(typeof(BoxCollider2D))] public class Character2D : MonoBehaviour { void Update() { UpdateRaycast(); } private void UpdateRaycast() { Vector2 footRayOrigin = new Vecto...
mit
C#
14d572891deb1989944580377b070aa5d3a06545
use ObservableBatchCollection instead
milleniumbug/Taxonomy
TaxonomyMobile/TaxonomyMobile/FileListModel.cs
TaxonomyMobile/TaxonomyMobile/FileListModel.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using Common; using TaxonomyLib; namespace TaxonomyMobile { class FileListModel : ...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using Common; using TaxonomyLib; namespace TaxonomyMobile { class FileListModel : ...
mit
C#
f36c78fc9cee5dbb596166430be0cacac361b445
Change copyright string
danielchalmers/SteamAccountSwitcher
SteamAccountSwitcher/Properties/AssemblyInfo.cs
SteamAccountSwitcher/Properties/AssemblyInfo.cs
#region using System.Reflection; using System.Runtime.InteropServices; using System.Windows; #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: AssemblyTitl...
#region using System.Reflection; using System.Runtime.InteropServices; using System.Windows; #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: AssemblyTitl...
mit
C#
318e62cdd90a172052b001c55e858d847d815372
Change extension methods to use constant from IndexAnnotation for annotation name
TheOtherTimDuncan/TOTD
TOTD.EntityFramework/ConfigurationExtensions.cs
TOTD.EntityFramework/ConfigurationExtensions.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Infrastructure.Annotations; using System.Data.Entity.ModelConfiguration.Configuration; using System.Linq; namespace TOTD.EntityFramework { public static class ConfigurationExtensions { ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Infrastructure.Annotations; using System.Data.Entity.ModelConfiguration.Configuration; using System.Linq; namespace TOTD.EntityFramework { public static class ConfigurationExtensions { ...
mit
C#
9ef1143dcd47d8629fa7bddb5b7eb0a2deac6574
fix context update to support jsonvalue properly
Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek
Tweek.ApiService/Modules/ContextUpdateModule.cs
Tweek.ApiService/Modules/ContextUpdateModule.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using Engine.DataTypes; using Engine.Drivers.Context; using FSharp.Data; using Nancy; using Nancy.ModelBinding; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Tweek.Utils; namespace Tweek.ApiService.Modules...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using Engine.DataTypes; using Engine.Drivers.Context; using FSharp.Data; using Nancy; using Nancy.ModelBinding; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Tweek.ApiService.Modules { public class...
mit
C#
f4d354a2358106de02c7774c65386c4e55599a8d
Update IPrimitiveObjectValue.cs
smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk
main/Smartsheet/Api/Models/IPrimitiveObjectValue.cs
main/Smartsheet/Api/Models/IPrimitiveObjectValue.cs
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2018 SmartsheetClient // %% // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2018 SmartsheetClient // %% // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
apache-2.0
C#
5c3bb9c44ccddd7602bd200dcc281bf2d4512943
Add ShouldSerializeDirectives to pass test ensuring it's only serialized when non-empty
timheuer/alexa-skills-dotnet,stoiveyp/alexa-skills-dotnet
Alexa.NET/Response/Response.cs
Alexa.NET/Response/Response.cs
using Newtonsoft.Json; using System.Collections.Generic; namespace Alexa.NET.Response { public class ResponseBody { [JsonProperty("outputSpeech", NullValueHandling = NullValueHandling.Ignore)] public IOutputSpeech OutputSpeech { get; set; } [JsonProperty("card", NullValueHandling = Nu...
using Newtonsoft.Json; using System.Collections.Generic; namespace Alexa.NET.Response { public class ResponseBody { [JsonProperty("outputSpeech", NullValueHandling = NullValueHandling.Ignore)] public IOutputSpeech OutputSpeech { get; set; } [JsonProperty("card", NullValueHandling = Nu...
mit
C#
a15f9c60b0c52c583f44a6258b4025a124de38b5
Store car value on grid when car is moved via byte array
wrightg42/tron,It423/tron
Tron/Networking/Extensions/NetGameExtension.cs
Tron/Networking/Extensions/NetGameExtension.cs
// NetGameExtension.cs // <copyright file="NetGameExtension.cs"> This code is protected under the MIT License. </copyright> using Tron; namespace Networking.Extensions { /// <summary> /// An extension class for the game containing useful tools for a networked game of tron. /// </summary> public static...
// NetGameExtension.cs // <copyright file="NetGameExtension.cs"> This code is protected under the MIT License. </copyright> using Tron; namespace Networking.Extensions { /// <summary> /// An extension class for the game containing useful tools for a networked game of tron. /// </summary> public static...
mit
C#
03a127309b3e8bcc41fc6742e2f07cf49089d803
Update assembly information
arthurrump/Zermelo.API
Zermelo/Zermelo.API/Properties/AssemblyInfo.cs
Zermelo/Zermelo.API/Properties/AssemblyInfo.cs
using System.Resources; 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. [ass...
using System.Resources; 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. [ass...
mit
C#
219e8c730de749924d6cfa418649a642a3f41611
Add inline null checks as requested
NikRimington/Umbraco-CMS,madsoulswe/Umbraco-CMS,madsoulswe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,tompipe/Umbraco-CMS,dawoe/Umbraco-CMS,mattbrailsford/Umbraco-CMS,NikRimington/Umbraco-CMS,arknu/Umbraco-CMS,marcemarc/Umbraco-CMS,lars-erik/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-C...
src/Umbraco.Web/WebApi/UnhandledExceptionLogger.cs
src/Umbraco.Web/WebApi/UnhandledExceptionLogger.cs
using System.Web.Http.ExceptionHandling; using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.Logging; namespace Umbraco.Web.WebApi { /// <summary> /// Used to log unhandled exceptions in webapi controllers /// </summary> public class UnhandledExceptionLogger : ExceptionLogger { ...
using System.Web.Http.ExceptionHandling; using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.Logging; namespace Umbraco.Web.WebApi { /// <summary> /// Used to log unhandled exceptions in webapi controllers /// </summary> public class UnhandledExceptionLogger : ExceptionLogger { ...
mit
C#
13471245380c092fc2a5c1722c875e499c0c6633
fix bug in "x"
joycode/LibNVim
LibNVim/Editions/EditionDeleteChar.cs
LibNVim/Editions/EditionDeleteChar.cs
using System; using System.Collections.Generic; using System.Text; using LibNVim.Interfaces; namespace LibNVim.Editions { class EditionDeleteChar : AbstractVimEditionRedoable { public EditionDeleteChar(Interfaces.IVimHost host, int repeat) : base(host, repeat) { ...
using System; using System.Collections.Generic; using System.Text; using LibNVim.Interfaces; namespace LibNVim.Editions { class EditionDeleteChar : AbstractVimEditionRedoable { public EditionDeleteChar(Interfaces.IVimHost host, int repeat) : base(host, repeat) { ...
bsd-3-clause
C#
4bceda894a463647078b4d1fe7f6497a4db3e425
Update RectangleHitTest.cs
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/Draw2D.Editor/Bounds/Shapes/RectangleHitTest.cs
src/Draw2D.Editor/Bounds/Shapes/RectangleHitTest.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Draw2D.Core; using Draw2D.Core.Shapes; using Draw2D.Spatial; namespace Draw2D.Editor.Bounds.Shapes { public class RectangleHitTest : BoxHi...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Draw2D.Core; using Draw2D.Core.Shapes; using Draw2D.Spatial; namespace Draw2D.Editor.Bounds.Shapes { public class RectangleHitTest : HitTe...
mit
C#
3167016b608b1a1afe4f1ffdb052838c4291feae
Remove test for "DisableColorCompression" flag.
dotless/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,dotless/dotless,rytmis/dotless,rytmis/dotless
src/dotless.Test/Specs/Compression/ColorsFixture.cs
src/dotless.Test/Specs/Compression/ColorsFixture.cs
using System; using dotless.Core.Parser; using dotless.Core.Parser.Infrastructure; namespace dotless.Test.Specs.Compression { using NUnit.Framework; public class ColorsFixture : CompressedSpecFixtureBase { [Test] public void Colors() { AssertExpression("#fea", "#fea"); ...
using System; using dotless.Core.Parser; using dotless.Core.Parser.Infrastructure; namespace dotless.Test.Specs.Compression { using NUnit.Framework; public class ColorsFixture : CompressedSpecFixtureBase { [Test] public void Colors() { AssertExpression("#fea", "#fea"); ...
apache-2.0
C#
6cd8aadfe93201b5435a53715854b11768c7d6fe
remove comment
modulexcite/xbehave.net,hitesh97/xbehave.net,mvalipour/xbehave.net,mvalipour/xbehave.net,xbehave/xbehave.net,modulexcite/xbehave.net,adamralph/xbehave.net,hitesh97/xbehave.net
src/issues/Xbehave.Issues/MultipleGivensAndWhens.cs
src/issues/Xbehave.Issues/MultipleGivensAndWhens.cs
// <copyright file="MultipleGivensAndWhens.cs" company="Adam Ralph"> // Copyright (c) Adam Ralph. All rights reserved. // </copyright> namespace Xbehave.Issues { using System; using FluentAssertions; public class MultipleGivensAndWhens { [Scenario] public static void Mult...
// <copyright file="MultipleGivensAndWhens.cs" company="Adam Ralph"> // Copyright (c) Adam Ralph. All rights reserved. // </copyright> namespace Xbehave.Issues { using System; using FluentAssertions; public class MultipleGivensAndWhens { // 2 failures with 1 x 1 disposal ...
mit
C#
7e54cf205ea42bebc659ce13bfe123fbb2d5a69e
fix assembly resolver in NuGet plugin
JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,stormleoxia/teamcity-nuget-support
nuget-extensions/nuget-commands/src/CredentialsSetter.cs
nuget-extensions/nuget-commands/src/CredentialsSetter.cs
using System; using System.ComponentModel.Composition; using System.IO; using System.Linq; using JetBrains.TeamCity.NuGet.ExtendedCommands.Data; using JetBrains.TeamCity.NuGetRunner; namespace JetBrains.TeamCity.NuGet.ExtendedCommands { [Export] [ComponentOrder(Index = "J")] public partial class CredentialsSett...
using System; using System.ComponentModel.Composition; using System.IO; using System.Linq; using JetBrains.TeamCity.NuGet.ExtendedCommands.Data; namespace JetBrains.TeamCity.NuGet.ExtendedCommands { [Export] [ComponentOrder(Index = "J")] public partial class CredentialsSetter : ICreatableComponent { priva...
apache-2.0
C#
677c0bb1a53b8ea29464046a088b04aebd5579e8
test commit
Theliahh/parallelsorting
ParallelSorting/Program.cs
ParallelSorting/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ParallelSorting { class Program { static void Main(string[] args) { test; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ParallelSorting { class Program { static void Main(string[] args) { } } }
mit
C#
115a99a924b78ffdc88262de4d729083d80fcca6
Bump Assembly Version
dasgarner/xibo-dotnetclient,xibosignage/xibo-dotnetclient
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; 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. [ass...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; 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. [ass...
agpl-3.0
C#
7bae4e1219a448a818633b3ed8e243aea5274869
Improve validation exception
kotorihq/kotori-core
KotoriCore/Exceptions/KotoriValidationException.cs
KotoriCore/Exceptions/KotoriValidationException.cs
using System.Collections.Generic; using System.Linq; using KotoriCore.Helpers; using Sushi2; namespace KotoriCore.Exceptions { /// <summary> /// Kotori validation exception. /// </summary> public class KotoriValidationException : KotoriException { const string UnknownErrorMessage = "Unk...
using System.Collections.Generic; using System.Linq; using KotoriCore.Helpers; using Sushi2; namespace KotoriCore.Exceptions { /// <summary> /// Kotori validation exception. /// </summary> public class KotoriValidationException : KotoriException { /// <summary> /// Initializes a ...
mit
C#
98d33c701b5133f76502218a772fbfa30416201b
Use RaisePropertyChanged
manupstairs/Notepad
Notepad/MvvmLightSample/ViewModel/MainViewModel.cs
Notepad/MvvmLightSample/ViewModel/MainViewModel.cs
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using System.Windows.Input; namespace MvvmLightSample.ViewModel { /// <summary> /// This class contains properties that the main View can data bind to. /// <para> /// Use the <strong>mvvminpc</strong> snippet to add bindable properties to this...
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using System.Windows.Input; namespace MvvmLightSample.ViewModel { /// <summary> /// This class contains properties that the main View can data bind to. /// <para> /// Use the <strong>mvvminpc</strong> snippet to add bindable properties to this...
mit
C#
a29cb2f488018de5b88d6f37459fa0794708920d
Remove theory from test
luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,andmattia/aspnetboilerplate,zclmoon/aspnetboilerplate,ryancyq/aspnetboilerplate,Nongzhsh/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate...
test/Abp.RedisCache.Tests/RedisCacheManager_Test.cs
test/Abp.RedisCache.Tests/RedisCacheManager_Test.cs
using System; using Abp.Configuration.Startup; using Abp.Runtime.Caching; using Abp.Runtime.Caching.Configuration; using Abp.Runtime.Caching.Redis; using Abp.Tests; using Castle.MicroKernel.Registration; using NSubstitute; using Xunit; using Shouldly; namespace Abp.RedisCache.Tests { public class RedisCacheManage...
using System; using Abp.Configuration.Startup; using Abp.Runtime.Caching; using Abp.Runtime.Caching.Configuration; using Abp.Runtime.Caching.Redis; using Abp.Tests; using Castle.MicroKernel.Registration; using NSubstitute; using Xunit; using Shouldly; namespace Abp.RedisCache.Tests { public class RedisCacheManage...
mit
C#
ec7dbe41fbdaa5eb229f4ab2baa30ae777c47495
Call ToString() instead of Enum.GetName
mavasani/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,bartdesmet/roslyn,dotnet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,jasonmal...
src/EditorFeatures/Core/Logging/FunctionIdOptions.cs
src/EditorFeatures/Core/Logging/FunctionIdOptions.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Linq; using System.Collections.Concurrent; using Microsoft.CodeAnalysis.Options; using R...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Linq; using System.Collections.Concurrent; using Microsoft.CodeAnalysis.Options; using R...
mit
C#
b3eb733bb1635d274615148a55d8555405fb384b
Fix incorrect implementation of executor
zebraxxl/Winium.Desktop,jorik041/Winium.Desktop,2gis/Winium.Desktop
src/Winium.Desktop.Driver/CommandExecutors/IsComboBoxExpandedExecutor.cs
src/Winium.Desktop.Driver/CommandExecutors/IsComboBoxExpandedExecutor.cs
namespace Winium.Desktop.Driver.CommandExecutors { #region using using Winium.Cruciatus.Extensions; using Winium.StoreApps.Common; #endregion internal class IsComboBoxExpandedExecutor : CommandExecutorBase { #region Methods protected override string DoImpl() { ...
namespace Winium.Desktop.Driver.CommandExecutors { #region using using Winium.StoreApps.Common; #endregion internal class IsComboBoxExpandedExecutor : CommandExecutorBase { #region Methods protected override string DoImpl() { var registeredKey = this.Executed...
mpl-2.0
C#
d4c29d7ff183313fcbc6ca703a0e555354ffc578
Make it work also for ODBC - especially useful since ODBC seems more challenging for the transaction handling.
nkreipke/nhibernate-core,fredericDelaporte/nhibernate-core,lnu/nhibernate-core,hazzik/nhibernate-core,livioc/nhibernate-core,livioc/nhibernate-core,alobakov/nhibernate-core,livioc/nhibernate-core,hazzik/nhibernate-core,nkreipke/nhibernate-core,ngbrown/nhibernate-core,nkreipke/nhibernate-core,nhibernate/nhibernate-core,...
src/NHibernate.Test/NHSpecificTest/NH2420/Fixture.cs
src/NHibernate.Test/NHSpecificTest/NH2420/Fixture.cs
using System; using System.Data; using System.Data.Odbc; using System.Data.SqlClient; using System.Transactions; using NHibernate.Dialect; using NHibernate.Driver; using NHibernate.Engine; using NUnit.Framework; namespace NHibernate.Test.NHSpecificTest.NH2420 { [TestFixture] public class Fixture : BugT...
using System; using System.Data; using System.Data.SqlClient; using System.Transactions; using NHibernate.Dialect; using NHibernate.Engine; using NUnit.Framework; namespace NHibernate.Test.NHSpecificTest.NH2420 { [TestFixture] public class Fixture : BugTestCase { public override string BugNumber ...
lgpl-2.1
C#
eb5b2c662343ba8bcdcc6b1bbd21a3f9b20d0af6
Fix namespace issue after refactor of startup
Hammerstad/Moya
Moya.Runner.Console/Program.cs
Moya.Runner.Console/Program.cs
namespace Moya.Runner.Console { using System; using Extensions; class Program { private static void Main(string[] args) { try { new Startup.Startup().Run(args); } catch(Exception e) { Console.Er...
namespace Moya.Runner.Console { using System; using Extensions; class Program { private static void Main(string[] args) { try { new Startup().Run(args); } catch(Exception e) { Console.Error.Writ...
mit
C#
7f277b130822e08b32ee10b746e4d47015783112
replace return code
kheiakiyama/speech-eng-functions
SentenceScraping/run.csx
SentenceScraping/run.csx
#r "System.Configuration" #r "System.Collections" #r "System.Linq.Expressions" #load "../QuestionEntity.csx" using System.Net; using System.Net.Http; using System.Configuration; using System.Linq; using Newtonsoft.Json; using Microsoft.Azure; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.T...
#r "System.Configuration" #r "System.Collections" #r "System.Linq.Expressions" #load "../QuestionEntity.csx" using System.Net; using System.Net.Http; using System.Configuration; using System.Linq; using Newtonsoft.Json; using Microsoft.Azure; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.T...
mit
C#
1ef71a7017c0ce6c70926921f161a8a6f8f3e9b7
Remove unnecessary enum
kcotugno/OpenARLog
OpenARLog.Data/BandsManager.cs
OpenARLog.Data/BandsManager.cs
/* * Copyright (C) 2015-2016 kcotugno * All rights reserved * * Distributed under the terms of the BSD 2 Clause software license. See the * accompanying LICENSE file or http://www.opensource.org/licenses/BSD-2-Clause. * * Author: kcotugno * Date: 4/6/2016 */ using System.Collections.Generic; using System.Dat...
/* * Copyright (C) 2015-2016 kcotugno * All rights reserved * * Distributed under the terms of the BSD 2 Clause software license. See the * accompanying LICENSE file or http://www.opensource.org/licenses/BSD-2-Clause. * * Author: kcotugno * Date: 4/6/2016 */ using System.Collections.Generic; using System.Dat...
mit
C#
874be8b1f49ac023e9a016801dd81ae90ffc8f30
remove inflation from the base page
MiniProfiler/dotnet,MiniProfiler/dotnet
samples/Samples.AspNetCore/Controllers/HomeController.cs
samples/Samples.AspNetCore/Controllers/HomeController.cs
using Microsoft.AspNetCore.Mvc; using StackExchange.Profiling; namespace Samples.AspNetCore.Controllers { public class HomeController : Controller { public IActionResult Index() { using (MiniProfiler.Current.Step("Example Step")) { using (MiniProfiler.Cu...
using Microsoft.AspNetCore.Mvc; using StackExchange.Profiling; using System.Threading; namespace Samples.AspNetCore.Controllers { public class HomeController : Controller { public IActionResult Index() { using (MiniProfiler.Current.Step("Delay Step")) { ...
mit
C#
076fc74d00f212843942801ffe5e2109de0d9f62
test keep this one
MatthewKapteyn/SubmoduleTest
SubmoduleTest/Program.cs
SubmoduleTest/Program.cs
using System; //using Huawei_Unlock; namespace SubmoduleTest { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); //Test.HW_ALGO_SELECTOR("This_is_a_15_digit_imei_jk"); Console.WriteLine("Made second change to SubmoduleTes...
using System; //using Huawei_Unlock; namespace SubmoduleTest { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); //Test.HW_ALGO_SELECTOR("This_is_a_15_digit_imei_jk"); Console.WriteLine("Made second change to SubmoduleTes...
unlicense
C#
b88cf6e515d9b678ebdb61f90dbb61b59b723ad9
Update AssemblyInfo.cs
apimatic/unirest-net
unirest-net/unirest-net/Properties/AssemblyInfo.cs
unirest-net/unirest-net/Properties/AssemblyInfo.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: AssemblyTitle("unirest-net")] [assembly: AssemblyDescription("")] [assembly: AssemblyCo...
using System.Reflection; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("unirest-net")] [assembly: AssemblyDescription("")] [assembly: AssemblyCo...
mit
C#
b1f70234b1f1e735ca36343b136195f2f2f8bcca
Remove "Equals" and "GetHashCode" methods of "SeasonDataModel"
InfiniteSoul/Azuria
Azuria/Api/v1/DataModels/Info/SeasonDataModel.cs
Azuria/Api/v1/DataModels/Info/SeasonDataModel.cs
using Azuria.Enums.Info; using Newtonsoft.Json; namespace Azuria.Api.v1.DataModels.Info { /// <summary> /// </summary> public class SeasonDataModel : IDataModel { /// <summary> /// </summary> [JsonProperty("id")] public int Id { get; set; } /// <summary> ...
using Azuria.Enums.Info; using Newtonsoft.Json; namespace Azuria.Api.v1.DataModels.Info { /// <summary> /// </summary> public class SeasonDataModel : IDataModel { /// <summary> /// </summary> [JsonProperty("id")] public int Id { get; set; } /// <summary> ...
mit
C#
588551f8f7babcc160041882a9d7444ca7c86911
Fix typo
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Models/AirTableSettings.cs
Battery-Commander.Web/Models/AirTableSettings.cs
namespace BatteryCommander.Web.Models { public class AirTableSettings { public string BaseId { get; set; } public string AppKey { get; set; } } }
namespace BatteryCommander.Web.Models { public class AirTableSettings { public string BaseId { get; set; } public string AppKey { get; set; } }
mit
C#
b34f5a52f412d60fb98e6c7ca217f8bf2cab04e4
Remove legacy code
alfredosegundo/BudgetMVC,alfredosegundo/BudgetMVC
BudgetMVC.Model/Business/ContributionBusiness.cs
BudgetMVC.Model/Business/ContributionBusiness.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using BudgetMVC.Model.EntityFramework; using BudgetMVC.Model.Entity; namespace BudgetMVC.Model.Business { public class ContributionBusiness : PersistentBusiness<Contribution> { public ContributionBusiness(BudgetConte...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using BudgetMVC.Model.EntityFramework; using BudgetMVC.Model.Entity; namespace BudgetMVC.Model.Business { public class ContributionBusiness : PersistentBusiness<Contribution> { public ContributionBusiness(BudgetConte...
mit
C#
49a789f01e414e7cc356067b009c93456abeb929
implement authentication for user/maininfo
ismaelbelghiti/Tigwi,ismaelbelghiti/Tigwi
Core/Tigwi.API/Controllers/InfoUserController.cs
Core/Tigwi.API/Controllers/InfoUserController.cs
using System.Web.Mvc; using Tigwi.API.Models; using Tigwi.Auth; using Tigwi.Storage.Library; namespace Tigwi.API.Controllers { public class InfoUserController : ApiController { // // GET : /user/maininfo // The user you get the info depend on who you are according to authentication ...
using System; using System.Web.Mvc; using Tigwi.API.Models; using Tigwi.Storage.Library; namespace Tigwi.API.Controllers { public class InfoUserController : ApiController { // TODO : add "need authentication" in specs // TODO : add authentication // // GET : /user/maininfo ...
bsd-3-clause
C#
fc931daca8f89865c234c79a3df648432ec580fd
Make the caller check the CanExecute state
punker76/Espera,flagbug/Espera
Espera.View/ViewModels/DirectYoutubeViewModel.cs
Espera.View/ViewModels/DirectYoutubeViewModel.cs
using System; using System.Reactive; using System.Reactive.Linq; using System.Threading.Tasks; using Akavache; using Espera.Core; using Espera.Core.Management; using Espera.Core.Settings; using Rareform.Validation; using ReactiveUI; using Splat; namespace Espera.View.ViewModels { /// <summary> /// This ViewMo...
using System; using System.Reactive; using System.Reactive.Linq; using System.Threading.Tasks; using Akavache; using Espera.Core; using Espera.Core.Management; using Espera.Core.Settings; using Rareform.Validation; using ReactiveUI; using Splat; namespace Espera.View.ViewModels { /// <summary> /// This ViewMo...
mit
C#
f292ce3757d8cb19d969f119428508582c0ccbe4
Add return time
CVBDL/RALibraryServer
RaLibrary/Models/BorrowLog.cs
RaLibrary/Models/BorrowLog.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace RaLibrary.Models { public class BorrowLog { public int Id { get; set; } public int F_BookID { get; se...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace RaLibrary.Models { public class BorrowLog { public int Id { get; set; } public int F_BookID { get; se...
mit
C#
5cf9e10efd1664f4ec986d8d5e6e3c13ef8814bc
Update CustomCollectionListFilter.cs
clement911/ShopifySharp,nozzlegear/ShopifySharp
ShopifySharp/Filters/CustomCollectionListFilter.cs
ShopifySharp/Filters/CustomCollectionListFilter.cs
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace ShopifySharp.Filters { /// <summary> /// Options for filtering custom collection lists. /// </summary> public class CustomCollectionListFilter : ListFilter<CustomCollection> { /// <summary> /// Restrict...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace ShopifySharp.Filters { /// <summary> /// Options for filtering custom collection lists. /// </summary> public class CustomCollectionListFilter : ListFilter<CustomCollection> { /// <summary> /// Restrict...
mit
C#
06d01e46cd28556e7a5354787098e1c698ed062b
Include the update event
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Commands/UpdateSUTARequest.cs
Battery-Commander.Web/Commands/UpdateSUTARequest.cs
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using BatteryCommander.Web.Models; using BatteryCommander.Web.Queries; using MediatR; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; namespace BatteryCommander.Web.Commands { public class UpdateSUTARequest...
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using BatteryCommander.Web.Models; using MediatR; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; namespace BatteryCommander.Web.Commands { public class UpdateSUTARequest : IRequest { [FromRoute...
mit
C#
0a84b75fd9036ab824c7a93f0c895da77cb6cae7
Add Apache 2.0 license header.
douglaswth/ssh-handler
ssh-handler/ssh-handler.cs
ssh-handler/ssh-handler.cs
// SSH Handler // // Douglas Thrift // // ssh-handler.cs /* Copyright 2013 Douglas Thrift * * 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/L...
// SSH Handler // // Douglas Thrift // // ssh-handler using System.Diagnostics; using System.Text; public class SshHandler { public static void Main(string[] args) { foreach (string arg in args) Ssh(arg); } private static void Ssh(string arg) { System.Uri uri = new Sy...
apache-2.0
C#
ff5150a14d152242026cdd6be462088f2a15ad03
Fix typo in IMultiplayerClient xmldoc
peppy/osu,peppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu
osu.Game/Online/RealtimeMultiplayer/IMultiplayerClient.cs
osu.Game/Online/RealtimeMultiplayer/IMultiplayerClient.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.Threading.Tasks; namespace osu.Game.Online.RealtimeMultiplayer { /// <summary> /// An interface defining a multiplayer client instance. /// </su...
// 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.Threading.Tasks; namespace osu.Game.Online.RealtimeMultiplayer { /// <summary> /// An interface defining a multiplayer client instance. /// </su...
mit
C#
3d98faad3c7a8527fed6efc948fdef8089ceb412
Update JobOpportunityController.cs
ncarrasco/empleo-dot-net,luis-ramirez/empleo-dot-net,ncarrasco/empleo-dot-net,claudiosanchez/empleo-dot-net,luis-ramirez/empleo-dot-net,eatskolnikov/empleo-dot-net,ncarrasco/empleo-dot-net,RaulMonteroC/empleo-dot-net,claudiosanchez/empleo-dot-net,eatskolnikov/empleo-dot-net,luis-ramirez/empleo-dot-net,developersdo/empl...
EmpleoDotNet/Controllers/JobOpportunityController.cs
EmpleoDotNet/Controllers/JobOpportunityController.cs
using System.Linq; using System.Web.Mvc; using EmpleoDotNet.Models; using Microsoft.Owin.Security.Provider; namespace EmpleoDotNet.Controllers { public class JobOpportunityController : Controller { private readonly Database _databaseContext; public JobOpportunityController() { ...
using System.Linq; using System.Web.Mvc; using EmpleoDotNet.Models; using Microsoft.Owin.Security.Provider; namespace EmpleoDotNet.Controllers { public class JobOpportunityController : Controller { private readonly Database _databaseContext; public JobOpportunityController() { ...
unlicense
C#
ba1593d15133616f02fbf14f387204be46a58c6a
Fix faulting CurrentBeatsTime calculation
HelloKitty/Booma.Proxy
src/Booma.Proxy.Client.Unity.Common/Services/Time/TimeService.cs
src/Booma.Proxy.Client.Unity.Common/Services/Time/TimeService.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Booma.Proxy { /// <summary> /// Static time functions and features. /// </summary> public static class TimeService { private static double _startBeatsTime; private static float unityS...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Booma.Proxy { /// <summary> /// Static time functions and features. /// </summary> public static class TimeService { private static double _startBeatsTime; private static float unityS...
agpl-3.0
C#
e639d5c275f264a7b325a0f68268b8545b52973f
Update to deal with breaking Features change in httpabstraction
Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse...
src/Glimpse.Server.Web/Framework/RequestAuthorizerAllowRemote.cs
src/Glimpse.Server.Web/Framework/RequestAuthorizerAllowRemote.cs
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http.Features; namespace Glimpse.Server.Web { public class RequestAuthorizerAllowRemote : IRequestAuthorizer { private readonly IAllowRemoteProvider _allowRemoteProvider; public RequestAuthorizerAllowRemote(IAllowRemoteProvider allowRemotePr...
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http.Features; namespace Glimpse.Server.Web { public class RequestAuthorizerAllowRemote : IRequestAuthorizer { private readonly IAllowRemoteProvider _allowRemoteProvider; public RequestAuthorizerAllowRemote(IAllowRemoteProvider allowRemotePr...
mit
C#
946b30ec6d6dea18343da5b692a5e3ae41aa498c
Hide Android navigation bar.
Noxalus/Xmas-Hell
Xmas-Hell/Xmas-Hell-Android/XmasHellActivity.cs
Xmas-Hell/Xmas-Hell-Android/XmasHellActivity.cs
using Android.App; using Android.Content.PM; using Android.OS; using Android.Views; namespace Xmas_Hell_Android { [Activity(Label = "Xmas Hell" , MainLauncher = true , Icon = "@drawable/icon" , Theme = "@style/Theme.Splash" , AlwaysRetainTaskState = true , LaunchMode = Andro...
using Android.App; using Android.Content.PM; using Android.OS; using Android.Views; namespace Xmas_Hell_Android { [Activity(Label = "Xmas Hell" , MainLauncher = true , Icon = "@drawable/icon" , Theme = "@style/Theme.Splash" , AlwaysRetainTaskState = true , LaunchMode = Andro...
mit
C#
f9c41f99e36f90db81938db72e7b5a67ffd27ab9
Allow for changing the weight of built-in and 3rd party dashboards (#8628)
umbraco/Umbraco-CMS,bjarnef/Umbraco-CMS,madsoulswe/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,tcmorris/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abjerner/Umbraco-CMS,leekelleher/Umbraco-CMS,marcemarc/Umbraco-CMS,hfloyd/Umbraco-CMS,KevinJump/Umbraco-CMS,arknu/Umbraco-CMS,hfloyd/Umbraco-CMS,marcemarc...
src/Umbraco.Web/Dashboards/DashboardCollectionBuilder.cs
src/Umbraco.Web/Dashboards/DashboardCollectionBuilder.cs
using System; using System.Collections.Generic; using System.Linq; using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.Dashboards; using Umbraco.Core.Manifest; namespace Umbraco.Web.Dashboards { public class DashboardCollectionBuilder : WeightedCollectionBuilderBase<DashboardCollectionBuilder, Da...
using System.Collections.Generic; using System.Linq; using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.Dashboards; using Umbraco.Core.Manifest; namespace Umbraco.Web.Dashboards { public class DashboardCollectionBuilder : WeightedCollectionBuilderBase<DashboardCollectionBuilder, DashboardCollect...
mit
C#
ac59384537e8f670437307f450771b58dfb1e751
Make a little section of code easier to debug
Vector241-Eric/ZBuildLights,mhinze/ZBuildLights,mhinze/ZBuildLights,Vector241-Eric/ZBuildLights,Vector241-Eric/ZBuildLights,mhinze/ZBuildLights
src/ZBuildLights.Core/Services/UnassignedLightService.cs
src/ZBuildLights.Core/Services/UnassignedLightService.cs
using System.Linq; using ZBuildLights.Core.Models; namespace ZBuildLights.Core.Services { public class UnassignedLightService : IUnassignedLightService { private readonly IZWaveNetwork _network; public UnassignedLightService(IZWaveNetwork network) { _network = network; ...
using System.Linq; using ZBuildLights.Core.Models; namespace ZBuildLights.Core.Services { public class UnassignedLightService : IUnassignedLightService { private readonly IZWaveNetwork _network; public UnassignedLightService(IZWaveNetwork network) { _network = network; ...
mit
C#
c6e2fb393eac9e9eb1d96cb3f6136b0382e1429b
clean up
asipe/SupaCharge
src/SupaCharge.Core/ConfigurationWrapper/ConfigurationWrapper.cs
src/SupaCharge.Core/ConfigurationWrapper/ConfigurationWrapper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Configuration; using SupaCharge.Core.Converter; namespace SupaCharge.Core.ConfigurationWrapper { public class ConfigurationWrapper { public bool Contains(string key) { return (ConfigurationManager.AppSettin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Configuration; using SupaCharge.Core.Converter; namespace SupaCharge.Core.ConfigurationWrapper { public class ConfigurationWrapper { public bool Contains(string key) { return (ConfigurationManager.AppSettin...
mit
C#
393e79084d48eaa5de1925e6fd9d8229c14da049
Add FromString method for loading ResourceHandler from string
Octopus-ITSM/CefSharp,rover886/CefSharp,windygu/CefSharp,NumbersInternational/CefSharp,NumbersInternational/CefSharp,illfang/CefSharp,twxstar/CefSharp,VioletLife/CefSharp,jamespearce2006/CefSharp,dga711/CefSharp,Octopus-ITSM/CefSharp,rover886/CefSharp,ruisebastiao/CefSharp,gregmartinhtc/CefSharp,haozhouxu/CefSharp,jame...
CefSharp/ResourceHandler.cs
CefSharp/ResourceHandler.cs
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System.Collections.Specialized; using System.IO; using System.Text; namespace CefSharp { public class ResourceHandler { public string M...
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System.Collections.Specialized; using System.IO; namespace CefSharp { public class ResourceHandler { public string MimeType { get; set;...
bsd-3-clause
C#
955027f531a3ae1987395206c09e989bbe00d40f
Resolve #1156 -- Fix Mislabeled PrimaryAbilityResourceTypes (#1150)
LeagueSandbox/GameServer
GameServerCore/Enums/PrimaryAbilityResourceType.cs
GameServerCore/Enums/PrimaryAbilityResourceType.cs
namespace GameServerCore.Enums { public enum PrimaryAbilityResourceType : byte { MANA = 0, Energy = 1, None = 2, Shield = 3, Battlefury = 4, Dragonfury = 5, Rage = 6, Heat = 7, Ferocity = 8, BloodWell = 9, Wind = 10, ...
namespace GameServerCore.Enums { public enum PrimaryAbilityResourceType : byte { MANA = 0, ENERGY = 1, NONE = 2, SHIELD = 3, BATTLE_FURY = 4, DRAGON_FURY = 5, RAGE = 6, HEAT = 7, FEROCITY = 8, BLOOD_WELL = 9, WIND = 10, ...
agpl-3.0
C#
5e1e89115bb59ebc68f4c1127019304f275dbe3d
comment out debug borders for results
Pathoschild/StardewMods
LookupAnything/Components/SearchResultComponent.cs
LookupAnything/Components/SearchResultComponent.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using StardewValley; using StardewValley.Menus; namespace Pathoschild.LookupAnything.Components { class SearchResultComponent ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using StardewValley; using StardewValley.Menus; namespace Pathoschild.LookupAnything.Components { class SearchResultComponent ...
mit
C#
3fbf4bafaf3e143ff2f2480221336c3d4ec46575
Bump version to 0.4
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("Xm...
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#
f943d8debdbd3adb4d926901dbebc5ddbee98499
add dir to ex message
vorou/play.NET,vorou/play.NET
Src/playNET/FileLocator.cs
Src/playNET/FileLocator.cs
using System.Collections.Generic; using System.IO; using System.Linq; namespace playNET { public class FileLocator : IFileLocator { private readonly string directory; public FileLocator(string directory) { if (!Directory.EnumerateFiles(directory, "*.mp3").Any()...
using System.Collections.Generic; using System.IO; using System.Linq; namespace playNET { public class FileLocator : IFileLocator { private readonly string directory; public FileLocator(string directory) { if (!Directory.EnumerateFiles(directory, "*.mp3").Any()...
mit
C#
fe8e405362f826afccb318d7db90b586f864e4a8
clean up code
IUMDPI/IUMediaHelperApps
Packager.Test/Extensions/StringExtensionTests.cs
Packager.Test/Extensions/StringExtensionTests.cs
using NUnit.Framework; using Packager.Extensions; namespace Packager.Test.Extensions { [TestFixture] public class StringExtensionTests { [TestCase(@"testing """, @"testing \""")] public void NormalizeForCommandLineShouldEscapeQuotesCorrectly(string original, string expected) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using Packager.Extensions; namespace Packager.Test.Extensions { [TestFixture] public class StringExtensionTests { [TestCase(@"testing """, @"testing \""")] ...
apache-2.0
C#
54b0d9026c055e9397d5c11c8bb2fb369d687fe8
Remove unused namespaces
mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX
Modix.Services/StackExchange/StackExchangeService.cs
Modix.Services/StackExchange/StackExchangeService.cs
using Newtonsoft.Json; using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; namespace Modix.Services.StackExchange { public class StackExchangeService { private string _ApiReferenceUrl = $"http://api.stackexchange.com/2.2/search/advanced" + "?key...
using Newtonsoft.Json; using System; using System.IO; using System.IO.Compression; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Modix.Services.StackExchange { public class StackExchangeService { private string _ApiReferenceUrl = $"http...
mit
C#
05a359c61e7c635b0fbb3ef937106c5120641218
Initialise GType
mono-soc-2011/banshee,petejohanson/banshee,babycaseny/banshee,dufoli/banshee,arfbtwn/banshee,Dynalon/banshee-osx,directhex/banshee-hacks,dufoli/banshee,dufoli/banshee,arfbtwn/banshee,stsundermann/banshee,ixfalia/banshee,GNOME/banshee,Dynalon/banshee-osx,lamalex/Banshee,GNOME/banshee,lamalex/Banshee,Dynalon/banshee-osx,...
src/Backends/Banshee.Gio/Banshee.IO.Gio/Provider.cs
src/Backends/Banshee.Gio/Banshee.IO.Gio/Provider.cs
// // Provider.cs // // Author: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including...
// // Provider.cs // // Author: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including...
mit
C#
8347100adb075e43485439b9acc0d1e9ad9b383d
Add new DTO fields for pool information
IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner
MultiMiner.Remoting.Server/Data/Transfer/Device.cs
MultiMiner.Remoting.Server/Data/Transfer/Device.cs
using MultiMiner.Engine; using MultiMiner.Xgminer; using System; namespace MultiMiner.Remoting.Server.Data.Transfer { public class Device : DeviceDescriptor { //device info public bool Enabled { get; set; } public string Name { get; set; } public DevicePlatform Platform { get; ...
using MultiMiner.Engine; using MultiMiner.Xgminer; namespace MultiMiner.Remoting.Server.Data.Transfer { public class Device : DeviceDescriptor { //device info public bool Enabled { get; set; } public string Name { get; set; } public DevicePlatform Platform { get; set; } ...
mit
C#
eeeda65cd477a9a51ea9b33b19f4f166e9a68ad6
Remove char[] allocation from GetDrives (#31114)
shimingsg/corefx,wtgodbe/corefx,ViktorHofer/corefx,wtgodbe/corefx,ViktorHofer/corefx,ptoonen/corefx,mmitche/corefx,Jiayili1/corefx,shimingsg/corefx,ericstj/corefx,BrennanConroy/corefx,Jiayili1/corefx,BrennanConroy/corefx,ViktorHofer/corefx,ericstj/corefx,ViktorHofer/corefx,ptoonen/corefx,wtgodbe/corefx,BrennanConroy/co...
src/Common/src/System/IO/DriveInfoInternal.Win32.cs
src/Common/src/System/IO/DriveInfoInternal.Win32.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics; using System.Text; namespace System.IO { /// <summary>Contains internal volume helper...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics; using System.Text; namespace System.IO { /// <summary>Contains internal volume helper...
mit
C#
5456648f8864bfbe2d3cf93aacceba81f922fc1d
Increment version to 1.4.3
ascendedguard/sc2replay-csharp,evilz/sc2replay-csharp
Starcraft2.ReplayParser/Properties/AssemblyInfo.cs
Starcraft2.ReplayParser/Properties/AssemblyInfo.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="Ascend"> // Copyright © 2011 All Rights Reserved // </copyright> // <summary> // AssemblyInfo.cs // </summary> // -----------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="Ascend"> // Copyright © 2011 All Rights Reserved // </copyright> // <summary> // AssemblyInfo.cs // </summary> // -----------------------------------...
mit
C#
dbfcedf92db5e0f23ccdf8eb4cfe03a1245113c7
Update OperaConfig.cs
rosolko/WebDriverManager.Net
WebDriverManager/DriverConfigs/Impl/OperaConfig.cs
WebDriverManager/DriverConfigs/Impl/OperaConfig.cs
using System; using System.Linq; using System.Net; using AngleSharp.Html.Parser; namespace WebDriverManager.DriverConfigs.Impl { public class OperaConfig : IDriverConfig { public virtual string GetName() { return "Opera"; } public virtual string GetUrl32() {...
using System; using System.Linq; using System.Net; using AngleSharp.Html.Parser; namespace WebDriverManager.DriverConfigs.Impl { public class OperaConfig : IDriverConfig { public virtual string GetName() { return "Opera"; } public virtual string GetUrl32() {...
mit
C#
e5454b19eb5fd4ce4ab0fc502b75cc31df6c6ee1
fix bug in subset sum dp
justcoding121/Advanced-Algorithms,justcoding121/Algorithm-Sandbox
Algorithm.Sandbox/DynamicProgramming/Sum/SubSetSum.cs
Algorithm.Sandbox/DynamicProgramming/Sum/SubSetSum.cs
using System.Collections.Generic; namespace Algorithm.Sandbox.DynamicProgramming.Sum { /// <summary> /// Problem statement /// http://www.geeksforgeeks.org/dynamic-programming-subset-sum-problem/ /// </summary> public class SubSetSum { public static bool HasSubSet(int[] input, int sum)...
using System.Collections.Generic; namespace Algorithm.Sandbox.DynamicProgramming.Sum { /// <summary> /// Problem statement /// http://www.geeksforgeeks.org/dynamic-programming-subset-sum-problem/ /// </summary> public class SubSetSum { public static bool HasSubSet(int[] input, int sum)...
mit
C#
ae472bd6d33eac66e311de7a4e91e9aac55065b2
Add `using System` to fix this file being detected as Smalltalk
SteamDatabase/ValveResourceFormat
ValveResourceFormat/Resource/Enums/VTexFormat.cs
ValveResourceFormat/Resource/Enums/VTexFormat.cs
using System; namespace ValveResourceFormat { public enum VTexFormat { #pragma warning disable 1591 UNKNOWN = 0, DXT1 = 1, DXT5 = 2, I8 = 3, // TODO: Not used in dota RGBA8888 = 4, R16 = 5, // TODO: Not used in dota RG1616 = 6, // TODO: Not used in dota ...
namespace ValveResourceFormat { public enum VTexFormat { #pragma warning disable 1591 UNKNOWN = 0, DXT1 = 1, DXT5 = 2, I8 = 3, // TODO: Not used in dota RGBA8888 = 4, R16 = 5, // TODO: Not used in dota RG1616 = 6, // TODO: Not used in dota RGBA161...
mit
C#
cca3ad2fc0aebe8cee5607efad9442386c79e3f6
throw in Auth0 since we named it?
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Controllers/API/ApiController.cs
Battery-Commander.Web/Controllers/API/ApiController.cs
using BatteryCommander.Web.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace BatteryCommander.Web.Controllers.API { [Route("api/[controller]"), Authorize(AuthenticationSchemes = "Auth0,Bearer,Cookies")] public class ApiController : Controller { protected r...
using BatteryCommander.Web.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace BatteryCommander.Web.Controllers.API { [Route("api/[controller]"), Authorize(AuthenticationSchemes = "Bearer,Cookies")] public class ApiController : Controller { protected readonl...
mit
C#
d9371b92a09babc98321d366711b1e3894f0bfd9
Update assembly info informational version
SkyKick/datadogcsharp
DataDogCSharp/DataDogCSharp/Properties/AssemblyInfo.cs
DataDogCSharp/DataDogCSharp/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("Da...
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("Da...
mit
C#
aa6135a392142e271255299abebfd6e3754320d4
Migrate Buddy to the new backend
flagbug/Espera,punker76/Espera
Espera/Espera.Core/Analytics/BuddyAnalyticsEndpoint.cs
Espera/Espera.Core/Analytics/BuddyAnalyticsEndpoint.cs
using System; using System.Globalization; using System.IO; using System.Reflection; using System.Threading.Tasks; using Buddy; namespace Espera.Core.Analytics { public class BuddyAnalyticsEndpoint : IAnalyticsEndpoint { private readonly BuddyClient client; private AuthenticatedUser storedUser;...
using System; using System.Globalization; using System.IO; using System.Reflection; using System.Threading.Tasks; using Buddy; namespace Espera.Core.Analytics { public class BuddyAnalyticsEndpoint : IAnalyticsEndpoint { private readonly BuddyClient client; private AuthenticatedUser storedUser;...
mit
C#
1e6c5dece6aceb9e133aa6c5d0f42c3af4e93b85
Append and Prepend extension
theraot/Theraot
Framework.Core/Theraot/Collections/Extensions.extra.cs
Framework.Core/Theraot/Collections/Extensions.extra.cs
using System; using System.Collections.Generic; using Theraot.Collections.Specialized; namespace Theraot.Collections { public static partial class Extensions { public static IEnumerable<T> Append<T>(this IEnumerable<T> target, IEnumerable<T> append) { return new ExtendedEnumerable<T...
#if FAT using System; using System.Collections.Generic; using Theraot.Collections.Specialized; namespace Theraot.Collections { public static partial class Extensions { public static IEnumerable<T> Append<T>(this IEnumerable<T> target, IEnumerable<T> append) { return new ExtendedEnu...
mit
C#
840f88a7018778bd7f56116d1fd93d100c36c64d
remove commented, old configuration
cvent/Metrics.NET,Liwoj/Metrics.NET,huoxudong125/Metrics.NET,etishor/Metrics.NET,mnadel/Metrics.NET,Liwoj/Metrics.NET,etishor/Metrics.NET,MetaG8/Metrics.NET,MetaG8/Metrics.NET,mnadel/Metrics.NET,alhardy/Metrics.NET,MetaG8/Metrics.NET,alhardy/Metrics.NET,cvent/Metrics.NET,Recognos/Metrics.NET,DeonHeyns/Metrics.NET,DeonH...
Samples/Owin.Sample/Startup.cs
Samples/Owin.Sample/Startup.cs
using Metrics; using Microsoft.Owin.Cors; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using Owin.Metrics; using System; using System.Web.Http; namespace Owin.Sample { public class Startup { public void Configuration(IAppBuilder app) { JsonConvert.DefaultSettings = (...
using Metrics; using Microsoft.Owin.Cors; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using Owin.Metrics; using System; using System.Web.Http; namespace Owin.Sample { public class Startup { public void Configuration(IAppBuilder app) { JsonConvert.DefaultSettings = (...
apache-2.0
C#
6a4a907ed67e6a82fa25fa54fb81eb9a4eb481f6
Compress only the vessel proto. TEST
DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
LmpCommon/Message/Data/Vessel/VesselProtoMsgData.cs
LmpCommon/Message/Data/Vessel/VesselProtoMsgData.cs
using Lidgren.Network; using LmpCommon.Message.Types; namespace LmpCommon.Message.Data.Vessel { public class VesselProtoMsgData : VesselBaseMsgData { internal VesselProtoMsgData() { } public override bool CompressCondition => true; public int NumBytes; public byte[] Data = new...
using Lidgren.Network; using LmpCommon.Message.Types; namespace LmpCommon.Message.Data.Vessel { public class VesselProtoMsgData : VesselBaseMsgData { internal VesselProtoMsgData() { } public int NumBytes; public byte[] Data = new byte[0]; public override VesselMessageType Ves...
mit
C#
520ff5dc46c96a7cf9d82136b62966f202260383
Revert "Fix for an odd crash we were experiencing"
Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms
Xamarin.Forms.Xaml/MarkupExtensions/TypeExtension.cs
Xamarin.Forms.Xaml/MarkupExtensions/TypeExtension.cs
using System; namespace Xamarin.Forms.Xaml { [ContentProperty("TypeName")] public class TypeExtension : IMarkupExtension<Type> { public string TypeName { get; set; } public Type ProvideValue(IServiceProvider serviceProvider) { if (serviceProvider == null) throw new ArgumentNullException("serviceProvid...
using System; namespace Xamarin.Forms.Xaml { [ContentProperty("TypeName")] public class TypeExtension : IMarkupExtension<Type> { public string TypeName { get; set; } public Type ProvideValue(IServiceProvider serviceProvider) { if (serviceProvider == null) throw new ArgumentNullException("serviceProvid...
mit
C#
81bb961326c0fe1e0845163e6d8d35e682cccc2e
Update assembly version
nexussays/Xamarin.Mobile,xamarin/Xamarin.Mobile,xamarin/Xamarin.Mobile,moljac/Xamarin.Mobile,orand/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile
MonoDroid/Xamarin.Mobile/Properties/AssemblyInfo.cs
MonoDroid/Xamarin.Mobile/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("Xam...
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("Xam...
apache-2.0
C#
d31dc896f19fd4dfbefa794b44c0cfaf588e2d70
add comment for SecurityContractAttribute
SignalGo/SignalGo-full-net
SignalGo.Server/DataTypes/SecurityContractAttribute.cs
SignalGo.Server/DataTypes/SecurityContractAttribute.cs
using SignalGo.Server.Models; using SignalGo.Shared.Http; using SignalGo.Shared.Models; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace SignalGo.Server.DataTypes { /// <summary> /// Security contract attribute for using check permission ...
using SignalGo.Server.Models; using SignalGo.Shared.Http; using SignalGo.Shared.Models; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace SignalGo.Server.DataTypes { /// <summary> /// Security contract attribute for using check permission ...
mit
C#
5640e2262480a84bc00f82c6b366396e1b4630c2
add Telerik.JustMock.MSTest2.Test.Elevated to InternalsVisible in DemoLibS
telerik/JustMockLite
Telerik.JustMock.DemoLib/Properties/AssemblyInfo.cs
Telerik.JustMock.DemoLib/Properties/AssemblyInfo.cs
/* JustMock Lite Copyright © 2010-2014 Telerik AD Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
/* JustMock Lite Copyright © 2010-2014 Telerik AD Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
apache-2.0
C#
7ebd5558aa65454486f2caba94496288bc288ad9
Update FileLoader.cs
mutouzdl/MutCSVLoaderForUnity
Assets/Scripts/CSVLoader/FileLoader.cs
Assets/Scripts/CSVLoader/FileLoader.cs
using UnityEngine; using System.IO; using System; /// <summary> /// 文件读取工具类 /// 作者:笨木头 www.benmutou.com /// 使用本代码时,请保留作者信息 /// </summary> public class FileLoader { /// <summary> /// 读取文件,结果保存到一个string数组,数组的每一行就是文件的每一行 /// (只支持PC和Android,不支持iOS,因为木头不玩iOS) /// </summary> /// <param name="filePath">...
using UnityEngine; using System.IO; /// <summary> /// 文件读取工具类 /// 作者:笨木头 www.benmutou.com /// 使用本代码时,请保留作者信息 /// </summary> public class FileLoader { /// <summary> /// 读取文件,结果保存到一个string数组,数组的每一行就是文件的每一行 /// (只支持PC和Android,不支持iOS,因为木头不玩iOS) /// </summary> /// <param name="filePath">文件路径</param> ...
mit
C#
a7ff01114c1e78b88b7c486b6f803bb357df0980
fix bug seedBullet not destroy itself immediately after hit Destroyable
LNWPOR/HamsterRushVR-Client
Assets/Scripts/SeedBulletController.cs
Assets/Scripts/SeedBulletController.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SeedBulletController : MonoBehaviour { private float destroyDuration = 3f; private void OnTriggerEnter(Collider other) { //Debug.Log(collision.gameObject.name); if (other.gameObject.tag.Equals("Dest...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SeedBulletController : MonoBehaviour { private float destroyDuration = 3f; private void OnTriggerEnter(Collider other) { //Debug.Log(collision.gameObject.name); if (other.gameObject.tag.Equals("Dest...
mit
C#
6e7b1273f11e583e270c0624d6d6e228d4af5cf3
Remove pause at the end of generator
ssg/TurkishId
generator/Program.cs
generator/Program.cs
/* Copyright 2014 Sedat Kapanoglu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
/* Copyright 2014 Sedat Kapanoglu Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
apache-2.0
C#
da43e7e14d46673ebcacfbc30b907207ae3550a8
fix version
raml-org/raml-dotnet-parser,raml-org/raml-dotnet-parser
source/AMF.Parser/Properties/AssemblyInfo.cs
source/AMF.Parser/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: AssemblyTit...
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: AssemblyTit...
apache-2.0
C#
91c34743bc1fe4236c24204ac2cc7a895eb2579d
Improve HyphenatedRoutingConvention
OlsonDev/PersonalWebApp,OlsonDev/PersonalWebApp
Conventions/HyphenatedRoutingConvention.cs
Conventions/HyphenatedRoutingConvention.cs
using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.AspNet.Mvc.ApplicationModels; namespace PersonalWebApp.Conventions { // See https://github.com/aspnet/Routing/issues/186 public class HyphenatedRoutingConvention : IApplicationModelConvention { public string DefaultCont...
using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.AspNet.Mvc.ApplicationModels; namespace PersonalWebApp.Conventions { // See https://github.com/aspnet/Routing/issues/186 public class HyphenatedRoutingConvention : IApplicationModelConvention { public string DefaultCont...
mit
C#
83dd8a945233e77b3afa298b09f7d4c3ad0bc185
change unused tests
Enigmatrix/Cobalt
Cobalt.Tests/Common/Data/QueryTests.cs
Cobalt.Tests/Common/Data/QueryTests.cs
using System; using System.Collections.Generic; using System.Data.SQLite; using System.Linq; using System.Reactive.Linq; using Cobalt.Common.Data; using Cobalt.Common.Data.Migration.Sqlite; using Cobalt.Common.Data.Repository; using Xunit; namespace Cobalt.Tests.Common.Data { public class QueryTests { ...
using System; using System.Collections.Generic; using System.Data.SQLite; using System.Linq; using System.Reactive.Linq; using Cobalt.Common.Data; using Cobalt.Common.Data.Migration.Sqlite; using Cobalt.Common.Data.Repository; using Xunit; namespace Cobalt.Tests.Common.Data { public class QueryTests { ...
mit
C#
9b866f32a3d94280e16311fe48aa2d44c27f682c
increment patch version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
6dacc5dbb7cb9c1ed288bd43ff1455bad227ebaf
Test project model color enforcing.
ZhangLeiCharles/mobile,eatskolnikov/mobile,peeedge/mobile,eatskolnikov/mobile,masterrr/mobile,peeedge/mobile,masterrr/mobile,ZhangLeiCharles/mobile,eatskolnikov/mobile
Tests/Data/Models/ProjectModelTest.cs
Tests/Data/Models/ProjectModelTest.cs
using System; using NUnit.Framework; using Toggl.Phoebe.Data.DataObjects; using Toggl.Phoebe.Data.NewModels; namespace Toggl.Phoebe.Tests.Data.Models { [TestFixture] public class ProjectModelTest : ModelTest<ProjectModel> { [Test] public void TestColorEnforcing () { var...
using System; using NUnit.Framework; using Toggl.Phoebe.Data.NewModels; namespace Toggl.Phoebe.Tests.Data.Models { [TestFixture] public class ProjectModelTest : ModelTest<ProjectModel> { } }
bsd-3-clause
C#
49773a6c649cf36cb58824437c9e695ec32d8296
Exclude 513 for SQLiteMs
LinqToDB4iSeries/linq2db,sdanyliv/linq2db,linq2db/linq2db,jogibear9988/linq2db,AK107/linq2db,inickvel/linq2db,LinqToDB4iSeries/linq2db,ronnyek/linq2db,genusP/linq2db,jogibear9988/linq2db,lvaleriu/linq2db,MaceWindu/linq2db,sdanyliv/linq2db,MaceWindu/linq2db,AK107/linq2db,genusP/linq2db,lvaleriu/linq2db,enginekit/linq2db...
Tests/Linq/UserTests/Issue513Tests.cs
Tests/Linq/UserTests/Issue513Tests.cs
using System.Linq; using System.Threading; using System.Threading.Tasks; using NUnit.Framework; namespace Tests.UserTests { using Model; [TestFixture] public class Issue513Tests : TestBase { [Test, DataContextSource] public void Simple(string context) { using (var db = GetDataContext(context)) { ...
using System.Linq; using System.Threading; using System.Threading.Tasks; using NUnit.Framework; namespace Tests.UserTests { using Model; [TestFixture] public class Issue513Tests : TestBase { [Test, DataContextSource] public void Simple(string context) { using (var db = GetDataContext(context)) { ...
mit
C#
fe7747da0d7822b72b17b2c3d100c1a765a6b318
Decrease number of operations to run to decrease benchmark duration from few hours to about 30 minutes
Catel/Catel.Benchmarks
src/Catel.Benchmarks.Shared/BenchmarkBase.cs
src/Catel.Benchmarks.Shared/BenchmarkBase.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="BenchmarkBase.cs" company="Catel development team"> // Copyright (c) 2008 - 2017 Catel development team. All rights reserved. // </copyright> // --------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="BenchmarkBase.cs" company="Catel development team"> // Copyright (c) 2008 - 2017 Catel development team. All rights reserved. // </copyright> // --------------------------------...
mit
C#
1c8ebd0f29eec12fd72d5ac782ee9d5549372aec
Change the method of identifying SELECT * to match LiteCore
couchbase/couchbase-lite-net,couchbase/couchbase-lite-net,couchbase/couchbase-lite-net
src/Couchbase.Lite/API/Query/SelectResult.cs
src/Couchbase.Lite/API/Query/SelectResult.cs
// // SelectResultFactory.cs // // Author: // Jim Borden <jim.borden@couchbase.com> // // Copyright (c) 2017 Couchbase, Inc 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...
// // SelectResultFactory.cs // // Author: // Jim Borden <jim.borden@couchbase.com> // // Copyright (c) 2017 Couchbase, Inc 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...
apache-2.0
C#
ef817ff2748e9358b48fb7fa0bd51b3f0ce70e32
Make KeyEqualityComparer public.
Faithlife/FaithlifeUtility
src/Faithlife.Utility/KeyEqualityComparer.cs
src/Faithlife.Utility/KeyEqualityComparer.cs
using System; using System.Collections.Generic; namespace Faithlife.Utility { /// <summary> /// An EqualityComparer which tests equality on a key type /// </summary> /// <typeparam name="TSource">The source object type</typeparam> /// <typeparam name="TKey">The key object type</typeparam> public class KeyEqualit...
using System; using System.Collections.Generic; namespace Faithlife.Utility { /// <summary> /// An EqualityComparer which tests equality on a key type /// </summary> /// <typeparam name="TSource">The source object type</typeparam> /// <typeparam name="TKey">The key object type</typeparam> internal class KeyEqual...
mit
C#