commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
52a229d94e876dfb465ba86b48c1c87411557b54 | modify path | ElandGroup/WxOpenId | Default.aspx.cs | Default.aspx.cs | using System;
namespace WxOpenId
{
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string openIdProcessUrl = "http://wxdemo.accurate9.com/OpenIdProcess.aspx";
string targetUrl = "http://wxdemo.accurate9.com/User... | using System;
namespace WxOpenId
{
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string openIdProcessUrl = "http://wxdemo.accurate9.com/OpenIdProcess.aspx";
string targetUrl = "http://wxdemo.accurate9.com/User... | apache-2.0 | C# |
0d7aa868bb99a09c325b41e2e96f6a131b91d694 | Fix issue where ratio was always returning "1" | janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent | Components/TemplateHelpers/Images/Ratio.cs | Components/TemplateHelpers/Images/Ratio.cs | using System;
namespace Satrabel.OpenContent.Components.TemplateHelpers
{
public class Ratio
{
private readonly float _ratio;
public int Width { get; private set; }
public int Height { get; private set; }
public float AsFloat
{
get { return (float)Width / (... | using System;
namespace Satrabel.OpenContent.Components.TemplateHelpers
{
public class Ratio
{
private readonly float _ratio;
public int Width { get; private set; }
public int Height { get; private set; }
public float AsFloat
{
get { return Width / Height; ... | mit | C# |
adb644022fbf656a278f3e406563e36d1cc03825 | add supporting for command parameters | pashchuk/Hospital-MVVM- | Hospital/DesktopApp/Commands/RelayCommand.cs | Hospital/DesktopApp/Commands/RelayCommand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Microsoft.Win32;
namespace DesktopApp.Commands
{
public class RelayCommand : ICommand
{
public event EventHandler CanExecuteChanged
{
add { CommandManager.Requ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace DesktopApp.Commands
{
public class RelayCommand : ICommand
{
public event EventHandler CanExecuteChanged
{
add { CommandManager.RequerySuggested += value; ... | mit | C# |
5841f5b327bbbb2f6415b64fd2c38a36de4180f5 | Add Eat Animation | bschug/boatbaby | Assets/Scripts/EyeTracking/EyeTracking.cs | Assets/Scripts/EyeTracking/EyeTracking.cs | using System.Collections;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
using NumericTypeExtensions;
public class EyeTracking : SingletonMonoBehaviour<EyeTracking>
{
public float MinDistance = 10;
public float MaxDistance = 200;
[SerializeField]
Animator Animator;
List<... | using System.Collections;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
using NumericTypeExtensions;
public class EyeTracking : SingletonMonoBehaviour<EyeTracking>
{
public float MinDistance = 10;
public float MaxDistance = 200;
[SerializeField]
Animator Animator;
List<... | mit | C# |
c755f8eb6d3f4d483cf175342451b99c1c70b4e3 | fix missing end tag | SzymonPobiega/docs.particular.net,pedroreys/docs.particular.net,eclaus/docs.particular.net,pashute/docs.particular.net,yuxuac/docs.particular.net,WojcikMike/docs.particular.net | Snippets/Snippets_5/Logging/Log4NetConfig.cs | Snippets/Snippets_5/Logging/Log4NetConfig.cs | using log4net.Appender;
using log4net.Config;
using log4net.Core;
using log4net.Layout;
using NServiceBus.Log4Net;
public class Log4NetConfig
{
public void InCode()
{
// start code Log4NetInCode
var layout = new PatternLayout
{
ConversionPattern = "%d [%t] %-5p %c [%x] - %... | using log4net.Appender;
using log4net.Config;
using log4net.Core;
using log4net.Layout;
using NServiceBus.Log4Net;
public class Log4NetConfig
{
public void InCode()
{
// start code Log4NetInCode
var layout = new PatternLayout
{
ConversionPattern = "%d [%t] %-5p %c [%x] - %... | apache-2.0 | C# |
0aa68c9466e1c5f5a91c73089d3d8a40291dd2f2 | Upgrade version in order to publish. | dr-em/BotBuilder,msft-shahins/BotBuilder,jockorob/BotBuilder,xiangyan99/BotBuilder,xiangyan99/BotBuilder,stevengum97/BotBuilder,msft-shahins/BotBuilder,navaei/BotBuilder,Clairety/ConnectMe,jockorob/BotBuilder,yakumo/BotBuilder,Clairety/ConnectMe,mmatkow/BotBuilder,navaei/BotBuilder,msft-shahins/BotBuilder,mmatkow/BotBu... | CSharp/Library/Properties/AssemblyInfo.cs | CSharp/Library/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Mi... | mit | C# |
ba9ba290b2a3682bfb43294f7881e18cb15d6556 | update for 1.8.1 release | Pathoschild/StardewMods | ChestsAnywhere/Properties/AssemblyInfo.cs | ChestsAnywhere/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("ChestsAnywhere")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ChestsAnywhere")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembl... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("ChestsAnywhere")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ChestsAnywhere")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembl... | mit | C# |
2935b549648b81af1fc88ba5f82f0c9c8a998551 | add info to TwoLevelCachedAttribute | rolembergfilho/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,rolembergfilho... | Serenity.Data/Mapping/TwoLevelCachedAttribute.cs | Serenity.Data/Mapping/TwoLevelCachedAttribute.cs | using System;
namespace Serenity.Data
{
/// <summary>
/// This attribute marks a row so that when it is Inserted/Updated/Deleted
/// through repository, its related cache, if any should be cleared.
/// It doesn't turn on/off caching. A related cached item to a row, might
/// be its lookup... | using System;
namespace Serenity.Data
{
public class TwoLevelCachedAttribute : Attribute
{
public TwoLevelCachedAttribute(params string[] generationKeys)
{
this.GenerationKeys = generationKeys;
}
public string[] GenerationKeys { get; private set; }
... | mit | C# |
4f9437bce77885dc85532e6ed29794c4c5e4ec2c | fix sample domain method | arsouza/Aritter,aritters/Ritter,arsouza/Aritter | samples/Ritter.Samples.Application/EmployeeAppService.cs | samples/Ritter.Samples.Application/EmployeeAppService.cs | using Ritter.Application.Seedwork.Services;
using Ritter.Domain.Seedwork.Validation;
using Ritter.Domain.Seedwork.Validation.Fluent;
using Ritter.Infra.Crosscutting;
using Ritter.Infra.Crosscutting.Extensions;
using Ritter.Samples.Domain;
using System;
using System.Threading.Tasks;
namespace Ritter.Samples.Application... | using Ritter.Application.Seedwork.Services;
using Ritter.Domain.Seedwork.Validation;
using Ritter.Domain.Seedwork.Validation.Fluent;
using Ritter.Infra.Crosscutting;
using Ritter.Infra.Crosscutting.Extensions;
using Ritter.Samples.Domain;
using System;
using System.Threading.Tasks;
namespace Ritter.Samples.Application... | mit | C# |
ee46d1491138b840e4ae938ad85bbf8294c62108 | Update EndpointConfig.cs | pashute/docs.particular.net,WojcikMike/docs.particular.net,eclaus/docs.particular.net,yuxuac/docs.particular.net,pedroreys/docs.particular.net | Snippets/Snippets_5/Monitoring/EndpointConfig.cs | Snippets/Snippets_5/Monitoring/EndpointConfig.cs | namespace MonitoringNotifications.ServiceControl.Notifications
{
using System;
using NServiceBus;
using NServiceBus.Persistence;
public class EndpointConfig : IConfigureThisEndpoint, AsA_Server
{
public void Customize(BusConfiguration configuration)
{
#region MessageFailedEndp... | namespace MonitoringNotifications.ServiceControl.Notifications
{
using System;
using NServiceBus;
using NServiceBus.Persistence;
#region MessageFailedEndpointConfig 5.0
public class EndpointConfig : IConfigureThisEndpoint, AsA_Server
{
public void Customize(BusConfiguration configurati... | apache-2.0 | C# |
f538dc3b420aff64973caa62e9dff3bfce9108bb | update page footer | MariamSerry/library-management-system | mvc2/Views/Shared/_Layout.cshtml | mvc2/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
<link href="~/Content/Site.css" rel="stylesheet" type="text/css" />
<link href="~/Content/bootstrap.min.css" rel="styl... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
<link href="~/Content/Site.css" rel="stylesheet" type="text/css" />
<link href="~/Content/bootstrap.min.css" rel="styl... | mit | C# |
d84dcf61a41804be118d859202601424f06ff1f4 | Fix text asset extraction | andburn/hs-art-extractor | HsArtExtractor/Unity/Objects/TextAsset.cs | HsArtExtractor/Unity/Objects/TextAsset.cs | using System.IO;
using HsArtExtractor.Util;
namespace HsArtExtractor.Unity.Objects
{
public class TextAsset
{
public string Name { get; set; }
private byte[] _text;
public TextAsset(BinaryBlock b)
{
var nameLen = b.ReadInt();
Name = b.ReadFixedString(nameLen);
b.Align(4);
var textLen = b.ReadIn... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HsArtExtractor.Util;
namespace HsArtExtractor.Unity.Objects
{
public class TextAsset
{
public string Name { get; set; }
private byte[] _text;
publ... | mit | C# |
e57555304c025dc2a4653c45adc79fb109063447 | Change InitializeStackTrace helper to store trace in Data | mmitche/corefx,seanshpark/corefx,twsouthwick/corefx,mmitche/corefx,stone-li/corefx,khdang/corefx,jlin177/corefx,tijoytom/corefx,Priya91/corefx-1,JosephTremoulet/corefx,zhenlan/corefx,jlin177/corefx,alphonsekurian/corefx,nbarbettini/corefx,ellismg/corefx,ViktorHofer/corefx,richlander/corefx,manu-silicon/corefx,MaggieTsa... | src/Common/src/System/Diagnostics/ExceptionExtensions.cs | src/Common/src/System/Diagnostics/ExceptionExtensions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Diagnostics
{
/// <summary>Provides a set of static methods for working with Exceptions.</summa... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Diagnostics
{
/// <summary>Provides a set of static methods for working with Exceptions.</summa... | mit | C# |
c379e93614d5e429565d780be876873d90116e41 | Fix imports on admin logs | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Controllers/AdminController.cs | Battery-Commander.Web/Controllers/AdminController.cs | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.IO;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]
public class AdminController : Controller
{
// Admin Tasks:
... | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]
public class AdminController : Controller
{
// Admin Tasks:
// Add/Rem... | mit | C# |
4c2985b6d129c74dcdb4b19f17dad449ddf09c9f | Use CRLF instead of LF. | smoogipooo/osu,osu-RP/osu-RP,smoogipoo/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,johnneijzen/osu,ZLima12/osu,peppy/osu,DrabWeb/osu,ppy/osu,naoey/osu,nyaamara/osu,peppy/osu-new,RedNesto/osu,ZLima12/osu,peppy/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,Front... | osu.Game/Audio/SampleInfoList.cs | osu.Game/Audio/SampleInfoList.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 System.Collections.Generic;
namespace osu.Game.Audio
{
public class SampleInfoList : List<SampleInfo>
{
public SampleInfoList()
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
namespace osu.Game.Audio
{
public class SampleInfoList : List<SampleInfo>
{
public SampleInfoList()
{
... | mit | C# |
2c2b42ff35a74d8d2e6767a711d135cee27e820d | Change version to 0.2 | lury-lang/compiler-base | Lury.Compiling/Properties/AssemblyInfo.cs | Lury.Compiling/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Lury.Compiling")]
[assembly: AssemblyDescription("Supporting class library for Lury compiler")]
[assem... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Lury.Compiling")]
[assembly: AssemblyDescription("Supporting class library for Lury compiler")]
[assem... | mit | C# |
9a863a3438b76faad10e6c4426b293e0000b113d | Add HTTP Method to WebApi response code exceptions | articulate/raygun4net,ddunkin/raygun4net,nelsonsar/raygun4net,MindscapeHQ/raygun4net,nelsonsar/raygun4net,MindscapeHQ/raygun4net,articulate/raygun4net,tdiehl/raygun4net,ddunkin/raygun4net,MindscapeHQ/raygun4net,tdiehl/raygun4net | Mindscape.Raygun4Net45/WebApi/RaygunWebApiFilters.cs | Mindscape.Raygun4Net45/WebApi/RaygunWebApiFilters.cs | using System;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.Filters;
namespace Mindscape.Raygun4Net.WebApi
{
public class RaygunWebApiExceptionFilter : ExceptionFilterAttribute
{
private readonly IRaygunWebApiClientProvider _clientCreator;
internal RaygunWe... | using System;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.Filters;
namespace Mindscape.Raygun4Net.WebApi
{
public class RaygunWebApiExceptionFilter : ExceptionFilterAttribute
{
private readonly IRaygunWebApiClientProvider _clientCreator;
internal RaygunWe... | mit | C# |
65bf147a8170687b6b7fc5c9d98dadc8edd0be77 | Test for TeamCity. | XemioNetwork/GameLibrary | Testing/Xemio.Testing.EventSystem/Program.cs | Testing/Xemio.Testing.EventSystem/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Xemio.GameLibrary;
using Xemio.GameLibrary.Common;
using Xemio.GameLibrary.Common.Extensions;
using Xemio.GameLibrary.Components;
using Xemio.GameLibrary.Events;
using Xemio.GameLibr... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Xemio.GameLibrary;
using Xemio.GameLibrary.Common;
using Xemio.GameLibrary.Common.Extensions;
using Xemio.GameLibrary.Components;
using Xemio.GameLibrary.Events;
using Xemio.GameLibr... | mit | C# |
f4d8c3f5f950dd60aa41d33d77e9e9f00975b6d5 | Update Error Layout to Standardise Against Standard Layout | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS | Portal.CMS.Web/Views/Error/_Layout.cshtml | Portal.CMS.Web/Views/Error/_Layout.cshtml | @model Portal.CMS.Web.Areas.Builder.ViewModels.Build.CustomViewModel
@{
ViewBag.Title = "Error";
Layout = "";
}
<!DOCTYPE html>
<html lang="en-gb">
<head>
<title>Portal CMS: @ViewBag.Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />... | @model Portal.CMS.Web.Areas.Builder.ViewModels.Build.CustomViewModel
@{
ViewBag.Title = "Error";
Layout = "";
}
<!DOCTYPE html>
<html lang="en-gb">
<head>
<title>Portal CMS: @ViewBag.Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />... | mit | C# |
b186043e8329a6e33b5b214802f2147b36d5d8e3 | Support gzip compression | RallyTools/RallyRestToolkitFor.NET,RallyTools/RallyRestToolkitFor.NET | Rally.RestApi/Web/CookieAwareWebClient.cs | Rally.RestApi/Web/CookieAwareWebClient.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
namespace Rally.RestApi.Web
{
[System.ComponentModel.DesignerCategory("")]
internal class CookieAwareWebClient : WebClient
{
protected CookieContainer Cookies { get; private set; }
public CookieAwareWebClie... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
namespace Rally.RestApi.Web
{
[System.ComponentModel.DesignerCategory("")]
internal class CookieAwareWebClient : WebClient
{
protected CookieContainer Cookies { get; private set; }
public CookieAwareWebClie... | mit | C# |
c82862745c0876f5ac784192d6822e4d9e38ffd1 | Bump version to 0.8.6 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
bcce20279cf36cf8dfdba96e2236fb8b76ff4628 | Disable TestOldNuGet test | mono/msbuild,mono/msbuild,mono/msbuild,mono/msbuild | src/Build.OM.UnitTests/NugetRestoreTests.cs | src/Build.OM.UnitTests/NugetRestoreTests.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Build.UnitTests;
using Microsoft.Build.UnitTests.Shared;
using Shouldly;
using System.IO;
using Xunit;
using Xunit.Abstractions;
namespace Microsoft.B... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Build.UnitTests;
using Microsoft.Build.UnitTests.Shared;
using Shouldly;
using System.IO;
using Xunit;
using Xunit.Abstractions;
namespace Microsoft.B... | mit | C# |
6d6a29619cab7cc0bb555abeb9fdfbf594b05038 | Support more than one read store manager | AntoineGa/EventFlow,rasmus/EventFlow,liemqv/EventFlow | Source/EventFlow/Subscribers/DomainEventPublisher.cs | Source/EventFlow/Subscribers/DomainEventPublisher.cs | // The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including... | // The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including... | mit | C# |
742d3773b668057f216f3ef7b3bbe6a801bee70d | Add SecurityZone stub | krk/coreclr,russellhadley/coreclr,gkhanna79/coreclr,sagood/coreclr,yizhang82/coreclr,jamesqo/coreclr,ragmani/coreclr,mskvortsov/coreclr,JonHanna/coreclr,kyulee1/coreclr,sagood/coreclr,botaberg/coreclr,AlexGhiondea/coreclr,jamesqo/coreclr,rartemev/coreclr,mskvortsov/coreclr,poizan42/coreclr,ragmani/coreclr,cmckinsey/cor... | src/mscorlib/shared/System/Security/SecurityException.cs | src/mscorlib/shared/System/Security/SecurityException.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.Reflection;
using System.Runtime.Serialization;
namespace System.Security
{
[Serializable]
pub... | // 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.Reflection;
using System.Runtime.Serialization;
namespace System.Security
{
[Serializable]
pub... | mit | C# |
0842157ae6b7fbb9a35fef7e521fdbd3e577dbd2 | Destroy NetworkController when going back to menu | jmc-figueira/Z3D,jmc-figueira/Z3D,jmc-figueira/Z3D | Z3D_Kees_01/Assets/_Scripts/BackToMenu.cs | Z3D_Kees_01/Assets/_Scripts/BackToMenu.cs | using UnityEngine;
using System.Collections;
public class BackToMenu : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if(Input.GetKeyDown(KeyCode.Escape)){
Application.LoadLevel(0);
GameObject guiSys;
guiSys = GameObject.Find("... | using UnityEngine;
using System.Collections;
public class BackToMenu : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if(Input.GetKeyDown(KeyCode.Escape)){
Application.LoadLevel(0);
GameObject GUI;
GUI = GameObject.Find("GUISYS... | mit | C# |
26af1c0510ebda02e0a94e7c9af888d9ff535d1d | remove from code coverage | bellrichm/weather,bellrichm/weather,bellrichm/weather,bellrichm/weather,bellrichm/weather | api/src/BellRichM.Api/Models/ErrorDetailModel.cs | api/src/BellRichM.Api/Models/ErrorDetailModel.cs | using BellRichM.Attribute.CodeCoverage;
namespace BellRichM.Api.Models
{
/// <summary>
/// Exception detail.
/// </summary>
[ExcludeFromCodeCoverage]
public class ErrorDetailModel
{
/// <summary>
/// Gets or sets the code.
/// </summary>
/// <value>
/// ... | namespace BellRichM.Api.Models
{
/// <summary>
/// Exception detail.
/// </summary>
public class ErrorDetailModel
{
/// <summary>
/// Gets or sets the code.
/// </summary>
/// <value>
/// The error code.
/// </value>
public string Code { get; s... | mit | C# |
f58b5244c5eacb190c9e3ffeedf04aaf211246b8 | Fix typo in Responses.Size that caused wrong response parsing | vevix/DigitalOcean.API | DigitalOcean.API/Models/Responses/Size.cs | DigitalOcean.API/Models/Responses/Size.cs | using System.Collections.Generic;
namespace DigitalOcean.API.Models.Responses {
public class Size {
/// <summary>
/// A human-readable string that is used to uniquely identify each size.
/// </summary>
public string Slug { get; set; }
/// <summary>
/// The amount o... | using System.Collections.Generic;
namespace DigitalOcean.API.Models.Responses {
public class Size {
/// <summary>
/// A human-readable string that is used to uniquely identify each size.
/// </summary>
public string Slug { get; set; }
/// <summary>
/// The amount o... | mit | C# |
7ff05b7be61b3d4f9ae94562e4de16d70c63db14 | fix http contract | Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek | Tweek.ApiService.NetCore/Controllers/ValidationController.cs | Tweek.ApiService.NetCore/Controllers/ValidationController.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Engine.Core.Rules;
using Engine.Drivers.Rules;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Engine.Core.Rules;
// For more information on ena... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Engine.Core.Rules;
using Engine.Drivers.Rules;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Engine.Core.Rules;
// For more information on ena... | mit | C# |
fd0751257c8d57f4b90c0357d03766c5c399af26 | Fix bug with camer movement not stopping | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo | DynamixelServo.Quadruped.WebInterface/VideoStreaming/CameraController.cs | DynamixelServo.Quadruped.WebInterface/VideoStreaming/CameraController.cs | using System.Numerics;
using DynamixelServo.Driver;
namespace DynamixelServo.Quadruped.WebInterface.VideoStreaming
{
public class CameraController : ICameraController
{
private readonly DynamixelDriver _driver;
private const byte HorizontalMotorIndex = 13;
private const byte VerticalMo... | using System.Numerics;
using DynamixelServo.Driver;
namespace DynamixelServo.Quadruped.WebInterface.VideoStreaming
{
public class CameraController : ICameraController
{
private readonly DynamixelDriver _driver;
private const byte HorizontalMotorIndex = 13;
private const byte VerticalMo... | apache-2.0 | C# |
878f0c63a1046b267ae40f3b0fa0b79aa4586840 | Change namespace | Flepper/flepper,Flepper/flepper | Flepper.Core/QueryBuilder/Commands/Extensions/SelectCommandExtensions.cs | Flepper.Core/QueryBuilder/Commands/Extensions/SelectCommandExtensions.cs | namespace Flepper.Core.QueryBuilder
{
public static class SelectCommandExtensions
{
public static IFromCommand From(this ISelectCommand selectCommand, string schema, string table)
{
var fromOperator = new FromCommand();
fromOperator.From(schema, table);
retur... | namespace Flepper.Core.QueryBuilder.Commands.Extensions
{
public static class SelectCommandExtensions
{
public static IFromCommand From(this ISelectCommand selectCommand, string schema, string table)
{
var fromOperator = new FromCommand();
fromOperator.From(schema, table... | mit | C# |
f8e0dc35fae87d3e64d170e38e2626a5632717b1 | Add RedirectPermanentlyToRoute() method | fvilers/WebApi.Contrib | src/WebApi.Contrib/ExtendedApiController.cs | src/WebApi.Contrib/ExtendedApiController.cs | using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Routing;
using WebApi.Contrib.Results;
namespace WebApi.Contrib
{
public abstract class ExtendedApiController : ApiController
{
public NoContentResult NoContent()
{
return new NoContentResult(this);
... | using System.Web.Http;
using WebApi.Contrib.Results;
namespace WebApi.Contrib
{
public abstract class ExtendedApiController : ApiController
{
public NoContentResult NoContent()
{
return new NoContentResult(this);
}
}
}
| mit | C# |
52bb09235d65c90058621faf77d1aec1aab5a92b | Bump version to 1.5.0. | FacilityApi/Facility | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.5.0.0")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright 2016-2018 Ed Ball")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
| using System.Reflection;
[assembly: AssemblyVersion("1.4.0.0")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright 2016-2018 Ed Ball")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
| mit | C# |
49455b3b69e8bffa96556a26fa048a6df8b1f77d | Make the pdb reader and writer providers work with ppdbs | fnajera-rac-de/cecil,jbevain/cecil,SiliconStudio/Mono.Cecil,sailro/cecil,mono/cecil | symbols/pdb/Mono.Cecil.Pdb/PdbHelper.cs | symbols/pdb/Mono.Cecil.Pdb/PdbHelper.cs | //
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
// Copyright (c) 2008 - 2011 Novell, Inc.
//
// Licensed under the MIT/X11 license.
//
using System;
using System.IO;
using Mono.Cecil.Cil;
namespace Mono.Cecil.Pdb {
public sealed class NativePdbReaderProvider : ISymbolReader... | //
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
// Copyright (c) 2008 - 2011 Novell, Inc.
//
// Licensed under the MIT/X11 license.
//
using System;
using System.Collections.Generic;
using System.IO;
using Mono.Cecil.Cil;
namespace Mono.Cecil.Pdb {
#if !READ_ONLY
class PdbH... | mit | C# |
f9cfbce54035a1c07c91b856df87b885c5db6a7b | Fix bug in FileUpdater | macro187/produce | produce/Builder/FileUpdater.cs | produce/Builder/FileUpdater.cs | using System;
using System.IO;
using System.Linq;
using MacroGuards;
namespace
produce
{
public class
FileUpdater
{
public
FileUpdater(Graph graph)
{
Guard.NotNull(graph, nameof(graph));
Graph = graph;
}
Graph
Graph { get; }
public void
Update()
{
var fileSets = Gra... | using System;
using System.IO;
using System.Linq;
using MacroGuards;
namespace
produce
{
public class
FileUpdater
{
public
FileUpdater(Graph graph)
{
Guard.NotNull(graph, nameof(graph));
Graph = graph;
}
Graph
Graph { get; }
public void
Update()
{
var fileSets = Gra... | mit | C# |
62f33a98db38d252fc1d13d7ec2739c450951649 | add note | IxMilia/BCad,IxMilia/BCad | BCad.Core/Commands/ZoomExtentsCommand.cs | BCad.Core/Commands/ZoomExtentsCommand.cs | using System;
using System.Composition;
using System.Linq;
using System.Threading.Tasks;
using BCad.Extensions;
namespace BCad.Commands
{
[ExportCommand("Zoom.Extents", "ZOOMEXTENTS", "ze")]
internal class ZoomExtentsCommand : ICommand
{
[Import]
public IWorkspace Workspace { get; set; }
... | using System;
using System.Composition;
using System.Linq;
using System.Threading.Tasks;
using BCad.Extensions;
namespace BCad.Commands
{
[ExportCommand("Zoom.Extents", "ZOOMEXTENTS", "ze")]
internal class ZoomExtentsCommand : ICommand
{
[Import]
public IWorkspace Workspace { get; set; }
... | apache-2.0 | C# |
eaf5cbf0563e6b85531938e669ed8649e70103e3 | Fix NUGET_PACKAGES folder when running tests. | nkolev92/sdk,nkolev92/sdk | test/Microsoft.NET.TestFramework/Commands/MSBuildTest.cs | test/Microsoft.NET.TestFramework/Commands/MSBuildTest.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Linq;
using Microsoft.DotNet.Cli.Utils;
namespace Microsoft.NET.TestFramework.Commands
{
public ... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Linq;
using Microsoft.DotNet.Cli.Utils;
namespace Microsoft.NET.TestFramework.Commands
{
public ... | mit | C# |
6b13d45f8a103b82903973d490f8bf6a24bbdb6e | Reconfigure Patient as subclass of Contact | SICU-Stress-Measurement-System/frontend-cs | StressMeasurementSystem/Models/Patient.cs | StressMeasurementSystem/Models/Patient.cs | using System;
namespace StressMeasurementSystem.Models
{
public class Patient : Contact
{
public struct SocialSecurityNumber
{
public uint AreaNumber { get; set; }
public uint GroupNumber { get; set; }
public uint SerialNumber { get; set; }
publ... | using System;
using System.Collections.Generic;
using System.Net.Mail;
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
public struct NameInfo
{
public string Prefix { get; set; }
public string First { get; set; }
pu... | apache-2.0 | C# |
e81bd9a1be512dde46a1684a9dd31985a127b314 | Split the commit message into the subject line and the body | github-for-unity/Unity,mpOzelot/Unity,github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity | src/GitHub.Api/Git/Tasks/GitCommitTask.cs | src/GitHub.Api/Git/Tasks/GitCommitTask.cs | using System;
using System.Threading;
namespace GitHub.Unity
{
class GitCommitTask : ProcessTask<string>
{
private const string TaskName = "git commit";
private readonly string arguments;
public GitCommitTask(string message, string body,
CancellationToken token, IOutputPro... | using System;
using System.Threading;
namespace GitHub.Unity
{
class GitCommitTask : ProcessTask<string>
{
private const string TaskName = "git commit";
private readonly string arguments;
public GitCommitTask(string message, string body,
CancellationToken token, IOutputPro... | mit | C# |
724a6af36116ec55c33c186cb56f31fa981d427d | Read module from byte[] instead of disk, fixes #2 | HoLLy-HaCKeR/osu-BackgroundChanger | osu!BackgroundChanger/OsuSeasonal.cs | osu!BackgroundChanger/OsuSeasonal.cs | using System;
using System.IO;
using System.Windows.Forms;
using dnlib.DotNet;
using dnlib.DotNet.Resources;
namespace osu_BackgroundChanger
{
internal class OsuSeasonal
{
private const string ResourceName = "osu_seasonal.ResourcesStore.resources";
public EmbeddedResource Resource;
... | using System;
using System.IO;
using System.Windows.Forms;
using dnlib.DotNet;
using dnlib.DotNet.Resources;
namespace osu_BackgroundChanger
{
internal class OsuSeasonal
{
private const string ResourceName = "osu_seasonal.ResourcesStore.resources";
public EmbeddedResource Resource;
... | mit | C# |
5a517bad630fd47f617358101548580cbe499f4f | Move beatmap cleanup to Dispose() | UselessToucan/osu,ZLima12/osu,johnneijzen/osu,ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipooo/osu,EVAST9919/osu,johnneijzen/osu,2yangk23/osu,NeoAdonis/osu,UselessToucan/osu,naoey/osu,peppy/osu-new,EVAST9919/osu,smoogipoo/osu,naoey/osu,DrabWeb/osu,DrabWeb/osu,peppy/osu,ppy/osu,DrabWeb/osu,naoey/... | osu.Game/Tests/Visual/OsuTestCase.cs | osu.Game/Tests/Visual/OsuTestCase.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.IO;
using System.Reflection;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
namespace os... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.IO;
using System.Reflection;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
namespace os... | mit | C# |
4ad4a5738fd83461e524328e02f88650aeb1912f | remove unnecessary 'new FP.Vector' from Move.fromSpeed() | ad510/plausible-deniability | Assets/Scripts/Move.cs | Assets/Scripts/Move.cs | // Copyright (c) 2013 Andrew Downing
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribut... | // Copyright (c) 2013 Andrew Downing
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribut... | mit | C# |
446304140d069334c287d95f1f554f09248ee5b2 | Fix unix casing issue in integration test | gep13/cake,phrusher/cake,vlesierse/cake,cake-build/cake,michael-wolfenden/cake,cake-build/cake,michael-wolfenden/cake,thomaslevesque/cake,RehanSaeed/cake,vlesierse/cake,adamhathcock/cake,robgha01/cake,Julien-Mialon/cake,daveaglick/cake,thomaslevesque/cake,phenixdotnet/cake,adamhathcock/cake,robgha01/cake,phrusher/cake,... | tests/integration/Cake.Common/Solution/Project/XmlDoc/XmlDocAliases.cake | tests/integration/Cake.Common/Solution/Project/XmlDoc/XmlDocAliases.cake | #load "./../../../../utilities/xunit.cake"
#load "./../../../../utilities/paths.cake"
Task("Cake.Common.Solution.Project.XmlDoc.XmlDocAliases.ParseXmlDocExampleCode")
.Does(() =>
{
// Given
var path = Paths.Resources.Combine("./Cake.Common/Solution/Project/XmlDoc");
var file = path.CombineWithFilePath(... | #load "./../../../../utilities/xunit.cake"
#load "./../../../../utilities/paths.cake"
Task("Cake.Common.Solution.Project.XmlDoc.XmlDocAliases.ParseXmlDocExampleCode")
.Does(() =>
{
// Given
var path = Paths.Resources.Combine("./Cake.Common/Solution/Project/XmlDoc");
var file = path.CombineWithFilePath(... | mit | C# |
908b22c56673f7cddbe66b2e0befa4acf55163f8 | change layer on sprite renderer | srakowski/coldsteel | src/Coldsteel/Renderers/SpriteRenderer.cs | src/Coldsteel/Renderers/SpriteRenderer.cs | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Text;
namespace Coldsteel.Renderers
{
public class SpriteRenderer : Renderer
{
public Layer Layer { get; set; }
private Texture2D _texture;
public Textu... | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Text;
namespace Coldsteel.Renderers
{
public class SpriteRenderer : Renderer
{
private Layer _layer;
private Texture2D _texture;
public Texture2D Textur... | mit | C# |
38bf8b583943bf61168190d2b7ebf28b33b6127d | Fix nullability of exception | nikeee/HolzShots | src/HolzShots.Core/Net/UploadException.cs | src/HolzShots.Core/Net/UploadException.cs | using System;
namespace HolzShots.Net
{
[Serializable]
public class UploadException : Exception
{
public UploadException() : this("An error during upload occurred.") { }
public UploadException(string message) : this(message, null) { }
public UploadException(string message, Exception... | using System;
namespace HolzShots.Net
{
[Serializable]
public class UploadException : Exception
{
public UploadException() : this("An error during upload occurred.") { }
public UploadException(string message) : this(message, null) { }
public UploadException(string message, Exception... | agpl-3.0 | C# |
402c227028ca320293b594ab6ee8eae56cb00bad | Add dynamic left margin for line parts | 12joan/hangman | row.cs | row.cs | using System;
using System.Collections.Generic;
namespace Hangman {
public class Row {
public Cell[] Cells;
private int Width;
public Row(Cell[] cells) {
Cells = cells;
}
public string Draw(int width) {
// return new String(' ', width - Text.Length) + Text;
Width = width;
... | using System;
using System.Collections.Generic;
namespace Hangman {
public class Row {
public Cell[] Cells;
public Row(Cell[] cells) {
Cells = cells;
}
public string Draw(int width) {
// return new String(' ', width - Text.Length) + Text;
return String.Join("\n", Lines());
}
... | unlicense | C# |
081e86d6251b0b84c184c0f0e76783ba538aff1c | Remove dead lastIkDeltas code from InverseKinematicsAnimator | virtuallynaked/virtually-naked,virtuallynaked/virtually-naked | Viewer/src/actor/animation/inversekinematics/InverseKinematicsAnimator.cs | Viewer/src/actor/animation/inversekinematics/InverseKinematicsAnimator.cs | using SharpDX;
public class InverseKinematicsAnimator {
private readonly ChannelSystem channelSystem;
private readonly RigidBoneSystem boneSystem;
private readonly IInverseKinematicsGoalProvider goalProvider;
private readonly IInverseKinematicsSolver solver;
private RigidBoneSystemInputs poseDeltas;
public In... | using SharpDX;
public class InverseKinematicsAnimator {
private readonly ChannelSystem channelSystem;
private readonly RigidBoneSystem boneSystem;
private readonly IInverseKinematicsGoalProvider goalProvider;
private readonly IInverseKinematicsSolver solver;
private RigidBoneSystemInputs poseDeltas;
private Ri... | mit | C# |
dfb9d72262ba695fdc74d975bbfd9041a838a5a4 | Add debug settings to InverseKinematicsAnimator | virtuallynaked/virtually-naked,virtuallynaked/virtually-naked | Viewer/src/actor/animation/inversekinematics/InverseKinematicsAnimator.cs | Viewer/src/actor/animation/inversekinematics/InverseKinematicsAnimator.cs | using SharpDX;
public class InverseKinematicsAnimator {
private readonly ChannelSystem channelSystem;
private readonly RigidBoneSystem boneSystem;
private readonly InverseKinematicsUserInterface ui;
private readonly IInverseKinematicsSolver solver;
private RigidBoneSystemInputs poseDeltas;
private RigidBoneSys... | public class InverseKinematicsAnimator {
private readonly ChannelSystem channelSystem;
private readonly RigidBoneSystem boneSystem;
private readonly InverseKinematicsUserInterface ui;
private readonly IInverseKinematicsSolver solver;
private RigidBoneSystemInputs poseDeltas;
private RigidBoneSystemInputs lastIk... | mit | C# |
3b6485d312dbe1ea431b13fac617841ed667be9e | Update changes to Google finance url | simonray/exchange-rate | ExchangeRate/Providers/GoogleProvider.cs | ExchangeRate/Providers/GoogleProvider.cs | // Copyright ©2017 Simonray (http://github.com/simonray). All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using ExchangeRate.Model;
using System.Net;
using System.Text.RegularExpressions;
namespace ExchangeRate.Providers
{
/// <exclude />
p... | // Copyright ©2017 Simonray (http://github.com/simonray). All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using ExchangeRate.Model;
using System.Net;
using System.Text.RegularExpressions;
namespace ExchangeRate.Providers
{
/// <exclude />
p... | mit | C# |
422ef3679ded39a72fa8d1a6f387853c6eb4bb8b | Fix AndroidStorage | ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework.Android/AndroidStorage.cs | osu.Framework.Android/AndroidStorage.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Platform;
namespace osu.Framework.Android
{
public class AndroidStorage : NativeStorage
{
public AndroidStorage(string path, GameHos... | // 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.Framework.Platform;
namespace osu.Framework.Android
{
public class AndroidStorage : NativeStorage
{
public AndroidStorage(string... | mit | C# |
d82cf72379a5e7fabe149058f2f292d716cb7cfc | Use IsAssignableTo instead of IsAssignableFrom | khellang/Scrutor | src/Scrutor/ServiceDescriptorAttribute.cs | src/Scrutor/ServiceDescriptorAttribute.cs | using System;
using System.Collections.Generic;
using Microsoft.Extensions.DependencyInjection;
namespace Scrutor
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class ServiceDescriptorAttribute : Attribute
{
public ServiceDescriptorAttribute() : this(null) { }
pub... | using System;
using System.Collections.Generic;
using System.Reflection;
using Microsoft.Extensions.DependencyInjection;
namespace Scrutor
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class ServiceDescriptorAttribute : Attribute
{
public ServiceDescriptorAttribute() : th... | mit | C# |
5fb31e896c4e13e713999d7305dd8ba4c51166f9 | update token | Delaire/Imgur-.NET-SDK | Imgur.API/Imgur.API/Model/AccessToken.cs | Imgur.API/Imgur.API/Model/AccessToken.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Imgur.API.Model
{
/// <summary>
/// An access token for access to the Imgur API
/// </summary>
public ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Imgur.API.Model
{
/// <summary>
/// An access token for access to the Imgur API
/// </summary>
public ... | mit | C# |
c77413f4b49d1055d96d373c6e0764c31584677b | Update description | Baggykiin/pass-winmenu | pass-winmenu/properties/AssemblyInfo.cs | pass-winmenu/properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("pass-winmenu")]
[as... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("pass-winmenu")]
[as... | mit | C# |
71cdc74c5bbff09a84078f56ed1be30ffa6a54fa | Move parameters from method to constructor | TeamnetGroup/schema2fm | src/ConsoleApp/Program.cs | src/ConsoleApp/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
namespace ConsoleApp
{
public class Table
{
private readonly string tableName;
private readonly IEnumerable<Column> columns;
public Table(string tableName, IEnumerable<Column> columns)
... | using System;
using System.Collections.Generic;
using System.Linq;
using static System.Console;
namespace ConsoleApp
{
public class Table
{
public void OutputMigrationCode(string tableName, IEnumerable<Column> columns)
{
var writer = Out;
writer.Write(@"namespace Cucu
... | mit | C# |
10e0c597dca2a0053d4a374f98762f0f68c52bf6 | Update move() (#17) | manio143/ShadowsOfShadows | src/Entities/Character.cs | src/Entities/Character.cs | using System;
using Microsoft.Xna.Framework;
using System.Collections.Generic;
using ShadowsOfShadows.Items;
using ShadowsOfShadows.Helpers;
using ShadowsOfShadows.Physics;
namespace ShadowsOfShadows.Entities
{
public abstract class Character : Entity, IInteractable, IUpdateable
{
public string Name { get; }
p... | using System;
using Microsoft.Xna.Framework;
using System.Collections.Generic;
using ShadowsOfShadows.Items;
using ShadowsOfShadows.Helpers;
using ShadowsOfShadows.Physics;
namespace ShadowsOfShadows.Entities
{
public abstract class Character : Entity, IInteractable, IUpdateable
{
public string Name { get; }
p... | mit | C# |
55477a394c5d0704be77370593ad93639d54b95b | test suite: style | stephenlautier/.netcore-labs | experimental/Slabs.Experimental.Console/TestSuite.cs | experimental/Slabs.Experimental.Console/TestSuite.cs | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Slabs.Experimental.ConsoleClient
{
public interface ITestSuite
{
string Name { get; }
Task Run();
}
public class TestSuite : ITestSuite
... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Slabs.Experimental.ConsoleClient
{
public interface ITestSuite
{
string Name { get; }
Task Run();
}
public class TestSuite : ITestSuite
... | mit | C# |
ae5e028a3fea3340123b86725901b7c7dd4e2987 | Fix argument checks | MSayfullin/EncodingConverter | EncodingConverter/Logic/EncodingManager.cs | EncodingConverter/Logic/EncodingManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dokas.FluentStrings;
using Mozilla.CharDet;
namespace dokas.EncodingConverter.Logic
{
internal sealed class EncodingManager
{
private readonly FileManager _fileManager;
pri... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dokas.FluentStrings;
using Mozilla.CharDet;
namespace dokas.EncodingConverter.Logic
{
internal sealed class EncodingManager
{
private readonly FileManager _fileManager;
pri... | mit | C# |
2bc4b8328fd324beb78bbfd8dde42f79c879859c | Update MainWindowTests.cs | JohanLarsson/Gu.Wpf.Adorners | Gu.Wpf.Adorners.UiTests/MainWindowTests.cs | Gu.Wpf.Adorners.UiTests/MainWindowTests.cs | namespace Gu.Wpf.Adorners.UiTests
{
using Gu.Wpf.UiAutomation;
using NUnit.Framework;
public class MainWindowTests
{
[Test]
public void ClickAllTabs()
{
// Just a smoke test so we don't crash.
using (var app = Application.Launch("Gu.Wpf.Adorners.Demo.exe... | namespace Gu.Wpf.Adorners.UiTests
{
using Gu.Wpf.UiAutomation;
using NUnit.Framework;
public class MainWindowTests
{
[Test]
public void ClickAllTabs()
{
// Just a smoke test so we don't crash.
using (var app = Application.Launch(Info.ExeFileName))
... | mit | C# |
cc2b487219b6a9be4a0d79527b89e4ecc6d63de3 | Increase version to 2.4.5 | Azure/amqpnetlite | src/Properties/Version.cs | src/Properties/Version.cs | // ------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the ""License""); you may not use this
// file except in compliance with the License. You may obtain a co... | // ------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the ""License""); you may not use this
// file except in compliance with the License. You may obtain a co... | apache-2.0 | C# |
b467fb2a400131af56e121b71da81311461774c2 | Update build.cake | predictive-technology-laboratory/Xamarin.Plugins,jamesmontemagno/Xamarin.Plugins | Contacts/build.cake | Contacts/build.cake | #addin "Cake.FileHelpers"
var TARGET = Argument ("target", Argument ("t", "Build"));
var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
Task ("Build").Does (() =>
{
const string sln = "./Contacts.sln";
const string cfg = "Release";
NuGetRestore (sln);
if (!I... | #addin "Cake.FileHelpers"
var TARGET = Argument ("target", Argument ("t", "Build"));
var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
Task ("Build").Does (() =>
{
const string sln = "./Contacts.sln";
const string cfg = "Release";
NuGetRestore (sln);
if (!I... | mit | C# |
2da9e3c8ecf7865b34b505a46e957cc7c90a0ea0 | Fix and off by oneish | stsundermann/banshee,GNOME/banshee,petejohanson/banshee,Carbenium/banshee,stsundermann/banshee,Dynalon/banshee-osx,allquixotic/banshee-gst-sharp-work,lamalex/Banshee,Dynalon/banshee-osx,mono-soc-2011/banshee,allquixotic/banshee-gst-sharp-work,ixfalia/banshee,petejohanson/banshee,arfbtwn/banshee,Dynalon/banshee-osx,Carb... | src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellDuration.cs | src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellDuration.cs | //
// ColumnCellDuration.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2007 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restr... | //
// ColumnCellDuration.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2007 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restr... | mit | C# |
9b05cbe24438574befe2dd0090b5a0ba173a916d | Fix issue where Get-AzureRmContext does not allow user to silently continue | AzureAutomationTeam/azure-powershell,naveedaz/azure-powershell,ClogenyTechnologies/azure-powershell,hungmai-msft/azure-powershell,naveedaz/azure-powershell,ClogenyTechnologies/azure-powershell,krkhan/azure-powershell,atpham256/azure-powershell,devigned/azure-powershell,naveedaz/azure-powershell,atpham256/azure-powershe... | src/ResourceManager/Profile/Commands.Profile/Context/GetAzureRMContext.cs | src/ResourceManager/Profile/Commands.Profile/Context/GetAzureRMContext.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... | apache-2.0 | C# |
af2ffac03a5fe99a4d62e0508e3e0f1e215d2be3 | Add global Top and Horizontal padding to NewsContent | smoogipoo/osu,UselessToucan/osu,ppy/osu,2yangk23/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,smoogipooo/osu,johnneijzen/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,EVAST9919/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,peppy/osu,smoogipoo/osu | osu.Game/Overlays/News/NewsContent.cs | osu.Game/Overlays/News/NewsContent.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Overlays.News
{
public abstract class NewsContent : FillFlowContainer
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Overlays.News
{
public abstract class NewsContent : FillFlowContainer
... | mit | C# |
696d0b8fb986959caac13535f6e475c8affec6c6 | Refactor NHibernate module for clarity | csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil | Agiil.Bootstrap/Data/NHibernateModule.cs | Agiil.Bootstrap/Data/NHibernateModule.cs | using System;
using Agiil.Data;
using Agiil.Domain;
using Autofac;
using NHibernate;
using NHibernate.Cfg;
namespace Agiil.Bootstrap.Data
{
public class NHibernateModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder
.Register(BuildNHibernateConfiguration)
... | using System;
using Agiil.Data;
using Agiil.Domain;
using Autofac;
using NHibernate;
using NHibernate.Cfg;
namespace Agiil.Bootstrap.Data
{
public class NHibernateModule : Module
{
protected override void Load(ContainerBuilder builder)
{
// Configuration
builder
.Register((ctx, paramet... | mit | C# |
e332856d1063c384bf3e82b359f1dd92b0a8a783 | change AspectContext to Public | AspectCore/Abstractions,AspectCore/AspectCore-Framework,AspectCore/Lite,AspectCore/AspectCore-Framework | src/AspectCore.Lite.Abstractions.Resolution/AspectContext.cs | src/AspectCore.Lite.Abstractions.Resolution/AspectContext.cs | using System;
namespace AspectCore.Lite.Abstractions.Resolution
{
public sealed class AspectContext : IAspectContext
{
private readonly IServiceProvider serviceProvider;
public IServiceProvider ServiceProvider
{
get
{
if (serviceProvider == null... | using System;
namespace AspectCore.Lite.Abstractions.Resolution
{
internal sealed class AspectContext : IAspectContext
{
private readonly IServiceProvider serviceProvider;
public IServiceProvider ServiceProvider
{
get
{
if (serviceProvider == nu... | mit | C# |
963a786c9ca182d7e5cfe802a383eae77dfe2de8 | Remove log message when initalizing the logger | jdno/AIChallengeFramework | IO/Logger.cs | IO/Logger.cs | //
// Copyright 2014 jdno
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | //
// Copyright 2014 jdno
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | apache-2.0 | C# |
5bbc720aea9be1197ff259d1929e9e9f1494f9d8 | update assembly version | 3gbywork/CommonUtility | CommonUtility/Properties/AssemblyInfo.cs | CommonUtility/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("CommonUtility")]
[assembly: AssemblyDescription("Common utilities for c#")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("CommonUtility")]
[assembly: AssemblyDescription("Common utilities for c#")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("... | mit | C# |
8cd25069da81d51de7c22969aec8a9208728117d | Update ApiSettings.cs | wrightmalone/is-that-a-dad | is-that-a-dad/Core/Settings/ApiSettings.cs | is-that-a-dad/Core/Settings/ApiSettings.cs | using System;
namespace is_that_a_dad.Core.Settings
{
class ApiSettings
{
public static Uri BaseUri = new Uri("http://api.cn.faceplusplus.com/");
public static Uri TestUri = new Uri("http://localhost:9000/");
public static string ApiKey = "";
public static string ApiSecret = "";
}
}
| using System;
namespace is_that_a_dad.Core.Settings
{
class ApiSettings
{
public static Uri BaseUri = new Uri("http://api.cn.faceplusplus.com/");
public static Uri TestUri = new Uri("http://localhost:9000/");
public static string ApiKey = "2affcadaeddd18f422375adc869f3991";
public static string Ap... | mit | C# |
513798f7e50053c0a8aff6b91c02cfa70f399410 | Add InternalsVisibleTo for T4 Tests | MSOpenTech/Vipr,v-am/Vipr,Microsoft/Vipr | src/Core/Vipr/Properties/AssemblyInfo.cs | src/Core/Vipr/Properties/AssemblyInfo.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through t... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through t... | mit | C# |
c3fc1168d1cee9a5487ce625b749272600402bf1 | Put declaration in right place | anilmujagic/DeploymentCockpit,anilmujagic/DeploymentCockpit,anilmujagic/DeploymentCockpit | src/DeploymentCockpit.Data/UnitOfWork.cs | src/DeploymentCockpit.Data/UnitOfWork.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DeploymentCockpit.Data.Repositories;
using DeploymentCockpit.Interfaces;
using DeploymentCockpit.Models;
namespace DeploymentCockpit.Data
{
public class UnitOfWork : IUnitOfWork
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DeploymentCockpit.Data.Repositories;
using DeploymentCockpit.Interfaces;
using DeploymentCockpit.Models;
namespace DeploymentCockpit.Data
{
public class UnitOfWork : IUnitOfWork
{
... | apache-2.0 | C# |
75a16dfcb957bc257e00581c9608118013c832c3 | fix parameters as passed to sethostname | fschwiet/PSHostsFile | PSHostsFile/CmdLets/SetHostsFileEntry.cs | PSHostsFile/CmdLets/SetHostsFileEntry.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Text;
using PSHostsFile.Core;
namespace PSHostsFile.CmdLets
{
[Cmdlet("set", "HostsFileEntry")]
public class SetHostsFileEntry : Cmdlet
{
[Parameter(Mandatory = true, HelpMessage ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Text;
using PSHostsFile.Core;
namespace PSHostsFile.CmdLets
{
[Cmdlet("set", "HostsFileEntry")]
public class SetHostsFileEntry : Cmdlet
{
[Parameter(Mandatory = true, HelpMessage ... | mit | C# |
f0f16cc8e967695a05080381253c142cae4d621d | Print statement modification | srinivas931/building-blocks-demo | DemoConsoleApp/DemoConsoleApp/Program.cs | DemoConsoleApp/DemoConsoleApp/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DemoConsoleApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World! - changed on the server");
Console.WriteLin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DemoConsoleApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World! - changed on the server");
Console.WriteLin... | mit | C# |
37851b0f214b999b5e23f85652c0e046d39abd6c | Revert to old input handling for pdf generator | mondeun/PdfAutofill | PdfAutofill/Controllers/PdfController.cs | PdfAutofill/Controllers/PdfController.cs | using System;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using PdfAutofill.Model;
using PdfAutofill.Service;
using PdfAutofill.Service.Impl;
namespace PdfAutofill.Controllers
{
[Route("api/[controller]")]
public class PdfController : Controller
{
private readonly IPdfService _service = new... | using System;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using PdfAutofill.Model;
using PdfAutofill.Service;
using PdfAutofill.Service.Impl;
namespace PdfAutofill.Controllers
{
[Route("api/[controller]")]
public class PdfController : Controller
{
private readonly IPdfService _service = new... | agpl-3.0 | C# |
ca26e1e72fced7f7b01ac3b7aa6552eabc67d317 | bump version to 2.8.3 | piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker | Piwik.Tracker/Properties/AssemblyInfo.cs | Piwik.Tracker/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("PiwikTracker")]
[assembly: Assembl... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PiwikTracker")]
[assembly: Assembl... | bsd-3-clause | C# |
dc9cb2100a23449ccaffbf87bf620a717d3fc56d | Update UnexpectedElasticsearchClientException.cs (#3047) | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Elasticsearch.Net/Exceptions/UnexpectedElasticsearchClientException.cs | src/Elasticsearch.Net/Exceptions/UnexpectedElasticsearchClientException.cs | using System;
using System.Collections.Generic;
namespace Elasticsearch.Net
{
public class UnexpectedElasticsearchClientException : ElasticsearchClientException
{
public List<PipelineException> SeenExceptions { get; set; }
public UnexpectedElasticsearchClientException(Exception killerException, List<PipelineEx... | using System;
using System.Collections.Generic;
namespace Elasticsearch.Net
{
public class UnexpectedElasticsearchClientException : ElasticsearchClientException
{
public List<PipelineException> SeenExceptions { get; set; }
public UnexpectedElasticsearchClientException(Exception killerException, List<PipelineEx... | apache-2.0 | C# |
f82e85deb555b3db4b4e1d74e7118f23dd0b6563 | Remove user.Identities from ProfilePageViewModel. | M-Zuber/JabbR,CrankyTRex/JabbRMirror,lukehoban/JabbR,JabbR/JabbR,timgranstrom/JabbR,huanglitest/JabbRTest2,e10/JabbR,LookLikeAPro/JabbR,fuzeman/vox,CrankyTRex/JabbRMirror,LookLikeAPro/JabbR,yadyn/JabbR,yadyn/JabbR,CrankyTRex/JabbRMirror,JabbR/JabbR,timgranstrom/JabbR,meebey/JabbR,LookLikeAPro/JabbR,fuzeman/vox,18098924... | JabbR/ViewModels/ProfilePageViewModel.cs | JabbR/ViewModels/ProfilePageViewModel.cs | using System;
using System.Collections.Generic;
using JabbR.Models;
using JabbR.Services;
using WorldDomination.Web.Authentication;
namespace JabbR.ViewModels
{
public class ProfilePageViewModel
{
public ProfilePageViewModel(ChatUser user, IEnumerable<IAuthenticationProvider> configuredProvide... | using System;
using System.Collections.Generic;
using JabbR.Models;
using JabbR.Services;
using WorldDomination.Web.Authentication;
namespace JabbR.ViewModels
{
public class ProfilePageViewModel
{
public ProfilePageViewModel(Models.ChatUser user, IEnumerable<IAuthenticationProvider> configured... | mit | C# |
de11849d09d2b83e9d4b3ed695649f5d365f19c1 | Handle aggregate exceptions | bugsnag/bugsnag-dotnet,bugsnag/bugsnag-dotnet | src/Bugsnag/Payload/Exception.cs | src/Bugsnag/Payload/Exception.cs | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Bugsnag.Payload
{
/// <summary>
/// Represents a set of Bugsnag payload exceptions that are generated from a single exception by resolving
/// the inner exceptions present.
/// </summary>
public ... | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Bugsnag.Payload
{
/// <summary>
/// Represents a set of Bugsnag payload exceptions that are generated from a single exception by resolving
/// the inner exceptions present.
/// </summary>
public ... | mit | C# |
2dca0d430b6f6eeda7c37e02fca82e4dccbb7772 | Fix test names | badescuga/kudu,kenegozi/kudu,barnyp/kudu,EricSten-MSFT/kudu,EricSten-MSFT/kudu,WeAreMammoth/kudu-obsolete,EricSten-MSFT/kudu,oliver-feng/kudu,barnyp/kudu,uQr/kudu,juvchan/kudu,puneet-gupta/kudu,sitereactor/kudu,shrimpy/kudu,puneet-gupta/kudu,shibayan/kudu,kali786516/kudu,shrimpy/kudu,WeAreMammoth/kudu-obsolete,dev-enth... | Kudu.Core.Test/SiteBuilderFactoryTest.cs | Kudu.Core.Test/SiteBuilderFactoryTest.cs | using Kudu.Core.Deployment;
using Moq;
using Xunit;
namespace Kudu.Core.Test {
public class SiteBuilderFactoryTest {
[Fact]
public void RequiresBuildCreatesMSBuildDeployer() {
var environment = new Mock<IEnvironment>();
environment.Setup(m => m.RequiresBuild).Returns(true);... | using Kudu.Core.Deployment;
using Moq;
using Xunit;
namespace Kudu.Core.Test {
public class SiteBuilderFactoryTest {
[Fact]
public void RequiesBuildCreatesMSBuildDeployer() {
var environment = new Mock<IEnvironment>();
environment.Setup(m => m.RequiresBuild).Returns(true);
... | apache-2.0 | C# |
1f25bfe14e10286d3022c3de1ff851036f0c20da | Move conditional compilation around namespace. | damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,damiensawyer/cassette,damiensawyer/cassette,honestegg/cassette,BluewireTechnologies/cassette,BluewireTechnologies/cassette | src/Cassette.Views/HtmlString.cs | src/Cassette.Views/HtmlString.cs | #if NET35
namespace Cassette.Views
{
public interface IHtmlString
{
string ToHtmlString();
}
public class HtmlString : IHtmlString
{
string _htmlString;
public HtmlString(string htmlString)
{
this._htmlString = htmlString;
}
public stri... | namespace Cassette.Views
{
#if NET35
public interface IHtmlString
{
string ToHtmlString();
}
public class HtmlString : IHtmlString
{
string _htmlString;
public HtmlString(string htmlString)
{
this._htmlString = htmlString;
}
public stri... | mit | C# |
b1c4d4acc472438dfa24752f5cf703947b4f99aa | Bump version from 1.2 to 1.3 | AlexxEG/FalloutLauncher | FalloutLauncher/Properties/AssemblyInfo.cs | FalloutLauncher/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Fa... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Fa... | mit | C# |
31b51e660fe33b3240b9fa3002cf74de7deca380 | Add null check. | bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1 | Source/Eto.Platform.Windows/Forms/Controls/GridViewHandler.cs | Source/Eto.Platform.Windows/Forms/Controls/GridViewHandler.cs | using System;
using swf = System.Windows.Forms;
using Eto.Forms;
using System.Linq;
using System.Collections.Generic;
namespace Eto.Platform.Windows.Forms.Controls
{
public class GridViewHandler : GridHandler<GridView>, IGridView
{
CollectionHandler collection;
public GridViewHandler ()
{
}
protected o... | using System;
using swf = System.Windows.Forms;
using Eto.Forms;
using System.Linq;
using System.Collections.Generic;
namespace Eto.Platform.Windows.Forms.Controls
{
public class GridViewHandler : GridHandler<GridView>, IGridView
{
CollectionHandler collection;
public GridViewHandler ()
{
}
protected o... | bsd-3-clause | C# |
c87a778d6dd5e05a1cd054f3e48cbfdd13eca51b | Remove nasty logic | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/WalletExplorer/BuildTabViewModel.cs | WalletWasabi.Gui/Controls/WalletExplorer/BuildTabViewModel.cs | using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WalletWasabi.Blockchain.TransactionBuilding;
using WalletWasabi.Gui.Helpers;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public... | using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WalletWasabi.Blockchain.TransactionBuilding;
using WalletWasabi.Gui.Helpers;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public... | mit | C# |
b6e43234e7d86e3837339adee3b99929b182132c | Revert test. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Tabs/WalletManager/WalletManagerViewModel.cs | WalletWasabi.Gui/Tabs/WalletManager/WalletManagerViewModel.cs | using ReactiveUI;
using System;
using System.Collections.ObjectModel;
using System.Composition;
using System.Linq;
using System.Reactive.Disposables;
using WalletWasabi.Gui.Tabs.WalletManager.GenerateWallets;
using WalletWasabi.Gui.Tabs.WalletManager.HardwareWallets;
using WalletWasabi.Gui.Tabs.WalletManager.LoadWallet... | using ReactiveUI;
using System;
using System.Collections.ObjectModel;
using System.Composition;
using System.Linq;
using System.Reactive.Disposables;
using WalletWasabi.Gui.Tabs.WalletManager.GenerateWallets;
using WalletWasabi.Gui.Tabs.WalletManager.HardwareWallets;
using WalletWasabi.Gui.Tabs.WalletManager.LoadWallet... | mit | C# |
ba99c5c134d5563725c46b57b6854befa2c91ac8 | Remove rolling delay on default combo counter | peppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu | osu.Game/Screens/Play/HUD/DefaultComboCounter.cs | osu.Game/Screens/Play/HUD/DefaultComboCounter.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.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterfa... | // 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.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterfa... | mit | C# |
0d83885f4c524564ebfe9d0272fff7f776f37708 | Fix serviceAccount for tests | coe-google-apps-support/Mailman,coe-google-apps-support/Mailman,coe-google-apps-support/Mailman | src/Mailman.Tests/SheetsTests.cs | src/Mailman.Tests/SheetsTests.cs | using FluentAssertions;
using Google.Apis.Sheets.v4;
using Mailman.Server.Controllers;
using Mailman.Services;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using System;
using Sys... | using FluentAssertions;
using Google.Apis.Sheets.v4;
using Mailman.Server.Controllers;
using Mailman.Services;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
usi... | mit | C# |
368aaaccf09bbfcfdb1fb673f290e0bb44894d2a | Update ViewLocator.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/ViewLocator.cs | src/Core2D/ViewLocator.cs | #nullable enable
using System;
using Avalonia.Controls;
using Avalonia.Controls.Templates;
using Core2D.ViewModels;
using Dock.Model.Mvvm.Core;
namespace Core2D;
public partial class ViewLocator : IDataTemplate
{
public IControl Build(object? data)
{
var name = data?.GetType().FullName?.Replace("ViewM... | #nullable enable
using System;
using Avalonia.Controls;
using Avalonia.Controls.Templates;
using Core2D.ViewModels;
using Dock.Model.Mvvm.Core;
namespace Core2D;
public partial class ViewLocator : IDataTemplate
{
public IControl Build(object? data)
{
var name = data?.GetType().FullName?.Replace("ViewM... | mit | C# |
aabdbdaeb6c53179f0c0549f60cfdec4080007ab | Update tests with new behaviour | peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework.Tests/Localisation/CultureInfoHelperTest.cs | osu.Framework.Tests/Localisation/CultureInfoHelperTest.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.Globalization;
using NUnit.Framework;
using osu.Framework.Localisation;
namespace osu.Framework.Tests.Localisation
{
[TestFixture]
public class Cult... | // 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.Globalization;
using NUnit.Framework;
using osu.Framework.Localisation;
namespace osu.Framework.Tests.Localisation
{
[TestFixture]
public class Cult... | mit | C# |
2ae06ea6ffda64db85bfc7e6a0731b49e4e110d0 | Remove unused source field | ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework | osu.Framework/Graphics/Containers/GridContainerContent.cs | osu.Framework/Graphics/Containers/GridContainerContent.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using JetBrains.Annotations;
using osu.Framework.Lists;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// A wrapper that provides access to the <s... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using JetBrains.Annotations;
using osu.Framework.Lists;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// A wrapper that provides access to the <s... | mit | C# |
7af7fdf00b62bc9b8207e5ceaf9f15bf464b306c | add cache to require feature | JohnMasen/ChakraCore.NET,JohnMasen/ChakraCore.NET,JohnMasen/ChakraCore.NET | source/ChakraCore.NET/JSRequireLoader.cs | source/ChakraCore.NET/JSRequireLoader.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace ChakraCore.NET
{
public class JSRequireLoader
{
public string RootPath { get; set; } = string.Empty;
private Dictionary<string, string> scriptCache = new Dictionary<string, string>();
public string LoadLib(str... | using System;
using System.Collections.Generic;
using System.Text;
namespace ChakraCore.NET
{
public class JSRequireLoader
{
public string RootPath { get; set; } = string.Empty;
public string LoadLib(string name)
{
System.IO.DirectoryInfo info = new System.IO.DirectoryInfo(... | mit | C# |
75147c7cdaeb643be903a3564c1442424af08ec2 | Add ColorPicker.ValueBinding | bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto | Source/Eto/Forms/Controls/ColorPicker.cs | Source/Eto/Forms/Controls/ColorPicker.cs | using System;
using Eto.Drawing;
using System.ComponentModel;
namespace Eto.Forms
{
/// <summary>
/// Control to show and pick a color.
/// </summary>
[Handler(typeof(ColorPicker.IHandler))]
public class ColorPicker : Control
{
new IHandler Handler { get { return (IHandler)base.Handler; } }
/// <summary>
... | using System;
using Eto.Drawing;
using System.ComponentModel;
namespace Eto.Forms
{
/// <summary>
/// Control to show and pick a color.
/// </summary>
[Handler(typeof(ColorPicker.IHandler))]
public class ColorPicker : Control
{
new IHandler Handler { get { return (IHandler)base.Handler; } }
/// <summary>
... | bsd-3-clause | C# |
d3e137a0cff3b7147fe3e481d96bf670a21dfd3b | Fix focus issues with drop down buttons | iainx/xwt,sevoku/xwt,akrisiun/xwt,cra0zy/xwt,mminns/xwt,mminns/xwt,lytico/xwt,hamekoz/xwt,residuum/xwt,mono/xwt,steffenWi/xwt,antmicro/xwt,hwthomas/xwt,TheBrainTech/xwt,directhex/xwt | Xwt.WPF/Xwt.WPFBackend/DropDownButton.cs | Xwt.WPF/Xwt.WPFBackend/DropDownButton.cs | //
// DropDownButton.cs
//
// Author:
// Eric Maupin <ermau@xamarin.com>
//
// Copyright (c) 2012 Xamarin, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restrictio... | //
// DropDownButton.cs
//
// Author:
// Eric Maupin <ermau@xamarin.com>
//
// Copyright (c) 2012 Xamarin, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restrictio... | mit | C# |
cd77e0cdd6941ccbf6197f46fdbdd596996c796b | remove double start calls for structuremap | OdeToCode/Memflex,OdeToCode/Memflex | src/Sample/Global.asax.cs | src/Sample/Global.asax.cs | using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using LogMeIn.App_Start;
namespace LogMeIn
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=9394801
public class MvcApplication : Sy... | using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using LogMeIn.App_Start;
namespace LogMeIn
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=9394801
public class MvcApplication : Sy... | mit | C# |
625c56c8a0661f012f374f28a3a46c29425ea7f3 | Bump version | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET | src/SharedAssemblyInfo.cs | src/SharedAssemblyInfo.cs | using System.Reflection;
// Assembly Info that is shared across the product
[assembly: AssemblyProduct("InEngine.NET")]
[assembly: AssemblyVersion("3.1.0.*")]
[assembly: AssemblyInformationalVersion("3.1.0")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ethan Hann")]
[assembly: AssemblyCopyright(... | using System.Reflection;
// Assembly Info that is shared across the product
[assembly: AssemblyProduct("InEngine.NET")]
[assembly: AssemblyVersion("3.0.0.*")]
[assembly: AssemblyInformationalVersion("3.0.0")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ethan Hann")]
[assembly: AssemblyCopyright(... | mit | C# |
1743e912b20a35ebe48aab3fda6eee6a05e20b7d | fix invalid fallback to nonmatching strings | nerai/CMenu | src/ExampleMenu/Util.cs | src/ExampleMenu/Util.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ConsoleMenu;
namespace ExampleMenu
{
public class Util
{
/// <summary>
/// Loose string comparison. Returns the best match using increasingly inaccurate comparisons.
/// Also makes sure there is a sole match at that le... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ConsoleMenu;
namespace ExampleMenu
{
public class Util
{
/// <summary>
/// Loose string comparison. Returns the best match using increasingly inaccurate comparisons.
/// Also makes sure there is a sole match at that le... | mit | C# |
0c9ca7d1a55fe2fc152726065e961c859a8f43cd | fix description typo | Dalet/livesplit-autosplitting | Variables/Action.cs | Variables/Action.cs | using LiveSplit.AutoSplitting.Editors;
using LiveSplit.AutoSplitting.Variables;
using System.Xml;
[assembly: VariableRegister(typeof(Action), typeof(ActionEditor))]
namespace LiveSplit.AutoSplitting.Variables
{
[VariableDescriptor(AllowMultiple = false, Description = "Makes the autosplit trigger only on a c... | using LiveSplit.AutoSplitting.Editors;
using LiveSplit.AutoSplitting.Variables;
using System.Xml;
[assembly: VariableRegister(typeof(Action), typeof(ActionEditor))]
namespace LiveSplit.AutoSplitting.Variables
{
[VariableDescriptor(AllowMultiple = false, Description = "Makes the autosplit trigger only a cert... | mit | C# |
6bf0b888927c74f4c8cc5cd1d636216d2bc45a12 | Update Class1.cs | ARMmaster17/langlib | LangLib/LangLib/Class1.cs | LangLib/LangLib/Class1.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace LangLib
{
public class LangLibrary
{
private List<string> appLangStrings = new List<string>();
public LangLibrary(string rootDir, string Lang)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace LangLib
{
public class LangLibrary
{
private List<string> appLangStrings = new List<string>();
public LangLibrary(string rootDir, string Lang)
... | mit | C# |
5ab4398ba76c54ad5efdc2486d3fea16b581a661 | Add test to cover `RegisterHelper` readme example | rexm/Handlebars.Net,rexm/Handlebars.Net | source/Handlebars.Test/ReadmeTests.cs | source/Handlebars.Test/ReadmeTests.cs | using System.Collections.Generic;
using Xunit;
namespace HandlebarsDotNet.Test
{
public class ReadmeTests
{
[Fact]
public void RegisterBlockHelper()
{
var handlebars = Handlebars.Create();
handlebars.RegisterHelper("StringEqualityBlockHelper", (output, options, c... | using System.Collections.Generic;
using Xunit;
namespace HandlebarsDotNet.Test
{
public class ReadmeTests
{
[Fact]
public void RegisterBlockHelper()
{
var handlebars = Handlebars.Create();
handlebars.RegisterHelper("StringEqualityBlockHelper", (output, options, c... | mit | C# |
a1be190b91f0d952cc7cea1e6d877929f501ed97 | Remove remaining engine-specific code (#647) | reactjs/React.NET,reactjs/React.NET,reactjs/React.NET,reactjs/React.NET,reactjs/React.NET,reactjs/React.NET | src/React.Core/JavaScriptEngineUtils.cs | src/React.Core/JavaScriptEngineUtils.cs | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
using System;
using JavaScriptEngineSwitcher.Core;
using JavaScriptEngineSwitcher.Core.Helpers;
using Newtonsoft.Json;
using React.... | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
using System;
using JavaScriptEngineSwitcher.Core;
using JavaScriptEngineSwitcher.Core.Helpers;
using Newtonsoft.Json;
using React.... | mit | C# |
8be31f4805385708909b4405dd3c2aeb427bda15 | Adjust legacy skin judgement transforms to match stable | peppy/osu,smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,peppy/osu | osu.Game/Skinning/LegacyJudgementPiece.cs | osu.Game/Skinning/LegacyJudgementPiece.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Animations;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Judgements;
using osu.Game.Ruleset... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Animations;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Judgements;
using osu.Game.Ruleset... | mit | C# |
b9010072aa351ea8d5fb8a95ea2b3b27101bae6c | Fix github #164 (when return type is object we always return 204) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Mvc.Core/ActionResultFactory.cs | src/Microsoft.AspNet.Mvc.Core/ActionResultFactory.cs | using System;
namespace Microsoft.AspNet.Mvc
{
public class ActionResultFactory : IActionResultFactory
{
private readonly IActionResultHelper _result;
public ActionResultFactory(IActionResultHelper result)
{
_result = result;
}
public IActionResult CreateA... | using System;
namespace Microsoft.AspNet.Mvc
{
public class ActionResultFactory : IActionResultFactory
{
private readonly IActionResultHelper _result;
public ActionResultFactory(IActionResultHelper result)
{
_result = result;
}
public IActionResult CreateA... | apache-2.0 | C# |
03d219375f16eaf6b51372a832561fda7bdc5af5 | Update Program.cs | NMSLanX/Natasha | samples/Core21/Program.cs | samples/Core21/Program.cs | using Natasha;
using System;
namespace Core21
{
class Program
{
static void Main(string[] args)
{
/*
* 在此之前,你需要右键,选择工程文件,在你的.csproj里面
*
* 写上这样一句浪漫的话:
*
* <PreserveCompilationContext>true</PreserveComp... | using Natasha;
using System;
namespace Core21
{
class Program
{
static void Main(string[] args)
{
/*
* 在此之前,你需要右键,选择工程文件,在你的.csproj里面
*
* 写上这样一句浪漫的话:
*
* <PreserveCompilationContext>true</PreserveComp... | mpl-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.