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 |
|---|---|---|---|---|---|---|---|---|
c60003561dac0d70048b15eb70a81462d67bbc94 | Add `DeviceType` filter when listing Terminal `Reader`s | stripe/stripe-dotnet | src/Stripe.net/Services/Terminal/Readers/ReaderListOptions.cs | src/Stripe.net/Services/Terminal/Readers/ReaderListOptions.cs | namespace Stripe.Terminal
{
using System;
using Newtonsoft.Json;
public class ReaderListOptions : ListOptions
{
/// <summary>
/// Filters readers by device type.
/// </summary>
[JsonProperty("device_type")]
public string DeviceType { get; set; }
/// <sum... | namespace Stripe.Terminal
{
using System;
using Newtonsoft.Json;
public class ReaderListOptions : ListOptions
{
/// <summary>
/// A location ID to filter the response list to only readers at the specific location.
/// </summary>
[JsonProperty("location")]
public ... | apache-2.0 | C# |
37a2c66bbc8bb0df162ec737ce0eaf57c0a400f0 | Fix build error | neuecc/MagicOnion | tests/MagicOnion.Server.Tests/Tests/StreamingHubBroadcastTest/ImmutableArrayGroupTest.cs | tests/MagicOnion.Server.Tests/Tests/StreamingHubBroadcastTest/ImmutableArrayGroupTest.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using MagicOnion.Server;
using MagicOnion.Server.Hubs;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Xunit;
using Xunit.Abstractions;
namespace MagicOnion.... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using MagicOnion.Server;
using MagicOnion.Server.Hubs;
using Xunit;
using Xunit.Abstractions;
namespace MagicOnion.Server.Tests.StreamingHubBroadcastTest
{
[CollectionDefinition(nameof(StreamingHubBroadcastImmutableArr... | mit | C# |
5ccd8ae39d91c40492a95f7d57d14842c89d2c02 | Add dialect rule provider tests for plugin rule provider. | sjp/Schematic,sjp/Schematic,sjp/Schematic,sjp/Schematic | src/SJP.Schematic.Lint.Tests/PluginRuleProviderTests.cs | src/SJP.Schematic.Lint.Tests/PluginRuleProviderTests.cs | using System.Collections.Generic;
using System.Data;
using System.Linq;
using Moq;
using NUnit.Framework;
using SJP.Schematic.Core;
namespace SJP.Schematic.Lint.Tests
{
[TestFixture]
internal static class PluginRuleProviderTests
{
private static IRuleProvider RuleProvider => new PluginRuleProvider... | using System.Collections.Generic;
using System.Data;
using System.Linq;
using Moq;
using NUnit.Framework;
using SJP.Schematic.Core;
namespace SJP.Schematic.Lint.Tests
{
[TestFixture]
internal static class PluginRuleProviderTests
{
private static IRuleProvider RuleProvider => new PluginRuleProvider... | mit | C# |
36ded610677cc3d155f7ac31438a9820a05c6e85 | Prepare 2.0.0-alpha.1 | PulsarBlow/SuperMassive | GlobalAssemblyInfos.cs | GlobalAssemblyInfos.cs | using System.Reflection;
[assembly: AssemblyProduct("SuperMassive")]
[assembly: AssemblyCompany("PulsarBlow")]
[assembly: AssemblyCopyright("Copyright © PulsarBlow 2017")]
[assembly: AssemblyTrademark("SuperMassive")]
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Releas... | using System.Reflection;
[assembly: AssemblyProduct("SuperMassive")]
[assembly: AssemblyCompany("PulsarBlow")]
[assembly: AssemblyCopyright("Copyright PulsarBlow 2015")]
[assembly: AssemblyTrademark("SuperMassive")]
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release"... | mit | C# |
dda1b6f4c180d00f22841e1d0c51db525fbbfdcc | update the version | shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,SpectraLogic/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License i... | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License i... | apache-2.0 | C# |
1e3c5642a3a014fc255d0e11ef1ca7842a7d9f44 | Fix ConicGradientBrush property registrations | grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,grokys/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia | src/Avalonia.Base/Media/ConicGradientBrush.cs | src/Avalonia.Base/Media/ConicGradientBrush.cs | using Avalonia.Media.Immutable;
namespace Avalonia.Media
{
/// <summary>
/// Paints an area with a swept circular gradient.
/// </summary>
public sealed class ConicGradientBrush : GradientBrush, IConicGradientBrush
{
/// <summary>
/// Defines the <see cref="Center"/> property.
... | using Avalonia.Media.Immutable;
namespace Avalonia.Media
{
/// <summary>
/// Paints an area with a swept circular gradient.
/// </summary>
public sealed class ConicGradientBrush : GradientBrush, IConicGradientBrush
{
/// <summary>
/// Defines the <see cref="Center"/> property.
... | mit | C# |
ea4c2bad34edeb5280014728a902e6f17a67962f | Update version. | ForNeVeR/ProjectAutomata | Properties/AssemblyInfo.cs | 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("ProjectAutomata")]
[assembly: AssemblyDes... | 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("ProjectAutomata")]
[assembly: AssemblyDes... | mit | C# |
adce887213f75e041db62caa87978b3868711112 | Update version to 1.2.13 | anonymousthing/ListenMoeClient | 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: AssemblyTitle("Li... | 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("Li... | mit | C# |
d1fdea5ff7f7700328d9f83b8e581293bbbaa59b | Update AssemblyInfo towards the next release | kohsuke/winsw,oleg-nenashev/winsw,oleg-nenashev/winsw | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Windows Service Wrapper")]
[assembly: AssemblyDescription("Allows arbitrary process to run as a Windows service by wrapping it")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("CloudBees, Inc.")]
[assemb... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Windows Service Wrapper")]
[assembly: AssemblyDescription("Allows arbitrary process to run as a Windows service by wrapping it")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("CloudBees, Inc.")]
[assemb... | mit | C# |
cf4da10963b6ee930ae2697b1d33321d9f257902 | Update AssemblyInfo.cs | Kerbas-ad-astra/SmokeScreen,sarbian/SmokeScreen | Properties/AssemblyInfo.cs | 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("SmokeScreen")]
[assembly: AssemblyDescrip... | 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("SmokeScreen")]
[assembly: AssemblyDescrip... | bsd-2-clause | C# |
3d75d1d06f149e31c0894e3383ab85308cad78f0 | Bump version | transistor1/SQLFormatterPlugin | 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: AssemblyTitle("SQ... | 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("SQ... | bsd-3-clause | C# |
5fa2cd1c896697efc36c6ce5f166088d3ef12873 | Update AutoBindingRedirect.cs | Fody/FodyAddinSamples,Fody/FodyAddinSamples | Samples/AutoBindingRedirect.cs | Samples/AutoBindingRedirect.cs | using System;
using System.IO;
using System.Reflection;
namespace AutoBindingRedirect
{
public static class ModuleInitializer
{
public static void Initialize()
{
AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
}
static Assembly CurrentDoma... | using System;
using System.IO;
using System.Reflection;
namespace AutoBindingRedirect
{
public static class ModuleInitializer
{
public static void Initialize()
{
AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
}
static Assembly CurrentDoma... | mit | C# |
ff0742fda114ec8c5dc43df42fe69984ebd68b4c | Make field readonly. | ryanjfitz/SimpSim.NET | SimpSim.NET.WPF/Globals.cs | SimpSim.NET.WPF/Globals.cs | using SimpSim.NET.Presentation;
namespace SimpSim.NET.WPF
{
internal static class Globals
{
public static readonly SimpleSimulator SimpleSimulator = new SimpleSimulator();
}
}
| using SimpSim.NET.Presentation;
namespace SimpSim.NET.WPF
{
internal static class Globals
{
public static SimpleSimulator SimpleSimulator = new SimpleSimulator();
}
}
| mit | C# |
6dd75969c5f4675a207a3abb1212b86982bad4b8 | add comment | bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL | CSharpGL/Renderers/UIRenderers/ILayout.cs | CSharpGL/Renderers/UIRenderers/ILayout.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace CSharpGL
{
/// <summary>
/// Supports layout UI element in OpenGL canvas.
/// 实现在OpenGL窗口中的UI布局
/// </summary>
public interface ILayout : ITreeNode<UIRenderer>
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace CSharpGL
{
/// <summary>
/// 实现在OpenGL窗口中的UI布局
/// </summary>
public interface ILayout : ITreeNode<UIRenderer>
{
//event EventHandler afterLayout;
/// <summ... | mit | C# |
ae7a584a4e86b0af4eb7e5eeea5268e5a9c594d2 | Update Core.cs | syuilo/Misq | Misq/Core.cs | Misq/Core.cs | using Newtonsoft.Json;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Misq
{
public static class Core
{
static Lazy<HttpClient> _client = new Lazy<HttpClient>();
/// <summary>
/// APIにリクエストします。
/// </summary>
/// <param name="host">Missk... | using Newtonsoft.Json;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Misq
{
public static class Core
{
/// <summary>
/// APIにリクエストします。
/// </summary>
/// <param name="host">MisskeyインスタンスのURL</param>
/// <param name="endpoint">エンドポイント名</... | mit | C# |
ec6ac83c21badfca76fbb6a56ae0ec6500dab66b | Remove model from TOC controller | BibliothecaTeam/Bibliotheca.Server.Gateway,BibliothecaTeam/Bibliotheca.Server.Gateway | src/Bibliotheca.Server.Gateway.Api/Controllers/TableOfContentsController.cs | src/Bibliotheca.Server.Gateway.Api/Controllers/TableOfContentsController.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using Bibliotheca.Server.Gateway.Core.DataTransferObjects;
using Bibliotheca.Server.Gateway.Core.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Bibliotheca.Server.Gateway.Api.Controllers
{
/// <summary>
... | using System.Collections.Generic;
using System.Threading.Tasks;
using Bibliotheca.Server.Gateway.Core.DataTransferObjects;
using Bibliotheca.Server.Gateway.Core.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Bibliotheca.Server.Gateway.Api.Controllers
{
/// <summary>
... | mit | C# |
15d99f0e85fd9eec7dc511fcf0754624ba3e521e | edit dbform | AlisVero/Interiora,Manicca/Interiora | Interiora/InterioraClient/DataBaseForm.cs | Interiora/InterioraClient/DataBaseForm.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using FunctionalityLibrary.Calculation;
using Modals;
namespace InterioraClient
{
public partial class DataBaseForm : Form
{
public object SaveList;
public DataBaseForm()
{
Initi... | using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Drawing;
using System.Linq;
using FunctionalityLibrary.Calculation;
using FunctionalityLibrary.Drawing;
using FunctionalityLibrary.Drawing.History;
using Modals;
namespace InterioraClient
{
public partial class DataBaseForm :... | apache-2.0 | C# |
2fb0c5cf75ddd6b1cd3e217ee34607f240f0ed6b | Check for null view model. | karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipo... | src/R/Components/Impl/Plots/Implementation/View/RPlotManagerControl.xaml.cs | src/R/Components/Impl/Plots/Implementation/View/RPlotManagerControl.xaml.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using Microsoft.R.Components.Plots.ViewMod... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using Microsoft.R.Components.Plots.ViewMod... | mit | C# |
47c162dcdbe01c0fedd19579eb4d195a2c4e5c2b | Disable exit on mousemove/keypress in DEBUG | arthurrump/4OpEenRijScreensaver | 4OpEenRijScreensaver/MainWindow.xaml.cs | 4OpEenRijScreensaver/MainWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | mit | C# |
4a7953cd9068b70c4fcee4eb93ba2a43a01e4f72 | Fix NullReferenceException in ListBoxAssist | ButchersBoy/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit | MaterialDesignThemes.Wpf/ListBoxAssist.cs | MaterialDesignThemes.Wpf/ListBoxAssist.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
namespace MaterialDesignThemes.Wpf
{
public static class ListBoxAssist
{
stat... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
namespace MaterialDesignThemes.Wpf
{
public static class ListBoxAssist
{
stat... | mit | C# |
b34aeee5ed24a5a1d21465964f2b7b9ea059608c | Fix instruction help when "Upcase OpCode" option is enabled | segrived/Msiler | Msiler.AssemblyParser/Helpers.cs | Msiler.AssemblyParser/Helpers.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
namespace Msiler.AssemblyParser
{
public class OpCodeInfo
{
public string Name { get; set; }
public string Description { get; set; }
}
public static class Helpers
{
privat... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
namespace Msiler.AssemblyParser
{
public class OpCodeInfo
{
public string Name { get; set; }
public string Description { get; set; }
}
public static class Helpers
{
privat... | mit | C# |
c54538699549d66132668599308abc2957d9fa9e | Prepare v0.5.0 version | pleonex/deblocus,pleonex/deblocus | Deblocus/Properties/AssemblyInfo.cs | Deblocus/Properties/AssemblyInfo.cs | //
// AssemblyInfo.cs
//
// Author:
// Benito Palacios Sánchez (aka pleonex) <benito356@gmail.com>
//
// Copyright (c) 2015 Benito Palacios Sánchez (c) 2015
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// ... | //
// AssemblyInfo.cs
//
// Author:
// Benito Palacios Sánchez (aka pleonex) <benito356@gmail.com>
//
// Copyright (c) 2015 Benito Palacios Sánchez (c) 2015
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// ... | agpl-3.0 | C# |
38eee2bc67fb86297eb1cff2e42060459a0cb9ed | Add predefined control | mrcslws/htmresearch,neuroidss/nupic.research,ThomasMiconi/htmresearch,marionleborgne/nupic.research,ThomasMiconi/htmresearch,ywcui1990/htmresearch,numenta/htmresearch,neuroidss/nupic.research,neuroidss/nupic.research,ywcui1990/nupic.research,mrcslws/htmresearch,ThomasMiconi/nupic.research,ywcui1990/nupic.research,chanc... | vehicle-control/simulation/Assets/Scripts/CarAIControl.cs | vehicle-control/simulation/Assets/Scripts/CarAIControl.cs | using UnityEngine;
using System.Collections;
using UnityStandardAssets.Vehicles.Car;
public class CarAIControl : MonoBehaviour {
public CarUserControl userControl;
private float timeSinceReset;
private float action;
void ExecutePredefinedControl() {
timeSinceReset += Time.deltaTime;
if (timeSinceReset > 1... | using UnityEngine;
using System.Collections;
using UnityStandardAssets.Vehicles.Car;
public class CarAIControl : MonoBehaviour {
public CarUserControl userControl;
void LateUpdate() {
userControl.vertical = 1;
if (API.instance.GetInput("steer") != null) {
userControl.horizontal = (float)(double)API.instan... | agpl-3.0 | C# |
2a6cdd60e8e6734c5e0648b061e63c1f589ead36 | Set explicit access modifier | omniaretail/Nimator | Nimator/Notifiers/DataDog/DataDogEvent.cs | Nimator/Notifiers/DataDog/DataDogEvent.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nimator.Notifiers.DataDog
{
internal class DataDogEvent
{
// alert type has to be lower case, otherwise not in... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nimator.Notifiers.DataDog
{
class DataDogEvent
{
// alert type has to be lower case, otherwise not interpreted... | mit | C# |
df92fa2d26bb2e99d7f497713687faa63560e5b9 | Update run.csx | arsenvlad/azure-function-app1 | AddDeployment/run.csx | AddDeployment/run.csx | #r "Microsoft.WindowsAzure.Storage"
using System.Net;
using Microsoft.WindowsAzure.Storage.Table;
public static HttpResponseMessage Run(Deployment deployment, CloudTable outTable, TraceWriter log)
{
// Updated via GitHub 12/11/2016 19:53 CST
// curl -X POST -H "Content-Type: application/json" -d '{"subscripti... | #r "Microsoft.WindowsAzure.Storage"
using System.Net;
using Microsoft.WindowsAzure.Storage.Table;
public static HttpResponseMessage Run(Deployment deployment, CloudTable outTable, TraceWriter log)
{
// curl -X POST -H "Content-Type: application/json" -d '{"subscriptionID":"123","deploymentName":"deployment1","pro... | mit | C# |
c53b641de910dac72ce51964ff59ef739d6d8b87 | Complete initial TypeLookup implementation | nosami/omnisharp-vim,AndBicScadMedia/omnisharp-vim,OmniSharp/omnisharp-vim,OmniSharp/omnisharp-vim,den-mentiei/omnisharp-vim,OmniSharp/omnisharp-vim,anurse/omnisharp-vim | OmniSharp/TypeLookup/TypeLookupHandler.cs | OmniSharp/TypeLookup/TypeLookupHandler.cs | using ICSharpCode.NRefactory;
using ICSharpCode.NRefactory.CSharp;
using ICSharpCode.NRefactory.CSharp.Resolver;
using ICSharpCode.NRefactory.Semantics;
using ICSharpCode.NRefactory.TypeSystem;
using ICSharpCode.NRefactory.TypeSystem.Implementation;
using OmniSharp.Parser;
namespace OmniSharp.TypeLookup
{
public... | using ICSharpCode.NRefactory;
using ICSharpCode.NRefactory.CSharp.Resolver;
using ICSharpCode.NRefactory.Semantics;
using OmniSharp.Parser;
namespace OmniSharp.TypeLookup
{
public class TypeLookupHandler
{
private readonly BufferParser _bufferParser;
public TypeLookupHandler(BufferParser buff... | mit | C# |
433f3f8a085542c2d6a5d8aa89d342644cd587cf | add GetConfigurationSetting(key) to IPanelHost to passthrough config settings | c0nnex/SPAD.neXt,c0nnex/SPAD.neXt | SPAD.Interfaces/IPanelControl.cs | SPAD.Interfaces/IPanelControl.cs | using SPAD.neXt.Interfaces.Base;
using SPAD.neXt.Interfaces.DevicesConfiguration;
using SPAD.neXt.Interfaces.Events;
using SPAD.neXt.Interfaces.Profile;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Control... | using SPAD.neXt.Interfaces.Base;
using SPAD.neXt.Interfaces.DevicesConfiguration;
using SPAD.neXt.Interfaces.Events;
using SPAD.neXt.Interfaces.Profile;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Control... | mit | C# |
c4c9ed2020dd61d40994e3192158cce61e84ae53 | Clarify api a bit in readme.cs | brramos/octokit.net,gdziadkiewicz/octokit.net,shiftkey/octokit.net,kdolan/octokit.net,hahmed/octokit.net,devkhan/octokit.net,ivandrofly/octokit.net,octokit-net-test/octokit.net,thedillonb/octokit.net,dampir/octokit.net,octokit/octokit.net,editor-tools/octokit.net,gdziadkiewicz/octokit.net,M-Zuber/octokit.net,fake-organ... | Burr.Tests.Integration/Readme.cs | Burr.Tests.Integration/Readme.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Burr.Tests
{
public class Readme
{
public Readme()
{
// create an anonymous client
var client = new GitHubClient();
// create a cli... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Burr.Tests
{
public class Readme
{
public Readme()
{
// create an anonymous client
var client = new GitHubClient();
// create a cli... | mit | C# |
283277d260cfe58f53a39b1591524f14cf08cb33 | Add some padding to the popover sample | akrisiun/xwt,cra0zy/xwt,mminns/xwt,antmicro/xwt,mono/xwt,iainx/xwt,lytico/xwt,TheBrainTech/xwt,mminns/xwt,hamekoz/xwt,hwthomas/xwt,steffenWi/xwt,directhex/xwt,residuum/xwt,sevoku/xwt | Samples/Samples/PopoverSample.cs | Samples/Samples/PopoverSample.cs | //
// PopoverSample.cs
//
// Author:
// Jérémie Laval <jeremie.laval@xamarin.com>
//
// Copyright (c) 2012 Xamarin, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without re... | //
// PopoverSample.cs
//
// Author:
// Jérémie Laval <jeremie.laval@xamarin.com>
//
// Copyright (c) 2012 Xamarin, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without re... | mit | C# |
30f409dd1dd2541b5883903f0c26c933a6c6378f | fix virtuosity unit test | Fody/FodyAddinSamples,Fody/FodyAddinSamples,bcuff/FodyAddinSamples | VirtuositySample/Sample.cs | VirtuositySample/Sample.cs | using NUnit.Framework;
[TestFixture]
public class VirtuositySample
{
[Test]
public void Run()
{
Assert.IsTrue(GetType().GetMethod("Method").IsVirtual);
}
public void Method()
{
}
} | using NUnit.Framework;
[TestFixture]
public class VirtuositySample
{
[Test]
public void Run()
{
Assert.IsNotNull(GetType().GetMethod("Method").IsVirtual);
}
public void Method()
{
}
} | mit | C# |
2d65ca6abfa33fecee8b839e9c7a629ed3ce85f6 | Remove unnecessary suppressions | GGG-KILLER/GUtils.NET | GUtils.Timing/GlobalSuppressions.cs | GUtils.Timing/GlobalSuppressions.cs | /*
* Copyright © 2019 GGG KILLER <gggkiller2@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the “Software”), to deal in the Software without
* restriction, including without limitation the rights to use, copy, modi... | /*
* Copyright © 2019 GGG KILLER <gggkiller2@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the “Software”), to deal in the Software without
* restriction, including without limitation the rights to use, copy, modi... | mit | C# |
58e1b32a2475a5a26b6fa7f1d0961ad140e3546e | bump version | Fody/Janitor | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.1.4")]
[assembly: AssemblyFileVersion("1.1.4")]
| using System.Reflection;
[assembly: AssemblyVersion("1.1.3")]
[assembly: AssemblyFileVersion("1.1.3")]
| mit | C# |
8f639e70de6c47a11564b323736a3c718cb29373 | add Debuggable | pid011/Comcigan-App | ComciganTimetable/ComciganTimetable/Properties/AssemblyInfo.cs | ComciganTimetable/ComciganTimetable/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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.
#if DEBUG... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... | mit | C# |
70ca96c9e05f991a18c93a78d85629f5eb8f6a60 | Fix alpha min/max order if wrong | SteamDatabase/ValveResourceFormat | GUI/Types/ParticleRenderer/Initializers/RandomAlpha.cs | GUI/Types/ParticleRenderer/Initializers/RandomAlpha.cs | using System;
using ValveResourceFormat.Serialization;
namespace GUI.Types.ParticleRenderer.Initializers
{
public class RandomAlpha : IParticleInitializer
{
private readonly int alphaMin = 255;
private readonly int alphaMax = 255;
private readonly Random random;
public RandomA... | using System;
using ValveResourceFormat.Serialization;
namespace GUI.Types.ParticleRenderer.Initializers
{
public class RandomAlpha : IParticleInitializer
{
private readonly int alphaMin = 255;
private readonly int alphaMax = 255;
private readonly Random random;
public RandomA... | mit | C# |
baa80a5e081c43b8c4b25df5d3244e3b7213d3b9 | Update tests due to the requierments | JonesTwink/MPP.Tracer | Tracer/Tester/MultiThreadTest.cs | Tracer/Tester/MultiThreadTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tracer;
using Tracer.Formatters;
using System.Threading;
namespace Tester
{
class MultiThreadTest : ITest
{
private ITracer tracer = Tracer.Tracer.Instance;
public void Run... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tracer;
using Tracer.Formatters;
using System.Threading;
namespace Tester
{
class MultiThreadTest : ITest
{
private ITracer tracer = Tracer.Tracer.Instance;
public void Run... | mit | C# |
f23cef4f6603467cd05e6333940381737d4e9e53 | bump version | Fody/Stamp,jorisvergeer/Envify | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Stamp")]
[assembly: AssemblyProduct("Stamp")]
[assembly: AssemblyVersion("0.8.3")]
[assembly: AssemblyFileVersion("0.8.3")]
| using System.Reflection;
[assembly: AssemblyTitle("Stamp")]
[assembly: AssemblyProduct("Stamp")]
[assembly: AssemblyVersion("0.8.2")]
[assembly: AssemblyFileVersion("0.8.2")]
| mit | C# |
22599886d29cdb920ac9b2f3255654f854246121 | Fix css styles in Elmah subpages | fhchina/elmah-mvc,jmptrader/elmah-mvc,alexbeletsky/elmah-mvc,mmsaffari/elmah-mvc | Controllers/ElmahController.cs | Controllers/ElmahController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Web.Areas.Admin.Controllers
{
class ElmahResult : ActionResult
{
private string _resouceType;
public ElmahResult(string resouceType)
{
_resouceType = resouc... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Web.Areas.Admin.Controllers
{
class ElmahResult : ActionResult
{
private string _resouceType;
public ElmahResult(string resouceType)
{
_resouceType = resouc... | apache-2.0 | C# |
95b85957a8b0e987668ebc9868926d229308366b | Add test cases for Should_be_registered_as_non_singleton | thomaslevesque/FakeItEasy,FakeItEasy/FakeItEasy,FakeItEasy/FakeItEasy,blairconrad/FakeItEasy,adamralph/FakeItEasy,adamralph/FakeItEasy,thomaslevesque/FakeItEasy,blairconrad/FakeItEasy | tests/FakeItEasy.Tests/ServiceLocatorTests.cs | tests/FakeItEasy.Tests/ServiceLocatorTests.cs | namespace FakeItEasy.Tests
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using FakeItEasy.Core;
using FakeItEasy.Creation;
using FakeItEasy.Expressions;
using FluentAssertions;
using NUnit.Framework;
[TestFixture]
public cla... | namespace FakeItEasy.Tests
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using FakeItEasy.Creation;
using FakeItEasy.Expressions;
using FluentAssertions;
using NUnit.Framework;
[TestFixture]
public class S... | mit | C# |
8a4170f9daefdbff9e985993a527d8da6f89697b | Fix incorrect XML documentation | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site | src/LondonTravel.Site/Services/Data/IDocumentCollectionInitializer.cs | src/LondonTravel.Site/Services/Data/IDocumentCollectionInitializer.cs | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.LondonTravel.Site.Services.Data
{
using System;
using System.Threading.Tasks;
/// <summary>
/// Defines... | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.LondonTravel.Site.Services.Data
{
using System;
using System.Threading.Tasks;
/// <summary>
/// Define... | apache-2.0 | C# |
d514e473d59b67b0e7f577e734c4016af5be6793 | rename stack overflow tests | acple/ParsecSharp | UnitTest.ParsecSharp/StackOverflowTest.cs | UnitTest.ParsecSharp/StackOverflowTest.cs | #if !DEBUG
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using static ParsecSharp.Parser;
namespace UnitTest.ParsecSharp
{
[TestClass]
[TestCategory("SkipWhenLiveUnitTesting")]
public class StackOverflowTest
{
[TestMethod]
public void SimpleRecursi... | #if !DEBUG
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using static ParsecSharp.Parser;
namespace UnitTest.ParsecSharp
{
[TestClass]
[TestCategory("SkipWhenLiveUnitTesting")]
public class StackOverflowTest
{
[TestMethod]
public void StackOverflow... | mit | C# |
a10afd8f5969010fbefb3c542bac6975d73572f1 | Update UpdateModifiers method | jkpenner/RPGSystemTutorial | Assets/Scripts/RPGSystems/StatTypes/RPGStatModifiable.cs | Assets/Scripts/RPGSystems/StatTypes/RPGStatModifiable.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class RPGStatModifiable : RPGStat, IStatModifiable, IStatValueChange {
private List<RPGStatModifier> _statMods;
private int _statModValue;
public event System.EventHandler OnValueChange;
public o... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class RPGStatModifiable : RPGStat, IStatModifiable, IStatValueChange {
private List<RPGStatModifier> _statMods;
private int _statModValue;
public event System.EventHandler OnValueChange;
public o... | mit | C# |
ab702525da28aee443771ce0b21c4672d2ab02d8 | Set max auto scale channels for apple to 20 based on their own documented limits | volkd/PushSharp,lizhi5753186/PushSharp,mao1350848579/PushSharp,cnbin/PushSharp,FragCoder/PushSharp,tianhang/PushSharp,agran/PushSharp,yuejunwu/PushSharp,sumalla/PushSharp,kouweizhong/PushSharp,sumalla/PushSharp,JeffCertain/PushSharp,cnbin/PushSharp,sskodje/PushSharp,fhchina/PushSharp,wanglj7525/PushSharp,cafeburger/Pus... | PushSharp.Apple/ApplePushService.cs | PushSharp.Apple/ApplePushService.cs | using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using PushSharp.Core;
namespace PushSharp.Apple
{
public class ApplePushService : PushServiceBase
{
FeedbackService feedbackService;
Ca... | using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using PushSharp.Core;
namespace PushSharp.Apple
{
public class ApplePushService : PushServiceBase
{
FeedbackService feedbackService;
Ca... | apache-2.0 | C# |
e9cd25925cab90101cf61b90702731c72401bcd7 | fix playlist loading/saving | punker76/simple-music-player | SimpleMusicPlayer/SimpleMusicPlayer/Common/PlayList.cs | SimpleMusicPlayer/SimpleMusicPlayer/Common/PlayList.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
using SimpleMusicPlayer.Models;
namespace SimpleMusicPlayer.Common
{
public class PlayList
{
[JsonIgnore]
public cons... | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
using SimpleMusicPlayer.Models;
namespace SimpleMusicPlayer.Common
{
public class PlayList
{
[JsonIgnore]
public const string PlayListFileName ... | mit | C# |
0a6a0d772cc06683b1910ae431b587c2af90a9f3 | Return correct style | AlbertoMoreta/Dr.Handy | TFG/TFG.Droid/Extensions/HealthModulesInfoExtension.cs | TFG/TFG.Droid/Extensions/HealthModulesInfoExtension.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using TFG.Droid.Fragments.ColorBlindnessTest;
using TFG.Droid.Interfaces;
using TFG.Model;
namespace TFG.D... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using TFG.Droid.Fragments.ColorBlindnessTest;
using TFG.Droid.Interfaces;
using TFG.Model;
namespace TFG.D... | mit | C# |
5ddf69a152159b7896086c39c9cc6ba83a200869 | add data feed url to send request | sailthru/sailthru-net-client | Sailthru/Sailthru.Models/SendRequest.cs | Sailthru/Sailthru.Models/SendRequest.cs | // -----------------------------------------------------------------------
// <copyright file="SendRequest.cs" company="Microsoft">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------
namespace Sailthru.Models
{
using System;
using System.... | // -----------------------------------------------------------------------
// <copyright file="SendRequest.cs" company="Microsoft">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------
namespace Sailthru.Models
{
using System;
using System.... | mit | C# |
b546cd4062be1393b15b96d53f0324827b6c9392 | Update copyright in the test executable | shaia/mathnet-numerics,mathnet/mathnet-numerics,mathnet/mathnet-numerics,mathnet/mathnet-numerics,shaia/mathnet-numerics,mathnet/mathnet-numerics,shaia/mathnet-numerics,shaia/mathnet-numerics,mathnet/mathnet-numerics,shaia/mathnet-numerics | src/UnitTests/Program.cs | src/UnitTests/Program.cs | // <copyright file="Program.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2017 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this soft... | // Copyright 2017 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using NUnitLite;
using System.Reflection;
namespace NodaTime.Test
{
class Program
{
public static int Main(string[] args)
{
... | mit | C# |
0f2a0726015258805d39d7508ca835e3aba8b591 | Check if calling thread is already GUI thread when showing the global exception handler dialog. | lemked/homieremotedesktop | Homie.Common/ExceptionUtils.cs | Homie.Common/ExceptionUtils.cs | using System;
using System.Reflection;
using System.Windows;
using System.Windows.Threading;
namespace Homie.Common
{
public class ExceptionUtils
{
public enum ExitCodes
{
Ok = 0,
UnhandledException = 91,
UnobservedTaskException = 92,
DispatcherU... | using System;
using System.Reflection;
using System.Windows;
using System.Windows.Threading;
namespace Homie.Common
{
public class ExceptionUtils
{
public enum ExitCodes
{
Ok = 0,
UnhandledException = 91,
UnobservedTaskException = 92,
DispatcherU... | apache-2.0 | C# |
43b858d6286a9e181a5c4289de5c5a10c87b06c5 | Update IoUtils.cs | jpdante/HTCSharp | HtcSharp.Core/Utils/IoUtils.cs | HtcSharp.Core/Utils/IoUtils.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace HtcSharp.Core.Utils {
public static class IoUtils {
public static string[] GetFilesExceptionFix(string path, string ... | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
namespace HtcSharp.Core.Utils {
public static class IoUtils {
public static string[] GetFilesExceptionFix(string path, string ... | mit | C# |
4d280149a0eb04659a4ca58b0fbf9b9695e56db8 | Fix problem with token authentication | David-Desmaisons/DiscogsClient | DiscogsClient/Internal/TokenAuthenticationInformation.cs | DiscogsClient/Internal/TokenAuthenticationInformation.cs | using System;
namespace DiscogsClient.Internal
{
public class TokenAuthenticationInformation
{
public string Token { get; set; }
private string _secretToken;
public TokenAuthenticationInformation(string token)
{
this.Token = token;
_secretToken = $"Disc... | using System;
namespace DiscogsClient.Internal
{
public class TokenAuthenticationInformation
{
public string Token { get; set; }
private string _secretToken;
public TokenAuthenticationInformation(string token)
{
this.Token = token;
_secretToken = $"Disc... | mit | C# |
9cdc0d413d3c063a3445bc639a070afeb8ce1935 | Write to Logger instead of Console | cureos/Evil-DICOM,SuneBuur/Evil-DICOM | EvilDICOM.Core/EvilDICOM.Core/IO/Data/DataRestriction.cs | EvilDICOM.Core/EvilDICOM.Core/IO/Data/DataRestriction.cs | using System;
using EvilDICOM.Core.Enums;
using EvilDICOM.Core.Logging;
namespace EvilDICOM.Core.IO.Data
{
public class DataRestriction
{
public static string EnforceLengthRestriction(uint lengthLimit, string data)
{
if (data.Length > lengthLimit)
{
... | using System;
using EvilDICOM.Core.Enums;
namespace EvilDICOM.Core.IO.Data
{
public class DataRestriction
{
public static string EnforceLengthRestriction(uint lengthLimit, string data)
{
if (data.Length > lengthLimit)
{
Console.Write(
... | mit | C# |
a561998756758914ae472f6e8d35c25f7ef8ab09 | Add read message function to LiteNetLibMessageHandler | insthync/LiteNetLibManager,insthync/LiteNetLibManager | Scripts/LiteNetLibMessageHandler.cs | Scripts/LiteNetLibMessageHandler.cs | using LiteNetLib;
using LiteNetLib.Utils;
using LiteNetLibHighLevel.Messages;
namespace LiteNetLibHighLevel
{
public class LiteNetLibMessageHandler
{
public short msgType;
public NetPeer peer;
public NetDataReader reader;
public T ReadMessage<T>() where T : LiteNetLibMessageBa... | using LiteNetLib;
using LiteNetLib.Utils;
namespace LiteNetLibHighLevel
{
public class LiteNetLibMessageHandler
{
public short msgType;
public NetPeer peer;
public NetDataReader reader;
}
}
| mit | C# |
c7eaf77953964b3c30e98a55f45c01300de7a7fc | Fix XML documentation for IFormFileCollection (#1041) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Http.Features/IFormFileCollection.cs | src/Microsoft.AspNetCore.Http.Features/IFormFileCollection.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.Collections.Generic;
namespace Microsoft.AspNetCore.Http
{
/// <summary>
/// Represents the collection of files sent with the Http... | // 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.Collections.Generic;
namespace Microsoft.AspNetCore.Http
{
/// <summary>
/// Represents the collection of files sent with the Http... | apache-2.0 | C# |
a36986ef5af94df2f50ed2232e44a71484fe1165 | Make ComponentName readonly | johnneijzen/osu,naoey/osu,DrabWeb/osu,ZLima12/osu,DrabWeb/osu,UselessToucan/osu,naoey/osu,peppy/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,EVAST9919/osu,Frontear/osuKyzer,ppy/osu,EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,naoey/osu,NeoAdonis/osu,johnneijzen/... | osu.Game/Skinning/SkinnableDrawable.cs | osu.Game/Skinning/SkinnableDrawable.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 osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namesp... | // 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 osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namesp... | mit | C# |
934b5160c17c4a87550ee3df319679f78f0599f5 | Bump assembly info for 1.2.3 release | bcemmett/SurveyMonkeyApi,NellyHaglund/SurveyMonkeyApi | SurveyMonkey/Properties/AssemblyInfo.cs | SurveyMonkey/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("Su... | 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("Su... | mit | C# |
aea0dcca604a3f08fc35246e901b7ae876018665 | Bump assembly version for v2.0.0.0 | bcemmett/SurveyMonkeyApi | SurveyMonkey/Properties/AssemblyInfo.cs | SurveyMonkey/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("Su... | 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("Su... | mit | C# |
e364315642df7671a1963e9f2d88c369841d8a59 | refactor option logic in pager | OlegKleyman/AlphaDev,OlegKleyman/AlphaDev,OlegKleyman/AlphaDev | core/AlphaDev.Web.Core/Support/Pager.cs | core/AlphaDev.Web.Core/Support/Pager.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using AlphaDev.Core;
using JetBrains.Annotations;
using Optional;
using Optional.Collections;
namespace AlphaDev.Web.Core.Support
{
public class Pager<T> : IEnumerable<T>
{
private readonly IEnumerable<T> _col... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using AlphaDev.Core;
using JetBrains.Annotations;
using Optional;
using Optional.Collections;
namespace AlphaDev.Web.Core.Support
{
public class Pager<T> : IEnumerable<T>
{
private readonly IEnumerable<T> _col... | unlicense | C# |
b91ad5ea1d8d513fa0785b78c302330461b96dc6 | Disable DTC tests since Npgsql support for it seems to be broken. | ManufacturingIntelligence/nhibernate-core,fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,ManufacturingIntelligence/nhibernate-core,fredericDelaporte/nhibernate-core,hazzik/nhibernate-core,alobakov/nhibernate-core,nhibernate/nhibernate-core,livioc/nhibernate-core,RogerKratz/nhibernate-core,lnu/nhibernate-c... | src/NHibernate.Test/TestDialects/PostgreSQL82TestDialect.cs | src/NHibernate.Test/TestDialects/PostgreSQL82TestDialect.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NHibernate.Test.TestDialects
{
public class PostgreSQL82TestDialect : TestDialect
{
public PostgreSQL82TestDialect(Dialect.Dialect dialect)
: base(dialect)
{
}
p... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NHibernate.Test.TestDialects
{
public class PostgreSQL82TestDialect : TestDialect
{
public PostgreSQL82TestDialect(Dialect.Dialect dialect)
: base(dialect)
{
}
p... | lgpl-2.1 | C# |
2e58be6d9fb2c9cc434d3e8f6d404f2ea8c21885 | Add a DebuggerDisplay for BranchId | dotnet/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,bartdesmet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,KevinRansom/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,sharw... | src/Workspaces/Core/Portable/Workspace/Solution/BranchId.cs | src/Workspaces/Core/Portable/Workspace/Solution/BranchId.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.
#nullable disable
using System.Diagnostics;
using System.Threading;
namespace Microsoft.CodeAnalysis
{
/// <s... | // 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.
#nullable disable
using System.Threading;
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// solution b... | mit | C# |
04b6c2542ccc5ab50a622727b385a7cbbdab54d5 | Make DApplication.Init() private | mono/dbus-sharp-glib,mono/dbus-sharp-glib | glib/GLib.cs | glib/GLib.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
//using GLib;
//using Gtk;
using NDesk.DBus;
using NDesk.GLib;
using org.freedesktop.DBus;
namespace NDesk.DBus
{
//FIXME: this API needs review and de-unixification
public ... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
//using GLib;
//using Gtk;
using NDesk.DBus;
using NDesk.GLib;
using org.freedesktop.DBus;
namespace NDesk.DBus
{
//FIXME: this API needs review and de-unixification
public ... | mit | C# |
d0a9f6c9ed30e0a2157d65753b08a114c59d3568 | add package version for user agent | conekta/conekta-.net | src/conekta/conekta/Base/Requestor.cs | src/conekta/conekta/Base/Requestor.cs | using System;
using System.IO;
using System.Net;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace conekta
{
public class Requestor
{
public Requestor ()
{
}
public String request (String method, String resource_uri, String data = "{}")
{
String api_version = conekta.Ap... | using System;
using System.IO;
using System.Net;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace conekta
{
public class Requestor
{
public Requestor ()
{
}
public String request (String method, String resource_uri, String data = "{}")
{
String api_version = conekta.Ap... | mit | C# |
68e5ce3ec3a0af237fbc9cd8529d8f1d427121b0 | Change TeamDivision to nullable | RagtimeWilly/FplClient | src/FplClient/Data/FplTeam.cs | src/FplClient/Data/FplTeam.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace FplClient.Data
{
public class FplTeam
{
[JsonProperty("code")]
public long Code { get; set; }
[JsonProperty("draw")]
public long... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace FplClient.Data
{
public class FplTeam
{
[JsonProperty("code")]
public long Code { get; set; }
[JsonProperty("draw")]
public long... | mit | C# |
f710709d71aa63925f2c22a350e48c13c30987e9 | support zero duration in transform animation | reinterpretcat/utymap,reinterpretcat/utymap,reinterpretcat/utymap | unity/library/UtyMap.Unity/Animations/TransformAnimation.cs | unity/library/UtyMap.Unity/Animations/TransformAnimation.cs | using System;
using UnityEngine;
using UtyMap.Unity.Animations.Time;
namespace UtyMap.Unity.Animations
{
/// <summary> Represents animation for updating transform. </summary>
public abstract class TransformAnimation : Animation
{
private readonly Transform _transform;
private readonly ITim... | using System;
using UnityEngine;
using UtyMap.Unity.Animations.Time;
namespace UtyMap.Unity.Animations
{
/// <summary> Represents animation for updating transform. </summary>
public abstract class TransformAnimation : Animation
{
private readonly Transform _transform;
private readonly ITim... | apache-2.0 | C# |
dcd94699d0b9362a890a8a800d0b5a937f359e98 | Fix problem with XmlDomExtensions AddSheet() | hatton/libpalaso,ermshiperete/libpalaso,JohnThomson/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,chrisvire/libpalaso,hatton/libpalaso,gtryus/libpalaso,mccarthyrb/libpalaso,chrisvire/libpalaso,tombogle/libpalaso,andrew-polk/libpalaso,gtryus/libpalaso,glasseyes/libpalaso,JohnThomson/libpalaso,gm... | Palaso/Xml/XmlDomExtensions.cs | Palaso/Xml/XmlDomExtensions.cs | using System;
using System.IO;
using System.Xml;
namespace Palaso.Xml
{
public static class XmlDomExtensions
{
public static XmlDocument StripXHtmlNameSpace(this XmlDocument node)
{
XmlDocument x = new XmlDocument();
x.LoadXml(node.OuterXml.Replace("xmlns", "xmlnsNeutered"));
return x;
}
public st... | using System;
using System.IO;
using System.Xml;
namespace Palaso.Xml
{
public static class XmlDomExtensions
{
public static XmlDocument StripXHtmlNameSpace(this XmlDocument node)
{
XmlDocument x = new XmlDocument();
x.LoadXml(node.OuterXml.Replace("xmlns", "xmlnsNeutered"));
return x;
}
public st... | mit | C# |
da703500acf6943eb7b7515af14d2eb78fa4a08d | fix setting response fields | vedi/restifizer-unity3d | RestifizerResponse.cs | RestifizerResponse.cs | using UnityEngine;
using System.Collections;
namespace Restifizer {
public class RestifizerResponse {
public bool IsList;
public bool HasError;
public Hashtable Resource;
public ArrayList ResourceList;
public RestifizerError Error;
public int Status;
public string Tag;
public RestifizerResponse(in... | using UnityEngine;
using System.Collections;
namespace Restifizer {
public class RestifizerResponse {
public bool IsList;
public bool HasError;
public Hashtable Resource;
public ArrayList ResourceList;
public RestifizerError Error;
public int Status;
public string Tag;
public RestifizerResponse(in... | mit | C# |
e99a17f0ae4e457905ba8e74f19b382281f34cf7 | tweak CSL syntax | stwalkerster/eyeinthesky,stwalkerster/eyeinthesky,stwalkerster/eyeinthesky | EyeInTheSky/StalkNodes/AndNode.cs | EyeInTheSky/StalkNodes/AndNode.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
namespace EyeInTheSky.StalkNodes
{
class AndNode : DoubleChildLogicalNode
{
#region Overrides of StalkNode
public override bool match(RecentChange rc)
{
return (LeftChil... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
namespace EyeInTheSky.StalkNodes
{
class AndNode : DoubleChildLogicalNode
{
#region Overrides of StalkNode
public override bool match(RecentChange rc)
{
return (LeftChil... | mit | C# |
628162f5eb62dd485bcd3d894afe9caed9ad671d | clean up the code | code4game/libprotobuf,code4game/libprotobuf | libprotobuf.Build.cs | libprotobuf.Build.cs | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class libprotobuf : ModuleRules
{
public libprotobuf(TargetInfo Target)
{
Type = ModuleType.External;
bool is_supported = false;
if ((Target.Platform == UnrealTargetPlatform.Win32) || (Target.P... | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class libprotobuf : ModuleRules
{
public libprotobuf(TargetInfo Target)
{
Type = ModuleType.External;
bool is_supported = false;
if ((Target.Platform == UnrealTargetPlatform.Win32) || (Target.Platform == U... | mit | C# |
9b29966ee666846c3ed95e189bd7f6d3f40ff040 | Improve SOGo profile and add VLIST distribution list mapping to default profile settings. | aluxnimm/outlookcaldavsynchronizer | CalDavSynchronizer/ProfileTypes/ConcreteTypes/SogoProfile.cs | CalDavSynchronizer/ProfileTypes/ConcreteTypes/SogoProfile.cs | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
// Copyright (c) 2015 Alexander Nimmervoll
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License a... | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
// Copyright (c) 2015 Alexander Nimmervoll
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License a... | agpl-3.0 | C# |
525ebf6b8b041b32bcad8e4174ebbdc9c004fe84 | delete does not return content | mzrimsek/resume-site-api | Web/Controllers/JobController.cs | Web/Controllers/JobController.cs | using System.Collections.Generic;
using System.Linq;
using System.Net;
using Core.Interfaces;
using Microsoft.AspNetCore.Mvc;
using Web.Mappers.JobMappers;
using Web.Models;
namespace Web.Controllers
{
[Route("api/[controller]")]
public class JobController : Controller
{
private readonly IJobReposi... | using System.Collections.Generic;
using System.Linq;
using System.Net;
using Core.Interfaces;
using Microsoft.AspNetCore.Mvc;
using Web.Mappers.JobMappers;
using Web.Models;
namespace Web.Controllers
{
[Route("api/[controller]")]
public class JobController : Controller
{
private readonly IJobReposi... | mit | C# |
4af2634b9fe1cadfd4cae2f8248a91afba7b1fd2 | Add some logic for map mongo models to database models | nProdanov/Team-French-75 | TravelAgency/TravelAgency.Client/TravelAgenciesDataImporter.cs | TravelAgency/TravelAgency.Client/TravelAgenciesDataImporter.cs | using System.Collections.Generic;
using System.Linq;
using TravelAgency.Data;
using TravelAgency.Models;
using TravelAgency.MongoDbExtractor;
namespace TravelAgency.Client
{
public class TravelAgenciesDataImporter
{
private ITravelAgencyDbContext travelAgencyDbContext;
private IMongoDbExtracto... | using System.Collections.Generic;
using TravelAgency.Data;
using TravelAgency.Models;
using TravelAgency.MongoDbExtractor;
namespace TravelAgency.Client
{
public class TravelAgenciesDataImporter
{
private ITravelAgencyDbContext travelAgencyDbContext;
private IMongoDbExtractor mongoExtractor;
... | mit | C# |
c4882228ae487a5133839b798bb3176949b4cea9 | Support setting the query provider on g. | ExRam/ExRam.Gremlinq | ExRam.Gremlinq/Gremlin/g.cs | ExRam.Gremlinq/Gremlin/g.cs | using System;
using LanguageExt;
namespace ExRam.Gremlinq
{
// ReSharper disable once InconsistentNaming
public static class g
{
// ReSharper disable once UnusedMember.Global
internal static readonly IGremlinQuery<Unit> G = GremlinQuery.Create("g");
public static IGremlinQuery<TVe... | using System;
using LanguageExt;
namespace ExRam.Gremlinq
{
// ReSharper disable once InconsistentNaming
public static class g
{
// ReSharper disable once UnusedMember.Global
internal static readonly IGremlinQuery<Unit> G = GremlinQuery.Create("g");
public static IGremlinQuery<TVe... | mit | C# |
8d0a56958a9208a24096c1bca58adde671da6707 | refactor & remove unused variables | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp | src/StockportWebapp/Views/stockportgov/Shared/GenericFeaturedItemList.cshtml | src/StockportWebapp/Views/stockportgov/Shared/GenericFeaturedItemList.cshtml |
@model StockportWebapp.Models.GenericFeaturedItemList
<div class="primary-topics">
@if (Model.HideButton == true)
{
<div class="featured-topic-list generic-Featured-Items-margin-top matchbox-parent">
<partial name="GenericFeaturedItem" model='Model.Items' />
</div>
}
else
... |
@model StockportWebapp.Models.GenericFeaturedItemList
@{
var take = string.IsNullOrEmpty(Model.ButtonText) ? Model.Items.Count : 8;
var noOfInitialTopics = 8;
}
<div class="primary-topics">
@if (Model.HideButton == true)
{
<div class="featured-topic-list generic-Featured-Items-margin-top match... | mit | C# |
59ba5717cee23483fc03449047078ba2677b7151 | Fix to compile | khellang/structuremap,NightOwl888/structuremap,DixonD-git/structuremap,DixonDs/structuremap,NightOwl888/structuremap,petemounce/structuremap,DixonD-git/structuremap,hp4711/structuremap,DixonD-git/structuremap,hp4711/structuremap,DixonDs/structuremap,zhangwei900808/structuremap,petemounce/structuremap,khellang/structure... | src/StructureMap.Testing/Building/Interception/InterceptionPoliciesTester.cs | src/StructureMap.Testing/Building/Interception/InterceptionPoliciesTester.cs | using System.Diagnostics;
using System.Linq;
using NUnit.Framework;
using StructureMap.Building.Interception;
using StructureMap.Testing.Widget3;
namespace StructureMap.Testing.Building.Interception
{
[TestFixture]
public class InterceptionPoliciesTester
{
[Test]
public void do... | using System.Diagnostics;
using System.Linq;
using NUnit.Framework;
using StructureMap.Building.Interception;
using StructureMap.Testing.Widget3;
namespace StructureMap.Testing.Building.Interception
{
[TestFixture]
public class InterceptionPoliciesTester
{
[Test]
public void do... | apache-2.0 | C# |
5bc57fc1548a172aa6fd683c15847bff19c2c323 | Build fix | JeremyAnsel/helix-toolkit,helix-toolkit/helix-toolkit,Iluvatar82/helix-toolkit,smischke/helix-toolkit,holance/helix-toolkit,chrkon/helix-toolkit | Source/HelixToolkit.Wpf.SharpDX.Tests/Controls/CanvasMock.cs | Source/HelixToolkit.Wpf.SharpDX.Tests/Controls/CanvasMock.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CanvasMock.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// -----------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CanvasMock.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// -----------------------------------------------------------------... | mit | C# |
9f0841bf386037426d5d73530714b9bdd92f5570 | fix project assignment | GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples | bigquery/api/QuickStart/QuickStartTest.cs | bigquery/api/QuickStart/QuickStartTest.cs | /*
* Copyright (c) 2018 Google LLC
*
* 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 i... | /*
* Copyright (c) 2018 Google LLC
*
* 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 i... | apache-2.0 | C# |
88f897f152aa63c5bb8f5203d6fac67f821f7946 | Remove Json property from Window since it's now a static class | x335/WootzJs,kswoll/WootzJs,x335/WootzJs,kswoll/WootzJs,kswoll/WootzJs,x335/WootzJs | WootzJs.Web/Window.cs | WootzJs.Web/Window.cs | #region License
//-----------------------------------------------------------------------
// <copyright>
// The MIT License (MIT)
//
// Copyright (c) 2014 Kirk S Woll
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softw... | #region License
//-----------------------------------------------------------------------
// <copyright>
// The MIT License (MIT)
//
// Copyright (c) 2014 Kirk S Woll
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softw... | mit | C# |
d1aa7f47c0fda0c9390beffa734e31564859d7b9 | Move all the logic back to load | smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework | osu.Framework/Graphics/Containers/Markdown/MarkdownLinkText.cs | osu.Framework/Graphics/Containers/Markdown/MarkdownLinkText.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 Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Platform;
us... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Platform;
us... | mit | C# |
0684add4833b7210325474f59a762072b85f149e | Update index.cshtml | reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website | input/contribute/community/index.cshtml | input/contribute/community/index.cshtml | Order: 100
---
@Html.Partial("_ChildPages")
http://olivierlacan.com/posts/ruby-heroes-farewell/
<iframe width="1280" height="720" src="https://www.youtube.com/embed/ZSFDm3UYkeE" frameborder="0" allowfullscreen></iframe>
| Order: 100
---
@Html.Partial("_ChildPages")
http://olivierlacan.com/posts/ruby-heroes-farewell/
| mit | C# |
6c57895ffc922ef01198366f834df8565d0cf458 | Fix wrong type for linkbuttons | roman-yagodin/R7.HelpDesk,roman-yagodin/R7.HelpDesk | R7.HelpDesk/Controls/Comments.ascx.designer.cs | R7.HelpDesk/Controls/Comments.ascx.designer.cs | using System;
using System.Web.UI.WebControls;
namespace R7.HelpDesk
{
public partial class Comments
{
protected Panel pnlInsertComment;
protected Label lblAttachFile1;
protected FileUpload TicketFileUpload;
protected Label lblAttachFile2;
protected FileUpload fuAttachment;
protected Panel pn... | using System;
using System.Web.UI.WebControls;
namespace R7.HelpDesk
{
public partial class Comments
{
protected Panel pnlInsertComment;
protected Label lblAttachFile1;
protected FileUpload TicketFileUpload;
protected Label lblAttachFile2;
protected FileUpload fuAttachment;
protected Panel pn... | mit | C# |
27d2bca97505127a343dda6c86ef5a038fb9450c | Bump version and upload release version. | realartists/npredicate | nPredicate/Properties/AssemblyInfo.cs | nPredicate/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("RealArtists.nPredicate")]
[assembly: Asse... | 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("RealArtists.nPredicate")]
[assembly: Asse... | mit | C# |
2ce2a976cc5adadc8ac27cffce661f5a13af7a1c | add Hospitalsettings to Hospital info for mobile and public settings to 1.17 | SnapMD/connectedcare-sdk,dhawalharsora/connectedcare-sdk | SnapMD.ConnectedCare.ApiModels/HospitalInfo.cs | SnapMD.ConnectedCare.ApiModels/HospitalInfo.cs | using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SnapMD.ConnectedCare.ApiModels
{
public class HospitalInfo
{
public int HospitalId { get; set; }
public string HospitalName { get; set; }
public string ContactPerson { get; set; }
... | using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SnapMD.ConnectedCare.ApiModels
{
public class HospitalInfo
{
public int HospitalId { get; set; }
public string HospitalName { get; set; }
public string ContactPerson { get; set; }
... | apache-2.0 | C# |
cdc6a9f3283d780f29778162df48a60c01b200d3 | Update CurrentCommandContext.cs | tiksn/TIKSN-Framework | TIKSN.Core/PowerShell/CurrentCommandContext.cs | TIKSN.Core/PowerShell/CurrentCommandContext.cs | using System;
namespace TIKSN.PowerShell
{
public class CurrentCommandContext : ICurrentCommandStore, ICurrentCommandProvider
{
private CommandBase _command;
public CommandBase GetCurrentCommand()
{
if (this._command == null)
{
throw new NullRef... | using System;
namespace TIKSN.PowerShell
{
public class CurrentCommandContext : ICurrentCommandStore, ICurrentCommandProvider
{
private CommandBase _command;
public CommandBase GetCurrentCommand()
{
if (_command == null)
{
throw new NullReferenc... | mit | C# |
c6d4e576e2348493ae0aa1ec7b5d149d2cd3b699 | Update RepositoryCaching.cs | kelong/Data-Repository-with-Data-Caching-in-ASP.NET-MVC-4,CarmelSoftware/Data-Repository-with-Data-Caching-in-ASP.NET-MVC-4 | Models/RepositoryCaching.cs | Models/RepositoryCaching.cs | // TODO: create Caching Class to store data in MemoryCache :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Caching;
namespace RepositoryWithCaching.Models
{
public class RepositoryCaching
{
// TODO: check what happens when different users use... | // TODO: create Caching Class to store data in MemoryCache :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Caching;
namespace RepositoryWithCaching.Models
{
public class RepositoryCaching
{
public ObjectCache Cache
{
get {... | mit | C# |
f45c0afe3a9fbd08a3cb0e4b24887a73e7896391 | make ListField clone items like RowListField on Row.Clone | dfaruque/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,dfaruque/Serenity,WasimAhm... | Serenity.Data.Entity/FieldTypes/ListField.cs | Serenity.Data.Entity/FieldTypes/ListField.cs | using System;
using System.Collections.Generic;
namespace Serenity.Data
{
public class ListField<TItem> : CustomClassField<List<TItem>>
{
public ListField(ICollection<Field> collection, string name, LocalText caption = null, int size = 0, FieldFlags flags = FieldFlags.Default,
Fun... | using System;
using System.Collections.Generic;
namespace Serenity.Data
{
public class ListField<TItem> : CustomClassField<List<TItem>>
{
public ListField(ICollection<Field> collection, string name, LocalText caption = null, int size = 0, FieldFlags flags = FieldFlags.Default,
Fun... | mit | C# |
6c5e828375ef3718a2c18b043c0b7ce1c00d0f81 | Add test case for task 2 (#1688) | exercism/xcsharp,exercism/xcsharp | exercises/concept/remote-control-competition/RemoteControlCompetitionTests.cs | exercises/concept/remote-control-competition/RemoteControlCompetitionTests.cs | using System.Collections.Generic;
using Xunit;
using Exercism.Tests;
public class InterfacesTests
{
[Fact]
public void Race()
{
var productionCar = new ProductionRemoteControlCar();
var experimentalCar = new ExperimentalRemoteControlCar();
TestTrack.Race((IRemoteControlCar)productio... | using System.Collections.Generic;
using Xunit;
using Exercism.Tests;
public class InterfacesTests
{
[Fact]
public void Race()
{
var productionCar = new ProductionRemoteControlCar();
var experimentalCar = new ExperimentalRemoteControlCar();
TestTrack.Race((IRemoteControlCar)productio... | mit | C# |
7da5fcf1cd8479401935f0a6c322338f2db7671d | Tidy up | i-e-b/SevenDigital.Messaging | src/SevenDigital.Messaging/MessageSending/HandlerTriggering.cs | src/SevenDigital.Messaging/MessageSending/HandlerTriggering.cs | using System;
using System.Collections.Generic;
using System.Linq;
using MassTransit;
using StructureMap;
namespace SevenDigital.Messaging.MessageSending
{
public class HandlerTriggering<TMessage> : IMessageBinding<TMessage> where TMessage : class, IMessage
{
readonly IServiceBus serviceBus;
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using MassTransit;
using StructureMap;
namespace SevenDigital.Messaging.MessageSending
{
public class HandlerTriggering<TMessage> : IMessageBinding<TMessage> where TMessage : class, IMessage
{
readonly IServiceBus serviceBus;
public ... | bsd-3-clause | C# |
af9ba6a4dfa0f7872711a1350a59b10a6f377437 | Fix SyntaxErrorReport, it now prints correctly the source name | julsam/VineScript | VineScript/Compiler/Error/SyntaxErrorReport.cs | VineScript/Compiler/Error/SyntaxErrorReport.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Antlr4.Runtime;
using VineScript.Core;
namespace VineScript.Compiler
{
public class SyntaxErrorReport
{
public string SourceName { get; set; }
public int Line { get; set; }... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Antlr4.Runtime;
using VineScript.Core;
namespace VineScript.Compiler
{
public class SyntaxErrorReport
{
public string SourceName { get; set; }
public int Line { get; set; }... | mit | C# |
0ba4814fb616942363845d75090a940332f752b5 | Add documentation to UTCToLocalTime procedure | codeforgreenville/trolley-tracker-api-dot-net,codeforgreenville/trolley-tracker-api-dot-net,codeforgreenville/trolley-tracker-api-dot-net | TrolleyTracker/Controllers/UTCToLocalTime.cs | TrolleyTracker/Controllers/UTCToLocalTime.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace TrolleyTracker.Controllers
{
// NodaTime could be a better way https://github.com/nodatime/nodatime
public class UTCToLocalTime
{
public static DateTime LocalTimeFromUTC(DateTime utcTime)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace TrolleyTracker.Controllers
{
// NodaTime could be a better way https://github.com/nodatime/nodatime
public class UTCToLocalTime
{
public static DateTime LocalTimeFromUTC(DateTime utcTime)
{
... | mit | C# |
0b186d44448c8dfe10489ebcaf7f20fca0ca821e | Bump version to 0.30.5 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
e83245d8f5cf989735e1a657485653412d4e2e00 | Make server able to run as deamon on mono | lmno/cupster,lmno/cupster,lmno/cupster | webstats/webstats/Program.cs | webstats/webstats/Program.cs | /*
* Created by SharpDevelop.
* User: Lars Magnus
* Date: 12.06.2014
* Time: 20:52
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Linq;
using System.Threading;
using Nancy.Hosting.Self;
namespace webstats
{
class Program
{
public... | /*
* Created by SharpDevelop.
* User: Lars Magnus
* Date: 12.06.2014
* Time: 20:52
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using Nancy.Hosting.Self;
namespace webstats
{
class Program
{
public static void Main(string[] args)
{
// Start web se... | mit | C# |
ec1cf7c94796b6d8fa46ebc0b161732411fb0c2b | Correct searching config base on exe file name. | mrbrl/PCLAppConfig,soroshsabz/PCLAppConfig | src/Lib/PCLAppConfig.FileSystemStream.UWP/UWPAppConfigPathExtractor.cs | src/Lib/PCLAppConfig.FileSystemStream.UWP/UWPAppConfigPathExtractor.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationModel;
namespace PCLAppConfig.FileSystemStream
{
public class UWPAppConfigPathExtractor : IAppConfigPathExtractor
{
public string Path
{
get
{
s... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationModel;
namespace PCLAppConfig.FileSystemStream
{
public class UWPAppConfigPathExtractor : IAppConfigPathExtractor
{
public string Path
{
get
{
s... | apache-2.0 | C# |
6fe11cd69dd5791c4c2bd9cf2f4c35a0b1b7753d | Reduce indentation | ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-fram... | osu.Framework.Tests/IO/BackgroundGameHeadlessGameHost.cs | osu.Framework.Tests/IO/BackgroundGameHeadlessGameHost.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;
using System.Threading.Tasks;
using osu.Framework.Platform;
namespace osu.Framework.Tests.IO
{
/// <summary>
/// Ad headless host for tes... | // 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;
using System.Threading.Tasks;
using osu.Framework.Platform;
namespace osu.Framework.Tests.IO
{
/// <summary>
/// Ad headless host for tes... | mit | C# |
349b0a33221acf335cb9bae3a99178fc2522036b | Remove empty ctor. | NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,johnneijzen/osu,naoey/osu,EVAST9919/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,DrabWeb/osu,2yangk23/osu,DrabWeb/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,ppy/osu,peppy/osu-new,ZLi... | osu.Game/Screens/Multi/Screens/Match.cs | osu.Game/Screens/Multi/Screens/Match.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.Graphics;
using osu.Framework.Screens;
using osu.Game.Screens.Backgrounds;
using osu.Game.Screens.Pl... | // 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.Graphics;
using osu.Framework.Screens;
using osu.Game.Screens.Backgrounds;
using osu.Game.Screens.Pl... | mit | C# |
5ed684aa9412555af895b8585ee29fd7d9eaff81 | reconnect bot on disconnection | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/TwitchConnector.cs | TCC.Core/TwitchConnector.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TCC.ViewModels;
using TwitchLib;
using TwitchLib.Models.Client;
namespace TCC
{
public class TwitchConnector
{
private static TwitchConnector _instance;
public static Twitc... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TCC.ViewModels;
using TwitchLib;
using TwitchLib.Models.Client;
namespace TCC
{
public class TwitchConnector
{
private static TwitchConnector _instance;
public static Twitc... | mit | C# |
8e5494681073e002cffb5b64d7823eac4326d0c9 | Apply suggestions from code review | JimBobSquarePants/Umbraco-CMS,robertjf/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,abryukhov/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,KevinJump/Umbraco-CMS,abjerner/Umb... | src/Umbraco.Infrastructure/Logging/Serilog/UmbracoFileConfiguration.cs | src/Umbraco.Infrastructure/Logging/Serilog/UmbracoFileConfiguration.cs | using System;
using System.IO;
using System.Linq;
using Microsoft.Extensions.Configuration;
using Serilog;
using Serilog.Events;
namespace Umbraco.Cms.Infrastructure.Logging.Serilog
{
public class UmbracoFileConfiguration
{
public UmbracoFileConfiguration(IConfiguration configuration)
{
... | using System;
using System.IO;
using System.Linq;
using Microsoft.Extensions.Configuration;
using Serilog;
using Serilog.Events;
namespace Umbraco.Cms.Infrastructure.Logging.Serilog
{
public class UmbracoFileConfiguration
{
public UmbracoFileConfiguration(IConfiguration configuration)
{
... | mit | C# |
51374f3e2846fb66609f2a6dbb44f1d24be2d49c | add warning code. (#2639) | superyyrrzz/docfx,superyyrrzz/docfx,dotnet/docfx,dotnet/docfx,superyyrrzz/docfx,dotnet/docfx | src/Microsoft.DocAsCode.Common/Loggers/WarningCodes.cs | src/Microsoft.DocAsCode.Common/Loggers/WarningCodes.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Common
{
public static class WarningCodes
{
public static class Metadata
{
}
public static clas... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Common
{
public static class WarningCodes
{
public static class Metadata
{
}
public static clas... | mit | C# |
8289d1650f85c612c8d0fb752c39f5a858a1b879 | Allow filtering Invoices by status for #1860 | stripe/stripe-dotnet | src/Stripe.net/Services/Invoices/InvoiceListOptions.cs | src/Stripe.net/Services/Invoices/InvoiceListOptions.cs | namespace Stripe
{
using System;
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class InvoiceListOptions : ListOptions
{
/// <summary>
/// Either <c>charge_automatically</c>, or <c>send_invoice</c>.
/// </summary>
[JsonProperty("collection_method")]
... | namespace Stripe
{
using System;
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class InvoiceListOptions : ListOptions
{
/// <summary>
/// Either <c>charge_automatically</c>, or <c>send_invoice</c>.
/// </summary>
[JsonProperty("collection_method")]
... | apache-2.0 | C# |
5e0e4e9db793af739f78794dfd9cab7268bdd8fc | Use private access modifier for `Border` field. | peppy/osu-new,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu | osu.Game.Rulesets.Catch/Objects/Drawables/Pieces/FruitPiece.cs | osu.Game.Rulesets.Catch/Objects/Drawables/Pieces/FruitPiece.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;
namespace osu.Game.Rulesets.Catch.O... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Rulesets.Catch.O... | mit | C# |
26a241e069d1cff81ea885ca45a31735da9b253b | fix bug | wendellpbarreto/glitch,wendellpbarreto/glitch | Assets/Scripts/Scenes/Home.cs | Assets/Scripts/Scenes/Home.cs | using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections;
public class Home : MonoBehaviour {
public GUISkin skin;
public AudioSource audioSource;
public AudioClip audioClip;
void OnGUI(){
GUI.skin = skin;
string playerMainAttribute = Player.character.characterClass.mainAttributeName;
... | using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections;
public class Home : MonoBehaviour {
public GUISkin skin;
public AudioSource audioSource;
public AudioClip audioClip;
void OnGUI(){
GUI.skin = skin;
string playerMainAttribute = Player.character.characterClass.mainAttributeName;
... | mit | C# |
e1fa3d40d385de3393ce015e5df1dbdde60b92b7 | Tidy up unused using | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance/DependencyResolution/ManageApprenticeshipsOuterApiRegistry.cs | src/SFA.DAS.EmployerFinance/DependencyResolution/ManageApprenticeshipsOuterApiRegistry.cs | using System.Net.Http;
using SFA.DAS.EmployerFinance.Configuration;
using SFA.DAS.EmployerFinance.Infrastructure;
using SFA.DAS.EmployerFinance.Interfaces.OuterApi;
using StructureMap;
namespace SFA.DAS.EmployerFinance.DependencyResolution
{
public class ManageApprenticeshipsOuterApiRegistry : Registry
{
... | using System.Net.Http;
using SFA.DAS.EmployerFinance.Configuration;
using SFA.DAS.EmployerFinance.Infrastructure;
using SFA.DAS.EmployerFinance.Interfaces.OuterApi;
using SFA.DAS.EmployerFinance.Services;
using StructureMap;
namespace SFA.DAS.EmployerFinance.DependencyResolution
{
public class ManageApprenticeship... | mit | C# |
7c80b7da94cbe16b49ce93f125faefc084afe16e | Update IIndexableGrid.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/api/IIndexableGrid.cs | src/api/IIndexableGrid.cs | // Copyright 2004-2006 University of Wisconsin
// All rights reserved.
//
// Contributors:
// James Domingo, UW-Madison, Forest Landscape Ecology Lab
namespace Landis.SpatialModeling
{
/// <summary>
/// A grid whose cells can be accessed by their locations.
/// </summary>
public interface... | // Copyright 2004-2006 University of Wisconsin
// All rights reserved.
//
// The copyright holders license this file under the New (3-clause) BSD
// License (the "License"). You may not use this file except in
// compliance with the License. A copy of the License is available at
//
// http://www.opensource.... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.