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
1f21ffdc1ebf58956a267992733a87d9f5c38b6e
Use a case-insensitive comparer for the Filter dictionary on FilterParameters
IntelliTect/Coalesce,IntelliTect/Coalesce,IntelliTect/Coalesce,IntelliTect/Coalesce
src/IntelliTect.Coalesce/Api/Parameters/FilterParameters.cs
src/IntelliTect.Coalesce/Api/Parameters/FilterParameters.cs
using System; using System.Collections.Generic; namespace IntelliTect.Coalesce.Api { public class FilterParameters : DataSourceParameters, IFilterParameters { /// <inheritdoc /> public string Search { get; set; } /// <inheritdoc cref="IFilterParameters.Filter" /> public Dictio...
using System.Collections.Generic; namespace IntelliTect.Coalesce.Api { public class FilterParameters : DataSourceParameters, IFilterParameters { /// <inheritdoc /> public string Search { get; set; } /// <inheritdoc cref="IFilterParameters.Filter" /> public Dictionary<string, s...
apache-2.0
C#
22cb71abf74a8fd51f29de2d3cf59e2e81041013
Update version to 1.0.1
TheOtherTimDuncan/EntityFramework.DatabaseMigrator
EntityFramework.DatabaseMigrator/Properties/AssemblyInfo.cs
EntityFramework.DatabaseMigrator/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("En...
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("En...
apache-2.0
C#
c8bda522900089452ca47f4c8d82e099cb7e5fc0
allow querying through api
0xFireball/KQAnalytics3,0xFireball/KQAnalytics3,0xFireball/KQAnalytics3
KQAnalytics3/src/KQAnalytics3/Modules/DataQueryApiModule.cs
KQAnalytics3/src/KQAnalytics3/Modules/DataQueryApiModule.cs
using KQAnalytics3.Models.Data; using KQAnalytics3.Services.DataCollection; using Nancy; using Nancy.Security; namespace KQAnalytics3.Modules { public class DataQueryApiModule : NancyModule { public DataQueryApiModule() : base("/api") { // Require stateless auth this.Re...
using Nancy; namespace KQAnalytics3.Modules { public class DataQueryApiModule : NancyModule { public DataQueryApiModule() { } } }
agpl-3.0
C#
275fa01cf4b09ed634a1b197b03c937c93d9a7d9
return elements ordered by id
pako1337/Content_Man,pako1337/Content_Man
ContentDomain/Factories/ContentElementFactory.cs
ContentDomain/Factories/ContentElementFactory.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ContentDomain.Factories { public class ContentElementFactory { public ContentElement Create(string language, ContentType type) { return new ContentElement(-...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ContentDomain.Factories { public class ContentElementFactory { public ContentElement Create(string language, ContentType type) { return new ContentElement(-...
mit
C#
60f0470b9acf204b88ac17831b2421c9a9c53bb8
fix add new water meter
NickSerg/water-meter,NickSerg/water-meter,NickSerg/water-meter
WaterMeter/WM.AspNetMvc/Controllers/WaterMeterController.cs
WaterMeter/WM.AspNetMvc/Controllers/WaterMeterController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using WM.AspNetMvc.Models; namespace WM.AspNetMvc.Controllers { public class WaterMeterController : Controller { private readonly WaterMeterDataContext waterMeterDataContext; public Wate...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using WM.AspNetMvc.Models; namespace WM.AspNetMvc.Controllers { public class WaterMeterController : Controller { private readonly WaterMeterDataContext waterMeterDataContext; public Wate...
apache-2.0
C#
cf33d49e1b3523f53b1d0fe6793557dd243a92f2
support for wffm version 2.3
zigor/morph
Rules/Actions/Client/ClientAction.cs
Rules/Actions/Client/ClientAction.cs
namespace Morph.Forms.Rules.Actions.Client { using System.Web.UI; using Sitecore; using Sitecore.Diagnostics; using Sitecore.Forms.Core.Rules; using Sitecore.StringExtensions; /// <summary> /// Defines the client action class. /// </summary> /// <typeparam name="T"></typeparam> public...
namespace Morph.Forms.Rules.Actions.Client { using System.Web.UI; using Sitecore; using Sitecore.Diagnostics; using Sitecore.Forms.Core.Rules; using Sitecore.StringExtensions; /// <summary> /// Defines the client action class. /// </summary> /// <typeparam name="T"></typeparam> public...
mit
C#
88d1cbdf7c4a242be0dfcea7ecd96b0773972a84
Modify sample application to show details about the posted tweet
misenhower/MicroTweet
SampleApplication/Program.cs
SampleApplication/Program.cs
using System; using Microsoft.SPOT; using MicroTweet; using System.Net; using System.Threading; namespace SampleApplication { public class Program { public static void Main() { // Wait for DHCP while (IPAddress.GetDefaultLocalAddress() == IPAddress.Any) T...
using System; using Microsoft.SPOT; using MicroTweet; using System.Net; using System.Threading; namespace SampleApplication { public class Program { public static void Main() { // Wait for DHCP while (IPAddress.GetDefaultLocalAddress() == IPAddress.Any) T...
apache-2.0
C#
6e49fb22b4e3c4d769e2dbc446d87f311aa4437d
Bump for v1.0.0
decred/Paymetheus,jrick/Paymetheus
Paymetheus/Properties/AssemblyInfo.cs
Paymetheus/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
isc
C#
c0c4639aaacd7fc29bf4a9ddfbbe135af27a9699
Update AssemblyInfo
ProgTrade/SharpMath
SharpMath/Properties/AssemblyInfo.cs
SharpMath/Properties/AssemblyInfo.cs
// Author: Dominic Beger (Trade/ProgTrade) 2016 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: Assemb...
// Author: Dominic Beger (Trade/ProgTrade) 2016 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: Assemb...
mit
C#
6de0458a902e0b2c18a7ec5819844fd58d0a775d
Add global disable option to FPSDisplay
NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare
Assets/Scripts/UI/FPSDisplay.cs
Assets/Scripts/UI/FPSDisplay.cs
using UnityEngine; using System.Collections; public class FPSDisplay : MonoBehaviour { private static bool DisableGlobally = false; float deltaTime = 0.0f; void Start() { if (DisableGlobally) { enabled = false; return; } } void Update() { deltaTim...
using UnityEngine; using System.Collections; public class FPSDisplay : MonoBehaviour { float deltaTime = 0.0f; void Update() { deltaTime += (Time.deltaTime - deltaTime) * 0.1f; } void OnGUI() { int w = Screen.width, h = Screen.height; GUIStyle style = new GUIStyle(); Rect rect = new Rect(0, 0, w, h ...
mit
C#
7bbd6288b1389be36b01679c030b8f6b76e2be86
Bump version
klesta490/BTDB,karasek/BTDB,Bobris/BTDB
BTDB/Properties/AssemblyInfo.cs
BTDB/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("BTD...
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("BTD...
mit
C#
27a7904955747b713c2dc72be841397c69097d0e
Fix RedistCopy error when building for unsupported platforms
GoeGaming/Steamworks.NET,rlabrecque/Steamworks.NET,Gert-Jan/Steamworks.NET,rlabrecque/Steamworks.NET,rlabrecque/Steamworks.NET,Yukinii/Async-Await-Steamworks.NET,rlabrecque/Steamworks.NET,etodd/Steamworks.NET
Editor/Steamworks.NET/RedistCopy.cs
Editor/Steamworks.NET/RedistCopy.cs
// Uncomment this out to disable copying //#define DISABLEREDISTCOPY using UnityEngine; using UnityEditor; using UnityEditor.Callbacks; using System.IO; public class RedistCopy { [PostProcessBuild] public static void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject) { #if !DISABLEREDISTCOPY if (ta...
// Uncomment this out to disable copying //#define DISABLEREDISTCOPY using UnityEngine; using UnityEditor; using UnityEditor.Callbacks; using System.IO; public class RedistCopy { [PostProcessBuild] public static void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject) { #if !DISABLEREDISTCOPY string...
mit
C#
b64f7604408dcb3606cb1ddc09b9e306643ecb70
Use new Presign method
carbon/Amazon
src/Amazon.Rds/RdsService.cs
src/Amazon.Rds/RdsService.cs
using System; using System.Net.Http; using System.Threading.Tasks; using Amazon.Security; namespace Amazon.Rds { public sealed class RdsService { private readonly AwsRegion region; private readonly IAwsCredential credential; public RdsService(AwsRegion region, IAwsCreden...
using System; using System.Net.Http; using System.Threading.Tasks; using Amazon.Security; namespace Amazon.Rds { public sealed class RdsService { private readonly AwsRegion region; private readonly IAwsCredential credential; public RdsService(AwsRegion region, IAwsCreden...
mit
C#
7ee02c4b38da37f996e740e6821159d3c98ca8f4
Add ScrollTo support to ScrollView
praeclarum/Ooui,praeclarum/Ooui,praeclarum/Ooui
Ooui.Forms/Renderers/ScrollViewRenderer.cs
Ooui.Forms/Renderers/ScrollViewRenderer.cs
using System; using System.ComponentModel; using Ooui.Forms.Extensions; using Xamarin.Forms; namespace Ooui.Forms.Renderers { public class ScrollViewRenderer : VisualElementRenderer<ScrollView> { bool disposed = false; protected override void OnElementChanged (ElementChangedEventArgs<ScrollVi...
using System; using System.ComponentModel; using Ooui.Forms.Extensions; using Xamarin.Forms; namespace Ooui.Forms.Renderers { public class ScrollViewRenderer : ViewRenderer<ScrollView, Div> { protected override void OnElementChanged (ElementChangedEventArgs<ScrollView> e) { base.On...
mit
C#
8ac13b076353c675ef417f8c855b3a0fd93dbcd6
Update IUnitOfWorkFactory.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/IUnitOfWorkFactory.cs
TIKSN.Core/Data/IUnitOfWorkFactory.cs
namespace TIKSN.Data { public interface IUnitOfWorkFactory { IUnitOfWork Create(); } }
namespace TIKSN.Data { public interface IUnitOfWorkFactory { IUnitOfWork Create(); } }
mit
C#
1501802fa325e2ab22c28c686a86f732eb528ac5
Make StringExtensions internal
weblinq/WebLinq,weblinq/WebLinq,atifaziz/WebLinq,atifaziz/WebLinq
src/Core/StringExtensions.cs
src/Core/StringExtensions.cs
#region Copyright (c) 2019 Atif Aziz. 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 ap...
#region Copyright (c) 2019 Atif Aziz. 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 ap...
apache-2.0
C#
e0d4fbf493f3258bd427440de9b9fad0b71a9167
document code
kreeben/resin,kreeben/resin
src/DocumentTable/DocHash.cs
src/DocumentTable/DocHash.cs
using System; namespace DocumentTable { // Note, this object's equatability property is key. Making this into a struct would only led to boxing. public class DocHash : IEquatable<DocHash> { public UInt64 Hash { get; private set; } public bool IsObsolete { get; set; } public DocHas...
using System; namespace DocumentTable { public class DocHash : IEquatable<DocHash> { public UInt64 Hash { get; private set; } public bool IsObsolete { get; set; } public DocHash(UInt64 hash) { Hash = hash; IsObsolete = false; } public D...
mit
C#
89d695e7160a7e4051369e9cd448b7df2a053f16
simplify test
dennisroche/TestStack.Seleno,TestStack/TestStack.Seleno,random82/TestStack.Seleno,random82/TestStack.Seleno,dennisroche/TestStack.Seleno,TestStack/TestStack.Seleno,bendetat/TestStack.Seleno,bendetat/TestStack.Seleno
src/TestStack.Seleno.Tests/PageObjects/Actions/Executor/When_executing_predicate_script_that_completes_successfuly.cs
src/TestStack.Seleno.Tests/PageObjects/Actions/Executor/When_executing_predicate_script_that_completes_successfuly.cs
using NSubstitute; using OpenQA.Selenium; namespace TestStack.Seleno.Tests.PageObjects.Actions.Executor { class When_executing_predicate_script_that_completes_successfuly : ExecutorSpecification { private const string JqueryIsLoadedScript = "typeof jQuery == 'function'"; public void Given_the_...
using NSubstitute; using OpenQA.Selenium; namespace TestStack.Seleno.Tests.PageObjects.Actions.Executor { class When_executing_predicate_script_that_completes_successfuly : ExecutorSpecification { private const string JqueryIsLoadedScript = "typeof jQuery == 'function'"; private int _index; ...
mit
C#
1ef73273051107b03a51b35864796f1d4d804715
add comment
toannvqo/dnn_publish
Components/ProductController.cs
Components/ProductController.cs
using DotNetNuke.Data; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Christoc.Modules.DNNModule1.Components { public class ProductController { public Product GetProduct(int productId) { Product p; using (IDataContext ctx ...
using DotNetNuke.Data; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Christoc.Modules.DNNModule1.Components { public class ProductController { public Product GetProduct(int productId) { Product p; using (IDataContext ctx ...
mit
C#
c9d90928c51c55e20a3c68f47097beee30459f5b
remove comment
darvell/Coremero
Coremero/Coremero/CorePlugin.cs
Coremero/Coremero/CorePlugin.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Coremero.Commands; using Coremero.Utilities; namespace Coremero { public class CorePlugin : IPlugin { [Command("echo")] public string Echo(IInvocationContext context, IMessage message) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Coremero.Commands; using Coremero.Utilities; namespace Coremero { public class CorePlugin : IPlugin { [Command("echo")] public string Echo(IInvocationContext context, IMessage message) { ...
mit
C#
90be15f097cb62d16b15e08289835a9ac1edbd2f
Update demo
sunkaixuan/SqlSugar
Src/Asp.Net/SqlServerTest/Demo/DemoE_CodeFirst.cs
Src/Asp.Net/SqlServerTest/Demo/DemoE_CodeFirst.cs
using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OrmTest { public class DemoE_CodeFirst { public static void Init() { Console.WriteLine(""); Console.WriteLine("#### CodeFirst Start ####"); SqlSug...
using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OrmTest { public class DemoE_CodeFirst { public static void Init() { Console.WriteLine(""); Console.WriteLine("#### CodeFirst Start ####"); SqlSug...
apache-2.0
C#
cfbf65d4f76a9f9076cf834c279f9dbfc63595e5
Tweak to method accessibility
boro2g/AlexaCore
AlexaCore/Intents/AlexaIntent.cs
AlexaCore/Intents/AlexaIntent.cs
using System; using System.Collections.Generic; using System.Linq; using Alexa.NET; using Alexa.NET.Request; using Alexa.NET.Response; using AlexaCore.Extensions; namespace AlexaCore.Intents { public abstract class AlexaIntent { protected IntentParameters Parameters; protected Dictionary<string, Slot> Slots...
using System; using System.Collections.Generic; using System.Linq; using Alexa.NET; using Alexa.NET.Request; using Alexa.NET.Response; using AlexaCore.Extensions; namespace AlexaCore.Intents { public abstract class AlexaIntent { protected IntentParameters Parameters; protected Dictionary<string, Slot> Slots...
mit
C#
8e56629f825300a6f6c18904ce9091946352551d
Change the assembly informations
jstuyck/witsmllib
Properties/AssemblyInfo.cs
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...
apache-2.0
C#
039f0dd5716d16db57f2f70cc7040d8ed3e80f0d
Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
autofac/Autofac.Multitenant
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Autofac.Extras.Multitenant")] [assembly: ComVisible(false)]
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Autofac.Extras.Multitenant")] [assembly: AssemblyDescription("Autofac multitenancy support library.")] [assembly: ComVisible(false)]
mit
C#
b42905bb1c4f87347d36a2c95e99da9417975e8d
bump to version 1.2.4
dnauck/AspSQLProvider,dnauck/AspSQLProvider
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
// // $Id$ // // Copyright 2006 - 2009 Nauck IT KG http://www.nauck-it.de // // Author: // Daniel Nauck <d.nauck(at)nauck-it.de> // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software witho...
// // $Id$ // // Copyright 2006 - 2009 Nauck IT KG http://www.nauck-it.de // // Author: // Daniel Nauck <d.nauck(at)nauck-it.de> // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software witho...
mit
C#
db6b684b84b4a8b9f1d28d16c232a2e9b53eb456
Update version to 1.1.1-beta1
bungeemonkee/Transformerizer
Transformerizer/Properties/AssemblyInfo.cs
Transformerizer/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Transformerizer")] [assembly: AssemblyDescription("Tra...
using System.Reflection; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Transformerizer")] [assembly: AssemblyDescription("Tra...
mit
C#
3b6a8d803a5507a21e936ae991b8d6fea5a46ef8
Add model binder to binding config
agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov
WebAPI.API/App_Start/ModelBindingConfig.cs
WebAPI.API/App_Start/ModelBindingConfig.cs
using System.Web.Http.Controllers; using System.Web.Http.ModelBinding; using WebAPI.API.ModelBindings.Providers; namespace WebAPI.API { public class ModelBindingConfig { public static void RegisterModelBindings(ServicesContainer services) { services.Add(typeof (ModelBinderProvider)...
using System.Web.Http.Controllers; using System.Web.Http.ModelBinding; using WebAPI.API.ModelBindings.Providers; namespace WebAPI.API { public class ModelBindingConfig { public static void RegisterModelBindings(ServicesContainer services) { services.Add(typeof (ModelBinderProvider)...
mit
C#
d40a4a6c13ecacede9cc0af353233fc553169016
Remove animator not initialized warning
IGDAStl/gateway2dwest,IGDAStl/gateway2dwest,stlgamedev/gateway2dwest,stlgamedev/gateway2dwest,IGDAStl/gateway2dwest,stlgamedev/gateway2dwest
Assets/Scripts/PlayerMovement.cs
Assets/Scripts/PlayerMovement.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; public class PlayerMovement : MonoBehaviour { public float movementSpeed = 2.0f; public InputHelper inputHelper; public int playerID = 0; //Setting foundation for multiple players Animator animator; Rigidbody2D rb; // Use thi...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class PlayerMovement : MonoBehaviour { public float movementSpeed = 2.0f; public InputHelper inputHelper; public int playerID = 0; //Setting foundation for multiple players Animator animator; Rigidbody2D rb; // Use thi...
apache-2.0
C#
1826965ea15fe44ecd590b60f43c72686eb4b51a
Address null ref when we can't get an Undo manager.
mattwar/roslyn,Hosch250/roslyn,jasonmalinowski/roslyn,tannergooding/roslyn,aelij/roslyn,jmarolf/roslyn,AmadeusW/roslyn,pdelvo/roslyn,stephentoub/roslyn,agocke/roslyn,pdelvo/roslyn,mattwar/roslyn,TyOverby/roslyn,CyrusNajmabadi/roslyn,Giftednewt/roslyn,mattscheffer/roslyn,drognanar/roslyn,khyperia/roslyn,aelij/roslyn,dir...
src/VisualStudio/Core/Def/Utilities/IVsEditorAdaptersFactoryServiceExtensions.cs
src/VisualStudio/Core/Def/Utilities/IVsEditorAdaptersFactoryServiceExtensions.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.Threading; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Text; using Microsoft.VisualStudio.Editor; using Microsoft.VisualStudio.OL...
// 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.Threading; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Text; using Microsoft.VisualStudio.Editor; using Microsoft.VisualStudio.OL...
mit
C#
ae2a50a6879f201ad9b80c3cf2b77cb7ced5c9c4
upgrade code
pid011/BackupCode
HelloWorld/HelloWorld/HelloWorld.cs
HelloWorld/HelloWorld/HelloWorld.cs
using System; namespace HelloWorld { class Program { static void Main(string[] args) { int num = 4; string result = (num % 2 == 0) ? "even number" : "odd number"; Console.WriteLine(result); //----디버그 모드에서 창이 바로 닫히는 문제를 위한 코드---- Console.ReadKey(); } } }
using System; namespace HelloWorld { class Program { static void Main(string[] args) { int[] numbers = { 1023, 1023, 1034, 1087 }; bool result = !(numbers[0] > numbers[2]) && numbers[0] == numbers[1] && numbers[1] <= numbers[3]; if (result) { Console.WriteLine("맞습니다"); } else { Console.WriteL...
mit
C#
b362795cfd2ec93268205e93da37ea3506dcd7dc
Hide menu bar if it has no items
PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto
Source/Eto.WinForms/Forms/Menu/MenuBarHandler.cs
Source/Eto.WinForms/Forms/Menu/MenuBarHandler.cs
using SWF = System.Windows.Forms; using Eto.Forms; using System.Collections.Generic; namespace Eto.WinForms { /// <summary> /// Summary description for MenuBarHandler. /// </summary> public class MenuBarHandler : WidgetHandler<SWF.MenuStrip, MenuBar>, MenuBar.IHandler { public MenuBarHandler() { Control = ...
using SWF = System.Windows.Forms; using Eto.Forms; using System.Collections.Generic; namespace Eto.WinForms { /// <summary> /// Summary description for MenuBarHandler. /// </summary> public class MenuBarHandler : WidgetHandler<SWF.MenuStrip, MenuBar>, MenuBar.IHandler { public MenuBarHandler() { Control = ...
bsd-3-clause
C#
da16a09fa9f54c45047239904d9cd2f6c863c951
Change to ratio
fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation
UnityProject/Assets/Scripts/GameModes/Traitor.cs
UnityProject/Assets/Scripts/GameModes/Traitor.cs
using UnityEngine; using Antagonists; using System.Collections.Generic; using System; [CreateAssetMenu(menuName="ScriptableObjects/GameModes/Traitor")] public class Traitor : GameMode { [Tooltip("Ratio of traitors to player count. A value of 0.2 means there would be " + "2 traitors when there are 10 pl...
using UnityEngine; using Antagonists; using System.Collections.Generic; [CreateAssetMenu(menuName="ScriptableObjects/GameModes/Traitor")] public class Traitor : GameMode { private float TraitorAmount = 0; /// <summary> /// Set up the station for the game mode /// </summary> public override void Se...
agpl-3.0
C#
345430ab39d45f7d47231b080472bb660c364e0a
Fix argon hit target area not being aligned correctly
peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu
osu.Game.Rulesets.Mania/Skinning/Argon/ArgonHitTarget.cs
osu.Game.Rulesets.Mania/Skinning/Argon/ArgonHitTarget.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes;...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Game.Rulesets.Mania....
mit
C#
26d8f415d65e97e5914656fdeeecfcec33ab7928
check null when sanitizing the log
projectkudu/TryAppService,projectkudu/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/TryAppService,davidebbo/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/SimpleWAWS,projectkudu/SimpleWAWS,davidebbo/SimpleWAWS,fashaikh/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/TryAppService,...
SimpleWAWS/Trace/SimpleTrace.cs
SimpleWAWS/Trace/SimpleTrace.cs
using Serilog; using SimpleWAWS.Code; using System; using System.Collections.Generic; using System.Configuration; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Web; namespace SimpleWAWS.Trace { public static class SimpleTrace { public static ILogger Analytics; ...
using Serilog; using SimpleWAWS.Code; using System; using System.Collections.Generic; using System.Configuration; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Web; namespace SimpleWAWS.Trace { public static class SimpleTrace { public static ILogger Analytics; ...
apache-2.0
C#
8aadc3c92d84f0382b82216f93efeb6a20de3435
Add assembly description
reznet/MusicXml.Net,gerryaobrien/MusicXml.Net,vdaron/MusicXml.Net
MusicXml/Properties/AssemblyInfo.cs
MusicXml/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("MusicXml")] [assembly: AssemblyDescriptio...
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("MusicXml")] [assembly: AssemblyDescriptio...
bsd-3-clause
C#
23a33d090ec7b81373634af81eff3bbc43eb7436
Enable cmdline output
PingOwin/pingowin
source/PingIt.Cmd/Program.cs
source/PingIt.Cmd/Program.cs
using System.Configuration; using System.Linq; using PingIt.Lib; namespace PingIt.Cmd { class Program { static void Main(string[] args) { var urlsCsv = ConfigurationManager.AppSettings["urls"]; var urls = urlsCsv.Split(';'); var transformer = new SlackMessag...
using System.Configuration; using System.Linq; using PingIt.Lib; namespace PingIt.Cmd { class Program { static void Main(string[] args) { var urlsCsv = ConfigurationManager.AppSettings["urls"]; var urls = urlsCsv.Split(';'); var transformer = new SlackMessag...
mit
C#
d5f7c73600117acf4b21614637172fdfdb1dd20c
Update table stlye for Bootstrap
Neurothustra/ProductGrid,Neurothustra/ProductGrid,Neurothustra/ProductGrid
ProductGrid/Views/Home/Index.cshtml
ProductGrid/Views/Home/Index.cshtml
@model IEnumerable<ProductGrid.Models.Product> @{ ViewBag.Title = "Index"; //WebGrid displays data on a web page using an HTML table element. //In this instance, I've provided the constructor with a couple of arguments: Model is obviously the data object, //ajaxUpdateContainerId looks in the DOM for t...
@model IEnumerable<ProductGrid.Models.Product> @{ ViewBag.Title = "Index"; //WebGrid displays data on a web page using an HTML table element. //In this instance, I've provided the constructor with a couple of arguments: Model is obviously the data object, //ajaxUpdateContainerId looks in the DOM for t...
mit
C#
2da346b68cde29543e44c2cd37f703a2ba6d4ca6
fix sample
mvcguy/AMQ.Wrapper
Example2/MessageStorageService.cs
Example2/MessageStorageService.cs
using System; using System.Collections.Generic; using Apache.NMS; namespace Example2 { public class MessageStorageService : IMessageStorageService { public List<MessageHistoryItem> Store = new List<MessageHistoryItem>(); public MessageHistoryItem GetMessageHistoryItem(string messageId) ...
using System; using System.Collections.Generic; using Apache.NMS; namespace Example2 { public class MessageStorageService : IMessageStorageService { public List<MessageHistoryItem> Store = new List<MessageHistoryItem>(); public MessageHistoryItem GetMessageHistoryItem(string messageId) ...
apache-2.0
C#
c8900f4f4610519ff6de5ca721ae5649681628cc
Declare array parameter as an IReadOnlyList<T> since the array need not be used as mutable.
EliotJones/fixie,Duohong/fixie,bardoloi/fixie,bardoloi/fixie,fixie/fixie,KevM/fixie,JakeGinnivan/fixie
src/Fixie/ClassExecution.cs
src/Fixie/ClassExecution.cs
using System; using System.Collections.Generic; namespace Fixie { public class ClassExecution { public ClassExecution(ExecutionPlan executionPlan, Type testClass, IReadOnlyList<CaseExecution> caseExecutions) { ExecutionPlan = executionPlan; TestClass = testClass; ...
using System; using System.Collections.Generic; namespace Fixie { public class ClassExecution { public ClassExecution(ExecutionPlan executionPlan, Type testClass, CaseExecution[] caseExecutions) { ExecutionPlan = executionPlan; TestClass = testClass; CaseExe...
mit
C#
cde72f385cb18e3d1c6e8ebcd10e6e7177592c57
Refactor to use UseBusDiagnostics extension
tomaszkiewicz/rsb
SampleDiscoverableModule/Program.cs
SampleDiscoverableModule/Program.cs
using System; using System.Threading; using RSB; using RSB.Diagnostics; using RSB.Transports.RabbitMQ; namespace SampleDiscoverableModule { class Program { static void Main(string[] args) { var bus = new Bus(RabbitMqTransport.FromConfigurationFile()); bus.UseBusDiagnos...
using System; using RSB; using RSB.Diagnostics; using RSB.Transports.RabbitMQ; namespace SampleDiscoverableModule { class Program { static void Main(string[] args) { var bus = new Bus(RabbitMqTransport.FromConfigurationFile()); var diagnostics = new BusDiagnostics(bus,...
bsd-3-clause
C#
379ca7f133ba53679149d650b3e082b3ca9dda3c
remove unnecessary stream.
sassembla/Autoya,sassembla/Autoya,sassembla/Autoya
Assets/Autoya/Encrypt/RIPEMD160.cs
Assets/Autoya/Encrypt/RIPEMD160.cs
using System.IO; using System.Security.Cryptography; using System.Text; namespace AutoyaFramework.Encrypt.RIPEMD { public static class RIPEMD { private static UTF8Encoding utf8Enc = new UTF8Encoding(); public static string RIPEMD160 (string baseStr, string key) { var sourceBytes = utf8Enc.GetBytes(baseStr); ...
using System.IO; using System.Security.Cryptography; using System.Text; namespace AutoyaFramework.Encrypt.RIPEMD { public static class RIPEMD { private static UTF8Encoding utf8Enc = new UTF8Encoding(); public static string RIPEMD160 (string baseStr, string key) { var sourceBytes = utf8Enc.GetBytes(baseStr); ...
mit
C#
7956070a562990a7ac8b3c57861ad725efeb93d1
Include the recording number in the default format
Heufneutje/AudioSharp,Heufneutje/HeufyAudioRecorder
AudioSharp.Config/ConfigHandler.cs
AudioSharp.Config/ConfigHandler.cs
using System; using System.Collections.Generic; using System.IO; using System.Windows.Input; using AudioSharp.Utils; using Newtonsoft.Json; namespace AudioSharp.Config { public class ConfigHandler { public static void SaveConfig(Configuration config) { string json = JsonConvert.Seri...
using System; using System.Collections.Generic; using System.IO; using System.Windows.Input; using AudioSharp.Utils; using Newtonsoft.Json; namespace AudioSharp.Config { public class ConfigHandler { public static void SaveConfig(Configuration config) { string json = JsonConvert.Seri...
mit
C#
d22609acea393ea975dff389794f4051752a06ed
Fix parsing of GoAway frame additional data
Redth/HttpTwo,Redth/HttpTwo,Redth/HttpTwo
HttpTwo/Frames/GoAwayFrame.cs
HttpTwo/Frames/GoAwayFrame.cs
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Collections.Specialized; using System.Net.Security; using System.Net.Sockets; using System.Threading.Tasks; using System.Threading; namespace HttpTwo { public class GoAwayFrame : Frame { public uint LastSt...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Collections.Specialized; using System.Net.Security; using System.Net.Sockets; using System.Threading.Tasks; using System.Threading; namespace HttpTwo { public class GoAwayFrame : Frame { public uint LastSt...
apache-2.0
C#
eb4a6351706a99a682778e8b8841c80a075dffa8
Split enum test to 4 separate
joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net
JoinRpg.Web.Test/EnumTests.cs
JoinRpg.Web.Test/EnumTests.cs
using JoinRpg.Domain; using JoinRpg.Services.Interfaces; using JoinRpg.TestHelpers; using JoinRpg.Web.Models; using Xunit; namespace JoinRpg.Web.Test { public class EnumTests { [Fact] public void AccessReason() => EnumerationTestHelper.CheckEnums<UserExtensions.AccessReason, AccessReason>(); ...
using JoinRpg.Domain; using JoinRpg.Services.Interfaces; using JoinRpg.TestHelpers; using JoinRpg.Web.Models; using Xunit; namespace JoinRpg.Web.Test { public class EnumTests { [Fact] public void ProblemEnum() { EnumerationTestHelper.CheckEnums<UserExtensions.AccessReason, ...
mit
C#
cfb1feeae4e00af55f704270033c5a87e1ed4c06
Fix access modifiers
setchi/NotesEditor,setchi/NoteEditor
Assets/Scripts/UndoRedoManager.cs
Assets/Scripts/UndoRedoManager.cs
using System; using System.Collections.Generic; using UniRx; using UniRx.Triggers; using UnityEngine; public class UndoRedoManager : SingletonGameObject<UndoRedoManager> { Stack<Command> undoStack = new Stack<Command>(); Stack<Command> redoStack = new Stack<Command>(); void Awake() { var mode...
using System; using System.Collections.Generic; using UniRx; using UniRx.Triggers; using UnityEngine; public class UndoRedoManager : SingletonGameObject<UndoRedoManager> { Stack<Command> undoStack = new Stack<Command>(); Stack<Command> redoStack = new Stack<Command>(); void Awake() { var mode...
mit
C#
f0b5e783098cf5d98128655833004c6d9a8b7dcb
Convert NameTransformers to static methods instead of delegates
bretcope/BosunReporter.NET
BosunReporter/NameTransformers.cs
BosunReporter/NameTransformers.cs
using System; using System.Globalization; using System.Linq; namespace BosunReporter { /// <summary> /// Provides a set of commonly useful metric name and tag name/value converters. /// </summary> public static class NameTransformers { // http://stackoverflow.com/questions/18781027/regex-c...
using System; using System.Globalization; using System.Linq; namespace BosunReporter { /// <summary> /// Provides a set of commonly useful metric name and tag name/value converters. /// </summary> public static class NameTransformers { // http://stackoverflow.com/questions/18781027/regex-c...
mit
C#
3864da3fcbfb045b7d86f703a0d5d95f84b1db1f
Return prefix and byte length
mstrother/BmpListener
src/BmpListener/Bgp/IPAddrPrefix.cs
src/BmpListener/Bgp/IPAddrPrefix.cs
using System; using System.Linq; using System.Net; namespace BmpListener.Bgp { public class IPAddrPrefix { // RFC 4721 4.3 // The Type field indicates the length in bits of the IP address prefix. public int Length { get; private set; } public IPAddress Prefix { get; private set...
using System; using System.Net; namespace BmpListener.Bgp { public class IPAddrPrefix { public IPAddrPrefix(byte[] data, int offset, AddressFamily afi = AddressFamily.IP) { DecodeFromBytes(data, offset, afi); } internal int ByteLength { get { return 1 + (Length + 7...
mit
C#
01db058f0de8d8c52e88081fbff55112264056fb
fix https://github.com/GregorBiswanger/Electron.NET/issues/2
ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET
ElectronNET.CLI/ProcessHelper.cs
ElectronNET.CLI/ProcessHelper.cs
using System; using System.Diagnostics; using System.Runtime.InteropServices; namespace ElectronNET.CLI { public class ProcessHelper { public static void CmdExecute(string command, string workingDirectoryPath, bool output = true, bool waitForExit = true) { using (Process cmd = new ...
using System; using System.Diagnostics; using System.Runtime.InteropServices; namespace ElectronNET.CLI { public class ProcessHelper { public static void CmdExecute(string command, string workingDirectoryPath, bool output = true, bool waitForExit = true) { using (Process cmd = new ...
mit
C#
4fffb2606c9a1d100910dc321492e4d777cfd69f
Update ToolNone.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D
src/Core2D/Editor/Tools/ToolNone.cs
src/Core2D/Editor/Tools/ToolNone.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 Core2D.Editor.Input; using Core2D.Editor.Tools.Settings; namespace Core2D.Editor.Tools { /// <summary> /// None tool. /// </summar...
// 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 Core2D.Editor.Tools.Settings; namespace Core2D.Editor.Tools { /// <summary> /// None tool. /// </summary> public class ToolNon...
mit
C#
02a8f6f00d7dcce23b4b5b4fd291875389958cfd
Fix memory leak on dev server
sillsdev/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge
src/LfMerge/LanguageDepotProject.cs
src/LfMerge/LanguageDepotProject.cs
// Copyright (c) 2016 SIL International // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using System.Linq; using MongoDB.Bson; using MongoDB.Driver; using LfMerge.Settings; namespace LfMerge { public class LanguageDepotProject: ILanguageDepotProject { private ...
// Copyright (c) 2016 SIL International // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using System.Linq; using MongoDB.Bson; using MongoDB.Driver; using LfMerge.Settings; namespace LfMerge { public class LanguageDepotProject: ILanguageDepotProject { private ...
mit
C#
ea7f46fcbdd81d287bce2d3df41bdd9b2e8b5108
Add FutureEmployment to data sources.
FrancisGrignon/StephJob,FrancisGrignon/StephJob,FrancisGrignon/StephJob,FrancisGrignon/StephJob,FrancisGrignon/StephJob
src/StephJob/Views/Home/Data.cshtml
src/StephJob/Views/Home/Data.cshtml
@{ ViewData["Title"] = "Data sources"; } <h2>@ViewData["Title"]</h2> <h3>@ViewData["Message"]</h3> http://www.oxfordmartin.ox.ac.uk/downloads/academic/The_Future_of_Employment.pdf
@{ ViewData["Title"] = "Data sources"; } <h2>@ViewData["Title"]</h2> <h3>@ViewData["Message"]</h3>
mit
C#
a4baac7fd12ccb23d08fbb68dd503ad08ad32fc2
remove ctor
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
src/WeihanLi.Common/Event/EventBase.cs
src/WeihanLi.Common/Event/EventBase.cs
using Newtonsoft.Json; using System; namespace WeihanLi.Common.Event { public interface IEventBase { /// <summary> /// Event publish time /// </summary> DateTimeOffset EventAt { get; } /// <summary> /// eventId /// </summary> string EventId { ge...
using Newtonsoft.Json; using System; namespace WeihanLi.Common.Event { public interface IEventBase { /// <summary> /// Event publish time /// </summary> DateTimeOffset EventAt { get; } /// <summary> /// eventId /// </summary> string EventId { ge...
mit
C#
8ce5c78e9d93695ded65438fdcc224d86b9ccc3c
Fix inconsistent singular/plural naming in keyboard constants.
WolfspiritM/Colore,Sharparam/Colore,danpierce1/Colore,CoraleStudios/Colore
Colore/Razer/Keyboard/Constants.cs
Colore/Razer/Keyboard/Constants.cs
// --------------------------------------------------------------------------------------- // <copyright file="Constants.cs" company=""> // Copyright © 2015 by Adam Hellberg and Brandon Scott. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associ...
// --------------------------------------------------------------------------------------- // <copyright file="Constants.cs" company=""> // Copyright © 2015 by Adam Hellberg and Brandon Scott. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associ...
mit
C#
d41952471670f8482f91dc6f09d82f825b4c4a18
Clean up syntax of index page
MrDoomBringer/ISWebTest
ISWebTest/Views/Home/Index.cshtml
ISWebTest/Views/Home/Index.cshtml
 @using ISWebTest.ExtensionMethods; @using ISWebTest.Controllers; <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title></title> </head> <body> <div> <a href="@(Url.Action<HomeController>(nameof(HomeController.Analyze)))">TEST</a> </div> </body> </html>
@{ Layout = null; @using ISWebTest.ExtensionMethods; @using ISWebTest.Controllers; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title></title> </head> <body> <div> <a href="@{Url.Action<HomeController>(nameof(HomeController.Analyze))}">TEST</a> ...
mit
C#
f25b48aa887c7d3a6bf3e32d4dad36254cc9a11f
Remove unneeded white space
Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototyp...
src/Glimpse.Web.Common/Framework/MasterRequestRuntime.cs
src/Glimpse.Web.Common/Framework/MasterRequestRuntime.cs
using System; using System.Collections.Generic; using Microsoft.Framework.DependencyInjection; using System.Threading.Tasks; namespace Glimpse.Web { public class MasterRequestRuntime { private readonly IDiscoverableCollection<IRequestRuntime> _requestRuntimes; private readonly IDiscoverableCol...
using System; using System.Collections.Generic; using Microsoft.Framework.DependencyInjection; using System.Threading.Tasks; namespace Glimpse.Web { public class MasterRequestRuntime { private readonly IDiscoverableCollection<IRequestRuntime> _requestRuntimes; private readonly IDiscoverableCol...
mit
C#
c496146634a76e1001238d7e1ff34eb84ccef8c8
update viewport setting
jcoleson/jcoleson.github.io,jcoleson/jcoleson.github.io,jcoleson/jcoleson.github.io
colesonstatiq/theme/input/_partials/_head.cshtml
colesonstatiq/theme/input/_partials/_head.cshtml
<!--start head--> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0" /> <title>@Model.GetString("Title")</title> @Html.Partial("_partials/_favicons") <!--stylesheets <link rel="stylesheet" href="http...
<!--start head--> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@Model.GetString("Title")</title> @Html.Partial("_partials/_favicons") <!--stylesheets <link rel="stylesheet" href="https://cdnjs.cloudflar...
mit
C#
d9397f06cf4f03599a4cd53cb53befed8446088f
Update IsNullConverter.cs
Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/UI/Avalonia/Converters/IsNullConverter.cs
src/Core2D/UI/Avalonia/Converters/IsNullConverter.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 System.Globalization; using Avalonia; using Avalonia.Data.Converters; namespace Core2D.UI.Avalonia.Converters { /// <summary> /// Conv...
// 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 Avalonia; using Avalonia.Data.Converters; using System; using System.Globalization; namespace Core2D.UI.Avalonia.Converters { /// <summary> /// Conv...
mit
C#
aa5cd7b202d2a2c2b7e995eb4a23a6c70011ff63
Make constructor public on DataPortalResult.
MarimerLLC/csla,rockfordlhotka/csla,ronnymgm/csla-light,jonnybee/csla,rockfordlhotka/csla,MarimerLLC/csla,JasonBock/csla,BrettJaner/csla,BrettJaner/csla,jonnybee/csla,ronnymgm/csla-light,JasonBock/csla,JasonBock/csla,jonnybee/csla,rockfordlhotka/csla,ronnymgm/csla-light,MarimerLLC/csla,BrettJaner/csla
cslalightcs/Csla/DataPortalResult.cs
cslalightcs/Csla/DataPortalResult.cs
using System; namespace Csla { /// <summary> /// IDataPortalResult defines the results of DataPortal operation /// </summary> public interface IDataPortalResult { object Object { get; } Exception Error { get; } } /// <summary> /// DataPortalResult defines the results of DataPor...
using System; namespace Csla { public interface IDataPortalResult { object Object { get; } Exception Error { get; } } public class DataPortalResult<T> : EventArgs, IDataPortalResult { public T Object { get; private set; } public Exception Error { get; private set; } publi...
mit
C#
e8918f2fda760f4354bb4260ebe7bf6f6a76436e
hide locked level buttons
lukaselmer/ethz-game-lab,lukaselmer/ethz-game-lab,lukaselmer/ethz-game-lab
Assets/LevelClickable.cs
Assets/LevelClickable.cs
using UnityEngine; using System.Collections; public class LevelClickable : MonoBehaviour { void Start () { this.renderer.enabled = LevelSelection.CanPlay (name); } }
using UnityEngine; using System.Collections; public class LevelClickable : MonoBehaviour { void Start () { if (!LevelSelection.CanPlay(name)){ this.renderer.enabled = false; } } void AfterUpdate () { } }
mit
C#
6c4b60fc262238df94addfe87accfc8557f25fd8
add max width of y position, player will day when out of screen
endlessz/Flappy-Cube
Assets/Scripts/Player.cs
Assets/Scripts/Player.cs
using UnityEngine; using System.Collections; using UnityEngine.EventSystems; public class Player : MonoBehaviour { [Header("Movement of the player")] public float jumpHeight; public float forwardSpeed; private Rigidbody2D mainRigidbody2D; void Start() { mainRigidbody2D = GetComponent<Rigidbody2D> (); mai...
using UnityEngine; using System.Collections; using UnityEngine.EventSystems; public class Player : MonoBehaviour { [Header("Movement of the player")] public float jumpHeight; public float forwardSpeed; private Rigidbody2D mainRigidbody2D; void Start() { mainRigidbody2D = GetComponent<Rigidbody2D> (); } ...
mit
C#
8e9a906f4831153dd1f1cd39c3f2495fe91322a1
Remove dead code from IResponse
shiftkey/SignalR,shiftkey/SignalR
SignalR/Abstractions/IResponse.cs
SignalR/Abstractions/IResponse.cs
using System.Threading.Tasks; namespace SignalR.Abstractions { public interface IResponse { bool IsClientConnected { get; } string ContentType { get; set; } Task WriteAsync(string data); Task EndAsync(string data); } }
using System.Threading.Tasks; namespace SignalR.Abstractions { public interface IResponse { bool IsClientConnected { get; } string ContentType { get; set; } Task WriteAsync(string data); Task EndAsync(string data); // Task End(); } }
mit
C#
8896392c0339d0c12996d98cd2ee6e9541beb658
fix bockover's buggy code
mono/Mono.Zeroconf,mono/Mono.Zeroconf
src/Mono.Zeroconf.Providers.Avahi/Mono.Zeroconf.Providers.Avahi/ZeroconfProvider.cs
src/Mono.Zeroconf.Providers.Avahi/Mono.Zeroconf.Providers.Avahi/ZeroconfProvider.cs
// // ZeroconfProvider.cs // // Authors: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2006-2007 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in t...
// // ZeroconfProvider.cs // // Authors: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2006-2007 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in t...
mit
C#
ac18536692c4231160ef2021a73673a5d22d42c5
fix test for new lnk program
qianlifeng/Wox,Wox-launcher/Wox,qianlifeng/Wox,qianlifeng/Wox,Wox-launcher/Wox
Wox.Test/PluginProgramTest.cs
Wox.Test/PluginProgramTest.cs
using System.Collections.Generic; using System.Linq; using NUnit.Framework; using Wox.Core.Plugin; using Wox.Plugin; namespace Wox.Test { [TestFixture] class PluginProgramTest { private Plugin.Program.Main plugin; [OneTimeSetUp] public void Setup() { plugin =...
using System.Collections.Generic; using System.Linq; using NUnit.Framework; using Wox.Core.Plugin; using Wox.Plugin; namespace Wox.Test { [TestFixture] class PluginProgramTest { private Plugin.Program.Main plugin; [OneTimeSetUp] public void Setup() { plugin =...
mit
C#
34f1f92876f68fa5d82665d6e8bc42d78b38997d
Update ExcelColors.cs
stephanstapel/ZUGFeRD-csharp,stephanstapel/ZUGFeRD-csharp
ZUGFeRDToExcel/ExcelColors.cs
ZUGFeRDToExcel/ExcelColors.cs
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZUGFeRDToExcel { public enum ExcelColors { Yellow, Green } }
apache-2.0
C#
671a24bbf206091ec7abce686e06db132142732c
Print exceptions when selecting invalid interaction
Drenn1/LynnaLab,Drenn1/LynnaLab
LynnaLab/Core/InteractionObject.cs
LynnaLab/Core/InteractionObject.cs
using System; namespace LynnaLab { /// <summary> /// An interaction object. The "index" is the full ID (2 bytes, including subid). /// </summary> public class InteractionObject : GameObject { Data objectData; byte b0,b1,b2; internal InteractionObject(Project p, int i) : base(p, i) { try { ...
using System; namespace LynnaLab { /// <summary> /// An interaction object. The "index" is the full ID (2 bytes, including subid). /// </summary> public class InteractionObject : GameObject { Data objectData; byte b0,b1,b2; internal InteractionObject(Project p, int i) : base(p, i) { try { ...
mit
C#
8e70d89b2eb8650ad809da87366404aa4aaba33a
Allow to pass JsonSerializerSettings to JsonSerializer (#791)
ar7z1/EasyNetQ,ar7z1/EasyNetQ,zidad/EasyNetQ,micdenny/EasyNetQ,Pliner/EasyNetQ,Pliner/EasyNetQ,zidad/EasyNetQ,EasyNetQ/EasyNetQ
Source/EasyNetQ/JsonSerializer.cs
Source/EasyNetQ/JsonSerializer.cs
using System; using System.Text; using Newtonsoft.Json; namespace EasyNetQ { public class JsonSerializer : ISerializer { private readonly JsonSerializerSettings serializerSettings; public JsonSerializer() { serializerSettings = new JsonSerializerSettings { ...
using System; using System.Text; using Newtonsoft.Json; namespace EasyNetQ { public class JsonSerializer : ISerializer { private readonly JsonSerializerSettings serializerSettings = new JsonSerializerSettings { TypeNameHandling = TypeNameHandling.Auto }; public byt...
mit
C#
6bb6915464a65c645bf8e37ed4c960accd669e44
change host
whir1/serilog-sinks-graylog
src/Serilog.Sinks.Graylog.Tests/LoggerConfigurationGrayLogExtensionsFixture.cs
src/Serilog.Sinks.Graylog.Tests/LoggerConfigurationGrayLogExtensionsFixture.cs
using FluentAssertions; using Serilog.Events; using Xunit; namespace Serilog.Sinks.Graylog.Tests { public class LoggerConfigurationGrayLogExtensionsFixture { [Fact] public void CanApplyExtension() { var loggerConfig = new LoggerConfiguration(); loggerConfig.Wri...
using FluentAssertions; using Serilog.Events; using Xunit; namespace Serilog.Sinks.Graylog.Tests { public class LoggerConfigurationGrayLogExtensionsFixture { [Fact] public void CanApplyExtension() { var loggerConfig = new LoggerConfiguration(); loggerConfig.Wri...
mit
C#
e00364fbed698f8d325a579e69425868206adf12
Fix the ReadOnlyTargetRules warning in Build.cs.
unrealcv/unrealcv,unrealcv/unrealcv,unrealcv/unrealcv,unrealcv/unrealcv,unrealcv/unrealcv
Source/UnrealCV/UnrealCV.Build.cs
Source/UnrealCV/UnrealCV.Build.cs
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. using System.IO; namespace UnrealBuildTool.Rules { public class UnrealCV: ModuleRules { #if WITH_FORWARDED_MODULE_RULES_CTOR public UnrealCV(ReadOnlyTargetRules Target) : base(Target) // 4.16 or better { bEnforceIWYU = false; #else public Unreal...
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. using System.IO; namespace UnrealBuildTool.Rules { public class UnrealCV: ModuleRules { public UnrealCV(TargetInfo Target) { bEnforceIWYU = false; // This trick is from https://answers.unrealengine.com/questions/258689/how-to-include-private-head...
mit
C#
efe39e43f5338b0cf5d1a1b9deeaa22a788e6267
Remove test the `[NotNull]` move makes irrelevant
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
test/Microsoft.AspNet.Routing.Tests/RouteOptionsTests.cs
test/Microsoft.AspNet.Routing.Tests/RouteOptionsTests.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.AspNet.Http; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.Op...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.AspNet.Http; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.Op...
apache-2.0
C#
d324a2fda62f0b6b0d6ea2498b5443b96cfe39f4
Set NukeLoopWait and AegisLoopWait to 0 as per sztanpet.
destinygg/bot
Dbot.Utility/Settings.cs
Dbot.Utility/Settings.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Dbot.Utility { public static class Settings { public const int MessageLogSize = 200; // aka context size public static readonly TimeSpan UserCommandInterval = TimeSpan.FromSeconds(10...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Dbot.Utility { public static class Settings { public const int MessageLogSize = 200; // aka context size public static readonly TimeSpan UserCommandInterval = TimeSpan.FromSeconds(10...
mit
C#
df83ee7a585ec02ce3fdff3aa1ab6f89f6377348
Insert guid functionality
kbilsted/NppPluginGuidHelper
GuidHelper/InsertGuid.cs
GuidHelper/InsertGuid.cs
using System; using System.Collections.Generic; using System.Linq; namespace Kbg.NppPluginNET.GuidHelper { class InsertGuid { private readonly IScintillaGateway scintilla; public InsertGuid(IScintillaGateway scintilla) { this.scintilla = scintilla; } public void Execute() { scin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Kbg.NppPluginNET; namespace GuidHelper { class InsertGuid { private readonly ScintillaGateway scintilla; public InsertGuid(ScintillaGateway scintilla) { this.scintilla = scintilla; } public vo...
apache-2.0
C#
76e332325c0fd715f39378ead7011d20544fe321
Update InsertingOLEObjects.cs
aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cell...
Examples/CSharp/DrawingObjects/OLE/InsertingOLEObjects.cs
Examples/CSharp/DrawingObjects/OLE/InsertingOLEObjects.cs
using System.IO; using Aspose.Cells; using System; namespace Aspose.Cells.Examples.DrawingObjects.OLE { public class InsertingOLEObjects { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Ce...
using System.IO; using Aspose.Cells; using System; namespace Aspose.Cells.Examples.DrawingObjects.OLE { public class InsertingOLEObjects { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDa...
mit
C#
5f312326a072e15e58296c77dcfae9f827cb182a
update to 2.2.0
unvell/ReoGrid,unvell/ReoGrid
ReoGrid/Properties/AssemblyInfo.cs
ReoGrid/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("Re...
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("Re...
mit
C#
664ccc329bf961ae54104574bfd24ce26ba4b97c
Update CreateImages.cs
sts-CAD-Software/PCB-Investigator-Scripts
Editing/CreateImages.cs
Editing/CreateImages.cs
// Autor support@easylogix.de // www.pcb-investigator.com // SDK online reference http://www.pcb-investigator.com/sites/default/files/documents/InterfaceDocumentation/Index.html // SDK http://www.pcb-investigator.com/en/sdk-participate // Create images of layers. //-------------------------------------------------...
// Autor support@easylogix.de // www.pcb-investigator.com // SDK online reference http://www.pcb-investigator.com/sites/default/files/documents/InterfaceDocumentation/Index.html // SDK http://www.pcb-investigator.com/en/sdk-participate // Create images of layers. //-------------------------------------------------...
bsd-3-clause
C#
48655eb1a21113c9aebe9d16a48e5b1eb6aba48f
Convert to NFluent
magicmonty/pickles,ludwigjossieaux/pickles,dirkrombauts/pickles,ludwigjossieaux/pickles,blorgbeard/pickles,dirkrombauts/pickles,ludwigjossieaux/pickles,picklesdoc/pickles,irfanah/pickles,picklesdoc/pickles,blorgbeard/pickles,magicmonty/pickles,blorgbeard/pickles,dirkrombauts/pickles,blorgbeard/pickles,picklesdoc/pickle...
src/Pickles/Pickles.Test/DocumentationBuilders/DHTML/WhenDoingSomeIntegrationTests.cs
src/Pickles/Pickles.Test/DocumentationBuilders/DHTML/WhenDoingSomeIntegrationTests.cs
using NFluent; using NUnit.Framework; using PicklesDoc.Pickles.DocumentationBuilders.DHTML; namespace PicklesDoc.Pickles.Test.DocumentationBuilders.DHTML { [TestFixture] public class WhenDoingSomeIntegrationTests : BaseFixture { [Test] public void TestTheResourceWriter() { ...
using NUnit.Framework; using PicklesDoc.Pickles.DocumentationBuilders.DHTML; namespace PicklesDoc.Pickles.Test.DocumentationBuilders.DHTML { [TestFixture] public class WhenDoingSomeIntegrationTests : BaseFixture { [Test] public void TestTheResourceWriter() { var conf = ...
apache-2.0
C#
f63b14980792982802f4bbca46f39ed3a9f18da5
Use ObservableCollection
wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D
src/Core2D.Serializer.Newtonsoft/ProjectContractResolver.cs
src/Core2D.Serializer.Newtonsoft/ProjectContractResolver.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 Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq...
// 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 Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; ...
mit
C#
ec240f09156e065952188c7677bcca1a6f7f118d
Add Signalr to owin pipeline like other middlewares.
bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework
Foundation/Server/Foundation.Api/Middlewares/Signalr/SignalRMiddlewareConfiguration.cs
Foundation/Server/Foundation.Api/Middlewares/Signalr/SignalRMiddlewareConfiguration.cs
using System; using Foundation.Api.Contracts; using Foundation.Api.Middlewares.SignalR.Contracts; using Foundation.Core.Contracts; using Microsoft.AspNet.SignalR; using Owin; using System.Collections.Generic; using System.Linq; namespace Foundation.Api.Middlewares.SignalR { public class SignalRMiddlewareConfigura...
using System; using Foundation.Api.Contracts; using Foundation.Api.Middlewares.SignalR.Contracts; using Foundation.Core.Contracts; using Microsoft.AspNet.SignalR; using Owin; using System.Collections.Generic; using System.Linq; namespace Foundation.Api.Middlewares.SignalR { public class SignalRMiddlewareConfigura...
mit
C#
bde0d06af1d08557bd334b2a21bc2284a2105b34
Update version to 1.2.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#
5d07d32c11413d0f5fe35a7449cfb11b4a200dc4
Add OS version telemetry
MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps
Source/Actions/Microsoft.Deployment.Actions.OnPremise/WinNT/ValidateAdminPrivileges.cs
Source/Actions/Microsoft.Deployment.Actions.OnPremise/WinNT/ValidateAdminPrivileges.cs
using System.ComponentModel.Composition; using System.Security.Principal; using System.Threading.Tasks; using Microsoft.Deployment.Common.ActionModel; using Microsoft.Deployment.Common.Actions; using Microsoft.Deployment.Common.Helpers; using Microsoft.Win32; using System; namespace Microsoft.Deployment.Actions.OnPre...
using System.ComponentModel.Composition; using System.Security.Principal; using System.Threading.Tasks; using Microsoft.Deployment.Common.ActionModel; using Microsoft.Deployment.Common.Actions; using Microsoft.Deployment.Common.Helpers; namespace Microsoft.Deployment.Actions.OnPremise.WinNT { // Should not run im...
mit
C#
20a50ddb6e0639adc5980a4e2c6c85ad2c4d13aa
Add missing `OverlayColourProvider` in test scene
ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu
osu.Game.Tests/Visual/UserInterface/TestSceneFirstRunScreenUIScale.cs
osu.Game.Tests/Visual/UserInterface/TestSceneFirstRunScreenUIScale.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Screens; using osu.Game.Overlays; using osu.Game.Overlays.FirstRunSetup; namespace osu.Game.Tests.Visual.UserInterfac...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Screens; using osu.Game.Overlays.FirstRunSetup; namespace osu.Game.Tests.Visual.UserInterface { public class TestSceneFirstRunScreenUIScale : Osu...
mit
C#
e1f1fba8b13f65bcdfdf06700e1da1fa98b93d56
Add GetError
dv-lebedev/statistics
Statistics/BasicFuncs.cs
Statistics/BasicFuncs.cs
/* Copyright 2015 Denis Lebedev 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 in writing, software ...
/* Copyright 2015 Denis Lebedev 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 in writing, software ...
apache-2.0
C#
ecde94b623d7f03f911133fdc574781cfa104525
add ProductInfo tag type
Alexx999/SwfSharp
SwfSharp/Tags/TagType.cs
SwfSharp/Tags/TagType.cs
namespace SwfSharp.Tags { public enum TagType { End = 0, ShowFrame = 1, DefineShape = 2, PlaceObject = 4, RemoveObject = 5, DefineBits = 6, DefineButton = 7, JPEGTables = 8, SetBackgroundColor = 9, DefineFont = 10, DefineTe...
namespace SwfSharp.Tags { public enum TagType { End = 0, ShowFrame = 1, DefineShape = 2, PlaceObject = 4, RemoveObject = 5, DefineBits = 6, DefineButton = 7, JPEGTables = 8, SetBackgroundColor = 9, DefineFont = 10, DefineTe...
mit
C#
6ef848c6489f428a5f2f57f9196a96ee2aa9a8b9
Use expected in tests for F.Always
farity/farity
Farity.Tests/AlwaysTests.cs
Farity.Tests/AlwaysTests.cs
using Xunit; namespace Farity.Tests { public class AlwaysTests { [Fact] public void AlwaysReturnsAFunctionThatReturnsTheSameValueAlways() { const int expected = 42; var answerToLifeUniverseAndEverything = F.Always(expected); Assert.Equal(expected, an...
using Xunit; namespace Farity.Tests { public class AlwaysTests { [Fact] public void AlwaysReturnsAFunctionThatReturnsTheSameValueAlways() { var answerToLifeUniverseAndEverything = F.Always(42); var answer = answerToLifeUniverseAndEverything(); Assert...
mit
C#
cb69ee2b23c0b36385c1c23c92f2f27ad44edcec
fix deprecated method use
Pathoschild/StardewMods
NoDebugMode/ModEntry.cs
NoDebugMode/ModEntry.cs
using StardewModdingAPI; using StardewModdingAPI.Events; using StardewValley; namespace Pathoschild.Stardew.NoDebugMode { /// <summary>The mod entry point.</summary> public class ModEntry : Mod { /********* ** Public methods *********/ /// <summary>The mod entry point, call...
using StardewModdingAPI; using StardewModdingAPI.Events; using StardewValley; namespace Pathoschild.Stardew.NoDebugMode { /// <summary>The mod entry point.</summary> public class ModEntry : Mod { /********* ** Public methods *********/ /// <summary>The mod entry point, call...
mit
C#
027a53126659a0119f9443ac1e72e48ffa4ff86c
Edit program cs
eklnc/TwitterStream
TwitterStream/Program.cs
TwitterStream/Program.cs
using System; using System.Net; using TwitterStream.Tables; namespace TwitterStream { class Program { static void Main(string[] args) { //using (var context = new TwitterStreamContext()) //{ // TwitterStream stream = new TwitterStream(context); ...
using System; using System.Net; using TwitterStream.Tables; namespace TwitterStream { class Program { static void Main(string[] args) { using (var context = new TwitterStreamContext()) { TwitterStream stream = new TwitterStream(context); ...
mit
C#
b2b8abdf2719b73d687799949dfed63fa79935dc
fix typo
Catel/Catel.Fody
src/Catel.Fody.Attributes/ArgumentAttributes/InheritsFromAttribute.cs
src/Catel.Fody.Attributes/ArgumentAttributes/InheritsFromAttribute.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="InheritsFromAttribute.cs" company="Catel development team"> // Copyright (c) 2008 - 2013 Catel development team. All rights reserved. // </copyright> // ------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="InherithsFromAttribute.cs" company="Catel development team"> // Copyright (c) 2008 - 2013 Catel development team. All rights reserved. // </copyright> // -----------------------...
mit
C#
98e07be0aa23d12a06e22055d5f5f6e1e5a32515
Rename variable to increase clearity
blorgbeard/pickles,picklesdoc/pickles,magicmonty/pickles,picklesdoc/pickles,blorgbeard/pickles,magicmonty/pickles,ludwigjossieaux/pickles,picklesdoc/pickles,dirkrombauts/pickles,ludwigjossieaux/pickles,ludwigjossieaux/pickles,blorgbeard/pickles,magicmonty/pickles,dirkrombauts/pickles,picklesdoc/pickles,dirkrombauts/pic...
src/Pickles/Pickles.Test/DocumentationBuilders/JSON/AutomationLayer/StepDefinitions.cs
src/Pickles/Pickles.Test/DocumentationBuilders/JSON/AutomationLayer/StepDefinitions.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Autofac; using NFluent; using NGenerics.DataStructures.Trees; using PicklesDoc.Pickles.DirectoryCrawler; using PicklesDoc.Pickles.DocumentationBuilders.HTML; using PicklesDoc.Pickles.DocumentationBuilders.JSON;...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Autofac; using NFluent; using NGenerics.DataStructures.Trees; using PicklesDoc.Pickles.DirectoryCrawler; using PicklesDoc.Pickles.DocumentationBuilders.HTML; using PicklesDoc.Pickles.DocumentationBuilders.JSON;...
apache-2.0
C#
a69b4a75535c94f174fe1a520d6f69b7cbcfe3e5
Tidy up a bit,
orionrobots/Bounce,orionrobots/Bounce
MainUi/MainUi/BlocklyLua.cs
MainUi/MainUi/BlocklyLua.cs
using CefSharp; using CefSharp.WinForms; using System; using System.IO; using System.Threading.Tasks; using System.Windows.Forms; namespace MainUi { // Render the blockly lua web component. // Handle getting: // Saving // Loading // Get Lua Code // Printing? class BlocklyLua { ...
using CefSharp; using CefSharp.WinForms; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace MainUi { // Render the blockly lua web component. // Handle getting: // Saving // ...
apache-2.0
C#
28d9cb4a7715d5fce30396e46e38a9fd6f069d09
check if parent icon exists
PavelMaca/WoT-PogsIconSet
Icon.cs
Icon.cs
using Phobos.WoT; using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.Drawing.Text; using WotPogsIconSet.Layers; using WotPogsIconSet.Utils; using System.IO; namespace WotPogsIconSet { public class Icon : IDisposable { public con...
using Phobos.WoT; using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.Drawing.Text; using WotPogsIconSet.Layers; using WotPogsIconSet.Utils; namespace WotPogsIconSet { public class Icon : IDisposable { public const int WIDTH = 80;...
bsd-3-clause
C#
d847728e0237b215cd5ffdeeb36df81ff5c71ae1
Disable XSS filter
06b/Emperor-Imports,06b/Emperor-Imports
src/EmperorImports/Bootstrapper.cs
src/EmperorImports/Bootstrapper.cs
using Nancy; using Nancy.Elmah; using Nancy.Bootstrapper; using Nancy.TinyIoc; namespace EmperorImports { public class Bootstrapper : DefaultNancyBootstrapper { protected override void ApplicationStartup(TinyIoCContainer container, IPipelines pipelines) { base.ApplicationStartup(c...
using Nancy; using Nancy.Elmah; using Nancy.Bootstrapper; using Nancy.TinyIoc; namespace EmperorImports { public class Bootstrapper : DefaultNancyBootstrapper { protected override void ApplicationStartup(TinyIoCContainer container, IPipelines pipelines) { base.ApplicationStartup(c...
mit
C#
3a85f31d6cc293e302c35ac83988e45d28f9f65e
Make GroupsClient API V3 compatible
marska/habitrpg-api-dotnet-client
src/HabitRPG.Client/Model/Group.cs
src/HabitRPG.Client/Model/Group.cs
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace HabitRPG.Client.Model { public class Group { /// <summary> /// DataType is String because the Tavern has the GroupId: habitrpg /// </summary> [JsonProperty("_id")] public string Id { get; set; } [JsonProperty("balance")] ...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace HabitRPG.Client.Model { public class Group { /// <summary> /// DataType is String because the Tavern has the GroupId: habitrpg /// </summary> [JsonProperty("_id")] public string Id { get; set; } [JsonProperty("balance")] ...
apache-2.0
C#
efda9ad960a1c1813c09952fa133d7c3fc980878
remove redundant attribute postfix
NinjaVault/NinjaHive,NinjaVault/NinjaHive
NinjaHive.WebApp/Startup.cs
NinjaHive.WebApp/Startup.cs
using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Microsoft.Owin; using Owin; [assembly: OwinStartup(typeof(NinjaHive.WebApp.Startup))] namespace NinjaHive.WebApp { public partial class Startup { public void Configuration(IAppBuilder app) { var co...
using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Microsoft.Owin; using Owin; [assembly: OwinStartupAttribute(typeof(NinjaHive.WebApp.Startup))] namespace NinjaHive.WebApp { public partial class Startup { public void Configuration(IAppBuilder app) { ...
apache-2.0
C#
a52636ec2509cd64cf9a828ec234b980c3758777
Add compiled to regex
deeja/Pigeon
Pigeon.Zipper/FileFinder.cs
Pigeon.Zipper/FileFinder.cs
namespace Pigeon.Zipper { using System; using System.Globalization; using System.IO; using System.Linq; using System.Text.RegularExpressions; public class FileFinder { private readonly string logDirectory; /// <summary> /// First group is the date, second is the ti...
namespace Pigeon.Zipper { using System; using System.Globalization; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Xml.Serialization.Configuration; using Sitecore.Diagnostics; public class FileFinder { private readonly string logDire...
mit
C#
0c4ea4beb102d0df710c94472a2fc92ed8e36e20
Allow dynamic recompilation of beatmap panel testcase
smoogipoo/osu,2yangk23/osu,ppy/osu,johnneijzen/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,ZLima12/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,ZLima12/osu,EVAST9919/osu,EVAST9919/osu,smoo...
osu.Game.Tournament.Tests/TestCaseBeatmapPanel.cs
osu.Game.Tournament.Tests/TestCaseBeatmapPanel.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Beatmaps; using osu.Game.Online.API; using o...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Beatmaps; using osu.Game.Online.API; using osu.Game.Online.API.Requests; using osu.Game.Onli...
mit
C#
347fd38f00c06d47c807c7b8f921e2c17674a746
Fix order of high-frequency messages on file queues
modulexcite/lokad-cqrs
Framework/Lokad.Cqrs.Portable/Feature.FilePartition/FileQueueWriter.cs
Framework/Lokad.Cqrs.Portable/Feature.FilePartition/FileQueueWriter.cs
#region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License // Copyright (c) Lokad 2010-2011, http://www.lokad.com // This code is released as Open Source under the terms of the New BSD Licence #endregion using System; using System.IO; using System.Threading; using Lokad.Cqrs.Core.Outbox; namespace Lok...
#region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License // Copyright (c) Lokad 2010-2011, http://www.lokad.com // This code is released as Open Source under the terms of the New BSD Licence #endregion using System; using System.IO; using Lokad.Cqrs.Core.Outbox; namespace Lokad.Cqrs.Feature.FilePart...
bsd-3-clause
C#
29d5451c7f4d4d358a5b1cc9aac3381bfe2b120a
Fix upload size limit.
Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex
backend/src/Squidex.Web/AssetRequestSizeLimitAttribute.cs
backend/src/Squidex.Web/AssetRequestSizeLimitAttribute.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
mit
C#
8fc2b5c17b70607d4891ac88b1522a035f409e6c
Update SingleEntryCurrencyConversionCompositionStrategy.cs
tiksn/TIKSN-Framework
TIKSN.Core/Finance/SingleEntryCurrencyConversionCompositionStrategy.cs
TIKSN.Core/Finance/SingleEntryCurrencyConversionCompositionStrategy.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using TIKSN.Finance.Helpers; namespace TIKSN.Finance { public class SingleEntryCurrencyConversionCompositionStrategy : ICurrencyConversionCompositionStrategy { public async Task<Mon...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using TIKSN.Finance.Helpers; namespace TIKSN.Finance { public class SingleEntryCurrencyConversionCompositionStrategy : ICurrencyConversionCompositionStrategy { public async Task<Mon...
mit
C#
6e4eacf00618184cdab88d262a1865cf8306fc8b
Fix RequirePermissionAttribute
Nanabell/NoAdsHere
NoAdsHere/Common/Preconditions/RequirePermissionAttribute.cs
NoAdsHere/Common/Preconditions/RequirePermissionAttribute.cs
using System; using System.Linq; using System.Threading.Tasks; using Discord; using Discord.Commands; using Microsoft.Extensions.DependencyInjection; using MongoDB.Driver; using NoAdsHere.Database; using NoAdsHere.Database.Models.Global; namespace NoAdsHere.Common.Preconditions { public class RequirePermissionAtt...
using System; using System.Linq; using System.Threading.Tasks; using Discord; using Discord.Commands; using Microsoft.Extensions.DependencyInjection; using MongoDB.Driver; using NoAdsHere.Database; using NoAdsHere.Database.Models.Settings; namespace NoAdsHere.Common.Preconditions { public class RequirePermissionA...
mit
C#
9b683cbc79fa9e3dbe7db3edfe0ffd383668fba0
Update LambdaConverter.cs
he-dev/Reusable,he-dev/Reusable
Reusable.Utilities.JsonNet/src/Converters/LambdaConverter.cs
Reusable.Utilities.JsonNet/src/Converters/LambdaConverter.cs
using System; using Newtonsoft.Json; namespace Reusable.Utilities.JsonNet.Converters { public delegate object WriteJsonCallback<in T>(T value); public class LambdaConverter<T> : JsonConverter<T> { private readonly WriteJsonCallback<T> _writeJsonCallback; public LambdaConverter(WriteJsonCa...
using System; using Newtonsoft.Json; namespace Reusable.Utilities.JsonNet.Converters { public delegate object WriteJsonCallback<in T>(T value); public class LambdaConverter<T> : JsonConverter<T> { private readonly WriteJsonCallback<T> _writeJsonCallback; public LambdaConverter...
mit
C#
5b42a1e223ab03e8ad3bafe7363f93aa02dbda2c
Make Prelude functions extensible.
alldne/school,alldne/school
School/Evaluator/Prelude.cs
School/Evaluator/Prelude.cs
using System; using System.Collections.Generic; using System.Linq; namespace School.Evaluator { public static class Prelude { private static Dictionary<string, Value> Dict; public static Value Lookup(string name) { if (Dict.ContainsKey(name)) return Dict[na...
using System; using System.Collections.Generic; using System.Linq; namespace School.Evaluator { public static class Prelude { private static Dictionary<string, Value> Dict = new Dictionary<string, Value>() { { "writeLine", new FunValue1(WriteLine) }, { "readInt", new Fu...
apache-2.0
C#