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 |
|---|---|---|---|---|---|---|---|---|
b426019f06aed516c82697d1996aedf6d2dfd01f | Set notification for sintrom control days | AlbertoMoreta/Dr.Handy | TFG/Logic/SintromLogic.cs | TFG/Logic/SintromLogic.cs | using System;
using System.Collections.Generic;
using System.Text;
using TFG.Model;
namespace TFG.Logic {
public class SintromLogic {
private static SintromLogic _instance;
public static SintromLogic Instance() {
if (_instance == null) {
_instance = new SintromLogic(... | using System;
using System.Collections.Generic;
using System.Text;
using TFG.Model;
namespace TFG.Logic {
public class SintromLogic {
private static SintromLogic _instance;
public static SintromLogic Instance() {
if (_instance == null) {
_instance = new SintromLogic(... | mit | C# |
2e672c94d1efed8ac194dd673657920935193aee | update VisualizerTest/Program.cs | kamiyaowl/UriVisualizer | VisualizerTest/Program.cs | VisualizerTest/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UriVisualizer;
namespace VisualizerTest {
class Program {
static void Main(string[] args) {
var hoge = @"http://kamiya.hatenadiary.jp/";
var uri = new Uri(hoge);
UriVisualizerDebugger.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UriVisualizer;
namespace VisualizerTest {
class Program {
static void Main(string[] args) {
var hoge = @"http://kamiya.hatenadiary.jp/";
var uri = new Uri(hoge);
UriVisualizerDebugger.... | mit | C# |
8e0d36b2fe2cb1356547fc48b3063f88c3b069da | Return the passed query. | bigfont/webapi-cors | CORS/Controllers/ValuesController.cs | CORS/Controllers/ValuesController.cs | using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Cors;
namespace CORS.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
{
return new string[] { "This is a CORS request.",... | using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Cors;
namespace CORS.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
{
return new string[] { "This is a CORS request.",... | mit | C# |
4c87e3c59ca1a6b087379218cada9f98549694b3 | Fix sample project. | pagebrooks/Autofac,autofac/Autofac,onovotny/Autofac,neoe1984/https-github.com-autofac-Autofac,zjmpds/Autofac,zmaruo/Autofac,onovotny/Autofac,liujunhua/Autofac,laizhan/autofac,liujunhua/Autofac,laizhan/autofac,jango2015/Autofac,pagebrooks/Autofac,laizhan/autofac,lijianguang/Autofac,neoe1984/https-github.com-autofac-Auto... | samples/AutofacWebApiSample/Startup.cs | samples/AutofacWebApiSample/Startup.cs | using System;
using Autofac;
using Autofac.Framework.DependencyInjection;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Framework.DependencyInjection;
namespace AutofacWebApiSample
{
public class Startup
{
public Startup(IHostingEnvironment env)
{
}
... | using System;
using Autofac;
using Autofac.Dnx;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Framework.DependencyInjection;
namespace AutofacWebApiSample
{
public class Startup
{
public Startup(IHostingEnvironment env)
{
}
// This method gets... | mit | C# |
ca1b9a4e0a92878ffca9823ea9b08b456666a67b | Update help doc link | jumpinjackie/fdotoolbox,jumpinjackie/fdotoolbox | FdoToolbox.Base/Commands/HelpCommands.cs | FdoToolbox.Base/Commands/HelpCommands.cs | #region LGPL Header
// Copyright (C) 2009, Jackie Ng
// https://github.com/jumpinjackie/fdotoolbox, jumpinjackie@gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
//... | #region LGPL Header
// Copyright (C) 2009, Jackie Ng
// https://github.com/jumpinjackie/fdotoolbox, jumpinjackie@gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
//... | lgpl-2.1 | C# |
6361f12f56452278608283fc25008e51dac8d7f1 | Bump version. | oozcitak/imagelistview | ImageListView/Properties/AssemblyInfo.cs | ImageListView/Properties/AssemblyInfo.cs | // ImageListView - A listview control for image files
// Copyright (C) 2009 Ozgur Ozcitak
//
// 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/... | // ImageListView - A listview control for image files
// Copyright (C) 2009 Ozgur Ozcitak
//
// 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/... | apache-2.0 | C# |
388d68155d11f8a60e112e989ca763b9704fee01 | remove unused actions in Values controller | MCeddy/IoT-core | IoT-Core/Controllers/ValuesController.cs | IoT-Core/Controllers/ValuesController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using IoT_Core.Models;
namespace IoT_Core.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller
{
private SensorValueContext _dbContext;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using IoT_Core.Models;
namespace IoT_Core.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller
{
private SensorValueContext _dbContext;
... | mit | C# |
f2cb741321dffa6c281518637e11279443d29ea0 | enhance redis connection string detection | oelite/RESTme | OElite.Restme/RestmeGeneralExtensions.cs | OElite.Restme/RestmeGeneralExtensions.cs | namespace OElite
{
public static class RestmeGeneralExtensions
{
/// <summary>
/// Use base uri to identify the use of current Restme client
/// </summary>
/// <param name="restme"></param>
public static void PrepareRestMode(this Rest restme)
{
restme... | namespace OElite
{
public static class RestmeGeneralExtensions
{
/// <summary>
/// Use base uri to identify the use of current Restme client
/// </summary>
/// <param name="restme"></param>
public static void PrepareRestMode(this Rest restme)
{
restme... | mit | C# |
f4d9274c0a101cf7d8b3a32505f26b4853530028 | Update Spacefolder.cs | KerbaeAdAstra/KerbalFuture | KerbalFuture/Spacefolder.cs | KerbalFuture/Spacefolder.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KSP;
namespace KerbalFuture
{
class SpaceFolderData : MonoBehavior
{
public static string path()
{
return System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Loca... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KSP;
namespace KerbalFuture
{
class SpaceFolderData : MonoBehavior
{
public static string path()
{
return System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Loca... | mit | C# |
d6e989feb4d7ebc3663a394266364f2fde6408ce | add nano model types | mono/ipod-sharp,mono/ipod-sharp | src/DeviceModel.cs | src/DeviceModel.cs |
namespace IPod {
public enum DeviceModel {
Invalid,
Unknown,
Color,
ColorU2,
Regular,
RegularU2,
Mini,
MiniBlue,
MiniPink,
MiniGreen,
MiniGold,
Shuffle,
NanoWhite,
NanoBlack
}
}
|
namespace IPod {
public enum DeviceModel {
Invalid,
Unknown,
Color,
ColorU2,
Regular,
RegularU2,
Mini,
MiniBlue,
MiniPink,
MiniGreen,
MiniGold,
Shuffle
}
}
| lgpl-2.1 | C# |
699efff4e50d1932da254a114d70f37723fd5a97 | Set result false instead of cancelled in packet queue | ethanmoffat/EndlessClient | EOLib/Net/Communication/PacketQueue.cs | EOLib/Net/Communication/PacketQueue.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace EOLib.Net.Communication
{
public sealed class PacketQueu... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace EOLib.Net.Communication
{
public sealed class PacketQueu... | mit | C# |
40d9c7c3d08935b5eb34bcd7aa614c871afee378 | add a missing execute, so signatures dont change | hudl/HudlFfmpeg | Hudl.FFprobe/Command/FFprobeCommand.cs | Hudl.FFprobe/Command/FFprobeCommand.cs | using System;
using System.Collections.Generic;
using Hudl.FFmpeg.Command.BaseTypes;
using Hudl.FFmpeg.Command.Models;
using Hudl.FFmpeg.Resources.Interfaces;
using Hudl.FFmpeg.Settings.Interfaces;
namespace Hudl.FFprobe.Command
{
public class FFprobeCommand : FFcommandBase
{
private FFprobeCommand(IC... | using System;
using System.Collections.Generic;
using Hudl.FFmpeg.Command.BaseTypes;
using Hudl.FFmpeg.Command.Models;
using Hudl.FFmpeg.Resources.Interfaces;
using Hudl.FFmpeg.Settings.Interfaces;
namespace Hudl.FFprobe.Command
{
public class FFprobeCommand : FFcommandBase
{
private FFprobeCommand(IC... | apache-2.0 | C# |
22029a122b1614eb55abf395d3ae3de367b67d28 | Remove version attributes from assembly info | TheEadie/LazyLibrary,TheEadie/LazyStorage,TheEadie/LazyStorage | LazyStorage/Properties/AssemblyInfo.cs | LazyStorage/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("Laz... | 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("Laz... | mit | C# |
f5777d89b04272c3c2551ee1e0c184a06e930b9c | implement vertex gethashcode | prozum/solitude | Libraries/GraphDB/Vertex.cs | Libraries/GraphDB/Vertex.cs | using System;
using System.Collections.Generic;
namespace GraphDB
{
public class Vertex
{
// global id counter to make sure every vertex is a special little snowflake
static int _id = 0;
int id;
public int ID
{
get
{
return id;
}
}
public List<Edge> Edges = new List<Edge>();
public ... | using System;
using System.Collections.Generic;
namespace GraphDB
{
public class Vertex
{
// global id counter to make sure every vertex is a special little snowflake
static int _id = 0;
int id;
public int ID
{
get
{
return id;
}
}
public List<Edge> Edges = new List<Edge>();
public ... | mit | C# |
32d0e6434289af2b39ca45130892da47fae020f5 | change version to 3.4.1 | SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014-2016 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-2016 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# |
205f2c27e16d076c204c1a5d3ae59ce778c80b27 | Change version number to 1.2.1 | SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,RachelTucker/ds3_net_sdk,rpmoore/ds3_net_sdk,shabtaisharon/ds3_net_sdk,rpmoore/ds3_net_sdk,SpectraLogic/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,rpmoore/ds3_net_sdk | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is loc... | /*
* ******************************************************************************
* Copyright 2014 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is loc... | apache-2.0 | C# |
7b65e55d8417421aa61c16a4aedca2425920d7a8 | Bump Store.Storage.Pgsql version 0.0.2.4 | once-ler/Store | Store.Storage.Pgsql/Properties/AssemblyInfo.cs | Store.Storage.Pgsql/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
ff9d9610b78408d68489883644a1edcc89350ada | fix case sensitive envvar for linux | csMACnz/coveralls.net | src/csmacnz.Coveralls/GitDataResolvers/AppVeyorGitDataResolver.cs | src/csmacnz.Coveralls/GitDataResolvers/AppVeyorGitDataResolver.cs | using csmacnz.Coveralls.Data;
using csmacnz.Coveralls.Ports;
namespace csmacnz.Coveralls.GitDataResolvers
{
public class AppVeyorGitDataResolver : IGitDataResolver
{
private readonly IEnvironmentVariables _variables;
public AppVeyorGitDataResolver(IEnvironmentVariables variables)
{
... | using csmacnz.Coveralls.Data;
using csmacnz.Coveralls.Ports;
namespace csmacnz.Coveralls.GitDataResolvers
{
public class AppVeyorGitDataResolver : IGitDataResolver
{
private readonly IEnvironmentVariables _variables;
public AppVeyorGitDataResolver(IEnvironmentVariables variables)
{
... | mit | C# |
8d2d0baf53a0ee03ac6ea7db4c711c306a437b63 | Change default window size | k-t/SharpHaven | MonoHaven.Client/App.cs | MonoHaven.Client/App.cs | using System;
using System.Drawing;
using System.Threading;
using System.Windows.Threading;
using MonoHaven.Resources;
using NLog;
using OpenTK;
using OpenTK.Graphics;
namespace MonoHaven
{
public static class App
{
private static readonly Logger Log = LogManager.GetCurrentClassLogger();
private static Audio au... | using System;
using System.Drawing;
using System.Threading;
using System.Windows.Threading;
using MonoHaven.Resources;
using NLog;
using OpenTK;
using OpenTK.Graphics;
namespace MonoHaven
{
public static class App
{
private static readonly Logger Log = LogManager.GetCurrentClassLogger();
private static Audio au... | mit | C# |
8f6758cbfe397474b92fe81dc0c002d50010add0 | Update Nunu.cs | metaphorce/leaguesharp | MetaSmite/Champions/Nunu.cs | MetaSmite/Champions/Nunu.cs | using System;
using LeagueSharp;
using SharpDX;
using LeagueSharp.Common;
namespace MetaSmite.Champions
{
public static class Nunu
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spellDa... | using System;
using LeagueSharp;
using SharpDX;
using LeagueSharp.Common;
namespace MetaSmite.Champions
{
public static class Nunu
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spellDa... | mit | C# |
3b6cbdc3af42de2d268c426ec98cf400f242b69d | Bump version to 33 | alecgorge/adzerk-dot-net | StackExchange.Adzerk/Properties/AssemblyInfo.cs | StackExchange.Adzerk/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("St... | 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("St... | mit | C# |
67de54908a7eefe93cd7f2b72db43c8f95cf64f6 | Test filenames are case insensitive too. | simontaylor81/Syrup,simontaylor81/Syrup | SRPTests/TestRenderer/TestWorkspace.cs | SRPTests/TestRenderer/TestWorkspace.cs | using SRPCommon.Interfaces;
using SRPCommon.Util;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SRPTests.TestRenderer
{
// Implementation of IWorkspace that finds test files.
class TestWorkspace : IWorkspace
{
privat... | using SRPCommon.Interfaces;
using SRPCommon.Util;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SRPTests.TestRenderer
{
// Implementation of IWorkspace that finds test files.
class TestWorkspace : IWorkspace
{
privat... | mit | C# |
04adc3a6ab7b35c1eb2345f496b1a8cbfa605493 | Rename method name | bunashibu/kikan | Assets/Scripts/StartUp/StartUpInstantiator.cs | Assets/Scripts/StartUp/StartUpInstantiator.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Bunashibu.Kikan {
public class StartUpInstantiator : MonoBehaviour {
public Player InstantiatePlayer(string jobName) {
var pos = StageReference.Instance.StageData.RespawnPosition;
// NOTE: Team 0 is Red(Right),... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Bunashibu.Kikan {
public class StartUpInstantiator : MonoBehaviour {
public Player InstantiatePlayer(string jobName) {
var pos = StageReference.Instance.StageData.RespawnPosition;
// NOTE: Team 0 is Red(Right),... | mit | C# |
a4aba52ab0815171b447f7e2135e396f71921121 | Update version | aloisdg/SharpResume | SharpResume/Properties/AssemblyInfo.cs | SharpResume/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[asse... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[asse... | mit | C# |
d641726c6f3a971c4d1f301ad3d54f992d411c72 | Fix bug in file selection | appharbor/appharbor-cli | src/AppHarbor/CompressionExtensions.cs | src/AppHarbor/CompressionExtensions.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using ICSharpCode.SharpZipLib.Tar;
namespace AppHarbor
{
public static class CompressionExtensions
{
public static void ToTar(this DirectoryInfo sourceDirectory, Stream output, string[] excludedDirectoryNames)
{
var archive = TarArchive.Cr... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using ICSharpCode.SharpZipLib.Tar;
namespace AppHarbor
{
public static class CompressionExtensions
{
public static void ToTar(this DirectoryInfo sourceDirectory, Stream output, string[] excludedDirectoryNames)
{
var archive = TarArchive.Cr... | mit | C# |
9a45e11bc8fdd7888c219cd65c5072a955dfd27a | Remove unused variables. | andrewdavey/cassette,BluewireTechnologies/cassette,honestegg/cassette,honestegg/cassette,andrewdavey/cassette,andrewdavey/cassette,honestegg/cassette,damiensawyer/cassette,damiensawyer/cassette,damiensawyer/cassette,BluewireTechnologies/cassette | src/Cassette.Web/CassetteHttpModule.cs | src/Cassette.Web/CassetteHttpModule.cs | #region License
/*
Copyright 2011 Andrew Davey
This file is part of Cassette.
Cassette is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
... | #region License
/*
Copyright 2011 Andrew Davey
This file is part of Cassette.
Cassette is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
... | mit | C# |
91eb9c8be8f5735975ab298c915a107f57537683 | Update IKnownFolders.cs | tiksn/TIKSN-Framework | TIKSN.Core/FileSystem/IKnownFolders.cs | TIKSN.Core/FileSystem/IKnownFolders.cs | using Microsoft.Extensions.FileProviders;
namespace TIKSN.FileSystem
{
public interface IKnownFolders
{
IFileProvider LocalAppData { get; }
IFileProvider RoamingAppData { get; }
}
}
| using Microsoft.Extensions.FileProviders;
namespace TIKSN.FileSystem
{
public interface IKnownFolders
{
IFileProvider LocalAppData { get; }
IFileProvider RoamingAppData { get; }
}
} | mit | C# |
2a406fc14cad1ebdd1e87bcd8a6e4e581ee719ed | Refactor en default.aspx.cs | PabloValor/ProgramacionWebIII,PabloValor/ProgramacionWebIII | TP/AlquilaCocheras.Web/default.aspx.cs | TP/AlquilaCocheras.Web/default.aspx.cs | using System;
using AlquilaCocheras.Data.Constantes;
using AlquilaCocheras.Negocio.Mapeos;
using AlquilaCocheras.Negocio.Servicios;
namespace AlquilaCocheras.Web
{
public partial class _default : System.Web.UI.Page
{
private ReservasServicio _reservasServicio;
protected void Page_Load(object... | using System;
using AlquilaCocheras.Data.Constantes;
using AlquilaCocheras.Negocio.Mapeos;
using AlquilaCocheras.Negocio.Servicios;
namespace AlquilaCocheras.Web
{
public partial class _default : System.Web.UI.Page
{
private ReservasServicio _reservasServicio;
protected void Page_Load(object... | mit | C# |
f5c06296fe1870951929832bc152f96e7cec514a | Update ForceMouseMove.cs | HiddenMonk/UnityInputLagTest | InputLagTest/Assets/Scripts/ForceMouseMove.cs | InputLagTest/Assets/Scripts/ForceMouseMove.cs | using System;
using UnityEngine;
using UnityEngine.UI;
public class ForceMouseMove : MonoBehaviour
{
public Button button;
public Text textSet;
public Text text;
//Hmmmmm, I'm not sure why I didnt just ForceSetMouse.MoveMouse on a KeyDown instead of this whole timer thing... silly me =)
int setEveryA... | using System;
using UnityEngine;
using UnityEngine.UI;
public class ForceMouseMove : MonoBehaviour
{
public Button button;
public Text textSet;
public Text text;
int setEveryAmountOfFrames = 50;
int current;
bool isForward = true;
Vector3 pos;
Vector2 forward = new Vector2(50, 0);
Vector2 bac... | mit | C# |
041003e7c85525f63ddde04c8827d883c063e987 | Add docs for 'EntryListInput' | InfiniteSoul/Azuria | Azuria/Api/v1/Input/EntryListInput.cs | Azuria/Api/v1/Input/EntryListInput.cs | using Azuria.Api.v1.RequestBuilder;
using Azuria.Enums;
using Azuria.Enums.List;
namespace Azuria.Api.v1.Input
{
/// <summary>
/// Represents the input of the <see cref="ListRequestBuilder.GetEntryList"/> method.
/// </summary>
public class EntryListInput
{
/// <summary>
/// Gets o... | using Azuria.Api.v1.RequestBuilder;
using Azuria.Enums;
using Azuria.Enums.List;
namespace Azuria.Api.v1.Input
{
/// <summary>
/// Represents the input of the <see cref="ListRequestBuilder.GetEntryList"/> method.
/// </summary>
public class EntryListInput
{
/// <summary>
///
... | mit | C# |
6e70e2a84fb7f8f54f555135317b5bebdaeb2509 | Change PrereleasePackageDependencyRule from Error to Warning (#396) | NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,campersau/NuGetPackageExplorer | PackageViewModel/PackageAnalyzer/PrereleasePackageDependencyRule.cs | PackageViewModel/PackageAnalyzer/PrereleasePackageDependencyRule.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Globalization;
using NuGetPe;
using NuGetPackageExplorer.Types;
using NuGet.Packaging.Core;
namespace PackageExplorerViewModel.Rules
{
[Export(typeof(IPackageRule))]
internal class Prerelea... | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Globalization;
using NuGetPe;
using NuGetPackageExplorer.Types;
using NuGet.Packaging.Core;
namespace PackageExplorerViewModel.Rules
{
[Export(typeof(IPackageRule))]
internal class Prerelea... | mit | C# |
a0096ba61df0d11aa85d188483d90de0d21e1bb1 | Update AssemblyInfo.cs | agaboduarte/Cielo-API-3.0 | Cielo/Properties/AssemblyInfo.cs | Cielo/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("Ci... | 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("Ci... | mit | C# |
7c81979b1d100ea5fde0811745ead2eb81c0aacc | Fix issue with injection; | KonH/UDBase | Scripts/Controllers/Scene/AsyncSceneLoader.cs | Scripts/Controllers/Scene/AsyncSceneLoader.cs | using System;
using UnityEngine;
using UnityEngine.SceneManagement;
using UDBase.Controllers.EventSystem;
namespace UDBase.Controllers.SceneSystem {
/// <summary>
/// Asynchronous scene loader
/// </summary>
public sealed class AsyncSceneLoader : IScene {
/// <summary>
/// Base settings for AsyncSceneLoader... | using System;
using UnityEngine;
using UnityEngine.SceneManagement;
using UDBase.Controllers.EventSystem;
namespace UDBase.Controllers.SceneSystem {
/// <summary>
/// Asynchronous scene loader
/// </summary>
public sealed class AsyncSceneLoader : IScene {
/// <summary>
/// Base settings for AsyncSceneLoader... | mit | C# |
70a16667b69b329f901a54f4ef5e8d3a2a5bbc25 | Fix difficulty calculator regression when applying mods | DrabWeb/osu,johnneijzen/osu,UselessToucan/osu,DrabWeb/osu,EVAST9919/osu,ppy/osu,peppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,naoey/osu,ppy/osu,johnneijzen/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,2yangk23/osu,2yangk23/osu,naoey/osu,ZLima12/osu,EVAST9919/osu,... | osu.Game/Beatmaps/DifficultyCalculator.cs | osu.Game/Beatmaps/DifficultyCalculator.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 osu.Game.Rulesets.Objects;
using System.Collections.Generic;
using osu.Game.Rulesets.Mods;
using osu.Framework.Timing;
using System.Linq;
using osu.Framew... | // 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.Game.Rulesets.Objects;
using System.Collections.Generic;
using osu.Game.Rulesets.Mods;
using osu.Framework.Timing;
using System.Linq;
using osu.Framew... | mit | C# |
7c3d3ef0c69c53403d06ed1d85bdaf9fa3c9eeaf | Add and fix Playlist properties, revert Playlist songs container to List | GodTamIt/.NET-Google-Music-API | GoogleMusicAPI.NET/Models/Playlist.cs | GoogleMusicAPI.NET/Models/Playlist.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace GoogleMusic
{
public class Playlist
{
#region Properties: Info
[JsonProperty("title")]
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace GoogleMusic
{
public class Playlist
{
#region Properties: Info
[JsonProperty("title")]
public s... | mit | C# |
a0b040891638761223d2003cc2c8e2c219971725 | Update docs. | Faithlife/Parsing | src/Faithlife.Parsing/Parser-Or.cs | src/Faithlife.Parsing/Parser-Or.cs | namespace Faithlife.Parsing;
public static partial class Parser
{
/// <summary>
/// Succeeds with a successful parser, if any.
/// </summary>
/// <remarks>The first successful parser that advances the text position is returned.
/// Otherwise, the first successful parser that does not advance the text position is ... | namespace Faithlife.Parsing;
public static partial class Parser
{
/// <summary>
/// Succeeds with a successful parser, if any.
/// </summary>
/// <remarks>The first successful parser that advances the text position is returned.
/// Otherwise, the first successful parser that does not advance the text position is ... | mit | C# |
8f0b9cac635b39ccd8a56be19da0ae38f7290c77 | Use RuntimeInformation class to check environment. | 0xd4d/dnlib | src/IO/DataReaderFactoryFactory.cs | src/IO/DataReaderFactoryFactory.cs | // dnlib: See LICENSE.txt for more info
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace dnlib.IO {
static class DataReaderFactoryFactory {
static readonly bool isUnix;
static DataReaderFactoryFactory() {
// See http://mono-project.com/FAQ:_Technical#Mono_Platforms for platform ... | // dnlib: See LICENSE.txt for more info
using System;
using System.IO;
namespace dnlib.IO {
static class DataReaderFactoryFactory {
static readonly bool isUnix;
static DataReaderFactoryFactory() {
// See http://mono-project.com/FAQ:_Technical#Mono_Platforms for platform detection.
int p = (int)Environment... | mit | C# |
423356fca0d1ea3b82174fa7c80d07cd7ca8ec20 | Add implicit conversion from string to Location to support syntax such as `Browser.Window.Location = "/"` | kswoll/WootzJs,kswoll/WootzJs,x335/WootzJs,kswoll/WootzJs,x335/WootzJs,x335/WootzJs | WootzJs.Web/Location.cs | WootzJs.Web/Location.cs | using System.Runtime.WootzJs;
namespace WootzJs.Web
{
[Js(Export = false)]
public class Location
{
[Js(Name = "pathname")]
// ReSharper disable once UnassignedReadonlyField
public readonly string PathName;
[Js(Name = "host")]
// ReSharper disable once UnassignedReadonlyField
... | using System.Runtime.WootzJs;
namespace WootzJs.Web
{
[Js(Export = false)]
public class Location
{
[Js(Name = "pathname")]
// ReSharper disable once UnassignedReadonlyField
public readonly string PathName;
[Js(Name = "host")]
// ReSharper disable once UnassignedReadonlyField
... | mit | C# |
f2f08e11ed0010062cc3bdacafcbf948bdba3e6c | Simplify ColRow.ToString to display (Col,Row) only | atifaziz/A1,atifaziz/A1 | A1/ColRow.cs | A1/ColRow.cs | #region Copyright (c) 2016 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) 2016 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# |
70d0cde00176b93d1faa86ee3b2cc57b3c500aef | Make DisconnectMessage prefer-reliable only | chkn/Tempest | Desktop/Tempest/InternalProtocol/DisconnectMessage.cs | Desktop/Tempest/InternalProtocol/DisconnectMessage.cs | //
// DisconnectMessage.cs
//
// Author:
// Eric Maupin <me@ermau.com>
//
// Copyright (c) 2011-2012 Eric Maupin
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, ... | //
// DisconnectMessage.cs
//
// Author:
// Eric Maupin <me@ermau.com>
//
// Copyright (c) 2011-2012 Eric Maupin
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, ... | mit | C# |
650d0a1eaf13712867c3bfb662099177217edea1 | Package path | sintefneodroid/droid,sintefneodroid/droid | Runtime/NeodroidInfo.cs | Runtime/NeodroidInfo.cs | using System.Linq;
using UnityEditor;
namespace Neodroid.Runtime {
/// <summary>
/// </summary>
public static class NeodroidInfo {
/// <summary>
/// </summary>
public const string _Version = "0.1.1";
public const string _debug_pref_key = "EnableNeodroidDebug";
public const string _github_ex... | using System.Linq;
using UnityEditor;
namespace Neodroid.Runtime {
/// <summary>
/// </summary>
public static class NeodroidInfo {
/// <summary>
/// </summary>
public const string _Version = "0.1.1";
public const string _debug_pref_key = "EnableNeodroidDebug";
public const string _github_ex... | apache-2.0 | C# |
5d8793148313f9fc41f6fb03dc7bc6f0ae1f0b50 | Bump for v0.8.2 | 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# |
0d86dab80a4791b0882c3a79ddd462121ad146ab | Fix multiplayer components updating when not alive | ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu | osu.Game/Screens/OnlinePlay/Multiplayer/MultiplayerRoomComposite.cs | osu.Game/Screens/OnlinePlay/Multiplayer/MultiplayerRoomComposite.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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Game.Online.Multiplayer;
namespace osu.Game.Screens.OnlinePlay.Multiplayer
{
public abstract c... | // 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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Game.Online.Multiplayer;
namespace osu.Game.Screens.OnlinePlay.Multiplayer
{
public abstract c... | mit | C# |
c11ab4e82f3218bfeacef05c3529b93545f9845c | replace Assembly.LoadFile with AssemblyLoadContext.Default.LoadFromAssemblyPath | ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,oceanho/aspnetboilerplate,carldai0106/aspnetboilerplate,verdentk/aspnetboilerplate,Nongzhsh/aspnetboilerplate,andmattia/aspnetboilerplate,oceanho/aspnetboilerplate,AlexGeller/aspnetboilerplate,AlexGeller/aspnetboilerplate,fengyeju/aspnetboilerplate,oceanho/aspnetboile... | src/Abp/Reflection/AssemblyHelper.cs | src/Abp/Reflection/AssemblyHelper.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Loader;
namespace Abp.Reflection
{
internal static class AssemblyHelper
{
public static List<Assembly> GetAllAssembliesInFolder(string folderPath, SearchOption searchOption)
{
... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Abp.Reflection
{
internal static class AssemblyHelper
{
public static List<Assembly> GetAllAssembliesInFolder(string folderPath, SearchOption searchOption)
{
var assemblyFiles =... | mit | C# |
e51cb7607c93b57ef19b33c2b1b3cdffff6d3010 | fix from trow | Sanva/f-spot,GNOME/f-spot,NguyenMatthieu/f-spot,Yetangitu/f-spot,mans0954/f-spot,mono/f-spot,NguyenMatthieu/f-spot,GNOME/f-spot,mono/f-spot,dkoeb/f-spot,Yetangitu/f-spot,Yetangitu/f-spot,mans0954/f-spot,mans0954/f-spot,GNOME/f-spot,nathansamson/F-Spot-Album-Exporter,mans0954/f-spot,NguyenMatthieu/f-spot,dkoeb/f-spot,na... | src/TimeAdaptor.cs | src/TimeAdaptor.cs | using System;
using System.Collections;
namespace FSpot {
public class TimeAdaptor : GroupAdaptor {
public PhotoQuery query;
private int span;
ArrayList years = new ArrayList ();
struct YearData {
public int Year;
public int [] Months;
}
public override event GlassSetHandler GlassSet;
public ove... | using System;
using System.Collections;
namespace FSpot {
public class TimeAdaptor : GroupAdaptor {
public PhotoQuery query;
private int span;
ArrayList years = new ArrayList ();
struct YearData {
public int Year;
public int [] Months;
}
public override event GlassSetHandler GlassSet;
public ove... | mit | C# |
e8ec4a887c7021500ea7aad4b8da494354ab969e | Add a MoveManager test | MorganR/wizards-chess,MorganR/wizards-chess | WizardsChess/WizardsChessTest/Movement/MoveTesting.cs | WizardsChess/WizardsChessTest/Movement/MoveTesting.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WizardsChess.Chess;
using WizardsChess.Movement;
using WizardsChess.Movement.Drv;
using WizardsChess.VoiceControl;
using ... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WizardsChess.Chess;
using WizardsChess.Movement;
using WizardsChess.Movement.Drv;
using WizardsChess.VoiceControl;
using ... | apache-2.0 | C# |
33d2e2e3bbd763b7769558eea0090bccf177c6ff | Fix bug in http handler constraints | appharbor/ConsolR,appharbor/ConsolR | Hosting/HttpHandlerExtensions.cs | Hosting/HttpHandlerExtensions.cs | using System.Web;
using System.Web.Routing;
namespace ConsolR.Hosting
{
public static class HttpHandlerExtensions
{
public static void MapHttpHandler<THandler>(this RouteCollection routes, string url) where THandler : IHttpHandler, new()
{
routes.MapHttpHandler<THandler>(null, url, null, null);
}
public... | using System.Web;
using System.Web.Routing;
namespace ConsolR.Hosting
{
public static class HttpHandlerExtensions
{
public static void MapHttpHandler<THandler>(this RouteCollection routes, string url) where THandler : IHttpHandler, new()
{
routes.MapHttpHandler<THandler>(null, url, null, null);
}
public... | mit | C# |
bd18d7ac0dd4a6392ee1e94bd35354e685d1cc95 | Add ISeriesData definitions | JedBurke/MangaUpdatesCheck | MangaUpdatesCheck/ISeriesData.cs | MangaUpdatesCheck/ISeriesData.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MangaUpdatesCheck
{
public interface ISeriesData
{
string Title { get; }
string Description { get; }
bool IsCompleted { get; }
bool IsFullyScanlated { g... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MangaUpdatesCheck
{
public interface ISeriesData
{
string Title { get; }
string Description { get; }
bool IsCompleted { get; }
bool IsFullyScanlated { g... | bsd-3-clause | C# |
7bc975e2fa339c88dfd7f224a9ad940c9f3c0c84 | Make sure default svg is utf-8 | jomar/NGraphics,praeclarum/NGraphics | NGraphics.Test/SvgWriterTests.cs | NGraphics.Test/SvgWriterTests.cs | #if VSTEST
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using TestFixtureAttribute = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.TestClassAttribute;
using TestAttribute = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.AppContainer.UITestMethodAttribute;
#else
using NUnit.Framework;
#en... | #if VSTEST
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using TestFixtureAttribute = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.TestClassAttribute;
using TestAttribute = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.AppContainer.UITestMethodAttribute;
#else
using NUnit.Framework;
#en... | mit | C# |
40eab3f90862748818d167d8c9e2af9c60a0a7f9 | Add Padding to ContentPage | Bigsby/Xamarin.Forms.OAuth | src/OAuthTestApp/OAuthTestApp/App.cs | src/OAuthTestApp/OAuthTestApp/App.cs | using System.Reflection;
using Xamarin.Forms;
using Xamarin.Forms.OAuth;
using Xamarin.Forms.OAuth.Views;
namespace OAuthTestApp
{
public class App : Application
{
public App()
{
LoadProviders();
// The root page of your application
MainPage =... | using System.Reflection;
using Xamarin.Forms;
using Xamarin.Forms.OAuth;
using Xamarin.Forms.OAuth.Views;
namespace OAuthTestApp
{
public class App : Application
{
public App()
{
LoadProviders();
// The root page of your application
MainPage =... | mit | C# |
9d1b7aeb1fd8f565ea1be62e9e4747cdf340aeab | add description for nuget package and assembly | nrjohnstone/AmbientContext | src/AmbientContext/Properties/AssemblyInfo.cs | src/AmbientContext/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTit... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTit... | mit | C# |
cdb0675145125ab821c6e5a6a9aa1ab7a07d0387 | remove useless "count" | g0rdan/g0rdan.MvvmCross.Plugins | samples/MvvmCross.Plugins/iOS/ViewController.cs | samples/MvvmCross.Plugins/iOS/ViewController.cs | using System;
using UIKit;
using MvvmCross.Platform;
using g0rdan.MvvmCross.Plugins;
using g0rdan.MvvmCross.Plugin.SimpleEmail;
namespace MvvmCross.Plugins.iOS
{
public partial class ViewController : UIViewController
{
public ViewController (IntPtr handle) : base (handle)
{
}
... | using System;
using UIKit;
using MvvmCross.Platform;
using g0rdan.MvvmCross.Plugins;
using g0rdan.MvvmCross.Plugin.SimpleEmail;
namespace MvvmCross.Plugins.iOS
{
public partial class ViewController : UIViewController
{
int count = 1;
public ViewController (IntPtr handle) : base (handle)
... | mit | C# |
4ac6c8fb476ba5051c3dde63d9cce3c6414cd552 | fix typo | mayuki/PlatformStatusTracker,mayuki/PlatformStatusTracker,mayuki/PlatformStatusTracker | PlatformStatusTracker/PlatformStatusTracker.Web/Infrastracture/TagHelpers/VisibilityTagHelper.cs | PlatformStatusTracker/PlatformStatusTracker.Web/Infrastracture/TagHelpers/VisibilityTagHelper.cs | using Microsoft.AspNetCore.Razor.TagHelpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PlatformStatusTracker.Web.Infrastracture.TagHelpers
{
[HtmlTargetElement(Attributes = VisibilityAttributeName)]
public class VisibilityTagHelper : Ta... | using Microsoft.AspNetCore.Razor.TagHelpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PlatformStatusTracker.Web.Infrastracture.TagHelpers
{
[HtmlTargetElement(Attributes = VisibilityAttributeName)]
public class VisibilityTagHelper : Ta... | mit | C# |
341211347a857bdbd6cbec25fe57c9f4b9ae7a74 | Fix formating of datetime in Logger | mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,mdavid/manos... | src/Manos/Manos.Logging/ManosConsoleLogger.cs | src/Manos/Manos.Logging/ManosConsoleLogger.cs | //
// AbstractManosLogger.cs
//
// Author:
// Anirudh Sanjeev <anirudh@anirudhsanjeev.org>
//
// Copyright (c) 2010 Anirudh Sanjeev
//
// 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 Sof... | //
// AbstractManosLogger.cs
//
// Author:
// Anirudh Sanjeev <anirudh@anirudhsanjeev.org>
//
// Copyright (c) 2010 Anirudh Sanjeev
//
// 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 Sof... | mit | C# |
a061b83fca914942c06c40383dad59cf2ab46ed3 | move stuff around. | jonnii/chinchilla | src/Chinchilla/ErrorQueueFaultStrategy.cs | src/Chinchilla/ErrorQueueFaultStrategy.cs | using System;
using System.Text;
using Chinchilla.Logging;
using Chinchilla.Topologies;
using Chinchilla.Topologies.Model;
namespace Chinchilla
{
public class ErrorQueueFaultStrategy : IFaultStrategy, IMessageTopologyBuilder
{
private readonly ILogger logger = Logger.Create<ErrorQueueFaultStrategy>();
... | using System;
using System.Text;
using Chinchilla.Logging;
using Chinchilla.Topologies;
using Chinchilla.Topologies.Model;
namespace Chinchilla
{
public class ErrorQueueFaultStrategy : IFaultStrategy, IMessageTopologyBuilder
{
private readonly ILogger logger = Logger.Create<ErrorQueueFaultStrategy>();
... | apache-2.0 | C# |
95e9d652f155c5fc7035b3d17c15a073f4eb20f1 | update resource helper to also do token substitution | SonOfSam/IdentityServer3,charoco/IdentityServer3,tuyndv/IdentityServer3,huoxudong125/Thinktecture.IdentityServer.v3,bestwpw/IdentityServer3,johnkors/Thinktecture.IdentityServer.v3,bodell/IdentityServer3,openbizgit/IdentityServer3,jackswei/IdentityServer3,uoko-J-Go/IdentityServer,jonathankarsh/IdentityServer3,delloncba/... | source/Core/Plumbing/EmbeddedResourceManager.cs | source/Core/Plumbing/EmbeddedResourceManager.cs | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Text;
namespace Thinktecture.IdentityServer.Core.Plumbing
{
class EmbeddedResourceManager
{
static ConcurrentDictionary<string, string> ResourceStrings = new ConcurrentDict... | using System.Collections.Concurrent;
using System.IO;
namespace Thinktecture.IdentityServer.Core.Plumbing
{
class EmbeddedResourceManager
{
static ConcurrentDictionary<string, string> ResourceStrings = new ConcurrentDictionary<string, string>();
internal static string LoadResourceString(string... | apache-2.0 | C# |
32b3641d19c11f589a8b179a0d7083334c466693 | Build fix | ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab | source/Server/Common/Diagnostics/AssemblyLog.cs | source/Server/Common/Diagnostics/AssemblyLog.cs | using System.Diagnostics;
using System.IO;
#if DEBUG
using System.Threading;
#endif
using Mono.Cecil;
namespace SharpLab.Server.Common.Diagnostics {
public static class AssemblyLog {
#if DEBUG
private static readonly AsyncLocal<string> _pathFormat = new AsyncLocal<string>();
p... | using System;
using System.Diagnostics;
#if DEBUG
using System.IO;
using System.Threading;
#endif
using ICSharpCode.Decompiler.Metadata;
using Mono.Cecil;
namespace SharpLab.Server.Common.Diagnostics {
public static class AssemblyLog {
#if DEBUG
private static readonly AsyncLocal<strin... | bsd-2-clause | C# |
e58b206e97ae9ed9738003d0b9fb7d97a076d24e | Replace default constructor with failed property on PageProvider | toddams/RazorLight,toddams/RazorLight,gr8woo/RazorLight,gr8woo/RazorLight | src/RazorLight/Templating/PageLookupResult.cs | src/RazorLight/Templating/PageLookupResult.cs | using System.Collections.Generic;
namespace RazorLight.Templating
{
public class PageLookupResult
{
public static PageLookupResult Failed => new PageLookupResult();
private PageLookupResult()
{
this.Success = false;
}
public PageLookupResult(PageLookupItem item, IReadOnlyLi... | using System.Collections.Generic;
namespace RazorLight.Templating
{
public class PageLookupResult
{
public PageLookupResult()
{
this.Success = false;
}
public PageLookupResult(PageLookupItem item, IReadOnlyList<PageLookupItem> viewStartEntries)
{
this.ViewEntry = item;
... | apache-2.0 | C# |
16fd350abf84d87de8d668eb474c55d6b9339502 | Add XML doc comments on Id and NodeId | KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog | src/StructuredLogger/ObjectModel/TimedNode.cs | src/StructuredLogger/ObjectModel/TimedNode.cs | using System;
namespace Microsoft.Build.Logging.StructuredLogger
{
public class TimedNode : NamedNode
{
/// <summary>
/// The Id of a Project, ProjectEvaluation, Target and Task.
/// Corresponds to ProjectStartedEventsArgs.ProjectId, TargetStartedEventArgs.TargetId, etc.
... | using System;
namespace Microsoft.Build.Logging.StructuredLogger
{
public class TimedNode : NamedNode
{
public int Id { get; set; }
public int NodeId { get; set; }
/// <summary>
/// Unique index of the node in the build tree, can be used as a
/// "URL" to n... | mit | C# |
ec843313e8a1f3784aba8414e9b2adc03a5a98fe | Fix a bug that caused the last addin repository's name to not be saved. | Mailaender/Pinta,jakeclawson/Pinta,Fenex/Pinta,jakeclawson/Pinta,Fenex/Pinta,Mailaender/Pinta,PintaProject/Pinta,PintaProject/Pinta,PintaProject/Pinta | Pinta/AddinSetupService.cs | Pinta/AddinSetupService.cs | //
// AddinSetupService.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2011 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
//... | //
// AddinSetupService.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2011 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
//... | mit | C# |
aec73beb5fb3856f2c2ad737758ed3f2436fbab8 | Bump version | LouisMT/TeleBotDotNet,Naxiz/TeleBotDotNet | 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("TeleBotDotNet")]
[assembly: AssemblyDescr... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("TeleBotDotNet")]
[assembly: AssemblyDescr... | mit | C# |
f290170f9f446e07a1eb38060b3b9e180c9a93ba | Update StaticDirectoryContent.cs | damianh/Nancy,dbabox/Nancy,felipeleusin/Nancy,blairconrad/Nancy,dbolkensteyn/Nancy,albertjan/Nancy,murador/Nancy,AlexPuiu/Nancy,sloncho/Nancy,dbolkensteyn/Nancy,dbabox/Nancy,Crisfole/Nancy,VQComms/Nancy,nicklv/Nancy,adamhathcock/Nancy,lijunle/Nancy,rudygt/Nancy,lijunle/Nancy,asbjornu/Nancy,grumpydev/Nancy,EliotJones/Na... | src/Nancy/Conventions/StaticDirectoryContent.cs | src/Nancy/Conventions/StaticDirectoryContent.cs | namespace Nancy.Conventions
{
/// <summary>
/// Nancy static directory convention helper
/// </summary>
public class StaticDirectoryContent
{
private readonly NancyConventions conventions;
/// <summary>
/// Creates a new instance of StaticDirectoryContent
... | namespace Nancy.Conventions
{
/// <summary>
/// Nancy static directory convention helper
/// </summary>
public class StaticDirectoryContent
{
private readonly NancyConventions conventions;
/// <summary>
/// Creates a new instance of StaticDirectoryContent
... | mit | C# |
a272b07dcee0e9fdb762d30c7fdcbca7998045da | test added | agileharbor/shopVisibleAccess | src/ShopVisibleAccessTests/Orders/OrderTests.cs | src/ShopVisibleAccessTests/Orders/OrderTests.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using LINQtoCSV;
using NUnit.Framework;
using ShopVisibleAccess;
using ShopVisibleAccess.Models;
namespace ShopVisibleAccessTests.Orders
{
public class OrderTests
{
private ShopVisibleFactory _factory;
private S... | using System;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using LINQtoCSV;
using NUnit.Framework;
using ShopVisibleAccess;
using ShopVisibleAccess.Models;
namespace ShopVisibleAccessTests.Orders
{
public class OrderTests
{
private ShopVisibleFactory _factory;
private S... | bsd-3-clause | C# |
83060bb4d1a9fe3272f72fb33ac3031920c49c80 | Fix installation step order | ap0llo/SyncTool | src/SyncTool/main/Cli/Installation/Installer.cs | src/SyncTool/main/Cli/Installation/Installer.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Squirrel;
using SyncTool.Cli.Configuration;
namespace SyncTool.Cli.Installation
{
static class Installer
{
public static void HandleInstallationEvents()
{
var steps = ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Squirrel;
using SyncTool.Cli.Configuration;
namespace SyncTool.Cli.Installation
{
static class Installer
{
public static void HandleInstallationEvents()
{
var steps = ... | mit | C# |
e107bf96bd920027996cf8d42459d565b0f0be5a | Change presentation of tag | dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch | src/TeacherPouch/Views/Shared/_TagButton.cshtml | src/TeacherPouch/Views/Shared/_TagButton.cshtml | @model Tag
<a asp-controller="Tag"
asp-action="Details"
asp-route-id="@Model.Id"
asp-route-name="@Model.Name"
class="tag"><span class="label label-primary">@Model.Name</span></a>
| @model Tag
<a asp-controller="Tag" asp-action="Details" asp-route-name="@Model.Name">
<span class="label label-info">
@Model.Name
</span>
</a>
| mit | C# |
a2b28e0bf4326b94b46e77945626940268526056 | Add missing header | peppy/osu,ppy/osu,ZLima12/osu,NeoAdonis/osu,peppy/osu,EVAST9919/osu,2yangk23/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,ZLima12/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,smoo... | osu.Game.Tournament/Screens/MapPool/MapPoolScreen.cs | osu.Game.Tournament/Screens/MapPool/MapPoolScreen.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 osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Screens;
using osu.Game.Tournament.Components;
using osu.Game.Tournament.Screens.La... | using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Screens;
using osu.Game.Tournament.Components;
using osu.Game.Tournament.Screens.Ladder.Components;
using OpenTK;
namespace osu.Game.Tournament.Screens.MapPool
{
public class MapPoolScreen : OsuScreen
{
public MapPool... | mit | C# |
be65302e0d5908041d410ac95affbc377b22877d | fix SaucerScript on play se | 178inaba/CoinPusher | Assets/SaucerScript.cs | Assets/SaucerScript.cs | using UnityEngine;
using System.Collections;
public class SaucerScript : MonoBehaviour {
public GameObject scoreText;
ScoreScript scoreS;
AudioSource getSE;
void Start() {
scoreS = scoreText.GetComponent<ScoreScript> ();
getSE = this.GetComponent<AudioSource> ();
}
void OnCollisionEnter(Collision colObj... | using UnityEngine;
using System.Collections;
public class SaucerScript : MonoBehaviour {
public GameObject scoreText;
ScoreScript scoreS;
void Start() {
scoreS = scoreText.GetComponent<ScoreScript> ();
}
void OnCollisionEnter(Collision colObject) {
if (colObject.gameObject.tag == "Coin") {
// delete ob... | mit | C# |
6779c6028a8dd84cf9a3b34274e0ef92c5a094d2 | Add Knight valid move logic | setthetempo/ConsoleChess | ConsoleChess/Knight.cs | ConsoleChess/Knight.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleChess
{
class Knight : Piece
{
public Knight(bool isBlack) : base(isBlack)
{
this.appearance = '&';
}
public override bool isLegalMo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleChess
{
class Knight : Piece
{
public Knight(bool isBlack) : base(isBlack)
{
this.appearance = '&';
}
}
}
| mit | C# |
b27692261a4aa147b67d1eef5c37b4cb193cdd2d | add docu | shrayasr/pinboard.net | pinboard.net/Endpoints/Notes.cs | pinboard.net/Endpoints/Notes.cs | using Flurl;
using pinboard.net.Models;
using pinboard.net.Util;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace pinboard.net.Endpoints
{
public class Notes : Endpoint
{
public Notes(string apiToken, HttpClient httpClient)
: base(apiToken, httpClient)
... | using Flurl;
using pinboard.net.Models;
using pinboard.net.Util;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace pinboard.net.Endpoints
{
public class Notes : Endpoint
{
public Notes(string apiToken, HttpClient httpClient)
: base(apiToken, httpClient)
... | mit | C# |
77cfd835840bce4095f8d47abfe26ee06b2d47e1 | Bump version to 0.18 | easy0519/exiflibrary,modulexcite/exiflibrary,oozcitak/exiflibrary,twsiyuan/exiflibrary | ExifLibrary/Properties/AssemblyInfo.cs | ExifLibrary/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
// 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... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
// 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... | mit | C# |
b593c478096b8919aa7078d5e9607e039c7f72ae | Add setting to toggle performance logging | peppy/osu,NeoAdonis/osu,NeoAdonis/osu,naoey/osu,ZLima12/osu,ppy/osu,johnneijzen/osu,smoogipoo/osu,smoogipoo/osu,johnneijzen/osu,DrabWeb/osu,Nabile-Rahmani/osu,EVAST9919/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,Frontear/osuKyzer,DrabWeb/osu,naoey/osu,peppy/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,ZL... | osu.Game/Overlays/Settings/Sections/Debug/GeneralSettings.cs | osu.Game/Overlays/Settings/Sections/Debug/GeneralSettings.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 osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
namespace osu.Game.Overlays.Settings.Sections.Debug
{
pub... | // 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.Configuration;
using osu.Framework.Graphics;
namespace osu.Game.Overlays.Settings.Sections.Debug
{
pub... | mit | C# |
e487a11493bd9c700676ea862babcdeaeabeaf8c | Replace Debug voice option with Nitori | plrusek/NitoriWare,uulltt/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare | Assets/Scripts/Stage/VoicePlayer.cs | Assets/Scripts/Stage/VoicePlayer.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VoicePlayer : MonoBehaviour
{
[SerializeField]
private AudioSource voiceSource;
private List<AudioClip> victoryClips, lossClips;
private bool soundQueued, victory;
public enum VoiceSet
{
None,
Nitori
}
void Sta... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VoicePlayer : MonoBehaviour
{
[SerializeField]
private AudioSource voiceSource;
private List<AudioClip> victoryClips, lossClips;
private bool soundQueued, victory;
public enum VoiceSet
{
None,
Debug
}
void Star... | mit | C# |
bcf9b67d4d01cf06e09c14396e8b006b1c40b85c | Add ItemDef to DotaLeague. | babelshift/SourceSchemaParser | SourceSchemaParser/Dota2/DotaLeague.cs | SourceSchemaParser/Dota2/DotaLeague.cs | using System;
namespace SourceSchemaParser.Dota2
{
public class DotaLeague
{
public string ItemDef { get; private set; }
public string Name { get; private set; }
public string ImageInventoryPath { get; private set; }
public string ImageBannerPath { get; private set; }
p... | using System;
namespace SourceSchemaParser.Dota2
{
public class DotaLeague
{
public string Name { get; private set; }
public string ImageInventoryPath { get; private set; }
public string ImageBannerPath { get; private set; }
public string NameLocalized { get; private set; }
... | mit | C# |
3f30ca368cf36ce3dd355c20988d94b840871dcf | fix typo | Pathoschild/StardewMods | DataLayers/Framework/ModIntegrations.cs | DataLayers/Framework/ModIntegrations.cs | using Pathoschild.Stardew.Common.Integrations.BetterSprinklers;
using Pathoschild.Stardew.Common.Integrations.Cobalt;
using Pathoschild.Stardew.Common.Integrations.PelicanFiber;
using Pathoschild.Stardew.Common.Integrations.SimpleSprinkler;
using StardewModdingAPI;
namespace Pathoschild.Stardew.DataLayers.Framework
{
... | using Pathoschild.Stardew.Common.Integrations.BetterSprinklers;
using Pathoschild.Stardew.Common.Integrations.Cobalt;
using Pathoschild.Stardew.Common.Integrations.PelicanFiber;
using Pathoschild.Stardew.Common.Integrations.SimpleSprinkler;
using StardewModdingAPI;
namespace Pathoschild.Stardew.DataLayers.Framework
{
... | mit | C# |
6ffe24c68b0500030a20539a6509a03d5724d1d5 | update config object | SvenVandenbrande/Emby.Plugins,lalmanzar/MediaBrowser.Plugins,SvenVandenbrande/Emby.Plugins,hamstercat/Emby.Plugins,lalmanzar/MediaBrowser.Plugins,heksesang/Emby.Plugins,SvenVandenbrande/Emby.Plugins,MediaBrowser/Emby.Plugins,Pengwyns/Emby.Plugins,hamstercat/Emby.Plugins,Pengwyns/Emby.Plugins,MediaBrowser/Emby.Plugins,h... | FolderSync/Configuration/SyncAccount.cs | FolderSync/Configuration/SyncAccount.cs |
namespace FolderSync.Configuration
{
public class SyncAccount
{
public string Id { get; set; }
public string Name { get; set; }
public string Path { get; set; }
public bool EnableAllUsers { get; set; }
public string[] UserIds { get; set; }
public SyncAccount()
... | using System.Collections.Generic;
namespace FolderSync.Configuration
{
public class SyncAccount
{
public string Id { get; set; }
public string Name { get; set; }
public string Path { get; set; }
public bool EnableAllUsers { get; set; }
public List<string> UserIds { get;... | mit | C# |
24cb4c4a2ee695746ef884b29173278784fa3a68 | Remove now unused using | OlsonDev/PersonalWebApp,OlsonDev/PersonalWebApp | Middleware/StripWhitespaceMiddleware.cs | Middleware/StripWhitespaceMiddleware.cs | using System.IO;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using PersonalWebApp.Extensions;
namespace PersonalWebApp.Middleware {
public class StripWhitespaceMiddleware {
private readonly RequestDelegate _next;
public StripWhitespace... | using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using PersonalWebApp.Extensions;
namespace PersonalWebApp.Middleware {
public class StripWhitespaceMiddleware {
private readonly RequestDele... | mit | C# |
33e765f8f5c4fd9be839ab0fee418d4c62be1bef | Use StringEnum converter in API model | AntiTcb/Discord.Net,Confruggy/Discord.Net,RogueException/Discord.Net | src/Discord.Net.Rest/API/Common/Embed.cs | src/Discord.Net.Rest/API/Common/Embed.cs | #pragma warning disable CS1591
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Discord.API
{
internal class Embed
{
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("description")]
public string Description { get; set; }
... | #pragma warning disable CS1591
using System;
using Newtonsoft.Json;
namespace Discord.API
{
internal class Embed
{
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("description")]
public string Description { get; set; }
[JsonProperty("url")]
... | mit | C# |
e6775f87d932f4aad80502ea8dda86d7c5d23b56 | Add NotFound and ErrorHandling middlewares | MakingSense/aspnet-hypermedia-api-seed,MakingSense/aspnet-hypermedia-api-seed | src/MakingSense.AspNet.HypermediaApi.Seed/Startup.cs | src/MakingSense.AspNet.HypermediaApi.Seed/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using Microsoft.Framework.DependencyInjection;
using Microsoft.AspNet.FileProviders;
using Microsoft.Dnx.Runtime;
using MakingSense.AspNet.Documentation... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using Microsoft.Framework.DependencyInjection;
using Microsoft.AspNet.FileProviders;
using Microsoft.Dnx.Runtime;
using MakingSense.AspNet.Documentation... | mit | C# |
b2cc45ad138fb49f5d7eeb7495b35701b7704551 | Remove some debug spew. | mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh... | src/Manos/Manos.IO/WriteFileOperation.cs | src/Manos/Manos.IO/WriteFileOperation.cs | //
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.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,... | //
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.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,... | mit | C# |
dddc6a2ebb5429b2c0e403f567eabceb19cebe53 | Remove quotes from `@addTagHelper` directive - react to aspnet/Razor#561 fix: PR aspnet/Razor#591 and commit aspnet/Razor@0c95315 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/MusicStore/Views/_ViewImports.cshtml | src/MusicStore/Views/_ViewImports.cshtml | @using MusicStore
@using MusicStore.Models
@using Microsoft.Extensions.OptionsModel
@using Microsoft.AspNet.Identity
@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers
| @using MusicStore
@using MusicStore.Models
@using Microsoft.Extensions.OptionsModel
@using Microsoft.AspNet.Identity
@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
| apache-2.0 | C# |
0805ca13610e2e441d77ea9593cfcee81d634400 | Fix english | OmniSharp/omnisharp-roslyn,xdegtyarev/omnisharp-roslyn,sriramgd/omnisharp-roslyn,khellang/omnisharp-roslyn,nabychan/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,hach-que/omnisharp-roslyn,xdegtyarev/omnisharp-roslyn,fishg/omnisharp-roslyn,sreal/omnisharp-roslyn,haled/omnisharp-roslyn,fishg/omnisharp-roslyn,RichiCode... | src/OmniSharp/Models/HighlightRequest.cs | src/OmniSharp/Models/HighlightRequest.cs | namespace OmniSharp.Models
{
public class HighlightRequest : Request
{
/// <summary>
/// Specifies which lines to highlight.
/// If none are given, highlight the entire
/// file.
/// </summary>
/// <remarks>
/// This is 0 indexed.
/// </rem... | namespace OmniSharp.Models
{
public class HighlightRequest : Request
{
/// <summary>
/// Spesifies which lines to highlight.
/// If none are given, highlight the entire
/// file.
/// </summary>
/// <remarks>
/// This is 0 indexed.
/// </rem... | mit | C# |
7512e29be70f1a89f6beab0e62f6b2ba21557b50 | Fix TabControl | bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,PowerOfCode/Eto | Source/Eto/Forms/Controls/TabControl.cs | Source/Eto/Forms/Controls/TabControl.cs | using System;
using System.Collections;
using System.Linq;
#if DESKTOP
using System.Windows.Markup;
#endif
namespace Eto.Forms
{
public interface ITabControl : IControl
{
int SelectedIndex { get; set; }
void InsertTab (int index, TabPage page);
void ClearTabs ();
void RemoveTab (int index, TabPage page... | using System;
using System.Collections;
using System.Linq;
#if DESKTOP
using System.Windows.Markup;
#endif
namespace Eto.Forms
{
public interface ITabControl : IControl
{
int SelectedIndex { get; set; }
void InsertTab (int index, TabPage page);
void ClearTabs ();
void RemoveTab (int index, TabPage page... | bsd-3-clause | C# |
268283eddb5cbf3a6e20bb2897c24908bd6ee9b4 | add new server versions | lighthorseinnovation/TableauAPI | TableauAPI/RESTHelpers/ServerVersion.cs | TableauAPI/RESTHelpers/ServerVersion.cs | using System.Collections.Generic;
namespace TableauAPI.RESTHelpers
{
/// <summary>
/// Different versions of server have different URL formats
/// </summary>
public enum ServerVersion
{
/// <summary>
/// Tableau Server 9.x
/// </summary>
Server8_3,
Server9,
... | using System.Collections.Generic;
namespace TableauAPI.RESTHelpers
{
/// <summary>
/// Different versions of server have different URL formats
/// </summary>
public enum ServerVersion
{
/// <summary>
/// Tableau Server 9.x
/// </summary>
Server8_3,
Server9,
... | mit | C# |
33798a34c787370e5ee6932e630f9835782171af | Make info messages look better | Yonom/CupCake | CupCake.Server/Muffins/LogMuffin.cs | CupCake.Server/Muffins/LogMuffin.cs | using CupCake.Core.Log;
using CupCake.Messages.Receive;
using CupCake.Players;
namespace CupCake.Server.Muffins
{
public class LogMuffin : CupCakeMuffin
{
protected override void Enable()
{
this.Events.Bind<SayPlayerEvent>(this.OnSay);
this.Events.Bind<WriteReceiveEvent... | using CupCake.Core.Log;
using CupCake.Messages.Receive;
using CupCake.Players;
namespace CupCake.Server.Muffins
{
public class LogMuffin : CupCakeMuffin
{
protected override void Enable()
{
this.Events.Bind<SayPlayerEvent>(this.OnSay);
this.Events.Bind<WriteReceiveEvent... | mit | C# |
3de249019d764492443a99ae12503b68186566bb | Revert chat hub | mdevilliers/SignalR.RabbitMq,slovely/SignalR.RabbitMq,mdevilliers/SignalR.RabbitMq,slovely/SignalR.RabbitMq | SignalR.RabbitMq.Example/ChatHub.cs | SignalR.RabbitMq.Example/ChatHub.cs |
using Microsoft.AspNet.SignalR;
namespace SignalR.RabbitMq.Example
{
public class Chat : Hub
{
private static int _id = 0;
public void Send(string message)
{
Clients.All.addMessage(string.Format("{0} - {1}", message, _id++), Context.ConnectionId);
}
}
} |
using Microsoft.AspNet.SignalR;
namespace SignalR.RabbitMq.Example
{
public class Chat : Hub
{
private static int _id = 0;
public void Send(string message)
{
for (int i = 0; i < 20; i++)
{
Clients.All.addMessage(string.Format("{0} - {1}", messag... | mit | C# |
45032d663e487ff276cd78786f8f52b237049050 | Test Video | danielmundim/InstaSharp,theShiva/InstaSharp,crashdavis23/InstaSharp,3nGercog/InstaSharp,crashdavis23/InstaSharp,InstaSharp/InstaSharp,danielmundim/InstaSharp,theShiva/InstaSharp,3nGercog/InstaSharp | src/InstaSharp.Tests/Media.cs | src/InstaSharp.Tests/Media.cs | using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace InstaSharp.Tests {
[TestClass]
public class Media : TestBase {
readonly Endpoints.Media media;
public Media() {
media = new Endpoints.Media(Config, Auth);
}
... | using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace InstaSharp.Tests {
[TestClass]
public class Media : TestBase {
readonly Endpoints.Media media;
public Media() {
media = new Endpoints.Media(Config, Auth);
}
... | apache-2.0 | C# |
6c4a60c975d3bdbbbf6e3cead01c4ac5dc8979eb | Make state immutable | danielwertheim/Ensure.That,danielwertheim/Ensure.That | src/projects/EnsureThat/EnsureOptions.cs | src/projects/EnsureThat/EnsureOptions.cs | using System;
namespace EnsureThat
{
public struct EnsureOptions
{
/// <summary>
/// If defined, this exception will be thrown instead of the
/// standard exceptions for the particular ensure method.
/// Assign using <see cref="WithException"/>.
/// </summary>
p... | using System;
namespace EnsureThat
{
public struct EnsureOptions
{
/// <summary>
/// If defined, this exception will be thrown instead of the
/// standard exceptions for the particular ensure method.
/// </summary>
public Exception CustomException;
/// <summary... | mit | C# |
c76e1c2e369be72786ea48819c18a36103a26ab1 | Rework ArgumentHelper | svedm/monodevelop-hg-addin | MonoDevelop.VersionControl.Mercurial/Hg.Net/ArgumentHelper.cs | MonoDevelop.VersionControl.Mercurial/Hg.Net/ArgumentHelper.cs | using System;
using System.Collections.Generic;
namespace Hg.Net
{
public class ArgumentHelper
{
private readonly List<string> _argumentsList;
public ArgumentHelper ()
{
_argumentsList = new List<string>();
}
public void AddIf(bool condition, params string[] arguments)
{
if (con... | using System.Collections.Generic;
using System.Linq;
namespace Hg.Net
{
public class ArgumentHelper
{
private readonly List<string> _argumentsList;
public ArgumentHelper ()
{
_argumentsList = new List<string>();
}
public void AddIf(bool condition, params string[] arguments)
{
if... | mit | C# |
f5fd81f104e95f0672c36f52b88959f6a6d015e7 | Reset list of main and side rooms on every selection | Saduras/DungeonGenerator | Assets/SourceCode/MainRoomSelector.cs | Assets/SourceCode/MainRoomSelector.cs | using UnityEngine;
using System.Collections.Generic;
using System;
[RequireComponent(typeof(RoomGenerator))]
public class MainRoomSelector : MonoBehaviour {
public float aboveMeanWidthFactor = 1.25f;
public float aboveMeanLengthFactor = 1.25f;
[HideInInspector]
public List<Room> mainRooms;
[HideInInspector]
p... | using UnityEngine;
using System.Collections.Generic;
using System;
[RequireComponent(typeof(RoomGenerator))]
public class MainRoomSelector : MonoBehaviour {
public float aboveMeanWidthFactor = 1.25f;
public float aboveMeanLengthFactor = 1.25f;
[HideInInspector]
public List<Room> mainRooms;
[HideInInspector]
p... | mit | C# |
bce7658d26fe579e0e8e52e8b62b4017eb9ccfe3 | Remove all usage of `Add`/`RemoveMemoryPressure` | peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework | osu.Framework/Platform/NativeMemoryTracker.cs | osu.Framework/Platform/NativeMemoryTracker.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.
#nullable disable
using System;
using osu.Framework.Allocation;
using osu.Framework.Statistics;
namespace osu.Framework.Platform
{
/// <summary>
/// Track nativ... | // 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.
#nullable disable
using System;
using osu.Framework.Allocation;
using osu.Framework.Statistics;
namespace osu.Framework.Platform
{
/// <summary>
/// Track nativ... | mit | C# |
c9413ff73369da28ec900ed8347823da6d5e9fc7 | Bump assembly version to 4.0.328.0. | rubyu/CreviceApp,rubyu/CreviceApp | CreviceApp/Properties/AssemblyInfo.cs | CreviceApp/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Crevice4")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfigurati... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Crevice4")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfigurati... | mit | C# |
60d022f9c6c9302801dc9cfe297550402f6becf9 | Handle VS's crazy behaviour of calling DocumentClosing with null. | modulexcite/DartVS,modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,DartVS/DartVS | DanTup.DartVS.Vsix/OpenFileTracker.cs | DanTup.DartVS.Vsix/OpenFileTracker.cs | using System;
using System.Collections.Concurrent;
using System.ComponentModel.Composition;
using System.Linq;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using EnvDTE;
using Microsoft.VisualStudio.Shell;
namespace DanTup.DartVS
{
/// <summary>
/// Tracks Dart files as they are opened/closed to pass... | using System;
using System.Collections.Concurrent;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using EnvDTE;
using Microsoft.VisualStudio.Shell;
namespace DanTup.DartVS
{
/// <summary>
/// Tracks Dart files as they are open... | mit | C# |
0b27529df433ae2e666340fdd9b8e26c7ccabd58 | Improve test coverage | carbon/Amazon | src/Amazon.DynamoDb.Tests/Actions/DbExceptionTests.cs | src/Amazon.DynamoDb.Tests/Actions/DbExceptionTests.cs | namespace Amazon.DynamoDb.Tests
{
using Xunit;
public class DbExceptionTests
{
[Fact]
public void DynamoParseException()
{
var text = @"{""__type"":""com.amazon.coral.service#SerializationException"",""Message"":""Start of list found where not expected""}";
var ex = DynamoDbException.Parse(... | namespace Amazon.DynamoDb.Tests
{
using Xunit;
public class DbExceptionTests
{
[Fact]
public void DynamoParseException()
{
var text = @"{""__type"":""com.amazon.coral.service#SerializationException"",""Message"":""Start of list found where not expected""}";
var ex = DynamoDbException.Parse(... | mit | C# |
ec7af9054590f0b5542b64c4cf4cce1cc124b9d2 | fix conflict | piedoom/TumblrSharp,piedoom/TumblrSharp | Examples/NetCore/Followers/Program.cs | Examples/NetCore/Followers/Program.cs | using DontPanic.TumblrSharp;
using DontPanic.TumblrSharp.Client;
using DontPanic.TumblrSharp.OAuth;
using System;
namespace Followers
{
class Program
{
// your consumer- and accessToken
private static string CONSUMER_KEY = "xxx";
private static string CONSUMER_SECRET = "xxx";
... | using DontPanic.TumblrSharp;
using DontPanic.TumblrSharp.Client;
using DontPanic.TumblrSharp.OAuth;
using System;
namespace Followers
{
class Program
{
// your consumer- and accessToken
private static string CONSUMER_KEY = "xxx";
private static string CONSUMER_SECRET = "xxx";
... | mit | C# |
4638ac902c63c5501e69cb4ce1fdc3afdb533d5d | Remove pointless rate adjust slider from TestCaseOsuGame | peppy/osu-new,EVAST9919/osu,johnneijzen/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,2yangk23/osu,ZLima12/osu,UselessToucan/osu,peppy/osu,ppy/osu,ZLima12/osu,johnneijzen/osu,naoey/osu,peppy/osu,smoogipoo/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,DrabWeb/osu,naoey/osu,ppy/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,... | osu.Game.Tests/Visual/TestCaseOsuGame.cs | osu.Game.Tests/Visual/TestCaseOsuGame.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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Game.Screens;
using ... | // 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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Timing;
us... | mit | C# |
6f02bed78375c49bcad27d574f997581876239fc | Fix for Order Lines in Order Refund | Viincenttt/MollieApi,Viincenttt/MollieApi | Mollie.Api/Models/Order/Request/OrderRefundRequest.cs | Mollie.Api/Models/Order/Request/OrderRefundRequest.cs | using System.Collections.Generic;
namespace Mollie.Api.Models.Order {
public class OrderRefundRequest {
/// <summary>
/// An array of objects containing the order line details you want to create a refund for. If you send
/// an empty array, the entire order will be refunded.
/// </... | using System.Collections.Generic;
namespace Mollie.Api.Models.Order {
public class OrderRefundRequest {
/// <summary>
/// An array of objects containing the order line details you want to create a refund for. If you send
/// an empty array, the entire order will be refunded.
/// </... | mit | C# |
3398f082f618baed7c0f15a0bf47090781256448 | Extend power watcher to capture power setting changed events | emoacht/Monitorian | Source/Monitorian.Core/Models/Watcher/PowerWatcher.cs | Source/Monitorian.Core/Models/Watcher/PowerWatcher.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Win32;
namespace Monitorian.Core.Models.Watcher
{
internal class PowerWatcher : TimerWatcher, IDisposable
{
private Action _onPowerModeChanged;
private Action<PowerSett... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Win32;
namespace Monitorian.Core.Models.Watcher
{
internal class PowerWatcher : TimerWatcher, IDisposable
{
private Action _onChanged;
public PowerWatcher() : base(5,... | mit | C# |
77141752b4240a79d3b1f653c5eb44159e206233 | make dialog host static | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/Popup/ModalDialogHostViewModelBase.cs | WalletWasabi.Fluent/ViewModels/Popup/ModalDialogHostViewModelBase.cs | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using ReactiveUI;
using WalletWasabi.Fluent.ViewModels.Dialog;
namespace WalletWasabi.Fluent.ViewModels.Dialog
{
public class ModalDialogHostViewModelBase : ReactiveObject, IDialogHost
{
pr... | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using ReactiveUI;
using WalletWasabi.Fluent.ViewModels.Dialog;
namespace WalletWasabi.Fluent.ViewModels.Dialog
{
public class ModalDialogHostViewModelBase : ReactiveObject, IDialogHost
{
pr... | mit | C# |
bcde1e9becfbebbc0fc7ec42a4f8c510b8579431 | Add code that uses C# 6 and new .NET 4.6 API | regisbsb/Dev14_Net46_Mvc5,regisbsb/Dev14_Net46_Mvc5,KuduApps/Dev14_Net46_Mvc5,regisbsb/Dev14_Net46_Mvc5,KuduApps/Dev14_Net46_Mvc5,KuduApps/Dev14_Net46_Mvc5 | Dev14_Net46_Mvc5/Controllers/HomeController.cs | Dev14_Net46_Mvc5/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Dev14_Net46_Mvc5.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Dev14_Net46_Mvc5.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()... | apache-2.0 | C# |
62d38169ffdbe4c5a67d3f8b34dc465ea5db7355 | Simplify BlockParserParameters | AMDL/CommonMark.NET,AMDL/CommonMark.NET | CommonMark/Parser/BlockParserParameters.cs | CommonMark/Parser/BlockParserParameters.cs | namespace CommonMark.Parser
{
/// <summary>
/// Block element parser parameters.
/// </summary>
class BlockParserParameters
{
private readonly CommonMarkSettings settings;
public BlockParserParameters(CommonMarkSettings settings)
{
this.settings = settings;
... | using System;
namespace CommonMark.Parser
{
/// <summary>
/// Block element parser parameters.
/// </summary>
class BlockParserParameters
{
public BlockParserParameters(CommonMarkSettings settings)
{
this._fenceDelimiters = new Lazy<char[]>(() => GetFenceDelimiters(sett... | bsd-3-clause | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.