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
bf552e554fdbec5d5fc17a1f49645b9e2d913d16
Bump version to 0.6.7
ar3cka/Journalist
src/SolutionInfo.cs
src/SolutionInfo.cs
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.6.7")] [assembly: AssemblyInformationalVersionAttribute("0.6.7")] [assembly: AssemblyFileVersionAttribute("0.6.7")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namespace...
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.6.6")] [assembly: AssemblyInformationalVersionAttribute("0.6.6")] [assembly: AssemblyFileVersionAttribute("0.6.6")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namespace...
apache-2.0
C#
6231e7841d22205888ca68911f9ecbad69ff676c
Add missing override for the AppDelegate.Window property. Fix bug #11914
a9upam/monotouch-samples,davidrynn/monotouch-samples,YOTOV-LIMITED/monotouch-samples,haithemaraissia/monotouch-samples,iFreedive/monotouch-samples,a9upam/monotouch-samples,robinlaide/monotouch-samples,sakthivelnagarajan/monotouch-samples,xamarin/monotouch-samples,nelzomal/monotouch-samples,YOTOV-LIMITED/monotouch-sampl...
WorldCities/WorldCities/AppDelegate.cs
WorldCities/WorldCities/AppDelegate.cs
// // AppDelegate.cs // // Author: // Mike Krüger <mkrueger@xamarin.com> // // Copyright (c) 2011 Xamarin Inc. (http://xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Sof...
// // AppDelegate.cs // // Author: // Mike Krüger <mkrueger@xamarin.com> // // Copyright (c) 2011 Xamarin Inc. (http://xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Sof...
mit
C#
721cc7c02b64c285223390ca038a1f0d6f0120eb
Disable lobby music for headless
fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,krille90/unitystation,fomalsd/unitystation,Necromunger/unitystation,krille90/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,krille90/unitystation,Necromunger/unitystation,fomalsd/unitystation,Nec...
UnityProject/Assets/Scripts/UI/Lobby/SongTracker.cs
UnityProject/Assets/Scripts/UI/Lobby/SongTracker.cs
using Mirror; using UnityEngine; using UnityEngine.UI; /// <summary> /// Class used to display the information of the song being played in the lobby screen. /// </summary> public class SongTracker : MonoBehaviour { [SerializeField] private Text trackName; [SerializeField] private Text artist; private float timeBe...
using UnityEngine; using UnityEngine.UI; /// <summary> /// Class used to display the information of the song being played in the lobby screen. /// </summary> public class SongTracker : MonoBehaviour { [SerializeField] private Text trackName; [SerializeField] private Text artist; private float timeBetweenSongs = 2...
agpl-3.0
C#
994826b575b8ffbd2095798a92950f15ac34c5f1
Add XML documentation for `HostConfig`
ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework
osu.Framework/HostConfig.cs
osu.Framework/HostConfig.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.Framework { /// <summary> /// Various configuration properties for a <see cref="Host"/>. /// </summary> public struct HostConfig { ...
// 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.Framework { public struct HostConfig { public string GameName { get; set; } public bool BindIPC { get; set; } public bool Po...
mit
C#
2d6f6b5a12cac06a0479274ff726460e5399c91a
Clean up using statements
frackleton/ApplicationInsights-SDK-Labs,Microsoft/ApplicationInsights-SDK-Labs
WCF/Shared.Tests/Integration/OperationContextExtensionsTests.cs
WCF/Shared.Tests/Integration/OperationContextExtensionsTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.ServiceModel; namespace Microsoft.ApplicationInsights.Wcf.Tests.Integration { [TestClass] public class OperationContextExtensionsTests { [TestMethod] public void WhenOperationContextIsNullReturnsNull() {...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.ServiceModel; using System.Text; namespace Microsoft.ApplicationInsights.Wcf.Tests.Integration { [TestClass] public class OperationContextExtensionsTests { [TestMethod] public v...
mit
C#
f439237bd79c6a49b4c216eb4cb6394e722c7ed8
Set a more sane default for TimingControlPoint's BeatLength
peppy/osu-new,UselessToucan/osu,Frontear/osuKyzer,naoey/osu,UselessToucan/osu,DrabWeb/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,ppy/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,ZLima12/osu,Drezi126/osu,ppy/osu,2yangk23/osu,2yangk23/osu,naoey/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,DrabWeb/osu,peppy/osu,Damnae/osu,smoogipooo...
osu.Game/Beatmaps/ControlPoints/TimingControlPoint.cs
osu.Game/Beatmaps/ControlPoints/TimingControlPoint.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Beatmaps.Timing; namespace osu.Game.Beatmaps.ControlPoints { public class TimingControlPoint : ControlPoint { /// <summary> ...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Beatmaps.Timing; namespace osu.Game.Beatmaps.ControlPoints { public class TimingControlPoint : ControlPoint { /// <summary> ...
mit
C#
5ab47f39b160cdd8670ac734426229482821138e
Update Program.cs (#32010)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Identity/samples/IdentitySample.Mvc/Program.cs
src/Identity/samples/IdentitySample.Mvc/Program.cs
using System.IO; using Microsoft.AspNetCore.Hosting; namespace IdentitySample { public static class Program { public static void Main(string[] args) { var host = CreateHostBuilder(args).Build(); host.Run(); } public static IWebHostBuilder CreateHostBuil...
using System.IO; using Microsoft.AspNetCore.Hosting; namespace IdentitySample { public static class Program { public static void Main(string[] args) { var host = new WebHostBuilder() .UseKestrel() .UseContentRoot(Directory.GetCurrentDirectory()) ...
apache-2.0
C#
67b4bb15767bf32bafd303c06505b4bb135a816a
add log message when homepage is disabled
MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4
host/Quickstart/Home/HomeController.cs
host/Quickstart/Home/HomeController.cs
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityServer4.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; ...
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityServer4.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; ...
apache-2.0
C#
99f04e682aaa13e7a7b95a238b51671369161344
comment out Asserts about test_file
castleproject/Castle.Transactions,castleproject/Castle.Transactions,castleproject/Castle.Transactions
src/Castle.Transactions.IO.Tests/AsDependentTransaction.cs
src/Castle.Transactions.IO.Tests/AsDependentTransaction.cs
namespace Castle.Transactions.IO.Tests { using System.IO; using Castle.IO.Extensions; using Castle.Transactions.Activities; using NUnit.Framework; [TestFixture] public class AsDependentTransaction : TxFTestFixtureBase { private string test_file; private ITransactionManager subject; [SetU...
namespace Castle.Transactions.IO.Tests { using System.IO; using Castle.IO.Extensions; using Castle.Transactions.Activities; using NUnit.Framework; [TestFixture] public class AsDependentTransaction : TxFTestFixtureBase { private string test_file; private ITransactionManager subject; [SetU...
apache-2.0
C#
ad03a37ae3c7df4b7b24653e28d5537f2af07340
Update program version and copyright info
Psimage/KWADTool
KWADTool/Properties/AssemblyInfo.cs
KWADTool/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using CommandLine; // 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("KWADTool")] [assembly:...
using System.Reflection; using System.Runtime.InteropServices; using CommandLine; // 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("KWADTool")] [assembly:...
mit
C#
332910f7ec638d551334e0a4a7a5364688458f29
use cute api
kingyond/monotouch-samples,nervevau2/monotouch-samples,W3SS/monotouch-samples,sakthivelnagarajan/monotouch-samples,robinlaide/monotouch-samples,sakthivelnagarajan/monotouch-samples,YOTOV-LIMITED/monotouch-samples,kingyond/monotouch-samples,sakthivelnagarajan/monotouch-samples,andypaul/monotouch-samples,haithemaraissia/...
ios8/Lister/ListerKit/ListDocument.cs
ios8/Lister/ListerKit/ListDocument.cs
using System; using UIKit; using Foundation; using Common; namespace ListerKit { public class ListDocument : UIDocument { public event EventHandler DocumentDeleted; public List List { get; set; } public ListDocument (NSUrl url) : base(url) { List = new List (); } public override bool LoadFrom...
using System; using UIKit; using Foundation; using Common; namespace ListerKit { public class ListDocument : UIDocument { public event EventHandler DocumentDeleted; public List List { get; set; } public ListDocument (NSUrl url) : base(url) { List = new List (); } public override bool LoadFrom...
mit
C#
17f6976099d7d3c5bd98caaa1348ae2557129e86
Add Help
jamesweb-ms/CachelessDnsClient
CDC/Program.cs
CDC/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CachelessDnsClient; namespace CDC { class Program { static Client client = new Client(); static void Main(string[] args) { if (args.Length < 0 || args.L...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CachelessDnsClient; namespace CDC { class Program { static Client client = new Client(); static void Main(string[] args) { if (args.Length < 0 || args.L...
apache-2.0
C#
bf3b5cca1c6b016ec2d6bb3a8c32e279db68d94b
Fix bug in test - SwapRedBlue swaps the whole pixel, not the bytes, so count == w*h
mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp
tests/Tests/SKPixmapTest.cs
tests/Tests/SKPixmapTest.cs
using System; using System.Runtime.InteropServices; using Xunit; namespace SkiaSharp.Tests { public class SKPixmapTest : SKTest { [SkippableFact] public void ReadPixelSucceeds() { var info = new SKImageInfo(10, 10); var ptr1 = Marshal.AllocCoTaskMem(info.BytesSize); var pix1 = new SKPixmap(info, ptr...
using System; using System.Runtime.InteropServices; using Xunit; namespace SkiaSharp.Tests { public class SKPixmapTest : SKTest { [SkippableFact] public void ReadPixelSucceeds() { var info = new SKImageInfo(10, 10); var ptr1 = Marshal.AllocCoTaskMem(info.BytesSize); var pix1 = new SKPixmap(info, ptr...
mit
C#
3452a625895bf0ec67dfa16fa087e33a9da13d89
Fix a minor async delayer issue
tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server
tests/Tgstation.Server.Host.Tests/Core/TestAsyncDelayer.cs
tests/Tgstation.Server.Host.Tests/Core/TestAsyncDelayer.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Threading; using System.Threading.Tasks; namespace Tgstation.Server.Host.Core.Tests { [TestClass] public sealed class TestAsyncDelayer { [TestMethod] public async Task TestDelay() { var delayer = new AsyncDelayer(); var star...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Threading; using System.Threading.Tasks; namespace Tgstation.Server.Host.Core.Tests { [TestClass] public sealed class TestAsyncDelayer { [TestMethod] public async Task TestDelay() { var delayer = new AsyncDelayer(); var star...
agpl-3.0
C#
cfcd65f6f1e242bb75215c897dd80c5fe1b6e52d
prepare for v2.0.7
longshine/Mina.NET
Mina.NET/Properties/AssemblyInfo.cs
Mina.NET/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Mina.NET")] [assembly: AssemblyDescription("Async socket library for high performance and high scalability network applications.")...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Mina.NET")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly...
apache-2.0
C#
6f4d16d086513f48c52f647babfa5f28ba8a9f0c
update copyright
thepunctuatedhorizon/BrickCoinAlpha.0.0.1,bitcoinbrisbane/NBitcoin,stratisproject/NStratis,NicolasDorier/NBitcoin,dangershony/NStratis,you21979/NBitcoin,lontivero/NBitcoin,MetacoSA/NBitcoin,HermanSchoenfeld/NBitcoin,MetacoSA/NBitcoin
NBitcoin/Properties/AssemblyInfo.cs
NBitcoin/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#
89fd05280626698612d740f2a5a39df20fb0c058
Fix Windows 8 IOCP issue with server
ermau/Tempest.Social
Desktop/Tempest.Social.Server/Program.cs
Desktop/Tempest.Social.Server/Program.cs
using System; using System.IO; using System.Net; using System.Text; using System.Threading; using Tempest.Providers.Network; namespace Tempest.Social.Server { class Program { private static readonly PublicKeyIdentityProvider IdentityProvider = new PublicKeyIdentityProvider(); static void Main (string[] args) ...
using System; using System.IO; using System.Net; using System.Text; using Tempest.Providers.Network; namespace Tempest.Social.Server { class Program { private static readonly PublicKeyIdentityProvider IdentityProvider = new PublicKeyIdentityProvider(); static void Main (string[] args) { Console.WriteLine ...
mit
C#
45f588ad72438e30c1ffd6037f8ae10864c1291a
Bump to v2.7.0.0
Silv3rPRO/proshine
PROShine/Properties/AssemblyInfo.cs
PROShine/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; 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: As...
using System.Reflection; using System.Resources; 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: As...
mit
C#
c46a92c97cccf2f75b3af161562439044829ecf4
Make GrowthPushAndroid methods static
SIROK-archive/growthpush-unity,SIROK/growthpush-unity,SIROK/growthpush-unity,SIROK/growthpush-unity,SIROK-archive/growthpush-unity,SIROK-archive/growthpush-unity
source/Assets/Plugins/GrowthPush/GrowthPushAndroid.cs
source/Assets/Plugins/GrowthPush/GrowthPushAndroid.cs
using UnityEngine; using System.Collections; using System; public class GrowthPushAndroid { private static GrowthPushAndroid instance = new GrowthPushAndroid(); #if UNITY_ANDROID && !UNITY_EDITOR private static AndroidJavaObject growthPush; #endif private GrowthPushAndroid() { if (growthPush != null) ...
using UnityEngine; using System.Collections; using System; public class GrowthPushAndroid { private static GrowthPushAndroid instance = new GrowthPushAndroid (); #if UNITY_ANDROID && !UNITY_EDITOR private static AndroidJavaObject growthPush; #endif public GrowthPushAndroid () { #if UNITY_ANDROID && !U...
apache-2.0
C#
b496ee90df96f682203ee4a59b8d05ac17bfcc66
add commented required changes for index.cshtml
AlejandroCano/extensions,signumsoftware/framework,signumsoftware/framework,signumsoftware/extensions,MehdyKarimpour/extensions,MehdyKarimpour/extensions,signumsoftware/extensions,AlejandroCano/extensions
Signum.Engine.Extensions/Dynamic/DynamicCSSOverrideLogic.cs
Signum.Engine.Extensions/Dynamic/DynamicCSSOverrideLogic.cs
using Signum.Engine; using Signum.Engine.DynamicQuery; using Signum.Engine.Maps; using Signum.Engine.Operations; using Signum.Entities; using Signum.Entities.Basics; using Signum.Entities.Dynamic; using Signum.Utilities; using System; using System.Collections.Generic; using System.Linq; using System.Reflect...
using Signum.Engine; using Signum.Engine.DynamicQuery; using Signum.Engine.Maps; using Signum.Engine.Operations; using Signum.Entities; using Signum.Entities.Basics; using Signum.Entities.Dynamic; using Signum.Utilities; using System; using System.Collections.Generic; using System.Linq; using System.Reflect...
mit
C#
7a0288b6ff7fa4d7460a43d4b2f06a5668f50d2a
Fix missing return
Smartling/api-sdk-net
Smartling.API/Authentication/OAuthAuthenticationStrategy.cs
Smartling.API/Authentication/OAuthAuthenticationStrategy.cs
using System; namespace Smartling.Api.Authentication { public class OAuthAuthenticationStrategy : IAuthenticationStrategy { private DateTime LastSuccessfullUpdate = DateTime.MinValue; private AuthResponse LastResponse; private readonly AuthApiClient client; public OAuthAuthenticationStr...
using System; namespace Smartling.Api.Authentication { public class OAuthAuthenticationStrategy : IAuthenticationStrategy { private DateTime LastSuccessfullUpdate = DateTime.MinValue; private AuthResponse LastResponse; private readonly AuthApiClient client; public OAuthAuthenticationStr...
apache-2.0
C#
81f50b8fbc1d9955935521fc0abdbb436a467953
Update minimum date for commitids.
CamTechConsultants/CvsntGitImporter
Program.cs
Program.cs
/* * John Hall <john.hall@xjtag.com> * Copyright (c) Midas Yellow Ltd. All rights reserved. */ using System; using System.Collections.Generic; using System.Linq; namespace CvsGitConverter { class Program { static readonly DateTime StartDate = new DateTime(2003, 2, 1); static void Main(string...
/* * John Hall <john.hall@xjtag.com> * Copyright (c) Midas Yellow Ltd. All rights reserved. */ using System; using System.Collections.Generic; using System.Linq; namespace CvsGitConverter { class Program { static readonly DateTime StartDate = new DateTime(2003, 1, 1); static void Main(string...
mit
C#
b031c3bf304a306060c955543592bd7919c5c6da
Update ComBytes.cs
halex2005/diadocsdk-csharp,diadoc/diadocsdk-csharp,halex2005/diadocsdk-csharp,diadoc/diadocsdk-csharp
src/Com/ComBytes.cs
src/Com/ComBytes.cs
using System.IO; using System.Runtime.InteropServices; using System.Text; namespace Diadoc.Api.Com { [ComVisible(true)] [Guid("AC96A3DD-E099-44CC-ABD5-11C303307159")] public interface IComBytes { byte[] Bytes { get; set; } void ReadFromFile(string path); void SaveToFile(string path); void ReadFromText(st...
using System.IO; using System.Runtime.InteropServices; using System.Text; namespace Diadoc.Api.Com { [ComVisible(true)] [Guid("AC96A3DD-E099-44CC-ABD5-11C303307159")] public interface IComBytes { byte[] Bytes { get; set; } void ReadFromFile(string path); void SaveToFile(string path); void ReadFromText(s...
mit
C#
e8667f7405981439286918b04e125c6e623274f4
bump version
Selz/PexelsNet
PexelsNet/Properties/AssemblyInfo.cs
PexelsNet/Properties/AssemblyInfo.cs
using System; 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: Ass...
using System; 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: Ass...
mit
C#
fa6b5eaa619085c6acef48c3b2776022476bfb5c
Set version to 1.1.2.0
da2x/EdgeDeflector
EdgeDeflector/Properties/AssemblyInfo.cs
EdgeDeflector/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("Edg...
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("Edg...
mit
C#
5128e3bfc9b83672e3097f31fd1129abd0810098
Add notes about ConsoleLogger (#1531)
EasyNetQ/EasyNetQ
Source/EasyNetQ/Logging/ConsoleLogger.cs
Source/EasyNetQ/Logging/ConsoleLogger.cs
using System; namespace EasyNetQ.Logging; /// <summary> /// Simple built-in implementation to log messages into console. It is assumed for use for debugging /// purposes and shouldn't be used in the production environment. /// </summary> public sealed class ConsoleLogger<TCategoryName> : ILogger<TCategoryName> { ...
using System; namespace EasyNetQ.Logging; /// <inheritdoc /> public sealed class ConsoleLogger<TCategoryName> : ILogger<TCategoryName> { /// <inheritdoc /> public bool Log( LogLevel logLevel, Func<string>? messageFunc, Exception? exception = null, params object?[] formatParamet...
mit
C#
c8408bdd61049ed02bcf6306a2651cc19daac3ce
Add stub method for Getting volunteers by date
mjmilan/crisischeckin,andrewhart098/crisischeckin,coridrew/crisischeckin,mheggeseth/crisischeckin,brunck/crisischeckin,mjmilan/crisischeckin,jsucupira/crisischeckin,jplwood/crisischeckin,pooran/crisischeckin,MobileRez/crisischeckin,RyanBetker/crisischeckinUpdates,pottereric/crisischeckin,andrewhart098/crisischeckin,HTB...
crisischeckin/Services/AdminService.cs
crisischeckin/Services/AdminService.cs
using Models; using Services.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Services { public class AdminService : IAdmin { private readonly IDataService dataService; public AdminService(I...
using Models; using Services.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Services { public class AdminService : IAdmin { private readonly IDataService dataService; public AdminService(IDataService se...
apache-2.0
C#
54f22349295303bef7bdad16de21ad47fade7d38
Update AssemblyInfo.cs
mksmbrtsh/gpstalk
gpstalk_PDA/Properties/AssemblyInfo.cs
gpstalk_PDA/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...
bsd-3-clause
C#
8a84219dabb8411d99c57ffa7167f2bced4105a8
Add an explanatory note to Mailchimp admin
planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS
src/Orchard.Web/Modules/LETS/Views/MemberAdmin/Mailchimp.cshtml
src/Orchard.Web/Modules/LETS/Views/MemberAdmin/Mailchimp.cshtml
@using LETS.Models @model LETS.ViewModels.MailchimpSyncViewModel <h2>@T("Mailchimp")</h2> <p>Members are added to the mailchimp mailing list when they are approved AND they have verified their email address.</p> <p><strong>Important: </strong>Members are not automatically unsubscribed if they are disabled or deleted....
@using LETS.Models @model LETS.ViewModels.MailchimpSyncViewModel <h2>@T("Mailchimp")</h2> <h3>@T("Approved & verified members missing from Mailchimp list")</h3> @if (Model == null || Model.MissingListMembers.Count().Equals(0)) { <p>@T("Nothing to show")</p> } else { <table class="items"> @foreach (va...
bsd-3-clause
C#
5cf3f822ab48d92d0dd27ce59d61179646b4be7f
Make ShellSettings fields readonly (#11850)
stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2
src/OrchardCore/OrchardCore.Abstractions/Shell/ShellSettings.cs
src/OrchardCore/OrchardCore.Abstractions/Shell/ShellSettings.cs
using System; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using OrchardCore.Environment.Shell.Configuration; using OrchardCore.Environment.Shell.Models; namespace OrchardCore.Environment.Shell { /// <summary> /// Represents th...
using System; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using OrchardCore.Environment.Shell.Configuration; using OrchardCore.Environment.Shell.Models; namespace OrchardCore.Environment.Shell { /// <summary> /// Represents th...
bsd-3-clause
C#
587c689d4b0e59212366e73fb42130ba3627f23d
remove whitespaces
Barrelrolla/MonsterClicker
MonsterClicker/MonsterClicker/StartUp.cs
MonsterClicker/MonsterClicker/StartUp.cs
namespace MonsterClicker { using System; using System.Windows.Forms; static class StartUp { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(...
namespace MonsterClicker { using System; using System.Windows.Forms; static class StartUp { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(...
mit
C#
f79ad8110e670a9a5998a2a6dc72d4f07fb2170a
Fix FakeScraper by implementing the new API.
faint32/snowflake-1,SnowflakePowered/snowflake,RonnChyran/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,faint32/snowflake-1,faint32/snowflake-1,SnowflakePowered/snowflake
Snowflake.Tests/Fakes/FakeScraper.cs
Snowflake.Tests/Fakes/FakeScraper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Snowflake.Tests.Fakes { internal class FakeScraper : Snowflake.Scraper.IScraper { public Utility.BiDictionary<string, string> ScraperMap { get { throw new N...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Snowflake.Tests.Fakes { internal class FakeScraper : Snowflake.Scraper.IScraper { public Utility.BiDictionary<string, string> ScraperMap { get { throw new N...
mpl-2.0
C#
307c8829be41e1f85f5ebb62be34c30625520a32
Update nullable annotations in TodoComments folder
KevinRansom/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,stephentoub/roslyn,tannergooding/roslyn,gafter/roslyn,mgoertz-msft/roslyn,dotnet/roslyn,genlu/roslyn,sharwell/roslyn,AlekseyTs/roslyn,ErikSchierboom/roslyn,wvdd007/roslyn,heejaechang/roslyn,brettfo/roslyn,mavasani/roslyn,weltkante/roslyn,aelij/roslyn,CyrusN...
src/Workspaces/Core/Portable/TodoComments/TodoCommentOptions.cs
src/Workspaces/Core/Portable/TodoComments/TodoCommentOptions.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. #nullable enable using System; using System.Collections.Immutable; using System.Composition; using 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. using System; using System.Collections.Immutable; using System.Composition; using Microsoft.CodeAnalysis.Host.Mef; ...
mit
C#
72aa8a0680db865afd566bd12b92b7a3b140415c
Replace params in git.repo.path
ComputerWorkware/TeamCityApi
src/TeamCityApi/Domain/VcsCommit.cs
src/TeamCityApi/Domain/VcsCommit.cs
using System.Linq; namespace TeamCityApi.Domain { public enum GitAuthenticationType { Ssh = 1, Http = 2 } public class VcsCommit { public string CommitSha { get; set; } public string RepositoryLocation { get; set; } public string RepositoryNameWithNamespace...
using System.Linq; namespace TeamCityApi.Domain { public enum GitAuthenticationType { Ssh = 1, Http = 2 } public class VcsCommit { public string CommitSha { get; set; } public string RepositoryLocation { get; set; } public string RepositoryNameWithNamespace...
mit
C#
cbfed54c5a7cbfc7d2c94322894abcf3df52f16d
update IdGenerator
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
src/WeihanLi.Common/IIdGenerator.cs
src/WeihanLi.Common/IIdGenerator.cs
using System; using WeihanLi.Common.Helpers; namespace WeihanLi.Common { /// <summary> /// IdGenerator /// </summary> public interface IIdGenerator { /// <summary> /// Generate a new id /// </summary> /// <returns>new id</returns> string NewId(); } ...
using System; using WeihanLi.Common.Helpers; namespace WeihanLi.Common { /// <summary> /// IdGenerator /// </summary> public interface IIdGenerator { /// <summary> /// Generate a new id /// </summary> /// <returns>new id</returns> string NewId(); } ...
mit
C#
1f9ef835e03c9fa2a6d72b908ec09836c44286e2
Use minute instead of month in logger timestamp
2gis/Winium.Desktop,zebraxxl/Winium.Desktop
src/Winium.Desktop.Driver/Logger.cs
src/Winium.Desktop.Driver/Logger.cs
namespace Winium.Desktop.Driver { #region using using System.ComponentModel; using NLog; using NLog.Targets; #endregion internal static class Logger { #region Constants private const string LayoutFormat = "${date:format=HH\\:mm\\:ss} [${level:uppercase=true}] ${message}...
namespace Winium.Desktop.Driver { #region using using System.ComponentModel; using NLog; using NLog.Targets; #endregion internal static class Logger { #region Constants private const string LayoutFormat = "${date:format=HH\\:MM\\:ss} [${level:uppercase=true}] ${message}...
mpl-2.0
C#
5065f6213e23904e1e0a2962a00b60a086dcdf60
Update Demo
sunkaixuan/SqlSugar
Src/Asp.Net/SqlServerTest/Program.cs
Src/Asp.Net/SqlServerTest/Program.cs
using OrmTest.PerformanceTesting; using OrmTest.UnitTest; using System; namespace OrmTest { class Program { static void Main(string[] args) { //OldTestMain.Init(); //Demo Demo0_SqlSugarClient.Init(); Demo1_Queryable.Init(); Demo2_Upd...
using OrmTest.PerformanceTesting; using OrmTest.UnitTest; using System; namespace OrmTest { class Program { static void Main(string[] args) { //OldTestMain.Init(); //Demo //Demo0_SqlSugarClient.Init(); //Demo1_Queryable.Init(); //Dem...
apache-2.0
C#
3a4d0a4a50c3ae6731a41e046fee2533fc51165e
Bump v1.0.17.2264
karronoli/tiny-sato
TinySato/Properties/AssemblyInfo.cs
TinySato/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TinySato")] [assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TinySato")] [assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat...
apache-2.0
C#
70ad02d80ee76c9edb064eb5c77a7d125c93eb2a
Bump version to 1.4.0.0
priaonehaha/prontocms,priaonehaha/prontocms,xingh/prontocms,xingh/prontocms,xingh/prontocms,xingh/prontocms,priaonehaha/prontocms,xingh/prontocms,xingh/prontocms,priaonehaha/prontocms,priaonehaha/prontocms
Source/Pronto/Properties/AssemblyInfo.cs
Source/Pronto/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#
c2a6374190dd236cf3c639957a7a6025e66b9f75
Package Update #CHANGE: Pushed AdamsLair.WinForms 1.1.3
AdamsLair/winforms
WinForms/Properties/AssemblyInfo.cs
WinForms/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: A...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: A...
mit
C#
aad2e5906025920c15b35c76b05a91518cdfd070
Fix for incorrect expectation of guid string
InishTech/Sp.Api
Sp.Portal.Acceptance/LandingPageFacts.cs
Sp.Portal.Acceptance/LandingPageFacts.cs
namespace Sp.Portal.Acceptance { using System.Net; using HtmlAgilityPack; using RestSharp; using Sp.Portal.Acceptance.Wrappers; using Xunit; using Xunit.Extensions; public static class LandingPageFacts { [Theory, PortalData] public static void LandingPageShouldReturnHtml( SpPortalApi portalApi) { var...
namespace Sp.Portal.Acceptance { using System.Net; using HtmlAgilityPack; using RestSharp; using Sp.Portal.Acceptance.Wrappers; using Xunit; using Xunit.Extensions; public static class LandingPageFacts { [Theory, PortalData] public static void LandingPageShouldReturnHtml( SpPortalApi portalApi) { var...
bsd-3-clause
C#
27c7409407ff80d84aaeaa45c083ff2d23f13417
Update ValuesController.cs
bigfont/webapi-cors
CORS/Controllers/ValuesController.cs
CORS/Controllers/ValuesController.cs
using System.Collections.Generic; using System.Web.Http; using System.Web.Http.Cors; namespace CORS.Controllers { public class ValuesController : ApiController { // GET api/values public IEnumerable<string> Get() { return new string[] { "This is a CORS request.",...
using System.Collections.Generic; using System.Web.Http; using System.Web.Http.Cors; namespace CORS.Controllers { public class ValuesController : ApiController { // GET api/values public IEnumerable<string> Get() { return new string[] { "This is a CORS request.",...
mit
C#
49c26f1ce5ae668a57adac9f63c2b66c8a5df289
fix await usage in library code
AerisG222/NDCRaw
src/NDCRaw/DCRaw.cs
src/NDCRaw/DCRaw.cs
using System; using System.ComponentModel; using System.IO; using System.Diagnostics; using System.Threading.Tasks; using Medallion.Shell; namespace NDCRaw { public class DCRaw { public DCRawOptions Options { get; private set; } public DCRaw(DCRawOptions options) { Option...
using System; using System.ComponentModel; using System.IO; using System.Diagnostics; using System.Threading.Tasks; using Medallion.Shell; namespace NDCRaw { public class DCRaw { public DCRawOptions Options { get; private set; } public DCRaw(DCRawOptions options) { ...
mit
C#
8bc5f884ecd52435eb6153cec8110d17598ce6a7
Fix local environmental issue.
joj/cecil,saynomoo/cecil,sailro/cecil,fnajera-rac-de/cecil,xen2/cecil,jbevain/cecil,kzu/cecil,gluck/cecil,mono/cecil,ttRevan/cecil,SiliconStudio/Mono.Cecil,cgourlay/cecil,furesoft/cecil
Test/Mono.Cecil.Tests/BaseTestFixture.cs
Test/Mono.Cecil.Tests/BaseTestFixture.cs
using System; using System.IO; using System.Reflection; using NUnit.Framework; using Mono.Cecil.PE; namespace Mono.Cecil.Tests { public abstract class BaseTestFixture { public static string GetResourcePath (string name, Assembly assembly) { return Path.Combine (FindResourcesDirectory (assembly), name); }...
using System; using System.IO; using System.Reflection; using NUnit.Framework; using Mono.Cecil.PE; namespace Mono.Cecil.Tests { public abstract class BaseTestFixture { public static string GetResourcePath (string name, Assembly assembly) { return Path.Combine (FindResourcesDirectory (assembly), name); }...
mit
C#
ebebb15b43c31d77f5f97f04d32b996973ce7223
enable tests to fix TeamCity error
ralbu/TeamCityAzure
MobileService/Source/Tests/Services/UserServiceTest.cs
MobileService/Source/Tests/Services/UserServiceTest.cs
using Common; using UserManagement.Controllers; using UserManagement.Services; using Xunit; namespace Tests.Services { public class UserServiceTest { private readonly IUserService _userService = new UserService(); public UserServiceTest() { _userService.AddUser(new User ...
using Common; using UserManagement.Controllers; using UserManagement.Services; //using Xunit; namespace Tests.Services { public class UserServiceTest { /* private readonly IUserService _userService = new UserService(); public UserServiceTest() { _userService.AddUser(new Us...
mit
C#
1b86f262404e8eac62e703821b8250021afe870e
add namesspace, usings
Pondidum/AutoMapper.RestExtensions
AutoMapper.RestExtensions.cs
AutoMapper.RestExtensions.cs
using System; using System.Collections.Generic; namespace AutoMapper.Rest { public static class Extensions { public static IMappingExpression<TSource, TDestination> Link<TSource, TDestination>(this IMappingExpression<TSource, TDestination> mapping, string key, Func<TSource, string> createLink) where TDestinatio...
public static class Extensions { public static IMappingExpression<TSource, TDestination> Link<TSource, TDestination>(this IMappingExpression<TSource, TDestination> mapping, string key, Func<TSource, string> createLink) where TDestination : IRestLinked { return mapping.AfterMap((u, r) => r.Links[key] = createLink(...
lgpl-2.1
C#
2c16e03fe3ea414febceaff81c7be2fec1701972
update to v2
Fody/MethodTimer
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("MethodTimer")] [assembly: AssemblyProduct("MethodTimer")] [assembly: AssemblyVersion("2.0.0")]
using System.Reflection; [assembly: AssemblyTitle("MethodTimer")] [assembly: AssemblyProduct("MethodTimer")] [assembly: AssemblyVersion("1.19.1")] [assembly: AssemblyFileVersion("1.19.1")]
mit
C#
6e27b1e393a301cca47d2c2fb7378a2953e17aa5
add missing return statement
DasAllFolks/SharpGraphs
Graph/Graph.cs
Graph/Graph.cs
using System; namespace Graph { public class Vertex { private bool hasLabel; private string label; public Vertex () { } // XXXX: Remind self how to link to private field? public bool HasLabel { get; set; } public string Label { get { if (!this.hasLabel) { throw NoLa...
using System; namespace Graph { public class Vertex { private bool hasLabel; private string label; public Vertex () { } // XXXX: Remind self how to link to private field? public bool HasLabel { get; set; } public string Label { get { if (!this.hasLabel) { throw NoLa...
apache-2.0
C#
dc051a8b7992ebf6f7a7b8f08da6b16ea8b97ee8
add gameplay leaderboard config
peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu
osu.Game/Overlays/Settings/Sections/Gameplay/HUDSettings.cs
osu.Game/Overlays/Settings/Sections/Gameplay/HUDSettings.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. #nullable disable using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Localisation; using osu.Game.Configuration; using osu.Game.Localisat...
// 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. #nullable disable using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Localisation; using osu.Game.Configuration; using osu.Game.Localisat...
mit
C#
862eb38d33368b390235e8071013905249b5e527
add gui to main class
AlexanderDzhoganov/NoMoreGrind
NoMoreGrind.cs
NoMoreGrind.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using UnityEngine; using Upgradeables; using System.Reflection; namespace NoMoreGrind { [KSPAddon(KSPAddon.Startup.SpaceCentre, true)] public class NoMoreGrind : MonoBehaviour { public void Awake()...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using UnityEngine; using Upgradeables; using System.Reflection; namespace NoMoreGrind { [KSPAddon(KSPAddon.Startup.SpaceCentre, true)] public class NoMoreGrind : MonoBehaviour { public void Awake()...
mit
C#
2d7d4038d71f435fe1908662e176662cdf5c2f90
添加注释。
yaukeywang/2DPlatformer-SLua,lingkeyang/2DPlatformer-SLua,lingkeyang/2DPlatformer-SLua
Assets/Game/Scripts/Editor/CustomExportTypeToLua.cs
Assets/Game/Scripts/Editor/CustomExportTypeToLua.cs
/** * The custom export lua type class, this is editor class. * * @filename CustomExportTypeToLua.cs * @copyright Copyright (c) 2015 Yaukey/yaukeywang/WangYaoqi (yaukeywang@gmail.com) all rights reserved. * @license The MIT License (MIT) * @author Yaukey * @date 2016-03-16 */ using UnityEngine; usi...
using UnityEngine; using System.Collections; using System.Collections.Generic; using SLua; public class CustomExportTypeToLua : ICustomExportPost { public static void OnAddCustomClass(LuaCodeGen.ExportGenericDelegate cAdd) { // add your custom class here // add( type, typename) // typ...
mit
C#
400b1885f23581068133ea37e27d948078e9e5ac
test running Spec class fails after last change on name
mattflo/NSpec,mattflo/NSpec,BennieCopeland/NSpec,mattflo/NSpec,nspec/NSpec,BennieCopeland/NSpec,nspec/NSpec,mattflo/NSpec
NSpecSpecs/describe_RunningSpecs/Exceptions/when_method_level_context_contains_exception.cs
NSpecSpecs/describe_RunningSpecs/Exceptions/when_method_level_context_contains_exception.cs
using NSpec; using NSpecSpecs.WhenRunningSpecs; using NUnit.Framework; namespace NSpecSpecs.describe_RunningSpecs.Exceptions { [TestFixture] [Category("RunningSpecs")] public class when_method_level_context_contains_exception : when_running_specs { public class SpecClass : nspec { ...
using NSpec; using NSpecSpecs.WhenRunningSpecs; using NUnit.Framework; namespace NSpecSpecs.describe_RunningSpecs.Exceptions { [TestFixture] [Category("RunningSpecs")] public class when_method_level_context_contains_exception : when_running_specs { public class SpecClass : nspec { ...
mit
C#
4f8f376a72697b69319f7c9231a3a0ccf15d82d3
Change error text.
LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform
src/CompetitionPlatform/Views/Shared/ProjectNotFound.cshtml
src/CompetitionPlatform/Views/Shared/ProjectNotFound.cshtml
@{ ViewData["Title"] = "Project Not Found"; } <br /> <br /> <div class="container"> <h1 class="text-danger">Error.</h1> <h2 class="text-danger">Project not found.</h2> <p> Project with this id was not found. </p> </div>
@{ ViewData["Title"] = "Access Denied"; } <br /> <br /> <div class="container"> <h1 class="text-danger">Error.</h1> <h2 class="text-danger">Project not found.</h2> <p> Project with this id was not found. </p> </div>
mit
C#
05802f073af6b0b715620609c9729ab612b9ad99
Fix EF sql column type unit
massimodipaolo/bom-core
src/modules/Data.EF/AppDbContext.cs
src/modules/Data.EF/AppDbContext.cs
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Threading.Tasks; namespace core.Extensions.Data { public class AppDbContext : DbContext { static AppDbContext() { } ...
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Threading.Tasks; namespace core.Extensions.Data { public class AppDbContext : DbContext { static AppDbContext() { } ...
mit
C#
ee12f0f2bf20dbb471d0c0b870c866c3fcfd5a3b
Fix SSPG button
sergeyshushlyapin/Sitecore-Instance-Manager,Brad-Christie/Sitecore-Instance-Manager,Sitecore/Sitecore-Instance-Manager
src/SIM.Tool.Windows/MainWindowComponents/OpenSSPGButton.cs
src/SIM.Tool.Windows/MainWindowComponents/OpenSSPGButton.cs
namespace SIM.Tool.Windows.MainWindowComponents { using System.Windows; using SIM.Instances; using SIM.Tool.Base.Plugins; using JetBrains.Annotations; using SIM.Core; [UsedImplicitly] public class OpenSSPGButton : IMainWindowButton { #region Public methods public bool IsEnabled(Window mainWind...
namespace SIM.Tool.Windows.MainWindowComponents { using System.Windows; using SIM.Instances; using SIM.Tool.Base.Plugins; using JetBrains.Annotations; using SIM.Core; [UsedImplicitly] public class OpenSspgButton : IMainWindowButton { #region Public methods public bool IsEnabled(Window mainWind...
mit
C#
16268d05889f3c8a8b0883fc3ed98ce214793913
Remove unused broker parameter
bjartebore/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,yamamoWorks/azure-activedirectory-library-for-dotnet,AzureAD/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/mi...
src/ADAL.PCL.Mac/PlatformParameters.cs
src/ADAL.PCL.Mac/PlatformParameters.cs
//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated doc...
//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated doc...
mit
C#
eb40b6e1b77b085c92061bd0d1fdda62cc1edec5
Remove unnecessary using
RubenLaube-Pohto/asp.net-project
Program.cs
Program.cs
using Microsoft.AspNetCore.Hosting; namespace ChatApp { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() .UseKestrel() .UseStartup<Startup>() // <Startup> tells to look for Startup class in Startup.cs ...
using System; using Microsoft.AspNetCore.Hosting; namespace ChatApp { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() .UseKestrel() .UseStartup<Startup>() // <Startup> tells to look for Startup class in...
mit
C#
1036270ea6363e9d1c39aa278924c8c7c72dd994
Move TestEnvironmentSetUpFixture into project root namespace
ulrichb/ReSharperExtensionsShared
Src/ReSharperExtensionsShared.Tests/ZoneMarkerAndSetUpFixture.cs
Src/ReSharperExtensionsShared.Tests/ZoneMarkerAndSetUpFixture.cs
using JetBrains.Application.BuildScript.Application.Zones; using JetBrains.ReSharper.Psi.CSharp; using JetBrains.ReSharper.TestFramework; using JetBrains.TestFramework; using JetBrains.TestFramework.Application.Zones; using NUnit.Framework; [assembly: RequiresSTA] namespace ReSharperExtensionsShared.Tests { [Zon...
using JetBrains.Application.BuildScript.Application.Zones; using JetBrains.ReSharper.Psi.CSharp; using JetBrains.ReSharper.TestFramework; using JetBrains.TestFramework; using JetBrains.TestFramework.Application.Zones; using NUnit.Framework; using ReSharperExtensionsShared.Tests; [assembly: RequiresSTA] namespace ReS...
mit
C#
12dd85de9fd06291b6c8dc73a169abde703e362e
Update XRSDKWindowsMixedRealityUtilitiesProvider.cs
DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MRTK/Providers/WindowsMixedReality/XRSDK/XRSDKWindowsMixedRealityUtilitiesProvider.cs
Assets/MRTK/Providers/WindowsMixedReality/XRSDK/XRSDKWindowsMixedRealityUtilitiesProvider.cs
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.WindowsMixedReality; using System; #if WMR_ENABLED using UnityEngine.XR.WindowsMR; #endif // WMR_ENABLED namespace Microsoft.MixedReality.Toolkit.XRSDK.WindowsMixedReality { /// <summary> /// An i...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.WindowsMixedReality; using System; #if WMR_ENABLED using UnityEngine.XR.WindowsMR; #endif // WMR_ENABLED namespace Microsoft.MixedReality.Toolkit.XRSDK.WindowsMixedReality { /// <summary> /// An i...
mit
C#
a01db9f9815823a6f5519a824836467df07cd5be
check if cache works
Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek
core/Engine/Engine/Rules/Creation/RulesLoader.cs
core/Engine/Engine/Rules/Creation/RulesLoader.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Engine.Core.Rules; using Engine.Drivers.Rules; using static Engine.Core.Utils.TraceHelpers; using LanguageExt.Trans.Linq; using LanguageExt; //check chache namespace Engine.Rules.Creation { public delegate IRul...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Engine.Core.Rules; using Engine.Drivers.Rules; using static Engine.Core.Utils.TraceHelpers; using LanguageExt.Trans.Linq; using LanguageExt; namespace Engine.Rules.Creation { public delegate IRuleParser GetRuleP...
mit
C#
bb5f37164760088a3b30b617e9f252f5a5f4eeed
Add test for INPUT union
AArnott/pinvoke,vbfox/pinvoke,jmelosegui/pinvoke
src/User32.Tests/User32Facts.cs
src/User32.Tests/User32Facts.cs
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Runti...
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Runti...
mit
C#
eb472e8507f34be83f629abca053e01118d9e2c8
Add comments to ControllerCodeHelper.MonoclePainting
AngelDE98/FEZMod,AngelDE98/FEZMod
FEZ.Speedrun.mm/FezGame/Speedrun/BOT/ControllerCodeHelper.cs
FEZ.Speedrun.mm/FezGame/Speedrun/BOT/ControllerCodeHelper.cs
using System; using FezGame.Structure; using Microsoft.Xna.Framework; using FezEngine; using FezGame.Components; using FezEngine.Structure.Input; using FezGame.Mod; using FezEngine.Structure; using FezEngine.Services; using FezEngine.Tools; using System.Collections.Generic; namespace FezGame.Speedrun.BOT { public ...
using System; using FezGame.Structure; using Microsoft.Xna.Framework; using FezEngine; using FezGame.Components; using FezEngine.Structure.Input; using FezGame.Mod; using FezEngine.Structure; using FezEngine.Services; using FezEngine.Tools; using System.Collections.Generic; namespace FezGame.Speedrun.BOT { public ...
mit
C#
486ec49933effdfb55e093b234cdcba48e1e5442
Update LazyCacheServiceCollectionExtensions.cs (#62)
alastairtree/LazyCache,alastairtree/LazyCache
LazyCache.AspNetCore/LazyCacheServiceCollectionExtensions.cs
LazyCache.AspNetCore/LazyCacheServiceCollectionExtensions.cs
using System; using LazyCache; using LazyCache.Providers; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.DependencyInjection.Extensions; // ReSharper disable once CheckNamespace - MS guidelines say put DI registration in this NS namespace Microsoft.Extensions.DependencyInjection { ...
using System; using LazyCache; using LazyCache.Providers; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.DependencyInjection.Extensions; // ReSharper disable once CheckNamespace - MS guidelines say put DI registration in this NS namespace Microsoft.Extensions.DependencyInjection { ...
mit
C#
1522ff94b3ab7ada60accef0d62c9940d0b9ac41
move to version 1.4.2
ChrisMissal/Formo,Moulde/Formo,noelbundick/Formo,madhon/Formo
src/Formo/Properties/AssemblyInfo.cs
src/Formo/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#
140a08e1ecdff16f60bf54d8d8d8a730a4ae4792
Add comment to ProxyAuthorizationException constructor
justcoding121/Titanium-Web-Proxy,titanium007/Titanium,titanium007/Titanium-Web-Proxy
Titanium.Web.Proxy/Exceptions/ProxyAuthorizationException.cs
Titanium.Web.Proxy/Exceptions/ProxyAuthorizationException.cs
using System; using System.Collections.Generic; using Titanium.Web.Proxy.Models; namespace Titanium.Web.Proxy.Exceptions { /// <summary> /// Proxy authorization exception /// </summary> public class ProxyAuthorizationException : ProxyException { /// <summary> /// Instan...
using System; using System.Collections.Generic; using Titanium.Web.Proxy.Models; namespace Titanium.Web.Proxy.Exceptions { /// <summary> /// Proxy authorization exception /// </summary> public class ProxyAuthorizationException : ProxyException { public ProxyAuthorizationExcept...
mit
C#
c97c6565a94e1728abf4cee5de9a768f8b043a0f
Fix typo in CalculatesAverageGrade() test
charlesroper/CSharp-Fundamentals
Grades.Tests/UnitTest1.cs
Grades.Tests/UnitTest1.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Grades.Tests { [TestClass] public class GradeBookTests { private GradeStatistics _stats; public GradeBookTests() { var book = new GradeBook(); book.AddGrade(90f); book.AddGrade(100f)...
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Grades.Tests { [TestClass] public class GradeBookTests { private GradeStatistics _stats; public GradeBookTests() { var book = new GradeBook(); book.AddGrade(90f); book.AddGrade(100f)...
mit
C#
2350f757b1466c0377aa149a404efb4cab6b6fd3
Add yet another word
ArcticEcho/Hatman
Hatman/Commands/Should.cs
Hatman/Commands/Should.cs
using System.Text.RegularExpressions; using ChatExchangeDotNet; namespace Hatman.Commands { class Should : ICommand { private readonly Regex ptn = new Regex(@"(?i)^((sh|[cw])ould|can|are|did|were|will|is|has|does|do).*\?", Extensions.RegOpts); private readonly string[] phrases = new[] ...
using System.Text.RegularExpressions; using ChatExchangeDotNet; namespace Hatman.Commands { class Should : ICommand { private readonly Regex ptn = new Regex(@"(?i)^((sh|[cw])ould|can|are|did|will|is|has|does|do).*\?", Extensions.RegOpts); private readonly string[] phrases = new[] { ...
isc
C#
d60a68de94a178187ff294484ab460fe7011e6c2
Revert "Add NeedsCpp to LinkWithAttribute"
jorik041/maccore,mono/maccore,cwensley/maccore
src/ObjCRuntime/LinkWithAttribute.cs
src/ObjCRuntime/LinkWithAttribute.cs
// // Authors: Jeffrey Stedfast // // Copyright 2011 Xamarin Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use,...
// // Authors: Jeffrey Stedfast // // Copyright 2011 Xamarin Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use,...
apache-2.0
C#
9094307172feac4a3e6090fc3ad9ce5a237306a6
Update FastStack.cs
erebuswolf/LockstepFramework,SnpM/Lockstep-Framework,yanyiyun/LockstepFramework
Core/Utility/Fast/FastStack.cs
Core/Utility/Fast/FastStack.cs
using System.Collections; using System; namespace Lockstep { public class FastStack<T> { private const int DefaultCapacity = 8; public T[] innerArray; public int Count = 0; public int Capacity; public FastStack (int StartCapacity) { Capacity = StartCapacity; Initialize (); } public FastStack (...
using System.Collections; using System; namespace Lockstep { public class FastStack<T> { private const int DefaultCapacity = 8; public T[] innerArray; public int Count = 0; public int Capacity; public FastStack (int StartCapacity) { Capacity = StartCapacity; Initialize (); } public FastStack (...
mit
C#
fcb2ce2670cbc7e49bbea6c8787c4ae648d038ae
Update NotesRepository.cs
CarmelSoftware/MVCDataRepositoryXML
Models/NotesRepository.cs
Models/NotesRepository.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Xml.Linq; namespace IoCDependencyInjection.Models {
////// TODO
mit
C#
0a628ff5ba496ed1ffa144c133c3d1e7137b01c4
update view
MachUpskillingFY17/JabbR-Core,MachUpskillingFY17/JabbR-Core,MachUpskillingFY17/JabbR-Core
src/JabbR-Core/Views/Account/_changeusername.cshtml
src/JabbR-Core/Views/Account/_changeusername.cshtml
@using JabbR_Core @using JabbR_Core.ViewModels @model ChangeUsernameViewModel @*<form class="form-horizontal" action="@Url.Content("~/account/changeusername")#changeUsername" method="POST">*@ <form asp-controller="Account" asp-action="ChangeUsername" method="post" class="form-horizontal"> @Html.ValidationSummary(...
@using JabbR_Core @using JabbR_Core.ViewModels @model ChangeUsernameViewModel @*<form class="form-horizontal" action="@Url.Content("~/account/changeusername")#changeUsername" method="POST">*@ <form asp-controller="Account" asp-action="ChangeUsername" method="post" class="form-horizontal"> @Html.ValidationSummary(...
mit
C#
0e2e5e96d18c4c0da5d679291cb1e9aa36dec281
replace embed translate to Resources.GetString
effekseer/Effekseer,effekseer/Effekseer,effekseer/Effekseer,effekseer/Effekseer,effekseer/Effekseer,effekseer/Effekseer,effekseer/Effekseer
Dev/Editor/Effekseer/Define.cs
Dev/Editor/Effekseer/Define.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Effekseer { public class ErrorUtils { public static void ThrowFileNotfound() { throw new Exception(Resources.GetString("MismatchResourceError")); } public static void ShowErrorBy...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Effekseer { public class ErrorUtils { public static void ThrowFileNotfound() { if (Core.Option.GuiLanguage.Value == Language.Japanese) { throw new Exception("リソースファイルを更新してください。...
mit
C#
9ad54736ed967ea25cae6609d90980b364461dbe
Fix visibility of Address.Create (#2979)
bokobza/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,fassadlr/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,fassadlr/...
src/Stratis.SmartContracts.CLR/AddressExtensions.cs
src/Stratis.SmartContracts.CLR/AddressExtensions.cs
using System; using NBitcoin; using Extensions = Stratis.SmartContracts.Core.Extensions; namespace Stratis.SmartContracts.CLR { public static class AddressExtensions { public static uint160 ToUint160(this Address address) { return new uint160(address.ToBytes()); } ...
using System; using NBitcoin; using Extensions = Stratis.SmartContracts.Core.Extensions; namespace Stratis.SmartContracts.CLR { public static class AddressExtensions { public static uint160 ToUint160(this Address address) { return new uint160(address.ToBytes()); } ...
mit
C#
a23e6051911a119c7e4aa9dc863807cc8e8d027a
fix console color
amiralles/contest,amiralles/contest
src/Contest.Core/Printer.cs
src/Contest.Core/Printer.cs
namespace Contest.Core { using System; using System.Collections.Generic; using System.Diagnostics; class Printer{ static ConsoleColor White = ConsoleColor.White; static ConsoleColor Red = ConsoleColor.Red; static ConsoleColor Green = ConsoleColor.Green; static ConsoleColor Yellow = ConsoleCol...
namespace Contest.Core { using System; using System.Collections.Generic; using System.Diagnostics; class Printer{ static ConsoleColor White = ConsoleColor.White; static ConsoleColor Red = Red; static ConsoleColor Green = Green; static ConsoleColor Yellow = Yellow; // void PrintResults(in...
mit
C#
a4a4cc53b5b320bcdc4f74449a8b9dcf9027318d
Build failure test
mikeobrien/WcfRestContrib,mikeobrien/WcfRestContrib,mikeobrien/WcfRestContrib
src/WcfRestContrib.Tests/EncodedUrlBehaviorTests.cs
src/WcfRestContrib.Tests/EncodedUrlBehaviorTests.cs
using System; using System.Net; using System.ServiceModel; using System.ServiceModel.Web; using NUnit.Framework; using Should; namespace WcfRestContrib.Tests { [TestFixture] public class EncodedUrlBehaviorTests { [ServiceContract] public class Service { ...
using System.Net; using System.ServiceModel; using System.ServiceModel.Web; using NUnit.Framework; using Should; namespace WcfRestContrib.Tests { [TestFixture] public class EncodedUrlBehaviorTests { [ServiceContract] public class Service { [Web...
mit
C#
9cafec3af687003697982f92cc22bac5442b1829
Scrub test key
hewittj/chargify-dot-net,kfrancis/chargify-dot-net,hewittj/chargify-dot-net,kfrancis/chargify-dot-net,hewittj/chargify-dot-net,kfrancis/chargify-dot-net
Source/ChargifyDotNetTests/Base/ChargifyTestBase.cs
Source/ChargifyDotNetTests/Base/ChargifyTestBase.cs
using System; using ChargifyNET; using System.Net; #if NUNIT using NUnit.Framework; #else using TestFixture = Microsoft.VisualStudio.TestTools.UnitTesting.TestClassAttribute; using Test = Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute; using TestFixtureSetUp = Microsoft.VisualStudio.TestTools.UnitTes...
using System; using ChargifyNET; using System.Net; #if NUNIT using NUnit.Framework; #else using TestFixture = Microsoft.VisualStudio.TestTools.UnitTesting.TestClassAttribute; using Test = Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute; using TestFixtureSetUp = Microsoft.VisualStudio.TestTools.UnitTes...
mit
C#
04157e3a3d7c60fa95a91db736e6c07679e9aa3d
Update UDP
Pliner/EasyGelf
Source/EasyGelf.Core/Transports/Udp/UdpTransport.cs
Source/EasyGelf.Core/Transports/Udp/UdpTransport.cs
using System; using System.Net.Sockets; using EasyGelf.Core.Encoders; namespace EasyGelf.Core.Transports.Udp { public sealed class UdpTransport : ITransport, IDisposable { private readonly UdpTransportConfiguration configuration; private readonly ITransportEncoder encoder; private read...
using System.Net.Sockets; using EasyGelf.Core.Encoders; namespace EasyGelf.Core.Transports.Udp { public sealed class UdpTransport : ITransport { private readonly UdpTransportConfiguration configuration; private readonly ITransportEncoder encoder; private readonly IGelfMessageSerializer...
mit
C#
e2c80f09dacc27e16a83f2cf5b0dbed82b75ae26
Remove unnecesary directive
peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu
osu.Game.Tests/Visual/Gameplay/TestSceneSkinnableComboCounter.cs
osu.Game.Tests/Visual/Gameplay/TestSceneSkinnableComboCounter.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. #nullable disable using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Testing; using osu.Game.Rulesets.Osu; using os...
// 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. #nullable disable using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Testing; using osu.Game.Rulesets.Osu; using os...
mit
C#
b6b8098b989383b0402e2efe48476048f9b05f3f
Add an arbitrary offset to prevent div-by-0
2yangk23/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,EVAST9919/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,peppy/osu,johnneijzen/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu
osu.Game/Screens/Edit/Compose/Components/CircularBeatSnapGrid.cs
osu.Game/Screens/Edit/Compose/Components/CircularBeatSnapGrid.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; using osu.Game.Rulesets.Objects; using osuTK; namespace osu.Game.Screens.Edit.Com...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; using osu.Game.Rulesets.Objects; using osuTK; namespace osu.Game.Screens.Edit.Com...
mit
C#
9c569347c7b2cab10e0034e74e88e52329e763df
Update EnumerableExtensions.cs
keith-hall/Extensions,keith-hall/Extensions
src/EnumerableExtensions.cs
src/EnumerableExtensions.cs
using System; using System.Collections.Generic; using System.Linq; namespace HallLibrary.Extensions { /// <summary> /// Contains static methods for working with <see cref="IEnumerable" />s. /// </summary> public static class EnumerableExtensions { /// <summary> /// Randomise the order of the elements in the <...
using System; using System.Collections.Generic; using System.Linq; namespace HallLibrary.Extensions { public static class EnumerableExtensions { /// <summary> /// Randomise the order of the elements in the <paramref name="source"/> enumerable. /// </summary> /// <typeparam name="T">The type of the elements i...
apache-2.0
C#
ee900036cdc5b1c1920f6db38c38f00b66b3ed6a
Fix missing }
SteamDatabase/ValveResourceFormat
ValveResourceFormat/Block.cs
ValveResourceFormat/Block.cs
using System; using System.IO; namespace ValveResourceFormat { /// <summary> /// Represents a block within the resource file. /// </summary> public abstract class Block { /// <summary> /// Offset to the data. /// </summary> public uint Offset { get; set; } ...
using System; using System.IO; namespace ValveResourceFormat { /// <summary> /// Represents a block within the resource file. /// </summary> public abstract class Block { /// <summary> /// Offset to the data. /// </summary> public uint Offset { get; set; } ...
mit
C#
a2e64067a93baa89155a4a98468cade0b0bd0881
Implement ISlaveDataStore implicitly
NModbus/NModbus
NModbus/Data/SlaveDataStore.cs
NModbus/Data/SlaveDataStore.cs
namespace NModbus.Data { public class SlaveDataStore : ISlaveDataStore { public IPointSource<ushort> HoldingRegisters { get; } = new PointSource<ushort>(); public IPointSource<ushort> InputRegisters { get; } = new PointSource<ushort>(); public IPointSource<bool> CoilDiscretes { get; }...
namespace NModbus.Data { public class SlaveDataStore : ISlaveDataStore { private readonly IPointSource<ushort> _holdingRegisters = new PointSource<ushort>(); private readonly IPointSource<ushort> _inputRegisters = new PointSource<ushort>(); private readonly IPointSource<bool> _coilDiscr...
mit
C#
373c67668c63686a8ac0be1665d8a520b0b5b9ad
Hide Cursor
ludimation/Winter,ludimation/Winter,ludimation/Winter
Winter/Assets/Scripts/GUIBehavior.cs
Winter/Assets/Scripts/GUIBehavior.cs
using UnityEngine; using System.Collections; public class GUIBehavior : MonoBehaviour { public Texture barTexture; public wolf wolfData; public int boxWidth = 34; public int boxHeight = 30; void OnGUI () { Screen.showCursor = false; //Print the bar GUI.Box (new Rect(Screen.width - barTexture.widt...
using UnityEngine; using System.Collections; public class GUIBehavior : MonoBehaviour { public Texture barTexture; public wolf wolfData; public int boxWidth = 34; public int boxHeight = 30; void OnGUI () { //Print the bar GUI.Box (new Rect(Screen.width - barTexture.width - 18,10,barTexture.width + 8, bar...
mit
C#
a8315461eb4239c5c5b2831fd643cc6d23919cdc
Add an [Obsolete] default .ctor to NSTimer for binary compatibility (will fail at compile time). Fix bug #6987
jorik041/maccore,mono/maccore,cwensley/maccore
src/Foundation/NSTimer.cs
src/Foundation/NSTimer.cs
using System; using System.Reflection; using System.Collections; using System.Runtime.InteropServices; using MonoMac.ObjCRuntime; namespace MonoMac.Foundation { public partial class NSTimer { public static NSTimer CreateRepeatingScheduledTimer (TimeSpan when, NSAction action) { return CreateScheduledTimer...
using System; using System.Reflection; using System.Collections; using System.Runtime.InteropServices; using MonoMac.ObjCRuntime; namespace MonoMac.Foundation { public partial class NSTimer { public static NSTimer CreateRepeatingScheduledTimer (TimeSpan when, NSAction action) { return CreateScheduledTimer...
apache-2.0
C#
49c19abf2be3280ce19747e882a713449123069e
Support for Title on Windows.
toroso/ruibarbo
ruibarbo.core/Wpf/Base/WpfWindowBase.cs
ruibarbo.core/Wpf/Base/WpfWindowBase.cs
using ruibarbo.core.ElementFactory; using ruibarbo.core.Wpf.Invoker; namespace ruibarbo.core.Wpf.Base { public class WpfWindowBase<TNativeElement> : WpfFrameworkElementBase<TNativeElement> where TNativeElement : System.Windows.Window { public WpfWindowBase(ISearchSourceElement searchPar...
using ruibarbo.core.ElementFactory; using ruibarbo.core.Wpf.Invoker; namespace ruibarbo.core.Wpf.Base { public class WpfWindowBase<TNativeElement> : WpfFrameworkElementBase<TNativeElement> where TNativeElement : System.Windows.Window { public WpfWindowBase(ISearchSourceElement searchPar...
apache-2.0
C#
ad64d0330c872813b350a73b3d9f2ba72bbcd5ef
Fix nuke command exception, add autocomplete (#11828)
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Server/Nuke/Commands/SendNukeCodesCommand.cs
Content.Server/Nuke/Commands/SendNukeCodesCommand.cs
using System.Linq; using Content.Server.Administration; using Content.Server.Station.Systems; using Content.Shared.Administration; using JetBrains.Annotations; using Robust.Shared.Console; namespace Content.Server.Nuke.Commands { [UsedImplicitly] [AdminCommand(AdminFlags.Fun)] public sealed class SendNuke...
using Content.Server.Administration; using Content.Shared.Administration; using JetBrains.Annotations; using Robust.Shared.Console; namespace Content.Server.Nuke.Commands { [UsedImplicitly] [AdminCommand(AdminFlags.Fun)] public sealed class SendNukeCodesCommand : IConsoleCommand { public strin...
mit
C#
66adaed39d5046eda675c05ace2a6f8e9a81ea77
Tweak the latest news 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/Themes/LccNetwork.Bootstrap/Views/ProjectionPageStaff.cshtml
Orchard.Source.1.8.1/src/Orchard.Web/Themes/LccNetwork.Bootstrap/Views/ProjectionPageStaff.cshtml
@using System.Dynamic; @using System.Linq; @using Orchard.ContentManagement; @using Orchard.Utility.Extensions; @functions { dynamic GetMainPartFromContentItem(ContentItem item) { // get the ContentPart that has the same name as the item's ContentType // so that we can access the item fields. ...
@using System.Dynamic; @using System.Linq; @using Orchard.ContentManagement; @using Orchard.Utility.Extensions; @functions { dynamic GetMainPartFromContentItem(ContentItem item) { // get the ContentPart that has the same name as the item's ContentType // so that we can access the item fields. ...
bsd-3-clause
C#
6f91938aa853722119ac390c639aa989edc93b1f
Fix last binary page
mbdavid/LiteDB
LiteDB/Engine/FileCollection/BinaryFileCollection.cs
LiteDB/Engine/FileCollection/BinaryFileCollection.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LiteDB.Engine { /// <summary> /// Represent an external file with binary data content. File will be break in chunks /// </summary> public class BinaryFileColle...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LiteDB.Engine { /// <summary> /// Represent an external file with binary data content. File will be break in chunks /// </summary> public class BinaryFileColle...
mit
C#
ee25f4c0b85fe30f4fb8325ed4b74b1d4d4a74e0
Fix attempting to filter by project filtered by context instead
hartez/TodotxtTouch.WindowsPhone
TodotxtTouch.WindowsPhone/Tasks/TaskFilterFactory.cs
TodotxtTouch.WindowsPhone/Tasks/TaskFilterFactory.cs
using System; using System.Collections.Generic; using System.Linq; using EZLibrary; using TodotxtTouch.WindowsPhone.ViewModel; namespace TodotxtTouch.WindowsPhone.Tasks { public class TaskFilterFactory { private const char Delimiter = ','; public static TaskFilter CreateTaskFilterFromString(string filter) { ...
using System; using System.Collections.Generic; using System.Linq; using EZLibrary; using TodotxtTouch.WindowsPhone.ViewModel; namespace TodotxtTouch.WindowsPhone.Tasks { public class TaskFilterFactory { private const char Delimiter = ','; public static TaskFilter CreateTaskFilterFromString(string filter) { ...
mit
C#
62dbd059367204ea4bcebf4e72ac38b5a5277762
Rewrite VerifyPhoneNumber form markup
peterblazejewicz/aspnet-5-bootstrap-4,peterblazejewicz/aspnet-5-bootstrap-4
WebApplication/Views/Manage/VerifyPhoneNumber.cshtml
WebApplication/Views/Manage/VerifyPhoneNumber.cshtml
@model VerifyPhoneNumberViewModel @{ ViewData["Title"] = "Verify Phone Number"; } <h2>@ViewData["Title"].</h2> <form asp-controller="Manage" asp-action="VerifyPhoneNumber" asp-route-returnurl="@ViewData["ReturnUrl"]" method="post" role="form"> <input asp-for="PhoneNumber" type="hidden" /> <h4>Add...
@model VerifyPhoneNumberViewModel @{ ViewData["Title"] = "Verify Phone Number"; } <h2>@ViewData["Title"].</h2> <form asp-controller="Manage" asp-action="VerifyPhoneNumber" asp-route-returnurl="@ViewData["ReturnUrl"]" method="post" role="form"> <input asp-for="PhoneNumber" type="hidden" /> <h4>Add...
mit
C#
2a8c5aa5c5d0cdbb7e981ab438315a578430da98
Fix potential test failure due to not waiting long enough on track start
peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework
osu.Framework.Tests/Audio/DevicelessAudioTest.cs
osu.Framework.Tests/Audio/DevicelessAudioTest.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; namespace osu.Framework.Tests.Audio { [TestFixture] public class DevicelessAudioTest : AudioThreadTest { public override void...
// 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; namespace osu.Framework.Tests.Audio { [TestFixture] public class DevicelessAudioTest : AudioThreadTest { public override void...
mit
C#
0fb86e505ddeabf4964ee4f087a8bf9b3575191a
添加多租户OAuth演示 #1550
JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,jiehanlin/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.Linq; 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 CustomOAuthAtt...
using System.Linq; 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 CustomOAuthAtt...
apache-2.0
C#
3a3b2146f4fc5bc870f42f732a5228b0452bd450
bump version
GeertvanHorrik/Fody,distantcam/Fody,ColinDabritzViewpoint/Fody,Fody/Fody,ichengzi/Fody,jasonholloway/Fody,huoxudong125/Fody,furesoft/Fody,PKRoma/Fody
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Fody")] [assembly: AssemblyProduct("Fody")] [assembly: AssemblyVersion("1.17.4")] [assembly: AssemblyFileVersion("1.17.4")]
using System.Reflection; [assembly: AssemblyTitle("Fody")] [assembly: AssemblyProduct("Fody")] [assembly: AssemblyVersion("1.17.1")] [assembly: AssemblyFileVersion("1.17.1")]
mit
C#
d94165757e10c9a6d43ecc4df41177b97c2e4605
fix Variable serialization
cbovar/ConvNetSharp
src/ConvNetSharp.Flow/Ops/Variable.cs
src/ConvNetSharp.Flow/Ops/Variable.cs
using System; using System.Collections.Generic; using System.Diagnostics; using ConvNetSharp.Volume; namespace ConvNetSharp.Flow.Ops { [DebuggerDisplay("{Name}")] public class Variable<T> : Op<T>, IPersistable<T> where T : struct, IEquatable<T>, IFormattable { public Variable(Volume<T> v, string na...
using System; using System.Collections.Generic; using System.Diagnostics; using ConvNetSharp.Volume; namespace ConvNetSharp.Flow.Ops { [DebuggerDisplay("{Name}")] public class Variable<T> : Op<T>, IPersistable<T>, IValueOp<T> where T : struct, IEquatable<T>, IFormattable { public Variable(Volume<T>...
mit
C#
6cb5fad8e1ca9bf5c90e088c4fe6977a85697626
Update Markdown output to match linter now used in NUnit docs
rprouse/GetChanges
GetChanges/Program.cs
GetChanges/Program.cs
using Nito.AsyncEx; using Octokit; using System; using System.Collections.Generic; using System.Linq; namespace Alteridem.GetChanges { class Program { static int Main(string[] args) { var options = new Options(); if (!CommandLine.Parser.Default.ParseArguments(args, opti...
using Nito.AsyncEx; using Octokit; using System; using System.Collections.Generic; using System.Linq; namespace Alteridem.GetChanges { class Program { static int Main(string[] args) { var options = new Options(); if (!CommandLine.Parser.Default.ParseArguments(args, opti...
mit
C#
22c7f28b77adad58852edef9b33d6ba9c3a7de32
Add comment and cleanup to the Program class in snippets.
ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog
Take2/NuLogSnippets/Program.cs
Take2/NuLogSnippets/Program.cs
/* © 2017 Ivan Pointer MIT License: https://github.com/ivanpointer/NuLog/blob/master/LICENSE Source on GitHub: https://github.com/ivanpointer/NuLog */ namespace NuLogSnippets { internal class Program { private static void Main(string[] args) { // Nothing to do. Code is here for doc...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NuLogSnippets { class Program { static void Main(string[] args) { } } }
mit
C#
22cad15845fc07d07e50153c2ccfaf65972d49f3
handle action not found
barld/project5_6,barld/project5_6,barld/project5_6
MVC/RequestHandler.cs
MVC/RequestHandler.cs
using MVC.View; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace MVC { internal class RequestHandler { private readonly ControllerFactory controllerFartory; private readonly ...
using MVC.View; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace MVC { internal class RequestHandler { private readonly ControllerFactory controllerFartory; private readonly ...
mit
C#
3e3d3de89eea1fb32194dd70e46595d0b270efe4
Set CreateTime & UpdateTime nullable.
OShop/OShop.PayPal,OShop/OShop.PayPal
Models/Api/Payment.cs
Models/Api/Payment.cs
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; using System.Collections.Generic; namespace OShop.PayPal.Models.Api { public class Payment { [JsonProperty("intent", Required = Required.Always)] [JsonConverter(typeof(StringEnumConverter))] public PaymentIntent Intent ...
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; using System.Collections.Generic; namespace OShop.PayPal.Models.Api { public class Payment { [JsonProperty("intent", Required = Required.Always)] [JsonConverter(typeof(StringEnumConverter))] public PaymentIntent Intent ...
mit
C#
f95222bcfb09b77df86809c70f9aed93a1e3de6e
Set version to 1.0.0
TheOtherTimDuncan/TOTD-Mailer
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; // 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: AssemblyConfiguration("")] [assembly: AssemblyCompany("The Other Tim Duncan")] [assembly: Asse...
using System.Reflection; // 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: AssemblyConfiguration("")] [assembly: AssemblyCompany("The Other Tim Duncan")] [assembly: Asse...
mit
C#
61f1b63c19f5f260493136d536aa880ebc76570b
Bump version number
mjanthony/Huxley,jpsingleton/Huxley,Newsworthy/Huxley,Newsworthy/Huxley,mjanthony/Huxley,jpsingleton/Huxley
src/Huxley/Properties/AssemblyInfo.cs
src/Huxley/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("Huxley")] [assembly: AssemblyDes...
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("Huxley")] [assembly: AssemblyDes...
agpl-3.0
C#