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 |
|---|---|---|---|---|---|---|---|---|
ad7de9e7b40caf9fbe865d3cc49811d367501b80 | Make club a little more effective on diagonals. | AndrewBaker/magecrawl,jeongroseok/magecrawl | Trunk/GameEngine/Weapons/Club.cs | Trunk/GameEngine/Weapons/Club.cs | using System;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Schema;
using Magecrawl.GameEngine.Interfaces;
using Magecrawl.GameEngine.Items;
using Magecrawl.Utilities;
namespace Magecrawl.GameEngine.Weapons
{
internal class Club : WeaponBase
{
public Club(string name... | using System;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Schema;
using Magecrawl.GameEngine.Interfaces;
using Magecrawl.GameEngine.Items;
using Magecrawl.Utilities;
namespace Magecrawl.GameEngine.Weapons
{
internal class Club : WeaponBase
{
public Club(string name... | bsd-2-clause | C# |
e9e395e24904119596451fc3611317a1526556f9 | Update ValuesOut.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.AppCompatCache/ValuesOut.cs | RegistryPlugin.AppCompatCache/ValuesOut.cs | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.AppCompatCache
{
public class ValuesOut:IValueOut
{
public ValuesOut(int cacheEntryPosition, string programName, DateTimeOffset modDate)
{
CacheEntryPosition = cacheEntryPosition;
ProgramName = ... | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.AppCompatCache
{
public class ValuesOut:IValueOut
{
public ValuesOut(int cacheEntryPosition, string programName, DateTimeOffset modDate)
{
CacheEntryPosition = cacheEntryPosition;
ProgramName = ... | mit | C# |
5c094849562c4a3e214e136caca4f908f63aab93 | Use Culture invariant formatting. If dividing similar units return Number with no units. | r2i-sitecore/dotless,NickCraver/dotless,r2i-sitecore/dotless,r2i-sitecore/dotless,modulexcite/dotless,dotless/dotless,NickCraver/dotless,modulexcite/dotless,r2i-sitecore/dotless,rytmis/dotless,NickCraver/dotless,NickCraver/dotless,rytmis/dotless,modulexcite/dotless,dotless/dotless,rytmis/dotless,modulexcite/dotless,r2i... | dotlessjs.Core/Tree/Number.cs | dotlessjs.Core/Tree/Number.cs | using System.Globalization;
using dotless.Infrastructure;
namespace dotless.Tree
{
public class Number : Node, IOperable
{
public double Value { get; set; }
public string Unit { get; set; }
public Number(string value, string unit)
{
Value = double.Parse(value);
Unit = unit;
}
... | using dotless.Infrastructure;
namespace dotless.Tree
{
public class Number : Node, IOperable
{
public double Value { get; set; }
public string Unit { get; set; }
public Number(string value, string unit)
{
Value = double.Parse(value);
Unit = unit;
}
public Number(double value,... | apache-2.0 | C# |
73b3ad9f911f8f9614f5a010b7f0cc6ef75f6f5f | Add Node.GetComponent<T>() convenience functions. | rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D | Source/Urho3D/CSharp/Managed/Scene/Node.cs | Source/Urho3D/CSharp/Managed/Scene/Node.cs | //
// Copyright (c) 2017-2019 the rbfx project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, mer... | //
// Copyright (c) 2017-2019 the rbfx project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, me... | mit | C# |
1d3dbd0e7aa3883bff9449fc753fe72786705815 | Use configured base url for swagger test | oliviak/nether,vflorusso/nether,brentstineman/nether,vflorusso/nether,stuartleeks/nether,ankodu/nether,stuartleeks/nether,vflorusso/nether,brentstineman/nether,ankodu/nether,vflorusso/nether,brentstineman/nether,navalev/nether,stuartleeks/nether,MicrosoftDX/nether,brentstineman/nether,navalev/nether,brentstineman/nethe... | tests/Nether.Web.IntegrationTests/SwaggerTests.cs | tests/Nether.Web.IntegrationTests/SwaggerTests.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace Nethe... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace Nethe... | mit | C# |
3ef01dab4cc29a5689b7665e2afc68b9408c7b7d | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
184dd3e49f40415f4f2aefc519257436cf270743 | Rewrite test orderer. | ExRam/ExRam.Gremlinq | test/ExRam.Gremlinq.Core.Tests/Xunit/SideEffectTestCaseOrderer.cs | test/ExRam.Gremlinq.Core.Tests/Xunit/SideEffectTestCaseOrderer.cs | using Xunit.Sdk;
namespace ExRam.Gremlinq.Core.Tests
{
public class SideEffectTestCaseOrderer : ITestCaseOrderer
{
private sealed class TestCaseComparer<TTestCase> : IComparer<TTestCase>
where TTestCase : ITestCase
{
public static readonly TestCaseComparer<TTestCase> I... | using Xunit.Sdk;
namespace ExRam.Gremlinq.Core.Tests
{
public class SideEffectTestCaseOrderer : ITestCaseOrderer
{
public IEnumerable<TTestCase> OrderTestCases<TTestCase>(IEnumerable<TTestCase> testCases) where TTestCase : ITestCase
{
int GetIndex(string str)
{
... | mit | C# |
b169653fc6d18067fa3a58165fc4f5310255bd70 | Set the max sub count to 100. | SQLStreamStore/SQLStreamStore,damianh/Cedar.EventStore,SQLStreamStore/SQLStreamStore | tests/SqlStreamStore.Postgres.Tests/PostgresStreamStoreFixture.cs | tests/SqlStreamStore.Postgres.Tests/PostgresStreamStoreFixture.cs | namespace SqlStreamStore
{
using System;
using System.Threading.Tasks;
using SqlStreamStore.Infrastructure;
using SqlStreamStore.Postgres;
using Xunit.Abstractions;
public class PostgresStreamStoreFixture : IStreamStoreFixture
{
private readonly string _schema;
private reado... | namespace SqlStreamStore
{
using System;
using System.Threading.Tasks;
using SqlStreamStore.Infrastructure;
using SqlStreamStore.Postgres;
using Xunit.Abstractions;
public class PostgresStreamStoreFixture : IStreamStoreFixture
{
private readonly string _schema;
private reado... | mit | C# |
3948b92270dc5269a08d8a4f68bcd3b27d24c34c | Update Index.cshtml | joakimskoog/AnApiOfIceAndFire,joakimskoog/AnApiOfIceAndFire | AnApiOfIceAndFire/Views/Documentation/Index.cshtml | AnApiOfIceAndFire/Views/Documentation/Index.cshtml | @using AnApiOfIceAndFire.Infrastructure.Html
@{
ViewBag.Title = "Documentation";
}
<h2>Documentation</h2>
<div class="row">
<div class="col-sm-3 col-md-3">
<h5>Overview</h5>
<div class="list-group">
<a href="#intro" class="list-group-item">Introduction</a>
<a href="#cu... | @using AnApiOfIceAndFire.Infrastructure.Html
@{
ViewBag.Title = "Documentation";
}
<h2>Documentation</h2>
<div class="row">
<div class="col-sm-3 col-md-3">
<h5>Overview</h5>
<div class="list-group">
<a href="#intro" class="list-group-item">Introduction</a>
<a href="#cu... | bsd-3-clause | C# |
591dcb18f88aa236c16ba608f10d8586826f7939 | Rename variables | Distant/MetroTileEditor | Scene/GridData.cs | Scene/GridData.cs | using System;
using UnityEngine;
namespace MetroTileEditor.Renderers
{
[Serializable]
public class GridData
{
public bool gridEnabled;
public int sizeX;
public int sizeY;
public int sizeZ;
[SerializeField]
private int selectedLayer;
public int Select... | using System;
namespace MetroTileEditor.Renderers
{
[Serializable]
public class GridData
{
public bool gridEnabled;
public int gridX;
public int gridY;
public int layers;
private int selectedLayer;
public int SelectedLayer
{
get { return ... | mit | C# |
ef7ab12b40c92c87c5cf2db5a57585efeec7466f | Fix `MultiplayerMatchFooter` test crash due to missing `PopoverContainer` | NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu | osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerMatchFooter.cs | osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerMatchFooter.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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
using osu.Game.Screens.OnlinePlay.Multiplayer.Match;
namespace osu.Game.Tests.V... | // 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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Screens.OnlinePlay.Multiplayer.Match;
namespace osu.Game.Tes... | mit | C# |
42a6b4ba33e68132e75886d40f096d38ebd1a355 | Add IWindowManager to ShellViewModel for use to show NewDownload window | witoong623/TirkxDownloader,witoong623/TirkxDownloader | ViewModels/ShellViewModel.cs | ViewModels/ShellViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;
using TirkxDownloader.Views;
namespace TirkxDownloader.ViewModels
{
public class ShellViewModel : Conductor<IContentList>.Collection.OneActive
{
private readonly IW... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;
using TirkxDownloader.Views;
namespace TirkxDownloader.ViewModels
{
public class ShellViewModel : Conductor<IContentList>.Collection.OneActive
{
// IContentList imp... | mit | C# |
8126953ce9edd5c04ec51f1a5f23092fcab77817 | Bump version to 2.1.0 | MartinTherriault/NLog,AndreGleichner/NLog,czema/NLog,FeodorFitsner/NLog,mikkelxn/NLog,MartinTherriault/NLog,tetrodoxin/NLog,vladikk/NLog,babymechanic/NLog,matteobruni/NLog,ArsenShnurkov/NLog,bryjamus/NLog,mikkelxn/NLog,tmusico/NLog,AqlaSolutions/NLog-Unity3D,luigiberrettini/NLog,ajayanandgit/NLog,fringebits/NLog,tmusic... | src/NLog/AssemblyBuildInfo.cs | src/NLog/AssemblyBuildInfo.cs | // do not modify this file. It will be automatically regenerated
// based on the version number saved in 'D:\Work\NLog2\src\NLog\..\..\NLog.version'
using System.Reflection;
[assembly: AssemblyVersion("2.1.0")]
| // do not modify this file. It will be automatically regenerated
// based on the version number saved in 'D:\Work\NLog2\src\NLog\..\..\NLog.version'
using System.Reflection;
[assembly: AssemblyVersion("2.0.1")]
| bsd-3-clause | C# |
f62e3da1f950cee0fb356257783d3b672c684754 | Exclude git specific files from beeing resolved. | trondr/NCmdLiner.SolutionCreator,trondr/NCmdLiner.SolutionCreator | src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs | src/NCmdLiner.SolutionCreator.Library/Services/FolderResolver.cs | using System.IO;
using System.Linq;
using Common.Logging;
namespace NCmdLiner.SolutionCreator.Library.Services
{
public class FolderResolver : IFolderResolver
{
private readonly ITextResolver _textResolver;
private readonly IFileResolver _fileResolver;
private readonly ILog _logger;
... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows.Documents;
using System.Windows.Media.Media3D;
using Common.Logging;
using NCmdLiner.SolutionCreator.Library.Common;
namespace NCmdLiner.SolutionCreator.Library.Services
{
public class FolderResolver : IFolderResolver
{... | bsd-3-clause | C# |
d1ef3aa41169fb17177479594d2356d921a62e4d | test rename | Sslimon/dotnetbay-fs15,JoergSteiner/dotnetbay,raphibolliger/dotnetbay-hs15,JoergSteiner/dotnetbay,FHNW-dnead/dotnetbay,FHNW-dnead/dotnetbay-fs16,Chillons/dotnetbay-hs15,Chubacca73/dotnetbay,Sslimon/dotnetbay-hs15,FHNW-dnead/dotnetbay-hs15,FHNW-dnead/dotnetbay-fs15,robie2011-fhnw/dotnetbay-hs15,krma/dotnetbay-fs15,CDRO/... | source/DotNetBay.Test/Core/MemberServiceTest.cs | source/DotNetBay.Test/Core/MemberServiceTest.cs | using DotNetBay.Core;
using DotNetBay.Data.FileStorage;
using NUnit.Framework;
namespace DotNetBay.Test.Core
{
public class MemberServiceTest
{
[TestCase]
public void WhenMemberIsNotInRepo_GetCurrentUser_AlwaysGetAMember()
{
var repo = new InMemoryMainRepository();
... | using DotNetBay.Core;
using DotNetBay.Data.FileStorage;
using NUnit.Framework;
namespace DotNetBay.Test.Core
{
public class MemberServiceTest
{
[TestCase]
public void WhenCurrentUserIsNotInRepo_GetCurrentUser_AlwaysGetAMember()
{
var repo = new InMemoryMainRepository();
... | mit | C# |
7b5459b102f4caade0950745fe09e0eed701c808 | handle medialib drag&drop from outside | punker76/simple-music-player | SimpleMusicPlayer/SimpleMusicPlayer/Views/MedialibView.xaml.cs | SimpleMusicPlayer/SimpleMusicPlayer/Views/MedialibView.xaml.cs | using System;
using System.Windows;
using System.Windows.Interop;
using MahApps.Metro.Controls;
using SimpleMusicPlayer.Base;
using SimpleMusicPlayer.ViewModels;
namespace SimpleMusicPlayer.Views
{
/// <summary>
/// Interaction logic for MedialibView.xaml
/// </summary>
public partial class MedialibView : Met... | using System;
using System.Windows;
using System.Windows.Interop;
using MahApps.Metro.Controls;
using SimpleMusicPlayer.Base;
using SimpleMusicPlayer.ViewModels;
namespace SimpleMusicPlayer.Views
{
/// <summary>
/// Interaction logic for MedialibView.xaml
/// </summary>
public partial class MedialibView : Met... | mit | C# |
af185ff4392ef2d2ecf76e87dce6a8542d58f769 | Disable Entity Framework Lazy Loading | anilmujagic/DeploymentCockpit,anilmujagic/DeploymentCockpit,anilmujagic/DeploymentCockpit | src/DeploymentCockpit.Data/UnitOfWorkFactory.cs | src/DeploymentCockpit.Data/UnitOfWorkFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DeploymentCockpit.Interfaces;
namespace DeploymentCockpit.Data
{
public class UnitOfWorkFactory : IUnitOfWorkFactory
{
public IUnitOfWork Create()
{
var ctx = n... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DeploymentCockpit.Interfaces;
namespace DeploymentCockpit.Data
{
public class UnitOfWorkFactory : IUnitOfWorkFactory
{
public IUnitOfWork Create()
{
return new ... | apache-2.0 | C# |
58bece1999a110b3ee7d4fd0ba4e9f48dad9cbc7 | Fix error on MembersList page. | GiveCampUK/GiveCRM,GiveCampUK/GiveCRM | src/GiveCRM.Web/Views/Member/MembersList.cshtml | src/GiveCRM.Web/Views/Member/MembersList.cshtml | @model PagedMemberListViewModel
@using GiveCRM.Web.Models.Members
@using PagedList.Mvc
@{
Layout = null;
}
<script src="@Url.Content("~/Scripts/ViewScripts/MemberList.js")" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
MemberList.Initialise();
});
</script>
@i... | @model PagedMemberListViewModel
@using GiveCRM.Web.Models.Members
@using PagedList.Mvc
@{
Layout = null;
}
<script src="@Url.Content("~/Scripts/ViewScripts/MemberList.js")" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
MemberList.Initialise();
});
</script>
@i... | mit | C# |
d0d1f659fbc99f34ba85909dd900925590fdda5b | Fix namespaces on tests. | jacksonh/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jmptrader/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jacksonh/manos,mdavid/manos-sp... | src/Mango/Mango.Tests/Mango.Server/HttpRequestTest.cs | src/Mango/Mango.Tests/Mango.Server/HttpRequestTest.cs |
using System;
using NUnit.Framework;
using Mango;
using Mango.Server;
namespace Mango.Server.Tests
{
[TestFixture()]
public class HttpRequestTest
{
[Test()]
public void TestNoNullQueryData ()
{
// var r = new HttpRequest (new MockHttpTransaction (), .... );
// Assert.NotNull (r.QueryData);
}
... |
using System;
using NUnit.Framework;
using Mango;
using Mango.Server;
namespace Mango.Tests
{
[TestFixture()]
public class HttpRequestTest
{
[Test()]
public void TestNoNullQueryData ()
{
// var r = new HttpRequest (new MockHttpTransaction (), .... );
// Assert.NotNull (r.QueryData);
}
}
}
| mit | C# |
95a5b96640f7c9a9187603c8d466fc3c18d73711 | Set default tile size to 32. Change it via config. | Albeoris/Memoria,Albeoris/Memoria,Albeoris/Memoria,Albeoris/Memoria | Assembly-CSharp/Memoria/Configuration/Structure/GraphicsSection.cs | Assembly-CSharp/Memoria/Configuration/Structure/GraphicsSection.cs | using System;
using Memoria.Prime.Ini;
namespace Memoria
{
public sealed partial class Configuration
{
private sealed class GraphicsSection : IniSection
{
public readonly IniValue<Int32> BattleFPS;
public readonly IniValue<Int32> MovieFPS;
public readonly Ini... | using System;
using Memoria.Prime.Ini;
namespace Memoria
{
public sealed partial class Configuration
{
private sealed class GraphicsSection : IniSection
{
public readonly IniValue<Int32> BattleFPS;
public readonly IniValue<Int32> MovieFPS;
public readonly Ini... | mit | C# |
73bc020037f4f0956ae8a1fa09d4b633ae250d84 | Add another test | deanshackley/CondenserDotNet,Drawaes/CondenserDotNet | test/Condenser.Tests.Integration/Routing/RouterToServiceFacts.cs | test/Condenser.Tests.Integration/Routing/RouterToServiceFacts.cs | using System;
using System.Net;
using System.Threading.Tasks;
using Xunit;
namespace Condenser.Tests.Integration.Routing
{
public class RouterToServiceFacts
{
[Fact]
public async Task CanWeRunRegisteredServicesThroughRouter()
{
using (var fixture = new RoutingFixture())
... | using System;
using System.Net;
using System.Threading.Tasks;
using Xunit;
namespace Condenser.Tests.Integration.Routing
{
public class RouterToServiceFacts : IClassFixture<RoutingFixture>
{
RoutingFixture _fixture;
public RouterToServiceFacts(RoutingFixture fixture)
{
_f... | mit | C# |
44990d56b354d87a66510e694b765d5778ead38a | update to latest google snippet | AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us | src/www/Views/Shared/_js_GoogleAnalytics.cshtml | src/www/Views/Shared/_js_GoogleAnalytics.cshtml | <environment exclude="Development">
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-2294407-1', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
</environm... | <environment exclude="Development">
<script>
window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;
ga('create','UA-2294407-1','auto');ga('send','pageview')
</script>
<script src="https://www.google-analytics.com/analytics.js" async defer></script>
</environment> | mit | C# |
dd6fb59236b93bc1c4f6416e577ded45b65ac7d6 | Change deprecated method in WrenchBG | Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,plrusek/NitoriWare,Barleytree/NitoriWare,uulltt/NitoriWare | Assets/Resources/Microgames/Wrench/Scripts/WrenchBg.cs | Assets/Resources/Microgames/Wrench/Scripts/WrenchBg.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class WrenchBg : MonoBehaviour
{
[SerializeField]
private bool update;
[SerializeField]
private int linesX, linesY;
[SerializeField]
private float lineSeparation, lineExtent;
[SerializeField]
private Vect... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class WrenchBg : MonoBehaviour
{
[SerializeField]
private bool update;
[SerializeField]
private int linesX, linesY;
[SerializeField]
private float lineSeparation, lineExtent;
[SerializeField]
private Vect... | mit | C# |
f00afb838fce999a8e77ddc3efa0b6e06f946604 | Revert "Height and width should be optional according to the spec." | Riksarkivet/iiif-model | Digirati.IIIF/Model/Types/ImageApi/ImageService.cs | Digirati.IIIF/Model/Types/ImageApi/ImageService.cs | using Digirati.IIIF.Model.JsonLD;
using Digirati.IIIF.Serialisation;
using Newtonsoft.Json;
namespace Digirati.IIIF.Model.Types.ImageApi
{
// Also known as an "info.json"
public class ImageService : JSONLDBase, IImageService, IHasService
{
// Allow additional context
//public override dyna... | using Digirati.IIIF.Model.JsonLD;
using Digirati.IIIF.Serialisation;
using Newtonsoft.Json;
namespace Digirati.IIIF.Model.Types.ImageApi
{
// Also known as an "info.json"
public class ImageService : JSONLDBase, IImageService, IHasService
{
// Allow additional context
//public override dyna... | mit | C# |
ad366788cc6de58d87709a5e69c919bbde1a0c89 | Improve whitespace check | GGG-KILLER/GUtils.NET | GUtils.CLI/Commands/Attributes/CommandAttribute.cs | GUtils.CLI/Commands/Attributes/CommandAttribute.cs | /*
* Copyright © 2016 GGG KILLER <gggkiller2@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the “Software”), to deal in the Software without
* restriction, including without limitation the rights to use, copy, modif... | /*
* Copyright © 2016 GGG KILLER <gggkiller2@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the “Software”), to deal in the Software without
* restriction, including without limitation the rights to use, copy, modif... | mit | C# |
94b9d8240ec24337ec16ef98fd030ee6f20aa630 | Update version number | loicteixeira/gj-unity-api | Assets/Plugins/GameJolt/Scripts/API/Constants.cs | Assets/Plugins/GameJolt/Scripts/API/Constants.cs | using UnityEngine;
using System.Collections;
namespace GameJolt.API
{
public static class Constants
{
public const string VERSION = "2.1.0";
public const string SETTINGS_ASSET_NAME = "GJAPISettings";
public const string SETTINGS_ASSET_FULL_NAME = SETTINGS_ASSET_NAME + ".asset";
public const string SETTINGS... | using UnityEngine;
using System.Collections;
namespace GameJolt.API
{
public static class Constants
{
public const string VERSION = "2.0.2";
public const string SETTINGS_ASSET_NAME = "GJAPISettings";
public const string SETTINGS_ASSET_FULL_NAME = SETTINGS_ASSET_NAME + ".asset";
public const string SETTINGS... | mit | C# |
7c84af027512af980a41efdfc2b2ae87eafbc767 | Fix crash when starting administrative by typo in filename | denxorz/HotChocolatey | HotChocolateyLib/Administrative/AdministrativeCommanderProvider.cs | HotChocolateyLib/Administrative/AdministrativeCommanderProvider.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Threading;
namespace HotChocolatey.Administrative
{
public class AdministrativeCommanderProvider
{
private Process administrativeProcess;
public AdministrativeCommander Create(Action<string> outputL... | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Threading;
namespace HotChocolatey.Administrative
{
public class AdministrativeCommanderProvider
{
private Process administrativeProcess;
public AdministrativeCommander Create(Action<string> outputL... | mit | C# |
568846627bfe9e706a23b2912d5b5da54219ad99 | remove comment from PingHandler; save more advanced usage for PointOfSale example | judwhite/NsqSharp,yonglehou/NsqSharp | Examples/NsqSharp.Bus/PingPong/Handlers/PingHandler.cs | Examples/NsqSharp.Bus/PingPong/Handlers/PingHandler.cs | using System;
using NsqSharp.Bus;
using PingPong.Messages;
using PingPong.Services;
namespace PingPong.Handlers
{
// maps to channel ping-handler on topic pings
public class PingHandler : IHandleMessages<PingMessage>
{
private readonly IBus _bus;
private readonly ICounter _counter;
... | using System;
using System.Diagnostics;
using NsqSharp.Bus;
using PingPong.Messages;
using PingPong.Services;
namespace PingPong.Handlers
{
// maps to channel ping-handler on topic pings
public class PingHandler : IHandleMessages<PingMessage>
{
private readonly IBus _bus;
private readonly ... | mit | C# |
1437fb45b3dfb51a2ea58472665403e0f595dddd | Fix doc comment | Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server | src/Tgstation.Server.Host/Configuration/ControlPanelConfiguration.cs | src/Tgstation.Server.Host/Configuration/ControlPanelConfiguration.cs | using System.Collections.Generic;
namespace Tgstation.Server.Host.Configuration
{
/// <summary>
/// Configuration options for the web control panel
/// </summary>
public sealed class ControlPanelConfiguration
{
/// <summary>
/// The key for the <see cref="Microsoft.Extensions.Configuration.IConfigurationSect... | using System.Collections.Generic;
namespace Tgstation.Server.Host.Configuration
{
/// <summary>
/// Configuration options for the web control panel
/// </summary>
public sealed class ControlPanelConfiguration
{
/// <summary>
/// The key for the <see cref="Microsoft.Extensions.Configuration.IConfigurationSect... | agpl-3.0 | C# |
ff17a75bf929d40579b8d710c979e44a8dd523e4 | validate target url | 0xFireball/KQAnalytics3,0xFireball/KQAnalytics3,0xFireball/KQAnalytics3 | KQAnalytics3/src/KQAnalytics3/Modules/DataCollectEndpointModule.cs | KQAnalytics3/src/KQAnalytics3/Modules/DataCollectEndpointModule.cs | using KQAnalytics3.Data;
using Nancy;
using System;
namespace KQAnalytics3.Modules
{
public class DataCollectEndpointModule : NancyModule
{
public DataCollectEndpointModule()
{
var processData = new Func<dynamic, object>(args =>
{
return "0";
... | using KQAnalytics3.Data;
using Nancy;
using System;
namespace KQAnalytics3.Modules
{
public class DataCollectEndpointModule : NancyModule
{
public DataCollectEndpointModule()
{
var processData = new Func<dynamic, object>(args =>
{
return "0";
... | agpl-3.0 | C# |
ebd4b4ed2a65a65a083e9191e56fb9690ee96d93 | Update autorollback for nunit3-isms | mattgwagner/CertiPay.Common | CertiPay.Common.Testing/AutoRollbackAttribute.cs | CertiPay.Common.Testing/AutoRollbackAttribute.cs | namespace CertiPay.Common.Testing
{
using NUnit.Framework;
using NUnit.Framework.Interfaces;
using System;
using System.Transactions;
/// <summary>
/// Allows a test to roll the database back to at the end to return the system to the previous state
/// </summary>
[System.Diagnostics.Co... | namespace CertiPay.Common.Testing
{
using NUnit.Framework;
using System;
using System.Transactions;
/// <summary>
/// Allows a test to roll the database back to at the end to return the system to the previous state
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.... | mit | C# |
ab175ffbab37822d7cc2c875048d5ef7e1aa7012 | Add AssemblyFileVersion attribute to assembly | Genesis2001/Lantea | Code/Lantea/Lantea.Common/Properties/AssemblyInfo.cs | Code/Lantea/Lantea.Common/Properties/AssemblyInfo.cs | // -----------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Zack Loveless">
// Copyright (c) Zack Loveless. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------------
using System.Refl... | // -----------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Zack Loveless">
// Copyright (c) Zack Loveless. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------------
using System.Refl... | mit | C# |
f5d20e289777fd14371a73202b609535cb7aa62a | improve URI resolution | 0xFireball/DeIonizer | DeIonizer/DeIonizer.Core/Resolver/UriResolver.cs | DeIonizer/DeIonizer.Core/Resolver/UriResolver.cs | using System;
using System.Linq;
using System.Net;
using System.Net.Sockets;
namespace DeIonizer.Core.Resolver
{
public class UriResolver : IResolver
{
public bool CanResolve(string target)
{
Uri result;
return Uri.TryCreate(target, UriKind.RelativeOrAbsolute, out resul... | using System;
using System.Linq;
using System.Net;
using System.Net.Sockets;
namespace DeIonizer.Core.Resolver
{
public class UriResolver : IResolver
{
public bool CanResolve(string target)
{
Uri result;
return Uri.TryCreate(target, UriKind.RelativeOrAbsolute, out resul... | agpl-3.0 | C# |
279e4b01a329f59798e7a688e8501814c37e1385 | Allow designer to disable asynchronicity in image loading. (#111) | xjpeter/Xamarin.Forms,Hitcents/Xamarin.Forms,xjpeter/Xamarin.Forms,xjpeter/Xamarin.Forms,Hitcents/Xamarin.Forms,xjpeter/Xamarin.Forms,Hitcents/Xamarin.Forms,xjpeter/Xamarin.Forms | Xamarin.Forms.Platform.Android/Renderers/FileImageSourceHandler.cs | Xamarin.Forms.Platform.Android/Renderers/FileImageSourceHandler.cs | using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Android.Content;
using Android.Graphics;
namespace Xamarin.Forms.Platform.Android
{
public sealed class FileImageSourceHandler : IImageSourceHandler
{
// This is set to true when run under designer context
internal static bool DecodeSyn... | using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Android.Content;
using Android.Graphics;
namespace Xamarin.Forms.Platform.Android
{
public sealed class FileImageSourceHandler : IImageSourceHandler
{
public async Task<Bitmap> LoadImageAsync(ImageSource imagesource, Context context, Canc... | mit | C# |
2b85a5d1fb71f9c5294634af0f91d0d03e202e82 | Update Excel2PDFConversion.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/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.Cell... | Examples/CSharp/Files/Utility/Excel2PDFConversion.cs | Examples/CSharp/Files/Utility/Excel2PDFConversion.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Files.Utility
{
public class Excel2PDFConversion
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Files.Utility
{
public class Excel2PDFConversion
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflec... | mit | C# |
153d2e3a90e35ea643dd44605d4352b33ab4cb74 | Add observable that fires when a section view is about to be created | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/ModelViewManagerExtensions.cs | SolidworksAddinFramework/ModelViewManagerExtensions.cs | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class ModelViewManagerExtensions
{
private static readonly ISubject<SectionViewData> _CreateSectionViewObser... | using System;
using System.Reactive.Disposables;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class ModelViewManagerExtensions
{
public static IDisposable CreateSectionView(this IModelViewManager modelViewManager, Action<SectionViewData> config)
{
... | mit | C# |
e6977a4f423477a6b01007bc2605eb732af1ccc4 | return packageTask instead of ITask in helper method | flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core | FlubuCore/Tasks/Packaging/PackagingExtensions.cs | FlubuCore/Tasks/Packaging/PackagingExtensions.cs | using System.IO;
using FlubuCore.Targeting;
namespace FlubuCore.Tasks.Packaging
{
public static class PackagingExtensions
{
public static ITarget Unzip(this ITarget target, string zip, string destination)
{
return target.AddTask(Unzip(zip, destination));
}
public s... | using System.IO;
using FlubuCore.Targeting;
namespace FlubuCore.Tasks.Packaging
{
public static class PackagingExtensions
{
public static ITarget Unzip(this ITarget target, string zip, string destination)
{
return target.AddTask(Unzip(zip, destination));
}
public s... | bsd-2-clause | C# |
10dda3bf2a6309237b3b343a04568082d97c92c7 | Update InventoryComponent.cs | williambl/Haunt | Haunt/Assets/Scripts/Items/InventoryComponent.cs | Haunt/Assets/Scripts/Items/InventoryComponent.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InventoryComponent : MonoBehaviour {
[Header("Properties:"]
public Item holdingitem;
}
| using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InventoryComponent : MonoBehaviour {
public Item holdingitem;
}
| mit | C# |
df7b144481c9b3288b1fb98314e6e01229baf54f | Remove Roslyn bug workaround | 0xd4d/iced,0xd4d/iced,0xd4d/iced,0xd4d/iced,0xd4d/iced | Iced/Intel/InstructionInfoInternal/SimpleList.cs | Iced/Intel/InstructionInfoInternal/SimpleList.cs | /*
Copyright (C) 2018-2019 de4dot@gmail.com
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distr... | /*
Copyright (C) 2018-2019 de4dot@gmail.com
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distr... | mit | C# |
ebdd8d58336e4c9991fc8441fe80fe72c1612f27 | Remove empty statements | fluentassertions/fluentassertions,dennisdoomen/fluentassertions,jnyrup/fluentassertions,fluentassertions/fluentassertions,dennisdoomen/fluentassertions,jnyrup/fluentassertions | Src/FluentAssertions/Equivalency/ConversionSelector.cs | Src/FluentAssertions/Equivalency/ConversionSelector.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace FluentAssertions.Equivalency
{
/// <summary>
/// Collects the members that need to be converted by the <see cref="TryConversionStep"/>.
/// </summary>
public class ConversionS... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace FluentAssertions.Equivalency
{
/// <summary>
/// Collects the members that need to be converted by the <see cref="TryConversionStep"/>.
/// </summary>
public class ConversionS... | apache-2.0 | C# |
75ac78a1b84622bb4e6f30c09a9cb04643590578 | Update test expectations | AndMu/Wikiled.Sentiment | src/Sentiment/Wikiled.Sentiment.AcceptanceTests/Training/CrossDomainTests.cs | src/Sentiment/Wikiled.Sentiment.AcceptanceTests/Training/CrossDomainTests.cs | using System;
using System.Threading.Tasks;
using NLog;
using NUnit.Framework;
using Wikiled.Sentiment.Analysis.Amazon.Logic;
namespace Wikiled.Sentiment.AcceptanceTests.Training
{
[TestFixture]
public class CrossDomainTests
{
private static readonly Logger log = LogManager.GetCurrentClassLogger()... | using System;
using System.Threading.Tasks;
using NLog;
using NUnit.Framework;
using Wikiled.Sentiment.Analysis.Amazon.Logic;
namespace Wikiled.Sentiment.AcceptanceTests.Training
{
[TestFixture]
public class CrossDomainTests
{
private static readonly Logger log = LogManager.GetCurrentClassLogger()... | apache-2.0 | C# |
14a9e81b408c282e75665503de0147e9f355610b | Fix on writing null to DB in writers | SummerBatch/SummerBatch | Summer.Batch.Data/Parameter/PropertyParameterSource.cs | Summer.Batch.Data/Parameter/PropertyParameterSource.cs | //
// Copyright 2015 Blu Age Corporation - Plano, Texas
//
// 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... | //
// Copyright 2015 Blu Age Corporation - Plano, Texas
//
// 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# |
6aa544d151b0087e804e4b0e938e8d7166369847 | Resolve ambiguity by using HTTP verbs. | mrwizard82d1/building_mvc4,mrwizard82d1/building_mvc4 | OdeToFood/OdeToFood/Controllers/CuisineController.cs | OdeToFood/OdeToFood/Controllers/CuisineController.cs |
using System.Web.Mvc;
namespace OdeToFood.Controllers
{
public class CuisineController : Controller
{
//
// GET: /Cuisine/
// Using HTTP verbs allows the framework to resolve the ambiguity.
[HttpPost]
public ActionResult Search(string name = "french")
{
... |
using System.Web.Mvc;
namespace OdeToFood.Controllers
{
public class CuisineController : Controller
{
//
// GET: /Cuisine/
// Without HTTP verbs, invoking search is ambiguous. (Note that the
// MVC framework finds the request ambiguous even though R#
// reports that t... | isc | C# |
adfbb4cb5eed22e6048fbb103c8566defad85236 | Fix bracket | IronLanguages/dlr,IronLanguages/dlr,IronLanguages/dlr | Src/Microsoft.Scripting/Runtime/DynamicStackFrame.cs | Src/Microsoft.Scripting/Runtime/DynamicStackFrame.cs | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
... | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
... | apache-2.0 | C# |
7c3ebf83929365d73783245b81632bc96f983d0d | Add all formatting types and requests | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices.Protocol/LanguageServer/Formatting.cs | src/PowerShellEditorServices.Protocol/LanguageServer/Formatting.cs | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class Docu... | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class Docu... | mit | C# |
3142e05327d7f1ca861a1a75bd5d5ecaf0b32c6a | Add serilog logging | Longfld/ASPNETCoreAngular2,Longfld/ASPNETCoreAngular2,Longfld/ASPNETCoreAngular2,Longfld/ASPNETCoreAngular2 | webapp/src/webapp/Controllers/HomeController.cs | webapp/src/webapp/Controllers/HomeController.cs | using Microsoft.AspNetCore.Mvc;
namespace webapp.Controllers
{
public class HomeController : Controller
{
public HomeController(IHostingEnvironment hostingEnvironment, ILogger<HomeController> logger)
{
_hostingEnvironment = hostingEnvironment;
_logger = logger;... | using Microsoft.AspNetCore.Mvc;
namespace webapp.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
}
}
}
| mit | C# |
b35b73d49a469038f92ec21be88551698167a289 | fix integration test | hahmed/octokit.net,eriawan/octokit.net,editor-tools/octokit.net,alfhenrik/octokit.net,daukantas/octokit.net,octokit-net-test/octokit.net,naveensrinivasan/octokit.net,adamralph/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,shiftkey-tester/octokit.net,hahmed/octokit.net,rlugojr/octokit.net,cH40z-Lord/octokit.net,... | Octokit.Tests.Integration/RepositoriesClientTests.cs | Octokit.Tests.Integration/RepositoriesClientTests.cs | using System.Threading.Tasks;
using FluentAssertions;
using Octokit.Http;
using Xunit;
namespace Octokit.Tests.Integration
{
public class RepositoriesClientTests
{
public class TheGetAsyncMethod
{
[Fact]
public async Task ReturnsSpecifiedUser()
{
... | using System.Threading.Tasks;
using FluentAssertions;
using Octokit.Http;
using Xunit;
namespace Octokit.Tests.Integration
{
public class RepositoriesClientTests
{
public class TheGetAsyncMethod
{
[Fact]
public async Task ReturnsSpecifiedUser()
{
... | mit | C# |
8b537a0f08ca69f0e6ed4b2d218450b043345cad | Fix build of ThreadHelpers under .NET45 | linksplatform/Crawler,linksplatform/Crawler,linksplatform/Crawler | Platform/Platform.Helpers/Threading/ThreadHelpers.cs | Platform/Platform.Helpers/Threading/ThreadHelpers.cs | using System;
using System.Threading;
#if NET45
using System.Threading;
#pragma warning disable CS0168 // The variable 'ex' is declared but never used
#endif
namespace Platform.Helpers.Threading
{
public static class ThreadHelpers
{
public static void SyncInvokeWithExtendedStack<T>(T param, Action<o... | using System;
#if NET45
using System.Threading;
#pragma warning disable CS0168 // The variable 'ex' is declared but never used
#endif
namespace Platform.Helpers.Threading
{
public static class ThreadHelpers
{
public static void SyncInvokeWithExtendedStack<T>(T param, Action<object> action, int maxSt... | unlicense | C# |
241012e8411fa19a83288d9560b17aff997e502b | Remove unused constants (will be added in other modules) | vedi/soomla-unity3d-core,zentuit/soomla-unity3d-core,noctorus/soomla-unity3d-core,ravalum/soomla-unity3d-core,zentuit/soomla-unity3d-core,vedi/soomla-unity3d-core,vedi/soomla-unity3d-core,noctorus/soomla-unity3d-core,vedi/soomla-unity3d-core,zentuit/soomla-unity3d-core,noctorus/soomla-unity3d-core,ravalum/soomla-unity3... | Soomla/Assets/Plugins/Soomla/Core/data/JSONConsts.cs | Soomla/Assets/Plugins/Soomla/Core/data/JSONConsts.cs | /// Copyright (C) 2012-2014 Soomla Inc.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable l... | /// Copyright (C) 2012-2014 Soomla Inc.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable l... | apache-2.0 | C# |
b0de591d9077e4f57f2da11ff1d18bc565193404 | Remove menuitem | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Shell/MainMenu/HelpMainMenuItems.cs | WalletWasabi.Gui/Shell/MainMenu/HelpMainMenuItems.cs | using AvalonStudio.MainMenu;
using AvalonStudio.Menus;
using System.Composition;
namespace WalletWasabi.Gui.Shell.MainMenu
{
internal class HelpMainMenuItems
{
[ImportingConstructor]
public HelpMainMenuItems(IMenuItemFactory menuItemFactory)
{
MenuItemFactory = menuItemFactory;
}
private IMenuItemFacto... | using AvalonStudio.MainMenu;
using AvalonStudio.Menus;
using System.Composition;
namespace WalletWasabi.Gui.Shell.MainMenu
{
internal class HelpMainMenuItems
{
[ImportingConstructor]
public HelpMainMenuItems(IMenuItemFactory menuItemFactory)
{
MenuItemFactory = menuItemFactory;
}
private IMenuItemFacto... | mit | C# |
d188b246659b2d6acb63e349ab4e43dee399e2c9 | Bump build to 1.9.1 | tsebring/ArkSavegameToolkitNet | ArkSavegameToolkitNet/Properties/AssemblyInfo.cs | ArkSavegameToolkitNet/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... | mit | C# |
1ddf01e3b4ffbaa7337bda779720d9e2060efa47 | destroy loose zones when gameplay ends | YesAndGames/four-friends | Assets/Scripts/StateManagement/GameplayScreen.cs | Assets/Scripts/StateManagement/GameplayScreen.cs | using UnityEngine;
/// <summary>
/// Manages gameplay screen functions.
/// </summary>
public class GameplayScreen : IGameState {
/// <summary>
/// Initialize this game state.
/// </summary>
public override void OnInitializeState () {
base.OnInitializeState ();
// Hook game over event.
FindObjectOfType<Pa... | using UnityEngine;
/// <summary>
/// Manages gameplay screen functions.
/// </summary>
public class GameplayScreen : IGameState {
/// <summary>
/// Initialize this game state.
/// </summary>
public override void OnInitializeState () {
base.OnInitializeState ();
// Hook game over event.
FindObjectOfType<Pa... | mit | C# |
cc4baa645426b932c6c37dd59bf4c208fc1b38c0 | Update Urls.cs | Hronos2t/rubot-installer | Urls.cs | Urls.cs | namespace Installer
{
static class Urls
{
public static string LastVersionInfo = "http://rubotaion.ru/curver.xml";
public static string Rubot = "http://rubotaion.ru/content/files/rubot.7z";
public static string SevenZip = "http://7-zip.org/a/7z1900.exe";
public static str... | namespace Installer
{
static class Urls
{
public static string LastVersionInfo = "http://rubotaion.ru/curver.xml";
public static string Rubot = "http://rubotaion.ru/content/files/rubot.7z";
public static string SevenZip = "http://7-zip.org/a/7z1805.exe";
public static str... | mit | C# |
07bafa00b9eb75eb56c76fd0acc4c2f708c08c26 | Bump version | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET | configuration/SharedAssemblyInfo.cs | configuration/SharedAssemblyInfo.cs | using System.Reflection;
// Assembly Info that is shared across the product
[assembly: AssemblyProduct("InEngine.NET")]
[assembly: AssemblyVersion("2.0.0.*")]
[assembly: AssemblyInformationalVersion("2.0.0-beta10")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ethan Hann")]
[assembly: AssemblyCo... | using System.Reflection;
// Assembly Info that is shared across the product
[assembly: AssemblyProduct("InEngine.NET")]
[assembly: AssemblyVersion("2.0.0.*")]
[assembly: AssemblyInformationalVersion("2.0.0-beta9")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ethan Hann")]
[assembly: AssemblyCop... | mit | C# |
408c60491d4736c190040ac8f53e4998e89cc887 | Fix warnings. | JohanLarsson/Gu.Reactive | Gu.Reactive/EventArgs/ItemPropertyChangedEventArgs{TItem,TValue}.cs | Gu.Reactive/EventArgs/ItemPropertyChangedEventArgs{TItem,TValue}.cs | namespace Gu.Reactive
{
using System;
using System.ComponentModel;
/// <summary>
/// The property changed event args.
/// </summary>
/// <typeparam name="TItem">The type of the items in the collection.</typeparam>
/// <typeparam name="TValue">The value type.</typeparam>
public class It... | namespace Gu.Reactive
{
using System;
using System.ComponentModel;
/// <summary>
/// The property changed event args.
/// </summary>
/// <typeparam name="TItem">The type of the items in the collection.</typeparam>
/// <typeparam name="TValue">The value type.</typeparam>
public class It... | mit | C# |
c81d246bd36d7c1193d9cc3ea53da9db84cd5ba6 | Mark the assembly as not compliant with the Common Language Specification (CLS), as it makes use of unsigned integral types, to address a warning from FxCop | michael-mayes/capturedpackets | PacketCaptureAnalyser/Properties/AssemblyInfo.cs | PacketCaptureAnalyser/Properties/AssemblyInfo.cs | // <copyright file="AssemblyInfo.cs" company="Public Domain">
// Released into the public domain
// </copyright>
// This file is part of the C# Packet Capture Analyser application. It is
// free and unencumbered software released into the public domain as detailed
// in the UNLICENSE file in the top level di... | // <copyright file="AssemblyInfo.cs" company="Public Domain">
// Released into the public domain
// </copyright>
// This file is part of the C# Packet Capture Analyser application. It is
// free and unencumbered software released into the public domain as detailed
// in the UNLICENSE file in the top level di... | unlicense | C# |
057d10823c94a31c96ba45fe5b01ff5cc96f6092 | Make IReadOnlyPerspexList covariant. | jazzay/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,kekekeks/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,OronDF343/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,punker76/Perspex,DavidKarlas/Perspex,SuperJMN/Avalonia,OronDF343/Avalonia,AvaloniaUI/... | Perspex.Base/Collections/IReadOnlyPerspexList.cs | Perspex.Base/Collections/IReadOnlyPerspexList.cs | // -----------------------------------------------------------------------
// <copyright file="IReadOnlyPerspexList.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspe... | // -----------------------------------------------------------------------
// <copyright file="IReadOnlyPerspexList.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspe... | mit | C# |
f3e1c2b8a4c344066baf4943e7ba637867f70b09 | Update View.cs | win120a/ACClassRoomUtil,win120a/ACClassRoomUtil | PowerOnLogger/PowerOnLoggerManagmentTool/View.cs | PowerOnLogger/PowerOnLoggerManagmentTool/View.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Collections;
namespace PowerOnLoggerManagmentTool
{
public partial class View : Form
{
p... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Collections;
namespace PowerOnLoggerManagmentTool
{
public partial class View : Form
{
p... | apache-2.0 | C# |
63cf42eff653d89092b22e4c9f7bac0a5c03624f | Clarify MouseEvent | EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,Tom94/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framewor... | osu.Framework/Input/Events/MouseEvent.cs | osu.Framework/Input/Events/MouseEvent.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Input.States;
namespace osu.Framework.Input.Events
{
/// <summary>
/// Represent an event which is propagated based on mouse posi... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Input.States;
namespace osu.Framework.Input.Events
{
public class MouseEvent : UIEvent
{
public MouseEvent(InputState sta... | mit | C# |
97b429707905cf5b8fd4288638a752a7c67cc18a | Make CredentialScope a struct | carbon/Amazon | src/Amazon.Core/Security/CredentialScope.cs | src/Amazon.Core/Security/CredentialScope.cs | using System;
namespace Amazon.Security
{
public readonly struct CredentialScope
{
public CredentialScope(DateTime date, AwsRegion region, AwsService service)
{
Date = date;
Region = region ?? throw new ArgumentNullException(nameof(region));
S... | using System;
namespace Amazon.Security
{
public class CredentialScope
{
public CredentialScope(DateTime date, AwsRegion region, AwsService service)
{
Date = date;
Region = region ?? throw new ArgumentNullException(nameof(region));
Service = s... | mit | C# |
855176827f0057c1ab58a6f032946f5b2cdb70da | Modify ClassName | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/ChristopheKumor.cs | src/Firehose.Web/Authors/ChristopheKumor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class ChristopheKumor : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Christophe"... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class FrancoisxavierCat : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Christoph... | mit | C# |
9f1403c57ce75772c6381c810e87086b15ef8b72 | fix build error | Franklin89/Blog,Franklin89/Blog | src/MLSoftware.Web/Services/EmailService.cs | src/MLSoftware.Web/Services/EmailService.cs | using System.Threading.Tasks;
using System;
using Microsoft.AspNetCore.Hosting;
namespace MLSoftware.Web.Services
{
public class EmailService : IEmailService
{
private readonly IHostingEnvironment _hostingEnviroment;
public EmailService(IHostingEnvironment hostingEnvironment)
{
... | using System.Threading.Tasks;
using System;
namespace MLSoftware.Web.Services
{
public class EmailService : IEmailService
{
private readonly IHostingEnvironment _hostingEnviroment;
public EmailService(IHostingEnvironment hostingEnvironment)
{
// ToDo: Pass in ILogger and Co... | mit | C# |
9405677bdca147e7ba6c039acea406ea6947c157 | Add AssemblyInformationalVersionAttribute | Pereingo/statsd-csharp-client,goncalopereira/statsd-csharp-client,bilal-fazlani/statsd-csharp-client,DarrellMozingo/statsd-csharp-client,agileharbor/telegraf-client | src/StatsdClient/Properties/AssemblyInfo.cs | src/StatsdClient/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("StatsdClient")]
[assembly: Assembl... | 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("StatsdClient")]
[assembly: Assembl... | mit | C# |
15c1516c26365cf5a9168e3e389795bc47fdefd3 | Add disqus script | christiansparre/sparre.io,christiansparre/sparre.io | src/sparreio.website/Views/Home/Post.cshtml | src/sparreio.website/Views/Home/Post.cshtml | @using System.Globalization
@using Microsoft.ApplicationInsights.AspNetCore.Extensions
@using Microsoft.AspNetCore.Hosting
@using sparreio.website.ViewModels.Home
@inject IHostingEnvironment _environment
@model PostViewModel
@{
ViewBag.Title = Model.Title;
var requestUri = Context.Request.GetUri();
var ... | @using System.Globalization
@using Markdig
@using sparreio.website.Utils
@using sparreio.website.ViewModels.Home
@model PostViewModel
@{
ViewBag.Title = Model.Title;
}
<section class="post">
<header>
<h1>@Model.Title</h1>
<div>@Model.PublishedUtc.ToLocalTime().ToString("D", new CultureInfo("en... | mit | C# |
4ccab10dfe1d6d3b22407fbcc616b4df34721eec | Simplify ProductConverter | pardahlman/akeneo-csharp | Akeneo/Client/Converters/ProductConverter.cs | Akeneo/Client/Converters/ProductConverter.cs | using System;
using Akeneo.Model;
using Newtonsoft.Json;
namespace Akeneo.Client.Converters
{
public class ProductConverter : JsonConverter
{
private static readonly Type ProductValueType = typeof(ProductValue);
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
{
v... | using System;
using Akeneo.Model;
using Newtonsoft.Json;
namespace Akeneo.Client.Converters
{
public class ProductConverter : JsonConverter
{
private static readonly Type ProductValueType = typeof(ProductValue);
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
{
v... | mit | C# |
173082d50214d59ada5f3b3a9b697300d85d200e | Allow instantiating of Morph class | mysticfall/Alensia | Assets/Alensia/Core/Character/Morph/Morph.cs | Assets/Alensia/Core/Character/Morph/Morph.cs | using Alensia.Core.Character.Morph.Generic;
using UniRx;
using UnityEngine.Assertions;
namespace Alensia.Core.Character.Morph
{
public class Morph<T> : IMorph<T>
{
public string Name { get; }
public T Value
{
get { return _value.Value; }
set { _value.Value = Va... | using Alensia.Core.Character.Morph.Generic;
using UniRx;
using UnityEngine.Assertions;
namespace Alensia.Core.Character.Morph
{
public abstract class Morph<T> : IMorph<T>
{
public string Name { get; }
public T Value
{
get { return _value.Value; }
set { _value.V... | apache-2.0 | C# |
1ac5cfd38a6efd1716615b5fa6242099d4cf5ec5 | Add MacAppStoreId to InAppPurchase ConfiguredProduct | xtralifecloud/unity-sdk,xtralifecloud/unity-sdk,clanofthecloud/unity-sdk,clanofthecloud/unity-sdk,clanofthecloud/unity-sdk,xtralifecloud/unity-sdk,clanofthecloud/unity-sdk,clanofthecloud/unity-sdk,clanofthecloud/unity-sdk,xtralifecloud/unity-sdk | CotcSdk/HighLevel/Model/ConfiguredProduct.cs | CotcSdk/HighLevel/Model/ConfiguredProduct.cs | using System;
using System.Collections.Generic;
namespace CotcSdk {
/// @ingroup model_classes
/// <summary>Information about a configured product on the BO.</summary>
public class ConfiguredProduct : PropertiesObject {
/// <summary>The product identifier as formatted in the query.</summary>
public string Prod... | using System;
using System.Collections.Generic;
namespace CotcSdk {
/// @ingroup model_classes
/// <summary>Information about a configured product on the BO.</summary>
public class ConfiguredProduct : PropertiesObject {
/// <summary>The product identifier as formatted in the query.</summary>
public string Prod... | mit | C# |
e6b9d5e9f6198b782aa1ba14340d5809082a5aed | Add Exitgame extension method | dfkeenan/XenkoToolkit,dfkeenan/XenkoToolkit | Source/XenkoToolkit/Engine/GameExtensions.cs | Source/XenkoToolkit/Engine/GameExtensions.cs | using SiliconStudio.Xenko.Games;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XenkoToolkit.Engine
{
/// <summary>
/// Extensions for <see cref="IGame"/>
/// </summary>
public static class GameExtensions
{
/// ... | using SiliconStudio.Xenko.Games;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XenkoToolkit.Engine
{
/// <summary>
/// Extensions for <see cref="IGame"/>
/// </summary>
public static class GameExtensions
{
/// ... | mit | C# |
1cdc53ae2b4cfd26f14dc57658654f54b6188932 | Remove whitespace | appharbor/appharbor-cli | src/AppHarbor.Tests/TypeNameMatcherTest.cs | src/AppHarbor.Tests/TypeNameMatcherTest.cs | using System;
using System.Collections.Generic;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests
{
public class TypeNameMatcherTest
{
interface IFoo { }
class FooCommand : IFoo { }
class FooBarCommand : IFoo { }
class FooBazCommand : IFoo { }
private static Type FooCommandType = typeof(Foo... | using System;
using System.Collections.Generic;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests
{
public class TypeNameMatcherTest
{
interface IFoo
{
}
class FooCommand : IFoo { }
class FooBarCommand : IFoo { }
class FooBazCommand : IFoo { }
private static Type FooCommandType = type... | mit | C# |
adb599302b4fea5041446f7df67588c3e7f92d7a | Update AvaloniaImageImporter.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Editor/AvaloniaImageImporter.cs | src/Core2D/Editor/AvaloniaImageImporter.cs | #nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Avalonia.Platform.Storage;
using Core2D.Model;
using Core2D.Services;
using Core2D.ViewModels;
using Core2D.ViewModels.Editor;
namespace Core2D.Editor;
public class AvaloniaImageImporter : IImageIm... | #nullable enable
using System;
using System.Linq;
using System.Threading.Tasks;
using Avalonia.Controls;
using Core2D.Model;
using Core2D.ViewModels;
using Core2D.ViewModels.Editor;
using Core2D.Views;
namespace Core2D.Editor;
public class AvaloniaImageImporter : IImageImporter
{
private readonly IServiceProvide... | mit | C# |
e75fd0a2287fdad197f993fbf075940c9945cc8d | Clean up RequestLineException | murador/xsp,stormleoxia/xsp,murador/xsp,murador/xsp,arthot/xsp,arthot/xsp,arthot/xsp,stormleoxia/xsp,arthot/xsp,murador/xsp,stormleoxia/xsp,stormleoxia/xsp | src/Mono.WebServer/RequestLineException.cs | src/Mono.WebServer/RequestLineException.cs | //
// Mono.WebServer.RequestLineException
//
// Authors:
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
//
// (C) 2003 Ximian, Inc (http://www.ximian.com)
// (C) Copyright 2004-2010 Novell, Inc
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documen... | //
// Mono.WebServer.RequestLineException
//
// Authors:
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
//
// (C) 2003 Ximian, Inc (http://www.ximian.com)
// (C) Copyright 2004-2010 Novell, Inc
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documen... | mit | C# |
fcc8bd238cc3bbcb651d7b4d1f31b86ecfd0fa00 | Update AssemblyFileVersion for ClientRuntime (#15582) | ayeletshpigelman/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,brjohnst... | sdk/mgmtcommon/ClientRuntime/ClientRuntime/Properties/AssemblyInfo.cs | sdk/mgmtcommon/ClientRuntime/ClientRuntime/Properties/AssemblyInfo.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Microsoft Rest Client Runtime")]
[... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Microsoft Rest Client Runtime")]
[... | mit | C# |
49e8ce2d4f9ea780fa761125b4119f1c769dd4fb | stop sending S_NPCGUILD_LIST parse failed notification and just ignore | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Parsing/Messages/S_NPCGUILD_LIST.cs | TCC.Core/Parsing/Messages/S_NPCGUILD_LIST.cs | using System;
using System.Collections.Generic;
using TCC.Data;
using TCC.TeraCommon.Game.Messages;
using TCC.TeraCommon.Game.Services;
namespace TCC.Parsing.Messages
{
public class S_NPCGUILD_LIST : ParsedMessage
{
public Dictionary<int, int> NpcGuildList { get; }
public ulong UserId { get; }... | using System;
using System.Collections.Generic;
using TCC.Data;
using TCC.TeraCommon.Game.Messages;
using TCC.TeraCommon.Game.Services;
namespace TCC.Parsing.Messages
{
public class S_NPCGUILD_LIST : ParsedMessage
{
public Dictionary<int, int> NpcGuildList { get; }
public ulong UserId { get; }... | mit | C# |
656ffd4db4e12cee5cc2bf67ffb975fff7d7a880 | Use new AddPolicyRegistry() overload | martincostello/alexa-london-travel | src/LondonTravel.Skill/Extensions/PollyServiceCollectionExtensions.cs | src/LondonTravel.Skill/Extensions/PollyServiceCollectionExtensions.cs | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System;
using Microsoft.Extensions.DependencyInjection;
using Polly;
using Polly.Extensions.Http;
namespace MartinCostello.LondonTravel.Sk... | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System;
using Microsoft.Extensions.DependencyInjection;
using Polly;
using Polly.Extensions.Http;
using Polly.Registry;
namespace MartinCo... | apache-2.0 | C# |
f2357dcec2e3cef5386ff888ed8a3bc10cc77ed9 | fix missing require on fullname | simplcommerce/SimplCommerce,simplcommerce/SimplCommerce,simplcommerce/SimplCommerce,simplcommerce/SimplCommerce | src/Modules/SimplCommerce.Module.Core/ViewModels/Manage/UserInfoVm.cs | src/Modules/SimplCommerce.Module.Core/ViewModels/Manage/UserInfoVm.cs | using System.ComponentModel.DataAnnotations;
namespace SimplCommerce.Module.Core.ViewModels.Manage
{
public class UserInfoVm
{
[Required]
public string FullName { get; set; }
[Required]
public string Email { get; set; }
}
}
| using System.ComponentModel.DataAnnotations;
namespace SimplCommerce.Module.Core.ViewModels.Manage
{
public class UserInfoVm
{
public string FullName { get; set; }
[Required]
public string Email { get; set; }
}
}
| apache-2.0 | C# |
761bddaa3761910677343746f07a64484795fb6a | update DecodeEntityBase | JeffreySu/WxOpen,JeffreySu/WxOpen | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Entities/Watermark.cs | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Entities/Watermark.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Senparc.Weixin.Helpers;
namespace Senparc.Weixin.WxOpen.Entities
{
public class DecodeEntityBase
{
public Watermark watermark { get; set; }
}
public class Watermark
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Senparc.Weixin.WxOpen.Entities
{
public class DecodeEntityBase
{
public Watermark watermark { get; set; }
}
public class Watermark
{
public string appid { ... | apache-2.0 | C# |
59feb1fecadb469d86dc79207aa5d17280a96c2d | Change from Information to Verbose | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.Logging/Logging/ILoggerExtensions.cs | src/GitHub.Logging/Logging/ILoggerExtensions.cs | using System;
using System.Globalization;
using System.Threading.Tasks;
using Serilog;
namespace GitHub.Logging
{
public static class ILoggerExtensions
{
public static void Assert(this ILogger logger, bool condition, string messageTemplate)
{
if (!condition)
{
... | using System;
using System.Globalization;
using System.Threading.Tasks;
using Serilog;
namespace GitHub.Logging
{
public static class ILoggerExtensions
{
public static void Assert(this ILogger logger, bool condition, string messageTemplate)
{
if (!condition)
{
... | mit | C# |
ac01b8107bcfdc101f66431843c2cb9e862cefe2 | use IHostingEnvironment.ContentRootPath to retrieve the path to root of content folder | NLog/NLog.Framework.Logging,NLog/NLog.Extensions.Logging,NLog/NLog.Framework.Logging | src/NLog.Extensions.Logging/AspNetExtensions.cs | src/NLog.Extensions.Logging/AspNetExtensions.cs | using System.IO;
using System.Reflection;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Logging;
using NLog.Config;
namespace NLog.Extensions.Logging
{
/// <summary>
/// Helpers for ASP.NET Core
/// </summary>
public static class AspNetExtensions
{
/// <summary>
/... | using System.IO;
using System.Reflection;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Logging;
using NLog.Config;
namespace NLog.Extensions.Logging
{
/// <summary>
/// Helpers for ASP.NET Core
/// </summary>
public static class AspNetExtensions
{
/// <summary>
/... | bsd-2-clause | C# |
67ef1c40e64ca935a5f4b9ee666b72cb15da9182 | Allow API beatmap requests using interface type | smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,ppy/osu | osu.Game/Online/API/Requests/GetBeatmapRequest.cs | osu.Game/Online/API/Requests/GetBeatmapRequest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Online.API.Requests.Responses;
#nullable enable
namespace osu.Game.Online.API.Requests
{
public class GetBeatmapRequest : A... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API.Requests
{
public class GetBeatmapRequest : APIRequest<APIBeatm... | mit | C# |
208622fdf4c7ff711278f561665d2ff9221bf7c6 | Revert "Mandrill sender version bump" | crossvertise/ActionMailerNext | src/ActionMailerNext.MandrillMailSender/Properties/AssemblyInfo.cs | src/ActionMailerNext.MandrillMailSender/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("Ac... | 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("Ac... | mit | C# |
0046c5e8a40fdff7942107d212673c0d216d6ac3 | Enhance MySqlIndexFluentApiExtension | PomeloFoundation/Pomelo.EntityFrameworkCore.MySql,PomeloFoundation/Pomelo.EntityFrameworkCore.MySql,caleblloyd/Pomelo.EntityFrameworkCore.MySql,caleblloyd/Pomelo.EntityFrameworkCore.MySql | src/EFCore.MySql/Metadata/Internal/MySqlIndexFluentApiExtension.cs | src/EFCore.MySql/Metadata/Internal/MySqlIndexFluentApiExtension.cs | // Copyright (c) Pomelo Foundation. All rights reserved.
// Licensed under the MIT. See LICENSE in the project root for license information.
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
namespace Microsoft.EntityFrameworkCor... | // Copyright (c) Pomelo Foundation. All rights reserved.
// Licensed under the MIT. See LICENSE in the project root for license information.
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
namespace Microsoft.EntityFrameworkCor... | mit | C# |
618feb73c0d3c210eac12c289bf8cf147503b901 | Update version to 1.6 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | src/resharper-unity/Properties/AssemblyInfo.cs | src/resharper-unity/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("resharper-unity")]
[assembly: AssemblyDesc... | 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("resharper-unity")]
[assembly: AssemblyDesc... | apache-2.0 | C# |
a65af63e1f0236a47e532f6bcd4203a4a89c28aa | add TimeoutAfter extensions | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/Extensions/TaskExtension.cs | src/WeihanLi.Common/Extensions/TaskExtension.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
// ReSharper disable once CheckNamespace
namespace WeihanLi.Extensions
{
public static class TaskExtension
{
public static Task WhenAny... | using System.Collections.Generic;
using System.Threading.Tasks;
// ReSharper disable once CheckNamespace
namespace WeihanLi.Extensions
{
public static class TaskExtension
{
public static Task WhenAny(this IEnumerable<Task> tasks) => Task.WhenAny(tasks);
public static Task<Task<TResult>> WhenA... | mit | C# |
cd240ff7b7ae58abee9f3508db9b291ce2359f26 | Use HTTPS (#355) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/KentBoogaart.cs | src/Firehose.Web/Authors/KentBoogaart.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class KentBoogaart : IAmAMicrosoftMVP
{
public string FirstName => "Kent";
public string LastName => "Boogaart";
public string StateOrRegion => "Australia";
... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class KentBoogaart : IAmAMicrosoftMVP
{
public string FirstName => "Kent";
public string LastName => "Boogaart";
public string StateOrRegion => "Australia";
... | mit | C# |
d75b39a342e7987d89cb69538f98a4c6213aba66 | Make Comment State allow nulls for types without assignees | Mivaweb/Notely,Mivaweb/Notely,Mivaweb/Notely | src/Notely/Notely.Core/Models/Comment.cs | src/Notely/Notely.Core/Models/Comment.cs | using System;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.DatabaseAnnotations;
namespace Notely.Core.Models
{
/// <summary>
/// Implement the Comment DTO
/// </summary>
[TableName("notelyComments")]
[PrimaryKey("id", autoIncrement = true)]
[ExplicitColumns]
public class... | using System;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.DatabaseAnnotations;
namespace Notely.Core.Models
{
/// <summary>
/// Implement the Comment DTO
/// </summary>
[TableName("notelyComments")]
[PrimaryKey("id", autoIncrement = true)]
[ExplicitColumns]
public class... | mit | C# |
c3708bdf46982f5b0390cf014ba508601463bc58 | Update version info. | maraf/Money,maraf/Money,maraf/Money | src/Money.UI.Blazor/Pages/About.cshtml | src/Money.UI.Blazor/Pages/About.cshtml | @page "/about"
<h1>Money</h1>
<h4>Neptuo</h4>
<p class="gray">
v1.3.0
</p>
<p>
<a target="_blank" href="http://github.com/maraf/Money">Documentation</a>
</p>
<p>
<a target="_blank" href="https://github.com/maraf/Money/issues/new">Report an issue</a>
</p> | @page "/about"
<h1>Money</h1>
<h4>Neptuo</h4>
<p class="gray">
v1.2.1
</p>
<p>
<a target="_blank" href="http://github.com/maraf/Money">Documentation</a>
</p>
<p>
<a target="_blank" href="https://github.com/maraf/Money/issues/new">Report an issue</a>
</p> | apache-2.0 | C# |
5c8bea82f8e53cad4d5d15ffc97bd2dd7ef644df | Fix scroll direction not applying to nested hitobjects | peppy/osu,DrabWeb/osu,ppy/osu,DrabWeb/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,ppy/osu,2yangk23/osu,johnneijzen/osu,DrabWeb/osu,NeoAdonis/osu,EVAST9919/osu,ZLima12/osu,naoey/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,smoogipoo/osu,smoogipooo/osu,naoey/osu,naoey/osu,smoogipoo/osu,EVAS... | osu.Game.Rulesets.Mania/Objects/Drawables/DrawableManiaHitObject.cs | osu.Game.Rulesets.Mania/Objects/Drawables/DrawableManiaHitObject.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.Linq;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.Rulesets.UI.Scrolling;
namespace osu.Game.Rulesets.Mania.Obj... | // 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.Game.Rulesets.Objects.Drawables;
using osu.Game.Rulesets.UI.Scrolling;
namespace osu.Game.Rulesets.Mania.Objects.Drawables
{
... | mit | C# |
d85e81b00fe9934551340e62a80b624bf4c033be | Remove unused `using` | umm-projects/animationevent_dispatcher | Assets/Scripts/UnityModule/AnimationEventDispatcher/AudioDispatcher.cs | Assets/Scripts/UnityModule/AnimationEventDispatcher/AudioDispatcher.cs | using GameObjectExtension;
using UnityEngine;
namespace UnityModule.AnimationEventDispatcher {
/// <summary>
/// 音声再生に関するディスパッチャ
/// </summary>
public class AudioDispatcher : MonoBehaviour {
/// <summary>
/// AudioSource の実体
/// </summary>
private AudioSource audioSou... | using System.Collections;
using System.Collections.Generic;
using GameObjectExtension;
using UnityEngine;
namespace UnityModule.AnimationEventDispatcher {
/// <summary>
/// 音声再生に関するディスパッチャ
/// </summary>
public class AudioDispatcher : MonoBehaviour {
/// <summary>
/// AudioSource の実体... | mit | C# |
6b4c181b9bd379a5dded8e0e359ff13317addb92 | Move JsonSerializerOptionsExtenstionMethods into CSharpFunctionalExtensions namespace | vkhorikov/CSharpFunctionalExtensions | CSharpFunctionalExtensions/Result/Dto/JsonSerializerOptionsExtenstionMethods.cs | CSharpFunctionalExtensions/Result/Dto/JsonSerializerOptionsExtenstionMethods.cs | using System.Text.Json;
namespace CSharpFunctionalExtensions
{
public static class JsonSerializerOptionsExtensionMethods
{
public static JsonSerializerOptions AddResultCoverters(this JsonSerializerOptions options)
{
options.Converters.Add(new ResultDtoJsonConverter());
... | using CSharpFunctionalExtensions;
namespace System.Text.Json
{
public static class JsonSerializerOptionsExtenstionMethods
{
public static JsonSerializerOptions AddResultCoverters(this JsonSerializerOptions options)
{
options.Converters.Add(new ResultDtoJsonConverter());
... | mit | C# |
14079bf1af49df13c862cbc53c1d7f851a25727c | Fix diagnostic IDs for SA1100 code fix | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1100CodeFixProvider.cs | StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1100CodeFixProvider.cs | namespace StyleCop.Analyzers.ReadabilityRules
{
using System.Collections.Immutable;
using System.Composition;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
... | namespace StyleCop.Analyzers.ReadabilityRules
{
using System.Collections.Immutable;
using System.Composition;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
... | mit | C# |
15c0403babfcfef1f9eaa132386cabd3d2ec5ce5 | Change test template to use Bugzilla (#501) | Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/_Template.cs | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/_Template.cs | using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Bugzilla, 1, "Issue Description", PlatformAffected.Default)]
public class Bugzilla1 : TestContent... | using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Github, 1, "Issue Description")]
public class Issue1 : TestContentPage // or TestMasterDetailPage... | mit | C# |
c62ef0fd0c99053bc1ac7f041fcf140e14547ab9 | Add inline comment don't-do-this | EVAST9919/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,EVAST9919/osu-... | osu.Framework/Graphics/Containers/CircularContainer.cs | osu.Framework/Graphics/Containers/CircularContainer.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// A container which is rounded (via automatic corner-radius) on the short... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// A container which is rounded (via automatic corner-radius) on the short... | mit | C# |
5dc6bd1f0fe4a397302dd20916b388b2467361fa | Clean up UnregisterRequestEventArgs | arthot/xsp,stormleoxia/xsp,murador/xsp,murador/xsp,stormleoxia/xsp,arthot/xsp,arthot/xsp,murador/xsp,murador/xsp,stormleoxia/xsp,arthot/xsp,stormleoxia/xsp | src/Mono.WebServer/UnregisterRequestEventArgs.cs | src/Mono.WebServer/UnregisterRequestEventArgs.cs | //
// Mono.WebServer.UnregisterRequestEventArgs
//
// Authors:
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
// Lluis Sanchez Gual (lluis@ximian.com)
//
// (C) Copyright 2004-2010 Novell, Inc
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documen... | //
// Mono.WebServer.UnregisterRequestEventArgs
//
// Authors:
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
// Lluis Sanchez Gual (lluis@ximian.com)
//
// (C) Copyright 2004-2010 Novell, Inc
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documen... | mit | C# |
15399761d075487b58d985493188d15abeab5a7c | remove trigger, add immediate trigger to run once only 1 min after start | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp | src/StockportWebapp/Scheduler/QuartzScheduler.cs | src/StockportWebapp/Scheduler/QuartzScheduler.cs | using System;
using System.Threading.Tasks;
using Quartz;
using Quartz.Impl;
using StockportWebapp.FeatureToggling;
using StockportWebapp.Models;
using StockportWebapp.Repositories;
using StockportWebapp.Services;
using StockportWebapp.Utils;
using Microsoft.Extensions.Logging;
namespace StockportWebapp.Scheduler
{
... | using System;
using System.Threading.Tasks;
using Quartz;
using Quartz.Impl;
using StockportWebapp.FeatureToggling;
using StockportWebapp.Models;
using StockportWebapp.Repositories;
using StockportWebapp.Services;
using StockportWebapp.Utils;
using Microsoft.Extensions.Logging;
namespace StockportWebapp.Scheduler
{
... | mit | C# |
d6761a9c5757dcbf5e0c76cca6f49da02d30d4b0 | Verify that an exception is thrown if remote couldn't be added | appharbor/appharbor-cli | src/AppHarbor.Tests/GitRepositoryConfigurerTest.cs | src/AppHarbor.Tests/GitRepositoryConfigurerTest.cs | using System;
using System.IO;
using AppHarbor.Model;
using Moq;
using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests
{
public class GitRepositoryConfigurerTest
{
[Theory, AutoCommandData]
public void ShouldTryAndSetUpGitRemoteIfPossible([Frozen]Mock<IGitExecutor> gitExe... | using System;
using System.IO;
using AppHarbor.Model;
using Moq;
using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests
{
public class GitRepositoryConfigurerTest
{
[Theory, AutoCommandData]
public void ShouldTryAndSetUpGitRemoteIfPossible([Frozen]Mock<IGitExecutor> gitExe... | mit | C# |
dde3fbe0769aacab52fc67fa4abee4c3a5f44dd4 | Fix SQ issue | steven-r/Oberon0Compiler | oberon0/Solver/ConstantSolver.cs | oberon0/Solver/ConstantSolver.cs | #region copyright
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ConstantSolver.cs" company="Stephen Reindl">
// Copyright (c) Stephen Reindl. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the ... | using System;
using Oberon0.Compiler.Definitions;
using Oberon0.Compiler.Expressions;
namespace Oberon0.Compiler.Solver
{
using Oberon0.Compiler.Expressions.Constant;
/// <summary>
/// Solve constant expressions
/// </summary>
static class ConstantSolver
{
public static Expression Sol... | mit | C# |
c5cad0cdbee20f2c5f392f3e4b19c71a274b2f2e | Allow MemoryPool.Shared devirtualization (#33085) | ViktorHofer/corefx,ViktorHofer/corefx,ViktorHofer/corefx,mmitche/corefx,ptoonen/corefx,wtgodbe/corefx,ViktorHofer/corefx,shimingsg/corefx,shimingsg/corefx,shimingsg/corefx,wtgodbe/corefx,BrennanConroy/corefx,shimingsg/corefx,ptoonen/corefx,ericstj/corefx,wtgodbe/corefx,wtgodbe/corefx,BrennanConroy/corefx,wtgodbe/corefx... | src/System.Memory/src/System/Buffers/MemoryPool.cs | src/System.Memory/src/System/Buffers/MemoryPool.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 System.Buffers
{
/// <summary>
/// Represents a pool of memory blocks.
/// </summary>
publ... | // 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 System.Buffers
{
/// <summary>
/// Represents a pool of memory blocks.
/// </summary>
publ... | mit | C# |
aee24d570a374a4845f429fb3a2b599b5201e784 | Update assembly description. | rickbeerendonk/Binding | src/Beerendonk.Binding/Properties/AssemblyInfo.cs | src/Beerendonk.Binding/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | epl-1.0 | C# |
c57fbb523c474031251a149f83c4a3f240955b35 | Fix HTML errors in QuickDonate view. | GiveCampUK/GiveCRM,GiveCampUK/GiveCRM | src/GiveCRM.Web/Views/Donation/QuickDonate.cshtml | src/GiveCRM.Web/Views/Donation/QuickDonate.cshtml | @model int
<form onsubmit="DoDonate();return false;" class="form-stacked">
@Html.Hidden("DonorId", Model)
@{
var campaignDb = new GiveCRM.DataAccess.Campaigns();
}
<div class="clearfix">
<label for="CampaignId">Campaign</label>
<div class="input">
@Html.DropDownList("CampaignId", campaignDb.GetA... | @model int
<form onsubmit="DoDonate();return false;" class="form-stacked">
@Html.Hidden("DonorId", Model)
@{
var campaignDb = new GiveCRM.DataAccess.Campaigns();
}
<div class="clearfix">
<label for"CampaignId">Campaign</label>
<div class="input">
@Html.DropDownList("CampaignId", campaignDb.GetAl... | mit | C# |
d74da3f051a605569d1c9b92e9efcf79e8f0f5ec | Fix for cookie authentication. | NancyFx/Nancy.MSOwinSecurity | src/Nancy.MSOwinSecurity/NancyModuleExtensions.cs | src/Nancy.MSOwinSecurity/NancyModuleExtensions.cs | namespace Nancy.Security
{
using System;
using System.Linq;
using System.Security.Claims;
using Microsoft.Owin.Security;
using Nancy.Extensions;
public static class NancyModuleExtensions
{
/// <summary>
/// This module requires the user is authenticated with Microsoft O... | namespace Nancy.Security
{
using System;
using System.Linq;
using System.Security.Claims;
using Microsoft.Owin.Security;
using Nancy.Extensions;
public static class NancyModuleExtensions
{
/// <summary>
/// This module requires the user is authenticated with Microsoft O... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.