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 |
|---|---|---|---|---|---|---|---|---|
c9f58081b9968d715e3d52f0aa299b21fac962b5 | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.24")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.23")] | mit | C# |
de276b8ddea83ffca5194439cb3a0162beba6806 | Fix DefaultStartupConfigurationService | geeklearningio/Testavior | src/GeekLearning.Test.Integration/Environment/StartupConfigurationService/DefaultStartupConfigurationService.cs | src/GeekLearning.Test.Integration/Environment/StartupConfigurationService/DefaultStartupConfigurationService.cs | namespace GeekLearning.Test.Integration.Environment
{
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
public class DefaultStar... | namespace GeekLearning.Test.Integration.Environment
{
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
public class DefaultStar... | mit | C# |
dc301985384efca670634851c6bbc674e040621b | Bump the version number | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT | LINQToTTree/LINQToTTreeLib/Properties/AssemblyInfo.cs | LINQToTTree/LINQToTTreeLib/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | lgpl-2.1 | C# |
a463216f564ee3c33352619a261d6554bb00d547 | Fix fault in GameList model | HelloKitty/Booma.Proxy | src/Booma.Proxy.Packets.BlockServer/Models/GameListEntry.cs | src/Booma.Proxy.Packets.BlockServer/Models/GameListEntry.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma.Proxy
{
/*
* uint32_t menu_id;
uint32_t item_id;
uint8_t difficulty;
uint8_t players;
uint16_t name[16];
uint8_t episode;
uint8_t flags;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma.Proxy
{
/*
* uint32_t menu_id;
uint32_t item_id;
uint8_t difficulty;
uint8_t players;
uint16_t name[16];
uint8_t episode;
uint8_t flags;
... | agpl-3.0 | C# |
9eac668f03afb61ea2e68028942a37817c72c3ee | Disable Geometry test due to bugs in System.Numerics.Vector | studio-nine/Nine.Geometry | test/GeometryTest.cs | test/GeometryTest.cs | namespace Nine.Geometry
{
using System.Numerics;
using Xunit;
using Nine.Geometry;
/// <remarks>
/// This is just call test to see so there are no exeptions thrown.
/// Visual representation should be tested in Nine.Graphics.
/// </remarks>
public class GeometryTest
{
[Fact... | namespace Nine.Geometry
{
using System.Numerics;
using Xunit;
using Nine.Geometry;
/// <remarks>
/// This is just call test to see so there are no exeptions thrown.
/// Visual representation should be tested in Nine.Graphics.
/// </remarks>
public class GeometryTest
{
[Fact... | mit | C# |
35dd88a02c37be7b48342b9289c010ab7bbc268e | add docs to Log | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Utils/Log.cs | TCC.Utils/Log.cs | using System;
using System.Diagnostics;
using System.IO;
using TCC.Data;
namespace TCC.Utils
{
public static class Log
{
public static event Action<ChatChannel, string, string> NewChatMessage;
public static event Func<string, string, NotificationType, int, NotificationTemplate, int> NewNotific... | using System;
using System.Diagnostics;
using System.IO;
using TCC.Data;
namespace TCC.Utils
{
public static class Log
{
public static event Action<ChatChannel, string, string> NewChatMessage;
public static event Func<string, string, NotificationType, int, NotificationTemplate, int> NewNotific... | mit | C# |
65ff9bc968802e9f2d7d0426e006d58b89e0be3f | Improve the interface documentation for the attribute | Fody/PropertyChanged,user1568891/PropertyChanged,0x53A/PropertyChanged | PropertyChanged/ImplementPropertyChangedAttribute.cs | PropertyChanged/ImplementPropertyChangedAttribute.cs | using System;
namespace PropertyChanged
{
/// <summary>
/// Specifies that PropertyChanged Notification will be added to a class.
/// PropertyChanged.Fody will weave the <c>INotifyPropertyChanged</c> interface and implementation into the class.
/// When the value of a property changes, the PropertyCha... | using System;
namespace PropertyChanged
{
/// <summary>
/// Include a <see cref="Type"/> for notification.
/// The INotifyPropertyChanged interface is added to the type.
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class ImplementProp... | mit | C# |
db4807b856f76fc9b120eb836a6d608995f85144 | fix TimestampDriftTolerance validation | MehdyKarimpour/extensions,signumsoftware/framework,AlejandroCano/extensions,AlejandroCano/extensions,signumsoftware/extensions,signumsoftware/extensions,MehdyKarimpour/extensions,signumsoftware/framework | Signum.Entities.Extensions/Authorization/WebAuthn.cs | Signum.Entities.Extensions/Authorization/WebAuthn.cs | using System;
using Signum.Utilities;
using System.Text.RegularExpressions;
using Signum.Entities;
using System.Linq.Expressions;
namespace Signum.Entities.Authorization
{
[Serializable, EntityKind(EntityKind.System, EntityData.Transactional)]
public class WebAuthnCredentialEntity : Entity
{
... | using System;
using Signum.Utilities;
using System.Text.RegularExpressions;
using Signum.Entities;
using System.Linq.Expressions;
namespace Signum.Entities.Authorization
{
[Serializable, EntityKind(EntityKind.System, EntityData.Transactional)]
public class WebAuthnCredentialEntity : Entity
{
... | mit | C# |
0bb39cde876080921388e9ba0b1197ac54e91b76 | Format member info submitted value for email | kjac/FormEditor,kjac/FormEditor,kjac/FormEditor | Source/Solution/FormEditor/Fields/MemberInfoField.cs | Source/Solution/FormEditor/Fields/MemberInfoField.cs | using System;
using System.Collections.Generic;
using Umbraco.Core.Models;
using Umbraco.Web;
namespace FormEditor.Fields
{
public class MemberInfoField : FieldWithValue, IEmailField
{
public override string Type
{
get { return "core.memberinfo"; }
}
public override string PrettyName
{
get { return... | using System;
using System.Collections.Generic;
using Umbraco.Core.Models;
using Umbraco.Web;
namespace FormEditor.Fields
{
public class MemberInfoField : FieldWithValue, IEmailField
{
public override string Type
{
get { return "core.memberinfo"; }
}
public override string PrettyName
{
get { return... | mit | C# |
6b28c1745830d9f1d7f053ff2f46d76e28843aea | Remove IgnoreRoute comments | RehanSaeed/ASP.NET-MVC-Boilerplate,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates | Source/MVC6/Boilerplate.AspNetCore.Sample/Startup.Routing.cs | Source/MVC6/Boilerplate.AspNetCore.Sample/Startup.Routing.cs | namespace MvcBoilerplate
{
using Microsoft.AspNetCore.Routing;
public partial class Startup
{
/// <summary>
/// Improve SEO by stopping duplicate URL's due to case differences or trailing slashes.
/// See http://googlewebmastercentral.blogspot.co.uk/2010/04/to-slash-or-not-to-slash... | namespace MvcBoilerplate
{
using Microsoft.AspNetCore.Routing;
public partial class Startup
{
/// <summary>
/// Improve SEO by stopping duplicate URL's due to case differences or trailing slashes.
/// See http://googlewebmastercentral.blogspot.co.uk/2010/04/to-slash-or-not-to-slash... | mit | C# |
eef82cc76418ef4fdb1143aa4bcb5c1c40d76fcd | Fix issue with Scalar testing where default connection-strings where not forwarded | Seddryck/NBi,Seddryck/NBi | NBi.NUnit/Builder/AbstractScalarBuilder.cs | NBi.NUnit/Builder/AbstractScalarBuilder.cs | using System;
using System.Collections.Generic;
using NBi.Xml.Constraints;
using NBi.Xml.Systems;
using NBi.NUnit.Builder.Helper;
using NBi.Core.Configuration;
using NBi.Core.Injection;
using NBi.Core.Variable;
using NBi.Core.Scalar.Resolver;
using NBi.Xml.Settings;
namespace NBi.NUnit.Builder
{
abstract class Ab... | using System;
using System.Collections.Generic;
using NBi.Xml.Constraints;
using NBi.Xml.Systems;
using NBi.NUnit.Builder.Helper;
using NBi.Core.Configuration;
using NBi.Core.Injection;
using NBi.Core.Variable;
using NBi.Core.Scalar.Resolver;
namespace NBi.NUnit.Builder
{
abstract class AbstractScalarBuilder : Ab... | apache-2.0 | C# |
9fb5a7030fb135248c5aa75825b7eb94a9941e8a | Update DependenciesModule.cs | Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | apps/Core2D.Wpf/Modules/DependenciesModule.cs | apps/Core2D.Wpf/Modules/DependenciesModule.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Autofac;
using Core2D.Data.Database;
using Core2D.Interfaces;
using Core2D.Renderer;
using FileSystem.DotNetFx;
using FileWriter.Dxf;
using FileWriter.Emf;
u... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Autofac;
using Core2D.Data.Database;
using Core2D.Interfaces;
using Core2D.Renderer;
using FileSystem.DotNetFx;
using FileWriter.Dxf;
using FileWriter.Emf;
u... | mit | C# |
25c98575954512640685893cf04da78ba32bca52 | Bump version. | mios-fi/mios.payment | core/Properties/AssemblyInfo.cs | core/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | bsd-2-clause | C# |
49620c2b21db5b372005a96f5340fc883a5a20d6 | Update CultureFactory.cs | tiksn/TIKSN-Framework | TIKSN.Core/Globalization/CultureFactory.cs | TIKSN.Core/Globalization/CultureFactory.cs | using System;
using System.Globalization;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using TIKSN.Data.Cache.Memory;
namespace TIKSN.Globalization
{
public class CultureFactory : MemoryCacheDecoratorBase<CultureInfo>, ICultureFactory
{
public CultureFactory(IMemoryCa... | using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using System;
using System.Globalization;
using TIKSN.Data.Cache.Memory;
namespace TIKSN.Globalization
{
public class CultureFactory : MemoryCacheDecoratorBase<CultureInfo>, ICultureFactory
{
public CultureFactory(IMemoryCa... | mit | C# |
2c52123d059d36e8d78259ac3eea71d294d4938c | bump verison | Fody/Caseless | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Caseless")]
[assembly: AssemblyProduct("Caseless")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Caseless")]
[assembly: AssemblyProduct("Caseless")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("0.4.0.0")]
[assembly: AssemblyFileVersion("0.4.0.0")]
| mit | C# |
2febb29dbd2bca2d0d7900a12c6856f9cea8f45b | Return object from Dump/Inspect extension methods. | ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab | source/Runtime/SharpLabObjectExtensions.cs | source/Runtime/SharpLabObjectExtensions.cs | using System.ComponentModel;
using System.Text;
using SharpLab.Runtime.Internal;
public static class SharpLabObjectExtensions {
// LinqPad/etc compatibility only
[EditorBrowsable(EditorBrowsableState.Never)]
public static T Dump<T>(this T value)
=> value.Inspect(title: "Dump");
publ... | using System.ComponentModel;
using System.Text;
using SharpLab.Runtime.Internal;
public static class SharpLabObjectExtensions {
// LinqPad/etc compatibility only
[EditorBrowsable(EditorBrowsableState.Never)]
public static void Dump<T>(this T value) {
value.Inspect(title: "Dump");
}
... | bsd-2-clause | C# |
d1f4e851fa20806dee8473c9eeab3ffc28dadc2d | Update OptionAttribute.cs | primo-ppcg/BF-Crunch | src/argparse/OptionAttribute.cs | src/argparse/OptionAttribute.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text;
using ppcg.math;
using ppcg.text;
namespace ppcg.argparse {
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class OptionAttribute :... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text;
using ppcg.math;
using ppcg.text;
namespace ppcg.argparse {
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class OptionAttribute :... | mit | C# |
7bbb16c7ac0b92362fb48ba7584548908bfe9b53 | Initialize AppConfigCommand with an IApplicationConfiguration | appharbor/appharbor-cli | src/AppHarbor/Commands/AddConfigCommand.cs | src/AppHarbor/Commands/AddConfigCommand.cs | using System;
namespace AppHarbor.Commands
{
public class AddConfigCommand : ICommand
{
private readonly IApplicationConfiguration _applicationConfiguration;
public AddConfigCommand(IApplicationConfiguration applicationConfiguration)
{
_applicationConfiguration = applicationConfiguration;
}
public vo... | using System;
namespace AppHarbor.Commands
{
public class AddConfigCommand : ICommand
{
public AddConfigCommand()
{
}
public void Execute(string[] arguments)
{
throw new NotImplementedException();
}
}
}
| mit | C# |
6ed8409277b9b88bb950fd583f12f083177c599b | Remove using. | Bartmax/Foundatio,FoundatioFx/Foundatio,wgraham17/Foundatio,exceptionless/Foundatio | src/Core/Migration/IMigrationRepository.cs | src/Core/Migration/IMigrationRepository.cs | using Foundatio.Repositories;
namespace Foundatio.Migrations {
public interface IMigrationRepository : IRepository<MigrationResult> {
}
}
| using Foundatio.Repositories;
using GoodProspect.Domain.Migrations;
namespace Foundatio.Migrations {
public interface IMigrationRepository : IRepository<MigrationResult> {
}
}
| apache-2.0 | C# |
8f1a32f125562f0ef5e25765fd4ffe15f75cb331 | Update to v2 | ABTSoftware/SciChart.Wpf.UI | AssemblyInfoCommon.cs | AssemblyInfoCommon.cs | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCompany("SciChart Ltd")]
[assembly: AssemblyCopyright("Copyright © 2013 - 2016 ... | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCompany("SciChart Ltd")]
[assembly: AssemblyCopyright("Copyright © 2013 - 2016 ... | apache-2.0 | C# |
54b5a79112c097d9a65b4f8db3e571df4fcc5a21 | Change class Nonterminal to inherit Element | nokok/lury,HaiTo/lury,lury-lang/lury | src/Lury/Compiling/Elements/Nonterminal.cs | src/Lury/Compiling/Elements/Nonterminal.cs | //
// Nonterminal.cs
//
// Author:
// Tomona Nanase <nanase@users.noreply.github.com>
//
// The MIT License (MIT)
//
// Copyright (c) 2014-2015 Tomona Nanase
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"),... | //
// Nonterminal.cs
//
// Author:
// Tomona Nanase <nanase@users.noreply.github.com>
//
// The MIT License (MIT)
//
// Copyright (c) 2014-2015 Tomona Nanase
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"),... | mit | C# |
446301f144acbdd16623b3dc0041153bd4217953 | Change behaviour of CircularContainer slightly. | EVAST9919/osu-framework,ppy/osu-framework,naoey/osu-framework,DrabWeb/osu-framework,paparony03/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,default0/osu-framework,EVAST9919/osu-framework,naoey/osu-framework,peppy/osu-framework,Nabile-Rahmani/osu-framework,smoogipooo/osu-framework,Tom94/... | osu.Framework/Graphics/Containers/CircularContainer.cs | osu.Framework/Graphics/Containers/CircularContainer.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 System;
using System.Diagnostics;
namespace osu.Framework.Graphics.Containers
{
public class CircularContainer : Container
{
... | // 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 System.Diagnostics;
namespace osu.Framework.Graphics.Containers
{
public class CircularContainer : Container
{
public Circular... | mit | C# |
a4c0452455daad9b16727d3ec8f8439daf03cbca | Fix failure to dispose of the UdpClient for mixers | jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode | OscMixerControl/OscMixerControl/UdpOscClient.cs | OscMixerControl/OscMixerControl/UdpOscClient.cs | // Copyright 2021 Jon Skeet. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using OscCore;
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
namespace OscMixerControl
{
publi... | // Copyright 2021 Jon Skeet. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using OscCore;
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
namespace OscMixerControl
{
publi... | apache-2.0 | C# |
a432f7d5b15b2f5ee5e2d22d1c55eac826407f3d | Add SupportedOSPlatform browser | AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia | samples/ControlCatalog.Web/Program.cs | samples/ControlCatalog.Web/Program.cs | using System.Runtime.Versioning;
using Avalonia;
using Avalonia.Web;
using ControlCatalog;
using ControlCatalog.Web;
[assembly:SupportedOSPlatform("browser")]
internal partial class Program
{
private static void Main(string[] args)
{
BuildAvaloniaApp()
.AfterSetup(_ =>
{
... | using Avalonia;
using Avalonia.Web;
using ControlCatalog;
using ControlCatalog.Web;
internal partial class Program
{
private static void Main(string[] args)
{
BuildAvaloniaApp()
.AfterSetup(_ =>
{
ControlCatalog.Pages.EmbedSample.Implementation = new EmbedSampleW... | mit | C# |
ef090db58b750b51d988e4d5d917d82f032a34f6 | change update time from 5 secound to 5 minute | daitel/QFE | Main.cs | Main.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace qfe
{
public partial class Main : Form
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace qfe
{
public partial class Main : Form
{
... | mit | C# |
78936269816a682e514fb73aae557636aca19bff | update event list partial | jbrianskog/EventSourcingTodo,jbrianskog/EventSourcingTodo,jbrianskog/EventSourcingTodo | src/EventSourcingTodo/Views/Home/_EventsPartial.cshtml | src/EventSourcingTodo/Views/Home/_EventsPartial.cshtml | @model EventSourcingTodo.Models.EventsPartialViewModel
<h3>Events</h3>
@if (!Model.Events.Any())
{
<p><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> Add some to-dos to see events</p>
}
else
{
<pre><small>@foreach (var e in Model.Events)
{
var sb = new System.Text.Stri... | @model EventSourcingTodo.Models.EventsPartialViewModel
<h3>Events</h3>
@if (!Model.Events.Any())
{
<p><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> Add some to-dos to see events</p>
}
<ul class="list-unstyled">
@foreach (var e in Model.Events)
{
<li>
@e.G... | mit | C# |
920d396ca8cf13a0e2422d29db1257215e165934 | Add VSO Agent test that provokes a bug | GitTools/GitVersion,asbjornu/GitVersion,asbjornu/GitVersion,ermshiperete/GitVersion,gep13/GitVersion,dazinator/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,gep13/GitVersion,ParticularLabs/GitVersion,GitTools/GitVersion,dazinator/GitVersion,ParticularLabs/GitVersion | src/GitVersionCore.Tests/BuildServers/VsoAgentTests.cs | src/GitVersionCore.Tests/BuildServers/VsoAgentTests.cs | using System;
using GitVersion;
using GitVersionCore.Tests;
using NUnit.Framework;
using Shouldly;
[TestFixture]
public class VsoAgentTests : TestBase
{
string key = "BUILD_BUILDNUMBER";
[SetUp]
public void SetEnvironmentVariableForTest()
{
Environment.SetEnvironmentVariable(key, "Some Build_... | using System;
using GitVersion;
using GitVersionCore.Tests;
using NUnit.Framework;
using Shouldly;
[TestFixture]
public class VsoAgentTests : TestBase
{
string key = "BUILD_BUILDNUMBER";
[SetUp]
public void SetEnvironmentVariableForTest()
{
Environment.SetEnvironmentVariable(key, "Some Build_... | mit | C# |
db30c6cf56d1b452797e2adc39bd793eb3af2505 | Fix NullReferenceException in ValidateProviderChannelTypes() | tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server | src/Tgstation.Server.Api/Models/ChatBot.cs | src/Tgstation.Server.Api/Models/ChatBot.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Tgstation.Server.Api.Models
{
/// <inheritdoc />
public sealed class ChatBot : Internal.ChatBot
{
/// <summary>
/// Channels the Discord bot should listen/announce in
/// </summary>
public List<ChatChannel> Channels { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Tgstation.Server.Api.Models
{
/// <inheritdoc />
public sealed class ChatBot : Internal.ChatBot
{
/// <summary>
/// Channels the Discord bot should listen/announce in
/// </summary>
public List<ChatChannel> Channels { get; set; }
... | agpl-3.0 | C# |
9902671a8bbaf473407e38b51c76ccde7a48621f | Use NextGenListBase | twilio/twilio-csharp,mplacona/twilio-csharp,IRlyDontKnow/twilio-csharp | src/Twilio.TaskRouter/Model/EventResult.cs | src/Twilio.TaskRouter/Model/EventResult.cs | using System;
using System.Collections.Generic;
using Twilio.Model;
namespace Twilio.TaskRouter
{
/// <summary>
/// Twilio API call result with paging information.
/// </summary>
public class EventResult : NextGenListBase
{
/// <summary>
/// Gets or sets the events.
/// </... | using System;
using System.Collections.Generic;
namespace Twilio.TaskRouter
{
/// <summary>
/// Twilio API call result with paging information.
/// </summary>
public class EventResult : TwilioListBase
{
/// <summary>
/// Gets or sets the events.
/// </summary>
publi... | mit | C# |
1d7f7c8dd9fc5b837a4d8da4f5174abed38a7ea3 | Use our custom ExecutionEngine | RockyTV/Duality.IronPython | CorePlugin/ScriptExecutor.cs | CorePlugin/ScriptExecutor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Duality;
using RockyTV.Duality.Plugins.IronPython.Resources;
using IronPython.Hosting;
using IronPython.Runtime;
using IronPython.Compiler;
using Microsoft.Scripting;
using Microsoft.Scripting.Hosting;
namespace RockyTV.Duality.Plugins.IronPy... | using System;
using System.Collections.Generic;
using System.Linq;
using Duality;
using PythonScripting.Resources;
using IronPython.Hosting;
using IronPython.Runtime;
using IronPython.Compiler;
using Microsoft.Scripting;
using Microsoft.Scripting.Hosting;
namespace PythonScripting
{
public class ScriptExecutor : ... | mit | C# |
44c8a3fdd16d1068f85d0d883548cd63d951d6d3 | Fix #12 get-user returns 0 | valadas/Dnn.Platform,mitchelsellers/Dnn.Platform,dnnsoftware/Dnn.Platform,dnnsoftware/Dnn.AdminExperience.Extensions,EPTamminga/Dnn.Platform,valadas/Dnn.Platform,valadas/Dnn.Platform,mitchelsellers/Dnn.Platform,EPTamminga/Dnn.Platform,bdukes/Dnn.Platform,dnnsoftware/Dnn.Platform,robsiera/Dnn.Platform,valadas/Dnn.Platfo... | src/Modules/Prompt/Dnn.PersonaBar.Prompt/Models/UserModel.cs | src/Modules/Prompt/Dnn.PersonaBar.Prompt/Models/UserModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DotNetNuke.Entities.Users;
namespace Dnn.PersonaBar.Prompt.Models
{
public class UserModel : UserModelBase
{
public string DisplayName;
public string FirstName;
public string LastName;
pu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DotNetNuke.Entities.Users;
namespace Dnn.PersonaBar.Prompt.Models
{
public class UserModel : UserModelBase
{
public string DisplayName;
public string FirstName;
public string LastName;
pu... | mit | C# |
cbf7dd55ae533d40589b7595e88b111a5bdafaa2 | Fix typo in URL | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/MusicStore/Views/Shared/_ValidationScriptsPartial.cshtml | src/MusicStore/Views/Shared/_ValidationScriptsPartial.cshtml | <environment names="Development,NtlmAuthentication,OpenIdConnect,SocialTesting">
<script src="~/Scripts/jquery.validate.js"></script>
<script src="~/Scripts/jquery.validate.unobtrusive.js"></script>
</environment>
<environment names="Staging,Production">
<script src="//ajax.aspnetcdn.com/ajax/jquery.valida... | <environment names="Development,NtlmAuthentication,OpenIdConnect,SocialTesting">
<script src="~/Scripts/jquery.validate.js"></script>
<script src="~/Scripts/jquery.validate.unobtrusive.js"></script>
</environment>
<environment names="Staging,Production">
<script src="//ajax.aspnetcdn.com/ajax/jquery.valida... | apache-2.0 | C# |
41abe41ff50dd448debb543781038c9ae8cbed04 | update metadata to 1.0.8.1 | gridsum/DataflowEx,TheAngryByrd/DataflowEx | Gridsum.DataflowEx/Properties/AssemblyInfo.cs | Gridsum.DataflowEx/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
a8850cb191106a54a7e1fd55c447821025192af0 | Remove unused. | JohanLarsson/Gu.Wpf.Adorners | Gu.Wpf.Adorners/Internals/TemplatedAdorner.cs | Gu.Wpf.Adorners/Internals/TemplatedAdorner.cs | // ReSharper disable UnusedMember.Global
// ReSharper disable ParameterOnlyUsedForPreconditionCheck.Local
namespace Gu.Wpf.Adorners
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Co... | // ReSharper disable UnusedMember.Global
// ReSharper disable ParameterOnlyUsedForPreconditionCheck.Local
namespace Gu.Wpf.Adorners
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Co... | mit | C# |
72392a023825076c9341c1c5b1cac53a6465e200 | update version to 4.0.0 | SpectraLogic/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014-2017 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 License i... | /*
* ******************************************************************************
* Copyright 2014-2017 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 License i... | apache-2.0 | C# |
3ebff3421706f1ff106dac1102623c607fc04cc0 | Allow custom arguments. | sqc1999/LxRunOffline | LxRunOffline/Program.cs | LxRunOffline/Program.cs | using System;
using System.Diagnostics;
using EasyHook;
namespace LxRunOffline
{
class Program
{
static void Main(string[] args)
{
int pId = 0;
try
{
RemoteHooking.CreateAndInject(@"C:\Windows\System32\LxRun.exe", string.Join(" ", args), 0, "LxRunHook.dll", "LxRunHook.dll", out pId);
}
catch ... | using System;
using System.Diagnostics;
using EasyHook;
namespace LxRunOffline
{
class Program
{
static void Main(string[] args)
{
int pId = 0;
try
{
RemoteHooking.CreateAndInject(@"C:\Windows\System32\LxRun.exe", "/install", 0, "LxRunHook.dll", "LxRunHook.dll", out pId);
}
catch (Exception e... | mit | C# |
f9da2c35f4e8a0d636b2d6082935bfaeb93453de | fix invalid type in FakeTestFixture. | jwChung/Experimentalism,jwChung/Experimentalism | test/ExperimentUnitTest/FakeTestFixture.cs | test/ExperimentUnitTest/FakeTestFixture.cs | using System;
namespace Jwc.Experiment
{
public class FakeTestFixture : ITestFixture
{
private readonly string _stringValue = Guid.NewGuid().ToString();
private readonly int _intValue = new Random().Next();
public string StringValue
{
get
{
... | using System;
namespace Jwc.Experiment
{
public class FakeTestFixture : ITestFixture
{
private readonly string _stringValue = Guid.NewGuid().ToString();
private readonly string _intValue = Guid.NewGuid().ToString();
public string StringValue
{
get
{
... | mit | C# |
79ab35ebdabc532630d839f08046129bbee1d8de | Update DataGameSettings.cs | dimmpixeye/Unity3dTools | Assets/[1]Source/Common/DataGameSettings.cs | Assets/[1]Source/Common/DataGameSettings.cs | using UnityEngine;
namespace Homebrew
{
[CreateAssetMenu(fileName = "DataGameSettings", menuName = "Actors/Data/DataGameSettings")]
public class DataGameSettings : DataGame, IKernel
{
}
}
| using UnityEngine;
namespace Homebrew
{
[CreateAssetMenu(fileName = "DataGameSettings", menuName = "Actors/Data/DataGameSettings")]
public class DataGameSettings : DataGame
{
}
} | mit | C# |
9bc3bae184d51e6aca506d5f59c9709063394fc1 | Restructure to start implementing category based pool. | dimixar/audio-controller-unity | AudioController/Assets/Source/ObjectPool.cs | AudioController/Assets/Source/ObjectPool.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPool : MonoBehaviour
{
[SerializeField]
private GameObject _defaultPrefab;
#region Public methods and properties
public GameObject defaultPrefab
{
set
{
_defaultPrefab = ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPool : MonoBehaviour
{
[SerializeField]
private GameObject _prefab;
private Stack<GameObject> _pool;
public GameObject prefab
{
set {
_prefab = value;
}
}
//TODO... | mit | C# |
18344d117508cd45a6d20997ec01acf156413931 | Remove obsolete WeaponMount.OffsetMag field | iridinite/shiftdrive | Client/WeaponMount.cs | Client/WeaponMount.cs | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using System;
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// Represents the maximum weapon size that a mount can hold.
/// </summary>
internal enum MountSize {
Small = 1,
Medium = 2,
Large = 3
... | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using System;
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// Represents the maximum weapon size that a mount can hold.
/// </summary>
internal enum MountSize {
Small = 1,
Medium = 2,
Large = 3
... | bsd-3-clause | C# |
95c1ef2ec267828b0f31f2b346bc9432b2a3d88b | bump version | Fody/PropertyChanged | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("PropertyChanged")]
[assembly: AssemblyProduct("PropertyChanged")]
[assembly: AssemblyCompany("Simon Cropp and Contributors")]
[assembly: AssemblyDescription("Fody add-in for injecting INotifyPropertyChanged code into properties.")]
[assembly: AssemblyVersion("2.1.5")... | using System.Reflection;
[assembly: AssemblyTitle("PropertyChanged")]
[assembly: AssemblyProduct("PropertyChanged")]
[assembly: AssemblyCompany("Simon Cropp and Contributors")]
[assembly: AssemblyDescription("Fody add-in for injecting INotifyPropertyChanged code into properties.")]
[assembly: AssemblyVersion("2.1.4")... | mit | C# |
d1316b8666ef33596344dda351ed45f810267aa5 | fix version | Fody/EmptyConstructor | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("EmptyConstructor")]
[assembly: AssemblyProduct("EmptyConstructor")]
[assembly: AssemblyVersion("1.2.0")]
[assembly: AssemblyFileVersion("1.2.0")]
| using System.Reflection;
[assembly: AssemblyTitle("EmptyConstructor")]
[assembly: AssemblyProduct("EmptyConstructor")]
[assembly: AssemblyVersion("1.1.7")]
[assembly: AssemblyFileVersion("1.1.7")]
| mit | C# |
51cc6ff821bee069dbffd60f604990cb39df7606 | update version | Fody/Equals | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Fody.Equals")]
[assembly: AssemblyProduct("Fody.Equals")]
[assembly: AssemblyVersion("1.4.8")]
[assembly: AssemblyFileVersion("1.4.8")]
| using System.Reflection;
[assembly: AssemblyTitle("Fody.Equals")]
[assembly: AssemblyProduct("Fody.Equals")]
[assembly: AssemblyVersion("1.4.7")]
[assembly: AssemblyFileVersion("1.4.7")]
| mit | C# |
be6e2a0f2b1c05c0a7eaebf8274900f7fc4751d6 | bump version | vevix/DigitalOcean.API | DigitalOcean.API/Properties/AssemblyInfo.cs | DigitalOcean.API/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("DigitalOcean.API")]
[assembly: AssemblyD... | 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("DigitalOcean.API")]
[assembly: AssemblyD... | mit | C# |
d3b858ff220e65048ccc18ddd982f4930b89c441 | update version | mstyura/Anotar,Fody/Anotar | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Anotar")]
[assembly: AssemblyProduct("Anotar")]
[assembly: AssemblyVersion("3.2.0")]
[assembly: AssemblyFileVersion("3.2.0")]
| using System.Reflection;
[assembly: AssemblyTitle("Anotar")]
[assembly: AssemblyProduct("Anotar")]
[assembly: AssemblyVersion("3.1.0")]
[assembly: AssemblyFileVersion("3.1.0")]
| mit | C# |
ebdf964ccfaed7534570741ce95e7c2e584632f8 | Fix SwitchToThreadPool, SwitchToTaskPool | TORISOUP/UniRx,neuecc/UniRx | Assets/Plugins/UniRx/Scripts/Async/UniTask.Threading.cs | Assets/Plugins/UniRx/Scripts/Async/UniTask.Threading.cs | #if CSHARP_7_OR_LATER
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
using System;
using System.Threading;
using System.Threading.Tasks;
using UniRx.Async.Internal;
namespace UniRx.Async
{
public partial struct UniTask
{
public static UniTask SwitchToThreadP... | #if CSHARP_7_OR_LATER
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
using System;
using System.Threading;
using System.Threading.Tasks;
namespace UniRx.Async
{
public partial struct UniTask
{
static readonly WaitCallback switchToThreadPoolCallback = Callbac... | mit | C# |
74f475bb3a56730ae1ee90cac50335f35db68d7c | build "1.0.18.0 | agileharbor/shopVisibleAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShopVisibleAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) 2014 Agile Harbor, LLC" ) ]
[ assembly : Ass... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShopVisibleAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) 2014 Agile Harbor, LLC" ) ]
[ assembly : Ass... | bsd-3-clause | C# |
206a94ec5caeb3e664440e772ec06e008883a8b0 | Update VisualElementExtension.shared.cs (#961) | FormsCommunityToolkit/FormsCommunityToolkit | src/CommunityToolkit/Xamarin.CommunityToolkit/Extensions/VisualElementExtension.shared.cs | src/CommunityToolkit/Xamarin.CommunityToolkit/Extensions/VisualElementExtension.shared.cs | using System;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Xamarin.CommunityToolkit.Extensions
{
public static class VisualElementExtension
{
public static Task<bool> ColorTo(this VisualElement element, Color color, uint length = 250u, Easing easing = null)
{
_ = element ?? throw new Argument... | using System;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Xamarin.CommunityToolkit.Extensions
{
public static class VisualElementExtension
{
public static Task<bool> ColorTo(this VisualElement element, Color color, uint length = 250u, Easing easing = null)
{
_ = element ?? throw new Argument... | mit | C# |
0e56b9957bcb7d4613ecb2fa3cb0f81c2bedbe9a | Fix site stub for 1.9 compatibility | bleroy/Nwazet.Commerce,bleroy/Nwazet.Commerce | Nwazet.Commerce.Tests/Stubs/SiteStub.cs | Nwazet.Commerce.Tests/Stubs/SiteStub.cs | using System.Collections.Generic;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Records;
using Orchard.Settings;
using Nwazet.Commerce.Models;
using Orchard.ContentManagement.FieldStorage.InfosetStorage;
namespace Nwazet.Commerce.Tests.Stubs {
public class SiteStub : ISite {
pu... | using System.Collections.Generic;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Records;
using Orchard.Settings;
using Nwazet.Commerce.Models;
using Orchard.ContentManagement.FieldStorage.InfosetStorage;
namespace Nwazet.Commerce.Tests.Stubs {
public class SiteStub : ISite {
pu... | bsd-3-clause | C# |
cd101f74e935cb3dc95f31e702a5d022d08c895a | Fix failing tests | vbfox/pinvoke,AArnott/pinvoke,jmelosegui/pinvoke | src/Kernel32.Tests.Shared/Kernel32ExtensionsTests.cs | src/Kernel32.Tests.Shared/Kernel32ExtensionsTests.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using PInvoke;
using Xunit;
public partial class Kernel32ExtensionsTests
{
[Fact]
pub... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using PInvoke;
using Xunit;
public partial class Kernel32ExtensionsTests
{
[Fact]
pub... | mit | C# |
f28f954afd0e07d7756a073de56aab210640563c | Change default configuration file name. | r3c/menora | Menora/src/Program.cs | Menora/src/Program.cs | using System;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using Mono.Options;
namespace Menora
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] arg... | using System;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using Mono.Options;
namespace Menora
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] arg... | bsd-2-clause | C# |
76e1e5d18f2c64f60deeffc1e437c2fd77a9fec7 | Fix code styling for Album | xivSolutions/biggy | Demo/Models/Album.cs | Demo/Models/Album.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
//... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
//... | bsd-3-clause | C# |
78567912ea06f1a9db9c9042572f74882d3e52af | Add user methods to TwitchRestClient | Aux/NTwitch,Aux/NTwitch | src/Twitch.Net.Rest/TwitchRestClient.cs | src/Twitch.Net.Rest/TwitchRestClient.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Twitch.Rest
{
public class TwitchRestClient : ITwitchClient
{
private TwitchRestClientConfig _config;
private RestApiClient _rest;
private string _token;
... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Twitch.Rest
{
public class TwitchRestClient : ITwitchClient
{
private TwitchRestClientConfig _config;
private RestApiClient _rest;
private string _token;
... | mit | C# |
7555d04ea4d4aed20a09b305847fdb2b5dedf72a | Remove unnecessary using and comment. | niarora/Playground | Leetcode/CombinationSum.cs | Leetcode/CombinationSum.cs | namespace Playground.Leetcode
{
using System.Collections.Generic;
public static class CombinationSum
{
// Problem number 377. https://leetcode.com/problems/combination-sum-iv/
public static int CombinationSum4(int[] nums, int target)
{
var count = 0;
var coun... | namespace Playground.Leetcode
{
using System;
using System.Collections.Generic;
public static class CombinationSum
{
// Problem number 377. https://leetcode.com/problems/combination-sum-iv/
public static int CombinationSum4(int[] nums, int target)
{
//Array.Sort(nums... | mit | C# |
71c25cae2d46b4f774f0038d6582fe6a076543cf | Allow null pen in GeometryImpl. | AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,grokys/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Perspex,wieslawsoltes/Perspex,MrDaedra/Avalo... | src/Windows/Avalonia.Direct2D1/Media/GeometryImpl.cs | src/Windows/Avalonia.Direct2D1/Media/GeometryImpl.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia.Platform;
using SharpDX.Direct2D1;
namespace Avalonia.Direct2D1.Media
{
/// <summary>
/// The platform-specific inte... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia.Platform;
using SharpDX.Direct2D1;
namespace Avalonia.Direct2D1.Media
{
/// <summary>
/// The platform-specific inte... | mit | C# |
a6f5631f41a7b7a0e12dc92bd0275dbc0f5582c5 | Fix geometry measure. | akrisiun/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,Perspex/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkor... | src/Windows/Avalonia.Direct2D1/Media/GeometryImpl.cs | src/Windows/Avalonia.Direct2D1/Media/GeometryImpl.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia.Platform;
using SharpDX.Direct2D1;
namespace Avalonia.Direct2D1.Media
{
/// <summary>
/// The platform-specific inte... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia.Platform;
using SharpDX.Direct2D1;
namespace Avalonia.Direct2D1.Media
{
/// <summary>
/// The platform-specific inte... | mit | C# |
bb9cdf5725067558cffefc4c546cc966303c7e3d | make string consistent | EdwardBlair/cli,harshjain2/cli,livarcocc/cli-1,dasMulli/cli,livarcocc/cli-1,blackdwarf/cli,blackdwarf/cli,johnbeisner/cli,Faizan2304/cli,livarcocc/cli-1,dasMulli/cli,ravimeda/cli,blackdwarf/cli,johnbeisner/cli,blackdwarf/cli,harshjain2/cli,ravimeda/cli,dasMulli/cli,svick/cli,ravimeda/cli,EdwardBlair/cli,harshjain2/cli,... | src/dotnet/commands/dotnet-sln/LocalizableStrings.cs | src/dotnet/commands/dotnet-sln/LocalizableStrings.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DotNet.Tools.Sln
{
internal class LocalizableStrings
{
public const string AppFullName = ".NET modify solutio... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DotNet.Tools.Sln
{
internal class LocalizableStrings
{
public const string AppFullName = ".NET modify solutio... | mit | C# |
c98f47febceebdc5e6e8c9803b471490dd826aa1 | Implement try add vertex. | DasAllFolks/SharpGraphs | Graph/SimpleGraph.cs | Graph/SimpleGraph.cs | using System;
using System.Collections.Generic;
namespace Graph
{
/// <summary>
/// Represents a simple graph (i.e., as opposed to a
/// <see cref="MultiGraph{V, E, W}"/>.
/// </summary>
/// <typeparam name="V">
/// The type used to create vertex (node) labels.
/// </typeparam>
/// <ty... | using System;
namespace Graph
{
/// <summary>
/// Represents a simple graph (i.e., as opposed to a
/// <see cref="MultiGraph{V, E, W}"/>.
/// </summary>
/// <typeparam name="V">
/// The type used to create vertex (node) labels.
/// </typeparam>
/// <typeparam name="E">The edge type.</t... | apache-2.0 | C# |
18a34dcf664518043527b71dc3e40dc59d0ccf08 | Increment version number | mj1856/TimeZoneNames | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Matt Johnson")]
[assembly: AssemblyProduct("Time Zone Names")]
[assembly: AssemblyCopyright("Copyright © 2014 Matt Johnson")]
[assembly: AssemblyVersion("1.1.1.*")]
[assembly: AssemblyInformationalVersion("1.1.1")]
| using System.Reflection;
[assembly: AssemblyCompany("Matt Johnson")]
[assembly: AssemblyProduct("Time Zone Names")]
[assembly: AssemblyCopyright("Copyright © 2014 Matt Johnson")]
[assembly: AssemblyVersion("1.1.0.*")]
[assembly: AssemblyInformationalVersion("1.1.0")]
| mit | C# |
6f892204c1d554e8bb35cb44160d352db8cd3493 | bump build number | jjchiw/gelf4net,jjchiw/gelf4net | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security;
using System.Runtime.CompilerServices;
[assembly: AssemblyCompany("gelf4net")]
[assembly: AssemblyFileVersion("2.0.3.2")]
[assembly: AssemblyVersion("2.0.3.2")]
[assembly: AssemblyCopyright("Copyright 2014")]
[assemb... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security;
using System.Runtime.CompilerServices;
[assembly: AssemblyCompany("gelf4net")]
[assembly: AssemblyFileVersion("2.0.3.1")]
[assembly: AssemblyVersion("2.0.3.1")]
[assembly: AssemblyCopyright("Copyright 2014")]
[assemb... | mit | C# |
ff9cc4594a9776bb2d9d4c6e8c0ea31f6c6e354c | Fix an issue | nickkazepis/ROS.NET,nickkazepis/ROS.NET,nickkazepis/ROS.NET,beanstalk42/ROS.NET,uml-robotics/ROS.NET | ROS_Comm/TopicInfo.cs | ROS_Comm/TopicInfo.cs | // File: TopicInfo.cs
// Project: ROS_C-Sharp
//
// ROS#
// Eric McCann <emccann@cs.uml.edu>
// UMass Lowell Robotics Laboratory
//
// Reimplementation of the ROS (ros.org) ros_cpp client in C#.
//
// Created: 03/04/2013
// Updated: 15/07/2014
namespace Ros_CSharp
{
public class TopicInfo
{
public ... | // File: TopicInfo.cs
// Project: ROS_C-Sharp
//
// ROS#
// Eric McCann <emccann@cs.uml.edu>
// UMass Lowell Robotics Laboratory
//
// Reimplementation of the ROS (ros.org) ros_cpp client in C#.
//
// Created: 03/04/2013
// Updated: 07/26/2013
namespace Ros_CSharp
{
public class TopicInfo
{
public ... | bsd-2-clause | C# |
755146f017213102153e5b667897f2101b9950a2 | Update version to 4.2.0 | TheOtherTimDuncan/TOTD | SharedAssemblyInfo.cs | SharedAssemblyInfo.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: AssemblyConfigura... | 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: AssemblyConfigura... | mit | C# |
38315d8c575f9cbae44e847bcbe05656a6cc2d8a | Add doc comments | JoeBiellik/clipup | SDK/MultipartFile.cs | SDK/MultipartFile.cs | namespace ClipUp.Sdk
{
/// <summary>
/// File to be uploaded as part of a multipart upload request.
/// </summary>
public class MultipartFile
{
/// <summary>
/// Gets or sets the name of the upload field.
/// </summary>
/// <value>The upload field name.</value>
... | namespace ClipUp.Sdk
{
public class MultiPartFile
{
public string FieldName { get; set; }
public string FileName { get; set; }
public byte[] Data { get; set; }
public string ContentType { get; set; }
public string ContentTransferEncoding { get; set; } = "binary";
}
}... | mit | C# |
af43f72ffa3108412e2f5add015cec0d2810681e | Fix #1, tweak code organisation | LonDC/demos-dotnet | TestViaApi/Program.cs | TestViaApi/Program.cs | using RestSharp;
using System;
namespace TestViaApi
{
class Program
{
private static string usr = "USER EMAIL HERE";
private static string pwd = "USER PASSWORD HERE";
// This is the production endpoint for LDC Via
const string BASE_URI = "https://eu.ldcvia.com";
/// <s... | using RestSharp;
using System;
namespace TestViaApi
{
class Program
{
// Uses RestSharp: http://restsharp.org/
public static void Main(string[] args)
{
var client = new RestClient("http://eu.ldcvia.com");
var request = new RestRequest("/1.0/databases", Method.GET... | apache-2.0 | C# |
e38d1ef01cef2e30a57e338e64904909bd0a50c8 | fix editor and plugin name | gandarez/ssms-wakatime | WakaTime/Constants.cs | WakaTime/Constants.cs | using System;
using System.Net;
using System.Text.RegularExpressions;
namespace WakaTime
{
internal static class Constants
{
internal const string PluginName = "ssms-wakatime";
internal static string PluginVersion =
$"{WakaTimePackage.CoreAssembly.Version.Major}.{WakaTimePackage.Co... | using System;
using System.Net;
using System.Text.RegularExpressions;
namespace WakaTime
{
internal static class Constants
{
internal const string PluginName = "visualstudio-wakatime";
internal static string PluginVersion =
$"{WakaTimePackage.CoreAssembly.Version.Major}.{WakaTimeP... | bsd-3-clause | C# |
020c613506c8796ac2bc2541740360e7ab62422b | Make new exception inherit from known type. Tests ok. | Systemutvikler/AdaptiveCode2e | Chapter09/NoNewExceptionAreAllowed/RepositoryExceptions/Persistence/UserNotFoundException.cs | Chapter09/NoNewExceptionAreAllowed/RepositoryExceptions/Persistence/UserNotFoundException.cs | using System;
namespace RepositoryExceptions.Persistence
{
/// <summary>
/// New exception introduced
/// </summary>
public class UserNotFoundException : EntityNotFoundException
{
public UserNotFoundException() : base()
{
}
public UserNotFoundException(string messa... | using System;
namespace RepositoryExceptions.Persistence
{
/// <summary>
/// New exception introduced
/// </summary>
public class UserNotFoundException : Exception
{
public UserNotFoundException() : base()
{
}
public UserNotFoundException(string message) : base(mes... | mit | C# |
f086717762eeeba6b84ace1d10c068a4b70bfd47 | Add change to sublistresult | juvchan/azure-sdk-for-net,Matt-Westphal/azure-sdk-for-net,nemanja88/azure-sdk-for-net,DeepakRajendranMsft/azure-sdk-for-net,yitao-zhang/azure-sdk-for-net,yitao-zhang/azure-sdk-for-net,vladca/azure-sdk-for-net,shuagarw/azure-sdk-for-net,DeepakRajendranMsft/azure-sdk-for-net,oburlacu/azure-sdk-for-net,nacaspi/azure-sdk-f... | src/ResourceManagement/Resource/ResourceManagement/Generated/Models/SubscriptionListResult.cs | src/ResourceManagement/Resource/ResourceManagement/Generated/Models/SubscriptionListResult.cs | //
// Copyright (c) Microsoft and contributors. 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 requi... | //
// Copyright (c) Microsoft and contributors. 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 requi... | apache-2.0 | C# |
c111f16076b44fb6e87816e9db127edec7913a34 | Make Player class public | n0nick/pewpew | PewPew/Game/Player.cs | PewPew/Game/Player.cs | using Microsoft.Kinect;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace PewPew.Game
{
public class Player
{
public SkeletonPoint leftHand;
public SkeletonPoint rightHand;
public Skeleton... | using Microsoft.Kinect;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace PewPew.Game
{
class Player
{
public SkeletonPoint leftHand;
public SkeletonPoint rightHand;
public SkeletonPoint c... | mit | C# |
faafd8cdbfdfb0e17ae27f4c4b05c86adf834ba7 | Update AssemblyInfo | bartlomiejwolk/AnimationPathAnimator | Properties/AssemblyInfo.cs | 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("An... | 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("An... | mit | C# |
a2819865023f42a283c1ca42a265624f2c53a34a | Fix CallRouterResolver's read part | jbialobr/NSubstitute,jbialobr/NSubstitute,jbialobr/NSubstitute,jbialobr/NSubstitute,jbialobr/NSubstitute | Source/NSubstitute/Core/CallRouterResolver.cs | Source/NSubstitute/Core/CallRouterResolver.cs | using System;
#if NET4
using System.Collections.Concurrent;
#endif
using System.Collections.Generic;
using NSubstitute.Exceptions;
namespace NSubstitute.Core
{
public class CallRouterResolver : ICallRouterResolver
{
#if NET4
IDictionary<object, ICallRouter> _callRouterMappings = new ConcurrentDictiona... | using System;
#if NET4
using System.Collections.Concurrent;
#endif
using System.Collections.Generic;
using NSubstitute.Exceptions;
namespace NSubstitute.Core
{
public class CallRouterResolver : ICallRouterResolver
{
#if NET4
IDictionary<object, ICallRouter> _callRouterMappings = new ConcurrentDictiona... | bsd-3-clause | C# |
91efff184d7bf29ad04235427ec91e3a91936449 | Increment patch -> 0.11.1 | awseward/Bugsnag.NET,awseward/Bugsnag.NET | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("0.11.1.0")]
[assembly: AssemblyFileVersion("0.11.1.0")]
[assembly: AssemblyInformationalVersion("0.11.1")]
| using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("0.11.0.0")]
[assembly: AssemblyFileVersion("0.11.0.0")]
[assembly: AssemblyInformationalVersion("0.11.0")]
| mit | C# |
0fe86062b56f26e94fcad672b1d46c3f09467ee8 | Update ClaseDario.cs | ThinkUpStudios/TestGitHub | TestGit/ClaseDario.cs | TestGit/ClaseDario.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestGit
{
class ClaseDario
{
public string FacuComilon { get; set; }
public double FacuPuto { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestGit
{
class ClaseDario
{
public string FacuComilon { get; set; }
public int FacuPuto { get; set; }
}
}
| apache-2.0 | C# |
742f9f23345f6f3e87187b7cf81f195cf5381777 | Add Unit Test for Requester ID check | mwarger/ZendeskApi_v2,dcrowe/ZendeskApi_v2,mattnis/ZendeskApi_v2,CKCobra/ZendeskApi_v2 | Tests/RequestTests.cs | Tests/RequestTests.cs | using System.Linq;
using NUnit.Framework;
using ZendeskApi_v2;
using ZendeskApi_v2.Models.Requests;
using ZendeskApi_v2.Models.Tickets;
namespace Tests
{
[TestFixture]
public class RequestTests
{
private ZendeskApi api = new ZendeskApi(Settings.Site, Settings.Email, Settings.Password);
[Te... | using System.Linq;
using NUnit.Framework;
using ZendeskApi_v2;
using ZendeskApi_v2.Models.Requests;
using ZendeskApi_v2.Models.Tickets;
namespace Tests
{
[TestFixture]
public class RequestTests
{
private ZendeskApi api = new ZendeskApi(Settings.Site, Settings.Email, Settings.Password);
[Te... | apache-2.0 | C# |
d1e58ab894dbd1bc864e73d75d564860ffed07e3 | Fix Session-type typo | Generic-Voting-Application/voting-application,Generic-Voting-Application/voting-application,Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,stevenhillcox/voting-application,stevenhillcox/voting-application,tpkelly/voting-application,tpkelly/voting-application,JDawes-ScottLogic/voting-... | VotingApplication/VotingApplication.Data/Model/Vote.cs | VotingApplication/VotingApplication.Data/Model/Vote.cs | namespace VotingApplication.Data.Model
{
public class Vote
{
public long Id { get; set; }
public long OptionId { get; set; }
public Option Option { get; set; }
public long UserId { get; set; }
public User User { get; set; }
public long SessionId { get; set; }
... | namespace VotingApplication.Data.Model
{
public class Vote
{
public long Id { get; set; }
public long OptionId { get; set; }
public Option Option { get; set; }
public long UserId { get; set; }
public User User { get; set; }
public long SessionId { get; set; }
... | apache-2.0 | C# |
b3ea567061a791d2f297d27bc19e7e185cb7a7cb | remove redundant code | JakeGinnivan/GitVersion,alexhardwicke/GitVersion,asbjornu/GitVersion,JakeGinnivan/GitVersion,pascalberger/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,DanielRose/GitVersion,RaphHaddad/GitVersion,GitTools/GitVersion,RaphHaddad/GitVersion,Kantis/GitVersion,DanielRose/GitVersion,ermshiperete/GitVersion,dpurg... | Tests/ModuleInitializer.cs | Tests/ModuleInitializer.cs | using System.Diagnostics;
using GitVersion;
/// <summary>
/// Used by the ModuleInit. All code inside the Initialize method is ran as soon as the assembly is loaded.
/// </summary>
public static class ModuleInitializer
{
/// <summary>
/// Initializes the module.
/// </summary>
public static void Initi... | using System;
using System.Diagnostics;
using System.IO;
using GitVersion;
/// <summary>
/// Used by the ModuleInit. All code inside the Initialize method is ran as soon as the assembly is loaded.
/// </summary>
public static class ModuleInitializer
{
/// <summary>
/// Initializes the module.
/// </summar... | mit | C# |
3a3482ff78f85fa2235f87bb97ebe2aab7404ec4 | update Debug.Log() | yasokada/unity-150831-udpMonitor,yasokada/unity-150923-udpRs232c | Assets/udpMonitorScript.cs | Assets/udpMonitorScript.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
public class udpMonitorScript : MonoBehaviour {
Thread monThr = null; // monitor Thread
static bool created = false;
public Toggle ToggleComm;
... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
public class udpMonitorScript : MonoBehaviour {
Thread monThr = null; // monitor Thread
static bool created = false;
public Toggle ToggleComm;
... | mit | C# |
8c77616de125af682aa971cb9e057b1daf33abfa | Update Entities | dimmpixeye/Unity3dTools | Assets/[0]Framework/LibEcsNaive/ProcessingEntities.cs | Assets/[0]Framework/LibEcsNaive/ProcessingEntities.cs | /*===============================================================
Product: Cryoshock
Developer: Dimitry Pixeye - pixeye@hbrew.store
Company: Homebrew - http://hbrew.store
Date: 25/01/2018 00:05
================================================================*/
... | /*===============================================================
Product: Cryoshock
Developer: Dimitry Pixeye - pixeye@hbrew.store
Company: Homebrew - http://hbrew.store
Date: 25/01/2018 00:05
================================================================*/
... | mit | C# |
7380636496e463de72ab10da588913ed45a366b8 | bump to v1.0.3 | pragmatrix/NEventSocket,danbarua/NEventSocket,pragmatrix/NEventSocket,danbarua/NEventSocket | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NEventSocket")]
[assembly: AssemblyDescription("An async reactive EventSocket driver for FreeSwitch")]
[assembly: AssemblyCompany("Dan Barua")]
[assembly: AssemblyProduct("NEventSocket")]
[assembly: AssemblyCopyright("Copyright (C... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NEventSocket")]
[assembly: AssemblyDescription("An async reactive EventSocket driver for FreeSwitch")]
[assembly: AssemblyCompany("Dan Barua")]
[assembly: AssemblyProduct("NEventSocket")]
[assembly: AssemblyCopyright("Copyright (C... | mpl-2.0 | C# |
dea927a49cb221b8e79d32f6b34f4f37c7eff9d3 | Revert "Fix CommandTimeout bug" | sdanyliv/linq2db,scratch-net/linq2db,genusP/linq2db,LinqToDB4iSeries/linq2db,yonglehou/linq2db,barsgroup/linq2db,linq2db/linq2db,enginekit/linq2db,bahram-aliyev/linq2db,AK107/linq2db,bahram-aliyev/linq2db,LinqToDB4iSeries/linq2db,jogibear9988/linq2db,lvaleriu/linq2db,giuliohome/linq2db,yonglehou/linq2db,AK107/linq2db,s... | Source/Linq/ITable.cs | Source/Linq/ITable.cs | using System;
namespace LinqToDB.Linq
{
interface ITable
{
}
}
| namespace LinqToDB.Linq
{
interface ITable
{
}
}
| mit | C# |
d71313f46cc33dcc8ae01c6c70a1a97d10f7b7c2 | Bump version to 0.5.1 | whampson/bft-spec,whampson/cascara | Src/WHampson.Bft/Properties/AssemblyInfo.cs | Src/WHampson.Bft/Properties/AssemblyInfo.cs | #region License
/* Copyright (c) 2017 Wes Hampson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify,... | #region License
/* Copyright (c) 2017 Wes Hampson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify,... | mit | C# |
d89c79dec866fbfcf1ad0390a3ce00dc2b20c520 | update markup | codingteam/codingteam.org.ru,codingteam/codingteam.org.ru | Views/Home/Index.cshtml | Views/Home/Index.cshtml | <h1>codingteam</h1>
<p>Welcome! Codingteam is an open community of engineers and programmers.</p>
<p>And here're today's conference logs:</p>
<iframe class="logs" src="@ViewData["LogUrl"]"></iframe>
| <h1>codingteam</h1>
<p>Welcome! Codingteam is an open community of engineers and programmers.</p>
<p>And here're today's conference logs:</p>
<iframe class="logs" src="@ViewData["LogUrl"]" />
| mit | C# |
7429900224f99873b9d206c8282f1dfcfb1a2d8d | Refactor for clarity | erandr/SolrNet,drakeh/SolrNet,MetSystem/SolrNet,vladen/SolrNet,drakeh/SolrNet,chang892886597/SolrNet,tombeany/SolrNet,drakeh/SolrNet,vmanral/SolrNet,18098924759/SolrNet,doss78/SolrNet,mausch/SolrNet,doss78/SolrNet,erandr/SolrNet,vladen/SolrNet,vmanral/SolrNet,vyzvam/SolrNet,vyzvam/SolrNet,MetSystem/SolrNet,mausch/SolrN... | SolrNet/Impl/ResponseParsers/ResultsResponseParser.cs | SolrNet/Impl/ResponseParsers/ResultsResponseParser.cs | #region license
// Copyright (c) 2007-2010 Mauricio Scheffer
//
// 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
//
// Un... | #region license
// Copyright (c) 2007-2010 Mauricio Scheffer
//
// 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
//
// Un... | apache-2.0 | C# |
7084789e9a2f1e0d562053e0df0d890ebdc31de2 | Add Method Place.Draw() | shlee322/openrgss | Runtime/RGSS/Plane.cs | Runtime/RGSS/Plane.cs | namespace OpenRGSS.Runtime.RGSS
{
public class Plane : Entity
{
private Viewport _viewport;
public Viewport viewport
{
get { return _viewport; }
}
public Bitmap bitmap;
public bool visible;
public int z;
public int ox;
public i... | namespace OpenRGSS.Runtime.RGSS
{
public class Plane : Entity
{
private Viewport _viewport;
public Viewport viewport
{
get { return _viewport; }
}
public Bitmap bitmap;
public bool visible;
public int z;
public int ox;
public i... | mit | C# |
77967f40c81dd099711f0b8c2086a328b25be7cb | Increment minor -> 0.9.0 | awseward/Bugsnag.NET,awseward/Bugsnag.NET | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("0.9.0.0")]
[assembly: AssemblyFileVersion("0.9.0.0")]
[assembly: AssemblyInformationalVersion("0.9.0")]
| using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("0.8.2.0")]
[assembly: AssemblyFileVersion("0.8.2.0")]
[assembly: AssemblyInformationalVersion("0.8.2")]
| mit | C# |
da2459450cd9652135896bdc3c22537ddb415107 | test commit | flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core | Flubu.Tests/TargetTests.cs | Flubu.Tests/TargetTests.cs | using System;
using System.Linq;
using DotNet.Cli.Flubu.Infrastructure;
using FlubuCore.Extensions;
using FlubuCore.Targeting;
using FlubuCore.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace Flubu.Tests
{
public class TargetTests
{
private readonly IServiceCollection _ser... | using System;
using System.Linq;
using DotNet.Cli.Flubu.Infrastructure;
using FlubuCore.Extensions;
using FlubuCore.Targeting;
using FlubuCore.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace Flubu.Tests
{
public class TargetTests
{
private readonly IServiceCollection _ser... | bsd-2-clause | C# |
3a0634b6cc4d815658c4c0e8261611cfd8e65568 | Remove unused usings | Excel-DNA/Samples | UsingRDotNet/AddIn.cs | UsingRDotNet/AddIn.cs | using System;
using System.Linq;
using ExcelDna.Integration;
using ExcelDna.Logging;
using RDotNet;
namespace UsingRDotNet
{
public class AddIn : IExcelAddIn
{
public void AutoOpen()
{
MyFunctions.InitializeRDotNet();
}
public void AutoClose()
{
}
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using ExcelDna.Integration;
using ExcelDna.Logging;
using RDotNet;
namespace UsingRDotNet
{
public class AddIn : IExcelAddIn
{
public void AutoOpen()
{
MyFunctions.Initia... | mit | C# |
5d53e0104e37f5017a500bc7f3339c95513f26a1 | Fix Origin getter | EasyPeasyLemonSqueezy/MadCat | MadCat/NutEngine/Sprite.cs | MadCat/NutEngine/Sprite.cs | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace NutEngine
{
public class Sprite : Node, IDrawable
{
public TextureRegion TextureRegion { get; protected set; }
/// Center of the transformations, by default - center of the frame/texture.
public Vector2 O... | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace NutEngine
{
public class Sprite : Node, IDrawable
{
public TextureRegion TextureRegion { get; protected set; }
/// Center of the transformations, by default - center of the frame/texture.
public Vector2 O... | mit | C# |
c8a3a41eab431f07f30e0611ef9efab3115617f8 | Create ini config section if it's not initialized | k-t/SharpHaven | MonoHaven.Client/Config.cs | MonoHaven.Client/Config.cs | using System;
using System.IO;
using Nini.Config;
namespace MonoHaven
{
public class Config
{
private const string DefaultHost = "moltke.seatribe.se";
private const int DefaultGamePort = 1870;
private const int DefaultAuthPort = 1871;
private readonly IConfig havenConfig;
public Config()
{
var confi... | using System;
using System.IO;
using Nini.Config;
namespace MonoHaven
{
public class Config
{
private const string DefaultHost = "moltke.seatribe.se";
private const int DefaultGamePort = 1870;
private const int DefaultAuthPort = 1871;
private readonly IConfig havenConfig;
public Config()
{
var confi... | mit | C# |
2971909f87109f12260fc442c87a661b775e6c5f | Fix WebListener namespaces | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | samples/MusicStore.Standalone/Program.cs | samples/MusicStore.Standalone/Program.cs | using System;
using System.IO;
using System.Reflection;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Server.HttpSys;
using Microsoft.Extensions.Configuration;
namespace MusicStore.Standalone
{
public static class Program
{
public static void Main(string[] args)
{
v... | using System;
using System.IO;
using System.Reflection;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Net.Http.Server;
namespace MusicStore.Standalone
{
public static class Program
{
public static void Main(string[] args)
{
var config ... | apache-2.0 | C# |
07e3eee6609fd6e6f404b120fe68f286751a36f0 | Update stripe connect objects based on changes to the API | PayDockDev/paydock_dotnet_sdk | sdk/Models/ChargeRequestStripeConnect.cs | sdk/Models/ChargeRequestStripeConnect.cs | namespace Paydock_dotnet_sdk.Models
{
public class ChargeRequestStripeConnect : ChargeRequestBase
{
public MetaData meta;
public Transfer[] transfer;
}
public class MetaData
{
public string stripe_direct_account_id;
public decimal stripe_application_fee;
public string stripe_destination_account_id;
... | namespace Paydock_dotnet_sdk.Models
{
public class ChargeRequestStripeConnect : ChargeRequestBase
{
public MetaData meta;
}
public class MetaData
{
public string stripe_direct_account_id;
public string stripe_destination_account_id;
public string stripe_transfer_group;
public Transfer[] stripe_trans... | mit | C# |
71388964c6dd789830aa37708472cbddbd81dd0e | Use top-level program | martincostello/api,martincostello/api,martincostello/api | tests/API.Benchmarks/Program.cs | tests/API.Benchmarks/Program.cs | // Copyright (c) Martin Costello, 2016. All rights reserved.
// Licensed under the MIT license. See the LICENSE file in the project root for full license information.
using BenchmarkDotNet.Running;
using MartinCostello.Api.Benchmarks;
if (args?.Length == 1 && string.Equals(args[0], "--test", StringComparison.OrdinalI... | // Copyright (c) Martin Costello, 2016. All rights reserved.
// Licensed under the MIT license. See the LICENSE file in the project root for full license information.
using BenchmarkDotNet.Running;
namespace MartinCostello.Api.Benchmarks;
/// <summary>
/// A console application that runs performance benchmarks for t... | mit | C# |
c0dae86754cfc9a5bcd66e83804d75a5c41f9869 | Add model description | tobyclh/UnityCNTK,tobyclh/UnityCNTK | Assets/UnityCNTK/Model.cs | Assets/UnityCNTK/Model.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine.Assertions;
using System.Linq;
using UnityEngine;
using UnityEditor;
using CNTK;
using System.Timers;
using CNTK.Extensibility.Managed;
namespace UnityCNTK
{
public abstract class Model : ScriptableObject
{
public Function ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine.Assertions;
using System.Linq;
using UnityEngine;
using UnityEditor;
using CNTK;
using System.Timers;
namespace UnityCNTK
{
public class Model : ScriptableObject
{
public Function function;
}
} | mit | C# |
52cfdf75f24059a54be5896e8c873741e5162026 | Add AppendEncoded to the builder | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Html.Abstractions/IHtmlContentBuilder.cs | src/Microsoft.AspNet.Html.Abstractions/IHtmlContentBuilder.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Html.Abstractions
{
/// <summary>
/// A builder for HTML content.
/// </summary>
public interface IHtmlConte... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Html.Abstractions
{
/// <summary>
/// A builder for HTML content.
/// </summary>
public interface IHtmlConte... | apache-2.0 | C# |
7d16d2cc8f7dd9b1a0067f0d65c438b980f5b0b4 | Make Import Data a security critical permission (#6087) | petedavis/Orchard2,petedavis/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,OrchardCMS/Brochard,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Or... | src/OrchardCore.Modules/OrchardCore.Deployment/Permissions.cs | src/OrchardCore.Modules/OrchardCore.Deployment/Permissions.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using OrchardCore.Security.Permissions;
namespace OrchardCore.Deployment
{
public class Permissions : IPermissionProvider
{
public static readonly Permission ManageDeploymentPlan = new Permission("ManageDeploymentPlan", ... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using OrchardCore.Security.Permissions;
namespace OrchardCore.Deployment
{
public class Permissions : IPermissionProvider
{
public static readonly Permission ManageDeploymentPlan = new Permission("ManageDeploymentPlan", ... | bsd-3-clause | C# |
c8989f722fb82fe99b8cdef17ca39d72abd79482 | Drop unused property. | ejball/ArgsReading | tools/BuildTools/BuildOption.cs | tools/BuildTools/BuildOption.cs | using McMaster.Extensions.CommandLineUtils;
namespace BuildTools
{
public sealed class BuildOption
{
public string Value => m_option.HasValue() ? m_option.Value() : m_defaultValue;
internal BuildOption(CommandOption option, string defaultValue)
{
m_option = option;
m_defaultValue = defaultValue;
}
... | using McMaster.Extensions.CommandLineUtils;
namespace BuildTools
{
public sealed class BuildOption
{
public string Value => m_option.HasValue() ? m_option.Value() : m_defaultValue;
public bool IsSpecified => m_option.HasValue();
internal BuildOption(CommandOption option, string defaultValue)
{
m_option ... | mit | C# |
50c8022027e670b91bfa5c17e9f1b6ab4d45bb22 | 增强代码。 :baby_symbol: | Zongsoft/Zongsoft.Security | src/Censorship.cs | src/Censorship.cs | /*
* Authors:
* 钟峰(Popeye Zhong) <zongsoft@gmail.com>
*
* Copyright (C) 2015 Zongsoft Corporation <http://www.zongsoft.com>
*
* This file is part of Zongsoft.Security.
*
* Zongsoft.Security is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Licen... | /*
* Authors:
* 钟峰(Popeye Zhong) <zongsoft@gmail.com>
*
* Copyright (C) 2015 Zongsoft Corporation <http://www.zongsoft.com>
*
* This file is part of Zongsoft.Security.
*
* Zongsoft.Security is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Licen... | lgpl-2.1 | C# |
fdf0550b91ed31cbfc29f7e74d389e3a41ccaa24 | Improve help text | davidebbo/WAWSDeploy,davidebbo/WAWSDeploy | WAWSDeploy/Program.cs | WAWSDeploy/Program.cs | using System;
using System.Diagnostics;
using Microsoft.Web.Deployment;
namespace WAWSDeploy
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 2)
{
Trace.WriteLine(@"Syntax 1: WAWSDeploy.exe c:\SomeFolder MySite.PublishSettings [/p pa... | using System;
using System.Diagnostics;
using Microsoft.Web.Deployment;
namespace WAWSDeploy
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 2)
{
Trace.WriteLine(@"Syntax 1: WAWSDeploy.exe c:\SomeFolder MySite.PublishSettings");
... | apache-2.0 | C# |
e95a819293dabe213688b257fc6711aee44329d4 | Make DesktopElement not sealed so that clients can extend it with properties that find windows. | toroso/ruibarbo | ruibarbo.core/DesktopElement.cs | ruibarbo.core/DesktopElement.cs | using System.Collections.Generic;
using ruibarbo.core.ElementFactory;
namespace ruibarbo.core
{
public class DesktopElement : ISearchSourceElement
{
public string Name
{
get { return "Desktop"; }
}
public string Class
{
get { return... | using System.Collections.Generic;
using ruibarbo.core.ElementFactory;
namespace ruibarbo.core
{
public class DesktopElement : ISearchSourceElement
{
internal DesktopElement()
{
}
public string Name
{
get { return "Desktop"; }
}
... | apache-2.0 | C# |
295155dae3840810c9bdc00902c7a0b2a025cddf | Add Target property for conditional reporting behavior | jlewin/agg-sharp | agg/ProgressStatus.cs | agg/ProgressStatus.cs | /*
Copyright (c) 2019, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | /*
Copyright (c) 2019, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | bsd-2-clause | C# |
b846dd16ef51eb698f5ff35d7aab271fe0284bd6 | update overseer test files | jakerenzella/doubtfire-api,jakerenzella/doubtfire-api,jakerenzella/doubtfire-api,jakerenzella/doubtfire-api,jakerenzella/doubtfire-api,doubtfire-lms/doubtfire-api,doubtfire-lms/doubtfire-api,doubtfire-lms/doubtfire-api,doubtfire-lms/doubtfire-api,jakerenzella/doubtfire-api,doubtfire-lms/doubtfire-api,doubtfire-lms/doub... | test_files/overseer/obj/Debug/net6.0/overseer.AssemblyInfo.cs | test_files/overseer/obj/Debug/net6.0/overseer.AssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------... | agpl-3.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.