commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
1b4475a6dc69d8f8c5314fb3dc7fe80c3931ea83 | bootstrapping/Build.netcore.cs | bootstrapping/Build.netcore.cs | using System;
using System.Linq;
using Nuke.Common;
using Nuke.Common.Git;
using Nuke.Common.Tools.GitVersion;
using Nuke.Core;
using static Nuke.Common.Tools.DotNet.DotNetTasks;
using static Nuke.Core.IO.FileSystemTasks;
using static Nuke.Core.IO.PathConstruction;
using static Nuke.Core.EnvironmentInfo;
class Build ... | using System;
using System.Linq;
using Nuke.Common;
using Nuke.Common.Git;
using Nuke.Common.Tools.GitVersion;
using Nuke.Core;
using static Nuke.Common.Tools.DotNet.DotNetTasks;
using static Nuke.Core.IO.FileSystemTasks;
using static Nuke.Core.IO.PathConstruction;
using static Nuke.Core.EnvironmentInfo;
class Build ... | Update default build for .NET Core. | Update default build for .NET Core.
| C# | mit | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke |
d171970ad2ab959a6050639f744bb26b9f8fc3c4 | osu.Framework/Configuration/BindableNumberWithPrecision.cs | osu.Framework/Configuration/BindableNumberWithPrecision.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.Configuration
{
public abstract class BindableNumberWithPrecision<T> : BindableNumber<T>
where T : ... | // 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.Configuration
{
public abstract class BindableNumberWithPrecision<T> : BindableNumber<T>
where T : ... | Make if block more readable | Make if block more readable
| C# | mit | Tom94/osu-framework,peppy/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,default0/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,default0/osu-framework,Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,smoogi... |
aa750bb024ddc3d09ea6d41690807cb84855cf8e | src/ServiceStack.ServiceInterface/Validation/ValidationFilter.cs | src/ServiceStack.ServiceInterface/Validation/ValidationFilter.cs | using System;
using ServiceStack.ServiceHost;
using ServiceStack.FluentValidation;
using ServiceStack.ServiceInterface.ServiceModel;
using ServiceStack.Validation;
using ServiceStack.WebHost.Endpoints;
using ServiceStack.WebHost.Endpoints.Extensions;
namespace ServiceStack.ServiceInterface.Validation
{
pub... | using System;
using ServiceStack.ServiceHost;
using ServiceStack.FluentValidation;
using ServiceStack.ServiceInterface.ServiceModel;
using ServiceStack.Validation;
using ServiceStack.WebHost.Endpoints;
using ServiceStack.WebHost.Endpoints.Extensions;
namespace ServiceStack.ServiceInterface.Validation
{
pub... | Use cache to avoid runtime reflection. | Use cache to avoid runtime reflection.
| C# | bsd-3-clause | MindTouch/NServiceKit,meebey/ServiceStack,ZocDoc/ServiceStack,nataren/NServiceKit,NServiceKit/NServiceKit,MindTouch/NServiceKit,timba/NServiceKit,MindTouch/NServiceKit,meebey/ServiceStack,NServiceKit/NServiceKit,ZocDoc/ServiceStack,nataren/NServiceKit,timba/NServiceKit,nataren/NServiceKit,ZocDoc/ServiceStack,ZocDoc/Ser... |
681b4494ca5dd15a57be458f2c380c598c293106 | DataConversionExtensions/HTTPResponseHelper.cs | DataConversionExtensions/HTTPResponseHelper.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace Codenesium.DataConversionExtensions
{
public static class HTTPResponseHelper
{
public static HttpRe... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace Codenesium.DataConversionExtensions
{
public static class HTTPResponseHelper
{
public static HttpRe... | Add method to return a header value from a HTTP response | Add method to return a header value from a HTTP response
| C# | mit | codenesium/DataConversionExtensions |
06602662a17120037e041e9a826d1cfabf486fca | src/Common/src/System/MathF.netstandard.cs | src/Common/src/System/MathF.netstandard.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.
using System.Runtime.CompilerServices;
namespace System
{
// MathF emulation on platforms which don't support ... | // 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.Runtime.CompilerServices;
namespace System
{
// MathF emulation on platforms which don't support ... | Add Pow to MathF compat file. | Add Pow to MathF compat file.
| C# | mit | nbarbettini/corefx,yizhang82/corefx,Ermiar/corefx,nbarbettini/corefx,Ermiar/corefx,stone-li/corefx,parjong/corefx,ericstj/corefx,ViktorHofer/corefx,nchikanov/corefx,stone-li/corefx,fgreinacher/corefx,cydhaselton/corefx,the-dwyer/corefx,shimingsg/corefx,axelheer/corefx,seanshpark/corefx,parjong/corefx,twsouthwick/corefx... |
1e033e4a9f29e85083fe2db8765f90c7b0ee8a43 | Assets/Plugins/Voxelgon/Spacecraft/Spacecraft.cs | Assets/Plugins/Voxelgon/Spacecraft/Spacecraft.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Spacecraft : MonoBehaviour {
}
SYNTAX ERROR :D | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Spacecraft : MonoBehaviour {
} | Fix the syntax error Travis works :D | Fix the syntax error
Travis works :D
| C# | apache-2.0 | Voxelgon/Voxelgon,Voxelgon/Voxelgon |
14519941222b0e8316aaa2e58ec2b6b193f2b673 | Assets/Scripts/SkillTree_Manager.cs | Assets/Scripts/SkillTree_Manager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SkillTree_Manager : MonoBehaviour
{
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
}
}
| using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SkillTree_Manager : MonoBehaviour
{
public GameObject amountXPObject;
Text amountXPText;
// Use this for initialization
void Start ()
{
amountXPText = amountXPObject.GetComponent<T... | Update XP in skills page | Update XP in skills page
| C# | mit | jamioflan/LD38 |
b5a313cb2fa644434f5531fc44af686b10fd8739 | IceBuilder/UpgradeDialogProgress.cs | IceBuilder/UpgradeDialogProgress.cs | 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 IceBuilder
{
public interface UpgradeProgressCallback
{
bool Canceled { get; ... | 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 IceBuilder
{
public interface UpgradeProgressCallback
{
bool Canceled { get; ... | Fix possible race condition in the Upgrade Callback | Fix possible race condition in the Upgrade Callback
| C# | bsd-3-clause | zeroc-ice/ice-builder-visualstudio |
94dbe0d692ed0b4179de6ef0be503300f71edc2e | src/Strinken/Filters/ReplaceFilter.cs | src/Strinken/Filters/ReplaceFilter.cs | // stylecop.header
using Strinken.Parser;
namespace Strinken.Filters
{
/// <summary>
/// This filter takes some couples of arguments, and replace each occurrence of each first argument by the second.
/// </summary>
public class ReplaceFilter : IFilter
{
/// <inheritdoc/>
public str... | // stylecop.header
using Strinken.Parser;
namespace Strinken.Filters
{
/// <summary>
/// This filter takes some couples of arguments, and replace each occurrence of each first argument by the second.
/// </summary>
internal class ReplaceFilter : IFilter
{
/// <inheritdoc/>
public s... | Move the replace filter to internal | Move the replace filter to internal
| C# | mit | k94ll13nn3/Strinken |
02309b23a8214a735559ba9a456b8a7caa9c5f6e | src/VisualStudio/PowershellScripts.cs | src/VisualStudio/PowershellScripts.cs | namespace NuGet.VisualStudio {
public class PowerShellScripts {
public static readonly string Install = "install.ps1";
public static readonly string Uninstall = "uninstall.ps1";
public static readonly string Init = "init.ps1";
}
}
| namespace NuGet.VisualStudio {
public static class PowerShellScripts {
public static readonly string Install = "install.ps1";
public static readonly string Uninstall = "uninstall.ps1";
public static readonly string Init = "init.ps1";
}
}
| Make PowerShellScripts class static per review. | Make PowerShellScripts class static per review.
| C# | apache-2.0 | mrward/nuget,dolkensp/node.net,indsoft/NuGet2,xoofx/NuGet,indsoft/NuGet2,antiufo/NuGet2,themotleyfool/NuGet,dolkensp/node.net,jmezach/NuGet2,mrward/NuGet.V2,zskullz/nuget,chocolatey/nuget-chocolatey,mrward/NuGet.V2,chocolatey/nuget-chocolatey,zskullz/nuget,ctaggart/nuget,jholovacs/NuGet,alluran/node.net,oliver-feng/nug... |
1711cbae3f66c8857b2dda471de7c9ab23a43b14 | src/ResourceManagement/TrafficManager/Microsoft.Azure.Management.TrafficManager/Properties/AssemblyInfo.cs | src/ResourceManagement/TrafficManager/Microsoft.Azure.Management.TrafficManager/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.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Microsoft Azure Traffic Manager Management Libra... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Microsoft Azure Traffic Manager Management Libra... | Revert AssemblyVersion to 2.1.0 because there are no breaking changes in this version | Revert AssemblyVersion to 2.1.0 because there are no breaking changes in this version
| C# | mit | jhendrixMSFT/azure-sdk-for-net,begoldsm/azure-sdk-for-net,begoldsm/azure-sdk-for-net,begoldsm/azure-sdk-for-net,mihymel/azure-sdk-for-net,jhendrixMSFT/azure-sdk-for-net,jhendrixMSFT/azure-sdk-for-net,mihymel/azure-sdk-for-net,mihymel/azure-sdk-for-net |
02f582a3f80993177dc06dbbc322679e23f99bd3 | osu.Game.Rulesets.Mania/Judgements/HoldNoteTickJudgement.cs | osu.Game.Rulesets.Mania/Judgements/HoldNoteTickJudgement.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Rulesets.Mania.Judgements
{
public class HoldNoteTickJudgement : ManiaJudgement
{
}
} | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Rulesets.Mania.Judgements
{
public class HoldNoteTickJudgement : ManiaJudgement
{
public override int NumericResultForScore(Man... | Add hold note tick judgement. | Add hold note tick judgement.
| C# | mit | naoey/osu,ZLima12/osu,peppy/osu-new,DrabWeb/osu,2yangk23/osu,smoogipooo/osu,ppy/osu,naoey/osu,ZLima12/osu,NeoAdonis/osu,smoogipoo/osu,Damnae/osu,UselessToucan/osu,DrabWeb/osu,UselessToucan/osu,EVAST9919/osu,2yangk23/osu,johnneijzen/osu,peppy/osu,johnneijzen/osu,peppy/osu,NeoAdonis/osu,DrabWeb/osu,tacchinotacchi/osu,Dre... |
ca55c3d757f2db83bef2368459900e2e3ff4f79a | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Calendars/OAuth/TraktCalendarUserDVDMoviesRequestTests.cs | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Calendars/OAuth/TraktCalendarUserDVDMoviesRequestTests.cs | namespace TraktApiSharp.Tests.Experimental.Requests.Calendars.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Calendars.OAuth;
using TraktApiSharp.Objects.Get.Calendars;
[TestClass]
public class TraktCalendarUserDVDM... | namespace TraktApiSharp.Tests.Experimental.Requests.Calendars.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Calendars.OAuth;
using TraktApiSharp.Objects.Get.Calendars;
using TraktApiSharp.Requests;
[TestClass]
... | Make sure that authorization of TraktCalendarUserDVDMoviesRequest is required | Make sure that authorization of TraktCalendarUserDVDMoviesRequest is required
| C# | mit | henrikfroehling/TraktApiSharp |
ed32f9e4a5ea8f6b4a7d28a951b694628b989047 | Agiil.Web/Services/Auth/LoginStateReader.cs | Agiil.Web/Services/Auth/LoginStateReader.cs | using System;
using Agiil.Domain.Auth;
using Agiil.Web.Models.Shared;
using CSF.ORM;
namespace Agiil.Web.Services.Auth
{
public class LoginStateReader
{
readonly IIdentityReader userReader;
readonly IEntityData data;
public LoginStateModel GetLoginState()
{
var use... | using System;
using Agiil.Domain.Auth;
using Agiil.Web.Models.Shared;
using CSF.ORM;
namespace Agiil.Web.Services.Auth
{
public class LoginStateReader
{
readonly IIdentityReader userReader;
readonly IEntityData data;
public LoginStateModel GetLoginState()
{
var use... | Fix crash error when login state is invalid | Fix crash error when login state is invalid
I think this was caused by having an existing browser cookie for the domain,
indicating that I am logged-in as a user which does not exist in the current
database.
This caused it to fail to retrieve a user from the DB and as a result crashed
because it had expected to find ... | C# | mit | csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil |
412b4b4f7885fb8ca4af291505155ec674f96dd1 | Wheeels/Program.cs | Wheeels/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace Wheeels
{
static class Program
{
/// <summary>
/// Point d'entrée principal de l'application.
/// </summary>
[STAThread]
static void Main()
{
App... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace Wheeels
{
static class Program
{
/// <summary>
/// Point d'entrée principal de l'application.
/// </summary>
[STAThread]
static void Main()
{
App... | Revert "ajout d'une variable locale" | Revert "ajout d'une variable locale"
This reverts commit 41bad3b26a9866733ff2cedbda76e6e1a7eb8fba.
| C# | mit | Gabyche/Wheeels |
5deedee5733ed858792e370479ac6d066d0e7a63 | source/CroquetAustralia.Website/Layouts/Shared/Sidebar.cshtml | source/CroquetAustralia.Website/Layouts/Shared/Sidebar.cshtml | <div class="sticky-notes">
</div> | <div class="sticky-notes">
<div class="sticky-note">
<i class="pin"></i>
<div class="content green">
<h1>
GC Handicapping System
</h1>
<p>
New <a href="/disciplines/golf-croquet/resources">GC Handicapping System</a> comes into effe... | Add sticky note 'GC Handicapping System' | Add sticky note 'GC Handicapping System'
| C# | mit | croquet-australia/website-application,croquet-australia/website-application,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia-website,croquet-australia/croquet-australia.com.au,croquet-australia/website-application,croquet-australia/website-applica... |
4f530ccbb18c265282a865859ff4b6d504159960 | Tests/Integration/WebApp.Tests/WebAppUrl.cs | Tests/Integration/WebApp.Tests/WebAppUrl.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WebApp.Tests
{
static class WebAppUrl
{
public const string EnsureBasicUser = "/app/ensureBasicUser";
public const string StartLoginUri = "/.webfront/c/startLogin";
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WebApp.Tests
{
static class WebAppUrl
{
public const string EnsureBasicUser = "/ensureBasicUser";
public const string StartLoginUri = "/.webfront/c/startLogin";
... | Fix tests: difference was that the db was initialized in local and "/app/ensureBasicUser" is now "/ensureBasicUser". | Fix tests: difference was that the db was initialized in local and "/app/ensureBasicUser" is now "/ensureBasicUser".
| C# | mit | Invenietis/CK-AspNet-Auth,Invenietis/CK-AspNet-Auth,Invenietis/CK-AspNet-Auth,Invenietis/CK-AspNet-Auth |
80334f6ed542a79aefc61f6f1ca25dc4a5755fb3 | tests/src/JIT/Regression/JitBlue/GitHub_20040/GitHub_20040.cs | tests/src/JIT/Regression/JitBlue/GitHub_20040/GitHub_20040.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.
using System;
// GitHub 20040: operand ordering bug with GT_INDEX_ADDR
// Requires minopts/tier0 to repro
namespac... | // 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;
using System.Runtime.CompilerServices;
// GitHub 20040: operand ordering bug with GT_INDEX_ADDR
// Re... | Fix test for GT_INDEX_ADDR to forcibly compile with minopts | Fix test for GT_INDEX_ADDR to forcibly compile with minopts
Update test introduced in #20047 so that the key method `ReadBytes` is compiled
with minopts by default.
| C# | mit | krk/coreclr,cshung/coreclr,poizan42/coreclr,wtgodbe/coreclr,krk/coreclr,wtgodbe/coreclr,krk/coreclr,cshung/coreclr,poizan42/coreclr,cshung/coreclr,wtgodbe/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,cshung/coreclr,wtgodbe/coreclr,mmitche/coreclr,mmitche/coreclr,mmitche/coreclr,krk/coreclr,poizan42/coreclr,wtgodbe/co... |
424e1f1cfef26e6b1ca54e6149beba0070e9fb12 | vs/LCIAToolAPI/LCIAToolAPI/API/FragmentTraversalController.cs | vs/LCIAToolAPI/LCIAToolAPI/API/FragmentTraversalController.cs | using Data;
using Ninject;
using Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace LCAToolAPI.API
{
public class FragmentTraversalController : ApiController
{
[Inject]
private readonly IFragmen... | using Data;
using Ninject;
using Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace LCAToolAPI.API
{
public class FragmentTraversalController : ApiController
{
[Inject]
private readonly IFragmen... | Add route for updating caches via fragment traversal | WebAPI: Add route for updating caches via fragment traversal
| C# | bsd-2-clause | uo-lca/CalRecycleLCA,uo-lca/CalRecycleLCA |
f95430986c3fd80493d78ba76b8192fe3fb9e7ca | Assets/FullSerializer/Source/Converters/Unity/UnityEvent_Converter.cs | Assets/FullSerializer/Source/Converters/Unity/UnityEvent_Converter.cs | #if !NO_UNITY
using System;
using UnityEngine;
using UnityEngine.Events;
namespace FullSerializer {
partial class fsConverterRegistrar {
// Disable the converter for the time being. Unity's JsonUtility API cannot be called from
// within a C# ISerializationCallbackReceiver callback.
// pub... | #if !NO_UNITY && UNITY_5_3_OR_NEWER
using System;
using UnityEngine;
using UnityEngine.Events;
namespace FullSerializer {
partial class fsConverterRegistrar {
// Disable the converter for the time being. Unity's JsonUtility API cannot be called from
// within a C# ISerializationCallbackReceiver cal... | Fix compilation on Unity < 5.3. | Fix compilation on Unity < 5.3.
Fixes issue #108.
| C# | mit | jacobdufault/fullserializer,jacobdufault/fullserializer,jacobdufault/fullserializer |
8a65157638aaf55f26fdd46777892deaf405ecbe | Line.Messaging/HttpResponseMessageExtensions.cs | Line.Messaging/HttpResponseMessageExtensions.cs | using Newtonsoft.Json;
using System.Net.Http;
using System.Threading.Tasks;
namespace Line.Messaging
{
internal static class HttpResponseMessageExtensions
{
/// <summary>
/// Validate the response status.
/// </summary>
/// <param name="response">HttpResponseMessage</param>
... | using Newtonsoft.Json;
using System.Net.Http;
using System.Threading.Tasks;
namespace Line.Messaging
{
internal static class HttpResponseMessageExtensions
{
/// <summary>
/// Validate the response status.
/// </summary>
/// <param name="response">HttpResponseMessage</param>
... | Add processing when error response JSON failed parsing | Add processing when error response JSON failed parsing
| C# | mit | pierre3/LineMessagingApi,pierre3/LineMessagingApi |
b371933a449fd2e818407d047a7dabed93245ef8 | Nodejs/Tests/NpmTests/NpmExecuteCommandTests.cs | Nodejs/Tests/NpmTests/NpmExecuteCommandTests.cs | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,... | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,... | Disable locally failiny npm command test | Disable locally failiny npm command test
| C# | apache-2.0 | mjbvz/nodejstools,munyirik/nodejstools,lukedgr/nodejstools,lukedgr/nodejstools,kant2002/nodejstools,paladique/nodejstools,Microsoft/nodejstools,mjbvz/nodejstools,paulvanbrenk/nodejstools,paladique/nodejstools,mousetraps/nodejstools,lukedgr/nodejstools,AustinHull/nodejstools,kant2002/nodejstools,kant2002/nodejstools,avi... |
f7f8980eb6298d0eaae96d12d62a22de2a4b88b4 | osu.Framework/Graphics/Cursor/CursorContainer.cs | osu.Framework/Graphics/Cursor/CursorContainer.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using OpenTK;
using osu.Framework.Graphics.Sprites;
namespace osu.Framework.Graph... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using OpenTK;
using osu.Framework.Graphics.Sprites;
using OpenTK.Graphics;
names... | Add a subtle glow to the cursor. | Add a subtle glow to the cursor.
| C# | mit | paparony03/osu-framework,default0/osu-framework,RedNesto/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,Nabile-Rahmani/osu-framework,NeoAdonis/osu-framework,NeoAdonis/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,default0/osu-framework,naoey/osu-framework,ppy/osu-framework,EVAS... |
19a10a0465a6498715fe93969d6bddfb6fe605c7 | src/Cake.Web/Controllers/DownloadController.cs | src/Cake.Web/Controllers/DownloadController.cs | using System.Web.Mvc;
using Cake.Web.Core.Content;
namespace Cake.Web.Controllers
{
public class DownloadController : Controller
{
private readonly PackagesConfigContent _content;
public DownloadController(PackagesConfigContent content)
{
_content = content;
}
... | using System.Web.Mvc;
using Cake.Web.Core.Content;
namespace Cake.Web.Controllers
{
public class DownloadController : Controller
{
private readonly PackagesConfigContent _content;
public DownloadController(PackagesConfigContent content)
{
_content = content;
}
... | Change from Redirect to Proxy downloads | Change from Redirect to Proxy downloads
| C# | mit | devlead/website,devlead/website,SharpeRAD/Cake.Website,devlead/website,cake-build/website,cake-build-bot/website,cake-build-bot/website,cake-build/website,cake-build/website,SharpeRAD/Cake.Website |
563046a79275e1a95a9a8d40644542751e510a7c | SaveAllTheTime/ModuleInitializer.cs | SaveAllTheTime/ModuleInitializer.cs | /// <summary>
/// Used by the ModuleInit. All code inside the Initialize method is ran as soon as the assembly is loaded.
/// </summary>
public static class ModuleInitializer
{
/// <summary>
/// Initializes the module.
/// </summary>
public static void Initialize()
{
}
} | using System.Reactive.Concurrency;
using ReactiveUI;
/// <summary>
/// Used by the ModuleInit. All code inside the Initialize method is ran as soon as the assembly is loaded.
/// </summary>
public static class ModuleInitializer
{
/// <summary>
/// Initializes the module.
/// </summary>
public static v... | Make sure the MainThreadScheduler is set properly | Make sure the MainThreadScheduler is set properly
Fixes an issue when running SaveAllTheTime with ReSharper where
ReactiveUI detects it is running in a test runner, this causes the
MainThreadScheduler to not run subscribe delegates on the dispatcher in
some cases where required
| C# | mit | paulcbetts/SaveAllTheTime |
fa2d8bafaef21daa92a820210b0a03ec418abd14 | Source/Core/Jobs/JobBootstrapper.cs | Source/Core/Jobs/JobBootstrapper.cs | using System;
using Exceptionless.Core.Extensions;
using Exceptionless.Core.Utility;
using Foundatio.ServiceProvider;
using SimpleInjector;
namespace Exceptionless.Core.Jobs {
public class JobBootstrapper : BootstrappedServiceProviderBase {
public override IServiceProvider Bootstrap() {
var co... | using System;
using System.Reflection;
using Exceptionless.Core.Extensions;
using Exceptionless.Core.Utility;
using Foundatio.ServiceProvider;
using NLog.Fluent;
using SimpleInjector;
namespace Exceptionless.Core.Jobs {
public class JobBootstrapper : BootstrappedServiceProviderBase {
public override IServ... | Add insulation bootstrapper to jobs. | Add insulation bootstrapper to jobs.
| C# | apache-2.0 | exceptionless/Exceptionless,adamzolotarev/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless,adamzolotarev/Exceptionless,exceptionless/Exceptionless,adamzolotarev/Exceptionless |
b979fd7d6e9459832f66712114724c3387e0902d | source/Container.Manager/Azure/ContainerCountMetricReporter.cs | source/Container.Manager/Azure/ContainerCountMetricReporter.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Docker.DotNet;
using Docker.DotNet.Models;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.Metrics;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace SharpLab.Container.Manager.A... | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Docker.DotNet;
using Docker.DotNet.Models;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.Metrics;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
nam... | Update Container Host to only count running containers | Update Container Host to only count running containers
| C# | bsd-2-clause | ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab |
db368be4800d466d9b3a34f750b246e2cdb81847 | source/ChromeDevTools/Properties/AssemblyInfo.cs | source/ChromeDevTools/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("Chrome Developer Tools")]
[assembly: Asse... | using System;
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("Chrome Developer Tools")]
[... | Mark the assembly as CLS Compliant | Mark the assembly as CLS Compliant
| C# | mit | MasterDevs/ChromeDevTools |
fd6b10656c638753a15efcb004f8848e109852bf | osu.Game/Rulesets/IRulesetInfo.cs | osu.Game/Rulesets/IRulesetInfo.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 osu.Game.Database;
#nullable enable
namespace osu.Game.Rulesets
{
/// <summary>
/// A representation of a ruleset's metadata.
/// </summ... | // 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 osu.Game.Database;
#nullable enable
namespace osu.Game.Rulesets
{
/// <summary>
/// A representation of a ruleset's metadata.
/// </summ... | Add TODO reminder about ruleset reference transfer quirk | Add TODO reminder about ruleset reference transfer quirk
| C# | mit | NeoAdonis/osu,peppy/osu-new,smoogipooo/osu,ppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu |
e3a67143bc89624adf8560e334632f982120e0a0 | SignInCheckIn/SignInCheckIn/Startup.cs | SignInCheckIn/SignInCheckIn/Startup.cs | using Microsoft.AspNet.SignalR;
using Microsoft.Owin;
using Microsoft.Owin.Cors;
using Owin;
[assembly: OwinStartup(typeof(SignInCheckIn.Startup))]
[assembly: log4net.Config.XmlConfigurator(ConfigFile = "log4net.config", Watch = true)]
namespace SignInCheckIn
{
public class Startup
{
public void Confi... | using Microsoft.AspNet.SignalR;
using Microsoft.Owin;
using Microsoft.Owin.Cors;
using Owin;
[assembly: OwinStartup(typeof(SignInCheckIn.Startup))]
[assembly: log4net.Config.XmlConfigurator(ConfigFile = "log4net.config", Watch = true)]
namespace SignInCheckIn
{
public class Startup
{
public void Confi... | Clean up the signalr mapping | Clean up the signalr mapping
| C# | bsd-2-clause | crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin |
2352bd7ca33712b9f144d3f6cf83cd1d97754662 | src/Microsoft.AspNet.Http.Extensions/UseMiddlewareExtensions.cs | src/Microsoft.AspNet.Http.Extensions/UseMiddlewareExtensions.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Reflection;
using Microsoft.Framework.DependencyInjection;
namespace Microsoft.AspNet.B... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Reflection;
using Microsoft.Framework.DependencyInjection;
namespace Microsoft.AspNet.B... | Change GetService calls to GetRequiredService | Change GetService calls to GetRequiredService
GetRequiredService throws for missing services like GetService used to.
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
04f863bfb0a2d72a0eda73a8d60c5e44a7f96269 | src/AppHarbor.Tests/Commands/HelpCommandTest.cs | src/AppHarbor.Tests/Commands/HelpCommandTest.cs | using System;
using System.Collections.Generic;
using System.IO;
using AppHarbor.Commands;
using Xunit;
namespace AppHarbor.Tests.Commands
{
public class HelpCommandTest
{
private static Type FooCommandType = typeof(FooCommand);
private static Type FooBarCommandType = typeof(FooBarCommand);
private static Typ... | using System;
using System.Collections.Generic;
using System.IO;
using AppHarbor.Commands;
using Xunit;
namespace AppHarbor.Tests.Commands
{
public class HelpCommandTest
{
private static Type FooCommandType = typeof(FooCommand);
private static Type FooBarCommandType = typeof(FooBarCommand);
private static Typ... | Include common options in test | Include common options in test
| C# | mit | appharbor/appharbor-cli |
5cd16c1ce13c91b270107aeb95803e8bf6b40213 | Mindscape.Raygun4Net.Core/Parsers/RaygunRequestDataJsonParser.cs | Mindscape.Raygun4Net.Core/Parsers/RaygunRequestDataJsonParser.cs | using System;
using System.Collections;
using System.Collections.Generic;
namespace Mindscape.Raygun4Net.Parsers
{
public class RaygunRequestDataJsonParser : IRaygunRequestDataParser
{
public IDictionary ToDictionary(string data)
{
try
{
return SimpleJson.DeserializeObject<Dictionary<s... | using System;
using System.Collections;
using System.Collections.Generic;
namespace Mindscape.Raygun4Net.Parsers
{
public class RaygunRequestDataJsonParser : IRaygunRequestDataParser
{
public IDictionary ToDictionary(string data)
{
try
{
return SimpleJson.DeserializeObject<Dictionary<s... | Allow the json parser to deserialize non string values. | Allow the json parser to deserialize non string values.
| C# | mit | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net |
51226858a2c51eecf67070d2b77e2cf70bd41a9e | Src/Couchbase.Linq/QueryGeneration/N1QlHelpers.cs | Src/Couchbase.Linq/QueryGeneration/N1QlHelpers.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Couchbase.Linq.QueryGeneration
{
/// <summary>
/// Helpers for N1QL query generation
/// </summary>
public static class N1QlHelpers
{
/// <summary>
/// ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Couchbase.Linq.QueryGeneration
{
/// <summary>
/// Helpers for N1QL query generation
/// </summary>
public static class N1QlHelpers
{
/// <summary>
/// ... | Improve N1QL identifier escaping performance | Improve N1QL identifier escaping performance
Modifications
-------------
Changed N1QlHelpers.EscapeIdentifier to using string.Concat instead of a
StringBuilder to wrap identifiers in tick marks. When repeating the call
to EscapeIdentifier 10,000,000 times, it was approximately 50% slower to
use a StringBuilder for th... | C# | apache-2.0 | brantburnett/Linq2Couchbase,drGarbinsky/Linq2Couchbase,couchbaselabs/Linq2Couchbase |
0c779f2874ce4f29b4f9b93aba64cfc40b2ca40a | TwitterWebApplication/App_Start/BundleConfig.cs | TwitterWebApplication/App_Start/BundleConfig.cs | using System.Web;
using System.Web.Optimization;
namespace TwitterWebApplication
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add... | using System.Web;
using System.Web.Optimization;
namespace TwitterWebApplication
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add... | Change import of jquery files. | Change import of jquery files.
| C# | mit | dimitardanailov/TwitterBackupBackendAndAngularjs,dimitardanailov/TwitterBackupBackendAndAngularjs,dimitardanailov/TwitterBackupBackendAndAngularjs |
896677c93167c9721174679c982bd7051581cc6c | Modules.JsonNetFormatter/JsonNetFormatter.cs | Modules.JsonNetFormatter/JsonNetFormatter.cs | using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Modules.JsonNet
{
/// <summary>
/// IFormatter implementation based on Newtonsoft.Json serialization.
/// Requires the Serializable attr... | using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Modules.JsonNet
{
/// <summary>
/// IFormatter implementation based on Newtonsoft.Json serialization.
/// Requires the Serializable attr... | Allow missing members without throwing exceptions | Allow missing members without throwing exceptions
BinaryFormatter does not always throw exceptions when a class member does not exist from the serialized data, but Newtonsoft.Json does. This allows using JSON config files that are version-independent. This may be better as a configurable option somehow, rather than ... | C# | mit | DevrexLabs/Modules.JsonNetFormatter,DevrexLabs/Modules.JsonNetFormatter |
06cfb42457afe7e300edcbbae4d8d5e78fe34964 | src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/TestDnsAvailabilityTest.cs | src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/TestDnsAvailabilityTest.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | Disable test to temp pass build | Disable test to temp pass build
| C# | apache-2.0 | chef-partners/azure-powershell,PashaPash/azure-powershell,Matt-Westphal/azure-powershell,dulems/azure-powershell,jianghaolu/azure-powershell,pomortaz/azure-powershell,ClogenyTechnologies/azure-powershell,yadavbdev/azure-powershell,pankajsn/azure-powershell,SarahRogers/azure-powershell,hovsepm/azure-powershell,enavro/az... |
2a636245b4d4dcffb06800447a06333980c986aa | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using TweetDuck;
// 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: As... | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using TweetDuck;
// 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: Ass... | Remove directives to expose assembly internals to now removed test projects | Remove directives to expose assembly internals to now removed test projects
| C# | mit | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck |
0901a15b2b3c16b3e65c04f1fc806a14f96fec5e | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | Add Travis2 to contact page. | Add Travis2 to contact page.
| C# | mit | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox |
37f94151cbbd139db86f57442752e496414d0777 | source/FFImageLoading.Droid/Cache/LRUCache.cs | source/FFImageLoading.Droid/Cache/LRUCache.cs | using System;
using FFImageLoading.Drawables;
namespace FFImageLoading.Cache
{
public class LRUCache : Android.Util.LruCache
{
public LRUCache(int maxSize) : base(maxSize)
{
}
public event EventHandler<EntryRemovedEventArgs<Java.Lang.Object>> OnEntryRemoved;
protected... | using System;
using FFImageLoading.Drawables;
namespace FFImageLoading.Cache
{
public class LRUCache : Android.Util.LruCache
{
public LRUCache(int maxSize) : base(maxSize)
{
}
public event EventHandler<EntryRemovedEventArgs<Java.Lang.Object>> OnEntryRemoved;
protected... | Fix Cannot access a disposed object crash in LruCache.SizeOf method | Fix Cannot access a disposed object crash in LruCache.SizeOf method
| C# | mit | luberda-molinet/FFImageLoading,molinch/FFImageLoading |
60c785726f09be1ff90901151f72d2e8bba57485 | project/Assets/Scripts/Menus.cs | project/Assets/Scripts/Menus.cs | using UnityEngine;
using System.Collections;
public class Menus : MonoBehaviour {
public enum MenuState
{
Starting = 0,
Playing = 1,
GameOver = 2
}
public GameLoopManager gameLoopManager;
public SpriteRenderer titleSprite;
public SpriteRenderer gameOverSprite... | using UnityEngine;
using System.Collections;
public class Menus : MonoBehaviour {
public enum MenuState
{
Starting = 0,
Playing = 1,
GameOver = 2
}
public GameLoopManager gameLoopManager;
public SpriteRenderer titleSprite;
public SpriteRenderer gameOverSpr... | Change player count with both left shift or right shift + num key | Change player count with both left shift or right shift + num key
| C# | mit | sanderman01/ggj2016 |
53fb38e83cf5f79593f45cadd64be593d7f7bfae | binding/libTTTAttributedLabel.linkwith.cs | binding/libTTTAttributedLabel.linkwith.cs | using System;
using MonoTouch.ObjCRuntime;
[assembly: LinkWith ("libTTTAttributedLabel.a", LinkTarget.Simulator | LinkTarget.ArmV7, ForceLoad = true)]
| using System;
using MonoTouch.ObjCRuntime;
[assembly: LinkWith ("libTTTAttributedLabel.a", LinkTarget.Simulator | LinkTarget.ArmV7 | LinkTarget.ArmV7s, Frameworks = "CoreGraphics CoreText QuartzCore", ForceLoad = true)]
| Update with LinkTarget.ArmV7s and frameworks. | Update with LinkTarget.ArmV7s and frameworks.
| C# | mit | lipka/MonoTouch.TTTAttributedLabel |
f3c33a5306da88c4c47e2ea70b6a0a65b82e12c9 | Mahapps.Metro.Tests/TestHost.cs | Mahapps.Metro.Tests/TestHost.cs | using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Windows;
namespace Mahapps.Metro.Tests
{
/// <summary>
/// This class is the ultimate hack to work around that we can't
/// create more than one application in the same AppDomain
///
/// It is once in... | using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Windows;
namespace Mahapps.Metro.Tests
{
/// <summary>
/// This class is the ultimate hack to work around that we can't
/// create more than one application in the same AppDomain
///
/// It is initial... | Clarify that your unit test runner will never speak with you again | Clarify that your unit test runner will never speak with you again
| C# | mit | Jack109/MahApps.Metro,p76984275/MahApps.Metro,batzen/MahApps.Metro,ye4241/MahApps.Metro,xxMUROxx/MahApps.Metro,MahApps/MahApps.Metro,Danghor/MahApps.Metro,psinl/MahApps.Metro,Evangelink/MahApps.Metro,chuuddo/MahApps.Metro,pfattisc/MahApps.Metro,jumulr/MahApps.Metro |
c305e0fcfcbc63c0dfe3cc0c80b97cac75610671 | src/SFA.DAS.EmployerFinance.Web/Controllers/TransfersController.cs | src/SFA.DAS.EmployerFinance.Web/Controllers/TransfersController.cs | using System.Threading.Tasks;
using System.Web.Mvc;
using SFA.DAS.Authorization.Mvc.Attributes;
using SFA.DAS.EmployerFinance.Web.Orchestrators;
namespace SFA.DAS.EmployerFinance.Web.Controllers
{
[DasAuthorize("EmployerFeature.TransfersMatching")]
[RoutePrefix("accounts/{HashedAccountId}")]
pub... | using System.Threading.Tasks;
using System.Web.Mvc;
using SFA.DAS.Authorization.Mvc.Attributes;
using SFA.DAS.EmployerFinance.Web.Orchestrators;
namespace SFA.DAS.EmployerFinance.Web.Controllers
{
[RoutePrefix("accounts/{HashedAccountId}")]
public class TransfersController : Controller
{
... | Remove TransfersMatching flag and use the new one at action level | Remove TransfersMatching flag and use the new one at action level
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
f2fd58d8c42f5ebdc70a7714b1183fbad7ff095d | samples/SocialSample/Program.cs | samples/SocialSample/Program.cs | using System;
using System.IO;
using System.Net;
using System.Reflection;
using System.Security.Cryptography.X509Certificates;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.FileProviders;
namespace SocialSample
{
public static class Program
{
... | using System;
using System.IO;
using System.Net;
using System.Reflection;
using System.Security.Cryptography.X509Certificates;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.FileProviders;
namespace SocialSample
{
public static class Program
{
... | Fix the social sample port. | Fix the social sample port.
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
18a7616242a67e1d84d2d1fb20d489943e0ded78 | Program.cs | Program.cs | using System;
using System.IO;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
var game = new Game("HANG THE MAN");
string titleText = File.ReadAllText("title.txt");
object[] titleCell = {titleText, Cell.CentreAlign};
object[] titleRow = {titleCell}; ... | using System;
using System.IO;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
var game = new Game("HANG THE MAN");
string titleText = File.ReadAllText("title.txt");
object[] titleCell = {titleText, Cell.CentreAlign};
object[] titleRow = {titleCell}; ... | Call Draw on the output of Build | Call Draw on the output of Build
| C# | unlicense | 12joan/hangman |
4f8e1bd50122914d3b0664cc7b54063d54225838 | VigilantCupcake/Program.cs | VigilantCupcake/Program.cs | using System;
using System.Windows.Forms;
using VigilantCupcake.OperatingSystemUtilities;
namespace VigilantCupcake {
internal static class Program {
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
private static void Main() {
... | using System;
using System.Windows.Forms;
using VigilantCupcake.OperatingSystemUtilities;
namespace VigilantCupcake {
internal static class Program {
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
private static void Main() {
... | Move settings update to first line | Move settings update to first line
| C# | mit | amweiss/vigilant-cupcake |
3fd74a4dde4f4d378832c83229beebada4549b69 | Domain/RandomDice.cs | Domain/RandomDice.cs | using Albatross.Expression;
using System;
namespace RollGen.Domain
{
public class RandomDice : Dice
{
private readonly Random random;
public RandomDice(Random random)
{
this.random = random;
}
public override PartialRoll Roll(int quantity = 1)
{
... | using Albatross.Expression;
using System;
namespace RollGen.Domain
{
public class RandomDice : Dice
{
private readonly Random random;
public RandomDice(Random random)
{
this.random = random;
}
public override PartialRoll Roll(int quantity = 1)
{
... | Check regex for only 1 match | Check regex for only 1 match
| C# | mit | Lirusaito/RollGen,DnDGen/RollGen,Lirusaito/RollGen,DnDGen/RollGen |
0d1d33875179b700445594e4b69d55a6681ac8b7 | SRPCommon/Scene/MeshInstancePrimitive.cs | SRPCommon/Scene/MeshInstancePrimitive.cs | using SRPCommon.Util;
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using System.Diagnostics.CodeAnalysis;
namespace SRPCommon.Scene
{
public class MeshInstancePrimitive : Primitive
{
public override PrimitiveType Type => PrimitiveType.MeshInstance;
public SceneMesh ... | using SRPCommon.Util;
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using System.Diagnostics.CodeAnalysis;
namespace SRPCommon.Scene
{
public class MeshInstancePrimitive : Primitive
{
public override PrimitiveType Type => PrimitiveType.MeshInstance;
public SceneMesh ... | Fix exception with invalid mesh | Fix exception with invalid mesh
| C# | mit | simontaylor81/Syrup,simontaylor81/Syrup |
cf6f7aa4c0f7239d2c7176dae11b8e200c365987 | CertiPay.Common/WorkQueue/CompletedWorkItem.cs | CertiPay.Common/WorkQueue/CompletedWorkItem.cs | using System;
namespace CertiPay.Common.WorkQueue
{
public class CompletedWorkItem<T>
{
public T WorkItem { get; set; }
public String Server { get; set; }
public DateTime CompletedAt { get; set; }
// TODO Version?
public CompletedWorkItem()
{
thi... | using System;
namespace CertiPay.Common.WorkQueue
{
public class CompletedWorkItem<T>
{
public T WorkItem { get; set; }
public String Server { get; set; }
public DateTime CompletedAt { get; set; }
public String Version { get; set; }
public EnvUtil.Environment Enviro... | Add version and environment to completed/failed work item | Add version and environment to completed/failed work item
| C# | mit | mattgwagner/CertiPay.Common |
ef3396984c31d1c25228ac7b660b51de600ed536 | CkanDotNet.Web/Views/Theme/Denver/_Head.cshtml | CkanDotNet.Web/Views/Theme/Denver/_Head.cshtml | @using CkanDotNet.Web.Models.Helpers
@using System.Configuration
<!--v Denvergov:1of3(head) v-->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="Stylesheet" type="text/css" href="http://dgqa.denvergov.org/dgskin1/Scripts/Denvergov.style.skin.css... | @using CkanDotNet.Web.Models.Helpers
@using System.Configuration
<!--v Denvergov:1of3(head) v-->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="Stylesheet" type="text/css" href="@Url.Content(ConfigurationManager.AppSettings["Catalog.SkinLocatio... | Fix Denver theme to point CSS to configured skin location | Fix Denver theme to point CSS to configured skin location
| C# | apache-2.0 | DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API |
9ef04e9be8faff651ca4e860ce7a1412e1f755c2 | samples/UsageSampleMvc.AspNetCore/Controllers/HomeController.cs | samples/UsageSampleMvc.AspNetCore/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using UsageSampleMvc.AspNetCore.Models;
namespace UsageSampleMvc.AspNetCore.Controllers
{
public class HomeController : Controller
{
public IAction... | using System.Diagnostics;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using UsageSampleMvc.AspNetCore.Models;
namespace UsageSampleMvc.AspNetCore.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
... | Add Authorize attributes to verify sample | Add Authorize attributes to verify sample
| C# | mit | ritterim/stuntman |
4b015ed521900351f3aee8924173ec48086e24e5 | src/SFA.DAS.Commitments.Api/App_Start/CustomExceptionHandler.cs | src/SFA.DAS.Commitments.Api/App_Start/CustomExceptionHandler.cs | using System.Net;
using System.Net.Http;
using System.Web.Http.ExceptionHandling;
using FluentValidation;
using NLog;
using SFA.DAS.Commitments.Application.Exceptions;
namespace SFA.DAS.Commitments.Api
{
public class CustomExceptionHandler : ExceptionHandler
{
private static readonly ILogger Logger = ... | using System.Net;
using System.Net.Http;
using System.Web.Http.ExceptionHandling;
using FluentValidation;
using NLog;
using SFA.DAS.Commitments.Application.Exceptions;
namespace SFA.DAS.Commitments.Api
{
public class CustomExceptionHandler : ExceptionHandler
{
private static readonly ILogger _logger =... | Put unhandled exception logging in to custom handler class. | Put unhandled exception logging in to custom handler class.
| C# | mit | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments |
6684aa2e931a37175f31ea2ac8fa12a3eb07ccee | Vaskelista/Views/Household/Create.cshtml | Vaskelista/Views/Household/Create.cshtml | @model Vaskelista.Models.Household
@{
ViewBag.Title = "Create";
}
<h2>Velkommen til vaskelista</h2>
<p>Her kan du velge hva vaskelisten din skal hete:</p>
<div class="form-horizontal">
<div class="form-group">
<div class="col-md-2"><label>@Request.Url.ToString()</label></div>
... | @model Vaskelista.Models.Household
@{
ViewBag.Title = "Create";
}
<h2>Velkommen til vaskelista</h2>
<p>Her kan du velge hva vaskelisten din skal hete:</p>
<div class="form-horizontal">
<div class="form-group">
<div class="col-md-4"><label>@Request.Url.ToString()</label></div>
... | Adjust column width on url part on the create household page | Adjust column width on url part on the create household page
| C# | mit | johanhelsing/vaskelista,johanhelsing/vaskelista |
5f3df822632eab908522897be92d08f48d004792 | src/NRules/NRules.Fluent/Dsl/IQuery.cs | src/NRules/NRules.Fluent/Dsl/IQuery.cs | namespace NRules.Fluent.Dsl
{
/// <summary>
/// Root of the query method chain.
/// </summary>
public interface IQuery
{
/// <summary>
/// Internal query builder.
/// This method is intended for framework use only.
/// </summary>
IQueryBuilder Builder { get; ... | using System.ComponentModel;
namespace NRules.Fluent.Dsl
{
/// <summary>
/// Root of the query method chain.
/// </summary>
public interface IQuery
{
/// <summary>
/// Internal query builder.
/// This method is intended for framework use only.
/// </summary>
... | Mark internal query builder non-browsable | Mark internal query builder non-browsable
| C# | mit | NRules/NRules,prashanthr/NRules |
13e0dd5458f9896c86d42655aa790b9592431c7c | src/Editor/Editor.Client/GUI/GuiWindow.cs | src/Editor/Editor.Client/GUI/GuiWindow.cs | using System;
using Flood.GUI.Controls;
using Flood.GUI.Renderers;
using Flood.GUI.Skins;
namespace Flood.Editor.Client.Gui
{
public abstract class GuiWindow : IDisposable
{
/// <summary>
/// Native GUI window.
/// </summary>
public Window NativeWindow { get; set; }
/... | using System;
using Flood.GUI.Controls;
using Flood.GUI.Renderers;
using Flood.GUI.Skins;
namespace Flood.Editor.Client.Gui
{
public abstract class GuiWindow : IDisposable
{
/// <summary>
/// Native GUI window.
/// </summary>
public Window NativeWindow { get; set; }
/... | Check for a valid image handle when loading resources in the editor. | Check for a valid image handle when loading resources in the editor.
| C# | bsd-2-clause | FloodProject/flood,FloodProject/flood,FloodProject/flood |
4f7c984521f0a396244a8bba85f9092acf76deea | FlatBuffers-net/FieldTypeMetadata.cs | FlatBuffers-net/FieldTypeMetadata.cs | namespace FlatBuffers
{
public static class FieldTypeMetaData
{
public const string Index = "id";
public const string Required = "required";
}
} | namespace FlatBuffers
{
public static class FieldTypeMetaData
{
public const string Index = "id";
public const string Required = "required";
}
} | Build fix? (not sure why travis doesn't see this file) | Build fix? (not sure why travis doesn't see this file)
| C# | apache-2.0 | evolutional/flatbuffers-net |
146386efbd822ca382e3f3f3be6acec422c4106c | DesktopWidgets/Actions/ActionBase.cs | DesktopWidgets/Actions/ActionBase.cs | using System;
using System.ComponentModel;
using System.Windows;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Actions
{
public abstract class ActionBase
{
[DisplayName("Delay")]
public TimeSpan Delay { get; set; } = TimeSpan.FromSeconds(0);
[DisplayName("Show Errors")]
... | using System;
using System.ComponentModel;
using System.Windows;
using DesktopWidgets.Classes;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace DesktopWidgets.Actions
{
public abstract class ActionBase
{
[PropertyOrder(0)]
[DisplayName("Delay")]
public TimeSpan Delay { get; s... | Add base action property ordering | Add base action property ordering
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
c578030a55792ee902735afe73b76331064b8a7a | Source/SharpDX.Direct2D1/SvgDocument.cs | Source/SharpDX.Direct2D1/SvgDocument.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SharpDX.Direct2D1
{
public partial class SvgDocument
{
/// <summary>
/// Finds an svg element by id
/// </summary>
/// <param name="id">Id to lookup for</param>
/// <returns>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SharpDX.Direct2D1
{
public partial class SvgDocument
{
/// <summary>
/// Finds an svg element by id
/// </summary>
/// <param name="id">Id to lookup for</param>
/// <returns>... | Remove some methods to try get element, as if an element is not found, Direct2D only returns a zero pointer with a S_Ok hresult | Remove some methods to try get element, as if an element is not found, Direct2D only returns a zero pointer with a S_Ok hresult
| C# | mit | sharpdx/SharpDX,sharpdx/SharpDX,sharpdx/SharpDX |
ea31af7a56045c81f01207f2e9bc493a17d25aa4 | ChessDotNet/ChessPiece.cs | ChessDotNet/ChessPiece.cs | namespace ChessDotNet
{
public abstract class ChessPiece
{
public abstract Player Owner
{
get;
set;
}
public override bool Equals(object obj)
{
if (ReferenceEquals(this, obj))
return true;
if (obj == null |... | namespace ChessDotNet
{
public abstract class ChessPiece
{
public abstract Player Owner
{
get;
set;
}
public override bool Equals(object obj)
{
if (ReferenceEquals(this, obj))
return true;
if (obj == null |... | Add ChessGame parameter to IsValidDestination | Add ChessGame parameter to IsValidDestination
| C# | mit | ProgramFOX/Chess.NET |
11f63603850c911d37f8ad200cd9cae4325a59cf | Source/Options/RemoveHeaderOption.cs | Source/Options/RemoveHeaderOption.cs | using System;
using System.IO;
using System.Linq;
namespace AutoHeader.Options
{
public class RemoveHeaderOption : Option
{
public override void Execute()
{
Console.WriteLine("Execute \'RemoveHeaderOption\': {0}", Arg);
if (!Directory.Exists(Arg))
{
... | using System;
using System.IO;
using System.Linq;
namespace AutoHeader.Options
{
public class RemoveHeaderOption : Option
{
public override void Execute()
{
Console.WriteLine("Execute \'RemoveHeaderOption\': {0}", Arg);
if (!Directory.Exists(Arg))
{
... | Check for header before removing it | Check for header before removing it
| C# | mit | RonaldValkenburg/AutoHeader |
0e97c8fc27ec69d4d9ddd46ceff29ca21540bfa7 | MonoHaven.Client/UI/Widgets/Progress.cs | MonoHaven.Client/UI/Widgets/Progress.cs | using System.Drawing;
using MonoHaven.Graphics;
using MonoHaven.Graphics.Text;
namespace MonoHaven.UI.Widgets
{
public class Progress : Widget
{
private readonly TextLine textLine;
private int value;
public Progress(Widget parent) : base(parent)
{
textLine = new TextLine(Fonts.LabelText);
textLine.Te... | using System.Drawing;
using MonoHaven.Graphics;
using MonoHaven.Graphics.Text;
namespace MonoHaven.UI.Widgets
{
public class Progress : Widget
{
private readonly TextLine textLine;
private int value;
public Progress(Widget parent) : base(parent)
{
textLine = new TextLine(Fonts.LabelText);
textLine.Te... | Change color to be more visible | Change color to be more visible
| C# | mit | k-t/SharpHaven |
cd297a4e52b76418819808aab6691d1e34c44365 | SimpleCache.Core/CacheElement.cs | SimpleCache.Core/CacheElement.cs | using System;
using SQLite;
namespace Amica.vNext.SimpleCache
{
class CacheElement
{
[PrimaryKey]
public string Key { get; set; }
[Indexed]
public string TypeName { get; set; }
public byte[] Value { get; set; }
public DateTime? Expiration { get; set; }
public DateTimeOffset CreatedAt { get; set;... | using System;
using SQLite;
namespace Amica.vNext.SimpleCache
{
class CacheElement
{
[PrimaryKey]
public string Key { get; set; }
[Indexed]
public string TypeName { get; set; }
public byte[] Value { get; set; }
[Indexed]
public DateTime? Expiration { get; set; }
public DateTimeOffset CreatedAt ... | Make sure Expiration field is also indexed in the db | Make sure Expiration field is also indexed in the db
| C# | bsd-3-clause | CIR2000/Amica.vNext.SimpleCache |
85e66bb65bf257045a135157e7b57f5bd1d5c1ea | test/Sitecore.FakeDb.Tests/Data/FakeStandardValuesProviderTest.cs | test/Sitecore.FakeDb.Tests/Data/FakeStandardValuesProviderTest.cs | namespace Sitecore.FakeDb.Tests.Data
{
using System;
using FluentAssertions;
using NSubstitute;
using global::AutoFixture.Xunit2;
using Sitecore.Data;
using Sitecore.Data.Fields;
using Sitecore.FakeDb.Data;
using Sitecore.FakeDb.Data.Engines;
using Sitecore.FakeDb.Data.Items;
us... | namespace Sitecore.FakeDb.Tests.Data
{
using System;
using FluentAssertions;
using NSubstitute;
using global::AutoFixture.Xunit2;
using Sitecore.Abstractions;
using Sitecore.Data;
using Sitecore.Data.Fields;
using Sitecore.FakeDb.Data;
using Sitecore.FakeDb.Data.Engines;
using Si... | Fix FakeStandardValuesProvider instatiation in tests | Fix FakeStandardValuesProvider instatiation in tests
| C# | mit | sergeyshushlyapin/Sitecore.FakeDb |
1d4fc441b908e428378d35d70932c3a9646afbc6 | src/Hangfire.Mongo/MongoUtils/MongoExtensions.cs | src/Hangfire.Mongo/MongoUtils/MongoExtensions.cs | using Hangfire.Mongo.Database;
using MongoDB.Driver;
using System;
using Hangfire.Mongo.Helpers;
using MongoDB.Bson;
namespace Hangfire.Mongo.MongoUtils
{
/// <summary>
/// Helper utilities to work with Mongo database
/// </summary>
public static class MongoExtensions
{
/// <s... | using Hangfire.Mongo.Database;
using MongoDB.Driver;
using System;
using Hangfire.Mongo.Helpers;
using MongoDB.Bson;
namespace Hangfire.Mongo.MongoUtils
{
/// <summary>
/// Helper utilities to work with Mongo database
/// </summary>
public static class MongoExtensions
{
/// <s... | Revert "Ignore FormatException, that can be caused by an error in the MongoDb.Driver" | Revert "Ignore FormatException, that can be caused by an error in the MongoDb.Driver"
This reverts commit 7667a1ee529db168fd58590e94e3992cdc389dc8.
| C# | mit | sergeyzwezdin/Hangfire.Mongo,persi12/Hangfire.Mongo,sergun/Hangfire.Mongo,sergun/Hangfire.Mongo,sergeyzwezdin/Hangfire.Mongo,sergeyzwezdin/Hangfire.Mongo,persi12/Hangfire.Mongo |
ba4912861f822db8d08ae531f4a5ab88b11de458 | Xtc101.UITest/AppInitializer.cs | Xtc101.UITest/AppInitializer.cs | using Xamarin.UITest;
namespace Xtc101.UITest
{
public class AppInitializer
{
public static IApp StartApp(Platform platform)
{
if (platform == Platform.Android)
{
return ConfigureApp
.Android
.PreferIdeSettings()
... | using Xamarin.UITest;
namespace Xtc101.UITest
{
public class AppInitializer
{
public static IApp StartApp(Platform platform)
{
if (platform == Platform.Android)
{
return ConfigureApp
.Android
// Run Release Android... | Add App Package location sample code | Add App Package location sample code
| C# | mit | mallibone/Xtc101 |
a4d1d1bcfa4fffcc07ea7d7c2c8fbd14abe48710 | Source/MundlTransit.WP8/StorageHandlers/LineInfoPageViewModelStorage.cs | Source/MundlTransit.WP8/StorageHandlers/LineInfoPageViewModelStorage.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;
using MundlTransit.WP8.ViewModels.LineInfo;
namespace MundlTransit.WP8.StorageHandlers
{
public class LineInfoPageViewModelStorage : StorageHandler<LineInfoPageViewModel>
{... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;
using MundlTransit.WP8.ViewModels.LineInfo;
namespace MundlTransit.WP8.StorageHandlers
{
public class LineInfoPageViewModelStorage : StorageHandler<LineInfoPageViewModel>
{... | Fix storage handler for Richtung property and remove unnecessary navigation properties | Fix storage handler for Richtung property and remove unnecessary navigation properties
| C# | mit | christophwille/viennarealtime,christophwille/viennarealtime |
722acd98f7a5b70c27304f10171921f36ae88399 | LtiLibrary.AspNet/Outcomes/v2/PutResultContext.cs | LtiLibrary.AspNet/Outcomes/v2/PutResultContext.cs | using System.Net;
using LtiLibrary.Core.Outcomes.v2;
namespace LtiLibrary.AspNet.Outcomes.v2
{
public class PutResultContext
{
public PutResultContext(LisResult result)
{
Result = result;
StatusCode = HttpStatusCode.OK;
}
public LisResult Result { get; ... | using System.Net;
using LtiLibrary.Core.Outcomes.v2;
namespace LtiLibrary.AspNet.Outcomes.v2
{
public class PutResultContext
{
public PutResultContext(string contextId, string lineItemId, string id, LisResult result)
{
ContextId = contextId;
LineItemId = lineItemId;
... | Add ids from service endpoint | Add ids from service endpoint
| C# | apache-2.0 | andyfmiller/LtiLibrary |
34568d2fc94aa2d02f58e3b61d4a263ff9ddcce0 | src/SevenDigital.Api.Wrapper/Utility/Serialization/ApiXmlDeSerializer.cs | src/SevenDigital.Api.Wrapper/Utility/Serialization/ApiXmlDeSerializer.cs | using System;
using SevenDigital.Api.Wrapper.Exceptions;
namespace SevenDigital.Api.Wrapper.Utility.Serialization
{
public class ApiXmlDeSerializer<T> : IDeSerializer<T> where T : class
{
private readonly IDeSerializer<T> _deSerializer;
private readonly IXmlErrorHandler _xmlErrorHandler;
public Api... | namespace SevenDigital.Api.Wrapper.Utility.Serialization
{
public class ApiXmlDeSerializer<T> : IDeSerializer<T> where T : class
{
private readonly IDeSerializer<T> _deSerializer;
private readonly IXmlErrorHandler _xmlErrorHandler;
public ApiXmlDeSerializer(IDeSerializer<T> deSerializer, IXmlErrorHandl... | Stop wrapping exceptions we don't know about and let them throw at the point of error. | Stop wrapping exceptions we don't know about and let them throw at the point of error.
| C# | mit | danhaller/SevenDigital.Api.Wrapper,knocte/SevenDigital.Api.Wrapper,raoulmillais/SevenDigital.Api.Wrapper,AnthonySteele/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper,bettiolo/SevenDigital.Api.Wrapper,mattgray/SevenDigital.Api.Wrapper,gregsochanik/SevenDigital.Api.Wrapper,actionshrimp/SevenDigital.Api.Wrap... |
23a729c83a6f9afbf76a2cc6af5b314bae477ea8 | osu.Game/Users/UpdateableAvatar.cs | osu.Game/Users/UpdateableAvatar.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Users
{
/// <summary>
/// An avatar which can update to a ne... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Users
{
/// <summary>
/// An avatar which can update to a ne... | Make avatars use a delayed load wrapper | Make avatars use a delayed load wrapper
| C# | mit | smoogipoo/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,peppy/osu,ZLima12/osu,ZLima12/osu,UselessToucan/osu,EVAST9919/osu,2yangk23/osu,DrabWeb/osu,2yangk23/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,johnneijzen/osu,Frontear/osuKyzer,Drezi126/osu,Nabile-Rahmani/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,D... |
23ce4135a4c0e8657e1d788bdd3c83802d77b53b | Assets/EasyButtons/Editor/ButtonEditor.cs | Assets/EasyButtons/Editor/ButtonEditor.cs | using System.Linq;
using UnityEngine;
using UnityEditor;
namespace EasyButtons
{
/// <summary>
/// Custom inspector for Object including derived classes.
/// </summary>
[CanEditMultipleObjects]
[CustomEditor(typeof(Object), true)]
public class ObjectEditor : Editor
{
public overrid... | using System.Linq;
using UnityEngine;
using UnityEditor;
namespace EasyButtons
{
/// <summary>
/// Custom inspector for Object including derived classes.
/// </summary>
[CanEditMultipleObjects]
[CustomEditor(typeof(Object), true)]
public class ObjectEditor : Editor
{
public overri... | Make attribute search more to the point | Make attribute search more to the point
| C# | mit | madsbangh/EasyButtons |
3b10b149976288314bddfdf8ae788e22a2c98f31 | src/Startup.cs | src/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Shariff.Backend
{
public class Startup
{
public Startup(IHostingEnvironment env)
{
... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Shariff.Backend
{
public class Startup
{
public Startup(
IHostingEnvironment env)
... | Use DeveloperExceptionPage only in DEV Enviroment | Use DeveloperExceptionPage only in DEV Enviroment
| C# | mit | dotnetgeek/shariff-backend-dotnet,dotnetgeek/shariff-backend-dotnet |
ecb958820060c409bba5f7fd625aacb817591b75 | src/VisualStudio/Glimpse.Knockout/ClientScript.cs | src/VisualStudio/Glimpse.Knockout/ClientScript.cs | using Glimpse.Core.Extensibility;
namespace Glimpse.Knockout
{
public sealed class ClientScript : IStaticClientScript
{
public ScriptOrder Order { get { return ScriptOrder.IncludeAfterClientInterfaceScript; } }
public string GetUri(string version)
{
return "/Script... | using Glimpse.Core.Extensibility;
namespace Glimpse.Knockout
{
public sealed class ClientScript : IStaticClientScript
{
public ScriptOrder Order { get { return ScriptOrder.IncludeAfterClientInterfaceScript; } }
public string GetUri(string version)
{
return System.W... | Fix to support virtual directories/folders in IIS. | Fix to support virtual directories/folders in IIS. | C# | mit | aaronpowell/glimpse-knockout,modulexcite/glimpse-knockout,modulexcite/glimpse-knockout,modulexcite/glimpse-knockout,aaronpowell/glimpse-knockout |
278083ae8e8a13ec105c3a5b971271564fec0f61 | src/Web/WebMVC/Controllers/CampaignsController.cs | src/Web/WebMVC/Controllers/CampaignsController.cs | namespace Microsoft.eShopOnContainers.WebMVC.Controllers
{
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.eShopOnContainers.WebMVC.Services;
using Microsoft.eShopOnContainers.WebMVC.ViewModels;
using System;
using System.Collections.Generic;
using S... | namespace Microsoft.eShopOnContainers.WebMVC.Controllers
{
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.eShopOnContainers.WebMVC.Models;
using Microsoft.eShopOnContainers.WebMVC.Services;
using Microsoft.eShopOnContainers.WebMVC.ViewModels;
using Syst... | Check when list is null and campaign details doesn't exist | Check when list is null and campaign details doesn't exist
| C# | mit | productinfo/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,skynode/eShopOnContainers,andrelmp/eShopOnContainers,productinfo/eShopOnContainers,albertodall/eShopOnContainers,productinfo/eShopOnContainers,andrelmp/eShopOnContainers,andrelmp/eShopOnContainers,albertodall/eShopOnContai... |
0b0f7b120a6bff5708ed62ca2deb88d9852dfcba | Mycroft/Cmd/App/AppCommand.cs | Mycroft/Cmd/App/AppCommand.cs | using Mycroft.App;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mycroft.Cmd.App
{
class AppCommand : Command
{
/// <summary>
/// Parses JSON into App command objects
/// </summary>
/// <param name=... | using Mycroft.App;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mycroft.Cmd.App
{
class AppCommand : Command
{
/// <summary>
/// Parses JSON into App command objects
/// </summary>
/// <param name=... | Add support for APP_IN_USE dependency change | Add support for APP_IN_USE dependency change
| C# | bsd-3-clause | rit-sse-mycroft/core |
6a15132c761cf95d88455d663f4fe9f9ef5360f0 | src/Coordinates/SimplePlane.cs | src/Coordinates/SimplePlane.cs | using UnityEngine;
using System;
namespace Starstrider42.CustomAsteroids {
/// <summary>Standard implementation of <see cref="ReferencePlane"/>.</summary>
internal class SimplePlane : ReferencePlane {
public string name { get; private set; }
/// <summary>Rotation used to implement toDefaultFrame.</summary>
pr... | using UnityEngine;
namespace Starstrider42.CustomAsteroids {
/// <summary>Standard implementation of <see cref="ReferencePlane"/>.</summary>
internal class SimplePlane : ReferencePlane {
public string name { get; private set; }
/// <summary>Rotation used to implement toDefaultFrame.</summary>
private readonly... | Fix reference plane rotation bug. | Fix reference plane rotation bug.
Fixes a regression of #26 caused by the API changes in KSP 1.2.
| C# | mit | Starstrider42/Custom-Asteroids |
ae33680a9dda174087dede6fdebff83596333bcf | MonoDroid.Dialog/HtmlElement.cs | MonoDroid.Dialog/HtmlElement.cs | using Android.App;
using Android.Content;
using Android.OS;
using Android.Views;
using Android.Webkit;
using Uri = Android.Net.Uri;
namespace MonoDroid.Dialog
{
public class HtmlElement : StringElement
{
// public string Value;
public HtmlElement(string caption, string url)
: ba... | using Android.App;
using Android.Content;
using Android.OS;
using Android.Views;
using Android.Webkit;
using Uri = Android.Net.Uri;
namespace MonoDroid.Dialog
{
public class HtmlElement : StringElement
{
// public string Value;
public HtmlElement(string caption, string url)
: ba... | Fix to ensure HTMLElement uses the Caption when loading up the actual HTML page. | Fix to ensure HTMLElement uses the Caption when loading up the actual HTML page.
| C# | mit | MonoCross/MonoCross,MonoCross/MonoCross,sam-lippert/DialogSampleApp,MonoCross/MonoCross,TimeIncOSS/MonoDroid.Dialog,Clancey/MonoDroid.Dialog |
e9638a221312c8c99f4a7011f2c645fde57d12c9 | PiDashcam/PiDashcam/StillCam.cs | PiDashcam/PiDashcam/StillCam.cs | using System;
using System.IO;
using System.Timers;
using Shell.Execute;
namespace PiDashcam
{
public class StillCam
{
Timer timer;
int imgcounter;
string folder;
public StillCam(string imageFolder)
{
folder = imageFolder;
if (!Directory.Exists(folder))
{
Directory.CreateDirectory(folder);
... | using System;
using System.IO;
using System.Timers;
using Shell.Execute;
namespace PiDashcam
{
public class StillCam
{
Timer timer;
int imgcounter;
string folder;
public StillCam(string imageFolder)
{
imgcounter = 1;
folder = imageFolder;
if (!Directory.Exists(folder))
{
Directory.CreateD... | Fix a image naming bug. | Fix a image naming bug.
| C# | mit | zhen08/PiDashcam,zhen08/PiDashcam |
9b19884ff44d731a9c18db49a6ed246b3d12964c | Scripts/LiteNetLibMessageBase.cs | Scripts/LiteNetLibMessageBase.cs | using LiteNetLib.Utils;
namespace LiteNetLibHighLevel
{
public abstract class LiteNetLibMessageBase
{
public virtual void Deserialize(NetDataReader reader) { }
public virtual void Serialize(NetDataWriter writer) { }
}
}
| using LiteNetLib.Utils;
namespace LiteNetLibHighLevel
{
public abstract class LiteNetLibMessageBase
{
public abstract void Deserialize(NetDataReader reader);
public abstract void Serialize(NetDataWriter writer);
}
}
| Change serialize/deserialize functions to abstract | Change serialize/deserialize functions to abstract
| C# | mit | insthync/LiteNetLibManager,insthync/LiteNetLibManager |
5cae927cf03737bdfd013d84654cb076266095bf | AssemblyInfo.cs | AssemblyInfo.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System.Reflection;
using System.Runtime.CompilerServices;
//[assembly: AssemblyVersion("0.0.0.*")]
[assembly: AssemblyTitle ("NDesk.DBus")]
[assembly: AssemblyDescription ("D-Bus IPC ... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System.Reflection;
using System.Runtime.CompilerServices;
//[assembly: AssemblyVersion("0.0.0.*")]
[assembly: AssemblyTitle ("NDesk.DBus")]
[assembly: AssemblyDescription ("D-Bus IPC ... | Add dbus-sharp-glib to friend assemblies | Add dbus-sharp-glib to friend assemblies
| C# | mit | tmds/Tmds.DBus |
2df89d46b243ea121369fe8c4ce46d634e40bad4 | PushbulletSharp/Models/Requests/PushRequestBase.cs | PushbulletSharp/Models/Requests/PushRequestBase.cs | using System.Runtime.Serialization;
namespace PushbulletSharp.Models.Requests
{
[DataContract]
public abstract class PushRequestBase
{
/// <summary>
/// Gets or sets the device iden.
/// </summary>
/// <value>
/// The device iden.
/// </value>
[DataM... | using System.Runtime.Serialization;
namespace PushbulletSharp.Models.Requests
{
[DataContract]
public abstract class PushRequestBase
{
/// <summary>
/// Gets or sets the device iden.
/// </summary>
/// <value>
/// The device iden.
/// </value>
[DataM... | Add client_iden field to push requests | Add client_iden field to push requests
| C# | mit | adamyeager/PushbulletSharp,DriesPeeters/PushbulletSharp |
093b76e0ff59662353cd04ee865ccd54f5ba755d | osu.Game.Rulesets.Mania.Tests/Skinning/TestSceneDrawableJudgement.cs | osu.Game.Rulesets.Mania.Tests/Skinning/TestSceneDrawableJudgement.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.Linq;
using osu.Framework.Extensions;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Mania.Scoring;
... | // 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.Linq;
using osu.Framework.Extensions;
using osu.Framework.Graphics;
using osu.Framework.Testing;
using osu.Game.Rulesets.Judgements;
using osu.... | Fix drawable mania judgement scene looking broken | Fix drawable mania judgement scene looking broken
| C# | mit | ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu |
f79728b63a0fffe12f18b84c381d8d88f61d14ef | src/Snowflake.Framework/Scraping/GameScrapeContextAsyncEnumerator.cs | src/Snowflake.Framework/Scraping/GameScrapeContextAsyncEnumerator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Snowflake.Scraping
{
internal class GameScrapeContextAsyncEnumerator : IAsyncEnumerator<IEnumerable<ISeed>>
{
public GameScrapeContextAsyncEnumerator(Ga... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Snowflake.Scraping
{
internal class GameScrapeContextAsyncEnumerator : IAsyncEnumerator<IEnumerable<ISeed>>
{
public GameScrapeContextAsyncEnumerator(Ga... | Add cull as final step | GameScrapeContext: Add cull as final step
| C# | mpl-2.0 | RonnChyran/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake |
d08aad712447d5a78992464df9523d36fe7754a0 | SolutionInfo.cs | SolutionInfo.cs | using System;
using System.Reflection;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Data.HashFunction Developers")]
[assembly: AssemblyCopyright("Copyright 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: CLSCompliant(false)]
[assembly: AssemblyVersion("1.1.1... | using System;
using System.Reflection;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Data.HashFunction Developers")]
[assembly: AssemblyCopyright("Copyright 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: CLSCompliant(false)]
[assembly: AssemblyVersion("1.2.1... | Bump version to v1.2.1, breaking change for Data.HashFunction.CRC only. | Bump version to v1.2.1, breaking change for Data.HashFunction.CRC only.
| C# | mit | brandondahler/Data.HashFunction,dbckr/Data.HashFunction |
70758b2850faeb9710a201216d881d78d680ac82 | src/Descriptor/HttpDescriptor.cs | src/Descriptor/HttpDescriptor.cs | using System;
using System.Linq.Expressions;
using RimDev.Descriptor.Generic;
namespace RimDev.Descriptor
{
public class HttpDescriptor<TClass> : Descriptor<TClass>
where TClass : class, new()
{
public HttpDescriptor<TClass> Action<TModel>(
Expression<Func<TClass, Func<TModel, obje... | using System;
using System.Linq.Expressions;
using RimDev.Descriptor.Generic;
namespace RimDev.Descriptor
{
public class HttpDescriptor<TClass> : Descriptor<TClass>
where TClass : class, new()
{
public HttpDescriptor(
string name = null,
string description = null,
... | Add helper methods to http descriptor. This provides a more fluent interface between setting name and description with actions. | Add helper methods to http descriptor.
This provides a more fluent interface between setting name and description with actions.
| C# | mit | khalidabuhakmeh/descriptor,kendaleiv/descriptor,ritterim/descriptor,kendaleiv/descriptor |
d1eede448bcfda3335c18fbaf2a1ae3ad5a3bb22 | DesktopWidgets/Actions/PopupAction.cs | DesktopWidgets/Actions/PopupAction.cs | using System.ComponentModel;
using System.Windows;
namespace DesktopWidgets.Actions
{
internal class PopupAction : ActionBase
{
[DisplayName("Text")]
public string Text { get; set; }
[DisplayName("Title")]
public string Title { get; set; }
[DisplayName("Image")]
... | using System.ComponentModel;
using System.Windows;
namespace DesktopWidgets.Actions
{
internal class PopupAction : ActionBase
{
[DisplayName("Text")]
public string Text { get; set; } = "";
[DisplayName("Title")]
public string Title { get; set; } = "";
[DisplayName("Im... | Fix "Popup" action "Text", "Title" default values | Fix "Popup" action "Text", "Title" default values
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
a3d4398c0a7a5f54a6ce2117eef6ad3dc8950d74 | GistClient/Client/GistClient.cs | GistClient/Client/GistClient.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Security.Cryptography;
using GistClient.FileSystem;
using RestSharp;
using RestSharp.Deserializers;
namespace GistClient.Client
{
public static class GistClient
{
private static rea... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Security.Cryptography;
using GistClient.FileSystem;
using RestSharp;
using RestSharp.Deserializers;
namespace GistClient.Client
{
public static class GistClient
{
private static rea... | Improve error if github can't be reached. | Improve error if github can't be reached.
| C# | mit | hschroedl/win-gists |
6675f5ee2be0ab94d9c1cd77c02ef5563e242bd1 | KeyFingerprintLooker/Program.cs | KeyFingerprintLooker/Program.cs | /*
* 由SharpDevelop创建。
* 用户: imknown
* 日期: 2015/12/3 周四
* 时间: 上午 11:22
*
* 要改变这种模板请点击 工具|选项|代码编写|编辑标准头文件
*/
using System;
using System.Windows.Forms;
namespace KeyFingerprintLooker
{
/// <summary>
/// Class with program entry point.
/// </summary>
internal sealed class Program
{
/// <summary>
/// Prog... | /*
* 由SharpDevelop创建。
* 用户: imknown
* 日期: 2015/12/3 周四
* 时间: 上午 11:22
*
* 要改变这种模板请点击 工具|选项|代码编写|编辑标准头文件
*/
using System;
using System.Windows.Forms;
namespace KeyFingerprintLooker
{
/// <summary>
/// Class with program entry point.
/// </summary>
internal sealed class Program
{
/// <summary>
/// Prog... | Support high DPI (96DPI, 120DPI tested) | Support high DPI (96DPI, 120DPI tested)
| C# | apache-2.0 | imknown/KeyFingerprintLooker |
a9b7b7eb693ff3c8f8a6ff0b29d01dcfd304c7e3 | AgileMapper.UnitTests/Configuration/WhenConfiguringStringFormatting.cs | AgileMapper.UnitTests/Configuration/WhenConfiguringStringFormatting.cs | namespace AgileObjects.AgileMapper.UnitTests.Configuration
{
using System;
using TestClasses;
using Xunit;
public class WhenConfiguringStringFormatting
{
// See https://github.com/agileobjects/AgileMapper/issues/23
[Fact]
public void ShouldFormatDateTimesGlobally()
... | namespace AgileObjects.AgileMapper.UnitTests.Configuration
{
using System;
using TestClasses;
using Xunit;
public class WhenConfiguringStringFormatting
{
// See https://github.com/agileobjects/AgileMapper/issues/23
[Fact]
public void ShouldFormatDateTimesMapperWide()
... | Test coverage for configured, mapper-wide decimal and double ToString formatting | Test coverage for configured, mapper-wide decimal and double ToString formatting
| C# | mit | agileobjects/AgileMapper |
d227e91c02038899cf54526d6b69667ac689be7f | src/CodeGeneration.Debugging/Program.cs | src/CodeGeneration.Debugging/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeGeneration.Debugging
{
class Program
{
static void Main(string[] args)
{
// This app is a dummy. But when it is debugged within VS, it builds the Tests
... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace CodeGeneration.Debugging
{
using System;
using System.Collections.Generic;
... | Fix stylecop issues in debugging project | Fix stylecop issues in debugging project
| C# | mit | AArnott/pinvoke,vbfox/pinvoke |
1decc312a30a80fb934f675a85be1f041e670346 | BoxBuilder/BoxBuilderFactory.cs | BoxBuilder/BoxBuilderFactory.cs | using ColorProvider;
using Common;
namespace BoxBuilder
{
public sealed class BoxBuilderFactory
{
internal static IBoxPointGenerator GetBoxPointGenerator(ILogger Logger)
{
IPiecePointGenerator piecePointGen = new PiecePointGenerator();
IBoxPointGenerator pointGen = new ... | using ColorProvider;
using Common;
namespace BoxBuilder
{
public sealed class BoxBuilderFactory
{
internal static IBoxPointGenerator GetBoxPointGenerator(ILogger Logger)
{
IPiecePointGenerator piecePointGen = new PiecePointGenerator();
IBoxPointGenerator pointGen = new ... | Test even and odd tab settings. | Test even and odd tab settings.
| C# | mit | MrSim17/LaserCutterTools |
791abc52094589059b535cb4184487133f89cace | TElkins.Web/Views/Home/Index.cshtml | TElkins.Web/Views/Home/Index.cshtml |
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Index</title>
</head>
<body>
<div>
Hello people!
</div>
</body>
</html>
|
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Index</title>
</head>
<body>
<div>
Hello people!<br />
Now I'm in the CLOUDDDD
</div>
</body>
</html>
| Add "now im in the cloud" | Add "now im in the cloud"
| C# | mit | travistme/PersonalSite |
0a0b5d2177f37e12efecd6d27bda1efcd5187c3d | TeacherPouch.Web/Views/Questions/QuestionIndex.cshtml | TeacherPouch.Web/Views/Questions/QuestionIndex.cshtml | @model QuestionIndexViewModel
@{
ViewBag.Title = "Question Index";
}
<h2>Question Index</h2>
@if (Model.Questions.SafeAny())
{
<table class="index">
<thead>
<tr>
<th>ID</th>
<th>Photo ID</th>
<th>Question</th>
<th>Sentence S... | @model QuestionIndexViewModel
@{
ViewBag.Title = "Question Index";
}
<h2>Question Index</h2>
@if (Model.Questions.SafeAny())
{
<table class="index">
<thead>
<tr>
<th>ID</th>
<th>Photo ID</th>
<th>Question</th>
<th>Sentence S... | Add links to photo details and question details views. | Add links to photo details and question details views.
| C# | mit | dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch |
026a0cfc692467bb39fa3a0366a255c8e1fcfcc7 | src/NHibernate/Engine/Transaction/IIsolatedWork.cs | src/NHibernate/Engine/Transaction/IIsolatedWork.cs | using System.Data;
namespace NHibernate.Engine.Transaction
{
/// <summary>
/// Represents work that needs to be performed in a manner
/// which isolates it from any current application unit of
/// work transaction.
/// </summary>
public interface IIsolatedWork
{
/// <summary>
/// Perform the act... | using System.Data;
namespace NHibernate.Engine.Transaction
{
/// <summary>
/// Represents work that needs to be performed in a manner
/// which isolates it from any current application unit of
/// work transaction.
/// </summary>
public interface IIsolatedWork
{
/// <summary>
/// Perform the act... | Comment is no longer reqired | Comment is no longer reqired
SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@4365
| C# | lgpl-2.1 | nkreipke/nhibernate-core,alobakov/nhibernate-core,lnu/nhibernate-core,hazzik/nhibernate-core,RogerKratz/nhibernate-core,RogerKratz/nhibernate-core,nhibernate/nhibernate-core,livioc/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,livioc/nhibernate-core,nhibernate/nhibernate-core,livioc/nhibernate-c... |
4217cd5a2810df2d9d88f02fbbd240220887e546 | Scripts/Editor/Tools/CSprojUpdater.cs | Scripts/Editor/Tools/CSprojUpdater.cs | using System.Xml;
namespace UDBase.EditorTools {
public static class CSProjUpdater {
public static void UpdateCsprojFile(string fileName) {
var doc = new XmlDocument();
doc.Load(fileName);
// <PropertyGroup>
// <DocumentationFile>$(OutputPath)Assembly-CSharp.xml</DocumentationFile>
// </Prope... | using System.Xml;
namespace UDBase.EditorTools {
public static class CSProjUpdater {
public static void UpdateCsprojFile(string fileName) {
var doc = new XmlDocument();
doc.Load(fileName);
// <PropertyGroup>
// <DocumentationFile>$(OutputPath)Assembly-CSharp.xml</DocumentationFile>
// </Prope... | Add post-build event to update docs; | Add post-build event to update docs;
| C# | mit | KonH/UDBase |
ee4ebdd791a8a08754dd0c069af29e004f36c0b9 | ios/csharp/Properties/AssemblyInfo.cs | ios/csharp/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using ObjCRuntime;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("CartoMobileSDK.iOS")]
[assembly: AssemblyDescription ("Carto Mobile SDK for i... | using System.Reflection;
using System.Runtime.CompilerServices;
using ObjCRuntime;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("CartoMobileSDK.iOS")]
[assembly: AssemblyDescription ("Carto Mobile SDK for i... | Add CFNetwork to list of Xamarin iOS dependencies, should fix Xamarin/iOS linking issues | Add CFNetwork to list of Xamarin iOS dependencies, should fix Xamarin/iOS linking issues
| C# | bsd-3-clause | CartoDB/mobile-sdk,CartoDB/mobile-sdk,CartoDB/mobile-sdk,CartoDB/mobile-sdk,CartoDB/mobile-sdk,CartoDB/mobile-sdk |
e38cd6e5f774c23703baf0c664529904bf6ac614 | src/Arango/Arango.Client/API/ArangoException.cs | src/Arango/Arango.Client/API/ArangoException.cs | using System;
using System.Net;
namespace Arango.Client
{
public class ArangoException : Exception
{
/// <summary>
/// HTTP status code which caused the exception.
/// </summary>
public HttpStatusCode HttpStatusCode { get; set; }
/// <summary>
/// E... | using System;
using System.Net;
namespace Arango.Client
{
public class ArangoException : Exception
{
/// <summary>
/// HTTP status code which caused the exception.
/// </summary>
public HttpStatusCode HttpStatusCode { get; set; }
/// <summary>
/// E... | Create arango exception which consists only of message. | Create arango exception which consists only of message.
| C# | mit | yojimbo87/ArangoDB-NET,kangkot/ArangoDB-NET |
03364877280761784faf679fc4818623326a90ec | src/Aggregates.NET.GetEventStore/Feature.cs | src/Aggregates.NET.GetEventStore/Feature.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Aggregates.Contracts;
using Aggregates.Extensions;
using EventStore.ClientAPI;
using Newtonsoft.Json;
using NServiceBus;
using NServiceBus.Features;
using NServiceBus.Logging;
using NServiceBus.Mes... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Aggregates.Contracts;
using Aggregates.Extensions;
using EventStore.ClientAPI;
using Newtonsoft.Json;
using NServiceBus;
using NServiceBus.Features;
using NServiceBus.Logging;
using NServiceBus.Mes... | Add correct defaults to domain subscriber | Add correct defaults to domain subscriber
| C# | mit | volak/Aggregates.NET,volak/Aggregates.NET |
01cd976975819280214ca7578e0d2157ca31959f | TestObjectBuilderTests/ConcreteTestObjectBuilders/ProductTestObjectBuilder.cs | TestObjectBuilderTests/ConcreteTestObjectBuilders/ProductTestObjectBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TestObjectBuilder;
namespace TestObjectBuilderTests
{
public class ProductTestObjectBuilder : TestObjBuilder<Product>
{
public ProductTestObjectBuilder()
{
this.FirstDependency = new DummyDe... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TestObjectBuilder;
namespace TestObjectBuilderTests
{
public class ProductTestObjectBuilder : TestObjBuilder<Product>
{
public ProductTestObjectBuilder()
{
this.FirstDependency = new DummyDe... | Remove property from ProductTestObjetBuilder that is left over from move of building with constructor feature to TestObjectBuilder class. | Remove property from ProductTestObjetBuilder that is left over from move of building with constructor feature to TestObjectBuilder class.
| C# | mit | tdpreece/TestObjectBuilderCsharp |
a64cf34d861bc166f38c3580c8c4de0c4c2c9c15 | JabbR/Infrastructure/AppBuilderExtensions.cs | JabbR/Infrastructure/AppBuilderExtensions.cs | using System;
using System.Collections.Generic;
using Owin;
namespace JabbR.Infrastructure
{
public static class AppBuilderExtensions
{
private static readonly string SystemWebHostName = "System.Web 4.5, Microsoft.Owin.Host.SystemWeb 1.0.0.0";
public static bool IsRunningUnderSystemWeb(this I... | using System;
using System.Collections.Generic;
using Owin;
namespace JabbR.Infrastructure
{
public static class AppBuilderExtensions
{
private static readonly string SystemWebHostName = "System.Web 4.5, Microsoft.Owin.Host.SystemWeb 1.0.0.0";
public static bool IsRunningUnderSystemWeb(this I... | Fix system web detection logic. | Fix system web detection logic.
| C# | mit | meebey/JabbR,mzdv/JabbR,yadyn/JabbR,lukehoban/JabbR,e10/JabbR,M-Zuber/JabbR,yadyn/JabbR,fuzeman/vox,JabbR/JabbR,yadyn/JabbR,AAPT/jean0226case1322,SonOfSam/JabbR,lukehoban/JabbR,JabbR/JabbR,LookLikeAPro/JabbR,18098924759/JabbR,meebey/JabbR,ajayanandgit/JabbR,18098924759/JabbR,huanglitest/JabbRTest2,borisyankov/JabbR,Loo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.