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
751d692dbda5877f0cf269ea47cc5c97dac5f504
Fix compiler warning
domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore
src/Swashbuckle.AspNetCore.SwaggerGen/Generator/IDocumentFilter.cs
src/Swashbuckle.AspNetCore.SwaggerGen/Generator/IDocumentFilter.cs
using Microsoft.AspNetCore.Mvc.ApiExplorer; using Swashbuckle.AspNetCore.Swagger; using System; using System.Collections.Generic; namespace Swashbuckle.AspNetCore.SwaggerGen { public interface IDocumentFilter { void Apply(SwaggerDocument swaggerDoc, DocumentFilterContext context); } public cl...
using Microsoft.AspNetCore.Mvc.ApiExplorer; using Swashbuckle.AspNetCore.Swagger; using System; using System.Collections.Generic; namespace Swashbuckle.AspNetCore.SwaggerGen { public interface IDocumentFilter { void Apply(SwaggerDocument swaggerDoc, DocumentFilterContext context); } public cl...
mit
C#
e907669dddbef2c6901863325f36073101ffd3c1
Update AssemblyResolverHelper.cs
GeertvanHorrik/Fody,Fody/Fody
FodyIsolated/AssemblyResolverHelper.cs
FodyIsolated/AssemblyResolverHelper.cs
using Mono.Cecil; public static class AssemblyResolverHelper { public static AssemblyDefinition? Resolve(this IAssemblyResolver resolver, string assemblyName) { return resolver.Resolve(new AssemblyNameReference(assemblyName, null)); } }
using Mono.Cecil; public static class AssemblyResolverHelper { public static AssemblyDefinition? Resolve(this IAssemblyResolver resolver, string assemblyName) { return resolver.Resolve(new AssemblyNameReference(assemblyName, null)); } }
mit
C#
7dc552a5dd4f2c0c64beb485e439d87b7836f91e
revert cancellation grain placement
creyke/Orleans.Sagas
Orleans.Sagas/SagaCancellationGrain.cs
Orleans.Sagas/SagaCancellationGrain.cs
using Orleans.Placement; using System.Threading.Tasks; namespace Orleans.Sagas { [PreferLocalPlacement] public class SagaCancellationGrain : Grain<SagaCancellationGrainState>, ISagaCancellationGrain { public async Task RequestAbort() { if (!State.AbortRequested) { ...
using Orleans.Placement; using System.Threading.Tasks; namespace Orleans.Sagas { public class SagaCancellationGrain : Grain<SagaCancellationGrainState>, ISagaCancellationGrain { public async Task RequestAbort() { if (!State.AbortRequested) { State.AbortR...
mit
C#
14f6fbfa928e34023fbc35b1f5a77d935f287309
Update version to first main alpha!
adesbro/PinPayments-dotnet
PinPayments/Properties/AssemblyInfo.cs
PinPayments/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Pi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Pi...
mit
C#
ec8f5650b85be8e13f03ed6b97d96949fc0b7fcb
Update tạm fix lỗi Home/Index
shortgiraffe4/MomWorld,shortgiraffe4/MomWorld,shortgiraffe4/MomWorld
MomWorld/Controllers/HomeController.cs
MomWorld/Controllers/HomeController.cs
using MomWorld.DataContexts; using MomWorld.Entities; using MomWorld.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace MomWorld.Controllers { public class HomeController : Controller { private ArticleDb articleDb = new ...
using MomWorld.DataContexts; using MomWorld.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace MomWorld.Controllers { public class HomeController : Controller { private ArticleDb articleDb = new ArticleDb(); private I...
mit
C#
3f71d04d2afd1d9c2c236699013630b0e9256a7d
Change logger extension namespace
RoamingLost/Chimera.Extensions.Logging.Log4Net
src/Chimera.Extensions.Logging.Log4Net/Log4NetLoggerFactoryExtensions.cs
src/Chimera.Extensions.Logging.Log4Net/Log4NetLoggerFactoryExtensions.cs
namespace Microsoft.Extensions.Logging { using System; using Chimera.Extensions.Logging.Log4Net; /// <summary> /// LoggerFactory extensions for log4net. /// </summary> public static class Log4NetLoggerFactoryExtensions { /// <summary> /// Adds the log4net logger to the logg...
namespace Chimera.Extensions.Logging.Log4Net { using System; using Microsoft.Extensions.Logging; /// <summary> /// LoggerFactory extensions for log4net. /// </summary> public static class Log4NetLoggerFactoryExtensions { /// <summary> /// Adds the log4net logger to the logg...
mit
C#
2c3969b6befa49c76505b9b250231d04ee8b61cb
Comment for Operationmonitor
dbaeck/ai-playground,dbaeck/ai-playground,dbaeck/ai-playground,dbaeck/ai-playground
AIPlayground/CLI/Program.cs
AIPlayground/CLI/Program.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using AIPlayground.Search.Algorithm; using Common; namespace CLI { class Program { static void Main(string[] args) { ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using AIPlayground.Search.Algorithm; using Common; namespace CLI { class Program { static void Main(string[] args) { ...
mit
C#
f4bcfc28e6647e44368674a7bf670d32578a2d04
Update RoboCopyExitCodes.cs
tjscience/RoboSharp,tjscience/RoboSharp
RoboSharp/Results/RoboCopyExitCodes.cs
RoboSharp/Results/RoboCopyExitCodes.cs
using System; namespace RoboSharp.Results { /// <summary> /// RoboCopy Exit Codes /// </summary> /// <remarks><see href="https://ss64.com/nt/robocopy-exit.html"/></remarks> [Flags] public enum RoboCopyExitCodes { /// <summary>No Files Copied, No Errors Occured</summary> NoE...
using System; namespace RoboSharp.Results { /// <summary> /// RoboCopy Exit Codes /// </summary> /// <remarks><see href="https://ss64.com/nt/robocopy-exit.html"/></remarks> [Flags] public enum RoboCopyExitCodes { /// <summary>No Files Copied, No Errors Occured</summary> NoE...
mit
C#
86e3d1d2a778607dda713daa97a098c80d03a51e
refactor the requisitions list page
ndrmc/cats,ndrmc/cats,ndrmc/cats
Web/Areas/EarlyWarning/Views/ReliefRequisition/_RequisitionsFilter.cshtml
Web/Areas/EarlyWarning/Views/ReliefRequisition/_RequisitionsFilter.cshtml
 @model Cats.Areas.EarlyWarning.Models.SearchRequistionViewModel @using Cats.Helpers; @{ const string PAGE_NAME = "Request.Index.RequestFilter"; } @using (Html.BeginForm()) { <div class=""> <div class="span3"> <div class="form-inline"> @*<button type="submit" class="btn b...
 @model Cats.Areas.EarlyWarning.Models.SearchRequistionViewModel @using Cats.Helpers; @{ const string PAGE_NAME = "Request.Index.RequestFilter"; } @using (Html.BeginForm()) { <div class=""> <div class="span3"> <div class="control-group"> <div class="control-label"> ...
apache-2.0
C#
3b206abffc71d42f4641ae6773bf4ef89d186e94
Update fog values (new maps are bigger)
terahxluna/Merlin
Merlin/Extensions/WeatherExtensions.cs
Merlin/Extensions/WeatherExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Merlin.Extensions { public static class WeatherExtensions { public static void EnableFog(this Weather weather) { weather.fogSummer = new MinMax(4f, 54f); weather.fogWinter = ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Merlin.Extensions { public static class WeatherExtensions { public static void EnableFog(this Weather weather) { weather.fogSummer = new MinMax(4f, 54f); weather.fogWinter = ...
mit
C#
fda426a6524626250df8b954d0c2e43fbe0b19f5
add GetState to Internal for create native parser
acple/ParsecSharp
ParsecSharp/Parser/Internal/Builder.cs
ParsecSharp/Parser/Internal/Builder.cs
using System; using System.Runtime.CompilerServices; namespace ParsecSharp.Internal { public static class Builder { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Parser<TToken, T> Create<TToken, T>(Func<IParsecStateStream<TToken>, Result<TToken, T>> function) => n...
using System; using System.Runtime.CompilerServices; namespace ParsecSharp.Internal { public static class Builder { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Parser<TToken, T> Create<TToken, T>(Func<IParsecStateStream<TToken>, Result<TToken, T>> function) => n...
mit
C#
2b4804af7d68c59afe490c58ff290a728ca6bd44
Clean up code in CustomCode/.
Tirael/UnitsNet,BrandonLWhite/UnitsNet,maherkassim/UnitsNet,maherkassim/UnitsNet,anjdreas/UnitsNet,BoGrevyDynatest/UnitsNet,neutmute/UnitsNet,BrandonLWhite/UnitsNet,anjdreas/UnitsNet
Src/UnitsNet/CustomCode/Force.extra.cs
Src/UnitsNet/CustomCode/Force.extra.cs
// Copyright © 2007 by Initial Force AS. All rights reserved. // https://github.com/InitialForce/UnitsNet // // 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, includi...
// Copyright © 2007 by Initial Force AS. All rights reserved. // https://github.com/InitialForce/UnitsNet // // 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, includi...
mit
C#
595264853608ccebd5c1698ed084656c2e220395
remove comments
davemfletcher/ProjectEuler
ProjectEuler/Problem.cs
ProjectEuler/Problem.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ProjectEuler { public abstract class Problem { //protected Answer Answer { get; set; } public abstract Answer GetAnswer(); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ProjectEuler { public abstract class Problem { //protected Answer Answer { get; set; } public abstract Answer GetAnswer(); //public override string ToString() //{ // retu...
mit
C#
202362ad4fe7629fbd3c04a284e5a7d4d1df728d
remove unnecessary code
miridfd/MassTransit.Automatonymous.UnityIntegration
UnityStateMachineLoadSagaExtensions.cs
UnityStateMachineLoadSagaExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Practices.Unity; using Automatonymous; using MassTransit.Internals.Extensions; namespace MassTransit.Automatonymous.UnityIntegration { public static class UnityStateMachineLoadSagaExtensions { /// <summary> ...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Practices.Unity; using Automatonymous; using MassTransit.Internals.Extensions; namespace MassTransit.Automatonymous.UnityIntegration { public static class UnityStateMachineLoadSagaExtensions { /// <summary> ...
apache-2.0
C#
39be9b265c3313fe1dd50a7f8f2df743763ebca9
Use dotnet test runner
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
Util/Xamarin.Build.Download/build.cake
Util/Xamarin.Build.Download/build.cake
var TARGET = Argument ("t", Argument ("target", "ci")); var SOURCE_COMMIT = EnvironmentVariable("BUILD_SOURCEVERSION") ?? ""; var SOURCE_BRANCH = EnvironmentVariable("BUIlD_SOURCEBRANCHNAME") ?? ""; Task("libs") .Does(() => { MSBuild("./source/Xamarin.Build.Download.sln", c => { c.Configuration = "Release"; c.R...
var TARGET = Argument ("t", Argument ("target", "ci")); var SOURCE_COMMIT = EnvironmentVariable("BUILD_SOURCEVERSION") ?? ""; var SOURCE_BRANCH = EnvironmentVariable("BUIlD_SOURCEBRANCHNAME") ?? ""; Task("libs") .Does(() => { MSBuild("./source/Xamarin.Build.Download.sln", c => { c.Configuration = "Release"; c.R...
mit
C#
c14061cbed9945927cd648fb819679061f862c52
Update Visma.net/lib/ShipmentActionResult.cs
ON-IT/Visma.Net
Visma.net/lib/ShipmentActionResult.cs
Visma.net/lib/ShipmentActionResult.cs
using Newtonsoft.Json; using System; namespace ONIT.VismaNetApi.Lib { public class CreateShipmentActionResult : VismaActionResult { [JsonProperty("referenceNumber")] public string referenceNumber { get; internal set; } [JsonProperty("shipmentDto")] public Models.Shipment shipme...
using Newtonsoft.Json; using System; namespace ONIT.VismaNetApi.Lib { public class CreateShipmentActionResult : VismaActionResult { [JsonProperty("referenceNumber")] public string ReferenceNumber { get; internal set; } [JsonProperty("shipmentDto")] public Models.Shipment shipme...
mit
C#
6ed8526454cf58c840a128b4fd951a28f3cbd7b6
Correct Copyright in Assembly info
haesemeyer/ZebraTrack
ZebraTrack/Properties/AssemblyInfo.cs
ZebraTrack/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
C#
61f25604d97e5e1bfaeee74690482927e6033465
Move version forward
Abc-Arbitrage/ZeroLog
ZeroLog/Properties/AssemblyInfo.cs
ZeroLog/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("Zer...
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("Zer...
mit
C#
dfdcfe7ed082ea3249a4fc72242c39abc9026506
Use the assembly short name to find the embedded Python.Runtime (other assemblies may reference it with the full name).
QuantConnect/pythonnet,pythonnet/pythonnet,denfromufa/pythonnet,yagweb/pythonnet,Konstantin-Posudevskiy/pythonnet,vmuriart/pythonnet,AlexCatarino/pythonnet,vmuriart/pythonnet,dmitriyse/pythonnet,denfromufa/pythonnet,denfromufa/pythonnet,dmitriyse/pythonnet,pythonnet/pythonnet,vmuriart/pythonnet,Konstantin-Posudevskiy/p...
pythonnet/src/console/pythonconsole.cs
pythonnet/src/console/pythonconsole.cs
// ========================================================================== // This software is subject to the provisions of the Zope Public License, // Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution. // THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED // WARRANTIES ARE D...
// ========================================================================== // This software is subject to the provisions of the Zope Public License, // Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution. // THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED // WARRANTIES ARE D...
mit
C#
e40ac2e9e6134b15151fe0314a2f957a4802fb0c
Fix IT with google
maximn/google-maps,maximn/google-maps
GoogleMapsApi.Test/IntegrationTests/PlacesTextTests.cs
GoogleMapsApi.Test/IntegrationTests/PlacesTextTests.cs
using System.Linq; using GoogleMapsApi.Entities.PlacesText.Request; using GoogleMapsApi.Entities.PlacesText.Response; using NUnit.Framework; namespace GoogleMapsApi.Test.IntegrationTests { [TestFixture] public class PlacesTextTests : BaseTestIntegration { [Test] public void ReturnsFormatte...
using System.Linq; using GoogleMapsApi.Entities.PlacesText.Request; using GoogleMapsApi.Entities.PlacesText.Response; using NUnit.Framework; namespace GoogleMapsApi.Test.IntegrationTests { [TestFixture] public class PlacesTextTests : BaseTestIntegration { [Test] public void ReturnsFormatte...
bsd-2-clause
C#
8aeef5f6ea5f8846237046ccccedef0bef65c160
Fix url
GambitKZ/MangaRipper,NguyenDanPhuong/MangaRipper
MangaRipper.Core/FilenameDetectors/FilenameDetector.cs
MangaRipper.Core/FilenameDetectors/FilenameDetector.cs
using System; using System.IO; using System.Net.Http.Headers; namespace MangaRipper.Core.FilenameDetectors { public class FilenameDetector { private readonly GoogleProxyFilenameDetector googleProxyFilenameParser; public FilenameDetector(GoogleProxyFilenameDetector googleProxyFilenameParser) ...
using System.IO; using System.Net.Http.Headers; namespace MangaRipper.Core.FilenameDetectors { public class FilenameDetector { private readonly GoogleProxyFilenameDetector googleProxyFilenameParser; public FilenameDetector(GoogleProxyFilenameDetector googleProxyFilenameParser) { ...
mit
C#
89ebe87fefc3ee7bfab46269ff5bdfa07362b9d2
Fix page titles for ContentPages module
synhershko/NSemble,synhershko/NSemble
NSemble.Web/Modules/ContentPages/ContentPagesModule.cs
NSemble.Web/Modules/ContentPages/ContentPagesModule.cs
using System; using NSemble.Core.Models; using NSemble.Core.Nancy; using NSemble.Modules.ContentPages.Models; using Raven.Client; namespace NSemble.Modules.ContentPages { public class ContentPagesModule : NSembleModule { public static readonly string HomepageSlug = "home"; public ContentPages...
using System; using NSemble.Core.Nancy; using NSemble.Modules.ContentPages.Models; using Raven.Client; namespace NSemble.Modules.ContentPages { public class ContentPagesModule : NSembleModule { public static readonly string HomepageSlug = "home"; public ContentPagesModule(IDocumentSession ses...
apache-2.0
C#
c10c3528e652ebe3fb776d7e8532045ab766396c
Update TypeExtension.cs
NMSLanX/Natasha
Natasha/Engine/ScriptModule/Extension/TypeExtension.cs
Natasha/Engine/ScriptModule/Extension/TypeExtension.cs
using System; using System.Collections.Generic; namespace Natasha { public static class TypeExtension { public static bool IsImplementFrom(this Type type,Type iType) { HashSet<Type> types = new HashSet<Type>(type.GetInterfaces()); return types.Contains(iType); }...
using System; using System.Collections.Generic; namespace Natasha { public static class TypeExtension { public static bool IsImplementFrom(this Type type,Type iType) { HashSet<Type> types = new HashSet<Type>(type.GetInterfaces()); return types.Contains(iType); }...
mpl-2.0
C#
c7db9e202e5c6964a3f096b9f73a4437c0f59a4e
Revert "David/Clare #780 Reformat CSP and remove if statement"
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
src/StockportWebapp/Views/stockportgov/Shared/SecurityHeaders.cshtml
src/StockportWebapp/Views/stockportgov/Shared/SecurityHeaders.cshtml
@using System.Threading.Tasks @using StockportWebapp.FeatureToggling @inject FeatureToggles FeatureToggles @{ var host = Context.Request.Host.Host; } @if (host.StartsWith("www") || host.StartsWith("int-") || host.StartsWith("qa-") || host.StartsWith("stage-")) { <meta http-equiv="Content-Security-Policy" cont...
@using System.Threading.Tasks @using StockportWebapp.FeatureToggling @inject FeatureToggles FeatureToggles @{ var host = Context.Request.Host.Host; } <meta http-equiv="Content-Security-Policy" content="default-src https:; " + _ "font-src 'self' font.googleapis.com maxcdn.bootstrapcdn.com/font-awe...
mit
C#
2f7416189e18c140e7b42cf3b10ce2e170e3a2a9
Refactor tests to use AutoFixture
appharbor/appharbor-cli
src/AppHarbor.Tests/ApplicationConfigurationTest.cs
src/AppHarbor.Tests/ApplicationConfigurationTest.cs
using System; using System.IO; using System.Text; using AppHarbor.Model; using Moq; using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests { public class ApplicationConfigurationTest { public static string ConfigurationFile = Path.GetFullPath(".appharbor"); [Theory, AutoC...
using System; using System.IO; using System.Text; using AppHarbor.Model; using Moq; using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests { public class ApplicationConfigurationTest { public static string ConfigurationFile = Path.GetFullPath(".appharbor"); [Fact] publi...
mit
C#
a76a0e775ac10cf3e4bc318336668c5dc1c49f7b
make `ProfilePayload` safer
zentuit/unity3d-profile,vedi/unity3d-profile,vedi/unity3d-profile,zentuit/unity3d-profile,zentuit/unity3d-profile,vedi/unity3d-profile,zentuit/unity3d-profile,vedi/unity3d-profile,zentuit/unity3d-profile,vedi/unity3d-profile
Soomla/Assets/Plugins/Soomla/Profile/ProfilePayload.cs
Soomla/Assets/Plugins/Soomla/Profile/ProfilePayload.cs
/// Copyright (C) 2012-2014 Soomla Inc. /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// http://www.apache.org/licenses/LICENSE-2.0 /// /// Unless required by applicable l...
/// Copyright (C) 2012-2014 Soomla Inc. /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// http://www.apache.org/licenses/LICENSE-2.0 /// /// Unless required by applicable l...
apache-2.0
C#
114ea0f6a2703d445e2f21a690f4586ece0b21a1
Fix interval nodes; refresh nodes
DMagic1/KSP_Contract_Window
Source/ContractsWindow.Unity/Unity/CW_IntervalTypes.cs
Source/ContractsWindow.Unity/Unity/CW_IntervalTypes.cs
using System; using System.Collections.Generic; using ContractsWindow.Unity.Interfaces; using UnityEngine; using UnityEngine.UI; namespace ContractsWindow.Unity.Unity { public class CW_IntervalTypes : MonoBehaviour { [SerializeField] private Text IntervalType = null; [SerializeField] private GameObject Inte...
using System; using System.Collections.Generic; using ContractsWindow.Unity.Interfaces; using UnityEngine; using UnityEngine.UI; namespace ContractsWindow.Unity.Unity { public class CW_IntervalTypes : MonoBehaviour { [SerializeField] private Text IntervalType = null; [SerializeField] private GameObject Inte...
mit
C#
f7a8ad3b59b7271b20c12e2f2423e2deef52e511
Refactor Add Doubles Operation to use GetValues and CloneWithValues
ajlopez/TensorSharp
Src/TensorSharp/Operations/AddDoubleDoubleOperation.cs
Src/TensorSharp/Operations/AddDoubleDoubleOperation.cs
namespace TensorSharp.Operations { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AddDoubleDoubleOperation : IBinaryOperation<double, double, double> { public Tensor<double> Evaluate(Tensor<double> tensor1, Tensor<double> ten...
namespace TensorSharp.Operations { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AddDoubleDoubleOperation : IBinaryOperation<double, double, double> { public Tensor<double> Evaluate(Tensor<double> tensor1, Tensor<double> ten...
mit
C#
f74efa17cc264e88be434b0b3b903e63bc56c316
remove unused code
tparnell8/XamarinAdmobTutorial,tparnell8/XamarinAdmobTutorial,tparnell8/XamarinAdmobTutorial
admobDemo.AndroidPhone/ad/AdWrapper.cs
admobDemo.AndroidPhone/ad/AdWrapper.cs
// Author: Tommy James Parnell // notes: Tutorial to show how admob works in xamarin // email: tparnell8@gmail.com, parnell.tommy@hotmail.com using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runt...
// Author: Tommy James Parnell // notes: Tutorial to show how admob works in xamarin // email: tparnell8@gmail.com, parnell.tommy@hotmail.com using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runt...
unlicense
C#
6406f1d06f89e6d7f2675ec8b59f1da6ae93e9eb
Change server port
ukahoot/ukahoot,ukahoot/ukahoot.github.io,ukahoot/ukahoot,ukahoot/ukahoot.github.io,ukahoot/ukahoot.github.io,ukahoot/ukahoot,ukahoot/ukahoot
TokenServer/src/Main.cs
TokenServer/src/Main.cs
using System; using System.Threading; using System.Threading.Tasks; namespace UKahoot { class MainClass { public static string[] Hosts = { "tokenserver.ukahoot.it", "http://tokenserver.ukahoot.it", "https://tokenserver.ukahoot.it", "http://www.tokenserver.ukahoot.it", "https://www.tokenserver.ukahoot...
using System; using System.Threading; using System.Threading.Tasks; namespace UKahoot { class MainClass { public static string[] Hosts = { "tokenserver.ukahoot.it", "http://tokenserver.ukahoot.it", "https://tokenserver.ukahoot.it", "http://www.tokenserver.ukahoot.it", "https://www.tokenserver.ukahoot...
mit
C#
374cd53dc22284e395c54305c4ca418a0a51aff8
Update ExtentionMethods.cs
giorgalis/skroutz.gr
skroutz.gr/Shared/ExtentionMethods.cs
skroutz.gr/Shared/ExtentionMethods.cs
using System; namespace skroutz.gr.Shared { /// <summary> /// Class ExtentionMethods. /// </summary> public static class ExtentionMethods { /// <summary> /// Converts the Unix time to standard date time. /// </summary> /// <param name="unixTime">The unix time to con...
using System; namespace skroutz.gr.Shared { /// <summary> /// Class ExtentionMethods. /// </summary> public static class ExtentionMethods { /// <summary> /// Converts the Unix time to standard date time. /// </summary> /// <param name="unixTime">The unix time to con...
mit
C#
64fa09b7fd364782e1345ffadea44023d61b1640
put semicolon between ConcatenatedScript parts to avoid javascript errors with certain minified files
rolembergfilho/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,volkanceylan...
Serenity.Web/DynamicScript/DynamicScriptTypes/ConcatenatedScript.cs
Serenity.Web/DynamicScript/DynamicScriptTypes/ConcatenatedScript.cs
using System; using System.Collections.Generic; using System.Text; namespace Serenity.Web { public class ConcatenatedScript : DynamicScript { private IEnumerable<Func<string>> scriptParts; public ConcatenatedScript(IEnumerable<Func<string>> scriptParts) { Check...
using System; using System.Collections.Generic; using System.Text; namespace Serenity.Web { public class ConcatenatedScript : DynamicScript { private IEnumerable<Func<string>> scriptParts; public ConcatenatedScript(IEnumerable<Func<string>> scriptParts) { Check...
mit
C#
6ccbd1bcb9fa4c4441a7e624ed36a0a7543906d0
Fix ReSharper error messages
Convey-Compliance/ExcelDataReader,Convey-Compliance/ExcelDataReader
Excel/ExcelReaderFactory.cs
Excel/ExcelReaderFactory.cs
using System; using System.Collections.Generic; using System.Text; using System.IO; namespace Excel { /// <summary> /// The ExcelReader Factory /// </summary> public static class ExcelReaderFactory { /// <summary> /// Creates an instance of <see cref="ExcelBinaryReader"/> /// </summary> /...
using System; using System.Collections.Generic; using System.Text; using System.IO; namespace Excel { /// <summary> /// The ExcelReader Factory /// </summary> public static class ExcelReaderFactory { /// <summary> /// Creates an instance of <see cref="ExcelBinaryReader"/> /// </summary> /...
mit
C#
b988d5c490c18ebb70950cc63f93ca83d61b7539
Fix warnings
NickRusinov/CodeContracts.Fody
TestFoundations/TestFoundations.UnitTests/ConcreteClassWithField.cs
TestFoundations/TestFoundations.UnitTests/ConcreteClassWithField.cs
using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestFoundations.UnitTests { public class ConcreteClassWithField { private readonly Field field = new Field(); [CustomContract] ...
using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestFoundations.UnitTests { public class ConcreteClassWithField { private readonly Field field; [CustomContract] private re...
mit
C#
f36d917c99ee062d2a33e628af3054d0f8c94ce3
correct main form variable reference
KN4CK3R/ReClass.NET,KN4CK3R/ReClass.NET,KN4CK3R/ReClass.NET,jesterret/ReClass.NET,jesterret/ReClass.NET,jesterret/ReClass.NET
Program.cs
Program.cs
using System; using System.Globalization; using System.Windows.Forms; using Microsoft.SqlServer.MessageBox; using ReClassNET.Core; using ReClassNET.Forms; using ReClassNET.Logger; using ReClassNET.Native; using ReClassNET.UI; namespace ReClassNET { static class Program { public static Settings Settings { get; pri...
using System; using System.Globalization; using System.Windows.Forms; using Microsoft.SqlServer.MessageBox; using ReClassNET.Core; using ReClassNET.Forms; using ReClassNET.Logger; using ReClassNET.Native; using ReClassNET.UI; namespace ReClassNET { static class Program { public static Settings Settings { get; pri...
mit
C#
5de3b59c1435f14014a3e8866ec2cdc092a330d6
add meta robots noindex
sbaechler/cafe-international,sbaechler/cafe-international
Views/Home/Index.cshtml
Views/Home/Index.cshtml
@using System.Web.Optimization @{ Layout = null; } <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <link href='http://fonts.googleapis.com/css?family=Overlock:400,700|Lobster+Two:700italic' rel='stylesheet' type='text/css'> <l...
@using System.Web.Optimization @{ Layout = null; } <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <link href='http://fonts.googleapis.com/css?family=Overlock:400,700|Lobster+Two:700italic' rel='stylesheet' type='text/css'> <l...
agpl-3.0
C#
558c0c440abd1bbb63a7324d22602941b84cf8fd
Update Label
philphilphil/WikiCore,philphilphil/WikiCore,philphilphil/WikiCore
Views/Misc/Index.cshtml
Views/Misc/Index.cshtml
@model WikiCore.Models.MiscModel @{ ViewData["Title"] = "Miscellaneous"; } <h2>Tags</h2> <h4>Remove</h4> <form method="post" asp-action="DeleteTag" asp-controller="Misc"> <div class="ui labeled input"> <div class="ui label"> Tag </div> <select asp-for="TagId" asp-items="@Model.TagsSelect" class="ui dro...
@model WikiCore.Models.MiscModel @{ ViewData["Title"] = "Miscellaneous"; } <h2>Tags</h2> <h4>Remove</h4> <form method="post" asp-action="DeleteTag" asp-controller="Misc"> <div class="ui labeled input"> <div class="ui label"> Tag </div> <select asp-for="TagId" asp-items="@Model.TagsSelect" class="ui dro...
mit
C#
96b4876793448290d4a12a30a07aae2d1df4828f
Remove unnecessary try-catch in Worker template
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/Worker.cs
src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/Worker.cs
namespace Company.Application1; public class Worker : BackgroundService { private readonly ILogger<Worker> _logger; public Worker(ILogger<Worker> logger) { _logger = logger; } protected override async Task ExecuteAsync(CancellationToken stoppingToken) { while (!stoppingToken.I...
namespace Company.Application1; public class Worker : BackgroundService { private readonly ILogger<Worker> _logger; public Worker(ILogger<Worker> logger) { _logger = logger; } protected override async Task ExecuteAsync(CancellationToken stoppingToken) { while (!stoppingToken.I...
apache-2.0
C#
1e4948ce4df60f1407926675952c955a49b30c2e
Add full description for a method
pardeike/Harmony
Harmony/Tools/Extensions.cs
Harmony/Tools/Extensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Harmony { public static class GeneralExtensions { public static string Description(this Type[] parameters) { var types = parameters.Select(p => p == null ? "null" : p.FullName); return "(" + types.Aggregat...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Harmony { public static class GeneralExtensions { public static string Description(this Type[] parameters) { var types = parameters.Select(p => p == null ? "null" : p.FullName); return "(" + types.Aggrega...
mit
C#
50126af061e4f9cb23034aa47c72730fb81da202
Update CommonAssemblyInfo.cs
AzureAD/microsoft-authentication-library-for-dotnet,LucVK/azure-activedirectory-library-for-dotnet,bjartebore/azure-activedirectory-library-for-dotnet,AndyZhao/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/azure-a...
src/ADAL.Common/CommonAssemblyInfo.cs
src/ADAL.Common/CommonAssemblyInfo.cs
//---------------------------------------------------------------------- // Copyright (c) Microsoft Open Technologies, Inc. // All Rights Reserved // Apache License 2.0 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ob...
//---------------------------------------------------------------------- // Copyright (c) Microsoft Open Technologies, Inc. // All Rights Reserved // Apache License 2.0 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ob...
mit
C#
adce870eda221c01329c6243248a35a91b0ee6ca
Fix bug in displaying zoom control on Linux (BL-8360)
StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBl...
src/BloomExe/Workspace/ZoomControl.cs
src/BloomExe/Workspace/ZoomControl.cs
using System; using System.Drawing; using System.Windows.Forms; namespace Bloom.Workspace { public partial class ZoomControl : UserControl { public const int kMinimumZoom = 30; // 30% - 300% matches FireFox public const int kMaximumZoom = 300; private int _zoom; public ZoomControl() { InitializeCompo...
using System; using System.Drawing; using System.Windows.Forms; namespace Bloom.Workspace { public partial class ZoomControl : UserControl { public const int kMinimumZoom = 30; // 30% - 300% matches FireFox public const int kMaximumZoom = 300; private int _zoom; public ZoomControl() { InitializeCompo...
mit
C#
33163aeb4db80455ca3d1e40e01958167c140c22
remove time messure
juwens/yamaha-vtuner-server-aspnet-core
src/Controllers/StationsController.cs
src/Controllers/StationsController.cs
using System; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using VtnrNetRadioServer.Contract; using VtnrNetRadioServer.Repositories; namespace VtnrNetRadioServer.Controllers { /* * Used for UserInterface to CRUD ...
using System; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using VtnrNetRadioServer.Contract; using VtnrNetRadioServer.Repositories; namespace VtnrNetRadioServer.Controllers { /* * Used for UserInterface to CRUD ...
apache-2.0
C#
17a38a87ce3558dcdeec62a55a55227820a5a17f
add SqlEmiterTest
sdcb/sdmap
sdmap/test/sdmap.ext.test/SmokeTest.cs
sdmap/test/sdmap.ext.test/SmokeTest.cs
using sdmap.Extensions; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Xunit; namespace sdmap.ext.test { public class SmokeTest { private class SimpleSqlEmiter : ISqlEmiter { ...
using sdmap.Extensions; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Xunit; namespace sdmap.ext.test { public class SmokeTest { [Fact] public void WatchSmoke() { ...
mit
C#
06deb65ed844fb59fde48c0a8de1a5260748ba48
comment about flaw
nerai/CMenu
src/ExampleMenu/Procedures/MI_Call.cs
src/ExampleMenu/Procedures/MI_Call.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using ConsoleMenu; namespace ExampleMenu { public class MI_Call : CMenuItem { private readonly CMenu _Menu; private readonly ProcManager _Mgr; public MI_Call (CMenu menu, ProcManager mgr) : base ("call")...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using ConsoleMenu; namespace ExampleMenu { public class MI_Call : CMenuItem { private readonly CMenu _Menu; private readonly ProcManager _Mgr; public MI_Call (CMenu menu, ProcManager mgr) : base ("call")...
mit
C#
517906529caf351ccd158cca1547fa566d8eabc5
Improve throughput
martincostello/project-euler
src/ProjectEuler/Puzzles/Puzzle012.cs
src/ProjectEuler/Puzzles/Puzzle012.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System; /// <summary> /// A class representing the solution to <c>https://pro...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System; using System.Linq; /// <summary> /// A class representing the sol...
apache-2.0
C#
cb60f4e948698dad985255aee1892d748e858427
Remove copy
martincostello/project-euler
src/ProjectEuler/Puzzles/Puzzle031.cs
src/ProjectEuler/Puzzles/Puzzle031.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System; /// <summary> /// A class representing the solution to <c>https://pro...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System; using System.Linq; /// <summary> /// A class representing the sol...
apache-2.0
C#
e7602e2b8299a22605eb66ffa58452067510ea5c
Use fixture path
AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderS...
src/R/Core/Test/Utility/ParseFiles.cs
src/R/Core/Test/Utility/ParseFiles.cs
using System; using System.Diagnostics.CodeAnalysis; using System.IO; using FluentAssertions; using Microsoft.Common.Core.Test.Utility; using Microsoft.R.Core.AST; using Microsoft.R.Core.Parser; using Microsoft.R.Core.Utility; namespace Microsoft.R.Core.Test.Utility { [ExcludeFromCodeCoverage] public class Pa...
using System; using System.Diagnostics.CodeAnalysis; using System.IO; using FluentAssertions; using Microsoft.Common.Core.Test.Utility; using Microsoft.R.Core.AST; using Microsoft.R.Core.Parser; using Microsoft.R.Core.Utility; namespace Microsoft.R.Core.Test.Utility { [ExcludeFromCodeCoverage] public class Pa...
mit
C#
6cd0d3f8d3876e2a2fca2cd7c56168097813570f
Add Users and Roles to DiplomContext
denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs
src/Diploms.DataLayer/DiplomContext.cs
src/Diploms.DataLayer/DiplomContext.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Diploms.Core; namespace Diploms.DataLayer { public class DiplomContext : DbContext { public DbSet<Department> Departments { get; set; } public DbSet<User>...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Diploms.Core; namespace Diploms.DataLayer { public class DiplomContext : DbContext { public DbSet<Department> Departments { get; set; } public Dip...
mit
C#
54f31ef6d2e36149fbb591f5b90c58227851885d
add Runtime Serialization lib
varj888/amos-ss17-projSivantos
raspberry-uc-system/RaspberryUserControlSystem/RaspberryBackend/Request.cs
raspberry-uc-system/RaspberryUserControlSystem/RaspberryBackend/Request.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.Serialization; namespace HelloWorld { /// <summary> /// Unit of transfer by the RequestConnClient Class /// is only as a container for the two variables methodName and p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HelloWorld { /// <summary> /// Unit of transfer by the RequestConnClient Class /// is only as a container for the two variables methodName and parameter /// note: this class us...
apache-2.0
C#
6e6f8704679fc037a5b337f94246607fbc6acd0c
Check if data dir is present in the PE.
Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver
src/AsmResolver.PE/PEImageInternal.cs
src/AsmResolver.PE/PEImageInternal.cs
// AsmResolver - Executable file format inspection library // Copyright (C) 2016-2019 Washi // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3.0 of the License, o...
// AsmResolver - Executable file format inspection library // Copyright (C) 2016-2019 Washi // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 3.0 of the License, o...
mit
C#
d38b0a685f3479915238f5055f1a052e809a511f
add client secret prop to OAuthConfig
solomobro/Instagram,solomobro/Instagram,solomobro/Instagram
src/Solomobro.Instagram/OAuthConfig.cs
src/Solomobro.Instagram/OAuthConfig.cs
using System; using System.Collections.Generic; namespace Solomobro.Instagram { /// <summary> /// Defines the configuration parameters required to authorize your app /// </summary> public class OAuthConfig { private readonly HashSet<string> _scopes = new HashSet<string>(StringComparer.Ordi...
using System; using System.Collections.Generic; namespace Solomobro.Instagram { /// <summary> /// Defines the configuration parameters required to authorize your app /// </summary> public class OAuthConfig { private readonly HashSet<string> _scopes = new HashSet<string>(StringComparer.Ordi...
apache-2.0
C#
d82f5727e108ba443d33d4df646a29a0bc91e538
Update version.
NForza/transit-csharp
src/Transit/Properties/AssemblyInfo.cs
src/Transit/Properties/AssemblyInfo.cs
using System.Resources; 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. [ass...
using System.Resources; 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. [ass...
apache-2.0
C#
75ca181231352565ba160b79968e72c2cb551318
write API key to Console
ericnewton76/gmaps-api-net
src/Google.Maps.Test/SigningHelper.cs
src/Google.Maps.Test/SigningHelper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Google.Maps { public static class SigningHelper { static SigningHelper() { //during testing, get api key from the GOOGLE_API_KEY environment variable, to enable more flexibility and t...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Google.Maps { public static class SigningHelper { static SigningHelper() { //during testing, get api key from the GOOGLE_API_KEY environment variable, to enable more flexibility and t...
apache-2.0
C#
3addd8488aa494298e181f140b2356376e18eb13
add ConnectedComponentsAlgorithmsTypes' new values
shimat/opencvsharp,shimat/opencvsharp,shimat/opencvsharp
src/OpenCvSharp/Modules/imgproc/Enum/ConnectedComponentsAlgorithmsTypes.cs
src/OpenCvSharp/Modules/imgproc/Enum/ConnectedComponentsAlgorithmsTypes.cs
// ReSharper disable IdentifierTypo // ReSharper disable InconsistentNaming namespace OpenCvSharp { /// <summary> /// connected components algorithm /// </summary> public enum ConnectedComponentsAlgorithmsTypes { /// <summary> /// SAUF algorithm for 8-way connectivity, SAUF algorit...
// ReSharper disable IdentifierTypo // ReSharper disable InconsistentNaming namespace OpenCvSharp { /// <summary> /// connected components algorithm /// </summary> public enum ConnectedComponentsAlgorithmsTypes { /// <summary> /// SAUF algorithm for 8-way connectivity, SAUF algorit...
apache-2.0
C#
d0fa4c2a7b97e8dc1f8ef5a4649847b2a230ceca
Add description to docstring
ilovepi/Compiler,ilovepi/Compiler
compiler/middleend/ir/DominatorNode.cs
compiler/middleend/ir/DominatorNode.cs
using System; using System.Collections.Generic; using compiler.middleend.ir; namespace compiler { class DominatorNode { /// <summary> /// The basic block of the node /// </summary> public BasicBlock BB { get; set; } /// <summary> /// The parent of this node ...
using System; using System.Collections.Generic; using compiler.middleend.ir; namespace compiler { class DominatorNode { /// <summary> /// The basic block of the node /// </summary> public BasicBlock BB { get; set; } /// <summary> /// The parent of this node ...
mit
C#
d51f253aff31e63f49ae56cd86fd5a3d2cfadac7
Fix DebugLog formatting
SharpeRAD/Cake.WebDeploy,SharpeRAD/Cake.WebDeploy,SharpeRAD/Cake.WebDeploy
src/WebDeploy.Tests/Utils/DebugLog.cs
src/WebDeploy.Tests/Utils/DebugLog.cs
#region Using Statements using System.Diagnostics; using System.Collections.Generic; using Cake.Core.Diagnostics; #endregion namespace Cake.WebDeploy.Tests { /// <summary> /// A log that outputs messages to debug /// </summary> internal class DebugLog : ICakeLog { /// <summa...
#region Using Statements using System.Diagnostics; using System.Collections.Generic; using Cake.Core.Diagnostics; #endregion namespace Cake.WebDeploy.Tests { /// <summary> /// A log that outputs messages to debug /// </summary> internal class DebugLog : ICakeLog { /// <summa...
mit
C#
a51e5a1b0d08f5eb619f0c4437250054da115904
Extend ZipException as per FxCop suggestion
McNeight/SharpZipLib
src/Zip/ZipException.cs
src/Zip/ZipException.cs
// ZipException.cs // // Copyright (C) 2001 Mike Krueger // // This file was translated from java, it was part of the GNU Classpath // Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General P...
// ZipException.cs // // Copyright (C) 2001 Mike Krueger // // This file was translated from java, it was part of the GNU Classpath // Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General P...
mit
C#
15bf66e0ddbf8e4af45f8337124c49d09718bd38
Change to array
nunit/nunit,mjedrzejek/nunit,mjedrzejek/nunit,nunit/nunit
src/NUnitFramework/framework/Constraints/Comparers/ComparisonState.cs
src/NUnitFramework/framework/Constraints/Comparers/ComparisonState.cs
using System.Collections.Generic; namespace NUnit.Framework.Constraints.Comparers { internal struct ComparisonState { /// <summary> /// Flag indicating whether or not this is the top level comparison. /// </summary> public readonly bool TopLevelComparison; /// <summary>...
using System.Collections.Generic; namespace NUnit.Framework.Constraints.Comparers { internal struct ComparisonState { /// <summary> /// Flag indicating whether or not this is the top level comparison. /// </summary> public readonly bool TopLevelComparison; /// <summary>...
mit
C#
42477f5a34b7bb813450a6ebaba20386eafde14c
Remove unused using
ludwigjossieaux/pickles,picklesdoc/pickles,ludwigjossieaux/pickles,picklesdoc/pickles,dirkrombauts/pickles,ludwigjossieaux/pickles,dirkrombauts/pickles,picklesdoc/pickles,picklesdoc/pickles,magicmonty/pickles,magicmonty/pickles,magicmonty/pickles,magicmonty/pickles,dirkrombauts/pickles,dirkrombauts/pickles
src/Pickles/Pickles.TestFrameworks/MsTest/MsTestSingleResultLoader.cs
src/Pickles/Pickles.TestFrameworks/MsTest/MsTestSingleResultLoader.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="MsTestSingleResultLoader.cs" company="PicklesDoc"> // Copyright 2011 Jeffrey Cameron // Copyright 2012-present PicklesDoc team and community contributors // // // Licensed un...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="MsTestSingleResultLoader.cs" company="PicklesDoc"> // Copyright 2011 Jeffrey Cameron // Copyright 2012-present PicklesDoc team and community contributors // // // Licensed un...
apache-2.0
C#
04471959736ebf8f16d4c42317a33415dc200554
Update FSharpCompletionOptions.cs
agocke/roslyn,mgoertz-msft/roslyn,physhi/roslyn,ErikSchierboom/roslyn,nguerrera/roslyn,shyamnamboodiripad/roslyn,diryboy/roslyn,AlekseyTs/roslyn,shyamnamboodiripad/roslyn,heejaechang/roslyn,sharwell/roslyn,KirillOsenkov/roslyn,CyrusNajmabadi/roslyn,jmarolf/roslyn,weltkante/roslyn,sharwell/roslyn,bartdesmet/roslyn,aelij...
src/Tools/ExternalAccess/FSharp/Completion/FSharpCompletionOptions.cs
src/Tools/ExternalAccess/FSharp/Completion/FSharpCompletionOptions.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.Options; namespace Microsoft.CodeAnalysis.ExternalAccess.FSharp.Completion { internal static class FSharpCompletionOptions ...
// 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.Options; namespace Microsoft.CodeAnalysis.ExternalAccess.FSharp.Completion { internal static class FSharpCompletionOptions ...
mit
C#
ef4ee8eca8c3dc923e68e6d8faee511ca179a25e
update ForwardedTypes.cs
stanley-cheung/grpc,pszemus/grpc,ejona86/grpc,stanley-cheung/grpc,donnadionne/grpc,grpc/grpc,donnadionne/grpc,vjpai/grpc,donnadionne/grpc,sreecha/grpc,jboeuf/grpc,jtattermusch/grpc,stanley-cheung/grpc,jtattermusch/grpc,sreecha/grpc,firebase/grpc,jboeuf/grpc,stanley-cheung/grpc,jboeuf/grpc,ejona86/grpc,jtattermusch/grpc...
src/csharp/Grpc.Core/ForwardedTypes.cs
src/csharp/Grpc.Core/ForwardedTypes.cs
#region Copyright notice and license // Copyright 2019 The gRPC Authors // // 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 ...
#region Copyright notice and license // Copyright 2019 The gRPC Authors // // 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 ...
apache-2.0
C#
f1fc8dda89cbe3af9d7d7bf6798c44452d1c8529
Introduce per-coin-config miner parameters
IWBWbiz/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner,nwoolls/MultiMiner
MultiMiner.Engine/Configuration/CoinConfiguration.cs
MultiMiner.Engine/Configuration/CoinConfiguration.cs
using MultiMiner.Xgminer; using System.Collections.Generic; namespace MultiMiner.Engine.Configuration { public class CoinConfiguration { public CoinConfiguration() { this.Pools = new List<MiningPool>(); } public CryptoCoin Coin { get; set; } public List<Min...
using MultiMiner.Xgminer; using System.Collections.Generic; namespace MultiMiner.Engine.Configuration { public class CoinConfiguration { public CoinConfiguration() { this.Pools = new List<MiningPool>(); } public CryptoCoin Coin { get; set; } public List<Min...
mit
C#
6110fe9c365304c1358c1752af09e8cfee60632a
add more consul endpoint acceptance tests
Pondidum/OctopusStore,Pondidum/OctopusStore
OctopusStore.Tests/Acceptance/ConsulEndpointTests.cs
OctopusStore.Tests/Acceptance/ConsulEndpointTests.cs
using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Web.Http; using Microsoft.Owin.Testing; using Newtonsoft.Json; using OctopusStore.Consul; using Owin; using Shouldly; using Xunit; namespace OctopusStore.Tests { public class ConsulEndpointTests : IDisposable { p...
using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Web.Http; using Microsoft.Owin.Testing; using Newtonsoft.Json; using OctopusStore.Consul; using Owin; using Shouldly; using Xunit; namespace OctopusStore.Tests { public class ConsulEndpointTests : IDisposable { p...
lgpl-2.1
C#
6b8377ce0acc61174fa72fb988d1971eda7f2436
fix redundant code
eclaus/docs.particular.net,WojcikMike/docs.particular.net
Snippets/Snippets_5/Features/FeatureConfiguration.cs
Snippets/Snippets_5/Features/FeatureConfiguration.cs
// ReSharper disable UnusedParameter.Local namespace Snippets5.Features { using System; using NServiceBus; using NServiceBus.Config; using NServiceBus.Features; using NServiceBus.Pipeline; class SecondLevelRetries : Feature { #region FeatureConfiguration public SecondLevelRetries(...
namespace Snippets5.Features { using System; using NServiceBus; using NServiceBus.Config; using NServiceBus.Features; using NServiceBus.Pipeline; class SecondLevelRetries : Feature { #region FeatureConfiguration public SecondLevelRetries() { EnableByDefault(); ...
apache-2.0
C#
92213141e5e306507a4c2979acce4debb88a2b44
add eq
autumn009/TanoCSharpSamples
chap36/PatternMatching/PatternMatching/Program.cs
chap36/PatternMatching/PatternMatching/Program.cs
using System; using System.Linq; class Program { static bool IsLetterOld(char c) => c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'; static bool IsLetterNew(char c) => c is >= 'a' and <= 'z' or >= 'A' and <= 'Z'; static void Main() { // and/or sample for (int i = 0; i < 0xff; i++) Console...
using System; using System.Linq; class Program { static bool IsLetterOld(char c) => c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'; static bool IsLetterNew(char c) => c is >= 'a' and <= 'z' or >= 'A' and <= 'Z'; static void Main() { // and/or sample for (int i = 0; i < 0xff; i++) Console...
mit
C#
f258da3a8ba6758d8eb3aadc52fa4547e09a9577
Allow users to provide an implementation of the ILibiMobileDeviceAPI.
libimobiledevice-win32/imobiledevice-net,libimobiledevice-win32/imobiledevice-net
iMobileDevice-net/Utf8Marshal.cs
iMobileDevice-net/Utf8Marshal.cs
using System; using System.Runtime.InteropServices; using System.Text; namespace iMobileDevice { /// <summary> /// Provides marshalling capabilities for UTF-8 strings. /// </summary> public static class Utf8Marshal { /// <summary> /// Converts a pointer to an UTF-8 string. ...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace iMobileDevice { public static class Utf8Marshal { public static string PtrToStringUtf8(IntPtr value) { if (value == IntPtr.Zero) { ...
lgpl-2.1
C#
4baf0b776a01e085040122053c79a6de51e9ab68
comment fix - not to treat field as method
Aprogiena/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,mikedennis/Str...
Stratis.Bitcoin/Builder/Feature/FeatureCollection.cs
Stratis.Bitcoin/Builder/Feature/FeatureCollection.cs
using System; using System.Collections.Generic; using System.Linq; using Stratis.Bitcoin.Utilities; using System.Globalization; namespace Stratis.Bitcoin.Builder.Feature { /// <summary> /// Defines methods for collection of features of the FullNode. /// </summary> public interface IFeatureCollection ...
using System; using System.Collections.Generic; using System.Linq; using Stratis.Bitcoin.Utilities; using System.Globalization; namespace Stratis.Bitcoin.Builder.Feature { /// <summary> /// Defines methods for collection of features of the FullNode. /// </summary> public interface IFeatureCollection ...
mit
C#
ce7e1c699d9d56492690f9ad8bc69ccd4706fe42
Remove Obselete ViewModel Property for SendGrid Password
tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS
Portal.CMS.Web/Areas/Admin/ViewModels/SettingManager/SetupViewModel.cs
Portal.CMS.Web/Areas/Admin/ViewModels/SettingManager/SetupViewModel.cs
using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Portal.CMS.Web.Areas.Admin.ViewModels.SettingManager { public class SetupViewModel { [Required] [DisplayName("Website Name")] public string WebsiteName { get; set; } [Required] [Display...
using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Portal.CMS.Web.Areas.Admin.ViewModels.SettingManager { public class SetupViewModel { [Required] [DisplayName("Website Name")] public string WebsiteName { get; set; } [Required] [Display...
mit
C#
b471e55ce8a7f76b9024da00cecf18d25a58edcb
Bump version to 0.9.11
rpaquay/mtsuite
src/core-filesystem/VersionNumber.cs
src/core-filesystem/VersionNumber.cs
// Copyright 2015 Renaud Paquay 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 appl...
// Copyright 2015 Renaud Paquay 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 appl...
apache-2.0
C#
d3006d320d59cd94e9f3bba46698c8eef7bc3000
Build fix
alexandrnikitin/MPMCQueue.NET,alexandrnikitin/MPMCQueue.NET
sandbox/MPMCQueue.NET.SandboxApp/Program.cs
sandbox/MPMCQueue.NET.SandboxApp/Program.cs
using System; using System.Runtime.CompilerServices; namespace MPMCQueue.NET.SandboxApp { class Program { static void Main(string[] args) { var queue = new MPMCQueue<bool>(65536); Wrapper.Enqueue(queue); Wrapper.Dequeue(queue); Console.ReadKey();...
using System; using System.Runtime.CompilerServices; namespace MPMCQueue.NET.SandboxApp { class Program { static void Main(string[] args) { var queue = new Sandbox.V2.MPMCQueue<bool>(65536); Wrapper.Enqueue(queue); Wrapper.Dequeue(queue); Console...
mit
C#
6f78091580f5dc8b6ff89e803d87428985e8866f
Enable Mongo entity auto-create and auto-ID
jorupp/conference-room,jorupp/conference-room,RightpointLabs/conference-room,RightpointLabs/conference-room,RightpointLabs/conference-room,jorupp/conference-room,jorupp/conference-room,RightpointLabs/conference-room
Infrastructure/Persistence/Collections/EntityCollectionDefinition.cs
Infrastructure/Persistence/Collections/EntityCollectionDefinition.cs
using System; using MongoDB.Bson; using MongoDB.Bson.Serialization; using MongoDB.Bson.Serialization.IdGenerators; using MongoDB.Bson.Serialization.Serializers; using MongoDB.Driver; using RightpointLabs.ConferenceRoom.Domain.Models; using RightpointLabs.ConferenceRoom.Infrastructure.Persistence.Models; namespace Rig...
using System; using MongoDB.Bson; using MongoDB.Bson.Serialization; using MongoDB.Bson.Serialization.IdGenerators; using MongoDB.Bson.Serialization.Serializers; using MongoDB.Driver; using RightpointLabs.ConferenceRoom.Domain.Models; using RightpointLabs.ConferenceRoom.Infrastructure.Persistence.Models; namespace Rig...
mit
C#
e13a21b8cc3fc5ff93c9d5832180bc75e86fe605
Test case for issue #4
cityindex-attic/CIAPI.CS,cityindex-attic/CIAPI.CS,cityindex-attic/CIAPI.CS
src/CIAPI.IntegrationTests/Rpc/ErrorHandlingFixture.cs
src/CIAPI.IntegrationTests/Rpc/ErrorHandlingFixture.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CIAPI.Rpc; using CityIndex.JsonClient; using NUnit.Framework; using Client = CIAPI.Rpc.Client; namespace CIAPI.IntegrationTests.Rpc { [TestFixture] public class ErrorHandlingFixture { private static Uri RPC...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CIAPI.Rpc; using CityIndex.JsonClient; using NUnit.Framework; using Client = CIAPI.Rpc.Client; namespace CIAPI.IntegrationTests.Rpc { [TestFixture] public class ErrorHandlingFixture { [Test] public ...
apache-2.0
C#
e79b2d0f8bdb4b59bf5d1337ecd09cf84407f373
Update NumberFormatting.cs
keith-hall/Extensions,keith-hall/Extensions
src/NumberFormatting.cs
src/NumberFormatting.cs
namespace HallLibrary.Extensions { public static class NumberFormatting { private static readonly Regex _number = new Regex(@"^-?\d+(?:" + _defaultDecimalSeparatorForRegex + @"\d+)?$"); // TODO: replace dot with decimal separator from current culture private static readonly Regex _thousands = new Regex(@"(?<=\d)(...
namespace HallLibrary.Extensions { public static class NumberFormatting { private static readonly Regex _number = new Regex(@"^-?\d+(?:" + _defaultDecimalSeparatorForRegex + @"\d+)?$"); // TODO: replace dot with decimal separator from current culture private static readonly Regex _thousands = new Regex(@"(?<=\d)(...
apache-2.0
C#
6b51a0d5349fd6b5f75ae2d0beaad9811b811e19
Add using
dotnet/roslyn-analyzers,dotnet/roslyn-analyzers
src/PublicApiAnalyzers/Core/Analyzers/PublicApiFile.cs
src/PublicApiAnalyzers/Core/Analyzers/PublicApiFile.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. using System; using System.IO; namespace Microsoft.CodeAnalysis.PublicApiAnalyzers { public readonly struct PublicApiFile { public PublicApiFile(string path...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. using System; namespace Microsoft.CodeAnalysis.PublicApiAnalyzers { public readonly struct PublicApiFile { public PublicApiFile(string path) { ...
mit
C#
57094af99630c83e0322ed384c143e8816409cbc
stop installation if one task fails
Sitecore/Sitecore-Instance-Manager
src/SIM.Pipelines/Install/RunSitecoreTasksProcessor.cs
src/SIM.Pipelines/Install/RunSitecoreTasksProcessor.cs
using SIM.Pipelines.Processors; using SIM.Sitecore9Installer; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SIM.Pipelines.Install { public class RunSitecoreTasksProcessor : ProcessorHive { public override IEnumerable<Processor> Cr...
using SIM.Pipelines.Processors; using SIM.Sitecore9Installer; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SIM.Pipelines.Install { public class RunSitecoreTasksProcessor : ProcessorHive { public override IEnumerable<Processor> Cr...
mit
C#
1983feb356cda3f07da93dcf8c1d9f04b4f18a0f
fix Upgrade_20210414_SimplifyQueryTokenString
signumsoftware/framework,signumsoftware/framework
Signum.Upgrade/Upgrades/Upgrade_20210414_SimplifyQueryTokenString.cs
Signum.Upgrade/Upgrades/Upgrade_20210414_SimplifyQueryTokenString.cs
using Signum.Utilities; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Signum.Upgrade.Upgrades { class Upgrade_20210414_Simplify...
using Signum.Utilities; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Signum.Upgrade.Upgrades { class Upgrade_20210414_Simplify...
mit
C#
8e88d0e35e34f7956a32139f3758fb9f989cbc3c
Fix #465 - Add support for object values to have layouts
sorenhl/Glimpse,Glimpse/Glimpse,Glimpse/Glimpse,elkingtonmcb/Glimpse,dudzon/Glimpse,Glimpse/Glimpse,codevlabs/Glimpse,paynecrl97/Glimpse,codevlabs/Glimpse,codevlabs/Glimpse,elkingtonmcb/Glimpse,rho24/Glimpse,paynecrl97/Glimpse,SusanaL/Glimpse,sorenhl/Glimpse,dudzon/Glimpse,dudzon/Glimpse,gabrielweyer/Glimpse,gabrielwey...
source/Glimpse.Core/Tab/Assist/TabLayout.cs
source/Glimpse.Core/Tab/Assist/TabLayout.cs
using System; using System.Collections.Generic; using System.Linq; namespace Glimpse.Core.Tab.Assist { public class TabLayout : ITabBuild { private readonly List<TabLayoutRow> rows = new List<TabLayoutRow>(); private readonly Dictionary<string, TabLayout> cells = new Dictionary<string, TabLayou...
using System; using System.Collections.Generic; using System.Linq; namespace Glimpse.Core.Tab.Assist { public class TabLayout : ITabBuild { private readonly List<TabLayoutRow> rows = new List<TabLayoutRow>(); private TabLayout() { } public IEnumerable<TabLayoutRow> Row...
apache-2.0
C#
d6a22d7a1a60c341ece9d7880b8b9419253c16b1
Add damage capabilities to the enemy
allmonty/BrokenShield,allmonty/BrokenShield
Assets/Scripts/Enemy/AttackHandler.cs
Assets/Scripts/Enemy/AttackHandler.cs
using UnityEngine; public class AttackHandler : MonoBehaviour { [HideInInspector] public float damage; [HideInInspector] public float duration; [HideInInspector] public BoxCollider hitBox; private float timer = 0f; void Start() { hitBox = gameObject.GetComponent<BoxCollider>(); } void Update() { timer...
using UnityEngine; public class AttackHandler : MonoBehaviour { [HideInInspector] public float damage; [HideInInspector] public float duration; [HideInInspector] public BoxCollider hitBox; private float timer = 0f; void Start() { hitBox = gameObject.GetComponent<BoxCollider>(); } void Update() { timer...
apache-2.0
C#
c6873c38ff98b62a501c83f6dc5883f6f5482c6b
increase minimum game/API versions
Pathoschild/StardewMods
ChestsAnywhere/Framework/Constants.cs
ChestsAnywhere/Framework/Constants.cs
using StardewValley; namespace ChestsAnywhere.Framework { /// <summary>Constant mod values.</summary> internal static class Constant { /********* ** Accessors *********/ /// <summary>The minimum supported version of Stardew Valley.</summary> public const string Mini...
using StardewValley; namespace ChestsAnywhere.Framework { /// <summary>Constant mod values.</summary> internal static class Constant { /********* ** Accessors *********/ /// <summary>The minimum supported version of Stardew Valley.</summary> public const string Mini...
mit
C#
6def7fe471ab59a2dd02d64fb1b2c7642cf72757
Split CheckBox test into two, give better name.
toroso/ruibarbo
tungsten.sampletest/CheckBoxTest.cs
tungsten.sampletest/CheckBoxTest.cs
using NUnit.Framework; using tungsten.core.Elements; using tungsten.core.Search; using tungsten.nunit; namespace tungsten.sampletest { [TestFixture] public class CheckBoxTest : TestBase { [Test] public void CheckBoxIsChecked() { var window = Desktop.FindFir...
using NUnit.Framework; using tungsten.core.Elements; using tungsten.core.Search; using tungsten.nunit; namespace tungsten.sampletest { [TestFixture] public class CheckBoxTest : TestBase { [Test] public void Hupp() { var window = Desktop.FindFirstChild<WpfWi...
apache-2.0
C#
8cb0c213134984e769c4caf8ae0d68982f9a86c0
Remove processed by fody
NServiceBusSqlPersistence/NServiceBus.SqlPersistence
src/SqlPersistence.Tests/ConventionTests.cs
src/SqlPersistence.Tests/ConventionTests.cs
using System; using NServiceBus; using NUnit.Framework; [TestFixture] public class ConventionTests { [Test] public void AssertNonPublicTypesHaveNoNamespace() { foreach (var type in typeof(SqlPersistence).Assembly.GetTypes()) { if (type.IsPublic) { con...
using System; using NServiceBus; using NUnit.Framework; [TestFixture] public class ConventionTests { [Test] public void AssertNonPublicTypesHaveNoNamespace() { foreach (var type in typeof(SqlPersistence).Assembly.GetTypes()) { if (type.IsPublic) { con...
mit
C#
11398a0f910f8872aa984003141af912b615d48e
Revert Strip large data values out of events
exceptionless/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless
src/Exceptionless.Core/Plugins/EventParser/Default/JsonEventParserPlugin.cs
src/Exceptionless.Core/Plugins/EventParser/Default/JsonEventParserPlugin.cs
using System; using System.Collections.Generic; using Exceptionless.Core.Pipeline; using Exceptionless.Core.Extensions; using Exceptionless.Core.Models; using Microsoft.Extensions.Options; using Newtonsoft.Json; namespace Exceptionless.Core.Plugins.EventParser { [Priority(0)] public class JsonEventParserPlugi...
using System; using System.Collections.Generic; using Exceptionless.Core.Pipeline; using Exceptionless.Core.Extensions; using Exceptionless.Core.Models; using Microsoft.Extensions.Options; using Newtonsoft.Json; using System.IO; using Newtonsoft.Json.Linq; using Microsoft.Extensions.Logging; namespace Exceptionless.C...
apache-2.0
C#
001fed5efeedc34de9dfa1f8e4ab972c8be5b25a
Remove suppression
mavasani/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,mavasani/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,KevinRansom/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,dotnet/rosly...
src/ExpressionEvaluator/Core/Source/ResultProvider/Helpers/HashFunctions.cs
src/ExpressionEvaluator/Core/Source/ResultProvider/Helpers/HashFunctions.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis; namespace Roslyn.Utilities { /// <summary> /// Required by <see cref="CaseIn...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using Microsoft.CodeAnalysis; namespace Roslyn.Utilities { #pragma warning disable CS1574 // XM...
mit
C#
6346e879c3c083d3ea4c32ce8ad46423b3bcd44f
check playlist count and selection index at background action too
punker76/simple-music-player
SimpleMusicPlayer/SimpleMusicPlayer/Base/BaseListBox.cs
SimpleMusicPlayer/SimpleMusicPlayer/Base/BaseListBox.cs
using System; using System.Diagnostics; using System.Reactive; using System.Reactive.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Input; using System.Windows.Threading; using ReactiveUI; namespace SimpleMusicPlayer.Base { public class Base...
using System; using System.Diagnostics; using System.Reactive; using System.Reactive.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Input; using System.Windows.Threading; using ReactiveUI; namespace SimpleMusicPlayer.Base { public class Base...
mit
C#
0c192ed3bf50f08a25d6e58e5d56164d82bf3f75
REmove method
jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,KevinRansom/roslyn,KevinRansom/roslyn,eriawan/roslyn,diryboy/roslyn,dotnet/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,physhi/roslyn,CyrusNajmabadi/roslyn,AmadeusW/roslyn,KevinRansom/roslyn,wvdd007/roslyn,wvdd007/roslyn,wvdd007/roslyn,CyrusNajmabadi/roslyn,eriawan/rosl...
src/Tools/ExternalAccess/OmniSharp/Completion/OmniSharpCompletionService.cs
src/Tools/ExternalAccess/OmniSharp/Completion/OmniSharpCompletionService.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnaly...
// 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.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnaly...
mit
C#
244b3975b1a5d7938672cfd1a695da25d7aca350
Clean up attributes in InfoModule.cs
portaljacker/portalbot
src/portalbot/Commands/InfoModule.cs
src/portalbot/Commands/InfoModule.cs
using Discord.Commands; using System.Threading.Tasks; namespace Portalbot.Commands { public class InfoModule : ModuleBase { [Command("ping")] [Summary("pong!")] public async Task Ping() { await ReplyAsync("pong!"); } [Command("say")] [Summar...
using Discord.Commands; using System.Threading.Tasks; namespace Portalbot.Commands { public class InfoModule : ModuleBase { [Command("ping"), Summary("pong!.")] public async Task Ping() { await ReplyAsync("pong!"); } [Command("say"), Summary("Echos a messag...
mit
C#
e4ad2092ac01cff2831339333ca8012cfed1e713
Update the mask check in the Bit() extension method
eightlittlebits/elbsms
elbsms_core/Extensions.cs
elbsms_core/Extensions.cs
namespace elbsms_core { internal static class Extensions { internal static bool Bit(this byte v, int bit) { int mask = 1 << bit; return (v & mask) != 0; } internal static bool Bit(this int v, int bit) { int mask = 1 << bit; ...
namespace elbsms_core { internal static class Extensions { internal static bool Bit(this byte v, int bit) { int mask = 1 << bit; return (v & mask) == mask; } internal static bool Bit(this int v, int bit) { int mask = 1 << bit; ...
mit
C#
6863c0b13b2542a40f4804c3bc3bf54ee8ece9f2
Add .dll suffix to the glue dllimport to make it work on Windows
freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,Forage/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,GStreamer/gstreamer-sharp,Forage/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,GStreamer/gstreamer-sharp,Forage/gstreamer-sharp,GStreamer/gstreamer-s...
gstreamer-sharp/glib-sharp/Thread.cs
gstreamer-sharp/glib-sharp/Thread.cs
// Thread.cs - thread awareness // // Author: Alp Toker <alp@atoker.com> // // Copyright (c) 2002 Alp Toker // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This ...
// Thread.cs - thread awareness // // Author: Alp Toker <alp@atoker.com> // // Copyright (c) 2002 Alp Toker // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foundation. // // This ...
lgpl-2.1
C#
fd119880aae50afd881a8cb0a009e01773f0cc7c
Remove dead wood and tidy up
ceddlyburge/canoe-polo-league-organiser-backend
CanoePoloLeagueOrganiser/OptimalGameOrderWithPragmatisationAndCurtailment.cs
CanoePoloLeagueOrganiser/OptimalGameOrderWithPragmatisationAndCurtailment.cs
using System; using System.Collections.Generic; using static System.Diagnostics.Contracts.Contract; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CanoePoloLeagueOrganiser { public class OptimalGameOrderWithPragmatisationAndCurtailment { IPermutater<Game> Permutater { ge...
using System; using System.Collections.Generic; using static System.Diagnostics.Contracts.Contract; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CanoePoloLeagueOrganiser { public class OptimalGameOrderWithPragmatisationAndCurtailment { IPermutater<Game> Permupotater { ...
mit
C#
fb7b21d75d84a328af1381ab5f0d2f862771dbc0
increment patch version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
f9215bee6bc0a574b53276a9f9747f2edd818c9b
Update InnoSetupProductPackager.cs
vigoo/bari,vigoo/bari,Psychobilly87/bari,Psychobilly87/bari,Psychobilly87/bari,vigoo/bari,vigoo/bari,Psychobilly87/bari
src/innosetup/Bari.Plugins.InnoSetup/cs/Packager/InnoSetupProductPackager.cs
src/innosetup/Bari.Plugins.InnoSetup/cs/Packager/InnoSetupProductPackager.cs
using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using Bari.Core.Commands.Pack; using Bari.Core.Generic; using Bari.Core.Model; using Bari.Plugins.InnoSetup.Tools; namespace Bari.Plugins.InnoSetup.Packager { public class InnoSetupProductPackager: IProductPackager { p...
using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using Bari.Core.Commands.Pack; using Bari.Core.Generic; using Bari.Core.Model; using Bari.Plugins.InnoSetup.Tools; namespace Bari.Plugins.InnoSetup.Packager { public class InnoSetupProductPackager: IProductPackager { p...
apache-2.0
C#
cd54653977e4486452f3cfbb6d81dc78828a7ad5
Add 'Soft' HoverSampleSet variant
NeoAdonis/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu,ppy/osu
osu.Game/Graphics/UserInterface/HoverSampleSet.cs
osu.Game/Graphics/UserInterface/HoverSampleSet.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.ComponentModel; namespace osu.Game.Graphics.UserInterface { public enum HoverSampleSet { [Description("default")] Default, ...
// 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.ComponentModel; namespace osu.Game.Graphics.UserInterface { public enum HoverSampleSet { [Description("default")] Default, ...
mit
C#
fd11346a289e03b0a5f2f1f2cd5d1da3a578fffe
Update button colours
NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,ppy/osu
osu.Game/Overlays/BeatmapListing/FilterTabItem.cs
osu.Game/Overlays/BeatmapListing/FilterTabItem.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Allocation; using osu.Framework.Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; using osu.Framewo...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Allocation; using osu.Framework.Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; using osu.Framewo...
mit
C#
07b27fa7e3a89b888303845c40db6e728b7b42b3
Comment everything
andrew-vant/dragalt
src/DraggableNavball.cs
src/DraggableNavball.cs
using IOUtils = KSP.IO.IOUtils; using NavBall = KSP.UI.Screens.Flight.NavBall; using UnityEngine; using UnityEngine.EventSystems; /* Two classes are needed for DraggableNavball. One is the component that * implements the drag behavior. I can't work out how to make it add itself * to the navball, so a second class (...
using IOUtils = KSP.IO.IOUtils; using NavBall = KSP.UI.Screens.Flight.NavBall; using UnityEngine; using UnityEngine.EventSystems; [KSPAddon(KSPAddon.Startup.Flight, false)] public class NavBallAttacher : MonoBehaviour { void Start() { /* When we speak of dragging the navball, what we really want * is to drag t...
mit
C#
fb268211153e209c9f3b8286ca2cc027771c417b
use verbose log
kreuzhofer/AzureLargeFileUploader
Program.cs
Program.cs
using System; using System.IO; namespace AzureLargeFileUploader { class Program { static int Main(string[] args) { if (args.Length != 4) { Help(); return -1; } var fileToUpload = args[0]; if (!File.Exi...
using System; using System.IO; namespace AzureLargeFileUploader { class Program { static int Main(string[] args) { if (args.Length != 4) { Help(); return -1; } var fileToUpload = args[0]; if (!File.Exi...
mit
C#
686fef04736ef9b827a5ac0a907521dd19937e52
Change IdleTimeout back to int from uint
Azure/amqpnetlite,ChugR/amqpnetlite
src/Net/AmqpSettings.cs
src/Net/AmqpSettings.cs
// ------------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the ""License""); you may not use this // file except in compliance with the License. You may obtain a co...
// ------------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the ""License""); you may not use this // file except in compliance with the License. You may obtain a co...
apache-2.0
C#
2ef5b549ee094c18f2c8c0a5c5001e98b20025cc
Move to .NET Standard - cleanup
prayzzz/SoundCloud.Api
sample/ConsoleApp/Program.cs
sample/ConsoleApp/Program.cs
using System; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using SoundCloud.Api; using SoundCloud.Api.Entities; using SoundCloud.Api.Entities.Enums; using SoundCloud.Api.QueryBuilders; namespace ConsoleApp { internal static class Program { private static async Task Mai...
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using SoundCloud.Api; using SoundCloud.Api.Entities; using SoundCloud.Api.Entities.Enums; using SoundCloud.Api.QueryBuilders; namespace ConsoleApp { internal static class Program { private st...
mit
C#
21deb584328d17853455ab194d2b58cfcfe5cc78
remove seo incentives
reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website
input/_Backers.cshtml
input/_Backers.cshtml
@for (var id = 0; id <= 200; id++) { <a href="https://opencollective.com/reactiveui/backer/@id/website" target="_blank" rel="nofollow"> <img src="//opencollective.com/reactiveui/backer/@id/avatar.svg" /> </a> }
@for (var id = 0; id <= 200; id++) { <a href="https://opencollective.com/reactiveui/backer/@id/website" target="_blank"> <img src="//opencollective.com/reactiveui/backer/@id/avatar.svg" /> </a> }
mit
C#
229d893e41b939f2a18846898166250c0a2eccb0
Add ToString override to Renamer.Rule.
CamTechConsultants/CvsntGitImporter
Renamer.cs
Renamer.cs
/* * John Hall <john.hall@camtechconsultants.com> * Copyright (c) Cambridge Technology Consultants Ltd. All rights reserved. */ using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace CTC.CvsntGitImporter { /// <summary> /// Collection of rename rules to ...
/* * John Hall <john.hall@camtechconsultants.com> * Copyright (c) Cambridge Technology Consultants Ltd. All rights reserved. */ using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace CTC.CvsntGitImporter { /// <summary> /// Collection of rename rules to ...
mit
C#
7692b650b75addfbb3eb735dbb324804d5c8fa85
Update GenericPersister.cs
guilherme-otran/projeto-integrado-2-sem
projeto-integrado-2-sem/Interactors/GenericPersister.cs
projeto-integrado-2-sem/Interactors/GenericPersister.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using projeto_integrado_2_sem.Repositories; using projeto_integrado_2_sem.Validators; using projeto_integrado_2_sem.Models; namespace projeto_integrado_2_sem.Interactors { class GenericPersister<T> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using projeto_integrado_2_sem.Repositories; using projeto_integrado_2_sem.Validators; namespace projeto_integrado_2_sem.Interactors { class GenericPersister<T> where T : IStorable { priv...
mit
C#