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 |
|---|---|---|---|---|---|---|---|---|
65ec85b3a5c75af0181ebe328fae58e016f1feb2 | Remove escape handling logic from FocusedOverlayContainer | ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ppy/osu-framew... | osu.Framework/Graphics/Containers/FocusedOverlayContainer.cs | osu.Framework/Graphics/Containers/FocusedOverlayContainer.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
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// An overlay container that eagerly holds keyboard focus.
/// </summary>
public... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Input;
using OpenTK.Input;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// An overlay container that eagerly hold... | mit | C# |
fff1cb0b355e9b8984dbc950dd8d2d4412e01a94 | Fix allowed mods not being copied when populating playlist items | peppy/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu | osu.Game/Screens/OnlinePlay/Playlists/PlaylistsSongSelect.cs | osu.Game/Screens/OnlinePlay/Playlists/PlaylistsSongSelect.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.Linq;
using osu.Framework.Allocation;
using osu.Framework.Screens;
using osu.Game.Beatmaps;
using osu.Game.Online.Rooms;
using osu.Game.Screens.OnlinePlay.C... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Screens;
using osu.Game.Beatmaps;
using osu.Game.Online.Rooms;
using osu.Game.Screens.OnlinePlay.C... | mit | C# |
2b8c4423d732a9d6e856f0e7736a5a6dce1b7e78 | Add more supported image extensions to the image viewer plugin. | campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,dsplaisted/NuGetPackageExplorer,BreeeZe/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer | PackageExplorer/MefServices/ImageFileViewer.cs | PackageExplorer/MefServices/ImageFileViewer.cs | using System.IO;
using System.Windows.Controls;
using System.Windows.Media.Imaging;
using NuGetPackageExplorer.Types;
namespace PackageExplorer {
[PackageContentViewerMetadata(99, ".jpg", ".gif", ".png", ".tif", ".bmp", ".ico")]
internal class ImageFileViewer : IPackageContentViewer {
public o... | using System.IO;
using System.Windows.Controls;
using System.Windows.Media.Imaging;
using NuGetPackageExplorer.Types;
namespace PackageExplorer {
[PackageContentViewerMetadata(99, ".jpg", ".gif", ".png", ".tif")]
internal class ImageFileViewer : IPackageContentViewer {
public object GetView(st... | mit | C# |
782912e959a895644df3a9e710186962db286fd9 | Revert "Closes #99: Fixed VS2008 support." | codemerlin/git-tfs,TheoAndersen/git-tfs,allansson/git-tfs,WolfVR/git-tfs,bleissem/git-tfs,adbre/git-tfs,kgybels/git-tfs,steveandpeggyb/Public,guyboltonking/git-tfs,steveandpeggyb/Public,irontoby/git-tfs,spraints/git-tfs,kgybels/git-tfs,allansson/git-tfs,steveandpeggyb/Public,kgybels/git-tfs,hazzik/git-tfs,vzabavnov/git... | GitTfs.Vs2008/TfsHelper.Vs2008.cs | GitTfs.Vs2008/TfsHelper.Vs2008.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.VersionControl.Client;
using Sep.Git.Tfs.Core.TfsInterop;
using Sep.Git.Tfs.Util;
using Sep.Git.Tfs.VsCommon;
using StructureMap;
namespace Sep.Git.Tfs.Vs2008
{
p... | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.VersionControl.Client;
using Sep.Git.Tfs.Core.TfsInterop;
using Sep.Git.Tfs.Util;
using Sep.Git.Tfs.VsCommon;
using StructureMap;
namespace Sep.Git.Tfs.Vs2008
{
p... | apache-2.0 | C# |
f48984920d5b489adba4afd4a8c3c9fedaceebe1 | Change bonus volume logic to work | smoogipooo/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSpinnerTick.cs | osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSpinnerTick.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Osu.Judgements;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Osu.Objects.Drawables
{
public class DrawableSpinnerTick : Drawa... | // 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.Audio;
using osu.Framework.Bindables;
using osu.Game.Rulesets.Osu.Judgements;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Osu.Object... | mit | C# |
9363e2d59e0cd3f3978fae267e465b299d61720d | Fix getting current screen for windows (use actual width/height) | l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto | Source/Eto.Platform.Wpf/Forms/ScreenHandler.cs | Source/Eto.Platform.Wpf/Forms/ScreenHandler.cs | using System;
using Eto.Forms;
using sw = System.Windows;
using sd = System.Drawing;
using swm = System.Windows.Media;
using swf = System.Windows.Forms;
using Eto.Drawing;
namespace Eto.Platform.Wpf.Forms
{
public class ScreenHandler : WidgetHandler<swf.Screen, Screen>, IScreen
{
float scale;
public ScreenHandl... | using System;
using Eto.Forms;
using sw = System.Windows;
using sd = System.Drawing;
using swm = System.Windows.Media;
using swf = System.Windows.Forms;
using Eto.Drawing;
namespace Eto.Platform.Wpf.Forms
{
public class ScreenHandler : WidgetHandler<swf.Screen, Screen>, IScreen
{
float scale;
public ScreenHandl... | bsd-3-clause | C# |
9a38e62f4a05b43d36060938506ae3b02c6d11a0 | Update version number to reflect changes | mrkno/TitleCleaner | TitleCleanerConsole/Properties/AssemblyInfo.cs | TitleCleanerConsole/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | mit | C# |
178aedcac6811f57722b42af434de431aa66f1b7 | Fix for 'Prelude.delay throws exception' https://github.com/louthy/language-ext/issues/79 Thanks @OlduwanSteve | StanJav/language-ext,StefanBertels/language-ext,louthy/language-ext | LanguageExt.Core/Prelude_Timer.cs | LanguageExt.Core/Prelude_Timer.cs | using System;
using System.Linq;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Threading.Tasks;
namespace LanguageExt
{
public static partial class Prelude
{
/// <summary>
/// Execute a function after a specified delay
/// </summary>
/// <param... | using System;
using System.Linq;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Threading.Tasks;
namespace LanguageExt
{
public static partial class Prelude
{
/// <summary>
/// Execute a function after a specified delay
/// </summary>
/// <param... | mit | C# |
8726b2e2a1fe436530829f0fd8a7f768dbdb585e | Update version. | VictorZakharov/pinwin | PinWin/Properties/AssemblyInfo.cs | PinWin/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("Pi... | 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("Pi... | mit | C# |
7e27ad8941e84e95266a624fbc1efae2adb4d9eb | fix Warning level | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Upgrades/Upgrade_20210210_UpgradeNugets.cs | Signum.Upgrade/Upgrades/Upgrade_20210210_UpgradeNugets.cs | using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace Signum.Upgrade.Upgrades
{
class Upgrade_20210210_UpgradeNugets : CodeUpgradeBase
{
... | using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace Signum.Upgrade.Upgrades
{
class Upgrade_20210210_UpgradeNugets : CodeUpgradeBase
{
... | mit | C# |
58033134ca5bfb1c2cd606513f02b854ba7529c9 | replace uploading qr code with shortening nfshost link | HouseBreaker/Shameless | Shameless/QRGeneration/QRUtils.cs | Shameless/QRGeneration/QRUtils.cs | namespace Shameless.QRGeneration
{
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Net;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using ZXing;
using ZXing.Common;
public static class QrUtils
{
public static QrResult MakeUrlIntoQrCode(string url)
{
va... | namespace Shameless.QRGeneration
{
using System.Drawing;
using System.Net;
using ZXing;
using ZXing.Common;
public static class QrUtils
{
public static QrResult MakeTicketIntoQrCode(string path)
{
var resultUrl = UploadToTempHost(path);
var writer = new BarcodeWriter
{
Format = BarcodeFormat.... | mit | C# |
2fd70bc78a7bfc8c13e1d9b6ef94a354a9932a3a | Add auto unload model | tobyclh/UnityCNTK,tobyclh/UnityCNTK | Assets/UnityCNTK/Models/Model.cs | Assets/UnityCNTK/Models/Model.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine.Assertions;
using System.Linq;
using UnityEngine;
using UnityEditor;
using CNTK;
using System.Timers;
using System.Threading;
using CNTK;
namespace UnityCNTK
{
// Unifying class that combine the use of both EvalDLL and CNTKLibrary
// ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine.Assertions;
using System.Linq;
using UnityEngine;
using UnityEditor;
using CNTK;
using System.Timers;
using System.Threading;
using CNTK;
namespace UnityCNTK
{
// Unifying class that combine the use of both EvalDLL and CNTKLibrary
// ... | mit | C# |
2fd3e222399af19f2b14c6e5e75c2710d9bae6a8 | Use ToUpperInvariant instead of culture version | mono/maccore | src/Foundation/ExportAttribute.cs | src/Foundation/ExportAttribute.cs | //
// ExportAttribute.cs: The Export attribute
//
// Authors:
// Geoff Norton
//
// Copyright 2009, Novell, Inc.
// Copyright 2010, Novell, Inc.
// Copyright 2011, 2012 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files... | //
// ExportAttribute.cs: The Export attribute
//
// Authors:
// Geoff Norton
//
// Copyright 2009, Novell, Inc.
// Copyright 2010, Novell, Inc.
// Copyright 2011, 2012 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files... | apache-2.0 | C# |
ea1a210a3bd4e7ea24fa5610fcead0007762934c | Clear all view engines and add only Razor view engine (performance) | juliameleshko/AnimalHope,juliameleshko/AnimalHope | AnimalHope/AnimalHope.Web/Global.asax.cs | AnimalHope/AnimalHope.Web/Global.asax.cs | using AnimalHope.Web.Infrastructure.Mapping;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace AnimalHope.Web
{
public class MvcApplication : System.Web.HttpApplication
{
protect... | using AnimalHope.Web.Infrastructure.Mapping;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace AnimalHope.Web
{
public class MvcApplication : System.Web.HttpApplication
{
protect... | mit | C# |
00febf3a56b6b912da578d8ce78b7de0fa82fd55 | Load environment variables from different targets to support ASP.Net applications. | CH3CHO/Archaius.Net | Archaius.Net/EnvironmentConfiguration.cs | Archaius.Net/EnvironmentConfiguration.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Archaius
{
public class EnvironmentConfiguration : DictionaryConfiguration
{
public EnvironmentConfiguration()
: base(GetEnvironmentVariables())
{
}
public overri... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Archaius
{
public class EnvironmentConfiguration : DictionaryConfiguration
{
public EnvironmentConfiguration()
: base(GetEnvironmentVariables())
{
}
public overri... | mit | C# |
c8681e724e77b01d4d468652c95f4752bd208e58 | fix bug: star didn't destroy | 39M/LMix | Assets/Scenes/InGame/Scripts/StarMove.cs | Assets/Scenes/InGame/Scripts/StarMove.cs | using UnityEngine;
using System.Collections;
public class StarMove : MonoBehaviour
{
GamePlayer status;
void Start ()
{
status = GameObject.Find ("GamePlayer").GetComponent ("GamePlayer") as GamePlayer;
}
void Update ()
{
if (status.pause)
return;
transform.Translate (Vector3.back * Random.Range (5f... | using UnityEngine;
using System.Collections;
public class StarMove : MonoBehaviour
{
GamePlayer status;
void Start ()
{
status = GameObject.Find ("GamePlayer").GetComponent ("GamePlayer") as GamePlayer;
}
void Update ()
{
if (status.pause)
return;
transform.Translate (Vector3.back * Random.Range (5f... | mit | C# |
5f4d7437bcdafc03434d62446683b5d1692940ae | Fix the issue | smoogipooo/osu,NeoAdonis/osu,ppy/osu,johnneijzen/osu,peppy/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu,UselessToucan/osu,ZLima12/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,ZLima12/osu,peppy/osu-new,2yangk23/osu,NeoAdonis/osu,johnneijzen/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,peppy/osu,EVAST9919/osu,2y... | osu.Game/Graphics/Containers/OsuHoverContainer.cs | osu.Game/Graphics/Containers/OsuHoverContainer.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.Allocation;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osuTK.Graphic... | // 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.Allocation;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osuTK.Graphic... | mit | C# |
f85e1e1829b0adc27259e00af5ed0097266ab7d1 | implement Comment property for JpegComment | punker76/taglib-sharp,hwahrmann/taglib-sharp,CamargoR/taglib-sharp,archrival/taglib-sharp,archrival/taglib-sharp,Clancey/taglib-sharp,CamargoR/taglib-sharp,Clancey/taglib-sharp,punker76/taglib-sharp,Clancey/taglib-sharp,mono/taglib-sharp,hwahrmann/taglib-sharp | src/TagLib/Jpeg/JpegCommentTag.cs | src/TagLib/Jpeg/JpegCommentTag.cs | //
// JpegCommentTag.cs:
//
// Author:
// Ruben Vermeersch (ruben@savanne.be)
//
// Copyright (C) 2009 Ruben Vermeersch
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License version
// 2.1 as published by the Free Software Foundation... | //
// JpegCommentTag.cs:
//
// Author:
// Ruben Vermeersch (ruben@savanne.be)
//
// Copyright (C) 2009 Ruben Vermeersch
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License version
// 2.1 as published by the Free Software Foundation... | lgpl-2.1 | C# |
c24408c16bede3e1beb28b5012c025ae4ac976fd | Change version number. | ollyau/FSWebMap | WebMap/Properties/AssemblyInfo.cs | WebMap/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
07a0905fa20e87f313c65b91e588bff120e641db | Add TODO to LinkType | leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net | src/JoinRpg.DataModel/Links.cs | src/JoinRpg.DataModel/Links.cs | using JetBrains.Annotations;
namespace JoinRpg.DataModel
{
// TODO add unit test to ensure that everything covered
public enum LinkType
{
ResultUser,
ResultCharacterGroup,
ResultCharacter,
Claim,
Plot,
Comment,
Project,
CommentDiscussion,
... | using JetBrains.Annotations;
namespace JoinRpg.DataModel
{
public enum LinkType
{
ResultUser,
ResultCharacterGroup,
ResultCharacter,
Claim,
Plot,
Comment,
Project,
CommentDiscussion,
PaymentSuccess,
PaymentFail,
}
public i... | mit | C# |
e6a7a8d8f14e6348772a0037362703ecac1b7b88 | Make the facades a no-op on Windows platforms, so they don't troll PCL authors | xamarin/ModernHttpClient,scoodah/ModernHttpClient,kensykora/ModernHttpClient,nachocove/ModernHttpClient-demo,mattleibow/ModernHttpClient,djlewisxactware/ModernHttpClient,koltsov-ps/ModernHttpClient,tpurtell/ModernHttpClient,tomgilder/OkHttpClient,pacificIT/ModernHttpClient,paulcbetts/ModernHttpClient,leonardors/ModernH... | src/ModernHttpClient/Facades.cs | src/ModernHttpClient/Facades.cs | using System;
using System.Net.Http;
using System.Threading.Tasks;
using System.Threading;
using System.IO;
namespace ModernHttpClient.Portable
{
public class NativeMessageHandler : HttpClientHandler
{
/// <summary>
/// Initializes a new instance of the <see
/// cref="ModernHttpClient.... | using System;
using System.Net.Http;
using System.Threading.Tasks;
using System.Threading;
using System.IO;
namespace ModernHttpClient.Portable
{
public class NativeMessageHandler : HttpMessageHandler
{
const string wrongVersion = "You're referencing the Portable version in your App - you need to refe... | mit | C# |
e3b8e93d27847dd6c718185e42ebeb99839864eb | Remove cost att | heynickc/dto_assembly,heynickc/dto_assembly,heynickc/dto_assembly | DtoDeepDive.Data/DTO/LaborSequenceDTO.cs | DtoDeepDive.Data/DTO/LaborSequenceDTO.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DtoDeepDive.Data.DTO {
public class LaborSequenceDTO {
public string SequenceNumber { get; set; }
public string SequenceDescription { get; set; }
public double RunT... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DtoDeepDive.Data.DTO {
public class LaborSequenceDTO {
public string SequenceNumber { get; set; }
public string SequenceDescription { get; set; }
public double RunT... | mit | C# |
7765eba9e261e0bbdd014b6d6faa4dc92efffa19 | Add Error property | Archie-Yang/PcscDotNet | src/PcscDotNet/PcscException.cs | src/PcscDotNet/PcscException.cs | using System;
using System.ComponentModel;
namespace PcscDotNet
{
public class PcscException : Win32Exception
{
public SCardError Error => (SCardError)NativeErrorCode;
public PcscException() { }
public PcscException(int error) : base(error) { }
public PcscException(SCardError... | using System;
using System.ComponentModel;
namespace PcscDotNet
{
public class PcscException : Win32Exception
{
public PcscException() { }
public PcscException(int error) : base(error) { }
public PcscException(SCardError error) : base((int)error) { }
public PcscException(stri... | mit | C# |
1c609f81014aaf90fa62fd1badca013b73affa38 | Fix FindByChildContentStrategy | YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata | src/Atata/ScopeSearch/Strategies/FindByChildContentStrategy.cs | src/Atata/ScopeSearch/Strategies/FindByChildContentStrategy.cs | using System.Text;
namespace Atata
{
public class FindByChildContentStrategy : XPathComponentScopeLocateStrategy
{
private readonly int childIndex;
public FindByChildContentStrategy(int childIndex)
{
this.childIndex = childIndex;
}
protected overrid... | using System.Text;
namespace Atata
{
public class FindByChildContentStrategy : XPathComponentScopeLocateStrategy
{
private readonly int childIndex;
public FindByChildContentStrategy(int childIndex)
{
this.childIndex = childIndex;
}
protected overrid... | apache-2.0 | C# |
f28c2d2fd049757eae2d353f1f14b474c7c34e86 | Fix documentation typo. | brendankowitz/azure-webjobs-sdk,gibwar/azure-webjobs-sdk,vasanthangel4/azure-webjobs-sdk,oliver-feng/azure-webjobs-sdk,Azure/azure-webjobs-sdk,brendankowitz/azure-webjobs-sdk,vasanthangel4/azure-webjobs-sdk,oliver-feng/azure-webjobs-sdk,gibwar/azure-webjobs-sdk,vasanthangel4/azure-webjobs-sdk,oaastest/azure-webjobs-sdk... | src/Microsoft.WindowsAzure.Jobs/NoAutomaticTriggerAttribute.cs | src/Microsoft.WindowsAzure.Jobs/NoAutomaticTriggerAttribute.cs | using System;
namespace Microsoft.WindowsAzure.Jobs
{
/// <summary>
/// Represents an attribute that is used to indicate that the JobHost should not listen to
/// this method. This can be useful to avoid the performance impact of listening on a large container
/// or to avoid inadvertent triggering of... | using System;
namespace Microsoft.WindowsAzure.Jobs
{
/// <summary>
/// Represents an attribute that is used to indicate that the JobHost should not listen to
/// this method. This can be useful to avoid the performance impact of listening on a large container
/// or to avoid inadvertant triggering of... | mit | C# |
132ccee3988a296ffdba3406d8c05343f5f36f35 | Revert "reImplemetn getToken request to use JSON" | dfensgmbh/biz.dfch.CS.CoffeeTracker | src/biz.dfch.CS.CoffeeTracker.Client/AuthenticationHelper.cs | src/biz.dfch.CS.CoffeeTracker.Client/AuthenticationHelper.cs | /**
* Copyright 2017 d-fens GmbH
*
* 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 agreed to in... | /**
* Copyright 2017 d-fens GmbH
*
* 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 agreed to in... | apache-2.0 | C# |
69afefa78848bc9258662646cd5433cf52a505a1 | Change Version string from 0.5.11 to 0.6.0 for release. | ft-/opensim-optimizations-wip,ft-/arribasim-dev-tests,M-O-S-E-S/opensim,AlphaStaxLLC/taiga,bravelittlescientist/opensim-performance,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,Michelle-Argus/ArribasimExtract,bravelittlescientist/opensim-performance,justinccdev/opensim,OpenSimian/opensimulator,ft-/opensim-optimizations-wip-tes... | OpenSim/Framework/Servers/VersionInfo.cs | OpenSim/Framework/Servers/VersionInfo.cs | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | bsd-3-clause | C# |
cf5378d1c11f3bf0d053eb46ebf02035a8c24aeb | Add SourceRange::Position():SourceRange method | jcracknell/emd,jcracknell/emd | cs/src/pegleg.cs/Parsing/SourceRange.cs | cs/src/pegleg.cs/Parsing/SourceRange.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace pegleg.cs.Parsing {
public class SourceRange {
public readonly int Index;
public readonly int Line;
public readonly int LineIndex;
public readonly int Length;
public SourceRange(int index, int lengt... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace pegleg.cs.Parsing {
public class SourceRange {
public readonly int Index;
public readonly int Line;
public readonly int LineIndex;
public readonly int Length;
public SourceRange(int index, int lengt... | mit | C# |
1a1c15f3d63a8ed57ae147806d40ea268d9ac2f4 | Raise version number. | City-of-Helsinki/organisaatiorekisteri,City-of-Helsinki/organisaatiorekisteri,City-of-Helsinki/palvelutietovaranto,City-of-Helsinki/palvelutietovaranto,City-of-Helsinki/palvelutietovaranto,City-of-Helsinki/palvelutietovaranto,City-of-Helsinki/organisaatiorekisteri,City-of-Helsinki/organisaatiorekisteri | Source/SharedFiles/SharedAssemblyInfo.cs | Source/SharedFiles/SharedAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyProduct("Palvelutietovaranto")]
[assembly: AssemblyVersion("0.14.0.0")]
[assembly: AssemblyFileVersion("0.14.0.0")]
[assembly: AssemblyInformationalVersion("0.14.0")]
| using System.Reflection;
[assembly: AssemblyProduct("Palvelutietovaranto")]
[assembly: AssemblyVersion("0.13.0.0")]
[assembly: AssemblyFileVersion("0.13.0.0")]
[assembly: AssemblyInformationalVersion("0.13.0")]
| mit | C# |
0c5714fe1efd54fdcf36ec4152b881c0b6e8ec12 | Refactor JsonSection | atata-framework/atata-configuration-json | src/Atata.Configuration.Json/JsonSection.cs | src/Atata.Configuration.Json/JsonSection.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Atata
{
public class JsonSection
{
[JsonExtensionData]
public Dictionary<string, JToken> AdditionalProperties { get; } = new Dictionary<string, JToken>();
pu... | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Atata
{
public class JsonSection
{
[JsonExtensionData]
public Dictionary<string, JToken> AdditionalProperties { get; } = new Dictionary<string, JToken>();
pu... | apache-2.0 | C# |
3eec35188f2bb6b4409c57de1daa14734edfa779 | Fix compiler error | dermeister0/InheritdocTest | src/InheritdocTest/AnotherNumberProvider.cs | src/InheritdocTest/AnotherNumberProvider.cs | using Domain;
using System.Collections.Generic;
namespace InheritdocTest
{
/// <summary>
/// Number provider.
/// </summary>
public class AnotherNumberProvider : IAnotherValueProvider
{
/// <inheritdoc />
public int GetValue()
{
return 42;
}
///... | using System.Collections.Generic;
namespace InheritdocTest
{
/// <summary>
/// Number provider.
/// </summary>
public class AnotherNumberProvider : IAnotherValueProvider
{
/// <inheritdoc />
public int GetValue()
{
return 42;
}
/// <inheritdoc /... | mit | C# |
1915fac43e3018874b114d97855576f341e2c319 | delete dettaglio tipologia | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Persistence.MongoDB/GestioneDettaglioTipologia/DeleteDettaglioTipologia.cs | src/backend/SO115App.Persistence.MongoDB/GestioneDettaglioTipologia/DeleteDettaglioTipologia.cs | using MongoDB.Driver;
using Persistence.MongoDB;
using SO115App.Models.Classi.Condivise;
using SO115App.Models.Classi.Pos;
using SO115App.Models.Classi.Triage;
using SO115App.Models.Servizi.Infrastruttura.GestioneDettaglioTipologie;
using System.Collections.Generic;
using System.Linq;
namespace SO115App.Persistence.M... | using MongoDB.Driver;
using Persistence.MongoDB;
using SO115App.Models.Classi.Condivise;
using SO115App.Models.Classi.Triage;
using SO115App.Models.Servizi.Infrastruttura.GestioneDettaglioTipologie;
using System.Collections.Generic;
using System.Linq;
namespace SO115App.Persistence.MongoDB.GestioneDettaglioTipologia
... | agpl-3.0 | C# |
feec1626d6ac99287e3313e1673015cb74cd2fd3 | Update description in AssemblyInfo.cs | MarcelMalik/Fluent-Xamarin-Forms | src/FluentXamarinForms/Properties/AssemblyInfo.cs | src/FluentXamarinForms/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("FluentXamarinForms")]
[assembly: AssemblyDescription ("Fluent API for Xamarin.Forms")]
[assembly... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("FluentXamarinForms")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")... | mit | C# |
279ee6b8b43f7936ee157840fe26a8af07ecbb5a | Remove TralusModule from Requierd Module Types in TralusWinModule | mehrandvd/Tralus,mehrandvd/Tralus | Framework/Source/Tralus.Framework.Module.Win/TralusWinModule.cs | Framework/Source/Tralus.Framework.Module.Win/TralusWinModule.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.DC;
using DevExpress.ExpressApp.Model;
using DevExpress.ExpressApp.Model.Core;
using Tralus.Framework.BusinessModel.Utility;
namespace Tralus.Fra... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.DC;
using DevExpress.ExpressApp.Model;
using DevExpress.ExpressApp.Model.Core;
using Tralus.Framework.BusinessModel.Utility;
namespace Tralus.Fra... | apache-2.0 | C# |
ac9825d2bf70ae7a9ab1acd2abde34463a32acba | Fix line endings | nunit/nunit-vs-adapter,nunit/nunit3-vs-adapter | src/NUnitTestAdapterTests/Fakes/FakeRunContext.cs | src/NUnitTestAdapterTests/Fakes/FakeRunContext.cs | // ****************************************************************
// Copyright (c) 2012 NUnit Software. All rights reserved.
// ****************************************************************
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using Microsoft.Visu... | // ****************************************************************
// Copyright (c) 2012 NUnit Software. All rights reserved.
// ****************************************************************
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using Microso... | mit | C# |
e5f499675470b69307e2e89a74bcd0db15c192bc | Add RoviService to CommsTransports enumeration | MiXTelematics/MiX.Integrate.Api.Client | MiX.Integrate.Shared/Entities/Communications/CommsTransports.cs | MiX.Integrate.Shared/Entities/Communications/CommsTransports.cs | namespace MiX.Integrate.Shared.Entities.Communications
{
public enum CommsTransports
{
Default = -1,
None = 0,
GSMDataCall = 1,
GSMSMS = 2,
GPRS = 3,
DataTrak = 4,
Config = 5,
DECT = 6,
LBS = 7,
Datcom = 8,
WLAN = 9,
SatComms = 10,
RoviService = 11
}
}
| namespace MiX.Integrate.Shared.Entities.Communications
{
public enum CommsTransports
{
Default = -1,
None = 0,
GSMDataCall = 1,
GSMSMS = 2,
GPRS = 3,
DataTrak = 4,
Config = 5,
DECT = 6,
LBS = 7,
Datcom = 8,
WLAN = 9,
SatComms = 10
}
}
| mit | C# |
eab8e1237aedc5c094dfed3e5ada44f3f5d86f84 | Improve comment on Src/GoogleApis.Auth.Mvc4/OAuth2/Mvc/Filters/AuthActionFilter.cs | milkmeat/google-api-dotnet-client,LPAMNijoel/google-api-dotnet-client,Duikmeester/google-api-dotnet-client,jtattermusch/google-api-dotnet-client,cdanielm58/google-api-dotnet-client,jtattermusch/google-api-dotnet-client,peleyal/google-api-dotnet-client,chenneo/google-api-dotnet-client,maha-khedr/google-api-dotnet-client... | Src/GoogleApis.Auth.Mvc4/OAuth2/Mvc/Filters/AuthActionFilter.cs | Src/GoogleApis.Auth.Mvc4/OAuth2/Mvc/Filters/AuthActionFilter.cs | /*
Copyright 2013 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... | /*
Copyright 2013 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... | apache-2.0 | C# |
e536f1ad6d3bd1d00968eeddba4997ebda85218c | Add simple locking of resourceManagers dictionary for thread safety | UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,ppy/osu | osu.Game/Localisation/ResourceManagerLocalisationStore.cs | osu.Game/Localisation/ResourceManagerLocalisationStore.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.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Resources;
using System.Threading.Tasks;
using osu.Framework.Loc... | // 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.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Resources;
using System.Threading.Tasks;
using osu.Framework.Loc... | mit | C# |
78c82b740bb646ab0c794b62c710ae741bc032bd | Update Program.cs | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Program.cs | Battery-Commander.Web/Program.cs | using Microsoft.AspNetCore.Hosting;
using Sentry;
using Serilog;
using System.IO;
namespace BatteryCommander.Web
{
public class Program
{
public static void Main(string[] args)
{
using (SentrySdk.Init("https://78e464f7456f49a98e500e78b0bb4b13@sentry.io/1447369"))
{
... | using Microsoft.AspNetCore.Hosting;
using Sentry;
using Serilog;
using System.IO;
namespace BatteryCommander.Web
{
public class Program
{
public static void Main(string[] args)
{
using (SentrySdk.Init("https://78e464f7456f49a98e500e78b0bb4b13@sentry.io/1447369"))
{
... | mit | C# |
031f7d225be7d6690243aa005d7ddfe09394ca2c | Fix build failure under mono | klightspeed/EDDiscovery,andreaspada/EDDiscovery,klightspeed/EDDiscovery,andreaspada/EDDiscovery,klightspeed/EDDiscovery,EDDiscovery/EDDiscovery,EDDiscovery/EDDiscovery,EDDiscovery/EDDiscovery | EDDiscovery/Export/ExportBase.cs | EDDiscovery/Export/ExportBase.cs | using EDDiscovery.EliteDangerous;
using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Globalization;
using System.Linq;
using System.Text;
namespace EDDiscovery.Export
{
public enum CSVFormat
{
USA_UK = 0,
EU = 1,
}
public abstract class ExportBase... | using EDDiscovery.EliteDangerous;
using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Globalization;
using System.Linq;
using System.Text;
namespace EDDiscovery.Export
{
public enum CSVFormat
{
USA_UK = 0,
EU = 1,
}
public abstract class ExportBase... | apache-2.0 | C# |
869f1f61da286c96f69190219a66f347f113adb3 | Fix map format expression serializer throws ArgumentNullException when there are missing members. | undeadlabs/msgpack-cli,scopely/msgpack-cli,modulexcite/msgpack-cli,msgpack/msgpack-cli,msgpack/msgpack-cli,modulexcite/msgpack-cli,undeadlabs/msgpack-cli,scopely/msgpack-cli | src/MsgPack/Serialization/ExpressionSerializers/MapFormatObjectExpressionMessagePackSerializer.cs | src/MsgPack/Serialization/ExpressionSerializers/MapFormatObjectExpressionMessagePackSerializer.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010-2012 FUJIWARA, Yusuke
//
// 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.apach... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010-2012 FUJIWARA, Yusuke
//
// 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.apach... | apache-2.0 | C# |
670fff43cd307ee6976630ee2daabe33d031e217 | Fix toggle colleciton inspector | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity | Assets/MixedRealityToolkit.SDK/Inspectors/UX/Interactable/InteractableToggleCollectionInspector.cs | Assets/MixedRealityToolkit.SDK/Inspectors/UX/Interactable/InteractableToggleCollectionInspector.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.UI.Editor
{
[CustomEditor(typeof(InteractableToggleCollection))]
/// <summary... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.Utilities.Editor;
using System;
using System.Collections.Generic;
using System.Linq;... | mit | C# |
4ec1fcdddbde2a7e08ac6619b33c7a6321886c16 | Enable NRT | dotnet/roslyn,shyamnamboodiripad/roslyn,KevinRansom/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,KevinRansom/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,diryboy/roslyn,mavasani/roslyn,weltkante/roslyn,mavasani/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,sharwell/roslyn,diryboy/roslyn,we... | src/Analyzers/CSharp/Analyzers/UseImplicitOrExplicitType/CSharpUseImplicitTypeDiagnosticAnalyzer.cs | src/Analyzers/CSharp/Analyzers/UseImplicitOrExplicitType/CSharpUseImplicitTypeDiagnosticAnalyzer.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 Microsoft.CodeAnalysis.CSharp.Utilities;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Microsoft.CodeA... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using Microsoft.CodeAnalysis.CSharp.Utilities;
using Microsoft.CodeAnalysis.Diagnostics;
namesp... | mit | C# |
a74fbde9c5b757711a4c02d1c6338f4199df6f29 | 测试多租户OAuth #1550 | jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK | Samples/Senparc.Weixin.MP.Sample.vs2017/Senparc.Weixin.MP.CoreSample/Filters/CustomOAuthAttribute.cs | Samples/Senparc.Weixin.MP.Sample.vs2017/Senparc.Weixin.MP.CoreSample/Filters/CustomOAuthAttribute.cs | using System.Web;
using Microsoft.AspNetCore.Http;
using Senparc.CO2NET;
using Senparc.CO2NET.Trace;
using Senparc.Weixin.MP.MvcExtension;
namespace Senparc.Weixin.MP.CoreSample.Filters
{
/// <summary>
/// OAuth自动验证,可以加在Action或整个Controller上
/// </summary>
public class CustomOAuthAttribute : SenparcOAu... | using System.Web;
using Microsoft.AspNetCore.Http;
using Senparc.Weixin.MP.MvcExtension;
namespace Senparc.Weixin.MP.CoreSample.Filters
{
/// <summary>
/// OAuth自动验证,可以加在Action或整个Controller上
/// </summary>
public class CustomOAuthAttribute : SenparcOAuthAttribute
{
public CustomOAuthAttrib... | apache-2.0 | C# |
434377aa52300a5af7698733722f462196434840 | Revert "Add failing test case" | ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,NeoAdonis/osu,ppy/osu | osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.cs | osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Tests.Visual;
namespace osu.Game.Rulesets.Catch.Tests
{
[TestFixture]
public class TestSceneCatchPlayerLegacySkin : LegacyS... | // 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.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Catch.Skinning.Legac... | mit | C# |
1f14d9b690d39122cd89ef799429c12c7511e34e | Use correct width adjust for osu!catch playfield | peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu-new,ppy/osu,ppy/osu | osu.Game.Rulesets.Catch/UI/CatchPlayfieldAdjustmentContainer.cs | osu.Game.Rulesets.Catch/UI/CatchPlayfieldAdjustmentContainer.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;
using osu.Game.Rulesets.UI;
using osuTK;
namespace osu.Game.Rulesets.Catch.UI
{
public class C... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.UI;
using osuTK;
namespace osu.Game.Rulesets.Catch.UI
{
public class C... | mit | C# |
bcc13991c5a140113f60fe90853c3d4c246bff0d | Make `InvocationShape`'s `arguments` parameter optional | Moq/moq4,ocoanet/moq4 | src/Moq/InvocationShape.cs | src/Moq/InvocationShape.cs | // Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
namespace Moq
{
/// <summary>
/// Describes the ... | // Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
namespace Moq
{
/// <summary>
/// Describes the ... | bsd-3-clause | C# |
1b69ab9ce669ed1196ea4c53434e02b8a02de0fb | Add basic log processing | theAprel/OptionsDisplay | OptionsDisplay/OptionsDisplay.cs | OptionsDisplay/OptionsDisplay.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OptionsDisplay
{
public class TagPrinter
{
private static LogWindow window;
public static void Load()
{
window = new LogWindow();
windo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OptionsDisplay
{
public class TagPrinter
{
public static void Load()
{
LogWindow window = new LogWindow();
window.Show();
Hearthsto... | agpl-3.0 | C# |
68167f74d3c39f5c4b0b43a524c3c4e7cf6fe1ff | Improve examples program | Stratajet/UnitConversion | UnitConversionExample/Program.cs | UnitConversionExample/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using UnitConversion;
namespace UnitConversionExample {
public class Program {
public static void Main(string[] args) {
// Simple programmatic approach to conversion between units
var ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using UnitConversion;
namespace UnitConversionExample {
public class Program {
public static void Main(string[] args) {
// Simple programmatic approach to conversion between units
var ... | mit | C# |
2650398b9ae3c5434cf14df0f2d3589ae6763cfb | fix json deserialization of empty height and width in mediadetails sizes | wp-net/WordPressPCL,cobalto/WordPressPCL,wp-net/WordPressPCL,cobalto/WordPressPCL | WordPressPCL/Models/MediaSize.cs | WordPressPCL/Models/MediaSize.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace WordPressPCL.Models
{
/// <summary>
/// Info about Media Size
/// <see cref="MediaDetails.Sizes"/>
/// </summary>
public class MediaSize
{
/// <summary>
/// File
/// </su... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace WordPressPCL.Models
{
/// <summary>
/// Info about Media Size
/// <see cref="MediaDetails.Sizes"/>
/// </summary>
public class MediaSize
{
/// <summary>
/// File
/// </su... | mit | C# |
87f6502508a290481995d01916b73c6f209eea16 | Update GlobalMouseListener.cs | gmamaladze/globalmousekeyhook | MouseKeyHook/Implementation/GlobalMouseListener.cs | MouseKeyHook/Implementation/GlobalMouseListener.cs | // This code is distributed under MIT license.
// Copyright (c) 2015 George Mamaladze
// See license.txt or https://mit-license.org/
using System.Windows.Forms;
using Gma.System.MouseKeyHook.WinApi;
namespace Gma.System.MouseKeyHook.Implementation
{
internal class GlobalMouseListener : MouseListener
{
... | // This code is distributed under MIT license.
// Copyright (c) 2015 George Mamaladze
// See license.txt or https://mit-license.org/
using System.Windows.Forms;
using Gma.System.MouseKeyHook.WinApi;
namespace Gma.System.MouseKeyHook.Implementation
{
internal class GlobalMouseListener : MouseListener
{
... | mit | C# |
6e12a7ebb071ac41de76917c5746a2813feeac64 | Fix up line endings | jagrem/slang,jagrem/slang,jagrem/slang | slang/Lexing/Trees/Transformers/ConstantRuleExtensions.cs | slang/Lexing/Trees/Transformers/ConstantRuleExtensions.cs | using System.Collections.Generic;
using slang.Lexing.Rules.Core;
using slang.Lexing.Trees.Nodes;
using System.Linq;
namespace slang.Lexing.Trees.Transformers
{
public static class ConstantRuleExtensions
{
public static Node Transform (this Constant rule, IEnumerable<Node> parents)
{
... | using System.Collections.Generic;
using slang.Lexing.Rules.Core;
using slang.Lexing.Trees.Nodes;
using System.Linq;
namespace slang.Lexing.Trees.Transformers
{
public static class ConstantRuleExtensions
{
public static Node Transform (this Constant rule, IEnumerable<Node> parents)
{
... | mit | C# |
d9cac0232449da9d913bfb3ec8236f47d6a15f81 | Fix `HelperToReturnHelperAdapter` | rexm/Handlebars.Net,rexm/Handlebars.Net | source/Handlebars/Adapters/HelperToReturnHelperAdapter.cs | source/Handlebars/Adapters/HelperToReturnHelperAdapter.cs | namespace HandlebarsDotNet.Adapters
{
internal class HelperToReturnHelperAdapter
{
private readonly HandlebarsHelper _helper;
private readonly HandlebarsReturnHelper _delegate;
public HelperToReturnHelperAdapter(HandlebarsHelper helper)
{
_helper = helper;
... | namespace HandlebarsDotNet.Adapters
{
internal class HelperToReturnHelperAdapter
{
private readonly HandlebarsHelper _helper;
private readonly HandlebarsReturnHelper _delegate;
public HelperToReturnHelperAdapter(HandlebarsHelper helper)
{
_helper = helper;
... | mit | C# |
b609fd1c5f6e90a68a6ac329d8557a8d8c739bf6 | Improve EffectPipelineState performance | feliwir/openSage,feliwir/openSage | src/OpenSage.Game/Graphics/Effects/EffectPipelineState.cs | src/OpenSage.Game/Graphics/Effects/EffectPipelineState.cs | using System;
using Veldrid;
namespace OpenSage.Graphics.Effects
{
public readonly struct EffectPipelineState : IEquatable<EffectPipelineState>
{
public readonly RasterizerStateDescription RasterizerState;
public readonly DepthStencilStateDescription DepthStencilState;
public readonl... | using Veldrid;
namespace OpenSage.Graphics.Effects
{
public readonly struct EffectPipelineState
{
public readonly RasterizerStateDescription RasterizerState;
public readonly DepthStencilStateDescription DepthStencilState;
public readonly BlendStateDescription BlendState;
pub... | mit | C# |
3d3fe9f776e5de790918abb8829686ef99965b30 | Update TextToSpeechOptions.cs | tiksn/TIKSN-Framework | TIKSN.Core/Speech/TextToSpeechOptions.cs | TIKSN.Core/Speech/TextToSpeechOptions.cs | namespace TIKSN.Speech
{
public class TextToSpeechOptions
{
public string VoiceId { get; set; }
}
}
| namespace TIKSN.Speech
{
public class TextToSpeechOptions
{
public string VoiceId { get; set; }
}
} | mit | C# |
a17330804e6a22e44869b799ca17e3687ee0a3a5 | Update test case | BERef/BibTeXLibrary | UnitTest/UnexpectedTokenExceptionTest.cs | UnitTest/UnexpectedTokenExceptionTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BibTeXLibrary;
namespace UnitTest
{
[TestClass]
public class UnexpectedTokenExceptionTest
{
[TestMethod]
public void TestConstructor()
{
var e = new UnexpectedTokenException(1, 10, TokenType.EOF, T... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BibTeXLibrary;
namespace UnitTest
{
[TestClass]
public class UnexpectedTokenExceptionTest
{
[TestMethod]
public void TestConstructor()
{
var e = new UnexpectedTokenException(1, 10, TokenType.EOF, T... | mit | C# |
38d6d93f65d5f3abff9ef01ab600f8a39d2a577b | Fix recently introduced crash when opening dev tools in notification window | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/Handling/ResourceHandlerNotification.cs | Core/Handling/ResourceHandlerNotification.cs | using CefSharp;
using System.Collections.Specialized;
using System.IO;
using System.Text;
namespace TweetDck.Core.Handling{
class ResourceHandlerNotification : IResourceHandler{
private readonly NameValueCollection headers = new NameValueCollection(0);
private MemoryStream dataIn;
public ... | using CefSharp;
using System.Collections.Specialized;
using System.IO;
using System.Text;
namespace TweetDck.Core.Handling{
class ResourceHandlerNotification : IResourceHandler{
private readonly NameValueCollection headers = new NameValueCollection(0);
private MemoryStream dataIn;
public ... | mit | C# |
7603f462e4e8df432eff7c191227ded67cd6523d | Update assembly version | napalm684/Owin.LocaleLoader | Owin.LocaleLoader/Properties/AssemblyInfo.cs | Owin.LocaleLoader/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("Ow... | 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("Ow... | mit | C# |
8ac9a579525b827b3edd0ca14f0668e78f441c6e | Update Rand.cs | dimmpixeye/Unity3dTools | Runtime/Helpers/Rand.cs | Runtime/Helpers/Rand.cs | // Project : ecs
// Contacts : Pix - ask@pixeye.games
using System;
namespace Pixeye.Actors
{
public static class Rand
{
public static Random Source = new Random(DateTime.Today.Second);
public static float Get(float minimum, float maximum)
{
return (float) (Source.NextDouble() * (maximum - minimum) + min... | // Project : ecs
// Contacts : Pix - ask@pixeye.games
using System;
namespace Pixeye.Actors
{
public static class Rand
{
public static Random Source = new Random(DateTime.Today.Second);
public static float Get(float minimum, float maximum)
{
return (float) Source.NextDouble() * (maximum - minimum) + mini... | mit | C# |
6391d21af1b5c671fc99d6cfc9d483971840b6f6 | Remove test used for visualization | johnneijzen/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,ZLima12/osu,EVAST9919/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ZLima12/osu,johnneijzen/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,2yangk23/osu,NeoAdonis/osu,smoogipooo/o... | osu.Game.Tests/Visual/UserInterface/TestSceneButtonSystem.cs | osu.Game.Tests/Visual/UserInterface/TestSceneButtonSystem.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.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Fr... | // 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.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Fr... | mit | C# |
dfb890c0bc4f25a65365a890b50ab1f7f13bbb4b | Update TransformPlus.cs | xxmon/unity | Editor/TransformPlus.cs | Editor/TransformPlus.cs | using UnityEngine;
using System.Collections;
using UnityEditor;
[CustomEditor (typeof(Transform))]
public class TransformPlus : Editor
{
Transform myTarget;
float inch = 2.54f;
float foot = 30.48f;
public override void OnInspectorGUI ()
{
myTarget = (Transform)target;
myTarget.localPosition = EditorGUILayo... | using UnityEngine;
using System.Collections;
using UnityEditor;
[CustomEditor (typeof(Transform))]
public class TransformPlus : Editor
{
Transform myTarget;
float inch = 2.54f;
float foot = 30.48f;
public override void OnInspectorGUI ()
{
myTarget = (Transform)target;
myTarget.localPosition = EditorGUILay... | mit | C# |
f479720d5a9eb7759e235cf94134dcdb93e87784 | Remove our custom bootstrapper and use the BenchmarkSwitcher (#1480) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.AspNetCore.Server.Kestrel.Performance/Program.cs | test/Microsoft.AspNetCore.Server.Kestrel.Performance/Program.cs | // Copyright (c) .NET Foundation. 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.Reflection;
using BenchmarkDotNet.Running;
namespace Microsoft.AspNetCore.Server.Kestrel.Performance
{
public class Pro... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using BenchmarkDotNet.Running;
namespace Microsoft.AspNetCore.Server.Kestrel.Performance
{
public class Program
{
public... | apache-2.0 | C# |
2791f45b3adbeeffc90f010a265944158a685f06 | Fix use of Navigation as first docked child of UIWindow | bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto | Source/Eto.Platform.iOS/Forms/iosViewExtensions.cs | Source/Eto.Platform.iOS/Forms/iosViewExtensions.cs | using System;
using MonoTouch.UIKit;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Platform.iOS.Forms
{
public static class MacViewExtensions
{
public static UIView GetContainerView (this Control control)
{
if (control == null)
return null;
var viewHandler = control.Handler as IiosView;
if (view... | using System;
using MonoTouch.UIKit;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Platform.iOS.Forms
{
public static class MacViewExtensions
{
public static UIView GetContainerView (this Control control)
{
if (control == null)
return null;
var viewHandler = control.Handler as IiosView;
if (view... | bsd-3-clause | C# |
15fa75fe1d5e77b6e143a3309a719c29f0c530b6 | Add another testing method to SubBoundObject | haozhouxu/CefSharp,wangzheng888520/CefSharp,jamespearce2006/CefSharp,illfang/CefSharp,rover886/CefSharp,ITGlobal/CefSharp,rover886/CefSharp,illfang/CefSharp,NumbersInternational/CefSharp,zhangjingpu/CefSharp,NumbersInternational/CefSharp,NumbersInternational/CefSharp,AJDev77/CefSharp,ruisebastiao/CefSharp,battewr/CefSh... | CefSharp.Example/SubBoundObject.cs | CefSharp.Example/SubBoundObject.cs | namespace CefSharp.Example
{
public class SubBoundObject
{
public string SimpleProperty { get; set; }
public SubBoundObject()
{
SimpleProperty = "This is a very simple property.";
}
public string GetMyType()
{
return "My Type is " + GetType();
}
public string EchoSimpleProperty()
{
retu... | namespace CefSharp.Example
{
public class SubBoundObject
{
public string SimpleProperty { get; set; }
public SubBoundObject()
{
SimpleProperty = "This is a very simple property.";
}
public string GetMyType()
{
return "My Type is " + GetType();
}
}
}
| bsd-3-clause | C# |
f3bccf729328629707af02897ad81a4613cd73da | Update RequestExamineMessage.cs | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation | UnityProject/Assets/Scripts/Messages/Client/Interaction/RequestExamineMessage.cs | UnityProject/Assets/Scripts/Messages/Client/Interaction/RequestExamineMessage.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Mirror;
using UnityEngine;
/// <summary>
/// Requests for the server to perform examine interaction
/// </summary>
public class RequestExamineMessage : ClientMessage
{
//TODO: Is this constant n... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Mirror;
using UnityEngine;
/// <summary>
/// Requests for the server to perform examine interaction
/// </summary>
public class RequestExamineMessage : ClientMessage
{
//TODO: Is this constant n... | agpl-3.0 | C# |
69e82133da9d9220e81c0b0c17842ccbd5fb25d9 | Fix Alt; Add alt addition | bunashibu/kikan | Assets/Scripts/Skill/All/Alt.cs | Assets/Scripts/Skill/All/Alt.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Bunashibu.Kikan {
public class Alt : Skill {
void Start() {
if (!photonView.isMine)
return;
var skillUser = _skillUserObj.GetComponent<BattlePlayer>();
int addition = skillUser.Level.Lv * 50 + (i... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Bunashibu.Kikan {
public class Alt : Skill {
void Start() {
var skillUser = _skillUserObj.GetComponent<BattlePlayer>();
skillUser.Hp.Add(2000);
skillUser.Hp.UpdateView();
}
}
}
| mit | C# |
7d2836efa4d4b3ea684b7781028d9a8aaf545068 | Remove useless debug log | solfen/Rogue_Cadet | Assets/Scripts/UI/InputMapUI.cs | Assets/Scripts/UI/InputMapUI.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class InputMapUI : MonoBehaviour {
public static InputMapUI instance;
public Sprite gamepadSprite;
public Sprite keyboardSprite;
public Image inputImage;
public Text text;
public bool ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class InputMapUI : MonoBehaviour {
public static InputMapUI instance;
public Sprite gamepadSprite;
public Sprite keyboardSprite;
public Image inputImage;
public Text text;
public bool ... | mit | C# |
7be3bbbfd743e24177e3063bb6247154ffc88cc6 | Fix release transaction number | ON-IT/Visma.Net | Visma.net/lib/DAta/JournalTransactionData.cs | Visma.net/lib/DAta/JournalTransactionData.cs | using ONIT.VismaNetApi.Models;
using System.Threading.Tasks;
namespace ONIT.VismaNetApi.Lib.Data
{
public class JournalTransactionData : BaseCrudDataClass<JournalTransaction>
{
public JournalTransactionData(VismaNetAuthorization auth) : base(auth)
{
ApiControllerUri = VismaNetContr... | using ONIT.VismaNetApi.Models;
using System.Threading.Tasks;
namespace ONIT.VismaNetApi.Lib.Data
{
public class JournalTransactionData : BaseCrudDataClass<JournalTransaction>
{
public JournalTransactionData(VismaNetAuthorization auth) : base(auth)
{
ApiControllerUri = VismaNetContr... | mit | C# |
8fc73467c5f3e82c483f69033d8c493339e66a4d | make SpanAirlockSerializer public | vostok/core | Vostok.Core/Tracing/SpanAirlockSerializer.cs | Vostok.Core/Tracing/SpanAirlockSerializer.cs | using System;
using System.IO;
using Vostok.Airlock;
using Vostok.Commons.Binary;
namespace Vostok.Tracing
{
public class SpanAirlockSerializer : IAirlockSerializer<Span>, IAirlockDeserializer<Span>
{
private const byte FormatVersion = 1;
public void Serialize(Span span, IAirlockSink sink)
... | using System;
using System.IO;
using Vostok.Airlock;
using Vostok.Commons.Binary;
namespace Vostok.Tracing
{
internal class SpanAirlockSerializer : IAirlockSerializer<Span>, IAirlockDeserializer<Span>
{
private const byte FormatVersion = 1;
public void Serialize(Span span, IAirlockSink sink)
... | mit | C# |
5d25d25cbcc366c2ca04ee7aff14ee8fbdfa0346 | fix status code 200 | elyen3824/myfinanalysis-data | data-provider/run.csx | data-provider/run.csx | using System.Net;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
log.Info("C# HTTP trigger function processed a request.");
// parse query parameter
string name = req.GetQueryNameValuePairs()
.FirstOrDefault(q => string.Compare(q.Key, "name", true) == ... | using System.Net;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
log.Info("C# HTTP trigger function processed a request.");
// parse query parameter
string name = req.GetQueryNameValuePairs()
.FirstOrDefault(q => string.Compare(q.Key, "name", true) == ... | mit | C# |
58f664c0f33b8d9fae5700582c49cd405b3487fa | remove output | davidbetz/nalarium | Nalarium.Test/Base64.cs | Nalarium.Test/Base64.cs | using NUnit.Framework;
using System;
namespace Nalarium.Test
{
[TestFixture]
public class Base64
{
[Test]
public void To()
{
var input = "hello";
var base64 = Nalarium.Base64.To(input);
var plain = Nalarium.Base64.From(base64);
... | using NUnit.Framework;
using System;
namespace Nalarium.Test
{
[TestFixture]
public class Base64
{
[Test]
public void To()
{
var input = "hello";
var base64 = Nalarium.Base64.To(input);
Console.WriteLine(base64);
var... | bsd-3-clause | C# |
8770984f65ad431fcc8fb26f7dde7260f68117c3 | Update Extensions - Remove unused extensions and clean up Truncate | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX | Modix.Data/Utilities/Extensions.cs | Modix.Data/Utilities/Extensions.cs | using System;
using System.Linq;
namespace Modix.Data.Utilities
{
public static class Extensions
{
public static string Truncate(this string value, int maxLength, int maxLines, string suffix = "…")
{
if (string.IsNullOrEmpty(value)) return value;
if (value.Length <= ma... | using System;
using System.Linq;
namespace Modix.Data.Utilities
{
public static class Extensions
{
public static long ToLong(this ulong number)
{
if (!long.TryParse((number.ToString()), out var convertedNumber))
throw new AggregateException("Could not convert ulong... | mit | C# |
be4ab386ff70d997b6b419fba0e719d43d94b2ba | Add contracts to verifty the DrawModel() method doesn't receive null data. | dneelyep/MonoGameUtils | MonoGameUtils/Drawing/Utilities.cs | MonoGameUtils/Drawing/Utilities.cs | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace MonoGameUtils.Drawing
{
/// <summary>
/// Various useful utility methods that... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace MonoGameUtils.Drawing
{
/// <summary>
/// Various useful utility methods that don't obviously go elsewhere.
/... | mit | C# |
d23dcca633011da837bafe5eea2ef2cb8b3fc248 | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/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("storybrew editor")]
[assembly: AssemblyDe... | 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("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
1f227cf9bd7d889df87eec56595b31752548c8af | add #if UNITY_EDITOR | zhaoqingqing/UGUIDemo | Assets/Function/ChangeSprite/Scripts/UGUICreateSpriteAsset.cs | Assets/Function/ChangeSprite/Scripts/UGUICreateSpriteAsset.cs | using UnityEngine;
using System.Collections;
using System.IO;
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor;
public static class UGUICreateSpriteAsset
{
[MenuItem("Assets/Create/UGUI Sprite Asset", false, 10)]
static void main()
{
Object target = Selection.activeObject;
... | using UnityEngine;
using UnityEditor;
using System.Collections;
using System.IO;
using System.Collections.Generic;
public static class UGUICreateSpriteAsset
{
[MenuItem("Assets/Create/UGUI Sprite Asset", false, 10)]
static void main()
{
Object target = Selection.activeObject;
if (target ==... | apache-2.0 | C# |
d829665fed544d113f72a85b63b41cab9a39712b | Update UtilizeThemeColors.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.... | Examples/CSharp/Formatting/Excel2007Themes/UtilizeThemeColors.cs | Examples/CSharp/Formatting/Excel2007Themes/UtilizeThemeColors.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formatting.Excel2007Themes
{
public class UtilizeThemeColors
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Exa... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formatting.Excel2007Themes
{
public class UtilizeThemeColors
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(S... | mit | C# |
c595e969c62a16e028a1c7ac8ace1bb8bcf1cc48 | Clean up and add comments | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT | LINQToTTree/LINQToTTreeLib/Statements/StatementRecordIndicies.cs | LINQToTTree/LINQToTTreeLib/Statements/StatementRecordIndicies.cs |
using System.Collections.Generic;
using LinqToTTreeInterfacesLib;
using LINQToTTreeLib.Variables;
namespace LINQToTTreeLib.Statements
{
/// <summary>
/// Sits inside a loop and records the integer that it is given on each call by pushing it onto a vector. It *does not*
/// check for uniqueness of ... |
using System.Collections.Generic;
using LinqToTTreeInterfacesLib;
namespace LINQToTTreeLib.Statements
{
/// <summary>
/// Sits inside a loop and records the integer that it is given on each call by pushing it onto a vector. It *does not*
/// check for uniqueness.
/// </summary>
class Stat... | lgpl-2.1 | C# |
8a8185327901006ad0bf959c1aed103a2b6b804e | Fix ruby test. | exKAZUu/Code2Xml,exKAZUu/Code2Xml,exKAZUu/Code2Xml,exKAZUu/Code2Xml | Code2Xml.Languages.Ruby18.Tests/Ruby18CodeToXmlTest.cs | Code2Xml.Languages.Ruby18.Tests/Ruby18CodeToXmlTest.cs | #region License
// Copyright (C) 2011-2012 Kazunori Sakamoto
//
// 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
//
// Unle... | #region License
// Copyright (C) 2011-2012 Kazunori Sakamoto
//
// 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
//
// Unle... | apache-2.0 | C# |
f600066dbcd4f95efb6d6c621b45c576edbbf4da | Remove unused code bits | mzxgiant/CryptInject | CryptInject.BasicExample/DataObjectInstanceContract.cs | CryptInject.BasicExample/DataObjectInstanceContract.cs | using System.Runtime.Serialization;
namespace CryptInject.BasicExample
{
[DataContract]
[SerializerRedirect(typeof(DataContractAttribute))]
public class DataObjectInstanceContract
{
[SerializerRedirect(typeof(DataMemberAttribute))]
[Encryptable("Sensitive Information")]
public ... | using System.Runtime.Serialization;
namespace CryptInject.BasicExample
{
[DataContract]
//[KnownType(typeof(InnerObjectContract))]
[SerializerRedirect(typeof(DataContractAttribute))]
public class DataObjectInstanceContract
{
//[DataMember]
//public InnerObjectContract Member { get;... | mit | C# |
0ccc84ae524948c135e00b60f224ce3f754dad91 | modify Editor | degarashi0913/FAManagementStudio | FAManagementStudio.Controls/Controls/BindableEditor.cs | FAManagementStudio.Controls/Controls/BindableEditor.cs | using ICSharpCode.AvalonEdit;
using ICSharpCode.AvalonEdit.Highlighting;
using ICSharpCode.AvalonEdit.Highlighting.Xshd;
using System;
using System.Windows;
using System.Xml;
namespace FAManagementStudio.Controls
{
public class BindableEditor : TextEditor
{
public BindableEditor()
{
... | using ICSharpCode.AvalonEdit;
using ICSharpCode.AvalonEdit.Highlighting;
using ICSharpCode.AvalonEdit.Highlighting.Xshd;
using System;
using System.Windows;
using System.Xml;
namespace FAManagementStudio.Controls
{
public class BindableEditor : TextEditor
{
public BindableEditor()
{
... | mit | C# |
5800a2306678cdf3cda71dd1351b5fe4b7423538 | Check validity if the ImageView before trying to access its Drawable | luberda-molinet/FFImageLoading,daniel-luberda/FFImageLoading,petlack/FFImageLoading,kalarepa/FFImageLoading,AndreiMisiukevich/FFImageLoading,molinch/FFImageLoading | FFImageLoading.Droid/Extensions/ImageViewExtensions.cs | FFImageLoading.Droid/Extensions/ImageViewExtensions.cs | using Android.Widget;
using FFImageLoading.Work;
using System;
namespace FFImageLoading.Extensions
{
public static class ImageViewExtensions
{
/// <summary>
/// Retrieve the currently active work task (if any) associated with this imageView.
/// </summary>
/// <param name="imageView"></param>
/// <returns>... | using Android.Widget;
using FFImageLoading.Work;
namespace FFImageLoading.Extensions
{
public static class ImageViewExtensions
{
/// <summary>
/// Retrieve the currently active work task (if any) associated with this imageView.
/// </summary>
/// <param name="imageView"></param>
/// <returns></returns>
p... | mit | C# |
90bc34ef2d4db69429ab5b70063f76b3f800b5f0 | Add Move(string, string, Players) constructor | ProgramFOX/Chess.NET | ChessDotNet/Move.cs | ChessDotNet/Move.cs | namespace ChessDotNet
{
public class Move
{
public Position OriginalPosition
{
get;
private set;
}
public Position NewPosition
{
get;
private set;
}
public Players Player
{
get;
... | namespace ChessDotNet
{
public class Move
{
public Position OriginalPosition
{
get;
}
public Position NewPosition
{
get;
}
public Players Player
{
get;
}
public Move(Position originalPos, Posi... | mit | C# |
1336749aaa903361c01b51590f3e1e965a1aeb28 | Revert reversion | feliwir/openSage,feliwir/openSage | src/OpenSage.Game/Gui/Wnd/Images/Image.cs | src/OpenSage.Game/Gui/Wnd/Images/Image.cs | using System;
using OpenSage.Mathematics;
using Veldrid;
using Rectangle = OpenSage.Mathematics.Rectangle;
namespace OpenSage.Gui.Wnd.Images
{
public sealed class Image
{
private readonly ImageSource _source;
private readonly bool _grayscale;
private Texture _texture;
private S... | using System;
using OpenSage.Mathematics;
using Veldrid;
using Rectangle = OpenSage.Mathematics.Rectangle;
namespace OpenSage.Gui.Wnd.Images
{
public sealed class Image
{
private readonly ImageSource _source;
private readonly bool _grayscale;
private Texture _texture;
private S... | mit | C# |
348f8c5d9b3c7ed599fcfe0f17a9d67d291aaa5b | Allow specifying a custom MemoryAllocator in ArrayPoolTextureUploads | smoogipooo/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework/Graphics/Textures/ArrayPoolTextureUpload.cs | osu.Framework/Graphics/Textures/ArrayPoolTextureUpload.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.Buffers;
using osu.Framework.Graphics.Primitives;
using osuTK.Graphics.ES30;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.Pixe... | // 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.Buffers;
using osu.Framework.Graphics.Primitives;
using osuTK.Graphics.ES30;
using SixLabors.ImageSharp.PixelFormats;
namespace osu.Framework.... | mit | C# |
5444ab76fa1cebbd3b6ecfe595741bdce68a2ba6 | fix ' | ChizhovYuI/tasks | Eval/EvalProgram.cs | Eval/EvalProgram.cs | using System;
using System.Linq;
namespace EvalTask
{
class EvalProgram
{
static void Main(string[] args)
{
string input = Console.In.ReadToEnd();
var lines = input.Split(new[] {'\r', '\n'}, StringSplitOptions.RemoveEmptyEntries);
var expr = lines[0].Replace... | using System;
using System.Linq;
namespace EvalTask
{
class EvalProgram
{
static void Main(string[] args)
{
string input = Console.In.ReadToEnd();
var lines = input.Split(new[] {'\r', '\n'}, StringSplitOptions.RemoveEmptyEntries);
var expr = lines[0].Replace... | mit | C# |
defaba820615bfe17e567087087703af3862e20c | Convert relative path into full path | AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning | src/Cake.GitVersioning/GitVersioningAliases.cs | src/Cake.GitVersioning/GitVersioningAliases.cs | using System.IO;
using System.Reflection;
using Cake.Core;
using Cake.Core.Annotations;
using Nerdbank.GitVersioning;
namespace Cake.GitVersioning
{
/// <summary>
/// Contains functionality for using Nerdbank.GitVersioning.
/// </summary>
[CakeAliasCategory("Git Versioning")]
public static class G... | using System.IO;
using System.Reflection;
using Cake.Core;
using Cake.Core.Annotations;
using Nerdbank.GitVersioning;
namespace Cake.GitVersioning
{
/// <summary>
/// Contains functionality for using Nerdbank.GitVersioning.
/// </summary>
[CakeAliasCategory("Git Versioning")]
public static class G... | mit | C# |
f8b84625e83c475d56ed27fb1a9ca8d987e48e93 | Fix #459 - Removed call to HttpContext.Request in favor of HttpRuntime.AppDomainAppVirtualPath | SusanaL/Glimpse,Glimpse/Glimpse,paynecrl97/Glimpse,flcdrg/Glimpse,dudzon/Glimpse,sorenhl/Glimpse,flcdrg/Glimpse,codevlabs/Glimpse,elkingtonmcb/Glimpse,codevlabs/Glimpse,SusanaL/Glimpse,paynecrl97/Glimpse,rho24/Glimpse,gabrielweyer/Glimpse,rho24/Glimpse,Glimpse/Glimpse,rho24/Glimpse,sorenhl/Glimpse,elkingtonmcb/Glimpse,... | source/Glimpse.AspNet/HttpHandlerEndpointConfiguration.cs | source/Glimpse.AspNet/HttpHandlerEndpointConfiguration.cs | using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using Glimpse.Core.Extensibility;
using Glimpse.Core.Framework;
namespace Glimpse.AspNet
{
public class HttpHandlerEndpointConfiguration : ResourceEndpointConfiguration
{
private string applicationPath;
... | using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using Glimpse.Core.Extensibility;
using Glimpse.Core.Framework;
namespace Glimpse.AspNet
{
public class HttpHandlerEndpointConfiguration : ResourceEndpointConfiguration
{
private string applicationPath;
... | apache-2.0 | C# |
64f93f3917947e710a9102d26922884ce22d2e64 | Add task hooks for integration tests | vCipher/Cake.Hg | setup.cake | setup.cake | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Cake.Hg",
repositoryOwner: "cake-contrib",
repositoryName: "Cake.Hg... | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Cake.Hg",
repositoryOwner: "cake-contrib",
repositoryName: "Cake.Hg... | mit | C# |
d55f6c10fee7ecb8ef50e7a64e7ca8bc8d8e370c | Add missing ToString implementation | xfleckx/BeMoBI,xfleckx/BeMoBI | Assets/Scripts/DataExtensions.cs | Assets/Scripts/DataExtensions.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace Assets.BeMoBI.Scripts
{
public static class DataExtensions
{
public static IEnumerable<T> Shuffle<T>(this IEnumerable<T> collection)
{
return... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace Assets.BeMoBI.Scripts
{
public static class DataExtensions
{
public static IEnumerable<T> Shuffle<T>(this IEnumerable<T> collection)
{
return... | mit | C# |
5bd9c46558499f3b88bdfb7ad60c8c9da3b7c6b7 | Remove unused extensions | SamTheDev/octokit.net,dampir/octokit.net,michaKFromParis/octokit.net,alfhenrik/octokit.net,editor-tools/octokit.net,kdolan/octokit.net,ivandrofly/octokit.net,hahmed/octokit.net,editor-tools/octokit.net,TattsGroup/octokit.net,khellang/octokit.net,rlugojr/octokit.net,Sarmad93/octokit.net,ChrisMissal/octokit.net,nsnnnnrn/... | Burr/Helpers/StringExtensions.cs | Burr/Helpers/StringExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Burr.Helpers
{
public static class StringExtensions
{
public static bool IsBlank(this string s)
{
return string.IsNullOrWhiteSpace(s);
}
pu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Burr.Helpers
{
public static class StringExtensions
{
public static bool IsBlank(this string s)
{
return string.IsNullOrWhiteSpace(s);
}
pu... | mit | C# |
b2a9e2a9c29474ebce5513bb2adc329a50152f7d | Clean up the view. | bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes | Orchard.Source.1.8.1/src/Orchard.Web/Modules/LccNetwork/Views/EditorTemplates/Parts/HighlightableItemPart.cshtml | Orchard.Source.1.8.1/src/Orchard.Web/Modules/LccNetwork/Views/EditorTemplates/Parts/HighlightableItemPart.cshtml | @model LccNetwork.Models.HighlightableItemPart
@{
var containingType = Model.ContentItem.ContentType;
var friendlyContainingType = Model.ContentItem.TypeDefinition.DisplayName;
var highlightOptions = new List<SelectListItem>();
highlightOptions.Add(new SelectListItem() { Value = "All", Text = "All" }... | @model LccNetwork.Models.HighlightableItemPart
@{
var containingType = Model.ContentItem.ContentType;
var friendlyContainingType = Model.ContentItem.TypeDefinition.DisplayName;
var highlightOptions = new List<SelectListItem>();
highlightOptions.Add(new SelectListItem() { Value = "All", Text = "All" }... | bsd-3-clause | C# |
02aa5b53435563e9270c5894f0c4c25c18fb2f1c | configure jsonSerializer properly | Pondidum/Magistrate,Pondidum/Magistrate,Pondidum/Magistrate,Pondidum/Magistrate | Magistrate/MagistrateRegistry.cs | Magistrate/MagistrateRegistry.cs | using Ledger;
using Magistrate.Infrastructure;
using Magistrate.ReadModels;
using MediatR;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using StructureMap;
using StructureMap.Graph;
namespace Magistrate
{
public class MagistrateRegistry : Registry
{
public MagistrateRegistry(IEventStore store)
{
... | using Ledger;
using Magistrate.Infrastructure;
using Magistrate.ReadModels;
using MediatR;
using StructureMap;
using StructureMap.Graph;
namespace Magistrate
{
public class MagistrateRegistry : Registry
{
public MagistrateRegistry(IEventStore store)
{
Scan(a =>
{
a.TheCallingAssembly();
a.WithDefau... | lgpl-2.1 | C# |
30f67c086f10814bf533f6970b081f523e9bacf2 | Fix for https://github.com/ppittle/pMixins/issues/23 (MaskShouldFilterInterfacesAppliedToTarget) | ppittle/pMixins,ppittle/pMixins,ppittle/pMixins | pMixins.CodeGenerator/Pipelines/GenerateCode/Steps/TargetPartialClassGenerator/AddMixinInterfacesToInterfaceList.cs | pMixins.CodeGenerator/Pipelines/GenerateCode/Steps/TargetPartialClassGenerator/AddMixinInterfacesToInterfaceList.cs | //-----------------------------------------------------------------------
// <copyright file="AddMixinInterfacesToInterfaceList.cs" company="Copacetic Software">
// Copyright (c) Copacetic Software.
// <author>Philip Pittle</author>
// <date>Friday, February 7, 2014 5:32:09 PM</date>
// Licensed under the Apache... | //-----------------------------------------------------------------------
// <copyright file="AddMixinInterfacesToInterfaceList.cs" company="Copacetic Software">
// Copyright (c) Copacetic Software.
// <author>Philip Pittle</author>
// <date>Friday, February 7, 2014 5:32:09 PM</date>
// Licensed under the Apache... | apache-2.0 | C# |
2b5ac39d8bf1d1d4cc39dbf664978781372e4f66 | Fix UtcDateTimeNowProviderTests | riganti/infrastructure | src/Infrastructure/Tests/Riganti.Utils.Infrastructure.Core.Tests/DateTimeNowProvider/UtcDateTimeNowProviderTests.cs | src/Infrastructure/Tests/Riganti.Utils.Infrastructure.Core.Tests/DateTimeNowProvider/UtcDateTimeNowProviderTests.cs | using System;
using Xunit;
namespace Riganti.Utils.Infrastructure.Core.Tests.DateTimeNowProvider
{
public class UtcDateTimeNowProviderTests
{
readonly UtcDateTimeProvider utcDateTimeProviderSUT = new UtcDateTimeProvider();
[Fact]
public void ProvidesUtcTime_Test()
{
... | using System;
using Xunit;
namespace Riganti.Utils.Infrastructure.Core.Tests.DateTimeNowProvider
{
public class UtcDateTimeNowProviderTests
{
readonly UtcDateTimeProvider utcDateTimeProviderSUT = new UtcDateTimeProvider();
[Fact]
public void ProvidesUtcTime_Test()
{
... | apache-2.0 | C# |
d8aed10820d45a61c2de7bcfeabe7bff3c58a886 | Document credentials fields | Nexmo/csharp-client,Nexmo/nexmo-dotnet,Nexmo/csharp-client | Nexmo.Api/Request/Credentials.cs | Nexmo.Api/Request/Credentials.cs | namespace Nexmo.Api.Request
{
public class Credentials
{
/// <summary>
/// Nexmo API Key (from your account dashboard)
/// </summary>
public string ApiKey { get; set; }
/// <summary>
/// Nexmo API Secret (from your account dashboard)
/// </summary>
... | namespace Nexmo.Api.Request
{
public class Credentials
{
public string ApiKey { get; set; }
public string ApiSecret { get; set; }
public string SecuritySecret { get; set; }
public string ApplicationId { get; set; }
public string ApplicationKey { get; set; }
// O... | mit | C# |
114f028295e78e263be48494d6ae15f9fd68db81 | Update kod.cs | Juchnowski/testrep | kod.cs | kod.cs |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RozliczeniePracownikow
{
public class Rozliczenia
{
public virtual double kosztPrzejazduSamochod(int kilometry, float spalanie, float cenaLitr, float dodatkowe)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RozliczeniePracownikow
{
public class Rozliczenia
{
public virtual double kosztPrzejazduSamochod(int kilometry, float spalanie, float cenaLitr, float dodatkowe)
{
... | mit | C# |
5ddcfb93838b5f5673a32e9f7a01e53f52cdf48e | Add prompt | KLab/websocket-unitymobile,KLab/websocket-unitymobile,takuya-andou/websocket-unitymobile,takuya-andou/websocket-unitymobile | EchoClient/Program.cs | EchoClient/Program.cs | using System;
using WebSocketSharp;
namespace EchoClient
{
class MainClass
{
public static void Main (string[] args)
{
if (args.Length != 1) {
Console.WriteLine ("Usage: EchoClient.exe ws://echo.websocket.org");
return;
}
WebSocket ws = new WebSocket(args[0], null);
... | using System;
using WebSocketSharp;
namespace EchoClient
{
class MainClass
{
public static void Main (string[] args)
{
if (args.Length != 1) {
Console.WriteLine ("Usage: EchoClient.exe ws://echo.websocket.org");
return;
}
WebSocket ws = new WebSocket(args[0], null);
... | mit | C# |
b5570a0642461723aacb2c6cf9386e8467c958d5 | Remove Academic Year Left Of Line Unit Test | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/SFA.DAS.Commitments.Application.UnitTests/Commands/SharedValidation/Apprenticeships/ValidatingTrainingDates.cs | src/SFA.DAS.Commitments.Application.UnitTests/Commands/SharedValidation/Apprenticeships/ValidatingTrainingDates.cs | using System;
using FluentAssertions;
using NUnit.Framework;
using SFA.DAS.Commitments.Domain.Entities.AcademicYear;
using Moq;
namespace SFA.DAS.Commitments.Application.UnitTests.Commands.SharedValidation.Apprenticeships
{
[TestFixture]
public sealed class ValidatingTrainingDates : ApprenticeshipValidationTe... | using System;
using FluentAssertions;
using NUnit.Framework;
using SFA.DAS.Commitments.Domain.Entities.AcademicYear;
using Moq;
namespace SFA.DAS.Commitments.Application.UnitTests.Commands.SharedValidation.Apprenticeships
{
[TestFixture]
public sealed class ValidatingTrainingDates : ApprenticeshipValidationTe... | mit | C# |
2e2f8723a0b704632ab23c04545611ab548e9d5c | Set collections on property groups | gkonings/Umbraco-CMS,rasmuseeg/Umbraco-CMS,KevinJump/Umbraco-CMS,leekelleher/Umbraco-CMS,gavinfaux/Umbraco-CMS,mittonp/Umbraco-CMS,kasperhhk/Umbraco-CMS,PeteDuncanson/Umbraco-CMS,hfloyd/Umbraco-CMS,mittonp/Umbraco-CMS,romanlytvyn/Umbraco-CMS,rustyswayne/Umbraco-CMS,mittonp/Umbraco-CMS,TimoPerplex/Umbraco-CMS,mattbrails... | src/Umbraco.Web/Models/ContentEditing/PropertyGroupDisplay.cs | src/Umbraco.Web/Models/ContentEditing/PropertyGroupDisplay.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Umbraco.Web.Models.ContentEditing
{
[DataContract(Name = "propertyGroup", Namespace = "")]
public class PropertyGroupDisplay
{
public Pr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Umbraco.Web.Models.ContentEditing
{
[DataContract(Name = "propertyGroup", Namespace = "")]
public class PropertyGroupDisplay
{
public Pr... | mit | C# |
9eccfcc80a4f75b08967e78820ba22668628fab2 | Fix to avoid CA1812 | y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter | ThScoreFileConverter/ExceptionOccurredEventArgs.cs | ThScoreFileConverter/ExceptionOccurredEventArgs.cs | //-----------------------------------------------------------------------
// <copyright file="ExceptionOccurredEventArgs.cs" company="None">
// (c) 2014 IIHOSHI Yoshinori
// </copyright>
//-----------------------------------------------------------------------
namespace ThScoreFileConverter
{
using System;
... | //-----------------------------------------------------------------------
// <copyright file="ExceptionOccurredEventArgs.cs" company="None">
// (c) 2014 IIHOSHI Yoshinori
// </copyright>
//-----------------------------------------------------------------------
namespace ThScoreFileConverter
{
using System;
... | bsd-2-clause | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.