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 |
|---|---|---|---|---|---|---|---|---|
dcca1cc78075cd7822cf3de553aae3a58df3ece0 | Fix unit test | SamDel/ChromeCast-Desktop-Audio-Streamer | Source/ChromeCast.Desktop.AudioStreamer.Test/Application/ConfigurationTest.cs | Source/ChromeCast.Desktop.AudioStreamer.Test/Application/ConfigurationTest.cs | using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ChromeCast.Desktop.AudioStreamer.Application;
namespace ChromeCast.Desktop.AudioStreamer.Test.Application
{
[TestClass]
public class ConfigurationTest
{
AutoResetEvent asyncEvent;
bool useShortCuts;
b... | using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ChromeCast.Desktop.AudioStreamer.Application;
namespace ChromeCast.Desktop.AudioStreamer.Test.Application
{
[TestClass]
public class ConfigurationTest
{
AutoResetEvent asyncEvent;
bool useShortCuts;
b... | mit | C# |
25ac45a9aa7f008772a5583aee2bc7fa3a81c522 | Increase version number | luckyrat/domain-public-suffix | domain-public-suffix/Properties/AssemblyInfo.cs | domain-public-suffix/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
0f93481ca8e072fa8a33b48a90737933012884b2 | Update PaymentOrderChangedEvent.cs | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Messages/Events/PaymentOrderChangedEvent.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Messages/Events/PaymentOrderChangedEvent.cs | using SFA.DAS.CommitmentsV2.Types;
namespace SFA.DAS.CommitmentsV2.Messages.Events
{
public class PaymentOrderChangedEvent
{
public long AccountId { get; set; }
public int[] PaymentOrder { get; set; }
}
}
| using SFA.DAS.CommitmentsV2.Types;
namespace SFA.DAS.CommitmentsV2.Messages.Events
{
public class PaymentOrderChangedEvent
{
public long AccountId { get; set; }
public int[] PaymentOrder { get; set; }
}
}
| mit | C# |
65c42f5c7b1fe508ba82fd714605771f57da4438 | Revert "Removed Tab" | PixelManiacs/DonUniverso,PixelManiacs/DonUniverso | beansjam_unity/Assets/_Game/Scripts/Oneliners.cs | beansjam_unity/Assets/_Game/Scripts/Oneliners.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Oneliners : MonoBehaviour
{
public AudioSource audioSource;
public List<AudioClip> allClips = new List<AudioClip>();
private int previousClipNumber = 99;
/// <summary>
/// Plays a random aud... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Oneliners : MonoBehaviour
{
public AudioSource audioSource;
public List<AudioClip> allClips = new List<AudioClip>();
private int previousClipNumber = 99;
/// <summary>
/// Plays a random aud... | mit | C# |
0d3b1aa71b734359fd11d13a29b4b45d7826e863 | increment version for nuget | richorama/AzureStorageExtensions | AzureJsonStore/Properties/AssemblyInfo.cs | AzureJsonStore/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("AzureJsonStore")]
[assembly: Assem... | 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("AzureJsonStore")]
[assembly: Assem... | mit | C# |
0bdccfae46e415efc8ecde01e74db503bd52188d | make repository enumerable to get all records | eriklieben/ErikLieben.Data | ErikLieben.Data/Repository/IRepository.cs | ErikLieben.Data/Repository/IRepository.cs | namespace ErikLieben.Data.Repository
{
using System.Collections.Generic;
public interface IRepository<T> : IEnumerable<T>
where T : class
{
/// <summary>
/// Adds the specified item.
/// </summary>
/// <param name="item">The item to add.</param>
void Add(T i... | namespace ErikLieben.Data.Repository
{
using System.Collections.Generic;
public interface IRepository<T>
where T : class
{
/// <summary>
/// Adds the specified item.
/// </summary>
/// <param name="item">The item to add.</param>
void Add(T item);
//... | mit | C# |
c08f5d3be26f3893e3871bfc8d04ab103dd91d61 | Update UsingSparklines.cs | asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,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,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-c... | Examples/CSharp/Charts/UsingSparklines.cs | Examples/CSharp/Charts/UsingSparklines.cs | using System.IO;
using Aspose.Cells;
using Aspose.Cells.Charts;
using System;
using System.Drawing;
namespace Aspose.Cells.Examples.Charts
{
public class UsingSparklines
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
... | using System.IO;
using Aspose.Cells;
using Aspose.Cells.Charts;
using System;
using System.Drawing;
namespace Aspose.Cells.Examples.Charts
{
public class UsingSparklines
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = ... | mit | C# |
9a8d96cb0985b5ac2805bb109083ecef40440116 | Update Switch.cs | williambl/Haunt | Haunt/Assets/Scripts/Enviroment/Switch.cs | Haunt/Assets/Scripts/Enviroment/Switch.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Switch : MonoBehaviour {
GameManager manager;
void Start ()
{
if(manager == null)
manager = GameObject.Find ("Manager").GetComponent<GameManager> ();
}
void OnTriggerStay (Collider other)
{
if (other.GetCompo... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Switch : MonoBehaviour {
GameManager manager;
void Start ()
{
manager = GameObject.Find ("Manager").GetComponent<GameManager> ();
}
void OnTriggerStay (Collider other)
{
if (other.GetComponent<ItemComponent> () !... | mit | C# |
81ff0d01497baaa57ecea5f0ea05a68fec465b65 | Fix typo | Azure-Samples/active-directory-dotnet-webapp-roleclaims,AzureADSamples/WebApp-RoleClaims-DotNet,AzureADSamples/WebApp-RoleClaims-DotNet,AzureADSamples/WebApp-RoleClaims-DotNet,Azure-Samples/active-directory-dotnet-webapp-roleclaims,peterlil/active-directory-dotnet-webapp-roleclaims,Azure-Samples/active-directory-dotnet... | WebApp-RoleClaims-DotNet/AuthorizeAttribute.cs | WebApp-RoleClaims-DotNet/AuthorizeAttribute.cs | using System;
using System.Web.Mvc;
using System.Web.Routing;
namespace WebApp_RoleClaims_DotNet
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)]
public class AuthorizeAttribute : System.Web.Mvc.AuthorizeAttribute
{
/// <summary>
... | using System;
using System.Web.Mvc;
using System.Web.Routing;
namespace WebApp_RoleClaims_DotNet
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)]
public class AuthorizeAttribute : System.Web.Mvc.AuthorizeAttribute
{
/// <summary>
... | mit | C# |
bab16971ae3fe0d117154ab2697b25b5b2056657 | Add comment for claims transform | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Authentication.Abstractions/IClaimsTransformation.cs | src/Microsoft.AspNetCore.Authentication.Abstractions/IClaimsTransformation.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.Security.Claims;
using System.Threading.Tasks;
namespace Microsoft.AspNetCore.Authentication
{
/// <summary>
/// Used by the <see ... | // 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.Security.Claims;
using System.Threading.Tasks;
namespace Microsoft.AspNetCore.Authentication
{
/// <summary>
/// Used by the <see ... | apache-2.0 | C# |
e7ce6a307e1bdc36b1aff0f72e556e6d369c5cd0 | Handle Invalid format for Upgrade check | madsoulswe/Umbraco-CMS,bjarnef/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,abjerner/Umbraco-CMS,mattbrailsford/Umbraco-CMS,bjarnef/Umbraco-CMS,abryukhov/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,umbraco/Um... | src/Umbraco.Core/Persistence/Repositories/Implement/UpgradeCheckRepository.cs | src/Umbraco.Core/Persistence/Repositories/Implement/UpgradeCheckRepository.cs | using System.Net.Http;
using System.Net.Http.Formatting;
using System.Threading.Tasks;
using Semver;
using Umbraco.Core.Models;
namespace Umbraco.Core.Persistence.Repositories.Implement
{
internal class UpgradeCheckRepository : IUpgradeCheckRepository
{
private static HttpClient _httpClient;
p... | using System.Net.Http;
using System.Net.Http.Formatting;
using System.Threading.Tasks;
using Semver;
using Umbraco.Core.Models;
namespace Umbraco.Core.Persistence.Repositories.Implement
{
internal class UpgradeCheckRepository : IUpgradeCheckRepository
{
private static HttpClient _httpClient;
p... | mit | C# |
c626b1afd859fe2e0b6dc33174cf6f20d7679f80 | Use newer binary from upstream | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | Android/ExposureNotification/build.cake | Android/ExposureNotification/build.cake | var TARGET = Argument ("t", Argument ("target", "ci"));
var NUGET_VERSION = "18.0.2-eap.3";
var AAR_URL = "https://github.com/google/exposure-notifications-android/raw/fbba9296bda9ae3b2c02d2bfd7590c742963875e/app/libs/play-services-nearby-18.0.2-eap.aar";
Task ("externals")
.Does (() =>
{
EnsureDirectoryExists ("./... | var TARGET = Argument ("t", Argument ("target", "ci"));
var NUGET_VERSION = "18.0.2-eap.2";
var AAR_URL = "https://github.com/google/exposure-notifications-android/raw/1e4c8e322f4189a609623540f665e05ee1eeccb7/app/libs/play-services-nearby-18.0.2-eap.aar";
Task ("externals")
.Does (() =>
{
EnsureDirectoryExists ("./... | mit | C# |
15fe4ae7a8e81d66a6e48531338b0a578a1d9ea8 | Set toolbar popup initial state | DMagic1/KSP_Contract_Window | Source/ContractsWindow.Unity/Unity/CW_Toolbar.cs | Source/ContractsWindow.Unity/Unity/CW_Toolbar.cs | #region license
/*The MIT License (MIT)
CW_Toolbar - Controls the toolbar options popup
Copyright (c) 2016 DMagic
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 w... | #region license
/*The MIT License (MIT)
CW_Toolbar - Controls the toolbar options popup
Copyright (c) 2016 DMagic
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 w... | mit | C# |
1a761239cbf4f52666327e5b2ce7e62a4cc0f43d | Remove class variable declaration for UINavigationController | iFreedive/monotouch-samples,iFreedive/monotouch-samples,robinlaide/monotouch-samples,W3SS/monotouch-samples,labdogg1003/monotouch-samples,haithemaraissia/monotouch-samples,W3SS/monotouch-samples,peteryule/monotouch-samples,peteryule/monotouch-samples,davidrynn/monotouch-samples,nelzomal/monotouch-samples,kingyond/monot... | Hello_MultiScreen_iPhone/AppDelegate.cs | Hello_MultiScreen_iPhone/AppDelegate.cs | using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace Hello_MultiScreen_iPhone
{
[Register ("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate
{
//---- declarations
UIWindow window;
// This method is invoked whe... | using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace Hello_MultiScreen_iPhone
{
[Register ("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate
{
//---- declarations
UIWindow window;
UINavigationController rootNavig... | mit | C# |
2fa4d68097f09463abcf94bb894daf1a23e987c5 | Replace estimatefee with estimatesmartfee | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | HiddenWallet.ChaumianTumbler/Program.cs | HiddenWallet.ChaumianTumbler/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using System.Threading;
using NBitcoin;
using HiddenWallet.Chau... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using System.Threading;
using NBitcoin;
using HiddenWallet.Chau... | mit | C# |
528e3288d9c6a2683bf82eaf70ac454e61ff343c | update desc | bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL | CSharpGL/Properties/AssemblyInfo.cs | CSharpGL/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("CSharpGL")]
[assembly: AssemblyDescription(
@"CSharpGL allows you to use OpenGL functions in the Object-Oriented way.
For more information... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("CSharpGL")]
[assembly: AssemblyDescription(
@"CSharpGL allows you to use OpenGL functions in the Object-Oriented way.
It wraps OpenGL’s fu... | mit | C# |
ea477a218df2197938d5f4bbe78d43279317c983 | Update Variables.cs | amay077/Xamarin.Forms.GoogleMaps | XFGoogleMapSample/XFGoogleMapSample/Variables.cs | XFGoogleMapSample/XFGoogleMapSample/Variables.cs | /// PLEASE RENAME THIS FILE TO Variables.cs
using System;
namespace XFGoogleMapSample
{
public static class Variables
{
// https://developers.google.com/maps/documentation/android-api/signup
public const string GOOGLE_MAPS_ANDROID_API_KEY = "your_android_maps_apikey";
// https://develop... | /// PLEASE RENAME THIS FILE TO Variables.cs
using System;
namespace XFGoogleMapSample
{
public static class Variables
{
// https://developers.google.com/maps/documentation/android-api/signup
public const string GOOGLE_MAPS_ANDROID_API_KEY = "AIzaSyDJEUQvRgCbnqob11uGvy-DuX37hvCYFXc";
// ... | mit | C# |
03f61e240cd512d69f9248dcb9c475c62430ff48 | Remove tracing from the unifier | Logicalshift/Reason | LogicalShift.Reason/BasicUnification.cs | LogicalShift.Reason/BasicUnification.cs | using LogicalShift.Reason.Api;
using LogicalShift.Reason.Unification;
using System;
using System.Collections.Generic;
namespace LogicalShift.Reason
{
/// <summary>
/// Helper methods for performing unification
/// </summary>
public static class BasicUnification
{
/// <summary>
/// ... | using LogicalShift.Reason.Api;
using LogicalShift.Reason.Unification;
using System;
using System.Collections.Generic;
namespace LogicalShift.Reason
{
/// <summary>
/// Helper methods for performing unification
/// </summary>
public static class BasicUnification
{
/// <summary>
/// ... | apache-2.0 | C# |
580bdd8c86dca4a91057319b4e50947acd95d4c4 | Update HomeController description | uheerme/core,uheerme/core,uheerme/core | Samesound/Controllers/HomeController.cs | Samesound/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Samesound.Controllers
{
/// <summary>
/// The web application's controller.
/// </summary>
public class HomeController : Controller
{
/// <summary>
/// The method th... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Samesound.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
}
}
| mit | C# |
d20a79c3f992261665b41203207621be9aee9100 | Update bridge to use new interface | Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server | TGS.Interface.Bridge/DreamDaemonBridge.cs | TGS.Interface.Bridge/DreamDaemonBridge.cs | using RGiesecke.DllExport;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace TGS.Interface.Bridge
{
/// <summary>
/// Holds the proc that DD calls to access <see cref="ITGInterop"/>
/// </summary>
public static class DreamDaemonBridge
{
/// <summary>
/// The proc ... | using RGiesecke.DllExport;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using TGS.Interface;
using TGS.Interface.Components;
namespace TGS.Interface.Bridge
{
/// <summary>
/// Holds the proc that DD calls to access <see cref="ITGInterop"/>
/// </summary>
public static class... | agpl-3.0 | C# |
3cc16e8a108f0e5b15d4d2fcb03da153313e2e9f | add RegexHelper | jwldnr/VisualLinter | VisualLinter/Helpers/EnvironmentHelper.cs | VisualLinter/Helpers/EnvironmentHelper.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace jwldnr.VisualLinter.Helpers
{
internal static class EnvironmentHelper
{
internal static string GetVariable(string name)
{
return GetVariableInfo("PATH", EnvironmentVariableTarget.User)
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace jwldnr.VisualLinter.Helpers
{
internal static class EnvironmentHelper
{
internal static string GetVariable(string name) => GetVariableInfo("PATH", EnvironmentVariableTarget.User)
.Select(value => ... | mit | C# |
e32f4fcf4508f7a94bad4d492b0693f45502077d | バージョンを1.0.3へ。NuGetパッケージと合わせる。 | ume05rw/Xb.Core,ume05rw/Xb.Core | Xb.Core.PCL4.5/Properties/AssemblyInfo.cs | Xb.Core.PCL4.5/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Xb.Core")]
[assembly: AssemblyDescription("Ready to Xamarin, Simple Library(PC... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Xb.Core")]
[assembly: AssemblyDescription("Ready to Xamarin, Simple Library(PC... | mit | C# |
9be6421d21041aa64bee9e111459d45b43741717 | Update range documentation. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Utils/Range.cs | Source/Lib/TraktApiSharp/Utils/Range.cs | namespace TraktApiSharp.Utils
{
/// <summary>
/// Represents a range between two values.
/// </summary>
/// <typeparam name="T">The actual underlying data type.</typeparam>
public struct Range<T>
{
/// <summary>Initializes a new instance of the <see cref="Range{T}" /> struct.</summary>
... | namespace TraktApiSharp.Utils
{
/// <summary>
/// Represents a range between two values.
/// </summary>
/// <typeparam name="T">The actual underlying data type.</typeparam>
public struct Range<T>
{
/// <summary>Initializes a new instance of the <see cref="Range" /> struct.</summary>
... | mit | C# |
64b2173fd2e6ec2a693090188ca37b4d5e520d7f | Fix possible `Element does not support ... control pattern interface.` | 2gis/Winium.StoreApps,2gis/Winium.StoreApps | Winium/Winium.StoreApps.InnerServer/Commands/Helpers/FrameworkElementExtensions.cs | Winium/Winium.StoreApps.InnerServer/Commands/Helpers/FrameworkElementExtensions.cs | namespace Winium.StoreApps.InnerServer.Commands.Helpers
{
#region
using Windows.UI.Xaml;
using Windows.UI.Xaml.Automation;
using Windows.UI.Xaml.Automation.Peers;
using Winium.Mobile.Common.Exceptions;
#endregion
internal static class FrameworkElementExtensions
{
#region Con... | namespace Winium.StoreApps.InnerServer.Commands.Helpers
{
#region
using Windows.UI.Xaml;
using Windows.UI.Xaml.Automation;
using Windows.UI.Xaml.Automation.Peers;
using Winium.Mobile.Common.Exceptions;
#endregion
internal static class FrameworkElementExtensions
{
#region Con... | mpl-2.0 | C# |
fdfd82aec42256ca1f44ab3b576c5c410640316d | Add elastic scale on appear | smoogipoo/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game/Graphics/UserInterfaceV2/OsuPopover.cs | osu.Game/Graphics/UserInterfaceV2/OsuPopover.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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Effects;
using osu.Framework.Graphics.UserInterfac... | // 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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Effects;
using osu.Framework.Graphics.UserInterfac... | mit | C# |
bb1a72cb6feb961fb10e4104942a40c83c3975d3 | Fix tests being order-dependent | ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework | osu.Framework.Tests/Localisation/ThreadCultureTest.cs | osu.Framework.Tests/Localisation/ThreadCultureTest.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.Collections.Generic;
using System.Globalization;
using System.Threading;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Configura... | // 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.Collections.Generic;
using System.Globalization;
using System.Threading;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Configura... | mit | C# |
061d9f8d1b4e41a488145165c3e3f392a408eb42 | Make DimmedLoadingLayer block input when active (#6956) | peppy/osu-new,johnneijzen/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,johnneijzen/osu,2yangk23/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu | osu.Game/Graphics/UserInterface/DimmedLoadingLayer.cs | osu.Game/Graphics/UserInterface/DimmedLoadingLayer.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 osuTK.Graphics;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Extensions.Color4Ex... | // 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 osuTK.Graphics;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Extensions.Color4Ex... | mit | C# |
b9202420b6f85e336764e2d7e2467f8ca091ebc4 | Format unknown OID. | googleprojectzero/sandbox-attacksurface-analysis-tools | NtApiDotNet/Utilities/ASN1/OIDValues.cs | NtApiDotNet/Utilities/ASN1/OIDValues.cs | // Copyright 2020 Google Inc. 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 copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... | // Copyright 2020 Google Inc. 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 copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... | apache-2.0 | C# |
6493a4c7d1438c2c2decbd002bc0d28c73db9a86 | Add POST REDIRECT GET Pattern to controller | IliaAnastassov/OdeToFood,IliaAnastassov/OdeToFood | OdeToFood/Controllers/HomeController.cs | OdeToFood/Controllers/HomeController.cs | using Microsoft.AspNetCore.Mvc;
using OdeToFood.Entities;
using OdeToFood.Services;
using OdeToFood.ViewModels;
namespace OdeToFood.Controllers
{
public class HomeController : Controller
{
private IRestaurantData _restaurantData;
private IGreeter _greeter;
public HomeController(IResta... | using System.Linq;
using Microsoft.AspNetCore.Mvc;
using OdeToFood.Entities;
using OdeToFood.Services;
using OdeToFood.ViewModels;
namespace OdeToFood.Controllers
{
public class HomeController : Controller
{
private IRestaurantData _restaurantData;
private IGreeter _greeter;
public Ho... | mit | C# |
4c6330bb21fa0eb6c9ff69de3ccf617f9911cf72 | bump version to 1.5.8 | martin2250/OpenCNCPilot | OpenCNCPilot/Properties/AssemblyInfo.cs | OpenCNCPilot/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("OpenCNCPilot")]
[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("OpenCNCPilot")]
[as... | mit | C# |
516492c5449d529cb2a065229c854f0156a57ef4 | bump to version 1.3.6 | Terradue/DotNetTep,Terradue/DotNetTep | Terradue.Tep/Properties/AssemblyInfo.cs | Terradue.Tep/Properties/AssemblyInfo.cs | /*!
\namespace Terradue.Tep
@{
Terradue.Tep Software Package provides with all the functionalities specific to the TEP.
\xrefitem sw_version "Versions" "Software Package Version" 1.3.6
\xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep)
\xref... | /*!
\namespace Terradue.Tep
@{
Terradue.Tep Software Package provides with all the functionalities specific to the TEP.
\xrefitem sw_version "Versions" "Software Package Version" 1.3.5
\xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep)
\xref... | agpl-3.0 | C# |
03917d92e7b344ab154a757610ea85daab8b4b3d | Revise TakeAReasonableFee for good. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Helpers/NBitcoinHelpers.cs | WalletWasabi/Helpers/NBitcoinHelpers.cs | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WalletWasabi.Helpers
{
public static class NBitcoinHelpers
{
public static string HashOutpoints(IEnumerable<OutPoint> outPoints)
{
var sb = new StringBuilder();
foreach (OutPoint input in outPoi... | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WalletWasabi.Helpers
{
public static class NBitcoinHelpers
{
public static string HashOutpoints(IEnumerable<OutPoint> outPoints)
{
var sb = new StringBuilder();
foreach (OutPoint input in outPoi... | mit | C# |
900f72ef11e506caad3a558d0702ac335dbab6d7 | Remove all awaits in the MessageBusConnection | exceptionless/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless,adamzolotarev/Exceptionless,exceptionless/Exceptionless,adamzolotarev/Exceptionless,adamzolotarev/Exceptionless | Source/Api/Hubs/MessageBusConnection.cs | Source/Api/Hubs/MessageBusConnection.cs | using System;
using System.Threading.Tasks;
using Exceptionless.Core.Component;
using Exceptionless.Core.Extensions;
using Microsoft.AspNet.SignalR;
namespace Exceptionless.Api.Hubs {
public class MessageBusConnection : PersistentConnection {
private readonly ConnectionMapping _userIdConnections;
... | using System;
using System.Linq;
using System.Threading.Tasks;
using Exceptionless.Core.Component;
using Exceptionless.Core.Extensions;
using Foundatio.Logging;
using Microsoft.AspNet.SignalR;
namespace Exceptionless.Api.Hubs {
public class MessageBusConnection : PersistentConnection {
private readonly Co... | apache-2.0 | C# |
a7178da708d79f44acc204bccde773e6600d55b6 | Handle leading and trailing whitespace for comments. (#664) | tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools | tools/check-enforcer/Azure.Sdk.Tools.CheckEnforcer/Handlers/IssueCommentHandler.cs | tools/check-enforcer/Azure.Sdk.Tools.CheckEnforcer/Handlers/IssueCommentHandler.cs | using Azure.Sdk.Tools.CheckEnforcer.Configuration;
using Azure.Sdk.Tools.CheckEnforcer.Integrations.GitHub;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Primitives;
using Microsoft.Identity.Client;
using Octokit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
us... | using Azure.Sdk.Tools.CheckEnforcer.Configuration;
using Azure.Sdk.Tools.CheckEnforcer.Integrations.GitHub;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Primitives;
using Microsoft.Identity.Client;
using Octokit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
us... | mit | C# |
5ec8e14e205f00517dca9351992e6ded255edae9 | Comment out route to raw file | Zyrio/ictus,Zyrio/ictus | src/Ictus/Controllers/HomeController.cs | src/Ictus/Controllers/HomeController.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Yio.Controllers
{
public class HomeController : Controller
{
public HomeController()
{
}
[Route("/")]
[Route("/{repository}")]
[Route("/{repository}/{fileId}")]
public IActionResult ... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Yio.Controllers
{
public class HomeController : Controller
{
public HomeController()
{
}
[Route("/")]
[Route("/{repository}")]
[Route("/{repository}/{fileId}")]
public IActionResult ... | mit | C# |
69f549a2ba99b35dc30916b2cc73d3fa3d4cd136 | allow registration of new mediator; default to old mediator | turner-industries/Turner.Infrastructure.Mediator | Turner.Infrastructure.Mediator/Configuration/SimpleInjectorMediatorConfiguration.cs | Turner.Infrastructure.Mediator/Configuration/SimpleInjectorMediatorConfiguration.cs | using SimpleInjector;
using System.Reflection;
using Turner.Infrastructure.Mediator.Decorators;
using Turner.Infrastructure.Mediator.Mediators;
namespace Turner.Infrastructure.Mediator.Configuration
{
public static class SimpleInjectorMediatorConfiguration
{
public static void ConfigureMediator(this C... | using SimpleInjector;
using System.Reflection;
using Turner.Infrastructure.Mediator.Decorators;
namespace Turner.Infrastructure.Mediator.Configuration
{
public static class SimpleInjectorMediatorConfiguration
{
public static void ConfigureMediator(this Container container, Assembly[] assemblies)
... | mit | C# |
c136f7541bde862b3276faf03b62cfbbfab125ea | fix code in code block rule. | LordZoltan/docfx,DuncanmaMSFT/docfx,928PJY/docfx,superyyrrzz/docfx,hellosnow/docfx,dotnet/docfx,pascalberger/docfx,hellosnow/docfx,928PJY/docfx,DuncanmaMSFT/docfx,dotnet/docfx,LordZoltan/docfx,dotnet/docfx,928PJY/docfx,pascalberger/docfx,superyyrrzz/docfx,superyyrrzz/docfx,pascalberger/docfx,hellosnow/docfx,LordZoltan/... | src/Microsoft.DocAsCode.MarkdownLite/Basic/BlockRules/MarkdownCodeBlockRule.cs | src/Microsoft.DocAsCode.MarkdownLite/Basic/BlockRules/MarkdownCodeBlockRule.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.MarkdownLite
{
using System.Text.RegularExpressions;
public class MarkdownCodeBlockRule : IMarkdownRule
{
public vir... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.MarkdownLite
{
using System.Text.RegularExpressions;
public class MarkdownCodeBlockRule : IMarkdownRule
{
public vir... | mit | C# |
bddece4faa1f751d090b75022cb3d66c90af678c | return raw message in wechat verification | supertigerzou/TigerStudio,supertigerzou/TigerStudio | src/TigerStudio.API/Modules/TigerStudio.Wechat/Controllers/WechatController.cs | src/TigerStudio.API/Modules/TigerStudio.Wechat/Controllers/WechatController.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Security;
namespace TigerStudio.Wechat.Controllers
{
[RoutePrefix("api/wechat")]
public clas... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Security;
namespace TigerStudio.Wechat.Controllers
{
[RoutePrefix("api/wechat")]
public class WechatController : Api... | mit | C# |
a6384eb03bb449fb86e1b10b0b4186806ec92075 | Fix StackTraceLog. | nessos/Eff | src/Eff.Tests/Utils.cs | src/Eff.Tests/Utils.cs | using Eff.Core;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Eff.Tests
{
static class Utils
{
public static string StackTraceLog(this Exception ex)
{
if (ex.Data["StackTraceLog"] is Qu... | using Eff.Core;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Eff.Tests
{
static class Utils
{
public static string StackTraceLog(this Exception ex)
{
var builder = new StringBuilder();... | mit | C# |
9047b56ed1086318bbd7034b01216fb5c79ad233 | Make Asset non abstract | brickpile/brickpile,brickpile/brickpile,brickpile/brickpile | BrickPile.Domain/Models/Asset.cs | BrickPile.Domain/Models/Asset.cs | using System;
using System.ComponentModel.DataAnnotations;
namespace BrickPile.Domain.Models {
public class Asset {
/// <summary>
/// Gets or sets the id.
/// </summary>
/// <value>
/// The id.
/// </value>
[ScaffoldColumn(false)]
public string Id {... | using System;
using System.ComponentModel.DataAnnotations;
namespace BrickPile.Domain.Models {
public abstract class Asset {
/// <summary>
/// Gets or sets the id.
/// </summary>
/// <value>
/// The id.
/// </value>
[ScaffoldColumn(false)]
public st... | mit | C# |
2485173b9d4437ea0a4793789a86a753019e7341 | Fix inconsistent ordering | jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode | CSharp8/Nullability/BasicDemo.cs | CSharp8/Nullability/BasicDemo.cs | #nullable disable
// All code is available at:
// https://github.com/jskeet/DemoCode
using System;
namespace Nullability
{
class Person
{
public string FirstName { get; }
public string LastName { get; }
public string MiddleName { get; }
public Person(string firstName, string ... | #nullable disable
// All code is available at:
// https://github.com/jskeet/DemoCode
using System;
namespace Nullability
{
class Person
{
public string FirstName { get; }
public string LastName { get; }
public string MiddleName { get; }
public Person(string firstName, string ... | apache-2.0 | C# |
5503aa7b4a60e5d144af2cdb1eebaa409413a257 | Remove comment | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | samples/MvcSample/FiltersController.cs | samples/MvcSample/FiltersController.cs | using Microsoft.AspNet.Mvc;
using MvcSample.Filters;
using MvcSample.Models;
namespace MvcSample
{
[ServiceFilter(typeof(PassThroughAttribute), Order = 1)]
[ServiceFilter(typeof(PassThroughAttribute))]
[PassThrough(Order = 0)]
[PassThrough(Order = 2)]
public class FiltersController : Controller
... | using Microsoft.AspNet.Mvc;
using MvcSample.Filters;
using MvcSample.Models;
namespace MvcSample
{
// Expected order in descriptor - object -> int -> string
// TODO: Add a real filter here
[ServiceFilter(typeof(PassThroughAttribute), Order = 1)]
[ServiceFilter(typeof(PassThroughAttribute))]
[PassT... | apache-2.0 | C# |
b6268e36505ece94d2ba5f8b4d2842ce59dedaae | Bump version to 8.17.0-rc2 | bjarnef/Umbraco-CMS,abryukhov/Umbraco-CMS,dawoe/Umbraco-CMS,bjarnef/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,mattbrailsford/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abjerner... | src/SolutionInfo.cs | src/SolutionInfo.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | mit | C# |
169d324bc0d610e4937d3709899a29428a5dd242 | Make the Monaco editor Fields support preview (#10777) | stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2 | src/OrchardCore.Modules/OrchardCore.ContentFields/Views/TextField-Monaco.Edit.cshtml | src/OrchardCore.Modules/OrchardCore.ContentFields/Views/TextField-Monaco.Edit.cshtml | @model OrchardCore.ContentFields.ViewModels.EditTextFieldViewModel
@{
var settings = Model.PartFieldDefinition.GetSettings<TextFieldSettings>();
var monacoSettings = Model.PartFieldDefinition.GetSettings<TextFieldMonacoEditorSettings>();
var culture = await Orchard.GetContentCultureAsync(Model.Field.Conten... | @model OrchardCore.ContentFields.ViewModels.EditTextFieldViewModel
@{
var settings = Model.PartFieldDefinition.GetSettings<TextFieldSettings>();
var monacoSettings = Model.PartFieldDefinition.GetSettings<TextFieldMonacoEditorSettings>();
var culture = await Orchard.GetContentCultureAsync(Model.Field.Conten... | bsd-3-clause | C# |
acfd4352b5d9a3611666f2f9768526156e27103b | Fix a typo in the NodaTime.Calendars namespace summary. | zaccharles/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,zaccharles/nodatime,nodatime/nodatime,malcolmr/nodatime,nodatime/nodatime,zaccharles/nodatime,jskeet/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,zaccharles/nodatime,malcolmr/nodatime,jskeet/nodatime | src/NodaTime/Calendars/NamespaceDoc.cs | src/NodaTime/Calendars/NamespaceDoc.cs | #region Copyright and license information
// Copyright 2001-2009 Stephen Colebourne
// Copyright 2009-2011 Jon Skeet
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// h... | #region Copyright and license information
// Copyright 2001-2009 Stephen Colebourne
// Copyright 2009-2011 Jon Skeet
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// h... | apache-2.0 | C# |
c1d0a2dd351c6ee9cd088461dbc6c6bcb8a0dc09 | Fix build script | lockoncode/LockOnCode.VirtualMachine,lockoncode/LockOnCode.VirtualMachine | build.cake | build.cake | #addin "Cake.Incubator"
#tool "xunit.runner.console"
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var binDir = ""; // Destination Binary File Directory name i.e. bin
var projJson = ""; // Path to the project.json
var projDir = ""; // Project Dir... | #addin "Cake.Incubator"
#tool "xunit.runner.console"
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var binDir = ""; // Destination Binary File Directory name i.e. bin
var projJson = ""; // Path to the project.json
var projDir = ""; // Project Dir... | mit | C# |
f5acf48de30f7f66150e5df2a27acfdfadde9969 | Raise build verbosity to debug appveyor. | jzeferino/jzeferino.XSAddin,jzeferino/jzeferino.XSAddin | build.cake | build.cake | #addin "Cake.Xamarin&version=1.3.0.14"
var target = Argument("target", "Default");
var configuration = "Release";
// Define directories.
var solutionFile = GetFiles("./*.sln").First();
// Addin project.
var binaryPath = File("./src/jzeferino.XSAddin/bin/" + configuration + "jzeferino.XSAddin.dll");
// Output folder... | #addin "Cake.Xamarin&version=1.3.0.14"
var target = Argument("target", "Default");
var configuration = "Release";
// Define directories.
var solutionFile = GetFiles("./*.sln").First();
// Addin project.
var binaryPath = File("./src/jzeferino.XSAddin/bin/" + configuration + "jzeferino.XSAddin.dll");
// Output folder... | mit | C# |
b38275ba23b6fe9b0bf4602255ce325c9c2bcc13 | Fix cake not finding MSBuild with custom VS installation directory | Zutatensuppe/DiabloInterface,Zutatensuppe/DiabloInterface | build.cake | build.cake | #tool nuget:?package=vswhere
#addin nuget:?package=Cake.Compression&version=0.1.1
#addin nuget:?package=SharpZipLib&version=0.86.0
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var buildNumber = Argument("buildNumber", "0");
var buildDir = Directory("./artifacts"... | #addin nuget:?package=Cake.Compression&version=0.1.1
#addin nuget:?package=SharpZipLib&version=0.86.0
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var buildNumber = Argument("buildNumber", "0");
var buildDir = Directory("./artifacts");
var binDir = buildDir + Di... | mit | C# |
d7f287195e2d9902e5037ad42e6166e54ce54575 | Add a check for when the MyGet Eto source already exists (#8) | Marc3842h/Titan,Marc3842h/Titan,Marc3842h/Titan | build.cake | build.cake | #tool "nuget:?package=xunit.runner.console"
var config = Argument("configuration", "Release");
var buildDir = Directory("./Titan/bin/") + Directory(config);
Task("Clean")
.Does(() =>
{
CleanDirectory(buildDir);
});
Task("Restore-NuGet-Packages")
.IsDependentOn("Clean")
.Does(() =>
{
if(!NuGetHas... | #tool "nuget:?package=xunit.runner.console"
var config = Argument("configuration", "Release");
var buildDir = Directory("./Titan/bin/") + Directory(config);
Task("Clean")
.Does(() =>
{
CleanDirectory(buildDir);
});
Task("Restore-NuGet-Packages")
.IsDependentOn("Clean")
.Does(() =>
{
// First add... | mit | C# |
f0d4ab9aa7d46671064a3a833f3bd5d3883d992a | Revert "ignore opencover sample project" | mgj/fetcher,mgj/fetcher | build.cake | build.cake | #tool "nuget:?package=GitVersion.CommandLine"
#tool "nuget:?package=gitlink"
var sln = new FilePath("Fetcher.sln");
var binDir = new DirectoryPath("bin");
var outputDir = new DirectoryPath("artifacts");
var target = Argument("target", "Default");
var isRunningOnAppVeyor = AppVeyor.IsRunningOnAppVeyor;
var isPullReque... | #tool "nuget:?package=GitVersion.CommandLine"
#tool "nuget:?package=gitlink"
var sln = new FilePath("Fetcher.sln");
var binDir = new DirectoryPath("bin");
var outputDir = new DirectoryPath("artifacts");
var target = Argument("target", "Default");
var isRunningOnAppVeyor = AppVeyor.IsRunningOnAppVeyor;
var isPullReque... | apache-2.0 | C# |
a282071afe4838917c51a4de93e7e3f9e4bc4d6e | fix project.json location for dotnetrestore | frozenskys/appy-christmas,frozenskys/appy-christmas | build.cake | build.cake | ///////////////////////////////////////////////////////////////////////////////
// Tools and Addins
///////////////////////////////////////////////////////////////////////////////
#addin nuget:?package=Cake.Figlet
///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
////////////... | ///////////////////////////////////////////////////////////////////////////////
// Tools and Addins
///////////////////////////////////////////////////////////////////////////////
#addin nuget:?package=Cake.Figlet
///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
////////////... | mit | C# |
91ca245c584921864a44f15b9c8934147c53d469 | Allow testing | EVAST9919/osu,naoey/osu,smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,DrabWeb/osu,smoogipoo/osu,2yangk23/osu,peppy/osu,peppy/osu-new,smoogipooo/osu,DrabWeb/osu,ppy/osu,ppy/osu,smoogipoo/osu,2yangk23/osu,naoey/osu,DrabWeb/osu,NeoAdonis/osu,NeoAdonis/osu,EVAST9919/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,pep... | build.cake | build.cake | ///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
///////////////////////////////////////////////////////////////////////////////
var target = Argument("target", "Build");
var framework = Argument("framework", "net471");
var configuration = Argument("configuration", "Release"... | #tool Microsoft.TestPlatform.Portable
///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
///////////////////////////////////////////////////////////////////////////////
var target = Argument("target", "Test");
var framework = Argument("framework", "net471");
var configuration... | mit | C# |
625e205ed26468ca0db9e6a7214ba2494afb4178 | Clean up build script | robertcoltheart/Inject,robertcoltheart/Inject | build.cake | build.cake | #tool "nuget:?package=GitVersion.CommandLine&version=3.6.1"
#tool "nuget:?package=NUnit.ConsoleRunner&version=3.4.1"
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var... | #addin "nuget:?package=Cake.DocFx&version=0.1.6"
#addin "nuget:?package=Cake.ReSharperReports&version=0.3.1"
#tool "nuget:?package=GitVersion.CommandLine&version=3.6.1"
#tool "nuget:?package=NUnit.ConsoleRunner&version=3.4.1"
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
////////... | mit | C# |
ce603fc99ec9c2b9cc5d233f14878d61930634d0 | Update cake script to csproj | stormpath/stormpath-dotnet-owin-middleware | build.cake | build.cake | var configuration = Argument("configuration", "Debug");
Task("Clean")
.Does(() =>
{
CleanDirectory("./artifacts/");
});
Task("Restore")
.Does(() =>
{
DotNetCoreRestore();
});
Task("Build")
.Does(() =>
{
DotNetCoreBuild("./src/**/*.csproj", new DotNetCoreBuildSettings
{
Configuration = config... | var configuration = Argument("configuration", "Debug");
Task("Clean")
.Does(() =>
{
CleanDirectory("./artifacts/");
});
Task("Restore")
.Does(() =>
{
DotNetCoreRestore();
});
Task("Build")
.Does(() =>
{
DotNetCoreBuild("./src/**/project.json", new DotNetCoreBuildSettings
{
Configuration = co... | apache-2.0 | C# |
09a3a3b3a46792edb66ddd39119d990f76a89975 | fix build script | Sphiecoh/MusicStore,Sphiecoh/MusicStore | build.cake | build.cake | var target = Argument("target", "Default");
var configuration = Argument<string>("configuration", "Release");
///////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
///////////////////////////////////////////////////////////////////////////////
var isLocalBuild ... | var target = Argument("target", "Default");
var configuration = Argument<string>("configuration", "Release");
///////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
///////////////////////////////////////////////////////////////////////////////
var isLocalBuild ... | mit | C# |
2fafc74c74e838cfd1df833fb4ee9e7d1274f299 | Add copyright header. | ft-/opensim-optimizations-wip,AlexRa/opensim-mods-Alex,ft-/arribasim-dev-extras,bravelittlescientist/opensim-performance,bravelittlescientist/opensim-performance,bravelittlescientist/opensim-performance,N3X15/VoxelSim,intari/OpenSimMirror,RavenB/opensim,allquixotic/opensim-autobackup,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLC... | OpenSim/Framework/ConfigBase.cs | OpenSim/Framework/ConfigBase.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... | using System;
using System.Collections.Generic;
using System.Text;
namespace OpenSim.Framework
{
public abstract class ConfigBase
{
protected ConfigurationMember m_configMember;
}
}
| bsd-3-clause | C# |
557a33c254af5c05fcb1c7c3c9a87cb948431df2 | Update Version.cs | plivo/plivo-dotnet,plivo/plivo-dotnet | src/Plivo/Version.cs | src/Plivo/Version.cs | using System;
namespace Plivo
{
/// <summary>
/// Version.
/// </summary>
public class Version
{
/// <summary>
/// DotNet SDK version
/// </summary>
public const string SdkVersion = "4.4.10";
/// <summary>
/// Plivo API version
/// </summary>... | using System;
namespace Plivo
{
/// <summary>
/// Version.
/// </summary>
public class Version
{
/// <summary>
/// DotNet SDK version
/// </summary>
public const string SdkVersion = "4.4.9";
/// <summary>
/// Plivo API version
/// </summary>
... | mit | C# |
e51049544d4020bef380c47c17cdd21ed1fa58f2 | Update types of IDirectedEdge | DasAllFolks/SharpGraphs | Graph/IDirectedEdge.cs | Graph/IDirectedEdge.cs | using System;
namespace Graph
{
/// <summary>
/// Represents a directed edge (arrow) in a labeled <see cref="Graph"/>.
/// </summary>
/// <typeparam name="V">
/// The type used to create vertex (node) labels.
/// </typeparam>
public interface IDirectedEdge<V, W> : IEdge<V, W>, IEquatable<I... | using System;
namespace Graph
{
/// <summary>
/// Represents a directed edge (arrow) in a labeled <see cref="Graph"/>.
/// </summary>
/// <typeparam name="V">
/// The type used to create vertex (node) labels.
/// </typeparam>
public interface IDirectedEdge<V> : IEdge<V>, IEquatable<IDirect... | apache-2.0 | C# |
f5b77a1a91c41c1992ea3b45ddb2905ba988eebd | Change Pcsc<T> to Pcsc<TIPcscProvider> | Archie-Yang/PcscDotNet | src/PcscDotNet/Pcsc_1.cs | src/PcscDotNet/Pcsc_1.cs | using System;
namespace PcscDotNet
{
public static class Pcsc<TIPcscProvider> where TIPcscProvider : class, IPcscProvider, new()
{
private static readonly Pcsc _instance = new Pcsc(new TIPcscProvider());
public static Pcsc Instance => _instance;
public static PcscContext CreateContext... | using System;
namespace PcscDotNet
{
public static class Pcsc<T> where T : class, IPcscProvider, new()
{
private static readonly Pcsc _instance = new Pcsc(new T());
public static Pcsc Instance => _instance;
public static PcscContext CreateContext()
{
return new Pcs... | mit | C# |
d3270e9ecb2d74945725c2d536921a6c20c60541 | Bump version to 0.24 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
9ece63a9253370889189ba3cc7a444eea60b3c41 | Bump version | github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity,mpOzelot/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.AssemblyVersionInformation.Version)]... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.AssemblyVersionInformation.Version)]... | mit | C# |
5f36eeffe88821f066f54082965adb956958ab8b | Add an assertion for BoundExpression.Display with a null Type. | swaroop-sridhar/roslyn,ErikSchierboom/roslyn,KevinRansom/roslyn,reaction1989/roslyn,weltkante/roslyn,VSadov/roslyn,dpoeschl/roslyn,mmitche/roslyn,abock/roslyn,physhi/roslyn,MattWindsor91/roslyn,wvdd007/roslyn,jkotas/roslyn,KevinH-MS/roslyn,mattscheffer/roslyn,nguerrera/roslyn,nguerrera/roslyn,srivatsn/roslyn,VSadov/ros... | src/Compilers/CSharp/Portable/BoundTree/Formatting.cs | src/Compilers/CSharp/Portable/BoundTree/Formatting.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Utilities;
using Sys... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Utilities;
namespac... | mit | C# |
07424f598fa181ba269793bbc08f4da96ccc21bc | Fix test | stripe/stripe-dotnet | src/StripeTests/Infrastructure/StripeExceptionTest.cs | src/StripeTests/Infrastructure/StripeExceptionTest.cs | namespace StripeTests
{
using System.Threading.Tasks;
using Stripe;
using Xunit;
public class StripeExceptionTest : BaseStripeTest
{
public StripeExceptionTest(StripeMockFixture stripeMockFixture)
: base(stripeMockFixture)
{
}
[Fact]
public async... | namespace StripeTests
{
using System.Threading.Tasks;
using Stripe;
using Xunit;
public class StripeExceptionTest : BaseStripeTest
{
public StripeExceptionTest(StripeMockFixture stripeMockFixture)
: base(stripeMockFixture)
{
}
[Fact]
public async... | apache-2.0 | C# |
786020dfbdf01ab6930a2fee8a766b53b3ddcbb2 | Make collections in TestGroup observable | lpatalas/ExpressRunner | MiniRunner/TestGroup.cs | MiniRunner/TestGroup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;
using MiniRunner.Api;
namespace MiniRunner
{
public class TestGroup
{
private readonly string name;
private readonly BindableCollection<TestGroup> subGroups... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MiniRunner.Api;
namespace MiniRunner
{
public class TestGroup
{
private readonly string name;
private readonly IList<TestGroup> subGroups;
private readonly IList<Te... | mit | C# |
6ec03f4a96ab2396b48a819ac6091ffb4cb5121c | fix the randomScale | enormand/cyber-space-shooter | Assets/Scripts/Objects/DebrisController.cs | Assets/Scripts/Objects/DebrisController.cs | using UnityEngine;
using System.Collections;
public class DebrisController : SpaceObject {
public float minRandomScale;
public float maxRandomScale;
public float scaleAxisVariability;
public float speedVariablity;
public float maxRandomTumble;
public int scoreValue = 1;
private Vector3 speedForce;
public ... | using UnityEngine;
using System.Collections;
public class DebrisController : SpaceObject {
public float minRandomScale;
public float maxRandomScale;
public float scaleAxisVariability;
public float speedVariablity;
public float maxRandomTumble;
public int scoreValue = 1;
private Vector3 speedForce;
public ... | mit | C# |
015f71f35881e721b3d0f6964926fafccd65ea4d | Update assembly version of Types.dll to 3.7 | NuGetPackageExplorer/NuGetPackageExplorer,BreeeZe/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,campersau/NuGetPackageExplorer,dsplaisted/NuGetPackageExplorer | Types/Properties/AssemblyInfo.cs | Types/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Outercurve Foundation")]
[assembly: AssemblyProduct("NuGet Package Explorer")]
[assembly: AssemblyCopyright("\x00a9 Outercurve Foundation. All rights reserved.")]
[assembly: AssemblyTitle("NuGetPackageExplorer.Types")]
[... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Outercurve Foundation")]
[assembly: AssemblyProduct("NuGet Package Explorer")]
[assembly: AssemblyCopyright("\x00a9 Outercurve Foundation. All rights reserved.")]
[assembly: AssemblyTitle("NuGetPackageExplorer.Types")]
[... | mit | C# |
c0803ee8f0df48412564af36d5c7d56702b3bf19 | Change test back to using a string builder | csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay | Tests/CSF.Screenplay.Reporting.Tests/JsonReportRendererTests.cs | Tests/CSF.Screenplay.Reporting.Tests/JsonReportRendererTests.cs | using System.IO;
using System.Text;
using CSF.Screenplay.Reporting.Tests;
using CSF.Screenplay.Reporting.Tests.Autofixture;
using CSF.Screenplay.ReportModel;
using NUnit.Framework;
namespace CSF.Screenplay.Reporting.Tests
{
[TestFixture]
public class JsonReportRendererTests
{
[Test,AutoMoqData]
public v... | using System.IO;
using System.Text;
using CSF.Screenplay.Reporting.Tests;
using CSF.Screenplay.Reporting.Tests.Autofixture;
using CSF.Screenplay.ReportModel;
using NUnit.Framework;
namespace CSF.Screenplay.Reporting.Tests
{
[TestFixture]
public class JsonReportRendererTests
{
[Test,AutoMoqData]
public v... | mit | C# |
c97d02321110071c2b1ff47e6c8b7a42c5be330d | remove body parameters | j2ghz/IntranetGJAK,j2ghz/IntranetGJAK | IntranetGJAK/Controllers/FileController.cs | IntranetGJAK/Controllers/FileController.cs | using IntranetGJAK.Models;
using Microsoft.AspNet.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
// For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
namespace IntranetGJAK.Controllers
{
[Route("... | using IntranetGJAK.Models;
using Microsoft.AspNet.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
// For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
namespace IntranetGJAK.Controllers
{
[Route("... | agpl-3.0 | C# |
a7d2a915165485a4b528ac16ddf53b2c6360676d | Remove test code | mattherman/MbDotNet,SuperDrew/MbDotNet,mattherman/MbDotNet | MbDotNet/Exceptions/MountebankException.cs | MbDotNet/Exceptions/MountebankException.cs | using System;
namespace MbDotNet.Exceptions
{
[Serializable]
public class MountebankException : Exception
{
public MountebankException(string message) : base(message) { }
}
}
| using System;
namespace MbDotNet.Exceptions
{
[Serializable]
public class MountebankException : Exception
{
public MountebankException(string message) : base(message) { }
public void Test()
{
var obj = new { Key = "x", Value = "y" };
}
}
}
| mit | C# |
15dd132c92e13ee2fb41f723a270d65a441d8d89 | Use SetUpSteps attribute | ZLima12/osu,2yangk23/osu,ppy/osu,DrabWeb/osu,smoogipoo/osu,2yangk23/osu,johnneijzen/osu,smoogipooo/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,EVAST9919/osu,johnneijzen/osu,NeoAdonis/osu,ZLima12/osu,peppy/osu,DrabWeb/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,ppy/osu,DrabWeb... | osu.Game/Tests/Visual/PlayerTestCase.cs | osu.Game/Tests/Visual/PlayerTestCase.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.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
usin... | // 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.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
usin... | mit | C# |
5495a0a70fd1c2320c801a0e9ba6c72e6f64f7a0 | Add content to ScreenTestCase as protection against overwriting | NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,DrabWeb/osu,ZLima12/osu,peppy/osu,EVAST9919/osu,peppy/osu-new,ppy/osu,johnneijzen/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,johnneijzen/osu,DrabWeb/osu,UselessToucan/osu,EVAST9919/osu,ZLima12/osu,DrabWeb/osu,2yangk23/o... | osu.Game/Tests/Visual/ScreenTestCase.cs | osu.Game/Tests/Visual/ScreenTestCase.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.Screens;
namespace osu.Game.Tests.Visual
{
/// <summary>
/// A test case w... | // 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.Graphics;
using osu.Game.Screens;
namespace osu.Game.Tests.Visual
{
/// <summary>
/// A test case which can ... | mit | C# |
d3381f38bb4004ca1df6bde031fb23d0d25fcc08 | Clarify test case to ensure | operator works like I think it does | mattgwagner/CertiPay.Payroll.Common | CertiPay.Payroll.Common.Tests/SpecialTaxStatusTests.cs | CertiPay.Payroll.Common.Tests/SpecialTaxStatusTests.cs | using NUnit.Framework;
namespace CertiPay.Payroll.Common.Tests
{
public class SpecialTaxStatusTests
{
[Test]
[TestCase(SpecialTaxStatus.ExemptFromLocalTax | SpecialTaxStatus.ExemptFromFederalTax, SpecialTaxStatus.ExemptFromLocalTax)]
[TestCase(SpecialTaxStatus.None, SpecialTaxStatus.No... | using NUnit.Framework;
namespace CertiPay.Payroll.Common.Tests
{
public class SpecialTaxStatusTests
{
[Test]
[TestCase(SpecialTaxStatus.ExemptFromLocalTax | SpecialTaxStatus.ExemptFromFederalTax, SpecialTaxStatus.ExemptFromLocalTax)]
[TestCase(SpecialTaxStatus.None, SpecialTaxStatus.No... | mit | C# |
b6d25ed5d740381f4fc2870d13eabcd12096c7fe | Fix number of messages retrieved. Used to be n-1 | chinaboard/EasyNetQ,Ascendon/EasyNetQ,fpommerening/EasyNetQ,lukasz-lysik/EasyNetQ,ar7z1/EasyNetQ,sanjaysingh/EasyNetQ,nicklv/EasyNetQ,EasyNetQ/EasyNetQ,mleenhardt/EasyNetQ,scratch-net/EasyNetQ,zidad/EasyNetQ,Ascendon/EasyNetQ,fpommerening/EasyNetQ,Pliner/EasyNetQ,EIrwin/EasyNetQ,micdenny/EasyNetQ,tkirill/EasyNetQ,reise... | Source/EasyNetQ.Hosepipe/QueueRetrieval.cs | Source/EasyNetQ.Hosepipe/QueueRetrieval.cs | using System;
using System.Collections.Generic;
using System.Text;
using RabbitMQ.Client.Exceptions;
namespace EasyNetQ.Hosepipe
{
public interface IQueueRetreival {
IEnumerable<HosepipeMessage> GetMessagesFromQueue(QueueParameters parameters);
}
public class QueueRetreival : IQueueRetreival
... | using System;
using System.Collections.Generic;
using System.Text;
using RabbitMQ.Client.Exceptions;
namespace EasyNetQ.Hosepipe
{
public interface IQueueRetreival {
IEnumerable<HosepipeMessage> GetMessagesFromQueue(QueueParameters parameters);
}
public class QueueRetreival : IQueueRetreival
... | mit | C# |
26c89bd3bcef26edda2677f790680736ded7a694 | Fix flag msg | DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer | Common/Message/Data/Flag/FlagListResponseMsgData.cs | Common/Message/Data/Flag/FlagListResponseMsgData.cs | using Lidgren.Network;
using LunaCommon.Message.Types;
namespace LunaCommon.Message.Data.Flag
{
public class FlagListResponseMsgData : FlagBaseMsgData
{
/// <inheritdoc />
internal FlagListResponseMsgData() { }
public override FlagMessageType FlagMessageType => FlagMessageType.ListResp... | using Lidgren.Network;
using LunaCommon.Message.Types;
namespace LunaCommon.Message.Data.Flag
{
public class FlagListResponseMsgData : FlagBaseMsgData
{
/// <inheritdoc />
internal FlagListResponseMsgData() { }
public override FlagMessageType FlagMessageType => FlagMessageType.ListResp... | mit | C# |
a94a86178bcbbde7a7b1a96cf871be29c3e96b40 | Align osu!catch playfield with stable 1:1 | UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipooo/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# |
b37ec3b67d0810e0c1658357d007891e7545abaa | Remove #ifdefs for now | ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,EVAST9919/osu-... | osu.Framework/Platform/Linux/Sdl/SdlClipboard.cs | osu.Framework/Platform/Linux/Sdl/SdlClipboard.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Sdl
{
public class SdlClipboard : Clipboard
{
private const strin... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Sdl
{
public class SdlClipboard : Clipboard
{
#if ANDROID
... | mit | C# |
aeab2be5d1968c7a1a6a712afc2897033891bb6e | Add xmldoc to SeasonalBackgroundMode | UselessToucan/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,ppy/osu | osu.Game/Configuration/SeasonalBackgroundMode.cs | osu.Game/Configuration/SeasonalBackgroundMode.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.
namespace osu.Game.Configuration
{
public enum SeasonalBackgroundMode
{
/// <summary>
/// Seasonal backgrounds are shown regardless of season, if ... | // 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.
namespace osu.Game.Configuration
{
public enum SeasonalBackgroundMode
{
Always,
Sometimes,
Never
}
}
| mit | C# |
69f2f171d8afa8f49663ad55e3081645bb2aab1f | Fix for UTC to local time and vice versa conversions fo FieldValueDateTime | llortkisoftware/FogBugzVS,llortkisoftware/FogBugzVS | FogBugzAPI/Model/Cases/Fields/FieldValueDateTime.cs | FogBugzAPI/Model/Cases/Fields/FieldValueDateTime.cs | using System;
namespace FogBugzAPI.Model.Cases.Fields
{
public class FieldValueDateTime : FieldValue
{
//FORMAT: 2007-05-06T22:47:59Z
public FieldValueDateTime()
{
Value = DateTime.Now;
}
public override void FromString(string value)
{
... | using System;
namespace FogBugzAPI.Model.Cases.Fields
{
public class FieldValueDateTime : FieldValue
{
//FORMAT: 2007-05-06T22:47:59Z
public FieldValueDateTime()
{
Value = DateTime.Now;
}
public override void FromString(string value)
{
... | apache-2.0 | C# |
348cf1d3192926f32aecb8567e1e390bb36d28d8 | Add test for shooting into space (#5) | ForNeVeR/TankDriver | TankDriver.Tests/Logic/BulletSpaceTests.cs | TankDriver.Tests/Logic/BulletSpaceTests.cs | using TankDriver.Logic;
using Microsoft.Xna.Framework;
using Xunit;
namespace TankDriver.Tests.Logic
{
public class BulletSpaceTests
{
private readonly Rectangle BulletSpaceBounds = new Rectangle(0, 0, 100, 100);
[Fact]
public void BulletOutOfBound()
{
BulletSpace ... | using TankDriver.Logic;
using Microsoft.Xna.Framework;
using Xunit;
namespace TankDriver.Tests.Logic
{
public class BulletSpaceTests
{
[Fact]
public void BulletOutOfBound()
{
BulletSpace bulletSpace = new BulletSpace(new Rectangle(0, 0, 100, 100));
bulletSpace.A... | mit | C# |
182cf2f51700643d9d9e7547d3bd079b7b5b6eb5 | Change the default value of the parameter initialization method. | luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,carldai0106/aspnetboilerplate,verdentk/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,verdentk/aspnetboilerplate,ilyhacker/aspnetboilerplate,carlda... | src/Abp.EntityFrameworkCore/EntityFrameworkCore/ValueConverters/AbpDateTimeValueConverter.cs | src/Abp.EntityFrameworkCore/EntityFrameworkCore/ValueConverters/AbpDateTimeValueConverter.cs | using System;
using System.Linq.Expressions;
using Abp.Timing;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Abp.EntityFrameworkCore.ValueConverters
{
public class AbpDateTimeValueConverter : ValueConverter<DateTime?, DateTime?>
{
public AbpDateTim... | using System;
using System.Linq.Expressions;
using Abp.Timing;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Abp.EntityFrameworkCore.ValueConverters
{
public class AbpDateTimeValueConverter : ValueConverter<DateTime?, DateTime?>
{
public AbpDateTim... | mit | C# |
2a05c4cf911df47fa7242fcaba587ee64dc969f8 | Change table name for Items. | wangjun/windows-app,wangjun/windows-app | wallabag/wallabag.Shared/Models/Item.cs | wallabag/wallabag.Shared/Models/Item.cs | using System;
using SQLite;
namespace wallabag.Models
{
[Table("Items")]
public class Item
{
public string Title { get; set; }
public string Content { get; set; }
public Uri Url { get; set; }
public bool IsRead { get; set; }
public bool IsFavourite { get; set; }
... | using System;
namespace wallabag.Models
{
public class Item
{
public string Title { get; set; }
public string Content { get; set; }
public Uri Url { get; set; }
public bool IsRead { get; set; }
public bool IsFavourite { get; set; }
}
}
| mit | C# |
f72a968ae1808814f49cb3a9cf2c6426be7e7848 | Change the assembly version to "base" | joelverhagen/StandardSerializer | Knapcode.StandardSerializer/Properties/AssemblyInfo.cs | Knapcode.StandardSerializer/Properties/AssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | unlicense | C# |
ee3d56beaa1ca7f8db909f274ceb750dc3f9ea25 | Update AuthorizationAutoConfigBehavior - Remove reference to Services.Moderation | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX | Modix.Services/Core/AuthorizationAutoConfigBehavior.cs | Modix.Services/Core/AuthorizationAutoConfigBehavior.cs | using System;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
namespace Modix.Services.Core
{
/// <summary>
/// Implements a behavior that automatically performs configuration necessary for an <see cref="IAuthorizationService"/> to work.
/// </summary>
public class Authorization... | using System;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Modix.Services.Moderation;
namespace Modix.Services.Core
{
/// <summary>
/// Implements a behavior that automatically performs configuration necessary for an <see cref="IAuthorizationService"/> to work.
/// </summar... | mit | C# |
0d6890243fc7b6308ffdd87e7f87c1551d4ae2fd | Fix typo in xmldoc | smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new | osu.Game/Rulesets/Edit/BeatmapVerifier.cs | osu.Game/Rulesets/Edit/BeatmapVerifier.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.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Edit.Checks;
using osu.Game.Rulesets.Edit.Checks.Components;
namesp... | // 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.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Edit.Checks;
using osu.Game.Rulesets.Edit.Checks.Components;
namesp... | mit | C# |
7cdc56a78ee8aded1a47432888071c5663a62a1b | Fix LogTime for CloseGroupViewModel. | ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton | src/CK.Glouton.Model/Logs/CloseGroupViewModel.cs | src/CK.Glouton.Model/Logs/CloseGroupViewModel.cs | using CK.Glouton.Model.Lucene;
using Lucene.Net.Documents;
namespace CK.Glouton.Model.Logs
{
public class CloseGroupViewModel : ILogViewModel
{
public string LogLevel { get; set; }
public string Conclusion { get; set; }
public ELogType LogType => ELogType.CloseGroup;
public IEx... | using CK.Glouton.Model.Lucene;
using Lucene.Net.Documents;
namespace CK.Glouton.Model.Logs
{
public class CloseGroupViewModel : ILogViewModel
{
public string LogLevel { get; set; }
public string Conclusion { get; set; }
public ELogType LogType => ELogType.CloseGroup;
public IEx... | mit | C# |
caa07dbfbe99dda0e801702dd909adebf98fa59d | Define standard layout | 12joan/hangman | hangman.cs | hangman.cs | using System;
using System.IO;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
// char key = Console.ReadKey(true).KeyChar;
// var game = new Game("HANG THE MAN");
// bool wasCorrect = game.GuessLetter(key);
// Console.WriteLine(wasCorrect.ToString());... | using System;
namespace Hangman {
public class Hangman {
public static void Main(string[] args) {
// char key = Console.ReadKey(true).KeyChar;
// var game = new Game("HANG THE MAN");
// bool wasCorrect = game.GuessLetter(key);
// Console.WriteLine(wasCorrect.ToString());
// var ou... | unlicense | C# |
61b80ea7af294c0da7ff16d1d3020c5cd6321378 | add TeamCity server url to logging | stormleoxia/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support | nuget-extensions/nuget-feed/Repo/RemoteRepo.cs | nuget-extensions/nuget-feed/Repo/RemoteRepo.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Cache;
using System.Text;
using JetBrains.TeamCity.ServiceMessages.Read;
using log4net;
namespace JetBrains.TeamCity.NuGet.Feed.Repo
{
public class RemoteRepo : ITeamCityPackagesRepo
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Cache;
using System.Text;
using JetBrains.TeamCity.ServiceMessages.Read;
using log4net;
namespace JetBrains.TeamCity.NuGet.Feed.Repo
{
public class RemoteRepo : ITeamCityPackagesRepo
... | apache-2.0 | C# |
354e57418a5cd18e173384eece261b71e8c20b95 | Fix sorting and searching on table | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Admin/ListClients.cshtml | Anlab.Mvc/Views/Admin/ListClients.cshtml | @model IList<User>
@{
ViewData["Title"] = "List Non Admin Users";
}
<div class="col">
<table id="table">
<thead>
<tr>
<th></th>
<th>Name</th>
<th>Email</th>
<th>Client Id</th>
<th>Phone</th>
</tr>
</thead>
<tbody>
@foreach (var user in Model)
{
... | @model IList<User>
@{
ViewData["Title"] = "List Non Admin Users";
}
<div class="col">
<table id="table">
<thead>
<tr>
<th></th>
<th>Name</th>
<th>Email</th>
<th>Client Id</th>
<th>Phone</th>
</tr>
</thead>
<tbody>
@foreach (var user in Model)
{
... | mit | C# |
000a6c6f41d82b4c24688c998dd18cfe77e4dbe2 | Build and publish XSerializer release candidate package | RockFramework/Rock.Encryption | Rock.Encryption.XSerializer/Properties/AssemblyInfo.cs | Rock.Encryption.XSerializer/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("Ro... | 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("Ro... | mit | C# |
7e826ebd9b914fb8b46bec946c127db4e9b2768f | Set the document language to English | alastairs/cgowebsite,alastairs/cgowebsite | src/CGO.Web/Views/Shared/_Layout.cshtml | src/CGO.Web/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/themes/base/css", "~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
@RenderBody()
@Scripts.Ren... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/themes/base/css", "~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
@RenderBody()
@Scripts.R... | mit | C# |
3e5970a555321433f00808c2a074287ce10f33f8 | Fix the name. | MasterDevs/Clippy | Clippy/Clippy/Properties/AssemblyInfo.cs | Clippy/Clippy/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("Ma... | 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("Cl... | mit | C# |
0266f4d068457f82233084e483881c86ce180cff | Clean up | Weingartner/Migrations.Json.Net | Weingartner.Json.Migration.Common/VersionMemberName.cs | Weingartner.Json.Migration.Common/VersionMemberName.cs | using System;
namespace Weingartner.Json.Migration.Common
{
public interface IVersionMemberName
{
string VersionPropertyName { get; }
string VersionBackingFieldName { get; }
}
public static class VersionMemberName
{
private static IVersionMemberName _instance;
pub... | using System;
namespace Weingartner.Json.Migration.Common
{
public interface IVersionMemberName
{
string VersionPropertyName { get; }
string VersionBackingFieldName { get; }
}
public static class VersionMemberName
{
private static IVersionMemberName _instance;
pub... | mit | C# |
54a94be88179245675cdfa5c16379a38c3715893 | update IsGhost to Destroy not DestoryImmediate. | drawcode/game-lib-engine | Engine/Extensions/TransformExtensions.cs | Engine/Extensions/TransformExtensions.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class TransformExtensions {
public static bool IsPrefabGhost(this Transform inst) {
var tmp = new GameObject();
try {
tmp.transform.parent = inst.parent;
... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class TransformExtensions {
public static bool IsPrefabGhost(this Transform inst) {
var tmp = new GameObject();
try {
tmp.transform.parent = inst.parent;
... | mit | C# |
e2e212cdb27fb9256e076918aa926ff1ece4ba58 | Remove AssemblFileVersion and use AssemblyVersion only | oliverzick/ImmutableUndoRedo | src/ImmutableUndoRedo/Properties/AssemblyInfo.cs | src/ImmutableUndoRedo/Properties/AssemblyInfo.cs | #region Copyright and license
// <copyright file="AssemblyInfo.cs" company="Oliver Zick">
// Copyright (c) 2015 Oliver Zick. All rights reserved.
// </copyright>
// <author>Oliver Zick</author>
// <license>
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file exce... | #region Copyright and license
// <copyright file="AssemblyInfo.cs" company="Oliver Zick">
// Copyright (c) 2015 Oliver Zick. All rights reserved.
// </copyright>
// <author>Oliver Zick</author>
// <license>
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file exce... | apache-2.0 | C# |
244f0b83c5f54a3deb53257236411b2280f7ea09 | Clear live tile on launch if theres no music playing. | Amrykid/Neptunium | src/Neptunium/Core/UI/NepAppUILiveTileHandler.cs | src/Neptunium/Core/UI/NepAppUILiveTileHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Neptunium.Core.Media.Metadata;
using Neptunium.Media.Songs;
using Windows.UI.Core;
using Windows.UI.Notifications;
namespace Neptunium.Core.UI
{
public class NepAppUILiveTileHandler
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Neptunium.Core.Media.Metadata;
using Neptunium.Media.Songs;
using Windows.UI.Core;
using Windows.UI.Notifications;
namespace Neptunium.Core.UI
{
public class NepAppUILiveTileHandler
{
... | mit | C# |
27e2bbc71a9e97e538c0d6018ea81a08bd24105e | Implement SpriteCircular using CornerRadius. | Tom94/osu-framework,RedNesto/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,default0/osu-framework,ZLima12/osu-framework,RedNesto/osu-framework,NeoAdonis/osu-framework,paparony03/osu-f... | osu.Framework/Graphics/Sprites/SpriteCircular.cs | osu.Framework/Graphics/Sprites/SpriteCircular.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using OpenTK;
using System.Diagnostics;
namespace osu.Framework.Graphics.Sprites
{
public class SpriteCircular : Sprite
{
public ov... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using OpenTK;
namespace osu.Framework.Graphics.Sprites
{
public class SpriteCircular : Sprite
{
public float HoverRadius;
... | mit | C# |
d6a5743d1b04da99e6e2ae62ee6b6cd2c4201405 | Add doc for what happens when getting clipboard text fails (SDL) | peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,Tom94/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-frame... | osu.Framework/Platform/Linux/Sdl/SdlClipboard.cs | osu.Framework/Platform/Linux/Sdl/SdlClipboard.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Sdl
{
public class SdlClipboard : Clipboard
{
priva... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Sdl
{
public class SdlClipboard : Clipboard
{
priva... | mit | C# |
fb2c35190b246cdda313d8db1bb8b709257e4029 | Remove redundant qualifier | mmanela/diffplex,mmanela/diffplex,mmanela/diffplex,mmanela/diffplex | DiffPlex/Log.cs | DiffPlex/Log.cs | using System.Diagnostics;
namespace DiffPlex
{
public static class Log
{
[Conditional("LOG")]
public static void WriteLine(string format, params object[] args)
{
Debug.WriteLine(format, args);
}
[Conditional("LOG")]
public static void Write(string f... | using System.Diagnostics;
namespace DiffPlex
{
public static class Log
{
[Conditional("LOG")]
public static void WriteLine(string format, params object[] args)
{
System.Diagnostics.Debug.WriteLine(format, args);
}
[Conditional("LOG")]
public static ... | apache-2.0 | C# |
34e87811520a7829568cf1b9657e5384f6df9b4a | Update ScaleCamera.cs | UnityCommunity/UnityLibrary | Assets/Scripts/2D/Camera/ScaleCamera.cs | Assets/Scripts/2D/Camera/ScaleCamera.cs | // pixel perfect camera helpers, from old unity 2D tutorial videos
// source: https://www.youtube.com/watch?v=rMCLWt1DuqI
using UnityEngine;
namespace UnityLibrary
{
[ExecuteInEditMode]
public class ScaleCamera : MonoBehaviour
{
public int targetWidth = 640;
public float pixelsToUnits = 10... | using UnityEngine;
// pixel perfect camera helpers, from old unity 2D tutorial videos
[ExecuteInEditMode]
public class ScaleCamera : MonoBehaviour
{
public int targetWidth = 640;
public float pixelsToUnits = 100;
void Start()
{
int height = Mathf.RoundToInt(targetWidth / (float)Screen.width * Screen.he... | mit | C# |
3d2177f8062c5f86af7cce1f623ef60404c690cb | add Feed Uris and blog url | MabroukENG/planetxamarin,MabroukENG/planetxamarin,MabroukENG/planetxamarin | src/Firehose.Web/Authors/MabroukMahdhi.cs | src/Firehose.Web/Authors/MabroukMahdhi.cs | using Firehose.Web.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Firehose.Web.Authors
{
public class MabroukMahdhi : IAmACommunityMember
{
public string EmailAddress => "mabrouk@mahdhi.com";
public IEnumerable<Uri> FeedUris ... | using Firehose.Web.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Firehose.Web.Authors
{
public class MabroukMahdhi : IAmACommunityMember
{
public string EmailAddress => "mabrouk@mahdhi.com";
public IEnumerable<Uri> FeedUris => ne... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.