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
fa07355b3ec7c0b4dfc079da2300be7997900dca
Implement Container
ziyasal/loopback-sdk-net,ziyasal/loopback-sdk-net,ziyasal/loopback-sdk-net
src/LoopBack.Sdk.Xamarin/Loopback/Container.cs
src/LoopBack.Sdk.Xamarin/Loopback/Container.cs
using System; using System.Collections.Generic; using LoopBack.Sdk.Xamarin.Remooting; using PCLStorage; namespace LoopBack.Sdk.Xamarin.Loopback { public class Container : VirtualObject { public virtual string Name { set; get; } /// <summary> /// Upload a new file /// </summary...
using System; using System.Collections.Generic; using LoopBack.Sdk.Xamarin.Remooting; using PCLStorage; namespace LoopBack.Sdk.Xamarin.Loopback { public class Container : VirtualObject { public virtual string Name { set; get; } public virtual void Upload(IFile file, Action<File> onSuccess, A...
mit
C#
e1865d8b62ee87a377a21ce314df9f912583a0bb
Remove use of Iesi-specific API.
fredericDelaporte/nhibernate-core,fredericDelaporte/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nkreipke/nhibernate-core,livioc/nhibernate-core,RogerKratz/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,hazzik/nhibernate-core,ngbrown/nhibernate-core,ngbrown/nhibernate-core,hazzik/nhi...
src/NHibernate.Test/DebugConnectionProvider.cs
src/NHibernate.Test/DebugConnectionProvider.cs
using System; using System.Collections; using System.Collections.Generic; using System.Data; using Iesi.Collections.Generic; using NHibernate.Connection; namespace NHibernate.Test { /// <summary> /// This connection provider keeps a list of all open connections, /// it is used when testing to check that tests cle...
using System; using System.Collections; using System.Collections.Generic; using System.Data; using Iesi.Collections.Generic; using NHibernate.Connection; namespace NHibernate.Test { /// <summary> /// This connection provider keeps a list of all open connections, /// it is used when testing to check that tests cle...
lgpl-2.1
C#
be41da85f0cf12e5616316e7136a434fe34f2e8b
Add comments
AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSh...
src/Package/Impl/Plots/IPlotContentProvider.cs
src/Package/Impl/Plots/IPlotContentProvider.cs
using System; using System.Windows; namespace Microsoft.VisualStudio.R.Package.Plots { /// <summary> /// Plot content provider to load and consume plot content /// </summary> internal interface IPlotContentProvider { /// <summary> /// Event raised when UIElement is loaded, content ...
using System; using System.Windows; namespace Microsoft.VisualStudio.R.Package.Plots { /// <summary> /// Plot content provider to load and consume plot content /// </summary> internal interface IPlotContentProvider { /// <summary> /// Event raised when UIElement is loaded, content ...
mit
C#
62f7238796b339fa35ea4e0e383fbaf904edcd7d
Make CMethodId readonly
adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress
src/SharpCompress/Common/SevenZip/CMethodId.cs
src/SharpCompress/Common/SevenZip/CMethodId.cs
namespace SharpCompress.Common.SevenZip { internal readonly struct CMethodId { public const ulong K_COPY_ID = 0; public const ulong K_LZMA_ID = 0x030101; public const ulong K_LZMA2_ID = 0x21; public const ulong K_AES_ID = 0x06F10701; public static readonly CMethodId K_C...
namespace SharpCompress.Common.SevenZip { internal struct CMethodId { public const ulong K_COPY_ID = 0; public const ulong K_LZMA_ID = 0x030101; public const ulong K_LZMA2_ID = 0x21; public const ulong K_AES_ID = 0x06F10701; public static readonly CMethodId K_COPY = new...
mit
C#
ceaae13575cb1ff8db556e1de3605ca77fe05b01
Make DoNotCloneAttribute public
JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,bjarnef/Umbraco-CMS,leekelleher/Umbraco-CMS,mattbrailsford/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,umbraco/Umbrac...
src/Umbraco.Core/Models/DoNotCloneAttribute.cs
src/Umbraco.Core/Models/DoNotCloneAttribute.cs
using System; namespace Umbraco.Core.Models { /// <summary> /// Used to attribute properties that have a setter and are a reference type /// that should be ignored for cloning when using the DeepCloneHelper /// </summary> /// <remarks> /// /// This attribute must be used: /// * when th...
using System; namespace Umbraco.Core.Models { /// <summary> /// Used to attribute properties that have a setter and are a reference type /// that should be ignored for cloning when using the DeepCloneHelper /// </summary> /// <remarks> /// /// This attribute must be used: /// * when th...
mit
C#
a5c29c69cf2eb2bcceb6adf1fe0fe3ad58772525
Disable text tests for now
SteamDatabase/ValveResourceFormat
Tests/TextureTests.cs
Tests/TextureTests.cs
using System; using System.Drawing.Imaging; using System.IO; using NUnit.Framework; using ValveResourceFormat; using ValveResourceFormat.ResourceTypes; namespace Tests { public class TextureTests { [Test] [Ignore("Need a better way of testing images rather than comparing the files directly")] ...
using System; using System.Drawing.Imaging; using System.IO; using NUnit.Framework; using ValveResourceFormat; using ValveResourceFormat.ResourceTypes; namespace Tests { public class TextureTests { [Test] public void Test() { var path = Path.Combine(TestContext.CurrentConte...
mit
C#
6ff70a04d430983ab529ce40425a4a81eb37d9af
add support for per developer config files
sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp
src/Satrabel.OpenApp.Domain/Configuration/AppConfigurations.cs
src/Satrabel.OpenApp.Domain/Configuration/AppConfigurations.cs
using System; using System.Collections.Concurrent; using System.IO; using Abp.Extensions; using Abp.Reflection.Extensions; using Microsoft.Extensions.Configuration; namespace Satrabel.OpenApp.Configuration { public static class AppConfigurations { private static readonly ConcurrentDictionary<string, I...
using System.Collections.Concurrent; using Abp.Extensions; using Abp.Reflection.Extensions; using Microsoft.Extensions.Configuration; namespace Satrabel.OpenApp.Configuration { public static class AppConfigurations { private static readonly ConcurrentDictionary<string, IConfigurationRoot> Configuratio...
mit
C#
6440ec51d6f1010fb44bc4f5de4eab3811594d72
Fix for invalid syntax
thinkabouthub/NugetyCore
src/NugetyCore.AspNetCore/Extensions/Microsoft.Extensions.DependencyInjection.IMvcBuilder.cs
src/NugetyCore.AspNetCore/Extensions/Microsoft.Extensions.DependencyInjection.IMvcBuilder.cs
using System; using System.Collections.Generic; using Microsoft.Extensions.DependencyInjection; namespace Nugety { public static class IMvcBuilderExtensions { public static IMvcBuilder InitialiseModules(this IMvcBuilder builder, IEnumerable<IModuleInitializer> modules) { foreach (v...
using System; using System.Collections.Generic; using Microsoft.Extensions.DependencyInjection; namespace Nugety { public static class IMvcBuilderExtensions { public static IMvcBuilder InitialiseModules(this IMvcBuilder builder, IEnumerable<IModuleInitializer> modules) { foreach (v...
agpl-3.0
C#
34077a01266f39236e93a45f0c512b5372e94b16
Update WalletWasabi.Fluent/ViewModels/Dialog/IDialogHost.cs
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/Dialog/IDialogHost.cs
WalletWasabi.Fluent/ViewModels/Dialog/IDialogHost.cs
using System; namespace WalletWasabi.Fluent.ViewModels.Dialog { /// <summary> /// Interface for ViewModels that can host a modal dialog. /// </summary> public interface IDialogHost { /// <summary> /// The currently active dialog. The modal dialog UI should close when this is null. /// </summary> DialogVie...
#nullable enable using System; namespace WalletWasabi.Fluent.ViewModels.Dialog { /// <summary> /// Interface for ViewModels that can host a modal dialog. /// </summary> public interface IDialogHost { /// <summary> /// The currently active dialog. The modal dialog UI should close when this is null. /// </su...
mit
C#
0cab02e955cf76c8b78c4887af0dac274c4ca26d
insert seed data into demo db
christianacca/EntityFramework-MultiMigrate,christianacca/EntityFramework-MultiMigrate,christianacca/EntityFramework-MultiMigrate,christianacca/EntityFramework-MultiMigrate
sample/SegregatedMigrationSample/LibraryMigrations/Migrations/Configuration.cs
sample/SegregatedMigrationSample/LibraryMigrations/Migrations/Configuration.cs
using System.Data.Entity.Migrations; using CcAcca.BaseLibrary; using BaseLibraryConfiguration = CcAcca.BaseLibraryMigrations.Migrations.Configuration; namespace CcAcca.LibraryMigrations.Migrations { public sealed class Configuration : DbMigrationsConfiguration<LibraryDbContext> { public Configuration()...
using System.Data.Entity.Migrations; using CcAcca.BaseLibrary; using BaseLibraryConfiguration = CcAcca.BaseLibraryMigrations.Migrations.Configuration; namespace CcAcca.LibraryMigrations.Migrations { public sealed class Configuration : DbMigrationsConfiguration<LibraryDbContext> { public Configuration()...
mit
C#
7f5a3398f3f24c5ca49e033af8757e97f4e39cef
Fix enum comparision in `LocalisableStringEqualityComparer`
smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework
osu.Framework/Localisation/LocalisableStringEqualityComparer.cs
osu.Framework/Localisation/LocalisableStringEqualityComparer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; namespace osu.Framework.Localisation { /// <summary> /// An equality comparer for the <see cref="LocalisableStrin...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; namespace osu.Framework.Localisation { /// <summary> /// An equality comparer for the <see cref="LocalisableStrin...
mit
C#
0e9d860ec09beb750090e430c83d0f38b6048b0d
Ajuste na validação IE Alagoas
martinusso/docsbr.net
DocsBr/Validation/IE/IEAlagoasValidator.cs
DocsBr/Validation/IE/IEAlagoasValidator.cs
using System; using System.Linq; using DocsBr.Utils; namespace DocsBr.Validation.IE { public class IEAlagoasValidator : IIEValidator { private string inscEstadual; public IEAlagoasValidator(string inscEstadual) { this.inscEstadual = new OnlyNumbers(inscEstadual).ToString()...
using System; using System.Linq; using DocsBr.Utils; namespace DocsBr.Validation.IE { public class IEAlagoasValidator : IIEValidator { private string inscEstadual; public IEAlagoasValidator(string inscEstadual) { this.inscEstadual = new OnlyNumbers(inscEstadual).ToString()...
mit
C#
ae7f4f9a1a47dbb08e51a99fc6edbc0598334ba1
Support to map swagger UI to application root url
domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy
src/Swashbuckle.AspNetCore.SwaggerUI/Application/SwaggerUIBuilderExtensions.cs
src/Swashbuckle.AspNetCore.SwaggerUI/Application/SwaggerUIBuilderExtensions.cs
using System; using Microsoft.AspNetCore.StaticFiles; using Swashbuckle.AspNetCore.SwaggerUI; namespace Microsoft.AspNetCore.Builder { public static class SwaggerUIBuilderExtensions { public static IApplicationBuilder UseSwaggerUI( this IApplicationBuilder app, Action<SwaggerUI...
using System; using Microsoft.AspNetCore.StaticFiles; using Swashbuckle.AspNetCore.SwaggerUI; namespace Microsoft.AspNetCore.Builder { public static class SwaggerUIBuilderExtensions { public static IApplicationBuilder UseSwaggerUI( this IApplicationBuilder app, Action<SwaggerUI...
mit
C#
ef33d70f96417a8bccb3814d6f9781fb94a72ac4
Use animation
sakapon/Tools-2016
IntelliRps/IntelliRpsLeap/MainViewModel.cs
IntelliRps/IntelliRpsLeap/MainViewModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Windows; using IntelliRps; using Reactive.Bindings; namespace IntelliRpsLeap { public class MainViewModel { public static readonly Func<RpsShape?, string> ToImagePath1 = s => s.HasVa...
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Windows; using IntelliRps; using Reactive.Bindings; namespace IntelliRpsLeap { public class MainViewModel { public static readonly Func<RpsShape?, string> ToImagePath1 = s => s.HasVa...
mit
C#
404a6b231ddef2ec7b4b4f012feb1dd0965d571e
Fix .NET 461 failures
adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress
tests/SharpCompress.Test/Zip/ZipWriterTests.cs
tests/SharpCompress.Test/Zip/ZipWriterTests.cs
using System.Text; using SharpCompress.Common; using Xunit; namespace SharpCompress.Test.Zip { public class ZipWriterTests : WriterTests { public ZipWriterTests() : base(ArchiveType.Zip) { } [Fact] public void Zip_Deflate_Write() { Wri...
using SharpCompress.Common; using Xunit; namespace SharpCompress.Test.Zip { public class ZipWriterTests : WriterTests { public ZipWriterTests() : base(ArchiveType.Zip) { } #if !NET461 // Failing on net461 [Fact] public void Zip_Deflate_Write() ...
mit
C#
09f9c480e4073cbbd1e7e5759a28c512e0ad1485
Add registration options for hover request
PowerShell/PowerShellEditorServices
src/PowerShellEditorServices.Protocol/LanguageServer/Hover.cs
src/PowerShellEditorServices.Protocol/LanguageServer/Hover.cs
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Sy...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Sy...
mit
C#
c20f72fa080b1bb1393d15c5191e30130964db44
Fix VSTS build API url: "builds" should be "build" (#1303)
ericstj/buildtools,nguerrera/buildtools,chcosta/buildtools,alexperovich/buildtools,alexperovich/buildtools,dotnet/buildtools,mmitche/buildtools,crummel/dotnet_buildtools,MattGal/buildtools,MattGal/buildtools,tarekgh/buildtools,ericstj/buildtools,AlexGhiondea/buildtools,karajas/buildtools,dotnet/buildtools,AlexGhiondea/...
src/Microsoft.DotNet.Build.VstsBuildsApi/VstsBuildHttpClient.cs
src/Microsoft.DotNet.Build.VstsBuildsApi/VstsBuildHttpClient.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.DotNet.Build.VstsBuildsApi.Configuration; using Newtonsoft.Json.Linq; using System; namespace Micr...
// 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.DotNet.Build.VstsBuildsApi.Configuration; using Newtonsoft.Json.Linq; using System; namespace Micr...
mit
C#
e6992e15dfe8ec53c29d482c73a61fcfaa1222d5
make sure we don't check for null twice
mruhul/Bolt.MayBe
src/Bolt.MayBe/MayBe.cs
src/Bolt.MayBe/MayBe.cs
namespace Bolt.Monad { public class MayBe<T> { public static readonly MayBe<T> None = new MayBe<T>(); private MayBe() { } public MayBe(T value) { Value = value; HasValue = value != null; } internal MayBe(T value, ...
namespace Bolt.Monad { public class MayBe<T> { public static readonly MayBe<T> None = new MayBe<T>(); private MayBe() { } public MayBe(T value) { Value = value; HasValue = value != null; } public T Value { get; pr...
apache-2.0
C#
2eda70542f4c063fe77f7026eba69153ea087aec
rename macro container to macro picker
NikRimington/Umbraco-CMS,marcemarc/Umbraco-CMS,WebCentrum/Umbraco-CMS,robertjf/Umbraco-CMS,arknu/Umbraco-CMS,PeteDuncanson/Umbraco-CMS,aadfPT/Umbraco-CMS,marcemarc/Umbraco-CMS,umbraco/Umbraco-CMS,kgiszewski/Umbraco-CMS,abryukhov/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,aadfPT/Umbraco-CMS,base33/Umbraco-CMS,hf...
src/Umbraco.Web/PropertyEditors/MacroContainerPropertyEditor.cs
src/Umbraco.Web/PropertyEditors/MacroContainerPropertyEditor.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Umbraco.Core; using Umbraco.Core.PropertyEditors; namespace Umbraco.Web.PropertyEditors { [PropertyEditor(Constants.PropertyEditors.MacroContainerAlias, "Macro Picker", "macroconta...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Umbraco.Core; using Umbraco.Core.PropertyEditors; namespace Umbraco.Web.PropertyEditors { [PropertyEditor(Constants.PropertyEditors.MacroContainerAlias, "Macro container", "macroco...
mit
C#
0df08b681e6413160794528f89eede7bce3f5bb0
update version
SamuelDebruyn/MugenMvvmToolkit.DryIoc,SamuelDebruyn/MugenMvvmToolkit.DryIoc
build.cake
build.cake
const string version = "1.1.2"; const string defaultTarget = "Default"; const string solutionPath = "./MugenMvvmToolkit.DryIoc.sln"; const string projectPath = "./MugenMvvmToolkit.DryIoc/MugenMvvmToolkit.DryIoc.csproj"; const string testProjectPath = "./MugenMvvmToolkit.DryIoc.Tests/MugenMvvmToolkit.DryIoc.Tests.cspro...
const string version = "1.1.1"; const string defaultTarget = "Default"; const string solutionPath = "./MugenMvvmToolkit.DryIoc.sln"; const string projectPath = "./MugenMvvmToolkit.DryIoc/MugenMvvmToolkit.DryIoc.csproj"; const string testProjectPath = "./MugenMvvmToolkit.DryIoc.Tests/MugenMvvmToolkit.DryIoc.Tests.cspro...
mit
C#
4b20df12cd15c09ad002aa85dec6a4af83bbaa99
Build Script - cleanup and filling out vars
jonathanpeppers/Live.Forms.iOS,jonathanpeppers/Live.Forms.iOS
build.cake
build.cake
//#tool nuget:?package=NUnit.ConsoleRunner&version=3.4.0 string target = Argument("target", "Default"); string configuration = Argument("configuration", "Release"); // Define directories. var dirs = new[] { Directory("./Live.Forms/bin") + Directory(configuration), Directory("./Live.Forms.iOS/bin") + Director...
//#tool nuget:?package=NUnit.ConsoleRunner&version=3.4.0 var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); // Define directories. var buildDir = Directory("./src/Example/bin") + Directory(configuration); Task("Clean") .Does(() => { CleanDirectory(buildDir);...
mit
C#
aee8449502917d55023d094e82e0d04c5785a3bd
Copy Nupkg to artifacts folder
danielwertheim/mycouch,danielwertheim/mycouch
build.cake
build.cake
#load "./buildconfig.cake" var config = BuildConfig.Create(Context, BuildSystem); Information("SrcDir: " + config.SrcDir); Information("OutDir: " + config.OutDir); Information("SemVer: " + config.SemVer); Information("BuildProfile: " + config.BuildProfile); Information("IsTeamCityBuild: " + config.IsTeamCityBuild); ...
#load "./buildconfig.cake" var config = BuildConfig.Create(Context, BuildSystem); Information("SrcDir: " + config.SrcDir); Information("OutDir: " + config.OutDir); Information("SemVer: " + config.SemVer); Information("BuildProfile: " + config.BuildProfile); Information("IsTeamCityBuild: " + config.IsTeamCityBuild); ...
mit
C#
3f890d1767efb3b6db18edca8c24ae36f0a57ccc
exclude package restore for tests
IdentityModel/IdentityModelv2,IdentityModel/IdentityModelv2,IdentityModel/IdentityModel2,IdentityModel/IdentityModel,IdentityModel/IdentityModel,IdentityModel/IdentityModel2
build.cake
build.cake
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var isLocalBuild ...
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var isLocalBuild ...
apache-2.0
C#
ea088deeeae31087dd0a9377fe5c6f8a34a0d8ed
Update DbContextExtensions.cs
refactorthis/GraphDiff
GraphDiff/GraphDiff/DbContextExtensions.cs
GraphDiff/GraphDiff/DbContextExtensions.cs
/* * This code is provided as is with no warranty. If you find a bug please report it on github. * If you would like to use the code please leave this comment at the top of the page * License MIT (c) Brent McKendrick 2012 */ using System; using System.Data.Entity; using System.Linq.Expressions; using Refa...
/* * This code is provided as is with no warranty. If you find a bug please report it on github. * If you would like to use the code please leave this comment at the top of the page * License MIT (c) Brent McKendrick 2012 */ using System; using System.Data.Entity; using System.Linq.Expressions; using Ref...
mit
C#
cb7252a97e46a6e21ead7ce5ff4b5d40db8d70d5
Fix tests, but not seeding Database anymore
kandanda/Client,kandanda/Client
Kandanda/Kandanda.Dal/KandandaDbContext.cs
Kandanda/Kandanda.Dal/KandandaDbContext.cs
using System.Data.Entity; using Kandanda.Dal.DataTransferObjects; namespace Kandanda.Dal { public class KandandaDbContext : DbContext { public KandandaDbContext() { // TODO fix SetInitializer for tests Database.SetInitializer(new DropCreateDatabaseAlways<KandandaDbConte...
using System.Data.Entity; using Kandanda.Dal.DataTransferObjects; namespace Kandanda.Dal { public class KandandaDbContext : DbContext { public KandandaDbContext() { Database.SetInitializer(new SampleDataDbInitializer()); } public DbSet<Tournament> Tournaments { get...
mit
C#
8807d64bd6c43b734740dfa1cd75216e3b1572c7
Debug output for package lookup via api
NuKeeperDotNet/NuKeeper,skolima/NuKeeper,AnthonySteele/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,AnthonySteele/NuKeeper,AnthonySteele/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper
NuKeeper/NuGet/Api/PackageUpdatesLookup.cs
NuKeeper/NuGet/Api/PackageUpdatesLookup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using NuGet.Protocol.Core.Types; using NuKeeper.RepositoryInspection; namespace NuKeeper.NuGet.Api { public class PackageUpdatesLookup : IPackageUpdatesLookup { private readonly IApiPackageLookup _packageL...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using NuGet.Protocol.Core.Types; using NuKeeper.RepositoryInspection; namespace NuKeeper.NuGet.Api { public class PackageUpdatesLookup : IPackageUpdatesLookup { private readonly IApiPackageLookup _packageLookup; ...
apache-2.0
C#
17c68a649547b96886fdde66a9511bb9754a7de6
check fix
HackerDom/qctf-starter-2015,HackerDom/qctf-starter-2015,HackerDom/qctf-starter-2015,HackerDom/qctf-starter-2015
checksystem/src/chat/Check.ashx.cs
checksystem/src/chat/Check.ashx.cs
using System; using System.Linq; using System.Web; using main.auth; using main.db; namespace main.chat { public class Check : BaseHandler { protected override AjaxResult ProcessRequestInternal(HttpContext context) { var login = AuthModule.GetAuthLogin(); /*if(DateTime.UtcNow > Settings.BombTimerEnd) ...
using System; using System.Linq; using System.Web; using main.auth; using main.db; namespace main.chat { public class Check : BaseHandler { protected override AjaxResult ProcessRequestInternal(HttpContext context) { var login = AuthModule.GetAuthLogin(); /*if(DateTime.UtcNow > Settings.BombTimerEnd) ...
mit
C#
99e63ec2fa2c385de65b5569d82cda40e3ff2196
Use Helper to create instance from assembly
iahdevelop/nuPickers,JimBobSquarePants/nuPickers,LottePitcher/nuPickers,uComponents/nuPickers,abjerner/nuPickers,JimBobSquarePants/nuPickers,pgregorynz/nuPickers,iahdevelop/nuPickers,abjerner/nuPickers,pgregorynz/nuPickers,uComponents/nuPickers,pgregorynz/nuPickers,JimBobSquarePants/nuPickers,iahdevelop/nuPickers,abjer...
source/nuPickers/Shared/DotNetDataSource/DotNetDataSource.cs
source/nuPickers/Shared/DotNetDataSource/DotNetDataSource.cs
 namespace nuPickers.Shared.DotNetDataSource { using nuPickers.Shared.Editor; using System; using System.Reflection; using System.Collections.Generic; using System.Linq; public class DotNetDataSource { public string AssemblyName { get; set; } public string ClassName { get;...
 namespace nuPickers.Shared.DotNetDataSource { using nuPickers.Shared.Editor; using System; using System.Reflection; using System.Collections.Generic; using System.Linq; public class DotNetDataSource { public string AssemblyName { get; set; } public string ClassName { get;...
mit
C#
e583bf86a1c5afd34f9de2e41106259f79cdd063
Add date to status report
ndouthit/Certify,webprofusion/Certify,Prerequisite/Certify
src/Certify.Core.Models/Models/Shared/RenewalStatusReport.cs
src/Certify.Core.Models/Models/Shared/RenewalStatusReport.cs
using System; namespace Certify.Models.Shared { public class RenewalStatusReport { public string InstanceId { get; set; } public string MachineName { get; set; } public ManagedSite ManagedSite { get; set; } public string PrimaryContactEmail { get; set; } public string A...
namespace Certify.Models.Shared { public class RenewalStatusReport { public string InstanceId { get; set; } public string MachineName { get; set; } public ManagedSite ManagedSite { get; set; } public string PrimaryContactEmail { get; set; } public string AppVersion { get...
mit
C#
b0c9c865ef59b3475e9f4cfadaeac1d7b6fcf24c
Add comment on limitation of API assembly
nunit/nunit-console,nunit/nunit-console,nunit/nunit-console
src/NUnitEngine/nunit.engine.api/IRuntimeFrameworkService.cs
src/NUnitEngine/nunit.engine.api/IRuntimeFrameworkService.cs
// *********************************************************************** // Copyright (c) 2011 Charlie Poole, Rob Prouse // // 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 restr...
// *********************************************************************** // Copyright (c) 2011 Charlie Poole, Rob Prouse // // 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 restr...
mit
C#
b3270aedc8287d80690ef4b034784d5399fee002
Update BoxColliderFitChildren.cs
UnityCommunity/UnityLibrary
Assets/Scripts/Editor/ContextMenu/BoxColliderFitChildren.cs
Assets/Scripts/Editor/ContextMenu/BoxColliderFitChildren.cs
// Adjust Box Collider to fit child meshes inside // Usage: You have empty parent transform, with child meshes inside, add box collider to parent then use this // NOTE: Doesnt work if root transform is rotated using UnityEngine; using UnityEditor; namespace UnityLibrary { public class BoxColliderFitChildren : Mon...
// Adjust Box Collider to fit child meshes inside // usage: You have empty parent transform, with child meshes inside, add box collider to parent then use this using UnityEngine; using UnityEditor; namespace UnityLibrary { public class BoxColliderFitChildren : MonoBehaviour { [MenuItem("CONTEXT/BoxCol...
mit
C#
f9f5f94206f41acfd26c499ad3518b3f9da64e2e
Add `HasPriorLearning` to draft response
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Types/Responses/GetDraftApprenticeshipResponse.cs
src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Types/Responses/GetDraftApprenticeshipResponse.cs
using System; using SFA.DAS.CommitmentsV2.Types; namespace SFA.DAS.CommitmentsV2.Api.Types.Responses { public sealed class GetDraftApprenticeshipResponse { public long Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Emai...
using System; using SFA.DAS.CommitmentsV2.Types; namespace SFA.DAS.CommitmentsV2.Api.Types.Responses { public sealed class GetDraftApprenticeshipResponse { public long Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Emai...
mit
C#
c646af56e2caa8dfb0a22a093b553cf0819ce6b2
use newtonsoft serializer
0xFireball/KQAnalytics3,0xFireball/KQAnalytics3,0xFireball/KQAnalytics3
KQAnalytics3/src/KQAnalytics3/Modules/DataQueryApiModule.cs
KQAnalytics3/src/KQAnalytics3/Modules/DataQueryApiModule.cs
using KQAnalytics3.Models.Data; using KQAnalytics3.Services.DataCollection; using Nancy; using Nancy.Security; using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; using System.Text; namespace KQAnalytics3.Modules { public class DataQueryApiModule : NancyModule { public DataQuer...
using KQAnalytics3.Models.Data; using KQAnalytics3.Services.DataCollection; using Nancy; using Nancy.Security; using System.Collections.Generic; using System.Linq; namespace KQAnalytics3.Modules { public class DataQueryApiModule : NancyModule { public DataQueryApiModule() : base("/api") { ...
agpl-3.0
C#
9b484cc24a084abf99b8392ceaa99f168173bd70
Include index name in UpdateSettings test
UdiBen/elasticsearch-net,CSGOpenSource/elasticsearch-net,starckgates/elasticsearch-net,adam-mccoy/elasticsearch-net,UdiBen/elasticsearch-net,LeoYao/elasticsearch-net,CSGOpenSource/elasticsearch-net,ststeiger/elasticsearch-net,robertlyson/elasticsearch-net,tkirill/elasticsearch-net,UdiBen/elasticsearch-net,KodrAus/elast...
src/Tests/Nest.Tests.Unit/ObjectInitializer/Update/UpdateSettingsRequestTests.cs
src/Tests/Nest.Tests.Unit/ObjectInitializer/Update/UpdateSettingsRequestTests.cs
using Elasticsearch.Net; using FluentAssertions; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Nest.Tests.Unit.ObjectInitializer.Update { [TestFixture] public class UpdateSettingsRequestTe...
using Elasticsearch.Net; using FluentAssertions; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Nest.Tests.Unit.ObjectInitializer.Update { [TestFixture] public class UpdateSettingsRequestTe...
apache-2.0
C#
0348c28ab2ce932902d88896f80d062f716f3674
Use inline initialization
pardeike/Harmony
Harmony/CodeInstruction.cs
Harmony/CodeInstruction.cs
using Harmony.ILCopying; using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; namespace Harmony { public class CodeInstruction { public OpCode opcode; public object operand; public List<Label> labels = new List<Label>(); public List<ExceptionBlock> blocks = new List<ExceptionBlo...
using Harmony.ILCopying; using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; namespace Harmony { public class CodeInstruction { public OpCode opcode; public object operand; public List<Label> labels = new List<Label>(); public List<ExceptionBlock> blocks = new List<ExceptionBlo...
mit
C#
422fbf36a7495d5cbfbd30d01eec1377c3d6c291
Fix FortuneTeller for .NET4 not unregistering from eureka on app shutdown
SteelToeOSS/Samples,SteelToeOSS/Samples,SteelToeOSS/Samples,SteelToeOSS/Samples
Discovery/src/AspDotNet4/Fortune-Teller-Service4/Global.asax.cs
Discovery/src/AspDotNet4/Fortune-Teller-Service4/Global.asax.cs
using Autofac; using Autofac.Integration.WebApi; using FortuneTellerService4.Models; using Pivotal.Discovery.Client; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Web; using System.Web.Http; using System.Web.Routing; namespace FortuneTellerService4 { publ...
using Autofac; using Autofac.Integration.WebApi; using FortuneTellerService4.Models; using Pivotal.Discovery.Client; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Web; using System.Web.Http; using System.Web.Routing; namespace FortuneTellerService4 { publ...
apache-2.0
C#
14e4d1a2790310098796402fa9bdb2371feb250b
Improve layout
albinsunnanbo/html5-offline-poc,albinsunnanbo/html5-offline-poc,albinsunnanbo/html5-offline-poc
HTML5-offline-poc/src/HTML5-offline-poc/Views/Home/Index.cshtml
HTML5-offline-poc/src/HTML5-offline-poc/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <div class="row"> <div class="col-md-3"> <h2>Create items here</h2> <input type="text" id="txt-new-data" /> <button id="btn-add">Add</button> </div> <div class="col-md-3"> <h2>Items</h2> <ul id="offline-items"> @...
@{ ViewData["Title"] = "Home Page"; } <div class="row"> <div class="col-md-3"> <input type="text" id="txt-new-data" /> <button id="btn-add">Add</button> </div> <div class="col-md-3"> <h2>Items</h2> <ul id="offline-items"> @*<li>Content goes here</li>*@ ...
mit
C#
62b7b58d89bd95afe253565e5f2ee499617a0dd6
Add CR
nateforsyth/MSADevCampDay1
ConsoleApplicationGitDemo/ConsoleApplicationGitDemo/Program.cs
ConsoleApplicationGitDemo/ConsoleApplicationGitDemo/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplicationGitDemo { class Program { static void Main(string[] args) { Console.WriteLine("Hello world!"); Console.Read(); } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplicationGitDemo { class Program { static void Main(string[] args) { Console.WriteLine("Hello world!"); } } }
mit
C#
3372cec70513765fe9065db13c3afb25f9c147a7
Add extra test for generic type for naming
Moq/moq
src/Stunts/Stunts.Tests/StuntNamingTests.cs
src/Stunts/Stunts.Tests/StuntNamingTests.cs
using System; using System.Collections.Generic; using Xunit; namespace Stunts.Tests { public class StuntNamingTests { [Theory] [InlineData("StuntFactoryIDisposableIServiceProvider" + StuntNaming.DefaultSuffix, typeof(StuntFactory), typeof(IServiceProvider), typeof(IDisposable))] [Inlin...
using System; using Xunit; namespace Stunts.Tests { public class StuntNamingTests { [Theory] [InlineData("StuntFactoryIDisposableIServiceProvider" + StuntNaming.DefaultSuffix, typeof(StuntFactory), typeof(IServiceProvider), typeof(IDisposable))] public void GetNameOrdersTypes(string ex...
apache-2.0
C#
4327d319a338fd7c39e9ad83614884c5174a8d4e
include context in event POST request
CoreAPM/DotNetAgent
CoreAPM.NET.CoreMiddleware/CoreAPMMiddleware.cs
CoreAPM.NET.CoreMiddleware/CoreAPMMiddleware.cs
using System; using System.Threading.Tasks; using CoreAPM.NET.Agent; using Microsoft.AspNetCore.Http; namespace CoreAPM.NET.CoreMiddleware { public class CoreAPMMiddleware { private readonly RequestDelegate _next; private readonly IAgent _agent; private readonly Func<ITimer> newTimer; ...
using System; using System.Threading.Tasks; using CoreAPM.NET.Agent; using Microsoft.AspNetCore.Http; namespace CoreAPM.NET.CoreMiddleware { public class CoreAPMMiddleware { private readonly RequestDelegate _next; private readonly IAgent _agent; private readonly Func<ITimer> newTimer; ...
mit
C#
4a3ef400e64512db1e389b4556984b746899e507
Add Material.FromColor
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
Bindings/Portable/Material.cs
Bindings/Portable/Material.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Urho { partial class Material { public static Material FromImage(string image) { var cache = Application.Current.ResourceCache; var material = new Material(); material.SetTextur...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Urho { partial class Material { public static Material FromImage(string image) { var cache = Application.Current.ResourceCache; var material = new Material(); material.SetTextur...
mit
C#
c4497f45be9389912a44a173a84992d586c507c3
bump to v0.2.2
peters/assemblyinfo
src/assemblyinfo/Properties/AssemblyInfo.cs
src/assemblyinfo/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("as...
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("as...
mit
C#
c039528fd695d48f956c0a93bb2f9a10b0fb9753
Add Transaction APIs for executing IDeferable and IDeferable<T>.
SilkStack/Silk.Data.SQL.ORM
Silk.Data.SQL.ORM/Silk.Data/Transaction.cs
Silk.Data.SQL.ORM/Silk.Data/Transaction.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Silk.Data { public class Transaction { private readonly List<ITransactionController> _transactionControllers = new List<ITransactionController>(); private IEnumerable<ITransactionController...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Silk.Data { public class Transaction { private readonly List<ITransactionController> _transactionControllers = new List<ITransactionController>(); private IEnumerable<ITransactionController...
mit
C#
d24da454b3e5d3e3f872363a94a18ab8b790e0ca
Fix ZoneMarker: replace DaemonEngineZone with DaemonZone
ulrichb/XmlDocInspections,ulrichb/XmlDocInspections,ulrichb/XmlDocInspections
Src/XmlDocInspections.Plugin/ZoneMarker.cs
Src/XmlDocInspections.Plugin/ZoneMarker.cs
using JetBrains.Application.BuildScript.Application.Zones; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Psi.CSharp; namespace XmlDocInspections.Plugin { [ZoneMarker] public class ZoneMarker : IRequire<ILanguageCSharpZone>, IRequire<DaemonZone> { } }
using JetBrains.Application.BuildScript.Application.Zones; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Psi.CSharp; namespace XmlDocInspections.Plugin { [ZoneMarker] public class ZoneMarker : IRequire<ILanguageCSharpZone>, IRequire<DaemonEngineZone> { } }
mit
C#
134d21bf28f895089e40b58fb9de9febfd929e93
change name every time tab is open
kaviteshsingh/tabcontrol_mvvm
TabbedLayout/ViewModels/TabOneViewModel.cs
TabbedLayout/ViewModels/TabOneViewModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Input; using TabbedLayout.Commands; using TabbedLayout.Model; namespace TabbedLayout.ViewModels { class TabOneViewModel : WorkspaceViewModel { private Person _CurrentUser; public Perso...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Input; using TabbedLayout.Commands; using TabbedLayout.Model; namespace TabbedLayout.ViewModels { class TabOneViewModel : WorkspaceViewModel { private Person _CurrentUser; public Perso...
mit
C#
62003b118f714e8876b29c39b774e1f63461ece4
build floor-plane
accu-rate/SumoVizUnity,accu-rate/SumoVizUnity
Assets/Scripts/sim/Floor.cs
Assets/Scripts/sim/Floor.cs
using UnityEngine; using System.Collections.Generic; using System; public class Floor { private List<Wall> walls = new List<Wall>(); private List<WunderZone> wunderZones = new List<WunderZone>(); private string floorId; private int level; internal float elevation; private float height; in...
using UnityEngine; using System.Collections.Generic; using System; public class Floor { private List<Wall> walls = new List<Wall>(); private List<WunderZone> wunderZones = new List<WunderZone>(); private string floorId; private int level; internal float elevation; private float height; in...
mit
C#
20bd5158e4fbb81cd9f44be35d5e2719cca05993
Fix a typo
adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats
NetgearRouter.Tests/Devices/DeviceInformationExtractorTests.cs
NetgearRouter.Tests/Devices/DeviceInformationExtractorTests.cs
using System.Linq; using BroadbandStats.NetgearRouter.Devices; using NUnit.Framework; using Shouldly; namespace NetgearRouter.Tests.Devices { [TestFixture] public sealed class DeviceInformationExtractorTests { [TestCase(null)] [TestCase("")] [TestCase(" ")] [TestCase("gibb...
using System.Linq; using BroadbandStats.NetgearRouter.Devices; using NUnit.Framework; using Shouldly; namespace NetgearRouter.Tests.Devices { [TestFixture] public sealed class DeviceInformationExtractorTests { [TestCase(null)] [TestCase("")] [TestCase(" ")] [TestCase("gibb...
mit
C#
c2ff7775d1806cba4cedcad7f576b048692f1b92
fix QueryTokenPartProxy
AlejandroCano/extensions,signumsoftware/extensions,signumsoftware/framework,AlejandroCano/extensions,signumsoftware/extensions,signumsoftware/framework
Signum.React.Extensions.Selenium/Search/QueryTokenPartProxy.cs
Signum.React.Extensions.Selenium/Search/QueryTokenPartProxy.cs
using OpenQA.Selenium; using Signum.Utilities; namespace Signum.React.Selenium { public class QueryTokenPartProxy { public IWebElement Element { get; private set; } public QueryTokenPartProxy(IWebElement element) { this.Element = element; } ...
using OpenQA.Selenium; using Signum.Utilities; namespace Signum.React.Selenium { public class QueryTokenPartProxy { public IWebElement Element { get; private set; } public QueryTokenPartProxy(IWebElement element) { this.Element = element; } ...
mit
C#
0890cf12d7b91b4c8a92f256346fbc0acf7bbb8a
Update RegionalCurrencyRedirectionOptions.cs
tiksn/TIKSN-Framework
TIKSN.Core/Globalization/RegionalCurrencyRedirectionOptions.cs
TIKSN.Core/Globalization/RegionalCurrencyRedirectionOptions.cs
using System.Collections.Generic; namespace TIKSN.Globalization { public class RegionalCurrencyRedirectionOptions { public RegionalCurrencyRedirectionOptions() => this.RegionalCurrencyRedirections = new Dictionary<string, string> { {"001", "en-US"}, ...
using System.Collections.Generic; namespace TIKSN.Globalization { public class RegionalCurrencyRedirectionOptions { public RegionalCurrencyRedirectionOptions() { RegionalCurrencyRedirections = new Dictionary<string, string> { { "001", "en-US"}, ...
mit
C#
021bcb5e1134edc94c90e157ba73cc7747eaa6f9
Update MyDataRepository.cs
kelong/Data-Repository-with-Data-Caching-in-ASP.NET-MVC-4,CarmelSoftware/Data-Repository-with-Data-Caching-in-ASP.NET-MVC-4
Models/MyDataRepository.cs
Models/MyDataRepository.cs
// TODO: fix this class : class name : "RepositoryCaching" using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Runtime.Caching; namespace RepositoryWithCaching.Models { public class RepositoryCaching { public ObjectCache Cache { get { r...
// TODO: fix this class : class name : "RepositoryCaching" using system; ////public class MyDataRepository { // TODO: check what happens when different users use Cache simultaneously public ObjectCache Cache { get { return MemoryCache.Default; } } public bool IsIn...
mit
C#
ff24d4b828d7b315777ddd059d25fd158f1e5696
Improve test.
TheSustainables/NDocRaptor
NDocRaptor.Test/Program.cs
NDocRaptor.Test/Program.cs
using System; using System.Diagnostics; using System.IO; namespace NDocRaptor { class Program { static void Main(string[] args) { var raptor = new DocRaptor("<your api key>", testMode: true); Action<DocRaptorResponse> test = response => { Console.WriteLine("Success...
using System; using System.Diagnostics; using System.IO; namespace NDocRaptor { class Program { static void Main(string[] args) { var raptor = new DocRaptor("<your api key>", testMode: true); Action<DocRaptorResponse> test = response => { Console.WriteLine("Success...
mit
C#
95341555f1e95fed4626d1d95a380ce4bdfe2c26
Change Early Registration
OrchardCMS/Orchard-Harvest-Website,OrchardCMS/Orchard-Harvest-Website,OrchardCMS/Orchard-Harvest-Website,OrchardCMS/Orchard-Harvest-Website,OrchardCMS/Orchard-Harvest-Website,OrchardCMS/Orchard-Harvest-Website
src/Orchard.Web/Themes/OrchardHarvest.Theme2017/Views/Home-RegistrationBox.cshtml
src/Orchard.Web/Themes/OrchardHarvest.Theme2017/Views/Home-RegistrationBox.cshtml
<!-- box-action --> <section class="box-action"> <div class="container"> <div class="title"> <p class="lead">@T("Early Registration Ends Tuesday January 31")</p> </div> <div class="button"> <a href="https://orchardharvest.eventbrite.com" target="_blank">REGISTER TODA...
<!-- box-action --> <section class="box-action"> <div class="container"> <div class="title"> <p class="lead">@T("Early Registration Ends Monday December 31")</p> </div> <div class="button"> <a href="https://www.eventbrite.com/e/orchard-harvest-2017-new-york-usa-ticke...
bsd-3-clause
C#
a1fcd62c2d9441289c0668ff36b65c22570e8023
update slotname in redirect_uri
projectkudu/TryAppService,davidebbo/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/SimpleWAWS,projectkudu/TryAppService,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,davidebbo/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/TryAppService,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,...
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#
38a7b285ff324d959d26a0a2d391feb6029123e1
Disable broken test session thing.
wasabii/Cogito,wasabii/Cogito
Cogito.Core.Tests/Net/Http/HttpMessageEventSourceTests.cs
Cogito.Core.Tests/Net/Http/HttpMessageEventSourceTests.cs
using System; using System.Diagnostics.Eventing.Reader; using System.Net; using System.Net.Http; using Cogito.Net.Http; using Microsoft.Diagnostics.Tracing; using Microsoft.Diagnostics.Tracing.Session; using Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Utility; using Microsoft.Samples.Eventing; using Microsof...
using System; using System.Diagnostics.Eventing.Reader; using System.Net; using System.Net.Http; using Cogito.Net.Http; using Microsoft.Diagnostics.Tracing; using Microsoft.Diagnostics.Tracing.Session; using Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Utility; using Microsoft.Samples.Eventing; using Microsof...
mit
C#
ac09af742ba18a9b751fdf6fe9446af4dfc6697a
clean up created file after test run
OlegKleyman/Omego.Selenium
tests/integration/Omego.Selenium.Tests.Integration/Features/SeleniumExtensions.cs
tests/integration/Omego.Selenium.Tests.Integration/Features/SeleniumExtensions.cs
namespace Omego.Selenium.Tests.Integration.Features { using System; using System.Drawing.Imaging; using System.IO; using FluentAssertions; using Extensions; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using Xbehave; public class SeleniumExtensions { privat...
namespace Omego.Selenium.Tests.Integration.Features { using System; using System.Drawing.Imaging; using System.IO; using FluentAssertions; using Extensions; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using Xbehave; public class SeleniumExtensions { pr...
unlicense
C#
8f47bbdae1ea5c0ec5a0cafb87f9f22c1ee58d7b
mark API calls as not implemented
SpectraLogic/tpfr_client
TpfrClient/TpfrClient.cs
TpfrClient/TpfrClient.cs
/* * ****************************************************************************** * Copyright 2014 - 2016 Spectra Logic 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. A copy of the Licens...
/* * ****************************************************************************** * Copyright 2014 - 2016 Spectra Logic 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. A copy of the Licens...
apache-2.0
C#
b42f54addb51ea9ed3ab8154be5eb2bd849eaa14
Add comments for F.Add
farity/farity
Farity/Add.cs
Farity/Add.cs
using System; namespace Farity { public static partial class F { /// <summary> /// Adds two numeric values. /// </summary> /// <typeparam name="T">The data type of the operands in the add operation.</typeparam> /// <param name="a">The addendum.</param> /// <para...
using System; namespace Farity { public static partial class F { public static T Add<T>(T a, T b) where T : struct, IComparable, IComparable<T>, IConvertible, IEquatable<T>, IFormattable => Operator<T>.Add(a, b); } }
mit
C#
84be861145219c20282a2d642b6af67bcd09e4a3
Update Gate.cs
irtezasyed007/CSC523-Game-Project
Gates/Gate.cs
Gates/Gate.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CSC_523_Game { abstract class Gate { public Variable[] vars; public Gate(Variable[] vars) { this.vars = vars; } public abstract bool gateOperation(); pu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CSC_523_Game { abstract class Gate { public Variable[] vars; public Gate(Variable [] vars) { this.vars = vars; } public abstract bo...
mit
C#
bd2611224623a707a84420b0613beaa54bcbd7d6
Fix bug about declined by user not shown
joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net
JoinRpg.Dal.Impl/Repositories/ClaimPredicates.cs
JoinRpg.Dal.Impl/Repositories/ClaimPredicates.cs
using System; using System.Linq.Expressions; using JoinRpg.Data.Interfaces; using JoinRpg.DataModel; namespace JoinRpg.Dal.Impl.Repositories { internal static class ClaimPredicates { public static Expression<Func<Claim, bool>> GetClaimStatusPredicate(ClaimStatusSpec status) { switch (status) { ...
using System; using System.Linq.Expressions; using JoinRpg.Data.Interfaces; using JoinRpg.DataModel; namespace JoinRpg.Dal.Impl.Repositories { internal static class ClaimPredicates { public static Expression<Func<Claim, bool>> GetClaimStatusPredicate(ClaimStatusSpec status) { switch (status) {...
mit
C#
f4f3588047606c5210beec97b06436d3c7e765ac
Fix bug - command parameter is always null.
ashokgelal/Puppy
Puppy/MenuService/MenuItem.cs
Puppy/MenuService/MenuItem.cs
#region Using using System.Collections.Generic; using System.Windows.Input; using PuppyFramework.Services; #endregion namespace PuppyFramework.MenuService { public class MenuItem : MenuItemBase { #region Fields private ObservableSortedList<MenuItemBase> _children; pri...
#region Using using System.Collections.Generic; using System.Windows.Input; using PuppyFramework.Services; #endregion namespace PuppyFramework.MenuService { public class MenuItem : MenuItemBase { #region Fields private ObservableSortedList<MenuItemBase> _children; pri...
mit
C#
2acb1014236b03273799a37a596dcf8e26df6df0
Convert value for TextBoxCell to string, even it is not a string instance
l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto
Source/Eto.Platform.Mac/Forms/Cells/TextBoxCellHandler.cs
Source/Eto.Platform.Mac/Forms/Cells/TextBoxCellHandler.cs
using System; using MonoMac.AppKit; using Eto.Forms; using MonoMac.Foundation; using MonoMac.ObjCRuntime; using Eto.Drawing; namespace Eto.Platform.Mac.Forms.Controls { public class TextBoxCellHandler : CellHandler<NSTextFieldCell, TextBoxCell>, ITextBoxCell { public class EtoCell : NSTextFieldCell, IMacControl ...
using System; using MonoMac.AppKit; using Eto.Forms; using MonoMac.Foundation; using MonoMac.ObjCRuntime; using Eto.Drawing; namespace Eto.Platform.Mac.Forms.Controls { public class TextBoxCellHandler : CellHandler<NSTextFieldCell, TextBoxCell>, ITextBoxCell { public class EtoCell : NSTextFieldCell, IMacControl ...
bsd-3-clause
C#
62c34e14902026f609b66411cfdc2cf1e6d9a45f
Move ship with code.
MoreOnCode/MonoGameBookCode
Vol6-CodeCamps/Ch03-SpaceGame/SpaceGame/SpaceGame/Game.cs
Vol6-CodeCamps/Ch03-SpaceGame/SpaceGame/SpaceGame/Game.cs
using System; using System.Collections.Generic; using System.IO; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Media; using Microsoft.Xna.Framework.Input.Touch; namespace SpaceGame { public class SpaceGame : Microsoft.Xna.F...
using System; using System.Collections.Generic; using System.IO; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Media; using Microsoft.Xna.Framework.Input.Touch; namespace SpaceGame { public class SpaceGame : Microsoft.Xna.F...
mit
C#
9f3094ffbe51d28713329c3c29a18f7250675e12
Initialize animated object path
bartlomiejwolk/AnimationPathAnimator
PathData.cs
PathData.cs
using UnityEngine; using System.Collections; namespace ATP.AnimationPathTools { public class PathData : ScriptableObject { [SerializeField] private AnimationPath animatedObjectPath; [SerializeField] private AnimationPath rotationPath; [SerializeField] private AnimationCurve easeCurve; [SerializeFi...
using UnityEngine; using System.Collections; namespace ATP.AnimationPathTools { public class PathData : ScriptableObject { [SerializeField] private AnimationPath animatedObjectPath; [SerializeField] private AnimationPath rotationPath; [SerializeField] private AnimationCurve easeCurve; [SerializeFi...
mit
C#
567a7b6d48c3c0ebead0a6635c6b36da50ba34c9
Fix AddSmtpSender extension methods to property add service
lukencode/FluentEmail,lukencode/FluentEmail
src/Senders/FluentEmail.Smtp/FluentEmailSmtpBuilderExtensions.cs
src/Senders/FluentEmail.Smtp/FluentEmailSmtpBuilderExtensions.cs
using FluentEmail.Core.Interfaces; using FluentEmail.Smtp; using Microsoft.Extensions.DependencyInjection.Extensions; using System; using System.Net; using System.Net.Mail; namespace Microsoft.Extensions.DependencyInjection { public static class FluentEmailSmtpBuilderExtensions { public static FluentE...
using FluentEmail.Core.Interfaces; using FluentEmail.Smtp; using Microsoft.Extensions.DependencyInjection.Extensions; using System; using System.Net; using System.Net.Mail; namespace Microsoft.Extensions.DependencyInjection { public static class FluentEmailSmtpBuilderExtensions { public static FluentE...
mit
C#
2b5b64e35233ca2c8177a371b86067cfce06b0c8
Correct minify abstraction
ssg/Eksi.Tasks,ssg/Eksi.Tasks
MinifyTask.cs
MinifyTask.cs
/* * Eksi.Tasks library - collection of NAnt tasks * Copyright (c) 2010 Ekşi Teknoloji Ltd. (http://www.eksiteknoloji.com) * Licensed under MIT License, read license.txt for details */ using System; using System.IO; using NAnt.Core; using NAnt.Core.Attributes; using NAnt.Core.Types; namespace Eksi.Tasks { //...
/* * Eksi.Tasks library - collection of NAnt tasks * Copyright (c) 2010 Ekşi Teknoloji Ltd. (http://www.eksiteknoloji.com) * Licensed under MIT License, read license.txt for details */ using System; using System.IO; using NAnt.Core; using NAnt.Core.Attributes; using NAnt.Core.Types; namespace Eksi.Tasks { //...
mit
C#
7bab361a63a3b45f3a52cd9045da3deb83aae3f5
Add convenience ctor
praeclarum/Ooui,praeclarum/Ooui,praeclarum/Ooui
Ooui/Label.cs
Ooui/Label.cs
using System; namespace Ooui { public class Label : Element { public Element For { get => GetAttribute<Element> ("for", null); set => SetAttributeProperty ("for", value); } public Label () : base ("label") { } public Label (s...
using System; namespace Ooui { public class Label : Element { public Element For { get => GetAttribute<Element> ("for", null); set => SetAttributeProperty ("for", value); } public Label () : base ("label") { } } }
mit
C#
8f0eb99f9207de002a9a2229d0dac650eae16c97
Implement AppHarborClient#GetApplication
appharbor/appharbor-cli
src/AppHarbor/AppHarborClient.cs
src/AppHarbor/AppHarborClient.cs
using System; using System.Collections.Generic; using AppHarbor.Model; namespace AppHarbor { public class AppHarborClient : IAppHarborClient { private readonly AuthInfo _authInfo; public AppHarborClient(string AccessToken) { _authInfo = new AuthInfo { AccessToken = AccessToken }; } public CreateResul...
using System; using System.Collections.Generic; using AppHarbor.Model; namespace AppHarbor { public class AppHarborClient : IAppHarborClient { private readonly AuthInfo _authInfo; public AppHarborClient(string AccessToken) { _authInfo = new AuthInfo { AccessToken = AccessToken }; } public CreateResul...
mit
C#
1996407aeac2e23936b1287f1edfe6629480b22f
Update Bind.cs
charleypeng/XamIoc
XamIoc/Bind.cs
XamIoc/Bind.cs
using System; using System.Collections.Generic; using System.Text; namespace XamIoc { public static partial class Core { /// <summary> /// Bind Interface to Class /// </summary> /// <typeparam name="TSource">Interface</typeparam> /// <typeparam name="TDestination">Class<...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XamIoc { public static partial class Core { /// <summary> /// Bind Interface to Class /// </summary> /// <typeparam name="TSource">Interface</typeparam>...
mit
C#
b0c959b5bf4c825ac6fd4b0c1794fe98017d1d54
Update the value type too
VolatileMindsLLC/ntreg-sharp
ValueKey.cs
ValueKey.cs
using System; using System.IO; using System.Collections.Generic; namespace ntregsharp { public class ValueKey { public ValueKey (BinaryReader hive) { this.AbsoluteOffset = hive.BaseStream.Position; byte[] buf = hive.ReadBytes (2); if (buf [0] != 0x76 && buf [1] != 0x6b) throw new NotSupportedEx...
using System; using System.IO; using System.Collections.Generic; namespace ntregsharp { public class ValueKey { public ValueKey (BinaryReader hive) { this.AbsoluteOffset = hive.BaseStream.Position; byte[] buf = hive.ReadBytes (2); if (buf [0] != 0x76 && buf [1] != 0x6b) throw new NotSupportedEx...
mit
C#
1ce0947729f8f8fa0829cad2b8d18c305d97125b
Bump version
jkonecki/Streamstone,james-andrewsmith/Streamstone,attilah/Streamstone
Source/Streamstone.Version.cs
Source/Streamstone.Version.cs
using System; using System.Linq; using System.Reflection; [assembly: AssemblyVersion("0.4.9.0")] [assembly: AssemblyFileVersion("0.4.9.0")]
using System; using System.Linq; using System.Reflection; [assembly: AssemblyVersion("0.4.4.0")] [assembly: AssemblyFileVersion("0.4.4.0")]
apache-2.0
C#
5a251d070a8b7355bd469769239ae502a0b6a47e
Fix MediatR examples exception handlers
jbogard/MediatR
samples/MediatR.Examples/ExceptionHandler/ExceptionsHandlers.cs
samples/MediatR.Examples/ExceptionHandler/ExceptionsHandlers.cs
using MediatR.Pipeline; using System; using System.IO; using System.Threading; using System.Threading.Tasks; namespace MediatR.Examples.ExceptionHandler; public class CommonExceptionHandler : AsyncRequestExceptionHandler<PingResource, Pong> { private readonly TextWriter _writer; public CommonExceptionHandler...
using MediatR.Pipeline; using System; using System.IO; using System.Threading; using System.Threading.Tasks; namespace MediatR.Examples.ExceptionHandler; public class CommonExceptionHandler : AsyncRequestExceptionHandler<PingResource, Pong> { private readonly TextWriter _writer; public CommonExceptionHandler...
apache-2.0
C#
c8cdbf250387171d88d7f6cb0ebefa4519b3d72f
Patch from Dru Sellers, better error message on exception in getting values in Int32Type
RogerKratz/nhibernate-core,ngbrown/nhibernate-core,nkreipke/nhibernate-core,alobakov/nhibernate-core,nkreipke/nhibernate-core,livioc/nhibernate-core,gliljas/nhibernate-core,fredericDelaporte/nhibernate-core,hazzik/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nhibernate/nhibernate-core,ManufacturingIntellig...
src/NHibernate/Type/Int32Type.cs
src/NHibernate/Type/Int32Type.cs
using System; using System.Collections; using System.Data; using NHibernate.Engine; using NHibernate.SqlTypes; namespace NHibernate.Type { /// <summary> /// Maps a <see cref="System.Int32"/> Property /// to a <see cref="DbType.Int32"/> column. /// </summary> [Serializable] public class Int32Type : ValueTypeType...
using System; using System.Collections; using System.Data; using NHibernate.Engine; using NHibernate.SqlTypes; namespace NHibernate.Type { /// <summary> /// Maps a <see cref="System.Int32"/> Property /// to a <see cref="DbType.Int32"/> column. /// </summary> [Serializable] public class Int32Type : ValueTypeType...
lgpl-2.1
C#
1318f0a472072c0a47a6ea7895cc6398543bb575
Include suggestions in GitHub output
laedit/vika
src/NVika/BuildServers/GitHub.cs
src/NVika/BuildServers/GitHub.cs
using System; using System.ComponentModel.Composition; using System.Text; using NVika.Abstractions; using NVika.Parsers; namespace NVika.BuildServers { internal sealed class GitHub : BuildServerBase { private readonly IEnvironment _environment; [ImportingConstructor] internal GitHub(IE...
using System; using System.ComponentModel.Composition; using System.Text; using NVika.Abstractions; using NVika.Parsers; namespace NVika.BuildServers { internal sealed class GitHub : BuildServerBase { private readonly IEnvironment _environment; [ImportingConstructor] internal GitHub(IE...
apache-2.0
C#
61078e5a95682b4d5442664efcdd1c82b6f18202
revert last commit. oops
bordoley/RxApp
RxApp.Android/Interfaces.cs
RxApp.Android/Interfaces.cs
using ReactiveUI; using System; using System.ComponentModel; namespace RxApp { public interface IRxApplication : IService, IAndroidApplication { INavigationStack NavigationStack { get; } void OnActivityCreated(IRxActivity activity); } public interface IRxActivity : IActivity, IViewFo...
using ReactiveUI; using System; using System.ComponentModel; namespace RxApp { public interface IRxApplication : IService, IAndroidApplication { INavigationStack NavigationStack { get; } void OnActivityCreated(IRxActivity activity); } public interface IRxActivity : IActivity, IViewFo...
apache-2.0
C#
a290437286e1c55e34efea34bc5b0327271c71a1
Fix skin changed events triggering after disposal
smoogipoo/osu,smoogipooo/osu,EVAST9919/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu,ZLima12/osu,EVAST9919/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,peppy/osu-new,ZLima12/osu,peppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,Neo...
osu.Game/Skinning/SkinReloadableDrawable.cs
osu.Game/Skinning/SkinReloadableDrawable.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.Graphics.Containers; namespace osu.Game.Skinning { /// <summary> /// A drawable which has a cal...
// 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.Graphics.Containers; namespace osu.Game.Skinning { /// <summary> /// A drawable which has a ca...
mit
C#
ea3cf0587c40ba130188f5856c9824fdafada028
Revert "replace old parameter names with new key parameter names"
tropo/tropo-webapi-csharp,tropo/tropo-webapi-csharp
TropoOutboundSMS/Program.cs
TropoOutboundSMS/Program.cs
using System; using System.Collections.Generic; using System.Web; using System.Xml; using TropoCSharp.Structs; using TropoCSharp.Tropo; namespace OutboundTest { /// <summary> /// A simple console appplication used to launch a Tropo Session and send an outbound SMS. /// Note - use in conjnction withe the O...
using System; using System.Collections.Generic; using System.Web; using System.Xml; using TropoCSharp.Structs; using TropoCSharp.Tropo; namespace OutboundTest { /// <summary> /// A simple console appplication used to launch a Tropo Session and send an outbound SMS. /// Note - use in conjnction withe the O...
mit
C#
2fb3c3bcf6182a0de653d7747862ea7dd467f5fd
Fix x-container-experiment-seed failure in .NET Framework branches
ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab
source/NetFramework/Server/MirrorSharp/SetOptionsFromClient.cs
source/NetFramework/Server/MirrorSharp/SetOptionsFromClient.cs
using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using MirrorSharp.Advanced; using SharpLab.Server.Common; namespace SharpLab.Server.MirrorSharp { [UsedImplicitly(ImplicitUseKindFlags.InstantiatedNoFixedConstructorSignature)] public class SetOptionsFromClient : ISetOpti...
using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using MirrorSharp.Advanced; using SharpLab.Server.Common; namespace SharpLab.Server.MirrorSharp { [UsedImplicitly(ImplicitUseKindFlags.InstantiatedNoFixedConstructorSignature)] public class SetOptionsFromClient : ISetOpti...
bsd-2-clause
C#
850ac51233dba57771e4b797457a09e2b0066547
Debug scenario disable bugsnag
File-New-Project/EarTrumpet
EarTrumpet/Services/ErrorReportingService.cs
EarTrumpet/Services/ErrorReportingService.cs
using Bugsnag; using Bugsnag.Clients; using EarTrumpet.Extensions; using System; using System.Diagnostics; using Windows.ApplicationModel; namespace EarTrumpet.Services { class ErrorReportingService { internal static void Initialize() { #if VSDEBUG return; #else try ...
using Bugsnag; using Bugsnag.Clients; using EarTrumpet.Extensions; using System; using System.Diagnostics; using System.IO; using Windows.ApplicationModel; namespace EarTrumpet.Services { class ErrorReportingService { internal static void Initialize() { WPFClient.Config.AppVersion ...
mit
C#
1437540efbbc8dac9b14223e1f1bd8e7332a54f7
Remove 'Positions Vacant' sticky note
croquet-australia/croquet-australia.com.au,croquet-australia/website-application,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia-website,croquet-australia/website-application,croquet-australia/croquet-australia-website,croquet-australia/croquet-a...
source/CroquetAustralia.Website/Layouts/Shared/Sidebar.cshtml
source/CroquetAustralia.Website/Layouts/Shared/Sidebar.cshtml
<div class="sticky-notes"> <div class="sticky-note"> <i class="pin"></i> <div class="content green"> <h1> GC Handicapping System </h1> <p> New <a href="/disciplines/golf-croquet/resources">GC Handicapping System</a> comes into effe...
<div class="sticky-notes"> <div class="sticky-note"> <i class="pin"></i> <div class="content green"> <h1> GC Handicapping System </h1> <p> New <a href="/disciplines/golf-croquet/resources">GC Handicapping System</a> comes into effe...
mit
C#
71a234db9b8d01a78cf0da1f7cd758de3f18b84d
Update MarginMultiplierConverter to support Thickness input
jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,Perspex/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslaw...
src/Avalonia.Controls/Converters/MarginMultiplierConverter.cs
src/Avalonia.Controls/Converters/MarginMultiplierConverter.cs
using System; using System.Globalization; using Avalonia.Data.Converters; namespace Avalonia.Controls.Converters { public class MarginMultiplierConverter : IValueConverter { public double Indent { get; set; } public bool Left { get; set; } = false; public bool Top { get; set; } = fal...
using System; using System.Globalization; using Avalonia.Data.Converters; namespace Avalonia.Controls.Converters { public class MarginMultiplierConverter : IValueConverter { public double Indent { get; set; } public bool Left { get; set; } = false; public bool Top { get; set; } = fal...
mit
C#
f6f978e19cfa2870b986647ecc2aba02efdef26a
Clear "file" setting so Source doesn't start with the last-used card image.
nealterrell/NetrunnerOBS
Prototype/NetrunnerCardImageSourceFactory.cs
Prototype/NetrunnerCardImageSourceFactory.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CLROBS; using System.Windows; namespace NetrunnerOBS { /// <summary> /// Factory registered with the OBS API so OBS can create our source object /// when needed. /// </summary> public class N...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CLROBS; using System.Windows; namespace NetrunnerOBS { /// <summary> /// Factory registered with the OBS API so OBS can create our source object /// when needed. /// </summary> public class N...
mit
C#
86f9e8533d364b1042711c9c91f73bfa7b8566b8
Fix showing digits - show '1' instead of 'D1'
terrajobst/git-istage,terrajobst/git-istage
src/git-istage/ConsoleCommand.cs
src/git-istage/ConsoleCommand.cs
using System; namespace GitIStage { internal sealed class ConsoleCommand { private readonly Action _handler; private readonly ConsoleKey _key; public readonly string Description; private readonly ConsoleModifiers _modifiers; public ConsoleCommand(Action handler, Console...
using System; namespace GitIStage { internal sealed class ConsoleCommand { private readonly Action _handler; private readonly ConsoleKey _key; public readonly string Description; private readonly ConsoleModifiers _modifiers; public ConsoleCommand(Action handler, Console...
mit
C#
bdae9bcb0b085d30cd318d9723d429e11cf42434
Create Pool Tests work. removed obsolete tests
srottem/indy-sdk,srottem/indy-sdk,Artemkaaas/indy-sdk,Artemkaaas/indy-sdk,Artemkaaas/indy-sdk,srottem/indy-sdk,peacekeeper/indy-sdk,peacekeeper/indy-sdk,peacekeeper/indy-sdk,Artemkaaas/indy-sdk,anastasia-tarasova/indy-sdk,srottem/indy-sdk,anastasia-tarasova/indy-sdk,srottem/indy-sdk,anastasia-tarasova/indy-sdk,Artemkaa...
wrappers/dotnet/indy-sdk-dotnet-test/PoolTests/CreatePoolTest.cs
wrappers/dotnet/indy-sdk-dotnet-test/PoolTests/CreatePoolTest.cs
using Hyperledger.Indy.PoolApi; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.Threading.Tasks; namespace Hyperledger.Indy.Test.PoolTests { [TestClass] public class CreatePoolTest : IndyIntegrationTestBase { [TestMethod] public async Task TestCreatePoolWo...
using Hyperledger.Indy.PoolApi; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.Threading.Tasks; namespace Hyperledger.Indy.Test.PoolTests { [TestClass] public class CreatePoolTest : IndyIntegrationTestBase { [TestMethod] public async Task TestCreatePoolWo...
apache-2.0
C#
8fd89a4d460ae15d0dab2c40d4a92245e8b01769
Remove unused import
ulrichb/ImplicitNullability,ulrichb/ImplicitNullability,ulrichb/ImplicitNullability
Src/ImplicitNullability.Plugin/ZoneMarker.cs
Src/ImplicitNullability.Plugin/ZoneMarker.cs
using JetBrains.Application.BuildScript.Application.Zones; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.CSharp; namespace ImplicitNullability.Plugin { [ZoneDefinition] [ZoneDefinitionConfigurableFeature(AssemblyConsts.Title, AssemblyConsts.Des...
using JetBrains.Application.BuildScript.Application.Zones; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.Asp; using JetBrains.ReSharper.Psi.CSharp; namespace ImplicitNullability.Plugin { [ZoneDefinition] [ZoneDefinitionConfigurableFeature(Assem...
mit
C#
0abec4390b30fdda97dc496594f9b1f9c9b20e17
Fix casing of interop directories (dotnet/corert#6982)
shimingsg/corefx,ViktorHofer/corefx,ptoonen/corefx,shimingsg/corefx,ptoonen/corefx,wtgodbe/corefx,ViktorHofer/corefx,ViktorHofer/corefx,ericstj/corefx,BrennanConroy/corefx,BrennanConroy/corefx,ericstj/corefx,ptoonen/corefx,ViktorHofer/corefx,wtgodbe/corefx,shimingsg/corefx,ptoonen/corefx,ericstj/corefx,shimingsg/corefx...
src/Common/src/CoreLib/Interop/Windows/Kernel32/Interop.GetCurrentProcess_IntPtr.cs
src/Common/src/CoreLib/Interop/Windows/Kernel32/Interop.GetCurrentProcess_IntPtr.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.Runtime.InteropServices; internal partial class Interop { internal partial class Ker...
// 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.Runtime.InteropServices; internal partial class Interop { internal partial class Ker...
mit
C#
6b78045ff1b35b0d406d43494feda064d97a43ed
fix codefactor empty line complaint
peppy/osu,peppy/osu,smoogipooo/osu,peppy/osu-new,ppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu
osu.Game/Rulesets/UI/Scrolling/ScrollingPlayfield.cs
osu.Game/Rulesets/UI/Scrolling/ScrollingPlayfield.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Game.Rulesets.Objects.Drawables; using osu.Game.Skinning; using osuTK; namespace osu.Game.Rulese...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Game.Rulesets.Objects.Drawables; using osu.Game.Skinning; using osuTK; namespace osu.Game.Rulese...
mit
C#
b5c40bca9624a1b3baf7eb9b299a61d34c48680b
Add comment
60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope
QueueDataGraphic/QueueDataGraphic/CSharpFiles/QueueDataGraphic.cs
QueueDataGraphic/QueueDataGraphic/CSharpFiles/QueueDataGraphic.cs
/******************************************************************** * Develop by Jimmy Hu * * This program is licensed under the Apache License 2.0. * * QueueDataGraphic.cs * * 本檔案用於佇列資料繪圖功能 * ******************************************************************** */ using System...
/******************************************************************** * Develop by Jimmy Hu * * This program is licensed under the Apache License 2.0. * * QueueDataGraphic.cs * * 本檔案用於佇列資料繪圖功能 * ******************************************************************** */ using System...
apache-2.0
C#
0e4ebfe8357437c88ce5b744b09d5b1c87974f8c
Change so that the constructor is public for the AccountRepository so it can be registered
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Data/AccountRepository.cs
src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Data/AccountRepository.cs
using System; using System.Data; using System.Threading.Tasks; using Dapper; using SFA.DAS.EmployerApprenticeshipsService.Domain.Configuration; using SFA.DAS.EmployerApprenticeshipsService.Domain.Data; namespace SFA.DAS.EmployerApprenticeshipsService.Infrastructure.Data { public class AccountRepository : BaseRepo...
using System; using System.Data; using System.Threading.Tasks; using Dapper; using SFA.DAS.EmployerApprenticeshipsService.Domain.Configuration; using SFA.DAS.EmployerApprenticeshipsService.Domain.Data; namespace SFA.DAS.EmployerApprenticeshipsService.Infrastructure.Data { public class AccountRepository : BaseRepo...
mit
C#
000c6782ee02038ae743974769024a83f147d13b
comment tests.
tonyredondo/TWCore2,tonyredondo/TWCore2,tonyredondo/TWCore2,tonyredondo/TWCore2
tools/TWCore.Diagnostics.Api/DiagnosticMessagingServiceAsync.cs
tools/TWCore.Diagnostics.Api/DiagnosticMessagingServiceAsync.cs
/* Copyright 2015-2018 Daniel Adrian Redondo Suarez Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to ...
/* Copyright 2015-2018 Daniel Adrian Redondo Suarez Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to ...
apache-2.0
C#
437890cb178cde33c72c8439a8f17106db411aae
Fix build
holance/helix-toolkit,chrkon/helix-toolkit,JeremyAnsel/helix-toolkit,helix-toolkit/helix-toolkit
Source/HelixToolkit.SharpDX.Shared/Model/ContextSharedResource.cs
Source/HelixToolkit.SharpDX.Shared/Model/ContextSharedResource.cs
/* The MIT License (MIT) Copyright (c) 2018 Helix Toolkit contributors */ using System; using SharpDX.Direct3D11; #if NETFX_CORE namespace HelixToolkit.UWP.Model #else namespace HelixToolkit.Wpf.SharpDX.Model #endif { using Utilities; public sealed class ContextSharedResource : IDisposable { publ...
/* The MIT License (MIT) Copyright (c) 2018 Helix Toolkit contributors */ using System; using SharpDX.Direct3D11; #if NETFX_CORE namespace HelixToolkit.UWP.Model #else namespace HelixToolkit.Wpf.SharpDX.Model #endif { using Utilities; public sealed class ContextSharedResource : IDisposable { publ...
mit
C#
1f1a939759c86dfdda8de16feea7323411292788
Update to variable name
ChilliConnect/Samples,ChilliConnect/Samples,ChilliConnect/Samples
UnitySamples/TicTacToeRealtime/Assets/Scripts/PhotonController.cs
UnitySamples/TicTacToeRealtime/Assets/Scripts/PhotonController.cs
using System; using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; using ChilliConnect; public class PhotonController : MonoBehaviour { private string m_photonApplicationId = "PHOTON_APPLICATION_ID"; private ChilliConnectSdk m_chilliConnect; /// Make instance of Chil...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; using ChilliConnect; public class PhotonController : MonoBehaviour { private string m_photonApplicationId = "PHOTON_APPLICATION_ID"; private ChilliConnectSdk m_chilliConnect; /// Make instance of Chil...
mit
C#
d3d2eda105d88042793af5f3d7a1b3a5b71605e4
Add CustomAttributeCollection Find()/FindAll() methods
picrap/dnlib,yck1509/dnlib,ilkerhalil/dnlib,jorik041/dnlib,modulexcite/dnlib,kiootic/dnlib,0xd4d/dnlib,Arthur2e5/dnlib,ZixiangBoy/dnlib
src/DotNet/CustomAttributeCollection.cs
src/DotNet/CustomAttributeCollection.cs
using System.Collections.Generic; namespace dot10.DotNet { /// <summary> /// Stores <see cref="CustomAttribute"/>s /// </summary> public class CustomAttributeCollection : LazyList<CustomAttribute> { /// <summary> /// Default constructor /// </summary> internal CustomAttributeCollection() { } /// <sum...
using System.Collections.Generic; namespace dot10.DotNet { /// <summary> /// Stores <see cref="CustomAttribute"/>s /// </summary> public class CustomAttributeCollection : LazyList<CustomAttribute> { /// <summary> /// Default constructor /// </summary> internal CustomAttributeCollection() { } /// <sum...
mit
C#
9900971df3916bd2db71ab1a0ffb5cf0640bbcb4
Fix NH-1838 (Guid support in MySql dialect)
nkreipke/nhibernate-core,alobakov/nhibernate-core,ngbrown/nhibernate-core,ngbrown/nhibernate-core,gliljas/nhibernate-core,RogerKratz/nhibernate-core,gliljas/nhibernate-core,hazzik/nhibernate-core,fredericDelaporte/nhibernate-core,ngbrown/nhibernate-core,nhibernate/nhibernate-core,nkreipke/nhibernate-core,lnu/nhibernate...
src/NHibernate/Dialect/MySQL5Dialect.cs
src/NHibernate/Dialect/MySQL5Dialect.cs
using System.Data; using NHibernate.SqlCommand; namespace NHibernate.Dialect { public class MySQL5Dialect : MySQLDialect { public MySQL5Dialect() { RegisterColumnType(DbType.Decimal, "DECIMAL(19,5)"); RegisterColumnType(DbType.Decimal, 19, "DECIMAL($p, $s)"); RegisterColumnType(DbType.Guid, "...
using System.Data; using NHibernate.SqlCommand; namespace NHibernate.Dialect { public class MySQL5Dialect : MySQLDialect { public MySQL5Dialect() { RegisterColumnType(DbType.Decimal, "DECIMAL(19,5)"); RegisterColumnType(DbType.Decimal, 19, "DECIMAL($p, $s)"); } //Reference 5.x //Numeri...
lgpl-2.1
C#
4332d05963b4fc7fcf06a683ff6a9c5178a4e8c7
Handle other kinds of deserialization exceptions
auth0/auth0.net,auth0/auth0.net
src/Auth0.Core/ApiError.cs
src/Auth0.Core/ApiError.cs
using Auth0.Core.Serialization; using Newtonsoft.Json; using System; using System.Net.Http; using System.Threading.Tasks; namespace Auth0.Core { /// <summary> /// Error information captured from a failed API request. /// </summary> [JsonConverter(typeof(ApiErrorConverter))] public class ApiError ...
using Auth0.Core.Serialization; using Newtonsoft.Json; using System; using System.Net.Http; using System.Threading.Tasks; namespace Auth0.Core { /// <summary> /// Error information captured from a failed API request. /// </summary> [JsonConverter(typeof(ApiErrorConverter))] public class ApiError ...
mit
C#
1b0c490c1e7d7b9c4edc0cd921f4bdb679f9d497
Add MergeWith method to the Entity to enable accumulating information
AlexGhiondea/SmugMug.NET
src/SmugMugShared/Descriptors/Entity.cs
src/SmugMugShared/Descriptors/Entity.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 System.Collections.Generic; using System.Linq; namespace SmugMug.Shared.Descriptors { public class Entity { public string Name { get; set; }...
// Copyright (c) Alex Ghiondea. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; namespace SmugMug.Shared.Descriptors { public class Entity { public string Name { get; set; } public Lis...
mit
C#
65c8ed5fb44d8e8af74ede61476710e772833204
add time utils.
ivanchanfy/FyUtils
FyUtils/TimeUtils.cs
FyUtils/TimeUtils.cs
using System; namespace FyUtils { public class TimeUtils { public static long CurrentTimestamp { get { return GetTimestampFromDateTime(DateTime.UtcNow); } } public static DateTime GetDateTimeFromTimestamp(long timestamp) { retur...
using System; namespace FyUtils { public class TimeUtils { } }
apache-2.0
C#
09dc6afd7a058bd0559576ea7e722119d499b1c0
Test coverage for projection of the results of queries using EF.Functions and date functions
agileobjects/AgileMapper
AgileMapper.UnitTests.Orms.EfCore2/WhenProjectingToFlatTypes.cs
AgileMapper.UnitTests.Orms.EfCore2/WhenProjectingToFlatTypes.cs
namespace AgileObjects.AgileMapper.UnitTests.Orms.EfCore2 { using System; using System.Linq; using System.Threading.Tasks; using Infrastructure; using Microsoft.EntityFrameworkCore; using TestClasses; using Xunit; public class WhenProjectingToFlatTypes : WhenProjectingToFlatTypes<EfCor...
namespace AgileObjects.AgileMapper.UnitTests.Orms.EfCore2 { using Infrastructure; public class WhenProjectingToFlatTypes : WhenProjectingToFlatTypes<EfCore2TestDbContext> { public WhenProjectingToFlatTypes(InMemoryEfCore2TestContext context) : base(context) { } } }
mit
C#
ceefea50ff4d0e407aa5f5088cfe905e05c4dc8f
add new 'Ignore Clipping Planes' option to alembic camera component
unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter
AlembicImporter/Assets/AlembicImporter/Scripts/AlembicCamera.cs
AlembicImporter/Assets/AlembicImporter/Scripts/AlembicCamera.cs
using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Reflection; using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif [ExecuteInEditMode] public class AlembicCamera : AlembicElement { public AbcA...
using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Reflection; using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif [ExecuteInEditMode] public class AlembicCamera : AlembicElement { public AbcA...
mit
C#
89ddeadfdfe2975af151a746a2a625d99426d304
Add content type extension
modulexcite/lokad-cqrs
Framework/Lokad.Cqrs.Http/Feature.Http/Handlers/EmbeddedResourceHttpRequestHandler.cs
Framework/Lokad.Cqrs.Http/Feature.Http/Handlers/EmbeddedResourceHttpRequestHandler.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; namespace Lokad.Cqrs.Feature.Http.Handlers { public sealed class EmbeddedResourceHttpRequestHandler : IHttpRequestHandler { readonly Assembly _resourceAssembly; readonly Dictionary<strin...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Lokad.Cqrs.Feature.Http.Handlers { public sealed class EmbeddedResourceHttpRequestHandler : IHttpRequestHandler { readonly Assembly _resourceAssembly; readonly Dictionary<string,string> _set = ...
bsd-3-clause
C#
092b4870ef0b1a9fc4d42c5fc913aef9b4b9245a
Update latest version download link
vedi/unity3d-levelup,vedi/unity3d-levelup,vedi/unity3d-levelup,vedi/unity3d-levelup,vedi/unity3d-levelup
Soomla/Assets/Plugins/Soomla/Levelup/Config/LevelUpSettings.cs
Soomla/Assets/Plugins/Soomla/Levelup/Config/LevelUpSettings.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 ...
/// 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 ...
apache-2.0
C#