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 |
|---|---|---|---|---|---|---|---|---|
d9632ec73040145bab080b15f452351ebb68d9b0 | Delete wrong CountToNumber messages if GuildConfig#CountToNumberDeleteWrongMessages is true. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Modules/Utility/Services/CountToNumberService.cs | src/MitternachtBot/Modules/Utility/Services/CountToNumberService.cs | using System;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Mitternacht.Services;
namespace Mitternacht.Modules.Utility.Services {
public class CountToNumberService : IMService {
private readonly DiscordSocketClient _client;
private readonly DbSe... | using System;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Mitternacht.Services;
namespace Mitternacht.Modules.Utility.Services {
public class CountToNumberService : IMService {
private readonly DiscordSocketClient _client;
private readonly DbSe... | mit | C# |
899d2d2a405793df099a479e3741cc9a39a2df71 | Set the column width to resize when the listview resizes | Slapout/PathViewer | PathViewer/PathViewForm.cs | PathViewer/PathViewForm.cs | using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PathViewer
{
public partial class FormPathViewer : Form
{
... | using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PathViewer
{
public partial class FormPathViewer : Form
{
... | mit | C# |
7d687e13cf395a7ea16bd0805138c68728254429 | Define GridPosition.ToString | jonathanvdc/Pixie,jonathanvdc/Pixie | Pixie/Code/GridPosition.cs | Pixie/Code/GridPosition.cs | namespace Pixie.Code
{
/// <summary>
/// Specifies a position in a source document as a line index
/// and an offset.
/// </summary>
public struct GridPosition
{
/// <summary>
/// Creates a grid position from a line index and offset.
/// </summary>
/// <param name... | namespace Pixie.Code
{
/// <summary>
/// Specifies a position in a source document as a line index
/// and an offset.
/// </summary>
public struct GridPosition
{
/// <summary>
/// Creates a grid position from a line index and offset.
/// </summary>
/// <param name... | mit | C# |
a6f8c5298dc648ece7cf664fd63a4a2e3a0dcaa8 | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | autofac/Autofac.Extras.Moq | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.Tests.Moq")]
| using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.Tests.Moq")]
[assembly: AssemblyDescription("")]
| mit | C# |
1e810682745cd359faf7006d5866714503cd3001 | Update AssemblyInfo in preparation for NuGet release. | the-dargon-project/Dargon.Services,ItzWarty/Dargon.Services | 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... | bsd-2-clause | C# |
b25c2743ca2cbcb925756c37ff6bfd74396bc43b | fix a bug in the default TFM define generation | weshaggard/cli,ravimeda/cli,blackdwarf/cli,JohnChen0/cli,mylibero/cli,jkotas/cli,jkotas/cli,AbhitejJohn/cli,krwq/cli,harshjain2/cli,mlorbetske/cli,MichaelSimons/cli,marono/cli,AbhitejJohn/cli,weshaggard/cli,EdwardBlair/cli,JohnChen0/cli,blackdwarf/cli,schellap/cli,EdwardBlair/cli,danquirk/cli,borgdylan/dotnet-cli,ravim... | src/Microsoft.DotNet.ProjectModel/Utilities/FrameworksExtensions.cs | src/Microsoft.DotNet.ProjectModel/Utilities/FrameworksExtensions.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Linq;
using System.Runtime.Versioning;
namespace NuGet.Frameworks
{
public static class FrameworksExtensions
{
// ... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Linq;
using System.Runtime.Versioning;
namespace NuGet.Frameworks
{
public static class FrameworksExtensions
{
// ... | mit | C# |
46411c5c8a3775cf781656845665ce82de6535ff | Use system highlight color in game list selection | zr40/steamgames | SteamGames/GameRenderer.cs | SteamGames/GameRenderer.cs | using System.Drawing;
using System.Windows.Forms;
using BrightIdeasSoftware;
namespace SteamGames
{
internal sealed class GameRenderer : AbstractRenderer
{
private readonly StringFormat sf;
private Brush SelectionBrush = new SolidBrush(Color.FromKnownColor(KnownColor.Highlight));
public GameRenderer()
{
... | using System.Drawing;
using System.Windows.Forms;
using BrightIdeasSoftware;
namespace SteamGames
{
internal sealed class GameRenderer : AbstractRenderer
{
private readonly StringFormat sf;
public GameRenderer()
{
sf = new StringFormat(StringFormat.GenericTypographic);
sf.Alignment = StringAlignment.C... | mit | C# |
aab96523d5af3c82125bf7098b2dd3a8dac4fadc | Support Beyond Compare on linux | droyad/Assent | src/Assent/Reporters/DiffReporter.cs | src/Assent/Reporters/DiffReporter.cs | using System;
using System.Collections.Generic;
using Assent.Reporters.DiffPrograms;
namespace Assent.Reporters
{
public class DiffReporter : IReporter
{
#if NET45
internal static readonly bool IsWindows = Environment.OSVersion.Platform == PlatformID.Win32NT;
#else
internal static readonly bool... | using System;
using System.Collections.Generic;
using Assent.Reporters.DiffPrograms;
namespace Assent.Reporters
{
public class DiffReporter : IReporter
{
#if NET45
internal static readonly bool IsWindows = Environment.OSVersion.Platform == PlatformID.Win32NT;
#else
internal static readonly bool... | mit | C# |
719b08b22fc0f078194b3fa54c64c78f88786666 | Make room setting's BeatmapID non-nullable | ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,smoogipoo/osu | osu.Game/Online/RealtimeMultiplayer/MultiplayerRoomSettings.cs | osu.Game/Online/RealtimeMultiplayer/MultiplayerRoomSettings.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 enable
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using osu.Game.Online.API;
namespace osu.Game.Online.Re... | // 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 enable
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using osu.Game.Online.API;
namespace osu.Game.Online.Re... | mit | C# |
53a1f9ee435227fc48c5e32dd659cc43373f10ef | add incoming/outgoing parameters to getRelationships | GeertBellekens/UML-Tooling-Framework,GeertBellekens/UML-Tooling-Framework | UMLToolingFramework/Classes/Kernel/Element.cs | UMLToolingFramework/Classes/Kernel/Element.cs | using System.Collections.Generic;
using UML = TSF.UmlToolingFramework;
namespace TSF.UmlToolingFramework.UML.Classes.Kernel {
public interface Element:UML.Extended.UMLItem {
HashSet<Element> ownedElements { get; set; }
HashSet<Comment> ownedComments { get; set; }
void addStereotype(UML.Profi... | using System.Collections.Generic;
using UML = TSF.UmlToolingFramework;
namespace TSF.UmlToolingFramework.UML.Classes.Kernel {
public interface Element:UML.Extended.UMLItem {
HashSet<Element> ownedElements { get; set; }
HashSet<Comment> ownedComments { get; set; }
void addStereotype(UML.Profi... | bsd-2-clause | C# |
dbf8bc98de4d2424164c03ac4520c0f1a2d583b1 | Allow rotating of the turret | samoatesgames/Ludumdare30,samoatesgames/Ludumdare30,SamOatesJams/Ludumdare30,SamOatesJams/Ludumdare30,samoatesgames/Ludumdare30,SamOatesJams/Ludumdare30 | Unity/Assets/Scripts/Player/PlayerMovement.cs | Unity/Assets/Scripts/Player/PlayerMovement.cs | using UnityEngine;
using System.Collections;
using InControl;
[RequireComponent(typeof(Rigidbody))]
public class PlayerMovement : MonoBehaviour
{
/// <summary>
/// Speed scale for player
/// </summary>
public float Speed = 1.0f;
/// <summary>
/// Turret rotation sensitivity
/// ... | using UnityEngine;
using System.Collections;
using InControl;
[RequireComponent(typeof(Rigidbody))]
public class PlayerMovement : MonoBehaviour
{
/// <summary>
/// Speed scale for player
/// </summary>
public float Speed = 1.0f;
/// <summary>
/// The controller for the player
//... | mit | C# |
c112f2b17622d4057040229b351489747a47fc78 | include inner exception messages in detail | json-api-dotnet/JsonApiDotNetCore,Research-Institute/json-api-dotnet-core,Research-Institute/json-api-dotnet-core | src/JsonApiDotNetCore/Internal/JsonApiExceptionFactory.cs | src/JsonApiDotNetCore/Internal/JsonApiExceptionFactory.cs | using System;
using System.Linq;
namespace JsonApiDotNetCore.Internal
{
public static class JsonApiExceptionFactory
{
public static JsonApiException GetException(Exception exception)
{
var exceptionType = exception.GetType().ToString().Split('.').Last();
switch(exception... | using System;
using System.Linq;
namespace JsonApiDotNetCore.Internal
{
public static class JsonApiExceptionFactory
{
public static JsonApiException GetException(Exception exception)
{
var exceptionType = exception.GetType().ToString().Split('.').Last();
switch(exception... | mit | C# |
b3f5f7f162d39d41530e230e14f1079828acbdaf | Update existing documentation for list ids. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Objects/Get/Users/Lists/TraktListIds.cs | Source/Lib/TraktApiSharp/Objects/Get/Users/Lists/TraktListIds.cs | namespace TraktApiSharp.Objects.Get.Users.Lists
{
using Newtonsoft.Json;
/// <summary>A collection of ids for various web services, including the Trakt id, for a Trakt list.</summary>
public class TraktListIds
{
/// <summary>Gets or sets the Trakt numeric id.</summary>
[JsonProperty(Pr... | namespace TraktApiSharp.Objects.Get.Users.Lists
{
using Newtonsoft.Json;
using System.Globalization;
/// <summary>
/// A collection of ids for various web services for a Trakt list.
/// </summary>
public class TraktListIds
{
/// <summary>
/// The Trakt numeric id for the li... | mit | C# |
1211835ccbfa442ead9e7fb5718da28c539e16e6 | Clean up code sample | tommy-carlier/www.tcx.be,tommy-carlier/www.tcx.be,tommy-carlier/www.tcx.be | _posts/_code-snippets/copy-html-clipboard/CopyHtmlToClipboard.cs | _posts/_code-snippets/copy-html-clipboard/CopyHtmlToClipboard.cs | using System;
using System.Globalization;
using System.IO;
using System.Text;
using System.Windows.Forms;
internal static class Utilities
{
public static void CopyHtmlToClipBoard(string htmlFragment)
{
string headerFormat
= "Version:0.9\r\nStartHTML:{0:000000}\r\nEndHTML:{1:000000}"
+ "\r\nStartFra... | using System;
using System.IO;
using System.Text;
using System.Windows.Forms;
internal static class Utilities
{
public static void CopyHtmlToClipBoard(string html)
{
Encoding enc = Encoding.UTF8;
string begin = "Version:0.9\r\nStartHTML:{0:000000}\r\nEndHTML:{1:000000}"
+ "\r\nStartFragment:{2:00000... | mit | C# |
394012ec124b7f81c3e44c6d3f5fd24684742ee1 | Use a type converter to try and convert values | MassTransit/MassTransit,MassTransit/MassTransit,SanSYS/MassTransit,SanSYS/MassTransit,jacobpovar/MassTransit,phatboyg/MassTransit,jacobpovar/MassTransit,phatboyg/MassTransit | src/MassTransit/Internals/Mapping/NullableValueObjectMapper.cs | src/MassTransit/Internals/Mapping/NullableValueObjectMapper.cs | // Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | // Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | apache-2.0 | C# |
ae3e070c66d2ca026555de8230a8ab9c1899f4fe | add - nuovo servizio ad hoc per gestione sedi | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.API/Controllers/GestioneSediController.cs | src/backend/SO115App.API/Controllers/GestioneSediController.cs | using CQRS.Queries;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using SO115App.Models.Servizi.CQRS.Queries.GestioneSedi.GetSedi;
using System;
using System.Threading.Tasks;
namespace SO115App.API.Controllers
{
[Authorize]
[Route("api/[controller]")]
[ApiController]
public... | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.ServizioSede;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SO115App.API.Controllers
{
[Authorize]
[Route("api/[con... | agpl-3.0 | C# |
782381523e007881b0b9b14f41ea409a31e72e24 | Fix null reference | mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard | src/Okanshi.Dashboard/Config.cs | src/Okanshi.Dashboard/Config.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
namespace Okanshi.Dashboard
{
public class Config : IConfiguration
{
private readonly Serializer _serializer;
static Config()
{
using (var reader = new St... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
namespace Okanshi.Dashboard
{
public class Config : IConfiguration
{
private readonly Serializer _serializer;
static Config()
{
using (var reader = new St... | mit | C# |
5179ad195c4789a863bbe27967a135313adf7045 | add sql timeout for migration | leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net | JoinRpg.Dal.Impl/Migrations/Configuration.cs | JoinRpg.Dal.Impl/Migrations/Configuration.cs | using System;
using System.Data.Entity.Migrations;
using System.Linq;
using JoinRpg.DataModel;
namespace JoinRpg.Dal.Impl.Migrations
{
public sealed class Configuration : DbMigrationsConfiguration<MyDbContext>
{
public Configuration()
{
AutomaticMigrationsEnabled = false;
... | using System;
using System.Data.Entity.Migrations;
using System.Linq;
using JoinRpg.DataModel;
namespace JoinRpg.Dal.Impl.Migrations
{
public sealed class Configuration : DbMigrationsConfiguration<MyDbContext>
{
public Configuration()
{
AutomaticMigrationsEnabled = false;
}
... | mit | C# |
624b8f6b7fef0539ac833d04883566da09dbb19c | Switch to nested structure | octoblu/meshblu-connector-skype,octoblu/meshblu-connector-skype | src/csharp/get-state.cs | src/csharp/get-state.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Lync.Model;
using Microsoft.Lync.Model.Conversation;
using Microsoft.Lync.Model.Conversation.AudioVideo;
using Microsoft.Lync.Model.Extensibility;
public class Meeting
{
public str... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Lync.Model;
using Microsoft.Lync.Model.Conversation;
using Microsoft.Lync.Model.Conversation.AudioVideo;
using Microsoft.Lync.Model.Extensibility;
public class ReturnValue
{
public... | mit | C# |
a5679f7bf58a9475743b868651f3918c90d5a882 | Improve readability of code | UselessToucan/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,2yangk23/osu,naoey/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,EVAST9919/osu,naoey/osu,johnneijzen/osu,NeoAdonis/osu,DrabWeb/osu,DrabWeb/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu,naoey/osu,UselessToucan/osu,ZLima12/osu,ppy/osu,EVAST991... | osu.Game/Rulesets/Mods/ModHidden.cs | osu.Game/Rulesets/Mods/ModHidden.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.Configuration;
using osu.Game.Configuration;
using osu.Game.Graphics;
using osu.Game.Rulesets.Objects.Drawables;
using System.Collections.Generic;
us... | // 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.Configuration;
using osu.Game.Configuration;
using osu.Game.Graphics;
using osu.Game.Rulesets.Objects.Drawables;
using System.Collections.Generic;
us... | mit | C# |
871516a7287a9167d7a2b79cf54a19f6f8c50996 | Update MyCurrencyDotNetTests.cs | tiksn/TIKSN-Framework | TIKSN.Framework.IntegrationTests/Finance/ForeignExchange/MyCurrencyDotNetTests.cs | TIKSN.Framework.IntegrationTests/Finance/ForeignExchange/MyCurrencyDotNetTests.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Finance.ForeignExchange.Cumulative;
using TIKSN.Framework.IntegrationTests;
using TIKSN.Globalization;
using TIKSN.Time;
using Xunit;
namespace TIKSN.Finance.ForeignExchang... | using System;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Finance.ForeignExchange.Cumulative;
using TIKSN.Framework.IntegrationTests;
using TIKSN.Globalization;
using TIKSN.Time;
using Xunit;
namespace TIKSN.Finance.ForeignExchang... | mit | C# |
cb344ac015fbd7efb1e8ff4dcb390e3eb7c829a0 | Increment version number. | Bitmapped/AdAccountUnlockService | AdUnlockService/AdUnlockService/Properties/AssemblyInfo.cs | AdUnlockService/AdUnlockService/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# |
f40e3bb758bac48618e13efff34924074418cc73 | Rename Color to ColorField | laicasaane/VFW | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/Colors.cs | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/Colors.cs | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public Color ColorField(Color value)
{
return ColorField(string.Empty, value);
}
public Color ColorField(string label, Color value)
{
return ColorField(label, value, null);
}
public Color ColorField(string l... | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public Color Color(Color value)
{
return Color(string.Empty, value);
}
public Color Color(string label, Color value)
{
return Color(label, value, null);
}
public Color Color(string label, string tooltip, Co... | mit | C# |
9d8c49a3eb24f3aa81ba2f307ea074f185d9dc32 | fix OsuFileLocation token not accounting for custom songs folder (fixes #23) | Piotrekol/StreamCompanion,Piotrekol/StreamCompanion | osu!StreamCompanion/Code/Modules/MapDataReplacements/Map/MapReplacement.cs | osu!StreamCompanion/Code/Modules/MapDataReplacements/Map/MapReplacement.cs | using System.Collections.Generic;
using System.IO;
using osu_StreamCompanion.Code.Core;
using osu_StreamCompanion.Code.Core.DataTypes;
using osu_StreamCompanion.Code.Helpers;
using osu_StreamCompanion.Code.Interfaces;
using osu_StreamCompanion.Code.Misc;
using Beatmap = osu_StreamCompanion.Code.Core.DataTypes.Beatmap;... | using System.Collections.Generic;
using CollectionManager.DataTypes;
using osu_StreamCompanion.Code.Core;
using osu_StreamCompanion.Code.Core.DataTypes;
using osu_StreamCompanion.Code.Helpers;
using osu_StreamCompanion.Code.Interfaces;
using osu_StreamCompanion.Code.Misc;
using Beatmap = osu_StreamCompanion.Code.Core.... | mit | C# |
f193f6e4f46a37018c58829a00f52c749814c789 | bump version | alecgorge/adzerk-dot-net | Adzerk.Api/Properties/AssemblyInfo.cs | Adzerk.Api/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("Ad... | 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("Ad... | mit | C# |
8b1919eb0313fbafa8bb33d9dac880bacd607a72 | add end request to show example of how to handle custom authentication redirects based upon application name | s093294/Thinktecture.AuthorizationServer,IdentityModel/AuthorizationServer,yfann/AuthorizationServer,IdentityModel/AuthorizationServer,s093294/Thinktecture.AuthorizationServer,yfann/AuthorizationServer | source/WebHost/Global.asax.cs | source/WebHost/Global.asax.cs | using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Thinktecture.AuthorizationServer.WebHost
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterAllAre... | using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Thinktecture.AuthorizationServer.WebHost
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterAllAre... | bsd-3-clause | C# |
ded1389af623478ba618fcd5c9d36bc613bc6b6a | Remove OnDestroy | dirty-casuals/LD38-A-Small-World | Assets/Scripts/Effects/Fracturable.cs | Assets/Scripts/Effects/Fracturable.cs | using System.Collections;
using UnityEngine;
public class Fracturable : MonoBehaviour {
[SerializeField]
private float _force = 100;
[SerializeField]
private GameObject _shards;
[SerializeField]
private float _shardLive = 5;
[SerializeField]
private AnimationCurve _scaleOverLifetim... | using System.Collections;
using UnityEngine;
public class Fracturable : MonoBehaviour {
[SerializeField]
private float _force = 100;
[SerializeField]
private GameObject _shards;
[SerializeField]
private float _shardLive = 5;
[SerializeField]
private AnimationCurve _scaleOverLifetim... | mit | C# |
593a54d5fe35950b5209d55a009309dc7ad78278 | Remove unnecessary nullability tests (it's not testing code in the duration converter.) | malcolmr/nodatime,zaccharles/nodatime,jskeet/nodatime,malcolmr/nodatime,zaccharles/nodatime,jskeet/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,zaccharles/nodatime,malcolmr/nodatime,nodatime/nodatime,BenJenkinson/nodatime,nodatime/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime | src/NodaTime.Serialization.Test/JsonNet/NodaDurationConverterTest.cs | src/NodaTime.Serialization.Test/JsonNet/NodaDurationConverterTest.cs | #region Copyright and license information
// Copyright 2001-2009 Stephen Colebourne
// Copyright 2009-2010 Jon Skeet
//
// 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
//
// h... | #region Copyright and license information
// Copyright 2001-2009 Stephen Colebourne
// Copyright 2009-2010 Jon Skeet
//
// 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
//
// h... | apache-2.0 | C# |
0628fb682e538df950514a0e9d43cead8b50f504 | rename policy types | bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core | src/Core/Enums/PolicyType.cs | src/Core/Enums/PolicyType.cs | namespace Bit.Core.Enums
{
public enum PolicyType : byte
{
TwoFactorAuthentication = 0,
MasterPassword = 1,
PasswordGenerator = 2
}
}
| namespace Bit.Core.Enums
{
public enum PolicyType : byte
{
TwoStepLogin = 0,
MasterPassword = 1
}
}
| agpl-3.0 | C# |
a00640161a161fa00ef5531e7805c4391e0cec9b | use properties not fields | richardschneider/net-ipfs-core | src/CoreApi/BitswapLedger.cs | src/CoreApi/BitswapLedger.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Ipfs.CoreApi
{
/// <summary>
/// Statistics on the <see cref="IBitswapApi">bitswap</see> blocks exchanged with another <see cref="Peer"/>.
/// </summary>
/// <seealso cref="IBitswapApi.LedgerAsync"/>
public cl... | using System;
using System.Collections.Generic;
using System.Text;
namespace Ipfs.CoreApi
{
/// <summary>
/// Statistics on the <see cref="IBitswapApi">bitswap</see> blocks exchanged with another <see cref="Peer"/>.
/// </summary>
/// <seealso cref="IBitswapApi.LedgerAsync"/>
public cl... | mit | C# |
802301a11cf8c37f2243668f9e97df7be0be43d1 | Change msg size again | teerachail/SoapWithAttachments | WebsiteForSpike/MtomTestSite/Service1.svc.cs | WebsiteForSpike/MtomTestSite/Service1.svc.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
namespace MtomTestSite
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "S... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
namespace MtomTestSite
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "S... | mit | C# |
7231c693a72569d3ee810b14639115b4fe81a1e3 | fix tostring() | mechanicalobject/sandbox | MechanicalObject.Sandbox.TodoWithSQLite/MechanicalObject.Sandbox.TodoWithSQLite/Model/Todo.cs | MechanicalObject.Sandbox.TodoWithSQLite/MechanicalObject.Sandbox.TodoWithSQLite/Model/Todo.cs | using System;
using System.Security.Cryptography;
namespace MechanicalObject.Sandbox.TodoWithSQLite.Model
{
public class Todo
{
public int Id { get; set; }
public string Description { get; set; }
public DateTime CreatedOn { get; set; }
public DateTime ModifiedOn { get; set; }
... | using System;
using System.Security.Cryptography;
namespace MechanicalObject.Sandbox.TodoWithSQLite.Model
{
public class Todo
{
public int Id { get; set; }
public string Description { get; set; }
public DateTime CreatedOn { get; set; }
public DateTime ModifiedOn { get; set; }
... | apache-2.0 | C# |
29aa8cfad98fafab7dd5b5d76bf67e5215b256ac | Make Rectangle immutable | kendfrey/Tui | Tui/Rectangle.cs | Tui/Rectangle.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tui
{
/// <summary>
/// Represents a rectangular area on a screen.
/// </summary>
public struct Rectangle
{
/// <summary>
/// Initializes a new instance of ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tui
{
/// <summary>
/// Represents a rectangular area on a screen.
/// </summary>
public struct Rectangle
{
/// <summary>
/// Initializes a new instance of ... | mit | C# |
e023a6ce4d5623e3daa20d8575022045fa9dcf00 | remove duplicate occurences | falquan/NTachyon,falquan/NTachyon,falquan/NTachyon,falquan/NTachyon,falquan/NTachyon | src/NTachyon.Api/Crontab/NCrontab.cs | src/NTachyon.Api/Crontab/NCrontab.cs | using System;
using System.Collections.Generic;
using System.Linq;
using NCrontab;
namespace NTachyon.Api.Crontab
{
public class NCrontab : ICrontab
{
public bool IsValid(string expression)
{
return CrontabSchedule.TryParse(expression) == null
... | using System;
using System.Collections.Generic;
using System.Linq;
using NCrontab;
namespace NTachyon.Api.Crontab
{
public class NCrontab : ICrontab
{
public bool IsValid(string expression)
{
return CrontabSchedule.TryParse(expression) == null
... | mit | C# |
023688c81f4eb5b705d33ab32da4a933a090e5c0 | Fix Parser being visible outside the assembly | Nick-Lucas/EntryPoint,Nick-Lucas/EntryPoint,Nick-Lucas/EntryPoint | src/EntryPoint/Parsing/Parser.cs | src/EntryPoint/Parsing/Parser.cs | using EntryPoint.Exceptions;
using EntryPoint.Arguments;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using EntryPoint.Help;
namespace EntryPoint.Parsing {
internal static class Parser {
internal static ParseResult MakeParseResult(List<Token> tokens, Ar... | using EntryPoint.Exceptions;
using EntryPoint.Arguments;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using EntryPoint.Help;
namespace EntryPoint.Parsing {
public static class Parser {
internal static ParseResult MakeParseResult(List<Token> tokens, Argu... | mit | C# |
e0d3bb09ee625520782c9b223ea52b47a4ca4004 | Load Pythia SignatureHelpProvider lazily (#42144) | aelij/roslyn,tannergooding/roslyn,weltkante/roslyn,eriawan/roslyn,davkean/roslyn,dotnet/roslyn,stephentoub/roslyn,eriawan/roslyn,sharwell/roslyn,AlekseyTs/roslyn,genlu/roslyn,panopticoncentral/roslyn,jasonmalinowski/roslyn,reaction1989/roslyn,eriawan/roslyn,tannergooding/roslyn,davkean/roslyn,heejaechang/roslyn,diryboy... | src/Features/CSharp/Portable/ExternalAccess/Pythia/PythiaSignatureHelpProvider.cs | src/Features/CSharp/Portable/ExternalAccess/Pythia/PythiaSignatureHelpProvider.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 enable
using System.Collections.Immutable;
using System.Composition;
using System.Threading;
using Syste... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;... | mit | C# |
deba3b275682dbe918def69370059595ce68fd90 | create tag - tag name is a required | SouleDesigns/SouleDesigns.Orchard,bigfont/orchard-cms-modules-and-themes,vairam-svs/Orchard,tobydodds/folklife,MetSystem/Orchard,vairam-svs/Orchard,dozoft/Orchard,Lombiq/Orchard,Ermesx/Orchard,aaronamm/Orchard,enspiral-dev-academy/Orchard,xiaobudian/Orchard,hhland/Orchard,m2cms/Orchard,dcinzona/Orchard-Harvest-Website,... | src/Orchard.Web/Modules/Orchard.Tags/Views/EditorTemplates/Parts/CreateTag.cshtml | src/Orchard.Web/Modules/Orchard.Tags/Views/EditorTemplates/Parts/CreateTag.cshtml | @model Orchard.Tags.ViewModels.TagsAdminCreateViewModel
@{
Style.Require("TagsAdmin");
}
@using (Html.BeginFormAntiForgeryPost()) {
<fieldset>
@Html.LabelFor(m => m.TagName, T("New Tag Name"))
@Html.TextBoxFor(m => m.TagName, new { @class = "text", placeholder = T("New Tag Name"), @requ... | @model Orchard.Tags.ViewModels.TagsAdminCreateViewModel
@{
Style.Require("TagsAdmin");
}
@using (Html.BeginFormAntiForgeryPost()) {
<fieldset>
@Html.LabelFor(m => m.TagName, T("New Tag Name"))
@Html.TextBoxFor(m => m.TagName, new { @class = "text", placeholder = T("New Tag Name") })
... | bsd-3-clause | C# |
a9da8ee74b03c0cc4dc821dd4e7acc12444f3213 | fix - ricerca utenti | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Models/Servizi/CQRS/Queries/GestioneUtente/ListaPersonaleVVF/PersonaleVVFQueryHandler.cs | src/backend/SO115App.Models/Servizi/CQRS/Queries/GestioneUtente/ListaPersonaleVVF/PersonaleVVFQueryHandler.cs | using CQRS.Queries;
using SO115App.Models.Classi.Utenti.Autenticazione;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.Personale;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SO115App.Models.Servizi.CQRS.Queries.Gestione... | using CQRS.Queries;
using SO115App.Models.Classi.Utenti.Autenticazione;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.Personale;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SO115App.Models.Servizi.CQRS.Queries.Gestione... | agpl-3.0 | C# |
6068cc90a96706165cadc848580097e3355d6296 | clean up | asipe/shamz | src/Shamz.Core/Invocation.cs | src/Shamz.Core/Invocation.cs | namespace Shamz.Core {
public class Invocation {
public string[] CommandLine{get;set;}
public int ExitCode{get;set;}
public int ExecutionDelay{get;set;}
public Invocation WhenCommandLine(params string[] commandLine) {
CommandLine = commandLine;
return this;
}
public I... | namespace Shamz.Core {
public class Invocation {
public string[] CommandLine{get;set;}
public int ExitCode{get;set;}
public int ExecutionDelay { get; set; }
public Invocation WhenCommandLine(params string[] commandLine) {
CommandLine = commandLine;
return this;
}
publ... | mit | C# |
765979e333a839b54b43cf2bee85cbec37d9d465 | remove comment | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts/DependencyResolution/ConfigurationRegistry.cs | src/SFA.DAS.EmployerAccounts/DependencyResolution/ConfigurationRegistry.cs | using SFA.DAS.AutoConfiguration;
using SFA.DAS.AutoConfiguration.DependencyResolution;
using SFA.DAS.EAS.Account.Api.Client;
using SFA.DAS.EmployerAccounts.Configuration;
using SFA.DAS.EmployerAccounts.ReadStore.Configuration;
using StructureMap;
namespace SFA.DAS.EmployerAccounts.DependencyResolution
{
public cl... | using SFA.DAS.AutoConfiguration;
using SFA.DAS.AutoConfiguration.DependencyResolution;
using SFA.DAS.EAS.Account.Api.Client;
using SFA.DAS.EmployerAccounts.Configuration;
using SFA.DAS.EmployerAccounts.ReadStore.Configuration;
using StructureMap;
namespace SFA.DAS.EmployerAccounts.DependencyResolution
{
public cl... | mit | C# |
7e4ba2d805416f9dc7e146e40a0ca2a63a007bac | Disable SSL for sending e-mails | bradwestness/SecretSanta,bradwestness/SecretSanta | SecretSanta/Utilities/EmailMessage.cs | SecretSanta/Utilities/EmailMessage.cs | using MailKit.Net.Smtp;
using MimeKit;
using MimeKit.Text;
using System;
using System.Collections.Generic;
namespace SecretSanta.Utilities
{
public static class EmailMessage
{
public static void Send(MailboxAddress from, IEnumerable<MailboxAddress> to, string subject, string body)
{
... | using MailKit.Net.Smtp;
using MimeKit;
using MimeKit.Text;
using System;
using System.Collections.Generic;
namespace SecretSanta.Utilities
{
public static class EmailMessage
{
public static void Send(MailboxAddress from, IEnumerable<MailboxAddress> to, string subject, string body)
{
... | apache-2.0 | C# |
8ccf98333ea636f6a313aa0cb65423f6e89b78d7 | Remove bad component state hack from client mover component. | space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Client/GameObjects/Components/Movement/PlayerInputMoverComponent.cs | Content.Client/GameObjects/Components/Movement/PlayerInputMoverComponent.cs | using Content.Shared.GameObjects.Components.Movement;
using Robust.Shared.GameObjects;
using Robust.Shared.Map;
#nullable enable
namespace Content.Client.GameObjects.Components.Movement
{
[RegisterComponent]
[ComponentReference(typeof(IMoverComponent))]
public class PlayerInputMoverComponent : SharedPlaye... | using Content.Shared.GameObjects.Components.Movement;
using Robust.Client.Player;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Map;
#nullable enable
namespace Content.Client.GameObjects.Components.Movement
{
[RegisterComponent]
[ComponentReference(typeof(IMoverComponent))]
... | mit | C# |
34ef204c1b89b935daa8c6acec442369d29a0895 | remove check for less or more than one record - it doesnt work right | ResourceDataInc/Simpler.Data,ResourceDataInc/Simpler.Data,gregoryjscott/Simpler,gregoryjscott/Simpler,ResourceDataInc/Simpler.Data | Simpler/Data/Tasks/FetchSingleOf.cs | Simpler/Data/Tasks/FetchSingleOf.cs | using System;
using System.Data;
using Simpler.Data.Exceptions;
namespace Simpler.Data.Tasks
{
public class FetchSingleOf<T> : Task
{
// Inputs
public virtual IDbCommand SelectCommand { get; set; }
// Outputs
public virtual T ObjectFetched { get; private set; }
// Sub... | using System;
using System.Data;
using Simpler.Data.Exceptions;
namespace Simpler.Data.Tasks
{
public class FetchSingleOf<T> : Task
{
// Inputs
public virtual IDbCommand SelectCommand { get; set; }
// Outputs
public virtual T ObjectFetched { get; private set; }
// Sub... | mit | C# |
34be80482c3037364e4b9861440c089a5dbcd138 | Fix commit 43378a77483a096edde17f6ead920692eb3af905 | StockSharp/StockSharp | Algo/Storages/DefaultCredentialsProvider.cs | Algo/Storages/DefaultCredentialsProvider.cs | namespace StockSharp.Algo.Storages
{
using System;
using System.IO;
using Ecng.Common;
using Ecng.ComponentModel;
using Ecng.Serialization;
using StockSharp.Configuration;
using StockSharp.Logging;
/// <summary>
/// Default implementation of <see cref="ICredentialsProvider"/>.
/// </summary>
public class... | namespace StockSharp.Algo.Storages
{
using System;
using System.IO;
using Ecng.ComponentModel;
using Ecng.Serialization;
using StockSharp.Configuration;
/// <summary>
/// Default implementation of <see cref="ICredentialsProvider"/>.
/// </summary>
public class DefaultCredentialsProvider : ICredentialsProvi... | apache-2.0 | C# |
a8732748dd9d6b884b15d22e69f1c2a1c3e7faa6 | Allow the game to be reset multiple times when the stamp scene is loaded directly | Silikiln/CouchGames | Assets/Scripts/StampStadium/StampManager.cs | Assets/Scripts/StampStadium/StampManager.cs | using UnityEngine;
using System.Collections.Generic;
public class StampManager : MonoBehaviour {
public static StampManager Instance { get; private set; }
public static List<StampPlayer> ActivePlayers = new List<StampPlayer> ();
private static int totalSpaces, stampedSpaces;
public Grid gameGrid;
public EndScr... | using UnityEngine;
using System.Collections.Generic;
public class StampManager : MonoBehaviour {
public static StampManager Instance { get; private set; }
public static List<StampPlayer> ActivePlayers = new List<StampPlayer> ();
private static int totalSpaces, stampedSpaces;
public Grid gameGrid;
public EndScr... | apache-2.0 | C# |
c6ddeb6f1e8418cc98f2b37eb8796cca5a82071c | Resolve #53 - Add XML doc to method | csf-dev/ZPT-Sharp,csf-dev/ZPT-Sharp | CSF.Zpt.Api/Metal/MacroNotFoundException.cs | CSF.Zpt.Api/Metal/MacroNotFoundException.cs | using System;
namespace CSF.Zpt.Metal
{
/// <summary>
/// Exception raised when a requested METAL macro is not found.
/// </summary>
[Serializable]
public class MacroNotFoundException : Rendering.RenderingException
{
/// <summary>
/// Initializes a new instance of the <see cref="T:MacroNotFoundExc... | using System;
namespace CSF.Zpt.Metal
{
[Serializable]
public class MacroNotFoundException : Rendering.RenderingException
{
/// <summary>
/// Initializes a new instance of the <see cref="T:MacroNotFoundException"/> class
/// </summary>
public MacroNotFoundException()
{
}
/// <sum... | mit | C# |
67e1b5b6fa6369878ce357cedb7ca48a46360643 | Change Comment | Sora-Minaduki/ItaIDE | ItaIDE/ConfigItem.cs | ItaIDE/ConfigItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ItaIDE
{
[System.Xml.Serialization.XmlRoot("config")]
public class ConfigItem
{
/// <summary>
/// The opacity
/// </summary>
[System.Xml.Serialization.XmlElement("opacity")]
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ItaIDE
{
[System.Xml.Serialization.XmlRoot("config")]
public class ConfigItem
{
/// <summary>
/// 不透明度
/// </summary>
[System.Xml.Serialization.XmlElement("opacity")]
pub... | mit | C# |
57f54db3a3859c37183e77d78738ca4ff0631d31 | fix null repository resulting test to failed | marklaygo/aspCart,marklaygo/aspCart | src/aspCart.xUnitTest/Service.cs | src/aspCart.xUnitTest/Service.cs | using aspCart.Core.Domain.Catalog;
using aspCart.Infrastructure;
using aspCart.Infrastructure.EFRepository;
using aspCart.Infrastructure.Services.Catalog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace aspCart.xUnitTest
{
public class Service
{
... | using aspCart.Core.Domain.Catalog;
using aspCart.Infrastructure;
using aspCart.Infrastructure.EFRepository;
using aspCart.Infrastructure.Services.Catalog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace aspCart.xUnitTest
{
public class Service
{
... | mit | C# |
d1e4c5531ca2154f4a3545953c2aa13a629166b9 | Change the way MutableString instances are created from the buffer. | nrk/ironruby-hpricot,nrk/ironruby-hpricot | src/Utilities.cs | src/Utilities.cs | using System;
using System.Text;
using IronRuby.Builtins;
using IronRuby.Runtime;
using Microsoft.Scripting;
using Microsoft.Scripting.Runtime;
namespace IronRuby.Hpricot {
public static class Utilities {
public static readonly RubyRegex ProcessInstructionParser = new RubyRegex(MutableString.Crea... | using System;
using System.Text;
using IronRuby.Builtins;
using IronRuby.Runtime;
using Microsoft.Scripting;
using Microsoft.Scripting.Runtime;
namespace IronRuby.Hpricot {
public static class Utilities {
public static readonly RubyRegex ProcessInstructionParser = new RubyRegex(MutableString.Crea... | mit | C# |
6d8a20d885afab304562788a8c16d79c918cae90 | Clean code | croquet-australia/api.croquet-australia.com.au | source/CroquetAustralia.Domain/Features/TournamentEntry/Commands/SubmitEntry.cs | source/CroquetAustralia.Domain/Features/TournamentEntry/Commands/SubmitEntry.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using CroquetAustralia.Domain.Features.TournamentEntry.Models;
namespace CroquetAustralia.Domain.Features.TournamentEntry.Commands
{
public class SubmitEntry : EntryDto, IValidatableObject
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using CroquetAustralia.Domain.Features.TournamentEntry.Models;
namespace CroquetAustralia.Domain.Features.TournamentEntry.Commands
{
public class SubmitEntry : EntryDto, IValidatableObject
{
... | mit | C# |
5e14f6e5c19d4ea763f13278e7ad93d5c9e7e32c | Mark required properties in ViewModel | GeorgDangl/WebDocu,GeorgDangl/WebDocu,GeorgDangl/WebDocu | src/Dangl.WebDocumentation/ViewModels/Admin/CreateProjectViewModel.cs | src/Dangl.WebDocumentation/ViewModels/Admin/CreateProjectViewModel.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Dangl.WebDocumentation.ViewModels.Admin
{
public class CreateProjectViewModel
{
[Display(Name ="Name")]
[Required]
public string ProjectName { get; set; }
[Display(Name ="Public access")]
... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Dangl.WebDocumentation.ViewModels.Admin
{
public class CreateProjectViewModel
{
[Display(Name ="Name")]
public string ProjectName { get; set; }
[Display(Name ="Public access")]
public bool... | mit | C# |
d2b5811cdc65dc91e5b5060253ed0312301a0409 | Refactor custom path handling to avoid too many if conditions | ZocDoc/ServiceStack,MindTouch/NServiceKit,NServiceKit/NServiceKit,MindTouch/NServiceKit,ZocDoc/ServiceStack,nataren/NServiceKit,timba/NServiceKit,timba/NServiceKit,nataren/NServiceKit,MindTouch/NServiceKit,ZocDoc/ServiceStack,NServiceKit/NServiceKit,timba/NServiceKit,NServiceKit/NServiceKit,nataren/NServiceKit,ZocDoc/S... | src/ServiceStack/WebHost.Endpoints/Support/Templates/HtmlTemplates.cs | src/ServiceStack/WebHost.Endpoints/Support/Templates/HtmlTemplates.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.IO;
namespace ServiceStack.WebHost.Endpoints.Support.Templates
{
public static class HtmlTemplates
{
public static string IndexOperationsTemplate;
public static string Op... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.IO;
namespace ServiceStack.WebHost.Endpoints.Support.Templates
{
public static class HtmlTemplates
{
public static string IndexOperationsTemplate;
public static string Op... | bsd-3-clause | C# |
640173bc0194e29a716abf1f5fe2481ffae492e5 | remove comment | autumn009/TanoCSharpSamples | Chap37/ParameterlessStructConstructors/ParameterlessStructConstructors/Program.cs | Chap37/ParameterlessStructConstructors/ParameterlessStructConstructors/Program.cs | A a = new A();
a.Sub();
struct A
{
internal void Sub()
{
Console.WriteLine("Hello, World!");
}
public A()
{
Console.WriteLine("Constructed!");
}
} | // See https://aka.ms/new-console-template for more information
A a = new A();
a.Sub();
struct A
{
internal void Sub()
{
Console.WriteLine("Hello, World!");
}
public A()
{
Console.WriteLine("Constructed!");
}
} | mit | C# |
7c9ac037c1c45167a23672bb7519e7b34d8f795c | Bump version to 0.89.0-beta1 | b0bi79/ClosedXML,jongleur1983/ClosedXML,JavierJJJ/ClosedXML,ClosedXML/ClosedXML,igitur/ClosedXML | ClosedXML/Properties/AssemblyVersionInfo.cs | ClosedXML/Properties/AssemblyVersionInfo.cs | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("0.89.0.0")]
[assembly: AssemblyFileVersion("0.89.0.0")]
[assembly: AssemblyInformationalVersion("0.8... | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("0.88.0.0")]
[assembly: AssemblyFileVersion("0.88.0.0")]
[assembly: AssemblyInformationalVersion("0.8... | mit | C# |
0ba13ee6f302ec2ee4e4d7daa2b3cda96714f4de | order by descending comments | fullstack101/SuggestionSystem,fullstack101/SuggestionSystem,fullstack101/SuggestionSystem,fullstack101/SuggestionSystem | Source/SuggestionSystem/Services/SuggestionSystem.Services.Data/CommentService.cs | Source/SuggestionSystem/Services/SuggestionSystem.Services.Data/CommentService.cs | namespace SuggestionSystem.Services.Data
{
using System;
using SuggestionSystem.Data.Models;
using SuggestionSystem.Services.Data.Contracts;
using SuggestionSystem.Data.Repositories;
using System.Linq;
using Web.DataTransferModels.Comment;
public class CommentService : ICommentService
... | namespace SuggestionSystem.Services.Data
{
using System;
using SuggestionSystem.Data.Models;
using SuggestionSystem.Services.Data.Contracts;
using SuggestionSystem.Data.Repositories;
using System.Linq;
using Web.DataTransferModels.Comment;
public class CommentService : ICommentService
... | mit | C# |
67d30f31aa27dcefd6a108de3372e35eefa265b6 | Change TransitionType to an unit enum Add [Falgs] attribute as TransitionType can have multiple values Import values from cef_transition_type_t (cef_types.h) Rename some of the values (slightly friendlier names) | rlmcneary2/CefSharp,Livit/CefSharp,haozhouxu/CefSharp,ruisebastiao/CefSharp,AJDev77/CefSharp,zhangjingpu/CefSharp,illfang/CefSharp,Livit/CefSharp,Haraguroicha/CefSharp,ruisebastiao/CefSharp,Haraguroicha/CefSharp,Octopus-ITSM/CefSharp,zhangjingpu/CefSharp,wangzheng888520/CefSharp,battewr/CefSharp,gregmartinhtc/CefSharp,... | CefSharp/TransitionType.cs | CefSharp/TransitionType.cs | using System;
namespace CefSharp
{
[Flags]
public enum TransitionType : uint
{
/// <summary>
/// Source is a link click or the JavaScript window.open function. This is
/// also the default value for requests like sub-resource loads that are not navigations.
/// </summary>
LinkClicked = 0,
/// <summary... | namespace CefSharp
{
public enum TransitionType
{
LinkClicked,
FormSubmitted,
BackForward,
Reload,
FormResubmitted,
Other
};
}
| bsd-3-clause | C# |
fe1c1fec0d37ecacbeb5ff328237307b95843706 | Stop overlays from handling DragStart | naoey/osu,2yangk23/osu,johnneijzen/osu,naoey/osu,smoogipooo/osu,peppy/osu,ZLima12/osu,ppy/osu,EVAST9919/osu,peppy/osu,DrabWeb/osu,smoogipoo/osu,DrabWeb/osu,naoey/osu,NeoAdonis/osu,DrabWeb/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipo... | osu.Game/Graphics/Containers/OsuFocusedOverlayContainer.cs | osu.Game/Graphics/Containers/OsuFocusedOverlayContainer.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.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using O... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using O... | mit | C# |
529df87030c969b95720eb595db5e8b295754d68 | Fix compatibity issue with PS 4 for some users | WaelHamze/xrm-ci-framework,WaelHamze/xrm-ci-framework,WaelHamze/xrm-ci-framework | MSDYNV9/Xrm.Framework.CI/Xrm.Framework.CI.PowerShell.Cmdlets/Logging/PSLogger.cs | MSDYNV9/Xrm.Framework.CI/Xrm.Framework.CI.PowerShell.Cmdlets/Logging/PSLogger.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Text;
using System.Threading.Tasks;
using Xrm.Framework.CI.Common.Logging;
namespace Xrm.Framework.CI.PowerShell.Cmdlets.Logging
{
public class PSLogger : ILogger
{
#region Properties
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Text;
using System.Threading.Tasks;
using Xrm.Framework.CI.Common.Logging;
namespace Xrm.Framework.CI.PowerShell.Cmdlets.Logging
{
public class PSLogger : ILogger
{
#region Properties
... | mit | C# |
66db0df45a33e97fed62950a33b96a979b59630d | Add WindowsUtils.StartProcess for easier elevated process starting | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/Utils/WindowsUtils.cs | Core/Utils/WindowsUtils.cs | using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Security.AccessControl;
using System.Security.Principal;
namespace TweetDck.Core.Utils{
static class WindowsUtils{
public static bool CheckFolderPermission(string path, FileSystemRights right){
try{
Auth... | using System.IO;
using System.Linq;
using System.Security.AccessControl;
using System.Security.Principal;
namespace TweetDck.Core.Utils{
static class WindowsUtils{
public static bool CheckFolderPermission(string path, FileSystemRights right){
try{
AuthorizationRuleCollection ru... | mit | C# |
a36afe0b4467705736f2a4c84a64895cb423e595 | Change CaF file system paths | ColdMatter/EDMSuite,ColdMatter/EDMSuite,ColdMatter/EDMSuite,ColdMatter/EDMSuite | DAQ/PHBonesawFileSystem.cs | DAQ/PHBonesawFileSystem.cs | using System;
namespace DAQ.Environment
{
public class PHBonesawFileSystem : DAQ.Environment.FileSystem
{
public PHBonesawFileSystem()
{
Paths.Add("MOTMasterDataPath", "C:\\Users\\cafmot\\Box Sync\\CaF MOT\\MOTData\\MOTMasterData\\");
Paths.Add("scriptListPath", "C:\\Co... | using System;
namespace DAQ.Environment
{
public class PHBonesawFileSystem : DAQ.Environment.FileSystem
{
public PHBonesawFileSystem()
{
Paths.Add("MOTMasterDataPath", "C:\\Users\\cafmot\\Box\\CaF MOT\\MOTData\\MOTMasterData\\");
Paths.Add("scriptListPath", "C:\\Control... | mit | C# |
3489431415773b108b17f6162a1569af9b59817a | Remove src folder from paths before pushing | pvcbuild/pvcbuild.com,pvcbuild/pvcbuild.com | pvcfile.csx | pvcfile.csx | #load ../amazon.csx
pvc.Task("push", () => {
pvc.Source("src/**/*.*")
.Pipe((streams) => {
// strip src folder from paths
var currentDirectory = Directory.GetCurrentDirectory();
var resultStreams = new List<PvcStream>();
foreach (var stream in streams) {
var fullPath = Path.GetFullPath(stream.StreamNam... | #load ../amazon.csx
pvc.Task("push", () => {
pvc.Source("src/**/*.*")
.Pipe(new PvcCloudFront(
accessKey: keys.accessKey,
secretKey: keys.secretKey,
bucketName: "pvcbuild-com",
distributionId: "E13RNZ6AJTCYUR"
));
});
| mit | C# |
301e03f256234da5f6fe75ee02fbff0438ab89f5 | correct grammar | AJDev77/CefSharp,AJDev77/CefSharp,wangzheng888520/CefSharp,windygu/CefSharp,ruisebastiao/CefSharp,rover886/CefSharp,ruisebastiao/CefSharp,zhangjingpu/CefSharp,dga711/CefSharp,twxstar/CefSharp,Haraguroicha/CefSharp,VioletLife/CefSharp,NumbersInternational/CefSharp,twxstar/CefSharp,dga711/CefSharp,Haraguroicha/CefSharp,i... | CefSharp.Tests/ResourceTests.cs | CefSharp.Tests/ResourceTests.cs | namespace CefSharp.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using System.IO;
[TestFixture]
public class ResourceTests
{
private CefWebBrowser WebBrowser { get { return BrowserApplication... | namespace CefSharp.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using System.IO;
[TestFixture]
public class ResourceTests
{
private CefWebBrowser WebBrowser { get { return BrowserApplication... | bsd-3-clause | C# |
c7ac4ea37ca7acb7611c9c15eb2e6d66125e2ff1 | Fix summary for NullEntityChangeEventHelper.Instance. | ryancyq/aspnetboilerplate,AlexGeller/aspnetboilerplate,zclmoon/aspnetboilerplate,virtualcca/aspnetboilerplate,verdentk/aspnetboilerplate,andmattia/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,zclmoon/aspnetboilerplate,ryancyq/aspnetboilerplate,virtualcca/aspnetboilerplate,fengyeju/aspnetboilerplate,carldai0106... | src/Abp/Events/Bus/Entities/NullEntityChangeEventHelper.cs | src/Abp/Events/Bus/Entities/NullEntityChangeEventHelper.cs | using System.Threading.Tasks;
namespace Abp.Events.Bus.Entities
{
/// <summary>
/// Null-object implementation of <see cref="IEntityChangeEventHelper"/>.
/// </summary>
public class NullEntityChangeEventHelper : IEntityChangeEventHelper
{
/// <summary>
/// Gets single instance of <s... | using System.Threading.Tasks;
namespace Abp.Events.Bus.Entities
{
/// <summary>
/// Null-object implementation of <see cref="IEntityChangeEventHelper"/>.
/// </summary>
public class NullEntityChangeEventHelper : IEntityChangeEventHelper
{
/// <summary>
/// Gets single instance of <s... | mit | C# |
efdac6cab6d976fa4d1134cf0bd613dcef9e42df | add token endpoint | josealencar/Aritter,josealencar/Aritter,josealencar/Aritter,arsouza/Aritter,aritters/Ritter,josealencar/Aritter,josealencar/Aritter,arsouza/Aritter | src/Aritter.API/Core/Providers/ApplicationOAuthProvider.cs | src/Aritter.API/Core/Providers/ApplicationOAuthProvider.cs | using Aritter.API.Core.Filters;
using Aritter.Application.Seedwork.Services.Security;
using Aritter.Domain.Security.Aggregates;
using Aritter.Infra.IoC.Providers;
using Microsoft.Owin.Security.OAuth;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading... | using Aritter.API.Core.Filters;
using Aritter.Application.Seedwork.Services.Security;
using Aritter.Domain.Security.Aggregates;
using Aritter.Infra.IoC.Providers;
using Microsoft.Owin.Security.OAuth;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading... | mit | C# |
fad07b0f253a4f1efee17179d84b49e4c0d44633 | Validate action expressions | StanleyGoldman/NRules,StanleyGoldman/NRules,NRules/NRules,prashanthr/NRules | src/NRules/NRules.RuleModel/Builders/ActionGroupBuilder.cs | src/NRules/NRules.RuleModel/Builders/ActionGroupBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace NRules.RuleModel.Builders
{
/// <summary>
/// Builder to compose a group of rule actions.
/// </summary>
public class ActionGroupBuilder : RuleElementBuilder, IBuilder<ActionGroupElement>
{
... | using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace NRules.RuleModel.Builders
{
/// <summary>
/// Builder to compose a group of rule actions.
/// </summary>
public class ActionGroupBuilder : RuleElementBuilder, IBuilder<ActionGroupElement>
{
privat... | mit | C# |
a4282b556e91b66835c51fe58a273941123f813d | Fix file names for test results to be case sensitive for unix. | Faizan2304/LoggerExtensions | test/NUnit.Xml.TestLogger.AcceptanceTests/NUnitTestLoggerPathTests.cs | test/NUnit.Xml.TestLogger.AcceptanceTests/NUnitTestLoggerPathTests.cs | // Copyright (c) Spekt Contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace NUnit.Xml.TestLogger.AcceptanceTests
{
using System;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using System.Xml.... | // Copyright (c) Spekt Contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace NUnit.Xml.TestLogger.AcceptanceTests
{
using System;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using System.Xml.... | mit | C# |
7bce71b8f109c3daa09604931468f362787d8c4e | Remove set log level from base handler class. | eternnoir/NLogging | src/NLogging/Handler.cs | src/NLogging/Handler.cs | namespace NLogging
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public abstract class Handler : IHandler
{
private IFormatter formatter;
protected Handler()
{
this.formatter = new ... | namespace NLogging
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public abstract class Handler : IHandler
{
private IFormatter formatter;
private LogLevel logLevel;
protected Handler()
... | mit | C# |
f7180b166d35e90594c452456eeef24d0fdeabfc | Remove commented out class | oberxon/roslyn,VSadov/roslyn,Inverness/roslyn,devharis/roslyn,dovzhikova/roslyn,DanielRosenwasser/roslyn,balajikris/roslyn,tsdl2013/roslyn,jramsay/roslyn,vslsnap/roslyn,DanielRosenwasser/roslyn,VShangxiao/roslyn,mgoertz-msft/roslyn,michalhosala/roslyn,dsplaisted/roslyn,Pvlerick/roslyn,paulvanbrenk/roslyn,mgoertz-msft/r... | src/Compilers/CSharp/Portable/Syntax/InternalSyntax/SyntaxVisitor.cs | src/Compilers/CSharp/Portable/Syntax/InternalSyntax/SyntaxVisitor.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis... | apache-2.0 | C# |
484971831fc6779196729622c1cd077b8fe13304 | Update ClrStackInteriorRoot.cs (#739) | cshung/clrmd,Microsoft/clrmd,cshung/clrmd,Microsoft/clrmd | src/Microsoft.Diagnostics.Runtime/src/Common/ClrStackInteriorRoot.cs | src/Microsoft.Diagnostics.Runtime/src/Common/ClrStackInteriorRoot.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.
namespace Microsoft.Diagnostics.Runtime
{
public sealed class ClrStackInteriorRoot : IClrStackRoot
{
... | // 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.
namespace Microsoft.Diagnostics.Runtime
{
public sealed class ClrStackInteriorRoot : IClrStackRoot
{
... | mit | C# |
50a5e0944e56fe194114ccaa97587c99083d1bd2 | Fix fault in temp impl of 6D handling | HelloKitty/Booma.Proxy | src/Booma.Proxy.Client.Unity.Ship/Handlers/Command/6D/Default6DCommandHandler.cs | src/Booma.Proxy.Client.Unity.Ship/Handlers/Command/6D/Default6DCommandHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Logging;
using GladNet;
namespace Booma.Proxy
{
[SceneTypeCreate(GameSceneType.Pioneer2)]
public sealed class Default6DCommandHandler : Command6DHandler<UnknownSubCommand6DCommand>
{
p... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Logging;
using GladNet;
namespace Booma.Proxy
{
[SceneTypeCreate(GameSceneType.Pioneer2)]
public sealed class Default6DCommandHandler : Command6DHandler<UnknownSubCommand6DCommand>
{
p... | agpl-3.0 | C# |
f4b04e8a8d28dbf6eb850ab82e19c8086bb0fc41 | Add a concrete AudioFrame as generics are not currently considered unmanaged | eightlittlebits/elbsms | elbemu_shared/Audio/AudioFrame.cs | elbemu_shared/Audio/AudioFrame.cs | using System.Runtime.InteropServices;
namespace elbemu_shared.Audio
{
// TODO(david): C# 8 will consider this unmanaged so can be used instead of AudioFrame
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public readonly struct AudioFrame<T> where T : unmanaged
{
public readonly T Left;
... | using System.Runtime.InteropServices;
namespace elbemu_shared.Audio
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public readonly struct AudioFrame<T> where T : unmanaged
{
public readonly T Left;
public readonly T Right;
public AudioFrame(T left, T right)
{
... | mit | C# |
0ad2bf70e5c6045d1efc0699ced1b4619e2b9d99 | Add comments to DoubleBufferedPanel | ianmartinez/Language-Pad | src/LangPadUI/DoubleBufferedPanel.cs | src/LangPadUI/DoubleBufferedPanel.cs | using System.Windows.Forms;
namespace LangPadUI
{
/// <summary>
/// A Panel that is double-buffered by default, to have
/// less artifacts than the default Panel.
/// </summary>
public class DoubleBufferedPanel : Panel
{
public DoubleBufferedPanel()
{
DoubleBuffered... | using System.Windows.Forms;
namespace LangPadUI
{
public class DoubleBufferedPanel : Panel
{
public DoubleBufferedPanel()
{
DoubleBuffered = true;
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
SetStyle(ControlStyles.OptimizedDoubleBuffer, true)... | mit | C# |
abe243e8ec67d1f4d2559feb6c93bc01fc1535b2 | Fix for action name being capture in all lower case for requests routed by MVC convention based routes. | MatthewRudolph/Airy-ApplicationInsights-Owin | src/Dematt.Airy.ApplicationInsights.Owin/ActionFilters/MvcRouteFilterAttribute.cs | src/Dematt.Airy.ApplicationInsights.Owin/ActionFilters/MvcRouteFilterAttribute.cs | using System;
using System.Linq;
using System.Reflection;
using System.Web;
using System.Web.Mvc;
namespace Dematt.Airy.ApplicationInsights.Owin.ActionFilters
{
/// <summary>
/// MVC Filter Attribute that stores information about the controller and action used (including optionally the parameter names) in the... | using System.Web;
using System.Web.Mvc;
namespace Dematt.Airy.ApplicationInsights.Owin.ActionFilters
{
/// <summary>
/// MVC Filter Attribute that stores information about the controller and action used (including optionally the parameter names) in the owin context.
/// </summary>
public class MvcRout... | mit | C# |
7237437c14f5a1ac6d09693f13d1714d6ede973b | Update FrontEndCultureSelector.cshtml | Praggie/Orchard,JRKelso/Orchard,aaronamm/Orchard,jagraz/Orchard,jtkech/Orchard,phillipsj/Orchard,rtpHarry/Orchard,Serlead/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,li0803/Orchard,yersans/Orchard,hannan-azam/Orchard,abhishekluv/Orchard,hannan-azam/Orchard,TalaveraTechnologySolutions/Orchard,Fogolan/OrchardFo... | src/Orchard.Web/Modules/Orchard.Localization/Views/FrontEndCultureSelector.cshtml | src/Orchard.Web/Modules/Orchard.Localization/Views/FrontEndCultureSelector.cshtml | @using System.Globalization
@using Orchard.Autoroute.Services
@using Orchard.ContentManagement
@using Orchard.ContentManagement.Aspects
@using Orchard.Localization.Services
@{
var localizableAspects = Enumerable.Empty<ILocalizableAspect>();
var homePage = WorkContext.Resolve<IHomeAliasService>().GetHomePage();... | @using System.Globalization
@using Orchard.Autoroute.Services
@using Orchard.ContentManagement
@using Orchard.ContentManagement.Aspects
@using Orchard.Localization.Services
@{
var localizableAspects = Enumerable.Empty<ILocalizableAspect>();
var homePage = WorkContext.Resolve<IHomeAliasService>().GetHomePage();... | bsd-3-clause | C# |
370b611fdf3e1f9dd31ec2ebe0944d33738e99d4 | Fix 3 broken tests | AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov... | src/R/Core/Impl/Parser/ParseError.cs | src/R/Core/Impl/Parser/ParseError.cs | using System.Diagnostics;
using Microsoft.Languages.Core.Text;
using Microsoft.R.Core.AST.Definitions;
using Microsoft.R.Core.Parser.Definitions;
using Microsoft.R.Core.Tokens;
namespace Microsoft.R.Core.Parser
{
/// <summary>
/// Represents parsing (syntax) error. Parsing error is
/// a text r... | using System.Diagnostics;
using Microsoft.Languages.Core.Text;
using Microsoft.R.Core.AST.Definitions;
using Microsoft.R.Core.Parser.Definitions;
using Microsoft.R.Core.Tokens;
namespace Microsoft.R.Core.Parser
{
/// <summary>
/// Represents parsing (syntax) error. Parsing error is
/// a text r... | mit | C# |
30a39d0fdbf8f5d643063299f101c7364fad44db | Add NewLine at the end of the list | mysticmind/reversemarkdown-net | src/ReverseMarkdown/Converters/Ol.cs | src/ReverseMarkdown/Converters/Ol.cs |
using System;
using HtmlAgilityPack;
namespace ReverseMarkdown.Converters
{
public class Ol
: ConverterBase
{
public Ol(Converter converter)
: base(converter)
{
this.Converter.Register("ol", this);
this.Converter.Register("ul", this);
}
public override string Convert(HtmlNode node)
{
retu... |
using System;
using HtmlAgilityPack;
namespace ReverseMarkdown.Converters
{
public class Ol
: ConverterBase
{
public Ol(Converter converter)
: base(converter)
{
this.Converter.Register("ol", this);
this.Converter.Register("ul", this);
}
public override string Convert(HtmlNode node)
{
retu... | mit | C# |
93f73b1b2d34bad01fe733d39b9f0463f526743d | Bump to 2.2 | kcjuntunen/ArchivePDF | ArchivePDF/Properties/AssemblyInfo.cs | ArchivePDF/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("Ar... | 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("Ar... | bsd-3-clause | C# |
cc6e325fe5c57ea9a054ca91790e038e8483db5a | add list type | ArsenShnurkov/BitSharp | BitSharp.Core/Wallet/WalletEntries.cs | BitSharp.Core/Wallet/WalletEntries.cs | using BitSharp.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.Core.Wallet
{
public class WalletEntries
{
// point in the blockchain when monitoring started
private readonly UInt256 start... | using BitSharp.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.Core.Wallet
{
public class WalletEntries
{
// point in the blockchain when monitoring started
private readonly UInt256 start... | unlicense | C# |
428bbb45c768af6971054189525c440b135b8463 | Remove unused using | aloisdg/CountPages,saidmarouf/Doccou,aloisdg/Doccou | CountPages/ViewModel/MainViewModel.cs | CountPages/ViewModel/MainViewModel.cs | using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using Counter;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.CommandWpf;
namespace CountPages.ViewModel
{
public class MainViewModel : ViewModelBase
{
public uint PageCount { get; set; }
public Visibility L... | using Counter;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.CommandWpf;
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
namespace CountPages.ViewModel
{
public class Main... | mit | C# |
8eee3a804fac78c6d24afd25e27324ca4f9ed337 | Remove obsolete TODO. | drewnoakes/dasher | Dasher/TypeProviders/ITypeProvider.cs | Dasher/TypeProviders/ITypeProvider.cs | #region License
//
// Dasher
//
// Copyright 2015 Drew Noakes
//
// 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
//
// Un... | #region License
//
// Dasher
//
// Copyright 2015 Drew Noakes
//
// 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
//
// Un... | apache-2.0 | C# |
dd538c8c0c511c7e6e3b5f0e5812d395c8a4fa30 | Add HandShape property | sakapon/Tools-2016 | IntelliRps/IntelliRpsLeap/AppModel.cs | IntelliRps/IntelliRpsLeap/AppModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using Reactive.Bindings;
namespace IntelliRpsLeap
{
public class AppModel
{
public LeapManager LeapManager { get; } = new LeapManager();
public ReadOnlyReactiveProperty<int?> ExtendedFin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using Reactive.Bindings;
namespace IntelliRpsLeap
{
public class AppModel
{
public LeapManager LeapManager { get; } = new LeapManager();
public ReadOnlyReactiveProperty<int?> ExtendedFin... | mit | C# |
8eb696bc24bcecfdce82a47a0016c4cb5a5ae749 | Update ProtectingWorksheet.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,as... | Examples/CSharp/Worksheets/Security/Protecting/ProtectingWorksheet.cs | Examples/CSharp/Worksheets/Security/Protecting/ProtectingWorksheet.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Security.Protecting
{
public class ProtectingWorksheet
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cell... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Security.Protecting
{
public class ProtectingWorksheet
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetData... | mit | C# |
c241dfefa78f3a750d3857679661481b3822be38 | Allow DirectSound.Device to be created | alesliehughes/monoDX,alesliehughes/monoDX | Microsoft.DirectX.DirectSound/Microsoft.DirectX.DirectSound/Device.cs | Microsoft.DirectX.DirectSound/Microsoft.DirectX.DirectSound/Device.cs | /*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* 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 ... | /*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* 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 ... | mit | C# |
9912c0d979ed471915ce82fb967723997e5dc223 | Remove slug from episode ids. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Objects/Get/Shows/Episodes/TraktEpisodeIds.cs | Source/Lib/TraktApiSharp/Objects/Get/Shows/Episodes/TraktEpisodeIds.cs | namespace TraktApiSharp.Objects.Get.Shows.Episodes
{
using Attributes;
using Newtonsoft.Json;
/// <summary>A collection of ids for various web services, including the Trakt id, for a Trakt episode.</summary>
public class TraktEpisodeIds
{
/// <summary>Gets or sets the Trakt numeric id.</su... | namespace TraktApiSharp.Objects.Get.Shows.Episodes
{
using Basic;
/// <summary>A collection of ids for various web services, including the Trakt id, for a Trakt episode.</summary>
public class TraktEpisodeIds : TraktIds
{
}
}
| mit | C# |
03a0a627946f3b07f90d747e6512cd19c0cd2cd8 | Test demonstrating an edge case of generic interfaces | mrinaldi/NSubstitute,huoxudong125/NSubstitute,mrinaldi/NSubstitute,dnm240/NSubstitute,mrinaldi/NSubstitute,jbialobr/NSubstitute,jannickj/NSubstitute,jbialobr/NSubstitute,jbialobr/NSubstitute,iamkoch/NSubstitute,mrinaldi/NSubstitute,paulcbetts/NSubstitute,jannickj/NSubstitute,jannickj/NSubstitute,jannickj/NSubstitute,ia... | Source/NSubstitute.Acceptance.Specs/MatchingDerivedTypesForGenerics.cs | Source/NSubstitute.Acceptance.Specs/MatchingDerivedTypesForGenerics.cs | using NUnit.Framework;
namespace NSubstitute.Acceptance.Specs
{
[TestFixture]
public class MatchingDerivedTypesForGenerics
{
IGenMethod _sub;
[SetUp]
public void Setup()
{
_sub = Substitute.For<IGenMethod>();
}
[Test]
public void Calls_to_generic_types_with_derived_parameters_should_be_matched (... | using NUnit.Framework;
namespace NSubstitute.Acceptance.Specs
{
[TestFixture]
public class MatchingDerivedTypesForGenerics
{
IGenMethod _sub;
[SetUp]
public void Setup()
{
_sub = Substitute.For<IGenMethod>();
}
[Test]
public void Calls_to_generic_types_with_derived_parameters_should_be_matched (... | bsd-3-clause | C# |
57ac9f23d3080dfcc733bae2b507c66a2c4807d5 | Fix when reverting a vessel so they are not fully removed from server | gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer | Client/Systems/VesselRemoveSys/VesselRemoveMessageSender.cs | Client/Systems/VesselRemoveSys/VesselRemoveMessageSender.cs | using LunaClient.Base;
using LunaClient.Base.Interface;
using LunaClient.Network;
using LunaCommon.Message.Client;
using LunaCommon.Message.Data.Vessel;
using LunaCommon.Message.Interface;
using System;
namespace LunaClient.Systems.VesselRemoveSys
{
public class VesselRemoveMessageSender : SubSystem<VesselRemoveS... | using LunaClient.Base;
using LunaClient.Base.Interface;
using LunaClient.Network;
using LunaCommon.Message.Client;
using LunaCommon.Message.Data.Vessel;
using LunaCommon.Message.Interface;
using System;
namespace LunaClient.Systems.VesselRemoveSys
{
public class VesselRemoveMessageSender : SubSystem<VesselRemoveS... | mit | C# |
9b776363cf615abe396a08fad0c9e97b6bba89c8 | fix bad merge of RichArtifact | ecologylab/BigSemanticsCSharp | Ecologylab.BigSemantics/MetadataNS/Builtins/RichArtifact.cs | Ecologylab.BigSemantics/MetadataNS/Builtins/RichArtifact.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ecologylab.BigSemantics.MetadataNS;
using Ecologylab.BigSemantics.MetadataNS.Builtins;
using Ecologylab.BigSemantics.MetadataNS.Builtins.Declarations;
using Ecologylab.BigSemantics.MetaMetadataNS;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ecologylab.Semantics.MetaMetadataNS;
using Ecologylab.Semantics.MetadataNS.Builtins.Declarations;
using Simpl.Fundamental.Net;
using Simpl.Serialization.Attributes;
namespace Ecologylab.Semantics.... | apache-2.0 | C# |
009dc5a1638579a7d006d432045af7a75bb170d4 | Add status to charges model | conekta/conekta-.net | src/conekta/conekta/Models/Charge.cs | src/conekta/conekta/Models/Charge.cs | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace conekta
{
public class Charge : Resource
{
public string id { get; set; }
public string description { get; set; }
public int amount { get; set; }
public int monthly_installments { get; set; }
public string currency { get; set; }
... | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace conekta
{
public class Charge : Resource
{
public string id { get; set; }
public string description { get; set; }
public int amount { get; set; }
public int monthly_installments { get; set; }
public string currency { get; set; }
... | mit | C# |
c264f506edf9343c658619dd8f6292eea2890ccd | Use number provider for m_flStartTime | SteamDatabase/ValveResourceFormat | GUI/Types/ParticleRenderer/Emitters/InstantaneousEmitter.cs | GUI/Types/ParticleRenderer/Emitters/InstantaneousEmitter.cs | using System;
using ValveResourceFormat.Serialization;
namespace GUI.Types.ParticleRenderer.Emitters
{
public class InstantaneousEmitter : IParticleEmitter
{
public bool IsFinished { get; private set; }
private readonly IKeyValueCollection baseProperties;
private Action particleEmitCa... | using System;
using ValveResourceFormat.Serialization;
namespace GUI.Types.ParticleRenderer.Emitters
{
public class InstantaneousEmitter : IParticleEmitter
{
public bool IsFinished { get; private set; }
private readonly IKeyValueCollection baseProperties;
private Action particleEmitCa... | mit | C# |
47b47e619a32234e3366d35bab21e91a7ada13a1 | Fix parsing bug | erebuswolf/LockstepFramework,SnpM/Lockstep-Framework,yanyiyun/LockstepFramework | Integration/Editor/Database/Editor/RegisterDataAttribute.cs | Integration/Editor/Database/Editor/RegisterDataAttribute.cs | using UnityEngine;
using System.Collections;
using System;
using System.Reflection;
using System.Collections.Generic;
using UnityEditor;
namespace Lockstep.Data {
public class RegisterDataAttribute : Attribute {
public static IEnumerable<EditorLSDatabase.DataItemInfo> GetDataItemInfos () {
for... | using UnityEngine;
using System.Collections;
using System;
using System.Reflection;
using System.Collections.Generic;
using UnityEditor;
namespace Lockstep.Data {
public class RegisterDataAttribute : Attribute {
public static IEnumerable<EditorLSDatabase.DataItemInfo> GetDataItemInfos () {
for... | mit | C# |
6f4a9c7f52bd6618aa29e66f3cd413d3621f7909 | Replace it | sta/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp | Example3/Chat.cs | Example3/Chat.cs | using System;
using System.Threading;
using WebSocketSharp;
using WebSocketSharp.Server;
namespace Example3
{
public class Chat : WebSocketBehavior
{
private string _name;
private static int _number = 0;
private string _prefix;
public Chat ()
{
_prefix = "anon#";
}
publi... | using System;
using System.Threading;
using WebSocketSharp;
using WebSocketSharp.Server;
namespace Example3
{
public class Chat : WebSocketBehavior
{
private string _name;
private static int _number = 0;
private string _prefix;
public Chat ()
: this (null)
{
}
public Cha... | mit | C# |
1c0861420d1781730211d9a457d8eeae241c96aa | Fix /tournament-entry/payment-received | croquet-australia/api.croquet-australia.com.au | source/CroquetAustralia.Domain/Features/TournamentEntry/Commands/ReceivePayment.cs | source/CroquetAustralia.Domain/Features/TournamentEntry/Commands/ReceivePayment.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using CroquetAustralia.Domain.Core;
using EmptyStringGuard;
using NullGuard;
using ValidationFlags = NullGuard.ValidationFlags;
namespace CroquetAustralia.Domain.Features.TournamentEntry.Commands
{
[Nul... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using CroquetAustralia.Domain.Core;
using EmptyStringGuard;
using NullGuard;
using ValidationFlags = NullGuard.ValidationFlags;
namespace CroquetAustralia.Domain.Features.TournamentEntry.Commands
{
[NullGuard(ValidationFl... | mit | C# |
b97d4ca5a10855174dd0699a88ee107869431780 | Clean up---cannot utilize dynamic loading of dll in VS. | kaby76/AntlrVSIX,kaby76/AntlrVSIX,kaby76/AntlrVSIX,kaby76/AntlrVSIX,kaby76/AntlrVSIX | LanguageServer/GrammarDescriptionFactory.cs | LanguageServer/GrammarDescriptionFactory.cs | namespace LanguageServer
{
//using Options;
using System;
using System.Collections.Generic;
using System.Reflection;
public class GrammarDescriptionFactory
{
private static readonly IGrammarDescription _antlr = new AntlrGrammarDescription();
public static List<string> AllLangua... | namespace LanguageServer
{
//using Options;
using System;
using System.Collections.Generic;
using System.Reflection;
public class ManualAssemblyResolver : IDisposable
{
private readonly List<Assembly> _assemblies;
public ManualAssemblyResolver()
{
AppDomai... | mit | C# |
1e7f5202282fec92f5b1cc5e86d6d95cd2d30602 | Fix incorrectly renamed field in GeneratedCodeAttribute | CherryCxldn/corefx,dhoehna/corefx,jlin177/corefx,MaggieTsang/corefx,Ermiar/corefx,pallavit/corefx,parjong/corefx,stone-li/corefx,VPashkov/corefx,shimingsg/corefx,rahku/corefx,Petermarcu/corefx,ViktorHofer/corefx,richlander/corefx,uhaciogullari/corefx,shimingsg/corefx,zhangwenquan/corefx,JosephTremoulet/corefx,vs-team/c... | src/System.Diagnostics.Tools/src/System/CodeDom/Compiler/GeneratedCodeAttribute.cs | src/System.Diagnostics.Tools/src/System/CodeDom/Compiler/GeneratedCodeAttribute.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.CodeDom.Compiler
{
[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = false)]
public sealed class GeneratedCodeAttribute ... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.CodeDom.Compiler
{
[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = false)]
public sealed class GeneratedCodeAttribute ... | mit | C# |
9846d87eb0787ec65f0df9ec6558448dbb18f0b1 | Fix misleading step name (and add comment as to its purpose) | ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu-new | osu.Game.Tests/Visual/Editing/TestSceneEditorBeatmapCreation.cs | osu.Game.Tests/Visual/Editing/TestSceneEditorBeatmapCreation.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.IO;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rul... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.IO;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rul... | mit | C# |
3dcfefcdd59de4ecd220c5145c84feb8dbf49ceb | Refactor wrapper class | andburn/dds-reader | DDSReader/DDSReader/DDSImage.cs | DDSReader/DDSReader/DDSImage.cs | using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using System;
using System.IO;
namespace DDSReader
{
public class DDSImage
{
private readonly Pfim.IImage _image;
public byte[] Data
{
get
{
if (_image != null)
return _image.Data;
else
return new b... | using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using System;
using System.IO;
namespace DDSReader
{
public class DDSImage
{
private readonly Pfim.IImage _image;
public byte[] Data
{
get
{
if (_image != null)
return _image.Data;
else
return new b... | mit | C# |
483b81e871264da5536a63abfb1729d27b2deb5f | Change h2 tag. | Kidoo96/MediaNews,Kidoo96/MediaNews,Kidoo96/MediaNews | MediaNews/MediaNews/Views/Home/Index.cshtml | MediaNews/MediaNews/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>MediNews</h1>
<p class="lead">MediaNews is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</di... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>MediNews</h1>
<p class="lead">MediaNews is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</di... | mit | C# |
c0a7e0df2905573269f42a7abeb00c15d9b0c059 | Work 新版本号:v0.2.0 | mc7246/WeiXinMPSDK,wanddy/WeiXinMPSDK,wanddy/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,down4u/WeiXinMPSDK,down4u/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,wanddy/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,down4u/WeiXinMPSD... | src/Senparc.Weixin.Work/Senparc.Weixin.Work/Properties/AssemblyInfo.cs | src/Senparc.Weixin.Work/Senparc.Weixin.Work/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.Work")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Senparc.Weixin.Work"... | using System.Reflection;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.Work")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Senparc.Weixin.Work"... | apache-2.0 | C# |
6fb6aa00317e2e3c72baac8eac1e8e22cc73b6a9 | Remove empty lines. | BibliothecaTeam/Bibliotheca.Server.Mvc.Middleware | src/Bibliotheca.Server.Mvc.Middleware.Authorization/BearerAuthentication/BearerAppBuilderExtensions.cs | src/Bibliotheca.Server.Mvc.Middleware.Authorization/BearerAuthentication/BearerAppBuilderExtensions.cs | using System;
using Microsoft.AspNetCore.Builder;
namespace Bibliotheca.Server.Mvc.Middleware.Authorization
{
public static class BearerAppBuilderExtensions
{
public static IApplicationBuilder UseBearerAuthentication(this IApplicationBuilder applicationBuilder, JwtBearerOptions options)
{
... | using System;
using Microsoft.AspNetCore.Builder;
namespace Bibliotheca.Server.Mvc.Middleware.Authorization
{
public static class BearerAppBuilderExtensions
{
public static IApplicationBuilder UseBearerAuthentication(this IApplicationBuilder applicationBuilder, JwtBearerOptions options)
{
... | mit | C# |
702918b5f4defe13fa161de0078be34e3929945d | Make AnimationBase generic (#518) | FormsCommunityToolkit/FormsCommunityToolkit | XamarinCommunityToolkit/Behaviors/Animations/AnimationTypes/AnimationBase.shared.cs | XamarinCommunityToolkit/Behaviors/Animations/AnimationTypes/AnimationBase.shared.cs | using System.Threading.Tasks;
using Xamarin.Forms;
namespace Xamarin.CommunityToolkit.Behaviors
{
public abstract class AnimationBase<TView> : BindableObject
where TView : View
{
public static readonly BindableProperty DurationProperty =
BindableProperty.Create(nameof(Duration), typeof(uint), typeof(Animatio... | using System.Threading.Tasks;
using Xamarin.Forms;
namespace Xamarin.CommunityToolkit.Behaviors
{
public abstract class AnimationBase : BindableObject
{
public static readonly BindableProperty DurationProperty =
BindableProperty.Create(nameof(Duration), typeof(uint), typeof(AnimationBase), default(uint),
B... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.