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
cae2d7597f31a85746fc6a6e58e707b4f7df6e33
Allow custom layout renderers to use stacktrace
luigiberrettini/NLog,hubo0831/NLog,tetrodoxin/NLog,AqlaSolutions/NLog-Unity3D,FeodorFitsner/NLog,ilya-g/NLog,ajayanandgit/NLog,ilya-g/NLog,rajeshgande/NLog,RichiCoder1/NLog,vladikk/NLog,AndreGleichner/NLog,michaeljbaird/NLog,UgurAldanmaz/NLog,thomkinson/NLog,vladikk/NLog,vladikk/NLog,BrutalCode/NLog,rajk987/NLog,Martin...
src/NLog/Internal/IUsesStackTrace.cs
src/NLog/Internal/IUsesStackTrace.cs
// // Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net> // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of source code must retain the above c...
// // Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net> // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of source code must retain the above c...
bsd-3-clause
C#
1a98f2bf71dcbf8d2c8b57980c90604529bdd4ce
Improve ABI to work better on x64 (values seems better off passed by value instead of byval*).
xen2/SharpLang,xen2/SharpLang,xen2/SharpLang,xen2/SharpLang,xen2/SharpLang
src/SharpLang.Compiler/DefaultABI.cs
src/SharpLang.Compiler/DefaultABI.cs
using SharpLLVM; namespace SharpLang.CompilerServices { class DefaultABI : IABI { private readonly ContextRef context; private readonly TargetDataRef targetData; private readonly int intPtrSize; public DefaultABI(ContextRef context, TargetDataRef targetData) { ...
using SharpLLVM; namespace SharpLang.CompilerServices { class DefaultABI : IABI { private readonly ContextRef context; private readonly TargetDataRef targetData; private readonly int intPtrSize; public DefaultABI(ContextRef context, TargetDataRef targetData) { ...
bsd-2-clause
C#
1dac53bc55fc11e8627da12d5de15a850e08b8b0
Fix inspection error
NServiceBusSqlPersistence/NServiceBus.SqlPersistence
src/SqlPersistence/ScriptLocation.cs
src/SqlPersistence/ScriptLocation.cs
using System; using System.IO; using System.Reflection; using NServiceBus; using NServiceBus.Settings; static class ScriptLocation { public static string FindScriptDirectory(ReadOnlySettings settings) { var currentDirectory = GetCurrentDirectory(settings); return Path.Combine(currentDirectory,...
using System; using System.IO; using System.Reflection; using NServiceBus; using NServiceBus.Settings; static class ScriptLocation { public static string FindScriptDirectory(ReadOnlySettings settings) { var currentDirectory = GetCurrentDirectory(settings); return Path.Combine(currentDirectory,...
mit
C#
ac3f4cde66933c521c7c02f717a4d8c4322554c8
Add missing Id property on StripeDispute
stripe/stripe-dotnet,richardlawley/stripe.net,Raganhar/stripe.net,duckwaffle/stripe.net,Raganhar/stripe.net,brentdavid2008/stripe.net
src/Stripe/Entities/StripeDispute.cs
src/Stripe/Entities/StripeDispute.cs
using System; using Newtonsoft.Json; using Stripe.Infrastructure; using Newtonsoft.Json.Linq; using System.Collections.Generic; namespace Stripe { public class StripeDispute : StripeObject { [JsonProperty("object")] public string Object { get; set; } [JsonProperty("livemode")] ...
using System; using Newtonsoft.Json; using Stripe.Infrastructure; using Newtonsoft.Json.Linq; using System.Collections.Generic; namespace Stripe { public class StripeDispute { [JsonProperty("object")] public string Object { get; set; } [JsonProperty("livemode")] public bool Li...
apache-2.0
C#
7b3b74adbb3aee5fdd1ed9f9484b10f20ec9c6e1
Copy code into PathEventsHandler class
bartlomiejwolk/AnimationPathAnimator
PathEventsHandlerComponent/PathEventsHandler.cs
PathEventsHandlerComponent/PathEventsHandler.cs
using ATP.SimplePathAnimator.PathAnimatorComponent; using ATP.SimplePathAnimator.PathEventsComponent; using UnityEngine; namespace ATP.SimplePathAnimator.PathEventsHandlerComponent { [RequireComponent(typeof(PathAnimator))] public class PathEventsHandler : MonoBehaviour { #region FIELDS [Ser...
using UnityEngine; namespace ATP.SimplePathAnimator.PathEventsHandlerComponent { public class PathEventsHandler : MonoBehaviour { } }
mit
C#
215fee90416c47b76fe8cc5e7f53c0645a4aedfb
Put the null db initializer back in there.
realistschuckle/entity-framework-mapping,realistschuckle/entity-framework-mapping
src/Data/DriversEdContext.cs
src/Data/DriversEdContext.cs
using Data.Mappings; using Domain.Entities; using System.Data.Entity; namespace Data { public class DriversEdContext : DbContext { public DriversEdContext() { Database.SetInitializer<DriversEdContext>(null); } public DbSet<Driver> Drivers { get; set; } public DbSet<Cours...
using Data.Mappings; using Domain.Entities; using System.Data.Entity; namespace Data { public class DriversEdContext : DbContext { public DriversEdContext() { // Database.SetInitializer<DriversEdContext>(null); } public DbSet<Driver> Drivers { get; set; } public DbSet<Co...
mit
C#
d9014f5db9f7bd962a310d3c5aa4737b067cec5c
Support multiple optionally element depend to specify a service that must start before this service starts.
oleg-nenashev/winsw,oleg-nenashev/winsw,abbyad/winsw,kohsuke/winsw,abbyad/winsw,brettwooldridge/winsw,winweb/winsw,chenbojian/winsw,adpande/winsw,ganthore/winsw
WmiSchema.cs
WmiSchema.cs
 namespace WMI { public enum ServiceType { KernalDriver = 1, FileSystemDriver = 2, Adapter = 4, RecognizerDriver = 8, OwnProcess = 16, ShareProcess = 32, InteractiveProcess = 256, } public enum ErrorControl { UserNotNo...
 namespace WMI { public enum ServiceType { KernalDriver = 1, FileSystemDriver = 2, Adapter = 4, RecognizerDriver = 8, OwnProcess = 16, ShareProcess = 32, InteractiveProcess = 256, } public enum ErrorControl { UserNotNo...
mit
C#
932db6813959f4dda869898fa56ac0b2f882198c
remove notimplementedexception
aritchie/bluetoothle,aritchie/bluetoothle
Plugin.BluetoothLE/Server/AbstractAdvertiser.cs
Plugin.BluetoothLE/Server/AbstractAdvertiser.cs
using System; namespace Plugin.BluetoothLE.Server { public abstract class AbstractAdvertiser : IAdvertiser { public bool IsStarted { get; protected set; } public AdvertisementData CurrentAdvertisementData { get; protected set; } public virtual void Start(AdvertisementData adData) ...
using System; namespace Plugin.BluetoothLE.Server { public abstract class AbstractAdvertiser : IAdvertiser { public bool IsStarted { get; protected set; } public AdvertisementData CurrentAdvertisementData { get; protected set; } public virtual void Start(AdvertisementData adData) ...
mit
C#
beb4127d0d43055765927fd34067320e114523f0
add slot routing explicitly
projectkudu/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,davidebbo/SimpleWAWS,projectkudu/TryAppService,davidebbo/SimpleWAWS,fashaikh/SimpleWAWS,fashaikh/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,project...
SimpleWAWS/Authentication/GoogleAuthProvider.cs
SimpleWAWS/Authentication/GoogleAuthProvider.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Globalization; using System.Linq; using System.Net; using System.Text; using System.Web; namespace SimpleWAWS.Authentication { public class GoogleAuthProvider : BaseOpenIdConnectAuthProvider { public override stri...
using System; using System.Collections.Generic; using System.Configuration; using System.Globalization; using System.Linq; using System.Net; using System.Text; using System.Web; namespace SimpleWAWS.Authentication { public class GoogleAuthProvider : BaseOpenIdConnectAuthProvider { public override stri...
apache-2.0
C#
5fd6040469d55b81a620bd524dd0d8828da9a5b8
Update IGrid.cs
LANDIS-II-Foundation/Landis-Spatial-Modeling-Library
src/api/IGrid.cs
src/api/IGrid.cs
// Copyright 2004-2006 University of Wisconsin // All rights reserved. // // Contributors: // James Domingo, UW-Madison, Forest Landscape Ecology Lab namespace Landis.SpatialModeling { /// <summary> /// A rectangular grid of cells (elements). /// </summary> public interface IGrid { ...
// Copyright 2004-2006 University of Wisconsin // All rights reserved. // // The copyright holders license this file under the New (3-clause) BSD // License (the "License"). You may not use this file except in // compliance with the License. A copy of the License is available at // // http://www.opensource....
apache-2.0
C#
9bd9fbd397b803ff3dd2bb23c432465b2051e4a5
Fix issue with line endings
rohmano/azure-powershell,devigned/azure-powershell,ClogenyTechnologies/azure-powershell,pankajsn/azure-powershell,devigned/azure-powershell,rohmano/azure-powershell,atpham256/azure-powershell,ClogenyTechnologies/azure-powershell,devigned/azure-powershell,pankajsn/azure-powershell,AzureAutomationTeam/azure-powershell,pa...
src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs
src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Commands/AddAzureApiManagementApiToProduct.cs
// // Copyright (c) Microsoft. 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 app...
// // Copyright (c) Microsoft. 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 app...
apache-2.0
C#
3017e6665f2638737730485ddd3977566d70c437
Update SetUpFixture to kill dotnet process on OneTimeTearDown
atata-framework/atata-kendoui,atata-framework/atata-kendoui
src/Atata.KendoUI.Tests/SetUpFixture.cs
src/Atata.KendoUI.Tests/SetUpFixture.cs
using System; using System.Diagnostics; using System.IO; using System.Net; using System.Threading; using NUnit.Framework; namespace Atata.KendoUI.Tests { [SetUpFixture] public class SetUpFixture { private Process coreRunProcess; [OneTimeSetUp] public void GlobalSetUp() { ...
using System; using System.Diagnostics; using System.IO; using System.Net; using System.Threading; using NUnit.Framework; namespace Atata.KendoUI.Tests { [SetUpFixture] public class SetUpFixture { private Process coreRunProcess; [OneTimeSetUp] public void GlobalSetUp() { ...
apache-2.0
C#
ed26de20d22f1a9ded1b1d92574caa53373768d0
Switch the option on push command to be false by default. This makes it cleaner to turn off publishing. "nuget push -co vs. nuget push -pub-"
mdavid/nuget,mdavid/nuget
src/CommandLine/Commands/PushCommand.cs
src/CommandLine/Commands/PushCommand.cs
namespace NuGet.Commands { using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.IO; using NuGet.Common; [Export(typeof(ICommand))] [Command(typeof(NuGetResources), "push", "PushCommandDescription", AltName="pu", MinArgs = ...
namespace NuGet.Commands { using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.IO; using NuGet.Common; [Export(typeof(ICommand))] [Command(typeof(NuGetResources), "push", "PushCommandDescription", AltName="pu", MinArgs = ...
apache-2.0
C#
6990d45fdcefde8365b5a47dafae569f176c108c
Write the json output in a user readable way
AlexGhiondea/SmugMug.NET
src/SmugMugMetadataRetriever/Program.cs
src/SmugMugMetadataRetriever/Program.cs
// Copyright (c) Alex Ghiondea. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Newtonsoft.Json; using SmugMug.Shared.Descriptors; using SmugMug.v2.Authentication; using SmugMugShared; using SmugMugShared.Extensions; using System; using ...
// Copyright (c) Alex Ghiondea. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Newtonsoft.Json; using SmugMug.Shared.Descriptors; using SmugMug.v2.Authentication; using SmugMugShared; using SmugMugShared.Extensions; using System; using ...
mit
C#
41dbce2c070b0f3cf1fea7ac8f9b278161920f6f
Fix buttons
ZLima12/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,paparony03/osu-framework,default0/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,naoey/osu-framework,paparony03/osu-framework,RedNesto/osu-framework,peppy/osu-framework,default0/os...
osu.Framework/Graphics/UserInterface/Button.cs
osu.Framework/Graphics/UserInterface/Button.cs
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; using osu.Framework.Input; using OpenTK.Graphics; using osu.Framework.Al...
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; using osu.Framework.Input; using OpenTK.Graphics; using osu.Framework.Al...
mit
C#
3de728c3d0fecbb3fa3e9b8019941cb51a3d2867
Update assembly details for NuGet
mwilliamson/java-mammoth
dotnet/Mammoth/Properties/AssemblyInfo.cs
dotnet/Mammoth/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Mammoth")] [assembly: AssemblyDescription("Convert Word documents from docx to simple HTML")] [as...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Mammoth")] [assembly: AssemblyDescription("Convert Word documents from docx to simple HTML")] [as...
bsd-2-clause
C#
ee8459faeb66d322159e4f7520750a2e60ec01c9
Set IndexedAttachments to version 2.0.2.0
ravendb/ravendb.contrib
src/Raven.Bundles.Contrib.IndexedAttachments/Properties/AssemblyInfo.cs
src/Raven.Bundles.Contrib.IndexedAttachments/Properties/AssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Raven.Bundles.Contrib.IndexedAttachments")] [assembly: AssemblyDescription("Plugin for RavenDB that extracts text from attachments so they can be indexed.")] [assembly: AssemblyVersion("2.0.2.0")] [assembly: AssemblyFileVersion("2.0.2.0")]
using System.Reflection; [assembly: AssemblyTitle("Raven.Bundles.Contrib.IndexedAttachments")] [assembly: AssemblyDescription("Plugin for RavenDB that extracts text from attachments so they can be indexed.")] [assembly: AssemblyVersion("2.0.1.0")] [assembly: AssemblyFileVersion("2.0.1.0")]
mit
C#
d9efd8e113552afd2c423c7ef0eccaa2cd7adbc3
Fix doc warnings
canton7/RestEase
src/RestEase/Implementation/RestEaseInterfaceImplementationAttribute.cs
src/RestEase/Implementation/RestEaseInterfaceImplementationAttribute.cs
using System; using System.ComponentModel; namespace RestEase.Implementation { /// <summary> /// Internal type. Do not use. /// </summary> [EditorBrowsable(EditorBrowsableState.Never)] [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public sealed class RestEaseInterfaceImplem...
using System; using System.Collections.Generic; using System.Text; namespace RestEase.Implementation { [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public sealed class RestEaseInterfaceImplementationAttribute : Attribute { public Type InterfaceType { get; } public Type...
mit
C#
05a225deafaccb80499e947a8d538cde13cd9478
Update Variable.cs
irtezasyed007/CSC523-Game-Project
Algorithms/Variable.cs
Algorithms/Variable.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CSC_523_Game { class Variable { private char var; private bool truthValue; public Variable(char c) { var = c; this.truthValue = true; } publi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CSC_523_Game { class Variable { private char var; private bool truthValue; public Variable(char c) { var = c; this.truthValue = true; } publi...
mit
C#
e033947fce812513ac22cc43467134273293d117
add Force to ball on start
gin0606/BlockKuzushi
Assets/Scripts/Ball.cs
Assets/Scripts/Ball.cs
using UnityEngine; using System.Collections; public class Ball : MonoBehaviour { // Use this for initialization void Start () { this.rigidbody2D.AddForce(new Vector2(200, 200)); } // Update is called once per frame void Update () { } }
using UnityEngine; using System.Collections; public class Ball : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
mit
C#
8a162905b0000a3c449efce3caa2114fc8ecce7b
Update StephenOwen.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/StephenOwen.cs
src/Firehose.Web/Authors/StephenOwen.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class StephenOwen : IAmAMicrosoftMVP, IFilterMyBlogPosts { public string FirstName => "Stephen"; pub...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class StephenOwen : IAmAMicrosoftMVP, IFilterMyBlogPosts { public string FirstName => "Stephen"; pub...
mit
C#
af3fc868bdd4c616b4d486a99b9319df0167ebcd
Rename retrys token to retries
Piotrekol/StreamCompanion,Piotrekol/StreamCompanion
plugins/PlaysReplacements/PlaysReplacements.cs
plugins/PlaysReplacements/PlaysReplacements.cs
using StreamCompanionTypes.DataTypes; using StreamCompanionTypes.Enums; using StreamCompanionTypes.Interfaces; using StreamCompanionTypes.Interfaces.Sources; namespace PlaysReplacements { public class PlaysReplacements : IPlugin, ITokensSource { private int Plays, Retries; private Tokens.Token...
using StreamCompanionTypes.DataTypes; using StreamCompanionTypes.Enums; using StreamCompanionTypes.Interfaces; using StreamCompanionTypes.Interfaces.Sources; namespace PlaysReplacements { public class PlaysReplacements : IPlugin, ITokensSource { private int Plays, Retrys; private Tokens.TokenS...
mit
C#
9bfaeaf5dec2a0586a2927a3a19494717cee53b3
Update ExchangeRateRepository.cs
tiksn/TIKSN-Framework
TIKSN.Core/Finance/ForeignExchange/Data/LiteDB/ExchangeRateRepository.cs
TIKSN.Core/Finance/ForeignExchange/Data/LiteDB/ExchangeRateRepository.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using LiteDB; using TIKSN.Data.LiteDB; namespace TIKSN.Finance.ForeignExchange.Data.LiteDB { public class ExchangeRateRepository : LiteDbRepository<ExchangeRateEntity, Guid>, IExchangeRateReposi...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using LiteDB; using TIKSN.Data.LiteDB; namespace TIKSN.Finance.ForeignExchange.Data.LiteDB { public class ExchangeRateRepository : LiteDbRepository<ExchangeRateEntity, Guid>, IExchangeRateReposi...
mit
C#
91740a905780205b039f02b144e5fac89e9153da
Update WindowsRegistryConfigurationSource.cs
tiksn/TIKSN-Framework
TIKSN.Framework.Core/Configuration/WindowsRegistryConfigurationSource.cs
TIKSN.Framework.Core/Configuration/WindowsRegistryConfigurationSource.cs
using Microsoft.Extensions.Configuration; using Microsoft.Win32; namespace TIKSN.Configuration { public class WindowsRegistryConfigurationSource : IConfigurationSource { public RegistryView RegistryView { get; set; } public string RootKey { get; set; } public IConfigurationProvider Bu...
using Microsoft.Extensions.Configuration; using Microsoft.Win32; namespace TIKSN.Configuration { public class WindowsRegistryConfigurationSource : IConfigurationSource { public RegistryView RegistryView { get; set; } public string RootKey { get; set; } public IConfigurationProvider Bu...
mit
C#
902d478c3602bd0a697f4cc006e1e108e8fe772c
Solve build error
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs
Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs
using System.Collections.Generic; using Promact.Trappist.DomainModel.Models.Question; using System.Linq; using Promact.Trappist.DomainModel.DbContext; namespace Promact.Trappist.Repository.Questions { public class QuestionRepository : IQuestionRespository { private readonly TrappistDbContext _dbContex...
using System.Collections.Generic; using Promact.Trappist.DomainModel.Models.Question; using System.Linq; using Promact.Trappist.DomainModel.DbContext; namespace Promact.Trappist.Repository.Questions { public class QuestionRepository : IQuestionRespository { private readonly TrappistDbContext _dbContex...
mit
C#
7ac74328443d50efd42f2d8de0542eebeac8e4f0
Make MetadataResult constructor public (#727)
jskeet/google-cloud-dotnet,chrisdunelm/gcloud-dotnet,googleapis/google-cloud-dotnet,benwulfe/google-cloud-dotnet,iantalarico/google-cloud-dotnet,evildour/google-cloud-dotnet,googleapis/google-cloud-dotnet,benwulfe/google-cloud-dotnet,googleapis/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,iantalarico/google-clou...
apis/Google.Cloud.Metadata.V1/Google.Cloud.Metadata.V1/MetadataResult.cs
apis/Google.Cloud.Metadata.V1/Google.Cloud.Metadata.V1/MetadataResult.cs
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
apache-2.0
C#
966f1f8be630bb85a4e629f8facf068dd365d35e
fix version num in assemblyinfo.cs
nberardi/SQLitePCL.raw,nberardi/SQLitePCL.raw,fluendo/SQLitePCL.raw,shiftkey/SQLitePCL.raw,fluendo/SQLitePCL.raw,AArnott/SQLitePCL.raw,loqu8/SQLitePCL.raw,PureWeen/SQLitePCL.raw,PureWeen/SQLitePCL.raw,fluendo/SQLitePCL.raw,AArnott/SQLitePCL.raw,shiftkey/SQLitePCL.raw,nberardi/SQLitePCL.raw,PureWeen/SQLitePCL.raw,matros...
src/cs/AssemblyInfo.cs
src/cs/AssemblyInfo.cs
using System.Reflection; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("SQLitePCL.raw")] [assembly: AssemblyDescription("A Port...
using System.Reflection; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("SQLitePCL.raw")] [assembly: AssemblyDescription("A Port...
apache-2.0
C#
c09d43cd7ed34e7129ba3dd8b2dbb9832e27a3db
remove unused actions in Values controller
MCeddy/IoT-core
IoT-Core/Controllers/ValuesController.cs
IoT-Core/Controllers/ValuesController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using IoT_Core.Models; namespace IoT_Core.Controllers { [Route("api/[controller]")] public class ValuesController : Controller { private SensorValueContext _dbContext; ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using IoT_Core.Models; namespace IoT_Core.Controllers { [Route("api/[controller]")] public class ValuesController : Controller { private SensorValueContext _dbContext; ...
mit
C#
ed06aeb8490a0b09caed7facbfdc3291a6a5293e
Use Fetch instead of Table
jtkech/Orchard,RoyalVeterinaryCollege/Orchard,ehe888/Orchard,phillipsj/Orchard,jtkech/Orchard,planetClaire/Orchard-LETS,dmitry-urenev/extended-orchard-cms-v10.1,emretiryaki/Orchard,sfmskywalker/Orchard,cooclsee/Orchard,omidnasri/Orchard,Praggie/Orchard,phillipsj/Orchard,smartnet-developers/Orchard,RoyalVeterinaryColleg...
src/Orchard.Web/Modules/Orchard.Indexing/Services/IndexingTaskManager.cs
src/Orchard.Web/Modules/Orchard.Indexing/Services/IndexingTaskManager.cs
using System; using System.Linq; using JetBrains.Annotations; using Orchard.ContentManagement; using Orchard.Data; using Orchard.Indexing.Models; using Orchard.Logging; using Orchard.Tasks.Indexing; using Orchard.Services; namespace Orchard.Indexing.Services { [UsedImplicitly] public class Indexin...
using System; using System.Linq; using JetBrains.Annotations; using Orchard.ContentManagement; using Orchard.Data; using Orchard.Indexing.Models; using Orchard.Logging; using Orchard.Tasks.Indexing; using Orchard.Services; namespace Orchard.Indexing.Services { [UsedImplicitly] public class Indexin...
bsd-3-clause
C#
4c620c4eeb5dada19f57bc0f92dd65bb250d1b06
Update Program.cs
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Program.cs
Battery-Commander.Web/Program.cs
using Microsoft.AspNetCore.Hosting; using Sentry; using Serilog; using System.IO; namespace BatteryCommander.Web { public class Program { public static void Main(string[] args) { using (SentrySdk.Init("https://78e464f7456f49a98e500e78b0bb4b13@sentry.io/1447369")) { ...
using Microsoft.AspNetCore.Hosting; using Sentry; using Serilog; using System.IO; namespace BatteryCommander.Web { public class Program { public static void Main(string[] args) { using (SentrySdk.Init()) { var host = new WebHostBuilder() ...
mit
C#
1ed0dba16b92f5d45673428ccbc54eda6f99986c
Revert accidental change of the async flag.
oliver-feng/nuget,indsoft/NuGet2,antiufo/NuGet2,jholovacs/NuGet,anurse/NuGet,rikoe/nuget,indsoft/NuGet2,xoofx/NuGet,rikoe/nuget,RichiCoder1/nuget-chocolatey,ctaggart/nuget,mrward/NuGet.V2,zskullz/nuget,akrisiun/NuGet,indsoft/NuGet2,jmezach/NuGet2,alluran/node.net,chester89/nugetApi,chocolatey/nuget-chocolatey,mrward/Nu...
src/VsConsole/Console/PowerConsole/HostInfo.cs
src/VsConsole/Console/PowerConsole/HostInfo.cs
using System; using System.Diagnostics; namespace NuGetConsole.Implementation.PowerConsole { /// <summary> /// Represents a host with extra info. /// </summary> class HostInfo : ObjectWithFactory<PowerConsoleWindow> { Lazy<IHostProvider, IHostMetadata> HostProvider { get; set; } ...
using System; using System.Diagnostics; namespace NuGetConsole.Implementation.PowerConsole { /// <summary> /// Represents a host with extra info. /// </summary> class HostInfo : ObjectWithFactory<PowerConsoleWindow> { Lazy<IHostProvider, IHostMetadata> HostProvider { get; set; } ...
apache-2.0
C#
b1f67c77535c378be7f1db57748fc40bce20b995
Fix for word search exercise (#624)
exercism/xcsharp,ErikSchierboom/xcsharp,ErikSchierboom/xcsharp,robkeim/xcsharp,exercism/xcsharp,robkeim/xcsharp
exercises/word-search/WordSearch.cs
exercises/word-search/WordSearch.cs
using System; using System.Collections.Generic; using System.Linq; public class WordSearch { public WordSearch(string grid) { throw new NotImplementedException("You need to implement this function."); } public Dictionary<string, ((int, int), (int, int))?> Search(string[] wordsToSearchFor) ...
using System; using System.Collections.Generic; using System.Linq; public class WordSearch { public WordSearch(string grid) { throw new NotImplementedException("You need to implement this function."); } public ((int, int), (int, int)) Search(string wordsToSearchFor) { throw new No...
mit
C#
b652e213544faead47b89f6c47fdd14b31462200
Add a method
stampsy/sdwebimage-monotouch
ApiDefinition.cs
ApiDefinition.cs
using System; using System.Drawing; using MonoTouch.ObjCRuntime; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace SDWebImage { [BaseType (typeof (UIView))] [Model] interface SDWebImageManagerDelegate { [Export ("webImageManager:didProgressWithPartialImage:forURL:userInfo:")] void DidProgressWithP...
using System; using System.Drawing; using MonoTouch.ObjCRuntime; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace SDWebImage { [BaseType (typeof (UIView))] [Model] interface SDWebImageManagerDelegate { [Export ("webImageManager:didProgressWithPartialImage:forURL:userInfo:")] void DidProgressWithP...
mit
C#
54612b02ca25b9df540960acfc7db0b5212a12f1
Advance version number scheme to include pressure regulator gadget.
massimo-nocentini/network-reasoner,massimo-nocentini/network-reasoner,massimo-nocentini/network-reasoner
it.unifi.dsi.stlab.networkreasoner.gas.system.terranova/VersioningInfo.cs
it.unifi.dsi.stlab.networkreasoner.gas.system.terranova/VersioningInfo.cs
using System; namespace it.unifi.dsi.stlab.networkreasoner.gas.system.terranova { public class VersioningInfo { /// <summary> /// Gets the version number. /// /// Here are the stack of versions with a brief description: /// /// v1.1.0: introduce pressure regulator gadget for edges. /// /// v1.0.1:...
using System; namespace it.unifi.dsi.stlab.networkreasoner.gas.system.terranova { public class VersioningInfo { public String VersionNumber { get { return "v1.0.1"; } } public String EngineIdentifier { get { return "Network Reasoner, stlab.dsi.unifi.it"; } } } }
mit
C#
76b6316a51b1db69dfe3b413db172a585306278d
Remove unused usings
appharbor/appharbor-cli
src/AppHarbor.Tests/Commands/CreateCommandTest.cs
src/AppHarbor.Tests/Commands/CreateCommandTest.cs
using System.Linq; using AppHarbor.Commands; using Moq; using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests.Commands { public class CreateCommandTest { [Theory, AutoCommandData] public void ShouldThrowWhenNoArguments(CreateCommand command) { var exception = Assert....
using System; using System.Collections.Generic; using System.Linq; using AppHarbor.Commands; using Moq; using Ploeh.AutoFixture; using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests.Commands { public class CreateCommandTest { [Theory, AutoCommandData] public void ShouldT...
mit
C#
a8499bda128e38b609ce7d02b6b135d9bd0ca9a1
move config attribute to assemblyinfos
dkackman/LinqStatistics
src/PackageInfo.cs
src/PackageInfo.cs
// // PackageInfo.cs // AssemblyInfo shared between projects // using System; using System.Resources; 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 as...
// // PackageInfo.cs // AssemblyInfo shared between projects // using System; using System.Resources; 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 as...
apache-2.0
C#
6d206370da6ee4e7219bf7f400bdccdd38372048
Replace Single with SingleOrDefault for Url Reposiory
jimbeaudoin/dotnet-core-urlshortener,jimbeaudoin/dotnet-core-urlshortener,jimbeaudoin/dotnet-core-urlshortener
src/UrlShortenerApi/Repositories/UrlRepository.cs
src/UrlShortenerApi/Repositories/UrlRepository.cs
using System; using System.Collections.Generic; using System.Linq; using UrlShortenerApi.Data; using UrlShortenerApi.Models; namespace UrlShortenerApi.Repositories { public class UrlRepository : IUrlRepository { ApplicationDbContext _context; public UrlRepository(ApplicationDbContext context) ...
using System; using System.Collections.Generic; using System.Linq; using UrlShortenerApi.Data; using UrlShortenerApi.Models; namespace UrlShortenerApi.Repositories { public class UrlRepository : IUrlRepository { ApplicationDbContext _context; public UrlRepository(ApplicationDbContext context) ...
agpl-3.0
C#
839926cd2620cfb49f63b20505a409787cb46ddb
Set MaxBufferSize in Server class to max.
ideaflare/embark,ubrgw/embark
Embark/Server.cs
Embark/Server.cs
using System; using System.ServiceModel.Web; using Embark.Storage; using Embark.DataChannel; using Embark.TextConversion; using System.Linq; namespace Embark { /// <summary> /// Server that shares a local database hosted over WCF HTTP /// </summary> public sealed class Server : IDisposable { ...
using System; using System.ServiceModel.Web; using Embark.Storage; using Embark.DataChannel; using Embark.TextConversion; using System.Linq; namespace Embark { /// <summary> /// Server that shares a local database hosted over WCF HTTP /// </summary> public sealed class Server : IDisposable { ...
mit
C#
e5e052070689e5da734ebaffcf030a7df216e125
Fix TextAreaPart not using submitted form value (#4218)
OrchardCMS/Brochard,OrchardCMS/Brochard,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,xkproject/Or...
src/OrchardCore.Modules/OrchardCore.Forms/Views/Items/TextAreaPart.cshtml
src/OrchardCore.Modules/OrchardCore.Forms/Views/Items/TextAreaPart.cshtml
@using OrchardCore.Forms.Models @model ShapeViewModel<TextAreaPart> @{ var formElementPart = Model.Value.ContentItem.As<FormElementPart>(); var formInputElementPart = Model.Value.ContentItem.As<FormInputElementPart>(); var elementId = formElementPart.Id; var elementName = formInputElementPart.Name; ...
@using OrchardCore.Forms.Models @model ShapeViewModel<TextAreaPart> @{ var formElementPart = Model.Value.ContentItem.As<FormElementPart>(); var formInputElementPart = Model.Value.ContentItem.As<FormInputElementPart>(); var elementId = formElementPart.Id; var elementName = formInputElementPart.Name; ...
bsd-3-clause
C#
f3183327bf23d728f60f1d70bf988bc22d76e536
support tls 1.2
DynamoDS/GRegClientNET
src/GregClient/GregClient.cs
src/GregClient/GregClient.cs
using System.Net; using Greg.Requests; using Greg.Responses; using RestSharp; namespace Greg { public class GregClient : IGregClient { private readonly RestClient _client; public string BaseUrl { get { return _client.BaseUrl.ToString(); } } public readonly IAuthProvider _authProvider...
using System.Net; using Greg.Requests; using Greg.Responses; using RestSharp; namespace Greg { public class GregClient : IGregClient { private readonly RestClient _client; public string BaseUrl { get { return _client.BaseUrl.ToString(); } } public readonly IAuthProvider _authProvider...
mit
C#
c3b15e070033ad5be3aa8d201ff3397a75135ae4
Add validation implementation in recommendations module.
henrikfroehling/TraktApiSharp
Source/Lib/TraktApiSharp/Modules/TraktRecommendationsModule.cs
Source/Lib/TraktApiSharp/Modules/TraktRecommendationsModule.cs
namespace TraktApiSharp.Modules { using Objects.Basic; using Objects.Get.Recommendations; using Requests; using Requests.WithOAuth.Recommendations; using System; using System.Threading.Tasks; public class TraktRecommendationsModule : TraktBaseModule { public TraktRecommendation...
namespace TraktApiSharp.Modules { using Objects.Basic; using Objects.Get.Recommendations; using Requests; using Requests.WithOAuth.Recommendations; using System.Threading.Tasks; public class TraktRecommendationsModule : TraktBaseModule { public TraktRecommendationsModule(TraktClien...
mit
C#
bdd53b39456a2789d64426a34543ba77b92e088d
Read config for setting db url and endpoint
furore-fhir/spark,furore-fhir/spark,furore-fhir/spark
src/Spark.NetCore/Startup.cs
src/Spark.NetCore/Startup.cs
using Hl7.Fhir.Serialization; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Spark.Engine; using Spark.Engine.Extensions; using Sp...
using Hl7.Fhir.Serialization; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Spark.Engine; using Spark.Engine.Extensions; using Sp...
bsd-3-clause
C#
f78d0c3a9b4997636afb1d86582978d347fcb0f2
Rework regex to allow whitespace
agc93/Cake.VisualStudio,agc93/Cake.VisualStudio
src/TaskRunner/TaskParser.cs
src/TaskRunner/TaskParser.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; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Cake...
// 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.Generic; using System.Linq; using System.Text.RegularExpressions; using Cake...
mit
C#
012b48dbe51e972b291f37f88dfe0788cd9adb84
Remove explicit public definition
ppy/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu
osu.Game/Screens/IHandlePresentBeatmap.cs
osu.Game/Screens/IHandlePresentBeatmap.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Beatmaps; using osu.Game.Rulesets; namespace osu.Game.Screens { /// <summary> /// Denotes a screen which can handle beatmap / ruleset selection vi...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Beatmaps; using osu.Game.Rulesets; namespace osu.Game.Screens { /// <summary> /// Denotes a screen which can handle beatmap / ruleset selection vi...
mit
C#
df564942af34fa0debc23819fbe4a7ffbe919095
make asset reader error safe
mruhul/workshop-carsales-web-mvc,mruhul/workshop-carsales-web-mvc
Src/Carsales.Web/Infrastructure/AssetMappers/AssetDataReader.cs
Src/Carsales.Web/Infrastructure/AssetMappers/AssetDataReader.cs
using System; using System.Collections.Generic; using System.IO; using Bolt.Logger; using Bolt.Serializer; using Carsales.Web.Infrastructure.Attributes; namespace Carsales.Web.Infrastructure.AssetMappers { public interface IAssetDataReader { IDictionary<string, AssetData> Read(); } [AutoBind]...
using System; using System.Collections.Generic; using System.IO; using Bolt.Serializer; using Carsales.Web.Infrastructure.Attributes; namespace Carsales.Web.Infrastructure.AssetMappers { public interface IAssetDataReader { IDictionary<string, AssetData> Read(); } [AutoBind] public class A...
mit
C#
b09442c38fb4789148463308ff76bb1eb29b1ce5
address failed test for assembly refereneces.
jwChung/Experimentalism,jwChung/Experimentalism
test/ExperimentalUnitTest/AssemblyLevelTest.cs
test/ExperimentalUnitTest/AssemblyLevelTest.cs
using System.Linq; using System.Reflection; using Xunit; namespace Jwc.Experimental { public class AssemblyLevelTest { [Fact] public void SutOnlyReferencesSpecifiedAssemblies() { var sut = Assembly.LoadFrom("Jwc.Experimental.dll"); Assert.NotNull(sut); ...
using System.Linq; using System.Reflection; using Xunit; namespace Jwc.Experimental { public class AssemblyLevelTest { [Fact] public void SutOnlyReferencesSpecifiedAssemblies() { var sut = Assembly.LoadFrom("Jwc.Experimental.dll"); Assert.NotNull(sut); ...
mit
C#
3f6118465ecf7b79ee24cd3a0a830732134efec8
Fix for unit test
cetusfinance/qwack,cetusfinance/qwack,cetusfinance/qwack,cetusfinance/qwack
test/Qwack.Math.Tests/Options/LocalVolFacts.cs
test/Qwack.Math.Tests/Options/LocalVolFacts.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Qwack.Options; using Xunit; using Qwack.Options.VolSurfaces; namespace Qwack.Math.Tests.Options { public class LocalVolFacts { [Fact] public void ConstLV() { var constVol =...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Qwack.Options; using Xunit; using Qwack.Options.VolSurfaces; namespace Qwack.Math.Tests.Options { public class LocalVolFacts { [Fact] public void ConstLV() { var constVol ...
mit
C#
ace7de5d51dae3dba852de2cc46cdeb85d75c707
Rename Url -> QueryString (typo)
Saltarelle/SaltarelleNodeJS
QueryStringModule/QueryString.cs
QueryStringModule/QueryString.cs
using System; using System.Collections; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; namespace NodeJS.QueryStringModule { [Imported] [GlobalMethods] [ModuleName("querystring")] public static class QueryString { public static string Stringify(JsDictionary obj) { ret...
using System; using System.Collections; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; namespace NodeJS.QueryStringModule { [Imported] [GlobalMethods] [ModuleName("querystring")] public static class Url { public static string Stringify(JsDictionary obj) { return null...
apache-2.0
C#
9f3b731906573b2b732694428f9119d2f6b7fea4
fix update sdk version number
NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity
ncmb_unity/Assets/NCMB/CommonConstant.cs
ncmb_unity/Assets/NCMB/CommonConstant.cs
/******* Copyright 2017 FUJITSU CLOUD TECHNOLOGIES LIMITED 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...
/******* Copyright 2017 FUJITSU CLOUD TECHNOLOGIES LIMITED 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...
apache-2.0
C#
6afe46a2ae572c8bd4cb1d555a0f9720ed0b9a15
Ajuste obterDisponiveis
cayodonatti/TopGearApi
TopGearApi.DataAccess/CarroDA.cs
TopGearApi.DataAccess/CarroDA.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TopGearApi.Domain.Models; namespace TopGearApi.DataAccess { public class CarroDA : TopGearDA<Carro> { public static IEnumerable<Carro> GetByItem(int itemId) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TopGearApi.Domain.Models; namespace TopGearApi.DataAccess { public class CarroDA : TopGearDA<Carro> { public static IEnumerable<Carro> GetByItem(int itemId) { ...
mit
C#
3f3bfb52c4fb4be98ce3eb6796637d9d58a417e6
Fix typo
martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode
tests/AdventOfCode.Tests/LocalOnlyAttribute.cs
tests/AdventOfCode.Tests/LocalOnlyAttribute.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.AdventOfCode { using System; using Xunit; /// <summary> /// Attribute that is applied to a method to i...
// 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.AdventOfCode { using System; using Xunit; /// <summary> /// Attribute that is applied to a method to i...
apache-2.0
C#
2392ba6f296c7fb8369e7fd7f1cb451043d7b0cc
Fix failing tests
toddams/RazorLight,toddams/RazorLight
tests/RazorLight.Tests/Utils/DirectoryUtils.cs
tests/RazorLight.Tests/Utils/DirectoryUtils.cs
using System.IO; namespace RazorLight.Tests.Utils { public static class DirectoryUtils { public static string RootDirectory { get { var location = typeof(DirectoryUtils).Assembly.Location; if (!File.Exists(location)) throw new FileNotFoundException($"Could not find file location [{location}]"); ...
using System.IO; namespace RazorLight.Tests.Utils { public static class DirectoryUtils { public static string RootDirectory { get { var location = typeof(DirectoryUtils).Assembly.Location; if (!Directory.Exists(location)) throw new DirectoryNotFoundException($"Could not find location [{locati...
apache-2.0
C#
275696d68d576a2e8fa32dc33c3a93bb0cbcbb9f
fix slide show
AEdmunds/Vassall-Theme,AEdmunds/Vassall-Theme,AEdmunds/Vassall-Theme,AEdmunds/Vassall-Theme,AEdmunds/Vassall-Theme,AEdmunds/Vassall-Theme
Views/AdditionalResources.cshtml
Views/AdditionalResources.cshtml
@{ /* Links ***************************************************************/ //RegisterLink(new LinkEntry {Type = "image/x-icon", Rel = "shortcut icon", Href = Url.Content(theme.Location + "/" + theme.Path + "/Images/" + "favicon.ico")}); // SetMeta(new MetaEntry { Name = "viewport", Content = "wid...
@{ /* Links ***************************************************************/ //RegisterLink(new LinkEntry {Type = "image/x-icon", Rel = "shortcut icon", Href = Url.Content(theme.Location + "/" + theme.Path + "/Images/" + "favicon.ico")}); // SetMeta(new MetaEntry { Name = "viewport", Content = "wid...
bsd-2-clause
C#
9719bde53226f224fe13aa8195fb9a52552c838e
add humanizr to view imports
ojraqueno/vstemplates,ojraqueno/vstemplates,ojraqueno/vstemplates
Core/Core1.Web/Views/_ViewImports.cshtml
Core/Core1.Web/Views/_ViewImports.cshtml
@using Core1.Web @using Core1.Web.Features.Shared @using Core1.Web.Infrastructure @using Core1.Model @using Humanizer @using Microsoft.Extensions.Configuration @* To capture the extension method *@ @inject Microsoft.Extensions.Configuration.IConfiguration Configuration @inject Core1.Web.Infrastructure.IUserContext Use...
@using Core1.Web @using Core1.Web.Features.Shared @using Core1.Web.Infrastructure @using Core1.Model @using Microsoft.Extensions.Configuration @* To capture the extension method *@ @inject Microsoft.Extensions.Configuration.IConfiguration Configuration @inject Core1.Web.Infrastructure.IUserContext UserContext @addTagH...
mit
C#
c725a1e03ab1e48496a8dff24a36c64d6a3f5d5d
Bump version number to 1.2.2.0.
da2x/EdgeDeflector
EdgeDeflector/Properties/AssemblyInfo.cs
EdgeDeflector/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("EdgeDeflector")] [assembly: AssemblyDescri...
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("EdgeDeflector")] [assembly: AssemblyDescri...
mit
C#
bbcc7d954e86713345a6ab86c5d458dedbc22f9f
Update app version to 3.1.0
Phrynohyas/eve-o-preview,Phrynohyas/eve-o-preview
Eve-O-Preview/Properties/AssemblyInfo.cs
Eve-O-Preview/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("EVE-O Preview")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EVE-O Preview")] [assembly: AssemblyCopyright("")] [as...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("EVE-O Preview")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EVE-O Preview")] [assembly: AssemblyCopyright("")] [as...
mit
C#
8b2e94ebff2416a2b7812990b42b880a2f1f421e
fix semicolon
KuduApps/NuGetGallery,grenade/NuGetGallery_download-count-patch,KuduApps/NuGetGallery,KuduApps/NuGetGallery,JetBrains/ReSharperGallery,skbkontur/NuGetGallery,grenade/NuGetGallery_download-count-patch,projectkudu/SiteExtensionGallery,JetBrains/ReSharperGallery,skbkontur/NuGetGallery,ScottShingler/NuGetGallery,mtian/Site...
Website/Helpers/PackageHelper.cs
Website/Helpers/PackageHelper.cs
 namespace NuGetGallery { public static class PackageHelper { public static string ParseTags(string tags) { if (tags == null) { return null; } return tags.Replace(',', ' ').Replace(';', ' ').Replace('\t', ' ').Replace(" ", " "); ...
 namespace NuGetGallery { public static class PackageHelper { public static string ParseTags(string tags) { if (tags == null) { return null; } return tags.Replace(',', ' ').Replace(" ", " "); } } }
apache-2.0
C#
c2945828a539ae427466b0785ea815eb76f52cd0
Remove obsolete documented remark on Exception types
QuantConnect/pythonnet,pythonnet/pythonnet,pythonnet/pythonnet,pythonnet/pythonnet,QuantConnect/pythonnet,QuantConnect/pythonnet
src/runtime/Types/ExceptionClassObject.cs
src/runtime/Types/ExceptionClassObject.cs
using System; namespace Python.Runtime; /// <summary> /// Base class for Python types that reflect managed exceptions based on /// System.Exception /// </summary> [Serializable] internal class ExceptionClassObject : ClassObject { internal ExceptionClassObject(Type tp) : base(tp) { } internal static E...
using System; namespace Python.Runtime; /// <summary> /// Base class for Python types that reflect managed exceptions based on /// System.Exception /// </summary> /// <remarks> /// The Python wrapper for managed exceptions LIES about its inheritance /// tree. Although the real System.Exception is a subclass of /// Sy...
mit
C#
9c78f7019c8622a3fc7a10c3d3dc8dcb5f44a289
Check that source_handlers contains the tag.
sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp
glib/Source.cs
glib/Source.cs
// GLib.Source.cs - Source class implementation // // Author: Duncan Mak <duncan@ximian.com> // // Copyright (c) 2002 Mike Kestner // // 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...
// GLib.Source.cs - Source class implementation // // Author: Duncan Mak <duncan@ximian.com> // // Copyright (c) 2002 Mike Kestner // // 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...
lgpl-2.1
C#
cf8e2390e416db36734b9732f420da34b2e06d88
rename tests from calculate_<upperBound>_shouldReturn<result> to calculate_shouldReturn<result>WhenPassed<upperBound>
wimplash/LeEulerizer,wimplash/LeEulerizer
LeEulerizer-Library-Test/Problem1Test.cs
LeEulerizer-Library-Test/Problem1Test.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using LeEulerizer_Library; namespace LeEulerizer_Library_Test { [TestClass] public class Problem1Test { [TestMethod] public void Problem1_canBeConstructed() { Assert.IsNotNull(new Problem1()); } ...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using LeEulerizer_Library; namespace LeEulerizer_Library_Test { [TestClass] public class Problem1Test { [TestMethod] public void Problem1_canBeConstructed() { Assert.IsNotNull(new Problem1()); } ...
mit
C#
7e14d2b341d936eca06e74e7bf22986d7f6c5cef
Change BoundingBox.GetCornerVertices to CW
pauldendulk/Mapsui,charlenni/Mapsui,tebben/Mapsui,charlenni/Mapsui
Mapsui/Projection/BoundingBoxIterator.cs
Mapsui/Projection/BoundingBoxIterator.cs
using System.Collections.Generic; using Mapsui.Geometries; namespace Mapsui.Projection { public static class BoundingBoxIterator { public static IEnumerable<Point> AllVertices(this BoundingBox boundingBox) { return new[] { boundingBox.Min, boundingBox.Max }; } publi...
using System.Collections.Generic; using Mapsui.Geometries; namespace Mapsui.Projection { public static class BoundingBoxIterator { public static IEnumerable<Point> AllVertices(this BoundingBox boundingBox) { return new[] { boundingBox.Min, boundingBox.Max }; } publi...
mit
C#
ca722657dd8b4c9d93788a739753cd25ee74bc0a
remove extra whitespace
ddunkin/raygun4net,MindscapeHQ/raygun4net,nelsonsar/raygun4net,nelsonsar/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,tdiehl/raygun4net,articulate/raygun4net,tdiehl/raygun4net,ddunkin/raygun4net,articulate/raygun4net
Mindscape.Raygun4Net/RaygunHttpModule.cs
Mindscape.Raygun4Net/RaygunHttpModule.cs
using System; using System.Web; namespace Mindscape.Raygun4Net { public class RaygunHttpModule : IHttpModule { public void Init(HttpApplication context) { context.Error += SendError; } public void Dispose() { } private void SendError(object sender, EventArgs e) { var ...
using System; using System.Web; namespace Mindscape.Raygun4Net { public class RaygunHttpModule : IHttpModule { public void Init(HttpApplication context) { context.Error += SendError; } public void Dispose() { } private void SendError(object sender, EventArgs e) { ...
mit
C#
4e614c07cf392b27c9dedde69082b007e632d3d9
Revert unintended change
ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework
osu.Framework.Tests/Audio/SampleBassInitTest.cs
osu.Framework.Tests/Audio/SampleBassInitTest.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 ManagedBass; using NUnit.Framework; using osu.Framework.Audio.Sample; namespace osu.Framework.Tests.Audio { [TestFixture] public class SampleBassInitTest ...
// 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 ManagedBass; using NUnit.Framework; using osu.Framework.Audio.Sample; namespace osu.Framework.Tests.Audio { [TestFixture] public class SampleBassInitTest ...
mit
C#
caf1dfa91592feba421fd2c92a2582b786657a5e
Add implicit operator for `LocalisableFormattable` to `LocalisableString`
ZLima12/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework
osu.Framework/Localisation/LocalisableString.cs
osu.Framework/Localisation/LocalisableString.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; #nullable enable namespace osu.Framework.Localisation { /// <summary> /// A descriptor representing text that can be localised and formatted. ...
// 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; #nullable enable namespace osu.Framework.Localisation { /// <summary> /// A descriptor representing text that can be localised and formatted. ...
mit
C#
b4b34559792bd157684109c9d0e16d7cb291da2b
Fix link
erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner
Oogstplanner.Web/Views/Crop/Index.cshtml
Oogstplanner.Web/Views/Crop/Index.cshtml
@model IEnumerable<Crop> @{ ViewBag.Title = "Gewassen"; } <div id="top"></div> <div id="yearCalendar"> <h1>Dit zijn de gewassen in onze database:</h1> <table class="table table-striped"> <tr> <th>Naam</th><th>Ras</th><th>Categorie</th><th>Opp. per 1</th> <th>Opp. per zak</th><th>Prijs per zakje</...
@model IEnumerable<Crop> @{ ViewBag.Title = "Gewassen"; } <div id="top"></div> <div id="yearCalendar"> <h1>Dit zijn de gewassen in onze database:</h1> <table class="table table-striped"> <tr> <th>Naam</th><th>Ras</th><th>Categorie</th><th>Opp. per 1</th> <th>Opp. per zak</th><th>Prijs per zakje</...
mit
C#
66ee195c7e836373fe45af6da244e2cdb20b5b65
Remove a stale comment
civicsource/webapi-utils,civicsource/http
aspnetcore/GZipResourceFilter.cs
aspnetcore/GZipResourceFilter.cs
using System.IO.Compression; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Primitives; namespace Archon.AspNetCore { /// <summary> /// A filter that decompresses GZip content from HTTP requests specified as <c>Content-Encoding: gzip</c> /// </summary> public clas...
using System.IO.Compression; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Primitives; namespace Archon.AspNetCore { // TODO: Separate the server and client helpers in this project so that our web clients don't need to import frickin' ASP.NET /// <summary> /// A...
mit
C#
c342f0e0d2bb76a5465b1cd29fc7e16dd4070111
Make campaign name required
badbuay/allReady,JowenMei/allReady,badbuay/allReady,mgmccarthy/allReady,auroraocciduusadmin/allReady,gitChuckD/allReady,forestcheng/allReady,mikesigs/allReady,arst/allReady,binaryjanitor/allReady,dpaquette/allReady,kmlewis/allReady,SteveStrong/allReady,aliiftikhar/allReady,shawnwildermuth/allReady,auroraocciduusadmin/a...
AllReadyApp/Web-App/AllReady/Models/Campaign.cs
AllReadyApp/Web-App/AllReady/Models/Campaign.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AllReady.Models { public class Campaign { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; } ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AllReady.Models { public class Campaign { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; } ...
mit
C#
09fb05071c377f631036117d54c32877535782f2
Remove the validation of NewsLetterSubscriptionDto.
SevenSpikes/api-plugin-for-nopcommerce,SevenSpikes/api-plugin-for-nopcommerce
Nop.Plugin.Api/DTOs/NewsLetterSubscriptions/NewsLetterSubscriptionDto.cs
Nop.Plugin.Api/DTOs/NewsLetterSubscriptions/NewsLetterSubscriptionDto.cs
using System; using FluentValidation.Attributes; using Newtonsoft.Json; using Nop.Plugin.Api.Validators; namespace Nop.Plugin.Api.DTOs.Categories { [JsonObject(Title = "news_letter_subscription")] public class NewsLetterSubscriptionDto { /// <summary> /// Gets or sets the id /// </...
using System; using FluentValidation.Attributes; using Newtonsoft.Json; using Nop.Plugin.Api.Validators; namespace Nop.Plugin.Api.DTOs.Categories { [Validator(typeof(CategoryDtoValidator))] [JsonObject(Title = "news_letter_subscription")] public class NewsLetterSubscriptionDto { /// <summary> ...
mit
C#
b551a657cfa2bc9d5f02fad1abfd7629c421b735
Update to hello support snippet
awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a...
dotnetv3/Support/Actions/HelloSupport.cs
dotnetv3/Support/Actions/HelloSupport.cs
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 namespace SupportActions; // snippet-start:[Support.dotnetv3.HelloSupport] using Amazon.AWSSupport; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; public static class H...
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 using Amazon.AWSSupport; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace SupportActions; /// <summary> /// Hello AWS Support example. /// </summary> public stat...
apache-2.0
C#
3f52140a43181662cfc62c74d704ad347e9ebc5f
Add constructor on Airport class
StefanTod/SkyHighSim
Airtraffic_Simulator/Airport.cs
Airtraffic_Simulator/Airport.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; namespace Airtraffic_Simulator { class Airport { private string name; private int capacity; private Point location; private int lanes; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; namespace Airtraffic_Simulator { class Airport { private string name; private int capacity; private Point location; private int lanes; ...
mit
C#
95e37d1833c1164bf17167a80771e40ea5ec3dc6
Extend the validation sample
ghuntley/Lager,flagbug/Lager
AndroidTest/SettingsActivity.cs
AndroidTest/SettingsActivity.cs
using Akavache; using Android.App; using Android.OS; using Android.Preferences; using Lager.Android; using System; using System.Linq; namespace AndroidTest { [Activity(Label = "My Activity")] public class SettingsActivity : PreferenceActivity { protected override void OnCreate(Bundle bundle) ...
using Akavache; using Android.App; using Android.OS; using Android.Preferences; using Lager.Android; using System; namespace AndroidTest { [Activity(Label = "My Activity")] public class SettingsActivity : PreferenceActivity { protected override void OnCreate(Bundle bundle) { bas...
mit
C#
280d2aa4e4813dc689139d1639ba598d2bb39240
add comments to SetLabelFromBlendmode
momo-the-monster/workshop-trails
Assets/MMM/Trails/Scripts/SetLabelFromBlendmode.cs
Assets/MMM/Trails/Scripts/SetLabelFromBlendmode.cs
using UnityEngine; using System.Collections; using UnityEngine.UI; /* * Listen for MomoMirror.OnSwitched Event * Update Text Component with new Blend Mode */ namespace mmm { [RequireComponent(typeof(Text))] public class SetLabelFromBlendmode : MonoBehaviour { internal Text field; // ...
using UnityEngine; using System.Collections; using UnityEngine.UI; namespace mmm { [RequireComponent(typeof(Text))] public class SetLabelFromBlendmode : MonoBehaviour { internal Text field; void OnEnable() { MomoMirror.OnSwitched += OnSwitched; } void OnDisable() { MomoMirror.O...
mit
C#
ee0d4fec0a7a82f62f4f09b5aa38276498f3f637
remove explorer routes
chunye/azure-functions-ux,chunye/azure-functions-ux,agruning/azure-functions-ux,agruning/azure-functions-ux,projectkudu/AzureFunctions,agruning/azure-functions-ux,projectkudu/WebJobsPortal,projectkudu/AzureFunctions,chunye/azure-functions-ux,chunye/azure-functions-ux,agruning/azure-functions-ux,projectkudu/AzureFunctio...
AzureFunctions/App_Start/WebApiConfig.cs
AzureFunctions/App_Start/WebApiConfig.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Web; using System.Web.Http; using System.Web.Http.Routing; namespace AzureFunctions.App_Start { public class WebApiConfig { public static void Register(HttpConfiguration config) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Http.Routing; namespace AzureFunctions.App_Start { public class WebApiConfig { public static void Register(HttpConfiguration config) { config.Routes.MapHttpR...
apache-2.0
C#
a49b4a7a4ae27cf83a05835d8a10a10a01495e7e
Remove IEnumerator/Coroutine code - refer to previous commit to check it out
FancyVase/tiles
Assets/GoogleVR/Scripts/TileScript.cs
Assets/GoogleVR/Scripts/TileScript.cs
using UnityEngine; using System.Collections; public class TileScript : MonoBehaviour { public int col; private bool isOn; public AudioSource sound; private float TimeToFlash; private float TimeSinceStart; private MeshRenderer tile_renderer; // Use this for initialization void Awake () { isOn = false; T...
using UnityEngine; using System.Collections; public class TileScript : MonoBehaviour { public int col; private bool isOn; public AudioSource sound; private float TimeToFlash; private float TimeSinceStart; private MeshRenderer tile_renderer; // Use this for initialization void Awake () { isOn = false; T...
mit
C#
03134c324b395d045bf54e24f4ead0913d6de950
bump revision
FacturAPI/facturapi-net
facturapi-net/Properties/AssemblyInfo.cs
facturapi-net/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("Fac...
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("Fac...
mit
C#
2ab749369a45685366e3b100543a08703b115d05
Validate the paths to watch and the commands to execute. #2
fguchelaar/FileSystemActions
FSWActions.ConsoleApplication/Program.cs
FSWActions.ConsoleApplication/Program.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using FSWActions.Core; using FSWActions.Core.Config; namespace FSWActions.ConsoleApplication { internal class Program { private static void Main(string[] args) { var configuration...
using System; using System.Collections.Generic; using FSWActions.Core; using FSWActions.Core.Config; namespace FSWActions.ConsoleApplication { internal class Program { private static void Main(string[] args) { var configuration = WatchersConfiguration.LoadConfigFromPath("watchers.x...
mit
C#
4c3381085476d703467e72810347e416818bd5e0
Update ScanBarCodePicture.cs
aspose-barcode/Aspose.BarCode-for-.NET,asposebarcode/Aspose_BarCode_NET,aspose-barcode/Aspose.BarCode-for-.NET,asposebarcode/Aspose_BarCode_NET,asposebarcode/Aspose_BarCode_NET,aspose-barcode/Aspose.BarCode-for-.NET
Examples/CSharp/ManageAndOptimizeBarcodeRecognition/ScanBarCodePicture.cs
Examples/CSharp/ManageAndOptimizeBarcodeRecognition/ScanBarCodePicture.cs
using System; using Aspose.BarCode.BarCodeRecognition; /* This project uses Automatic Package Restore feature of NuGet to resolve Aspose.BarCode for .NET API reference when the project is build. Please check https://docs.nuget.org/consume/nuget-faq for more information. If you do not wish to use NuGet, you can manu...
using System; using Aspose.BarCode.BarCodeRecognition; /* This project uses Automatic Package Restore feature of NuGet to resolve Aspose.BarCode for .NET API reference when the project is build. Please check https://docs.nuget.org/consume/nuget-faq for more information. If you do not wish to use NuGet, you can manu...
mit
C#
5969850e06a3f014dc3608bc1383c46a2ceb300b
Reduce "About" text padding
danielchalmers/DesktopWidgets
DesktopWidgets/Helpers/AboutHelper.cs
DesktopWidgets/Helpers/AboutHelper.cs
using System.Text; using DesktopWidgets.Classes; using DesktopWidgets.Properties; namespace DesktopWidgets.Helpers { public static class AboutHelper { public static string AboutText { get { var stringBuilder = new StringBuilder(); string...
using System.Text; using DesktopWidgets.Classes; using DesktopWidgets.Properties; namespace DesktopWidgets.Helpers { public static class AboutHelper { public static string AboutText { get { var stringBuilder = new StringBuilder(); string...
apache-2.0
C#
39eda5e413b5eb9f913f0829d73a1f841bbb38bf
update ErrorException
messagebird/csharp-rest-api
MessageBird/Exceptions/ErrorException.cs
MessageBird/Exceptions/ErrorException.cs
using System; using System.Collections.Generic; using MessageBird.Objects; using Newtonsoft.Json; namespace MessageBird.Exceptions { public class ErrorException : Exception { private readonly ICollection<Error> errors; // IEnumerable to be immitable. // TODO: should these really be b...
using System; using System.Collections.Generic; using MessageBird.Objects; using Newtonsoft.Json; namespace MessageBird.Exceptions { public class ErrorException : Exception { private readonly ICollection<Error> errors; // IEnumerable to be immitable. // TODO: should these really be b...
isc
C#
c7a978f02f72a24954ee082d7740b2196580f840
Update for Besiege v0.45
spaar/automatron-mod,spaar/automatron-mod
Automatron/Mod.cs
Automatron/Mod.cs
using System; using System.Collections.Generic; using Blocks; using spaar.ModLoader; using spaar.Mods.Automatron.Actions; using TheGuysYouDespise; using UnityEngine; namespace spaar.Mods.Automatron { public class AutomatronMod : BlockMod { public override string Name { get; } = "automatron"; public overri...
using System; using System.Collections.Generic; using Blocks; using spaar.ModLoader; using spaar.Mods.Automatron.Actions; using TheGuysYouDespise; using UnityEngine; namespace spaar.Mods.Automatron { public class AutomatronMod : BlockMod { public override string Name { get; } = "automatron"; public overri...
mit
C#
5a5e212dc73e6981c736652e25d551ceed56e40d
Fix photo change
Barrelrolla/MonsterClicker
MonsterClicker/MonsterClicker/Monster.cs
MonsterClicker/MonsterClicker/Monster.cs
using System; using System.Collections.Generic; namespace MonsterClicker { using Interfaces; using System.Numerics; using System.Windows.Forms; public class Monster : IMonster { private BigInteger health; private static BigInteger startHealth = 10; private BigIn...
using System; using System.Collections.Generic; namespace MonsterClicker { using Interfaces; using System.Numerics; using System.Windows.Forms; public class Monster : IMonster { private BigInteger health; private static BigInteger startHealth = 10; private BigIn...
mit
C#
7e6daf5e767c9e04a6def9cd4f9c958b21c69262
fix portable compile
lontivero/NBitcoin,NicolasDorier/NBitcoin,MetacoSA/NBitcoin,MetacoSA/NBitcoin,stratisproject/NStratis,thepunctuatedhorizon/BrickCoinAlpha.0.0.1,bitcoinbrisbane/NBitcoin,HermanSchoenfeld/NBitcoin,dangershony/NStratis
NBitcoin/Crypto/DeterministicECDSA.cs
NBitcoin/Crypto/DeterministicECDSA.cs
using NBitcoin.BouncyCastle.Crypto; using NBitcoin.BouncyCastle.Crypto.Parameters; using NBitcoin.BouncyCastle.Crypto.Signers; using NBitcoin.BouncyCastle.Security; using System.Linq; namespace NBitcoin.Crypto { static class DeterministicDSAExtensions { public static void Update(this IMac hmac, byte[] i...
using NBitcoin.BouncyCastle.Crypto; using NBitcoin.BouncyCastle.Crypto.Parameters; using NBitcoin.BouncyCastle.Crypto.Signers; using NBitcoin.BouncyCastle.Security; using System.Linq; namespace NBitcoin.Crypto { public class DeterministicECDSA : ECDsaSigner { private byte[] _buffer = new byte[0]; pri...
mit
C#
2d489065230bab8802506813ca8c35eb672aeb4a
Use Marshaller methods in Argv for g_malloc and g_free
sillsdev/gtk-sharp,antoniusriha/gtk-sharp,akrisiun/gtk-sharp,orion75/gtk-sharp,Gankov/gtk-sharp,Gankov/gtk-sharp,openmedicus/gtk-sharp,openmedicus/gtk-sharp,antoniusriha/gtk-sharp,sillsdev/gtk-sharp,openmedicus/gtk-sharp,openmedicus/gtk-sharp,orion75/gtk-sharp,antoniusriha/gtk-sharp,sillsdev/gtk-sharp,Gankov/gtk-sharp,...
glib/Argv.cs
glib/Argv.cs
// GLib.Argv.cs : Argv marshaling class // // Author: Mike Kestner <mkestner@novell.com> // // Copyright (c) 2004 Novell, Inc. // // 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 Fou...
// GLib.Argv.cs : Argv marshaling class // // Author: Mike Kestner <mkestner@novell.com> // // Copyright (c) 2004 Novell, Inc. // // 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 Fou...
lgpl-2.1
C#
dccf6119c20cffafd5c8d3ffde44d427d6956285
Use zip!
shiftkey/SignalR,shiftkey/SignalR
SignalR/Hubs/Lookup/DefaultParameterResolver.cs
SignalR/Hubs/Lookup/DefaultParameterResolver.cs
using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace SignalR.Hubs { public class DefaultParameterResolver : IParameterResolver { /// <summary> /// Resolves a parameter value based on the provided object. /// </summary> /// <param name="descriptor">Para...
using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace SignalR.Hubs { public class DefaultParameterResolver : IParameterResolver { /// <summary> /// Resolves a parameter value based on the provided object. /// </summary> /// <param name="descriptor">Para...
mit
C#
5a9ae8ddeb7bd006a424b4ef5c14f383c2487ec1
Add await to console.Log calls.
xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp
Tools/generator-electron-dotnet/generators/app/templates/dotnet-websharp/src/websharp.cs
Tools/generator-electron-dotnet/generators/app/templates/dotnet-websharp/src/websharp.cs
using System; using System.Threading.Tasks; using WebSharpJs.NodeJS; //namespace <%- wsClassName %> //{ public class Startup { static WebSharpJs.NodeJS.Console console; /// <summary> /// Default entry into managed code. /// </summary> /// <param name="input"></param>...
using System; using System.Threading.Tasks; using WebSharpJs.NodeJS; //namespace <%- wsClassName %> //{ public class Startup { static WebSharpJs.NodeJS.Console console; /// <summary> /// Default entry into managed code. /// </summary> /// <param name="input"></param>...
mit
C#
4de8786b3db252da44b78e7bc752031b88753888
Implement missing FontsHandler.FontFamilyAvailable
bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto
Source/Eto.Platform.Wpf/Drawing/FontsHandler.cs
Source/Eto.Platform.Wpf/Drawing/FontsHandler.cs
using Eto.Drawing; using System; using System.Collections.Generic; using System.Linq; using System.Text; using swm = System.Windows.Media; namespace Eto.Platform.Wpf.Drawing { public class FontsHandler : WidgetHandler<Widget>, IFonts { HashSet<string> availableFontFamilies; public IEnumerable<FontFamily> A...
using Eto.Drawing; using System; using System.Collections.Generic; using System.Linq; using System.Text; using swm = System.Windows.Media; namespace Eto.Platform.Wpf.Drawing { public class FontsHandler : WidgetHandler<Widget>, IFonts { public IEnumerable<FontFamily> AvailableFontFamilies { get { return swm.Fo...
bsd-3-clause
C#
043199512ff5cb381135dbe2a34d291a5ef89cdf
Add BGP header to all BGP message types
mstrother/BmpListener
BmpListener/Bmp/PeerUpNotification.cs
BmpListener/Bmp/PeerUpNotification.cs
using System; using System.Linq; using System.Net; using BmpListener.Bgp; namespace BmpListener.Bmp { public class PeerUpNotification : BmpMessage { public PeerUpNotification(BmpHeader bmpHeader, ArraySegment<byte> data) : base(bmpHeader, ref data) { ParseBody(data); ...
using System; using System.Linq; using System.Net; using BmpListener.Bgp; namespace BmpListener.Bmp { public class PeerUpNotification : BmpMessage { public PeerUpNotification(BmpHeader bmpHeader, ArraySegment<byte> data) : base(bmpHeader, ref data) { ParseBody(data); ...
mit
C#
fb0cf62ff2dbe8bb46a307fd8671344600601ac5
Add DebuggerDisplay to RequestKey.
tiesmaster/DCC,tiesmaster/DCC
Dcc/RequestKey.cs
Dcc/RequestKey.cs
using System.Diagnostics; using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace Tiesmaster.Dcc { // ReSharper disable once UseNameofExpression [DebuggerDisplay("{DebuggerDisplay,nq}")] public struct RequestKey { private readonly string _method; ...
using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace Tiesmaster.Dcc { public struct RequestKey { private readonly string _method; private readonly PathString _path; public RequestKey(HttpRequest request) { _method = reques...
mit
C#
e01393f257a3210ea84ee42a855befe1da0c4430
Fix GitIsDetached
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/Tools/Git/GitTasks.cs
source/Nuke.Common/Tools/Git/GitTasks.cs
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; namespace Nuke.Common.Tools.Git { public static partial class GitTasks { public static bool GitIsDetached() { ret...
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; namespace Nuke.Common.Tools.Git { public static partial class GitTasks { public static bool GitIsDetached() { ret...
mit
C#
98b5a136bfb71ab123d715f5b2242fd00ddad936
clean BaseEntity
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
src/WeihanLi.Common/Models/BaseEntity.cs
src/WeihanLi.Common/Models/BaseEntity.cs
namespace WeihanLi.Common.Models { public class BaseEntity<TKey> { public TKey Id { get; set; } } public class BaseEntityWithDeleted<TKey> { public TKey Id { get; set; } public bool IsDeleted { get; set; } } public class BaseEntityWithReviewState<TKey> { ...
namespace WeihanLi.Common.Models { public class BaseEntity<TKey> { public TKey Id { get; set; } } public class BaseEntityWithDeleted<TKey> { public TKey Id { get; set; } public bool IsDeleted { get; set; } } public class BaseEntityWithReviewState<TKey> { ...
mit
C#
4fb1f5bc1dd5ca8f264c0535e3306f7cbef527ce
Use product_build database.
dbsafe/dbsafe
PgDbSafeTests/PgDatabaseClientTest.cs
PgDbSafeTests/PgDatabaseClientTest.cs
using DbSafe; using DbSafe.FileDefinition; using Microsoft.VisualStudio.TestTools.UnitTesting; using PgDbSafe; using System.Xml.Linq; namespace PgDbSafeTests { [TestClass] public class PgDatabaseClientTest { private PgDatabaseClient _target; [TestInitialize] public void Initialize(...
using DbSafe; using DbSafe.FileDefinition; using Microsoft.VisualStudio.TestTools.UnitTesting; using PgDbSafe; using System.Xml.Linq; namespace PgDbSafeTests { [TestClass] public class PgDatabaseClientTest { private PgDatabaseClient _target; [TestInitialize] public void Initialize(...
mit
C#
08d9c8c57a0a4118f27ce54f3e1a15c382a76562
Remove unused namespace
WaltChen/NDatabase,WaltChen/NDatabase
src/TypeResolution/TypeResolutionUtils.cs
src/TypeResolution/TypeResolutionUtils.cs
using System; namespace NDatabase.TypeResolution { /// <summary> /// Helper methods with regard to type resolution. /// </summary> internal static class TypeResolutionUtils { private static readonly ITypeResolver InternalTypeResolver = new CachedTypeResolver(new Generi...
using System; using System.Diagnostics.Contracts; namespace NDatabase.TypeResolution { /// <summary> /// Helper methods with regard to type resolution. /// </summary> internal static class TypeResolutionUtils { private static readonly ITypeResolver InternalTypeResolver = ne...
apache-2.0
C#
a0b3abe9550143bd9d46681d6a8bacee16a0d8bf
rename purchase id parameter
raoulmillais/SevenDigital.Api.Wrapper,actionshrimp/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api.Wrapper,AnthonySteele/SevenDigital.Api.Wrapper,bettiolo/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigita...
src/SevenDigital.Api.Wrapper/Extensions/HasPurchaseIdParameterExtensions.cs
src/SevenDigital.Api.Wrapper/Extensions/HasPurchaseIdParameterExtensions.cs
using SevenDigital.Api.Schema.ParameterDefinitions.Get; namespace SevenDigital.Api.Wrapper { public static class HasPurchaseIdParameterExtensions { public static IFluentApi<T> WithPurchaseId<T>(this IFluentApi<T> api, string basketId) where T : HasPurchaseIdParameter { api.WithParameter("basketId", ba...
using SevenDigital.Api.Schema.ParameterDefinitions.Get; namespace SevenDigital.Api.Wrapper { public static class HasPurchaseIdParameter { public static IFluentApi<T> WithPurchaseId<T>(this IFluentApi<T> api, string basketId) where T : HasBasketParameter { api.WithParameter("basketId", basketId); r...
mit
C#
73a7ff2427e3d8c81c4d7f9b884a166e12def202
remove unused using
agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov
WebAPI.API/Controllers/HomeController.cs
WebAPI.API/Controllers/HomeController.cs
using System.Linq; using System.Web.Mvc; using WebAPI.API.Commands.Sgid; using WebAPI.API.Models.ViewModels; using WebAPI.Common.Executors; namespace WebAPI.API.Controllers { public class HomeController : Controller { #if !DEBUG [OutputCache(Duration=9999)] #endif [HttpGet] public Acti...
using System.Globalization; using System.Linq; using System.Web.Mvc; using WebAPI.API.Commands.Sgid; using WebAPI.API.Models.ViewModels; using WebAPI.Common.Executors; namespace WebAPI.API.Controllers { public class HomeController : Controller { #if !DEBUG [OutputCache(Duration=9999)] #endif [...
mit
C#
6c7d1fabbc5c887acdb68517cd197c11a0c7dcbc
make sure you have an exception to exclude
ucdavis/Purchasing,ucdavis/Purchasing,ucdavis/Purchasing
Purchasing.Mvc/App_Start/LogConfig.cs
Purchasing.Mvc/App_Start/LogConfig.cs
using System.Web; using Serilog; using SerilogWeb.Classic.Enrichers; namespace Purchasing.Mvc { /// <summary> /// Configure Application Logging /// </summary> public static class LogConfig { private static bool _loggingSetup; /// <summary> /// Configure Application Logging ...
using System.Web; using Serilog; using SerilogWeb.Classic.Enrichers; namespace Purchasing.Mvc { /// <summary> /// Configure Application Logging /// </summary> public static class LogConfig { private static bool _loggingSetup; /// <summary> /// Configure Application Logging ...
mit
C#
ef36f1b3cf787c896d51b8362d9b5875ce008458
fix Constraint again (missed a NOT operator)
McSherry/Zener
Net/Constraint.cs
Net/Constraint.cs
/* * Copyright (c) 2014-2015, Liam McSherry * All Rights reserved. * * Released under BSD 3-Clause licence. See terms in * /LICENCE, or online: http://opensource.org/licenses/BSD-3-Clause */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using Syst...
/* * Copyright (c) 2014-2015, Liam McSherry * All Rights reserved. * * Released under BSD 3-Clause licence. See terms in * /LICENCE, or online: http://opensource.org/licenses/BSD-3-Clause */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using Syst...
bsd-3-clause
C#
b0f6d183306bfd302e10233f43e83738bf8360b3
Remove Google Analytics from Error.cshtml
azyobuzin/NuGetCalcWeb,azyobuzin/NuGetCalcWeb
NuGetCalcWeb/Views/Error.cshtml
NuGetCalcWeb/Views/Error.cshtml
@using NuGetCalcWeb.ViewModels @inherits AppTemplateBase<ErrorModel> @{ Layout = "_Layout"; ViewBag.Title = "An error caused - NuGetCalc"; ViewBag.NoIndex = true; ViewBag.NoAnalytics = true; } <div class="container"> <h1>@Model.Header</h1> @if (!string.IsNullOrEmpty(Model.Message)) { ...
@using NuGetCalcWeb.ViewModels @inherits AppTemplateBase<ErrorModel> @{ Layout = "_Layout"; ViewBag.Title = "An error caused - NuGetCalc"; ViewBag.NoIndex = true; } <div class="container"> <h1>@Model.Header</h1> @if (!string.IsNullOrEmpty(Model.Message)) { <p>@Model.Message</p> } ...
mit
C#
058e3f400544a948726936893e699639b4bea1a3
remove unused conditional
mstama/Trains
Trains/Models/Graph.cs
Trains/Models/Graph.cs
using System; using System.Collections.Generic; using System.Text; using Trains.Interfaces; namespace Trains.Models { /// <summary> /// Represents a graph /// </summary> public class Graph : IGraph { /// <summary> /// Towns registered /// </summary> public IDictiona...
using System; using System.Collections.Generic; using System.Text; using Trains.Interfaces; namespace Trains.Models { /// <summary> /// Represents a graph /// </summary> public class Graph : IGraph { /// <summary> /// Towns registered /// </summary> public IDictiona...
mit
C#
eb4736f8a35c97d8d065800896475b6a659406fe
build version number bump
Pliner/EasyNetQ.Management.Client,EasyNetQ/EasyNetQ.Management.Client,chinaboard/EasyNetQ.Management.Client,alexwiese/EasyNetQ.Management.Client,LawrenceWard/EasyNetQ.Management.Client,micdenny/EasyNetQ.Management.Client,micdenny/EasyNetQ.Management.Client,Pliner/EasyNetQ.Management.Client,EasyNetQ/EasyNetQ.Management....
Source/Version.cs
Source/Version.cs
using System.Reflection; // EasyNetQ verion number: <major>.<minor>.0.<build> [assembly: AssemblyVersion("0.2.0.1")] // 0.2 Updgrade to RabbitMQ.Client 2.7.0.0 // 0.1 Initial
using System.Reflection; // EasyNetQ verion number: <major>.<minor>.0.<build> [assembly: AssemblyVersion("0.2.0.0")] // 0.2 Updgrade to RabbitMQ.Client 2.7.0.0 // 0.1 Initial
mit
C#
49b5055d281426187694a63467cb53c9bc1e5315
Use semver and update assembly version
Miaplaza/expression-utils
ExpressionUtils/Properties/AssemblyInfo.cs
ExpressionUtils/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: AssemblyTit...
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: AssemblyTit...
mit
C#