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 |
|---|---|---|---|---|---|---|---|---|
95284e38dfcc96d61f3af788e301d9efd12c1028 | fix for PeCaSt | progre/pecastarter5 | Peercast4Net/Daos/PeercastDaoBase.cs | Peercast4Net/Daos/PeercastDaoBase.cs | using System;
using System.Net;
using System.Threading.Tasks;
using Progressive.Peercast4Net.Commons;
namespace Progressive.Peercast4Net.Daos
{
public class PeercastDaoBase : IDisposable
{
protected const string ViewXmlUrl = "/admin?cmd=viewxml";
protected readonly string address;
pro... | using System;
using System.Net;
using System.Threading.Tasks;
using Progressive.Peercast4Net.Commons;
namespace Progressive.Peercast4Net.Daos
{
public class PeercastDaoBase : IDisposable
{
protected const string ViewXmlUrl = "/admin?cmd=viewxml";
protected readonly string address;
pro... | mit | C# |
5a97c7eee943b4831a88cd3285db87cd6da0af32 | Add Initialize() method to ITabsterPlugin | GetTabster/Tabster.Core | Plugins/ITabsterPlugin.cs | Plugins/ITabsterPlugin.cs | using System;
namespace Tabster.Core.Plugins
{
public interface ITabsterPlugin
{
/// <summary>
/// Plugin author.
/// </summary>
string Author { get; }
/// <summary>
/// Plugin copyright.
/// </summary>
string Copyright { g... | using System;
namespace Tabster.Core.Plugins
{
public interface ITabsterPlugin
{
/// <summary>
/// Plugin author.
/// </summary>
string Author { get; }
/// <summary>
/// Plugin copyright.
/// </summary>
string Copyright { g... | apache-2.0 | C# |
b6766523146bd3dbbd41a0388c4a9d79c7f1543e | add includemeasures | PriceIsByte/WebAPI,PriceIsByte/WebAPI | CountingKs/Controllers/FoodsController.cs | CountingKs/Controllers/FoodsController.cs | using CountingKs.Data;
using CountingKs.Data.Entities;
using CountingKs.Models;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace CountingKs.Controllers
{
public class FoodsController : ApiController
{
private readonly ICountingKsRepository _repo;
private re... | using CountingKs.Data;
using CountingKs.Models;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace CountingKs.Controllers
{
public class FoodsController : ApiController
{
private readonly ICountingKsRepository _repo;
private readonly ModelFactory _modelFactor... | unlicense | C# |
87db7843a843d3cf7f9ebe7d0e4f8283fa52b39a | Change of domain name to api.socketlabs.com | socketlabs/email-on-demand-examples,socketlabs/email-on-demand-examples,socketlabs/email-on-demand-examples,socketlabs/email-on-demand-examples,socketlabs/email-on-demand-examples,socketlabs/email-on-demand-examples,socketlabs/email-on-demand-examples,socketlabs/email-on-demand-examples | DotNet/SocketLabs.OnDemand.Api/Program.cs | DotNet/SocketLabs.OnDemand.Api/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
using System.Xml.Linq;
namespace SocketLabs.OnDemand.Api
{
internal class Program
{
private static void Main(string[] args)
{
int accountId = 1000; // YOUR-ACCOUNT-ID
string userName = ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
using System.Xml.Linq;
namespace SocketLabs.OnDemand.Api
{
internal class Program
{
private static void Main(string[] args)
{
int accountId = 1000; // YOUR-ACCOUNT-ID
string userName = ... | mit | C# |
2189160cd2e174fe5eac653f7f8b8c9c347c81ce | Refactor TileSet IsValid to use MultiTile | ajlopez/WangTiles | Src/WangTiles/TileSet.cs | Src/WangTiles/TileSet.cs | namespace WangTiles
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class TileSet
{
private IList<Tile> tiles;
public TileSet(IEnumerable<Tile> tiles)
{
this.tiles = new List<Tile>(tiles);
... | namespace WangTiles
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class TileSet
{
private IList<Tile> tiles;
public TileSet(IEnumerable<Tile> tiles)
{
this.tiles = new List<Tile>(tiles);
... | mit | C# |
31c4d673d0bd85a169f5879a84490b0cff0268ad | Make NotifyPropertyChangedBase abstract | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Bases/NotifyPropertyChangedBase.cs | WalletWasabi/Bases/NotifyPropertyChangedBase.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text;
namespace WalletWasabi.Bases
{
public abstract class NotifyPropertyChangedBase : INotifyPropertyChanged
{
#region Events
public event PropertyChangedEventHandler PropertyChanged... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text;
namespace WalletWasabi.Bases
{
public class NotifyPropertyChangedBase : INotifyPropertyChanged
{
#region Events
public event PropertyChangedEventHandler PropertyChanged;
prot... | mit | C# |
5b6d7acd9a90855f061350eb2009295770b890b8 | update enum to match RC1 | Pixate/Xamarin-PixateFreestyle,Pixate/Xamarin-PixateFreestyle | Source/StructsAndEnums.cs | Source/StructsAndEnums.cs | /*
* Copyright (c) 2012-2013, Pixate, Inc
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later vers... | /*
* Copyright (c) 2012-2013, Pixate, Inc
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later vers... | apache-2.0 | C# |
0a4190bdbe7d6c0d66409dd1147dc4a50149d046 | Enable ideal features | sakapon/Samples-2014,sakapon/Samples-2014,sakapon/Samples-2014 | VerificationSample/SortConsole/Program.cs | VerificationSample/SortConsole/Program.cs | /*
* このプログラムには、架空の機能が含まれます。
*/
using System;
namespace SortConsole
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(Sort(new TwoValues(1, 1)));
Console.WriteLine(Sort(new TwoValues(1, 2)));
Console.WriteLine(Sort(new TwoValues(2, 1)))... | using System;
namespace SortConsole
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(Sort(new TwoValues(1, 1)));
Console.WriteLine(Sort(new TwoValues(1, 2)));
Console.WriteLine(Sort(new TwoValues(2, 1)));
}
// Point: 戻り値... | mit | C# |
10caf913260982db3e30988574be12384c8238f4 | correct namespace | ahmedmatem/primus-flex,ahmedmatem/primus-flex,ahmedmatem/primus-flex | PrimusFlex.Web/Views/Account/Login.cshtml | PrimusFlex.Web/Views/Account/Login.cshtml | @{
Layout = null;
}
@model PrimusFlex.Web.Models.LoginViewModel
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in... | @{
Layout = null;
}
@model MVCTemplate.Web.ViewModels.Account.LoginViewModel
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* ... | mit | C# |
b38ea541f1e0c3494a057dd3ffc4b1988e4ab9f5 | remove decorator attributes | zmira/abremir.AllMyBricks | abremir.AllMyBricks.Data/Models/Review.cs | abremir.AllMyBricks.Data/Models/Review.cs | using System;
using System.Collections.Generic;
namespace abremir.AllMyBricks.Data.Models
{
public class Review
{
public string Author { get; set; }
public DateTimeOffset DatePosted { get; set; }
public string Title { get; set; }
public string ReviewContent { get; set; }
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace abremir.AllMyBricks.Data.Models
{
[DebuggerStepThrough]
public class Review
{
public string Author { get; set; }
public DateTimeOffset DatePosted { get; set; }
public string Title { get; set; }
... | mit | C# |
c443304d3b84f01bb8bb8a9cdbe319c863d7d421 | optimize MinChangeCount | dgg/nmoneys,dgg/nmoneys | src/NMoneys/Change/Operations.MinChangeCount.cs | src/NMoneys/Change/Operations.MinChangeCount.cs | using System;
using System.Linq;
namespace NMoneys.Change
{
[CLSCompliant(false)]
public static class MinChangeCountOperation
{
public static ushort MinChangeCount(this Money money, params Denomination[] denominations)
{
long n = money.MinorIntegralAmount;
int m = denominations.Length;
long[] integralD... | using System;
using System.Linq;
namespace NMoneys.Change
{
[CLSCompliant(false)]
public static class MinChangeCountOperation
{
public static ushort MinChangeCount(this Money money, params Denomination[] denominations)
{
long n = money.MinorIntegralAmount;
int m = denominations.Length;
long[] integralD... | bsd-3-clause | C# |
2ceb436dadae42a65a7d4f28d49ab94930e7a3fd | Fix aggregate element imports | NRules/NRules | src/NRules/NRules.RuleModel/AggregateElement.cs | src/NRules/NRules.RuleModel/AggregateElement.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace NRules.RuleModel
{
/// <summary>
/// Rule element that creates new facts (aggregates) based on matching facts it receives as input.
/// </summary>
public class AggregateElement : RuleElement
{
public const string C... | using System;
namespace NRules.RuleModel
{
/// <summary>
/// Rule element that creates new facts (aggregates) based on matching facts it receives as input.
/// </summary>
public class AggregateElement : RuleElement
{
public const string CollectName = "Collect";
public const string G... | mit | C# |
46bc5ef84ebaad0c304527b32faece26e5b35dc7 | remove CheckoutFileCommit | Opiskull/PowershellRelease | src/PowershellHelper/Commands/New-FileCommit.cs | src/PowershellHelper/Commands/New-FileCommit.cs | using System.Management.Automation;
using PowershellHelper.Services;
namespace PowershellHelper.Commands
{
[Cmdlet(VerbsCommon.New, "FileCommit",
DefaultParameterSetName = "FileCommit")]
public class NewFileCommit : PSCmdlet
{
[Parameter(
ParameterSetName = "FileCommit",
... | using System.Management.Automation;
using PowershellHelper.Services;
namespace PowershellHelper.Commands
{
[Cmdlet(VerbsCommon.New, "FileCommit",
DefaultParameterSetName = "FileCommit")]
public class NewFileCommit : PSCmdlet
{
[Parameter(
ParameterSetName = "FileCommit",
... | mit | C# |
95b132dc2ac39c50cf7f6172b3246d7748873878 | Make Check Connectionstring via builder generic | SneakyPeet/Dirtybase | src/Dirtybase.App/Options/Validators/SqlOptionsValidator.cs | src/Dirtybase.App/Options/Validators/SqlOptionsValidator.cs | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.SqlClient;
namespace Dirtybase.App.Options.Validators
{
class SqlOptionsValidator : IOptionsValidator
{
public Errors Errors(DirtyOptions options)
{
var errors = new Errors();
if(... | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
namespace Dirtybase.App.Options.Validators
{
class SqlOptionsValidator : IOptionsValidator
{
public Errors Errors(DirtyOptions options)
{
var errors = new Errors();
if(string.IsNullOrWhiteSpace(... | mit | C# |
22063bc896c363562d983d5c5606cfe2e585cba1 | Fix for comment feed | funnelweblog/FunnelWeb,funnelweblog/FunnelWeb,funnelweblog/FunnelWeb | src/FunnelWeb/Model/Repositories/Internal/FeedRepository.cs | src/FunnelWeb/Model/Repositories/Internal/FeedRepository.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NHibernate;
using NHibernate.Criterion;
using NHibernate.Linq;
using NHibernate.Transform;
namespace FunnelWeb.Model.Repositories.Internal
{
public class FeedRepository : IFeedRepository
{
p... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NHibernate;
using NHibernate.Criterion;
using NHibernate.Linq;
using NHibernate.Transform;
namespace FunnelWeb.Model.Repositories.Internal
{
public class FeedRepository : IFeedRepository
{
p... | bsd-3-clause | C# |
927b70693f106dd6bf8fd0644d885f902f860af3 | Increment version number. | timothy-shields/graphs | Shields.Graphs/Properties/AssemblyInfo.cs | Shields.Graphs/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("Sh... | 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("Sh... | mit | C# |
c3646dd72df09c9839885c984519be3849eb424c | Bump version to 0.18 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity,mpOzelot/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
d512a8e9722ff34ae9b94b0bfb9bfa75cf426b28 | Define Contructors region | SICU-Stress-Measurement-System/frontend-cs | StressMeasurementSystem/Models/Patient.cs | StressMeasurementSystem/Models/Patient.cs | namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle { get; set; }
public string Last { get; set; }
... | namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle { get; set; }
public string Last { get; set; }
... | apache-2.0 | C# |
eb7336d193676ec91ba199bb116a728114f0c7a9 | Comment out logging for now? | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Program.cs | Battery-Commander.Web/Program.cs | namespace BatteryCommander.Web
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Core;
public class Program
{
public static LoggingLevelSwitch LogLevel { get; } = new LoggingLevelSwitch(Se... | namespace BatteryCommander.Web
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Core;
public class Program
{
public static LoggingLevelSwitch LogLevel { get; } = new LoggingLevelSwitch(Se... | mit | C# |
1fbe09234a401de5394a4f0c725de32393b103b3 | bump Citadel.Core.Windows version. | cloudveiltech/Citadel-Windows,cloudveiltech/Citadel-Windows | Citadel.Core.Windows/Properties/AssemblyInfo.cs | Citadel.Core.Windows/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("Ci... | 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("Ci... | mpl-2.0 | C# |
f564e72d02968047f984277051e82ad49c6b93b7 | Fix memory leak when using the SDL2 clipboard | DrabWeb/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,Dr... | osu.Framework/Platform/Linux/Sdl/SdlClipboard.cs | osu.Framework/Platform/Linux/Sdl/SdlClipboard.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Sdl
{
public class SdlClipboard : Clipboard
{
priva... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Sdl
{
public class SdlClipboard : Clipboard
{
private const strin... | mit | C# |
3e29d1f2dae4d1b2132010f90487aeeefb5b807b | Send data always as application/octet-stream | FubarDevelopment/FtpServer | FubarDev.FtpServer.FileSystem.GoogleDrive/BackgroundUpload.cs | FubarDev.FtpServer.FileSystem.GoogleDrive/BackgroundUpload.cs | //-----------------------------------------------------------------------
// <copyright file="BackgroundUpload.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
// <author>Mark Junker</author>
//--------------------------------------------------... | //-----------------------------------------------------------------------
// <copyright file="BackgroundUpload.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
// <author>Mark Junker</author>
//--------------------------------------------------... | mit | C# |
4ec36c97e2810c8e1bb48f85339d76e96e502b78 | Remove generic methods from IDispatcher. | AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia | src/Avalonia.Base/Threading/IDispatcher.cs | src/Avalonia.Base/Threading/IDispatcher.cs | using System;
using System.Threading.Tasks;
namespace Avalonia.Threading
{
/// <summary>
/// Dispatches jobs to a thread.
/// </summary>
public interface IDispatcher
{
/// <summary>
/// Determines whether the calling thread is the thread associated with this <see cref="IDispatcher"... | using System;
using System.Threading.Tasks;
namespace Avalonia.Threading
{
/// <summary>
/// Dispatches jobs to a thread.
/// </summary>
public interface IDispatcher
{
/// <summary>
/// Determines whether the calling thread is the thread associated with this <see cref="IDispatcher"... | mit | C# |
10c80ef79f4f30bf5848380b5bdcb695de46a0f5 | Update AndreasBittner.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/AndreasBittner.cs | src/Firehose.Web/Authors/AndreasBittner.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class AndreasBittner : IAmACommunityMember
{
public string FirstName => "Andreas";
public string ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class AndreasBittner : IAmACommunityMember
{
public string FirstName => "Andreas";
public string ... | mit | C# |
7fddb362d3f36e471b4f210be3fcbc84b47cf121 | fix test case due to last commit | cyruszhang/SparkCLR,tawan0109/SparkCLR,xiongrenyi/SparkCLR,cyruszhang/SparkCLR,hebinhuang/Mobius,dwnichols/Mobius,danielli90/SparkCLR,kai-zeng/Mobius,danielli90/SparkCLR,dwnichols/Mobius,skaarthik/Mobius,skaarthik/Mobius,hebinhuang/Mobius,hebinhuang/Mobius,xiongrenyi/SparkCLR,skaarthik/Mobius,skaarthik/Mobius,dwnichols... | csharp/AdapterTest/StreamingContextTest.cs | csharp/AdapterTest/StreamingContextTest.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using AdapterTest.Mocks;
using Microsoft.Spark.CSharp.Core;
using Microsoft.Spark.CS... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using AdapterTest.Mocks;
using Microsoft.Spark.CSharp.Core;
using Microsoft.Spark.CS... | mit | C# |
74296d00527303ddc82dafe6ae7d28fb2ed21301 | add ReplyToOriginator-Extension | evicertia/HermaFx,evicertia/HermaFx,evicertia/HermaFx | HermaFx.Rebus/RebusExtensions.cs | HermaFx.Rebus/RebusExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Rebus;
using Rebus.Shared;
namespace HermaFx.Rebus
{
public static class RebusExtensions
{
public static void Send<TCommand>(this IBus bus, Action<TCommand> customizer)
where TCommand : new()
{
Guard.Is... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Rebus;
namespace HermaFx.Rebus
{
public static class RebusExtensions
{
public static void Send<TCommand>(this IBus bus, Action<TCommand> customizer)
where TCommand : new()
{
Guard.IsNotNull(bus, "bus");... | mit | C# |
c476557f18d7dbc763ac7eef76630665f8ac9b16 | Add handling of null values in the Papers property | christianz/printnode-net | PrintNodePrinterCapabilities.cs | PrintNodePrinterCapabilities.cs | using System.Collections.Generic;
using Newtonsoft.Json;
namespace PrintNode.Net
{
public class PrintNodePrinterCapabilities
{
[JsonProperty("bins")]
public IEnumerable<string> Bins { get; set; }
[JsonProperty("collate")]
public bool Collate { get; set; }
... | using System.Collections.Generic;
using Newtonsoft.Json;
namespace PrintNode.Net
{
public class PrintNodePrinterCapabilities
{
[JsonProperty("bins")]
public IEnumerable<string> Bins { get; set; }
[JsonProperty("collate")]
public bool Collate { get; set; }
... | mit | C# |
e9a5e2d3846b0d078596639034dae7bef376c55d | Fix NodeComparer | EasyPeasyLemonSqueezy/MadCat | MadCat/NutEngine/NodeComparer.cs | MadCat/NutEngine/NodeComparer.cs | using System.Collections.Generic;
namespace NutEngine
{
/// <summary>
/// Compare <see cref="Node"/> by <see cref="Node.ZOrder"/>.
/// </summary>
public class NodeComparer : IComparer<Node>
{
public int Compare(Node x, Node y)
{
if (ReferenceEquals(x, y)) {
... | using System.Collections.Generic;
namespace NutEngine
{
/// <summary>
/// Compare <see cref="Node"/> by <see cref="Node.ZOrder"/>.
/// </summary>
public class NodeComparer : IComparer<Node>
{
public int Compare(Node x, Node y)
{
int result = x.ZOrder.CompareTo(y.ZOrder)... | mit | C# |
2dafc466e168b90e5a509292013161593ce503e9 | Change 2 | runnersQueue/3minutes | SubFolderTest/TestGit/Program.cs | SubFolderTest/TestGit/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Urho;
using Urho.Gui;
using Urho.Resources;
using Urho.Shapes;
namespace TestGit
{
class Program : SimpleApplication
{
Program(ApplicationOptions options = null) :base(options) { ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Urho;
using Urho.Gui;
using Urho.Shapes;
namespace TestGit
{
class Program
{
static void Main(string[] args)
{
}
public void MyNoReturnMethod()
{
... | mit | C# |
c4bd0187734e0fef8c07905e14343bf049a1bb71 | Fix error | wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Core2D.ViewModels/Data/Context.cs | src/Core2D.ViewModels/Data/Context.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 System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Core2D.Attributes;
namespace Core2D.Data
{
/// <s... | // 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 System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Core2D.Attributes;
namespace Core2D.Data
{
/// <s... | mit | C# |
e2bdc692dc3aca9c4b364d87e4d3172a8834d8fa | Add the Min and the Max range in DateTimeValidationRule. | jamesmcroft/WinUX-UWP-Toolkit | WinUX.Common/Data/Validation/Rules/DateTimeValidationRule.cs | WinUX.Common/Data/Validation/Rules/DateTimeValidationRule.cs | namespace WinUX.Data.Validation.Rules
{
using System;
/// <summary>
/// Defines a data validation rule for validating a value is a <see cref="DateTime"/>.
/// </summary>
public class DateTimeValidationRule : ValidationRule
{
/// <summary>
/// Gets or sets the minimum of <see c... | namespace WinUX.Data.Validation.Rules
{
using System;
/// <summary>
/// Defines a data validation rule for validating a value is a <see cref="DateTime"/>.
/// </summary>
public class DateTimeValidationRule : ValidationRule
{
/// <summary>
/// Validates the specified object is a... | mit | C# |
e46728a3319ce70976342a8bb8ab179b698564e3 | make padding of AtomicLong optional when compiling as performance seems to be double without padding. | cvent/Metrics.NET,MetaG8/Metrics.NET,alhardy/Metrics.NET,etishor/Metrics.NET,alhardy/Metrics.NET,Recognos/Metrics.NET,huoxudong125/Metrics.NET,ntent-ad/Metrics.NET,Liwoj/Metrics.NET,MetaG8/Metrics.NET,cvent/Metrics.NET,mnadel/Metrics.NET,huoxudong125/Metrics.NET,ntent-ad/Metrics.NET,Recognos/Metrics.NET,mnadel/Metrics.... | Src/Metrics/Utils/AtomicLong.cs | Src/Metrics/Utils/AtomicLong.cs | #if PADDED_ATOMIC_LONG
using System.Runtime.InteropServices;
#endif
using System.Threading;
namespace Metrics.Utils
{
/// <summary>
/// Atomic long.
/// TBD: implement optimizations behind LongAdder from
/// <a href="https://github.com/dropwizard/metrics/blob/master/metrics-core/src/main/java/com/coda... |
using System.Runtime.InteropServices;
using System.Threading;
namespace Metrics.Utils
{
/// <summary>
/// Atomic long. Padded to avoid false sharing.
///
/// TBD: implement optimizations behind LongAdder from
/// <a href="https://github.com/dropwizard/metrics/blob/master/metrics-core/src/main/ja... | apache-2.0 | C# |
8bf0fd6c1616523ae2edc11d3411d6488680a5bd | Set state to loaded. | PowerMogli/Rabbit.Db | src/Micro+/Entity/EntityExtensions.cs | src/Micro+/Entity/EntityExtensions.cs | using System.Data;
using MicroORM.Base;
namespace MicroORM.Entity
{
public static class EntityExtensions
{
public static void Load<TEntity>(this TEntity entity) where TEntity : Entity, new()
{
using (IDbSession entitySession = entity.EntitySession)
{
enti... | using System.Data;
using MicroORM.Base;
using MicroORM.Mapping;
using MicroORM.Caching;
namespace MicroORM.Entity
{
public static class EntityExtensions
{
public static void Load<TEntity>(this TEntity entity) where TEntity : Entity, new()
{
using (IDbSession entitySession = entity.E... | apache-2.0 | C# |
7e7e5275ed65608862c04dc88164e5ce06f16efd | Remove unused using statements | martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle015.cs | src/ProjectEuler/Puzzles/Puzzle015.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
/// <summary>
/// A class representing the solution to <c>https://pro... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary... | apache-2.0 | C# |
c7098f3b44b7496cf388578595e59522f0ad2a14 | Add ToCharArrayWithNullTerminator extension method | jmelosegui/pinvoke,AArnott/pinvoke,vbfox/pinvoke | src/Windows.Core/PInvokeExtensions.cs | src/Windows.Core/PInvokeExtensions.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.
namespace PInvoke
{
using System;
using System.Runtime.InteropServices;
using stat... | // 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.
namespace PInvoke
{
using System;
using System.Runtime.InteropServices;
using stat... | mit | C# |
c0c3f65256a38e1dc85974e58d5d1d80cc5f44ee | Update Extension.cs | DynamoDS/DynamoSamples | src/SampleExtension/Extension.cs | src/SampleExtension/Extension.cs | using Dynamo.Extensions;
using Dynamo.Graph.Nodes;
using Dynamo.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SampleExtension
{
/// <summary>
/// The Extension framework for Dynamo allows you to extend
/// Dynamo by loading your own classes that ca... | using Dynamo.Extensions;
using Dynamo.Graph.Nodes;
using Dynamo.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SampleExtension
{
/// <summary>
/// The Extension framework for Dynamo allowed you to extend
/// Dynamo by loading your own classes that c... | mit | C# |
f1980b4afed99e83b9315e185c884f49ac2c3c4e | correct docs for docfx | Code-Inside/Sloader | src/Sloader.Result/CrawlerRun.cs | src/Sloader.Result/CrawlerRun.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using Newtonsoft.Json;
namespace Sloader.Result
{
/// <summary>
/// Container class which stores some common "run" data and the actual result collection.
/// </summary>
public class CrawlerRun
{
/// <summary>
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using Newtonsoft.Json;
namespace Sloader.Result
{
/// <summary>
/// Container class which stores some common "run" data & the actual result collection.
/// </summary>
public class CrawlerRun
{
/// <summary>
/... | mit | C# |
63e83637bf73c30e5147d63ed92c929c26324038 | remove unused constructor. | ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP | src/DotNetCore.CAP/Models/CapPublishedMessage.cs | src/DotNetCore.CAP/Models/CapPublishedMessage.cs | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
namespace DotNetCore.CAP.Models
{
public class CapPublishedMessage
{
/// <summary>
/// Initializes a new instance of <see cr... | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
namespace DotNetCore.CAP.Models
{
public class CapPublishedMessage
{
/// <summary>
/// Initializes a new instance of <see cr... | mit | C# |
daefcdc1cba7eb940f2376d4a21ff92c1971408a | Use standard hookup mechanism | OkayX6/fantomas | src/Fantomas.VisualStudio/TextViewHookHelper.cs | src/Fantomas.VisualStudio/TextViewHookHelper.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities;
namespace Hestia.FSharpCommands
{
[Exp... | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities;
namespace Hestia.FSharpCommands
{
// T... | apache-2.0 | C# |
9e07e1b68aa48a482cbfa869f36fed276a15b764 | Add new overload to the Deserialize method | Ackara/Mockaroo.NET | src/Mockaroo.Core/Serialization/ISerializable.cs | src/Mockaroo.Core/Serialization/ISerializable.cs | using System.IO;
namespace Gigobyte.Mockaroo.Serialization
{
public interface ISerializable
{
Stream Serialize();
void Deserialize(byte[] bytes);
void Deserialize(Stream stream);
}
} | using System.IO;
namespace Gigobyte.Mockaroo.Serialization
{
public interface ISerializable
{
Stream Serialize();
void Deserialize(Stream stream);
}
} | mit | C# |
f94a46f6f5420daee4fd9dea21c55a0abf3d325f | Update tests to pass with the new API. | dipeshc/BTDeploy | src/MonoTorrent.Tests/ConnectionListenerTests.cs | src/MonoTorrent.Tests/ConnectionListenerTests.cs | using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using MonoTorrent.Client;
using System.Net;
using System.Net.Sockets;
namespace MonoTorrent.Client.Tests
{
[TestFixture]
public class ConnectionListenerTests
{
//static void Main(string[] args)
//{
... | using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using MonoTorrent.Client;
using System.Net;
using System.Net.Sockets;
namespace MonoTorrent.Client.Tests
{
[TestFixture]
public class ConnectionListenerTests
{
private SocketListener listener;
private ... | mit | C# |
caaa10c300774a02de895496f65c88f2c793aeef | Make Advanced context inherit from normal context | pardahlman/RawRabbit,northspb/RawRabbit | src/RawRabbit/Context/AdvancedMessageContext.cs | src/RawRabbit/Context/AdvancedMessageContext.cs | using System;
namespace RawRabbit.Context
{
public class AdvancedMessageContext : MessageContext, IAdvancedMessageContext
{
public Action Nack { get; set; }
}
}
| using System;
namespace RawRabbit.Context
{
public class AdvancedMessageContext : IAdvancedMessageContext
{
public Guid GlobalRequestId { get; set; }
public Action Nack { get; set; }
}
}
| mit | C# |
cf5eed36625550c715894fe6d80eeaacf41c5ddf | use list copy ctor | icarus-consulting/Yaapii.Atoms | src/Yaapii.Atoms/Enumerable/StickyEnumerable.cs | src/Yaapii.Atoms/Enumerable/StickyEnumerable.cs | // MIT License
//
// Copyright(c) 2019 ICARUS Consulting GmbH
//
// 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, co... | // MIT License
//
// Copyright(c) 2019 ICARUS Consulting GmbH
//
// 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, co... | mit | C# |
8fc3f4a30c0f487cc076511991155926b2db1001 | Fix OnIsSelectedChanged method to allow Fody.PropertyChanged to trigger it | zspitz/ts-activex-gen | common/Classes/TreeNode/TreeNodeVM.cs | common/Classes/TreeNode/TreeNodeVM.cs | using System.Collections.Generic;
using System.Collections.ObjectModel;
using PropertyChanged;
using System.Linq;
using System;
using static TsActivexGen.FilterState;
namespace TsActivexGen {
[AddINotifyPropertyChangedInterface]
public class TreeNodeVM<TData> : TreeNodeBase<TData> {
private Observable... | using System.Collections.Generic;
using System.Collections.ObjectModel;
using PropertyChanged;
using System.Linq;
using System;
using static TsActivexGen.FilterState;
namespace TsActivexGen {
[AddINotifyPropertyChangedInterface]
public class TreeNodeVM<TData> : TreeNodeBase<TData> {
private Observable... | mit | C# |
ea6e3938c039a27d29a13b17404fd8a582b197e7 | Fix hard crash due to spinner spin requirement being zero | smoogipoo/osu,johnneijzen/osu,Frontear/osuKyzer,2yangk23/osu,NeoAdonis/osu,DrabWeb/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,EVAST9919/osu,DrabWeb/osu,ppy/osu,naoey/osu,peppy/osu-new,ZLima12/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,EVAST9919/osu,UselessToucan/osu,UselessToucan/osu,naoey/o... | osu.Game.Rulesets.Osu/Objects/Spinner.cs | osu.Game.Rulesets.Osu/Objects/Spinner.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Objects.Types;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Rulesets.Osu.Objects
{... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Objects.Types;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Rulesets.Osu.Objects
{
public cl... | mit | C# |
2ad993f0cc74ff50ab0f25c6b5a3f0ec8be2d394 | Check for NullReference - CodeMashSettings. | codemash-io/CodeMash.Net | src/CodeMash.Notifications/Email/EmailService.cs | src/CodeMash.Notifications/Email/EmailService.cs | using System;
using System.Collections.Generic;
using CodeMash.Interfaces;
namespace CodeMash.Notifications.Email
{
public class EmailService : IEmailService
{
public ICodeMashSettings CodeMashSettings { get; set; }
public bool SendMail(string[] recipients, string templateName, Dictio... | using System;
using System.Collections.Generic;
using CodeMash.Interfaces;
namespace CodeMash.Notifications.Email
{
public class EmailService : IEmailService
{
public ICodeMashSettings CodeMashSettings { get; set; }
public bool SendMail(string[] recipients, string templateName, Dictio... | mit | C# |
37e188461d9b8715af0eb613dae2af28b1aa97d3 | update assembly version for release | PandaWood/ExceptionReporter.NET,PandaWood/ExceptionReporter.NET,PandaWood/ExceptionReporter.NET | src/ExceptionReporter/Properties/AssemblyInfo.cs | src/ExceptionReporter/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: InternalsVisibleT... | 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: InternalsVisibleT... | mit | C# |
4797ecb413ceaf83e1a469eb5643f5b4d3a68c02 | Fix error when importing exported Sitecore instance (closes #150) | sergeyshushlyapin/Sitecore-Instance-Manager,Brad-Christie/Sitecore-Instance-Manager,Sitecore/Sitecore-Instance-Manager | src/SIM.FileSystem/IO/Real/RealZipFileEntries.cs | src/SIM.FileSystem/IO/Real/RealZipFileEntries.cs | namespace SIM.IO.Real
{
using System;
using System.Linq;
using Ionic.Zip;
using JetBrains.Annotations;
using Sitecore.Diagnostics.Base;
using SIM.Extensions;
public class RealZipFileEntries : IZipFileEntries, IDisposable
{
[NotNull]
private ZipFile ZipFile { get; }
public RealZipFileEntri... | namespace SIM.IO.Real
{
using System;
using System.Linq;
using Ionic.Zip;
using JetBrains.Annotations;
using Sitecore.Diagnostics.Base;
using SIM.Extensions;
public class RealZipFileEntries : IZipFileEntries, IDisposable
{
[NotNull]
private ZipFile ZipFile { get; }
public RealZipFileEntri... | mit | C# |
8c7c54e902668520181770677abb1e62fd6e340a | Increment to v3.04 | gerryhigh/ServiceStack.Text,mono/ServiceStack.Text,gerryhigh/ServiceStack.Text,NServiceKit/NServiceKit.Text,mono/ServiceStack.Text,meebey/ServiceStack.Text,NServiceKit/NServiceKit.Text | src/ServiceStack.Text/Properties/AssemblyInfo.cs | src/ServiceStack.Text/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | bsd-3-clause | C# |
e3b071b1b1ce4c905d20cc89a9afe388ed4ce159 | Update MessageServices.cs | DAdler1995/CodeRedPerformance,DAdler1995/CodeRedPerformance,DAdler1995/CodeRedPerformance | src/CodeRedCreations/Services/MessageServices.cs | src/CodeRedCreations/Services/MessageServices.cs | using MailKit.Net.Smtp;
using Microsoft.Extensions.Options;
using MimeKit;
using MimeKit.Text;
using System.Threading.Tasks;
namespace CodeRedCreations.Services
{
// This class is used by the application to send Email and SMS
// when you turn on two-factor authentication in ASP.NET Identity.
// For more d... | using MailKit.Net.Smtp;
using Microsoft.Extensions.Options;
using MimeKit;
using MimeKit.Text;
using System.Threading.Tasks;
namespace CodeRedCreations.Services
{
// This class is used by the application to send Email and SMS
// when you turn on two-factor authentication in ASP.NET Identity.
// For more d... | apache-2.0 | C# |
e8931b32fc666a4ae822ca5a98cf1ccdc01f582a | fix NullReferenceException (#335) | dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP | src/DotNetCore.CAP/Diagnostics/TracingHeaders.cs | src/DotNetCore.CAP/Diagnostics/TracingHeaders.cs | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace DotNetCore.CAP.Diagnostics
{
public class TracingHeaders : IEnumerabl... | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace DotNetCore.CAP.Diagnostics
{
public class TracingHeaders : IEnumerabl... | mit | C# |
8408e02ad99a147200b8426d5fb05518b3fa2778 | add total records prop | Research-Institute/json-api-dotnet-core,json-api-dotnet/JsonApiDotNetCore,Research-Institute/json-api-dotnet-core | src/JsonApiDotNetCore/Services/JsonApiContext.cs | src/JsonApiDotNetCore/Services/JsonApiContext.cs | using System.Collections.Generic;
using System.Linq;
using JsonApiDotNetCore.Builders;
using JsonApiDotNetCore.Configuration;
using JsonApiDotNetCore.Internal;
using JsonApiDotNetCore.Internal.Query;
using Microsoft.AspNetCore.Http;
namespace JsonApiDotNetCore.Services
{
public class JsonApiContext : IJsonApiConte... | using System.Collections.Generic;
using System.Linq;
using JsonApiDotNetCore.Builders;
using JsonApiDotNetCore.Configuration;
using JsonApiDotNetCore.Internal;
using JsonApiDotNetCore.Internal.Query;
using Microsoft.AspNetCore.Http;
namespace JsonApiDotNetCore.Services
{
public class JsonApiContext : IJsonApiConte... | mit | C# |
069ba69eaf82d9164d359e54f82e80ca4c920b36 | Fix payment post url | SpringIT/moneysharp | src/MoneySharp/Internal/SalesInvoiceConnector.cs | src/MoneySharp/Internal/SalesInvoiceConnector.cs | using MoneySharp.Internal.Helper;
using MoneySharp.Internal.Model;
using MoneySharp.Internal.Model.Wrapper;
using RestSharp;
namespace MoneySharp.Internal
{
public class SalesInvoiceConnector<TGetObject, TPostObject> : DefaultConnector<TGetObject, TPostObject>, ISalesInvoiceConnector<TGetObject, TPostObjec... | using MoneySharp.Internal.Helper;
using MoneySharp.Internal.Model;
using RestSharp;
namespace MoneySharp.Internal
{
public class SalesInvoiceConnector<TGetObject, TPostObject> : DefaultConnector<TGetObject, TPostObject>, ISalesInvoiceConnector<TGetObject, TPostObject>
where TGetObject : class, new(... | apache-2.0 | C# |
8342d1bde5c49f165ebcabfd2671ed8834f95354 | Add exception hresult | stofte/ream-query | src/ReamQuery.Server/Helpers/ExceptionHelpers.cs | src/ReamQuery.Server/Helpers/ExceptionHelpers.cs |
namespace ReamQuery.Server.Helpers
{
using System;
using System.Linq;
public static class ExceptionHelpers
{
public static bool ExpectedError(this Exception exn)
{
return exn.StatusCode() != Api.StatusCode.UnknownError;
}
public static Api.StatusCode Status... |
namespace ReamQuery.Server.Helpers
{
using System;
using System.Linq;
public static class ExceptionHelpers
{
public static bool ExpectedError(this Exception exn)
{
return exn.StatusCode() != Api.StatusCode.UnknownError;
}
public static Api.StatusCode Status... | mit | C# |
ce3728a3fb3cd4df5a8264d52ebb3b99a9a89b4d | Bump version for NuGet push | markashleybell/MAB.PCAPredictCapturePlus,markashleybell/MAB.PCAPredictCapturePlus,markashleybell/MAB.PCAPredictCapturePlus | MAB.PCAPredictCapturePlus/Properties/AssemblyInfo.cs | MAB.PCAPredictCapturePlus/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("MAB.PCAPredictCapturePlus")]
[assembly: A... | 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("MAB.PCAPredictCapturePlus")]
[assembly: A... | mit | C# |
2db533bab2af6328d5476978207e61d68c030b84 | Update assembly version | ninjanye/SearchExtensions | NinjaNye.SearchExtensions/Properties/AssemblyInfo.cs | NinjaNye.SearchExtensions/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("Ni... | 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("Ni... | mit | C# |
3c4e673fc2ed8f8e7b73732b6568daae006be2fa | Remove setters from FolderModel | AmadeusW/SourceBrowser,AmadeusW/SourceBrowser,CodeConnect/SourceBrowser,AmadeusW/SourceBrowser,CodeConnect/SourceBrowser | src/SourceBrowser.Generator/Model/FolderModel.cs | src/SourceBrowser.Generator/Model/FolderModel.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SourceBrowser.Generator.Model
{
public class FolderModel : IProjectItem
{
public ICollection<IProjectItem> Children { get; }
public IProjectItem Pare... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SourceBrowser.Generator.Model
{
public class FolderModel : IProjectItem
{
public ICollection<IProjectItem> Children { get; set; }
public IProjectItem ... | mit | C# |
ea44d6c8e1865bb268c20c4a27802ce10a21d080 | Clean up the code | rockfordlhotka/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,MarimerLLC/csla,rockfordlhotka/csla | Source/Csla/Configuration/ConfigurationExtensions.cs | Source/Csla/Configuration/ConfigurationExtensions.cs | #if NETSTANDARD2_0 || NET5_0 || NET6_0
//-----------------------------------------------------------------------
// <copyright file="ConfigurationExtensions.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Implement extens... | #if NETSTANDARD2_0 || NET5_0 || NET6_0
//-----------------------------------------------------------------------
// <copyright file="ConfigurationExtensions.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Implement extens... | mit | C# |
8d6bd0f0192a3b8580204e8c3841a02cc94506f9 | Add KafkaOptions.MainConfig to AutoCreateTopic (#810) | dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP | src/DotNetCore.CAP.Kafka/IProcessingServer.AutoCreateTopic.cs | src/DotNetCore.CAP.Kafka/IProcessingServer.AutoCreateTopic.cs | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Linq;
using Confluent.Kafka;
using Confluent.Kafka.Admin;
using DotNetCore.CAP.Internal;
using Microsoft.Extensions.Logging;
using Micro... | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Linq;
using Confluent.Kafka;
using Confluent.Kafka.Admin;
using DotNetCore.CAP.Internal;
using Microsoft.Extensions.Logging;
using Micro... | mit | C# |
4a10c3a8172f51a2742fcd67d04fb5c6352ede1d | Test for appending with wrong expected version. | danbarua/Cedar.EventStore,SQLStreamStore/SQLStreamStore,SQLStreamStore/SQLStreamStore,damianh/SqlStreamStore,damianh/Cedar.EventStore,dcomartin/Cedar.EventStore,robvdlv/Cedar.EventStore | src/Cedar.EventStore.Tests/EventStoreAcceptanceTests.AppendStream..cs | src/Cedar.EventStore.Tests/EventStoreAcceptanceTests.AppendStream..cs | namespace Cedar.EventStore
{
using System.Threading.Tasks;
using Cedar.EventStore.Exceptions;
using Xunit;
public abstract partial class EventStoreAcceptanceTests
{
[Fact]
public async Task When_append_stream_second_time_with_no_stream_expected_then_should_throw()
{
... | namespace Cedar.EventStore
{
using System.Threading.Tasks;
using Cedar.EventStore.Exceptions;
using Xunit;
public abstract partial class EventStoreAcceptanceTests
{
[Fact]
public async Task When_append_stream_second_time_with_no_stream_expected_then_should_throw()
{
... | mit | C# |
d08096bad89eef33678bf1a68f46d7f81a997dde | Make more robust + use the right semantic model | FonsDijkstra/CConst | CConst/CConst/InvocationInConstMethodAnalyzer.cs | CConst/CConst/InvocationInConstMethodAnalyzer.cs | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System.Collections.Immutable;
namespace FonsDijkstra.CConst
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class InvocationInConstMethodAnalyzer :... | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System.Collections.Immutable;
namespace FonsDijkstra.CConst
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class InvocationInConstMethodAnalyzer :... | mit | C# |
666872fcab9e56e33f09dc0d69f0f94a24699676 | Update TypeFieldElement.cs | ProNotion/Merchello,BarryFogarty/Merchello,BarryFogarty/Merchello,rasmusjp/Merchello,ProNotion/Merchello,rasmusjp/Merchello,doronuziel71/Merchello,BarryFogarty/Merchello,Merchello/Merchello,Merchello/Merchello.Bazaar,doronuziel71/Merchello,BluefinDigital/Merchello,BluefinDigital/Merchello,BarryFogarty/Merchello,Mindfir... | src/Merchello.Core/Configuration/Outline/TypeFieldElement.cs | src/Merchello.Core/Configuration/Outline/TypeFieldElement.cs | namespace Merchello.Core.Configuration.Outline
{
using System;
using System.Configuration;
using System.Diagnostics.CodeAnalysis;
/// <summary>
/// The type field element.
/// </summary>
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1650:ElementDocumentationMustBeSpelledCorrect... | namespace Merchello.Core.Configuration.Outline
{
using System;
using System.Configuration;
using System.Diagnostics.CodeAnalysis;
/// <summary>
/// The type field element.
/// </summary>
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1650:ElementDocumentationMustBeSpelledCorrect... | mit | C# |
6db23986086d71093a0c494f8acc8789db5973f2 | Add missing Theory attribute | steamcore/TinyIpc | test/TinyIpc.Tests/TinyMemoryMappedFileTests.cs | test/TinyIpc.Tests/TinyMemoryMappedFileTests.cs | using System;
using TinyIpc.IO;
using System.Text;
using Xunit;
namespace TinyIpc.Tests
{
public class TinyMemoryMappedFileTests
{
[Theory]
[InlineData(null)]
[InlineData("")]
[InlineData(" ")]
public void Calling_constructor_with_no_name_should_throw(string name)
{
Assert.Throws<ArgumentException>((... | using System;
using TinyIpc.IO;
using System.Text;
using Xunit;
namespace TinyIpc.Tests
{
public class TinyMemoryMappedFileTests
{
[Theory]
[InlineData(null)]
[InlineData("")]
[InlineData(" ")]
public void Calling_constructor_with_no_name_should_throw(string name)
{
Assert.Throws<ArgumentException>((... | mit | C# |
5c9931dab20bcc499d6e21c07ee33a1c7ad2455a | FIX ADD CART PROBLEM | irresolution/vivianClothing,irresolution/vivianClothing | vivianClothing/vivianClothing/Views/Home/ProductDetail.cshtml | vivianClothing/vivianClothing/Views/Home/ProductDetail.cshtml | @model vivianClothing.Models.Product
@{
var ajaxOption = new AjaxOptions()
{
OnSuccess = "AddToCartSuccess",
OnFailure = "AddToCartFailure",
HttpMethod = "post"
};
}
@section scripts{
@Scripts.Render("~/bundles/jqueryval")
<script>
function AddToCartSuccess... | @model vivianClothing.Models.Product
@{
var ajaxOption = new AjaxOptions()
{
OnSuccess = "AddToCartSuccess",
OnFailure = "AddToCartFailure",
HttpMethod = "post"
};
}
@section scripts{
@Scripts.Render("~/bundles/jqueryval")
<script>
function AddToCartSuccess... | mit | C# |
5862250f2dff4a4fb9740a70713a179906b646b7 | Change the QueueTime to an hour again | Nanabell/NoAdsHere | NoAdsHere/Services/Penalties/DeleteMessageJob.cs | NoAdsHere/Services/Penalties/DeleteMessageJob.cs | using Quartz;
using System;
using System.Threading.Tasks;
using Discord;
using Microsoft.Extensions.DependencyInjection;
using NLog;
namespace NoAdsHere.Services.Penalties
{
public static class JobQueue
{
private static IScheduler _scheduler;
public static Task Install(IServiceProvider provid... | using Quartz;
using System;
using System.Threading.Tasks;
using Discord;
using Microsoft.Extensions.DependencyInjection;
using NLog;
namespace NoAdsHere.Services.Penalties
{
public static class JobQueue
{
private static IScheduler _scheduler;
public static Task Install(IServiceProvider provid... | mit | C# |
73ba04c182752ef58c726e5dbb5b5b087ecc9b0f | Update CommonAssemblyInfo | atata-framework/atata-sample-app-tests | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata Framework")]
[assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2016")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Assembly... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata")]
[assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2016")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1... | apache-2.0 | C# |
598505c6596f91765e5a47b8d9905e00bf0b21be | Bump version | rileywhite/Cilador | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | /***************************************************************************/
// Copyright 2013-2014 Riley White
//
// 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.ap... | /***************************************************************************/
// Copyright 2013-2014 Riley White
//
// 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.ap... | apache-2.0 | C# |
112e880a5333def08d05ee7f2bb16d987d0d7a3b | Update version | JeremyAnsel/JeremyAnsel.Media.An8 | JeremyAnsel.Media.An8/JeremyAnsel.Media.An8/Properties/AssemblyInfo.cs | JeremyAnsel.Media.An8/JeremyAnsel.Media.An8/Properties/AssemblyInfo.cs | // <copyright file="AssemblyInfo.cs" company="Jérémy Ansel">
// Copyright (c) 2015 Jérémy Ansel
// </copyright>
// <license>
// Licensed under the MIT license. See LICENSE.txt
// </license>
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: CLSCompliant(true)]
// Les information... | // <copyright file="AssemblyInfo.cs" company="Jérémy Ansel">
// Copyright (c) 2015 Jérémy Ansel
// </copyright>
// <license>
// Licensed under the MIT license. See LICENSE.txt
// </license>
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: CLSCompliant(true)]
// Les information... | mit | C# |
2efccf86be850e2ddab745b4854134a352ddc87e | Add TEAK_3_1_OR_NEWER | GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity | Assets/Teak/Editor/TeakPreProcessDefiner.cs | Assets/Teak/Editor/TeakPreProcessDefiner.cs | using UnityEditor;
using UnityEditor.Build;
#if UNITY_2018_1_OR_NEWER
using UnityEditor.Build.Reporting;
#endif
using UnityEngine;
using System.Collections.Generic;
class TeakPreProcessDefiner :
#if UNITY_2018_1_OR_NEWER
IPreprocessBuildWithReport
#else
IPreprocessBuild
#endif
{
public int callbackOrder {... | using UnityEditor;
using UnityEditor.Build;
#if UNITY_2018_1_OR_NEWER
using UnityEditor.Build.Reporting;
#endif
using UnityEngine;
using System.Collections.Generic;
class TeakPreProcessDefiner :
#if UNITY_2018_1_OR_NEWER
IPreprocessBuildWithReport
#else
IPreprocessBuild
#endif
{
public int callbackOrder {... | apache-2.0 | C# |
a8f8dd98cbc1f861345e531e127384f4d8f6591e | add support TestCaseSourceAttribute | BigBabay/AsyncConverter,BigBabay/AsyncConverter | AsyncConverter/Checkers/UnderTestChecker.cs | AsyncConverter/Checkers/UnderTestChecker.cs | using System.Collections.Generic;
using AsyncConverter.Helpers;
using JetBrains.Metadata.Reader.Impl;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Psi.CSharp.Tree;
namespace AsyncConverter.Checkers
{
[SolutionComponent]
public class UnderTestChecker : IUnderTestChecker
{
private readonl... | using System.Collections.Generic;
using AsyncConverter.Helpers;
using JetBrains.Metadata.Reader.Impl;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Psi.CSharp.Tree;
namespace AsyncConverter.Checkers
{
[SolutionComponent]
public class UnderTestChecker : IUnderTestChecker
{
private readonl... | mit | C# |
edcbfb6933bc1a91ebbef38c378e5f9c03152d8c | Enable undocumented methods but mark them Obsolete | Tragetaschen/dbus-sharp,openmedicus/dbus-sharp,Tragetaschen/dbus-sharp,arfbtwn/dbus-sharp,openmedicus/dbus-sharp,mono/dbus-sharp,mono/dbus-sharp,arfbtwn/dbus-sharp | src/DBus.cs | src/DBus.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NDesk.DBus;
//namespace org.freedesktop.DBus
namespace org.freedesktop.DBus
{
/*
//what's this for?
public class DBusException : ApplicationException
{
}
*/
#if U... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NDesk.DBus;
//namespace org.freedesktop.DBus
namespace org.freedesktop.DBus
{
/*
//what's this for?
public class DBusException : ApplicationException
{
}
*/
#if U... | mit | C# |
9b1ed3d63b5b6f2a01bb50a6163a4ac225653c73 | move to AddWallet namespace | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/Views/AddWallet/RecoverWalletView.axaml.cs | WalletWasabi.Fluent/Views/AddWallet/RecoverWalletView.axaml.cs | using Avalonia.Markup.Xaml;
using Avalonia.ReactiveUI;
using WalletWasabi.Fluent.ViewModels;
using WalletWasabi.Fluent.ViewModels.AddWallet;
namespace WalletWasabi.Fluent.Views.AddWallet
{
public class RecoverWalletView : ReactiveUserControl<RecoverWalletViewModel>
{
public RecoverWalletView()
{
InitializeCom... | using Avalonia.Markup.Xaml;
using Avalonia.ReactiveUI;
using WalletWasabi.Fluent.ViewModels;
using WalletWasabi.Fluent.ViewModels.AddWallet;
namespace WalletWasabi.Fluent.Views.RecoverWallet
{
public class RecoverWalletView : ReactiveUserControl<RecoverWalletViewModel>
{
public RecoverWalletView()
{
Initializ... | mit | C# |
dead460f3050372b4fb6ecf87db882c13205b853 | Truncate TreeView at ComponentObject3D | larsbrubaker/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,mmoening/MatterCon... | DesignTools/Primitives/ComponentObject3D.cs | DesignTools/Primitives/ComponentObject3D.cs | /*
Copyright (c) 2018, 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) 2018, 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# |
58c27749bfcd805fa81bee6842d3d7df72a01501 | Add OlMeetingStatus.olMeetingReceivedAndCanceled to check if appointment is a received meeting. | aluxnimm/outlookcaldavsynchronizer | CalDavSynchronizer/Implementation/Events/InvitationChecker.cs | CalDavSynchronizer/Implementation/Events/InvitationChecker.cs | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
// Copyright (c) 2015 Alexander Nimmervoll
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License a... | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
// Copyright (c) 2015 Alexander Nimmervoll
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License a... | agpl-3.0 | C# |
1f2d8c3331dbe687a11229d1fcb07ed59a7b9eb2 | Initialize RemoveHostnameCommand with an IApplicationConfiguration and IAppHarborClient | appharbor/appharbor-cli | src/AppHarbor/Commands/RemoveHostnameCommand.cs | src/AppHarbor/Commands/RemoveHostnameCommand.cs | using System;
namespace AppHarbor.Commands
{
public class RemoveHostnameCommand : ICommand
{
private readonly IApplicationConfiguration _applicationConfiguration;
private readonly IAppHarborClient _appharborClient;
public RemoveHostnameCommand(IApplicationConfiguration applicationConfiguration, IAppHarborCli... | using System;
namespace AppHarbor.Commands
{
public class RemoveHostnameCommand : ICommand
{
public void Execute(string[] arguments)
{
throw new NotImplementedException();
}
}
}
| mit | C# |
fe79090225d58f7b20061399cbccd4ea0234183a | Add Beta property on FleaHeader event | jthorpe4/EDDiscovery,vendolis/EDDiscovery,vendolis/EDDiscovery,mwerle/EDDiscovery,jgoode/EDDiscovery,jeoffman/EDDiscovery,jgoode/EDDiscovery,mwerle/EDDiscovery,jeoffman/EDDiscovery | EDDiscovery/EliteDangerous/JournalEvents/JournalFileHeader.cs | EDDiscovery/EliteDangerous/JournalEvents/JournalFileHeader.cs | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EDDiscovery.EliteDangerous.JournalEvents
{
public class JournalFileHeader : JournalEntry
{
public JournalFileHeader(JObject evt ) : base(evt, JournalTypeEnum.FileHeader)
... | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EDDiscovery.EliteDangerous.JournalEvents
{
public class JournalFileHeader : JournalEntry
{
public JournalFileHeader(JObject evt ) : base(evt, JournalTypeEnum.FileHeader)
... | apache-2.0 | C# |
4e56ca8826841fbc56431c46faf8e38a2bd86cf7 | Make REPL skip evaluation if the input is a whitespace string. | alldne/school,alldne/school | School/REPL/REPL.cs | School/REPL/REPL.cs | using System;
using Mono.Terminal;
namespace School.REPL
{
public class REPL
{
public REPL()
{
}
public void Run()
{
Evaluator evaluator = new Evaluator();
LineEditor editor = new LineEditor("School");
Console.WriteLine("School REPL... | using System;
using Mono.Terminal;
namespace School.REPL
{
public class REPL
{
public REPL()
{
}
public void Run()
{
Evaluator evaluator = new Evaluator();
LineEditor editor = new LineEditor("School");
Console.WriteLine("School REPL... | apache-2.0 | C# |
a99600be31d7b786847f4bb53d87656a483f7680 | add produces response | hidden-sound-team/Hidden-Sound-API | HiddenSound.API/Areas/Mobile/Controllers/DevicesController.cs | HiddenSound.API/Areas/Mobile/Controllers/DevicesController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using HiddenSound.API.Areas.Mobile.Models.Requests;
using HiddenSound.API.Areas.Mobile.Models.Responses;
using HiddenSound.API.Areas.Shared.Repositories;
using HiddenSound.API.Identity;
using Microsoft.AspNetCore.Authoriza... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using HiddenSound.API.Areas.Mobile.Models.Requests;
using HiddenSound.API.Areas.Mobile.Models.Responses;
using HiddenSound.API.Areas.Shared.Repositories;
using HiddenSound.API.Identity;
using Microsoft.AspNetCore.Authoriza... | apache-2.0 | C# |
b36c4f658088e16601a352d6d8b8e0fdd77e61b3 | Update XML comments of ContentSource | atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata | src/Atata/ContentSource.cs | src/Atata/ContentSource.cs | using OpenQA.Selenium;
namespace Atata
{
/// <summary>
/// Specifies the content source of a component.
/// </summary>
public enum ContentSource
{
/// <summary>
/// Uses <see cref="IWebElement.Text"/> property of component scope <see cref="IWebElement"/> element.
... | using OpenQA.Selenium;
namespace Atata
{
/// <summary>
/// Specifies the content source of a component.
/// </summary>
public enum ContentSource
{
/// <summary>
/// Uses Text property of component scope <see cref="IWebElement"/> element.
/// </summary>
T... | apache-2.0 | C# |
9b9b9aa67042b5519cd0422afcd05bedc1617120 | Add method CancelTransaction to service interface | lfreneda/Cielo | src/Cielo/ICieloService.cs | src/Cielo/ICieloService.cs | using Cielo.Requests;
using Cielo.Responses;
namespace Cielo
{
public interface ICieloService
{
CreateTransactionResponse CreateTransaction(CreateTransactionRequest request);
CheckTransactionResponse CheckTransaction(CheckTransactionRequest request);
CancelTransactionResponse CancelTra... | using Cielo.Requests;
using Cielo.Responses;
namespace Cielo
{
public interface ICieloService
{
CreateTransactionResponse CreateTransaction(CreateTransactionRequest request);
CheckTransactionResponse CheckTransaction(CheckTransactionRequest request);
}
} | mit | C# |
43b926cd4265c19e7fd37165fdcd4fde437089cf | add doc for IPriorityQueue | yanggujun/commonsfornet,yanggujun/commonsfornet | src/Commons.Collections/Queue/IPriorityQueue.cs | src/Commons.Collections/Queue/IPriorityQueue.cs | // Copyright CommonsForNET.
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// ... | // Copyright CommonsForNET.
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// ... | apache-2.0 | C# |
43d52844c7e2649afc49d922f1578a8d8e52a392 | make BunyanLambdaILoggerProvider public (#3) | TedNuGetServer/BunyanLambdaLogger | BunyanLambdaLogger/BunyanLambdaILoggerProvider.cs | BunyanLambdaLogger/BunyanLambdaILoggerProvider.cs | using System;
// ReSharper disable once CheckNamespace
namespace Microsoft.Extensions.Logging
{
/// <summary>
///
/// </summary>
public class BunyanLambdaILoggerProvider : ILoggerProvider
{
private readonly LambdaLoggerOptions options;
private readonly string applicationName;
private readonly ... | using System;
// ReSharper disable once CheckNamespace
namespace Microsoft.Extensions.Logging
{
internal class BunyanLambdaILoggerProvider : ILoggerProvider
{
// Private fields
private readonly LambdaLoggerOptions options;
private readonly string applicationName;
private readonly string environm... | mit | C# |
4293e8cabc8208ed051c0e20b177abfbebb855f1 | Add KeyValuesOrNTRO.ToString | SteamDatabase/ValveResourceFormat | ValveResourceFormat/Resource/ResourceTypes/KeyValuesOrNTRO.cs | ValveResourceFormat/Resource/ResourceTypes/KeyValuesOrNTRO.cs | using System;
using System.IO;
using ValveResourceFormat.Blocks;
using ValveResourceFormat.Serialization;
namespace ValveResourceFormat.ResourceTypes
{
public class KeyValuesOrNTRO : ResourceData
{
protected Resource Resource { get; private set; }
public IKeyValueCollection Data { get; private ... | using System;
using System.IO;
using ValveResourceFormat.Blocks;
using ValveResourceFormat.Serialization;
namespace ValveResourceFormat.ResourceTypes
{
public class KeyValuesOrNTRO : ResourceData
{
protected Resource Resource { get; private set; }
public IKeyValueCollection Data { get; private ... | mit | C# |
0c079edf400704fd8b0cb5bb27f576e785319d9e | Fix wrong aspect ratio | thomaslevesque/XamlAnimatedGif,XamlAnimatedGif/XamlAnimatedGif,thomaslevesque/XamlAnimatedGif | XamlAnimatedGif.Shared/Decoding/GifLogicalScreenDescriptor.cs | XamlAnimatedGif.Shared/Decoding/GifLogicalScreenDescriptor.cs | using System;
using System.IO;
using System.Threading.Tasks;
using XamlAnimatedGif.Extensions;
namespace XamlAnimatedGif.Decoding
{
internal class GifLogicalScreenDescriptor : IGifRect
{
public int Width { get; private set; }
public int Height { get; private set; }
public bool HasGlobal... | using System;
using System.IO;
using System.Threading.Tasks;
using XamlAnimatedGif.Extensions;
namespace XamlAnimatedGif.Decoding
{
internal class GifLogicalScreenDescriptor : IGifRect
{
public int Width { get; private set; }
public int Height { get; private set; }
public bool HasGlobal... | apache-2.0 | C# |
a711a52164cdb4e4285822813057b941bd01e399 | ADD protocols to constants | diksito/url-shortner,diksito/url-shortner | ShortURLService/Infrastructure/Constants.cs | ShortURLService/Infrastructure/Constants.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShortURLService.Infrastructure
{
/// <summary>
/// Constants values that are often used.
/// </summary>
class Constants
{
public const string UNKNOWN = "Unknown";
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShortURLService.Infrastructure
{
/// <summary>
/// Constants values that are often used.
/// </summary>
class Constants
{
public const string UNKNOWN = "Unknown";
... | mit | C# |
c9c11e04712edd850d3d4e34e1436d96f28a824f | Correct errors in .cs file | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/TommyMaynard.cs | src/Firehose.Web/Authors/TommyMaynard.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class TommyMaynard : IAmACommunityMember
{
public string FirstName => "Tommy";
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MikeFRobbins : IAmAMicrosoftMVP, IFilterMyBlogPosts
{
public string FirstName => "Tommy";... | mit | C# |
de2ec4df1f75be89be51c96e5b8c994442dd7de1 | Use Task.FromResult | archrival/SubsonicSharp | Subsonic.Client/Extensions/XmlExtensions.cs | Subsonic.Client/Extensions/XmlExtensions.cs | using System.IO;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Subsonic.Client.Extensions
{
public static class XmlExtensions
{
/// <summary>
/// Deserialize XML string into object type specified.
/// </summary>... | using System.IO;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Subsonic.Client.Extensions
{
public static class XmlExtensions
{
/// <summary>
/// Deserialize XML string into object type specified.
/// </summary>... | mit | C# |
39829fd8fe04dcc88cdf1a06a75147d47876b01d | Update index.cshtml | reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website | input/contribute/maintainers/index.cshtml | input/contribute/maintainers/index.cshtml | Order: 100
---
@Html.Partial("_ChildPages")
https://gist.github.com/FlorianHeigl/b217213e8fe9ba555bd35c492311d0b6
https://opensource.com/life/16/5/growing-contributor-base-modern-open-source
https://medium.com/@@mikeal/community-imbalance-theory-c5f8688ae352
<script async class="speakerdeck-embed" data-slide="4" dat... | Order: 100
---
@Html.Partial("_ChildPages")
https://opensource.com/life/16/5/growing-contributor-base-modern-open-source
https://medium.com/@@mikeal/community-imbalance-theory-c5f8688ae352
<script async class="speakerdeck-embed" data-slide="4" data-id="880cb5d4ec364909a1db5b5655aa9d37" data-ratio="1.33333333333333" ... | mit | C# |
c85552c0090dca7188366b61e6747b7e86a428a7 | Add impl method for Play. | dimixar/audio-controller-unity | AudioController/Assets/Source/AudioController.cs | AudioController/Assets/Source/AudioController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[RequireComponent(typeof(ObjectPool))]
public class AudioController : MonoBehaviour
{
#region Serialized Data
[SerializeField]
private GameObject _defaultPrefab;
#endregion
#region Private fields
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[RequireComponent(typeof(ObjectPool))]
public class AudioController : MonoBehaviour
{
#region Serialized Data
[SerializeField]
private GameObject _defaultPrefab;
#endregion
#region Private fields
... | mit | C# |
acc3ada82c475b29bc7e7b9d5039b6e53584155f | Improve names. | eylvisaker/AgateLib | AgateLib/UserInterface/UserInterfaceDataLoader.cs | AgateLib/UserInterface/UserInterfaceDataLoader.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AgateLib.Geometry.TypeConverters;
using AgateLib.IO;
using AgateLib.UserInterface.DataModel;
using AgateLib.UserInterface.DataModel.TypeConverters;
using YamlDotNet.Serialization;
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AgateLib.Geometry.TypeConverters;
using AgateLib.IO;
using AgateLib.UserInterface.DataModel;
using AgateLib.UserInterface.DataModel.TypeConverters;
using YamlDotNet.Serialization;
... | mit | C# |
724561d2dee6018a04bc4bd23b5698112eeebcaa | Update GetRelativeTime.cs | BlarghLabs/MoarUtils | commands/time/GetRelativeTime.cs | commands/time/GetRelativeTime.cs | using System;
namespace MoarUtils.commands.time {
public static class GetRelativeTime {
public static string Execute(DateTime dt) {
const int SECOND = 1;
const int MINUTE = 60 * SECOND;
const int HOUR = 60 * MINUTE;
const int DAY = 24 * HOUR;
const int MONTH = 30 * DAY;
var ... | using System;
namespace MoarUtils.commands.time {
public static class GetRelativeTime {
public static string Execute(DateTime dt) {
const int SECOND = 1;
const int MINUTE = 60 * SECOND;
const int HOUR = 60 * MINUTE;
const int DAY = 24 * HOUR;
const int MONTH = 30 * DAY;
var ... | mit | C# |
b1ce2807a239ad4889fafeae044d7efc06bb9b4d | Remove unnecessary disposal of bounded observable | bwatts/Totem,bwatts/Totem | Source/Totem.Runtime/Timeline/TimelineSchedule.cs | Source/Totem.Runtime/Timeline/TimelineSchedule.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
namespace Totem.Runtime.Timeline
{
/// <summary>
/// Schedules points on the timeline to occur in the future
/// </summary>
internal sealed class TimelineSchedule : PushScope
{
priv... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
namespace Totem.Runtime.Timeline
{
/// <summary>
/// Schedules points on the timeline to occur in the future
/// </summary>
internal sealed class TimelineSchedule : PushScope
{
private readonly HashSet<IDisposable>... | mit | C# |
235244fc43656d65c7a8b488b80ad2c99ac999ce | Change return type of IGameRepository.Get | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/ChessVariantsTraining/DbRepositories/Variant960/IGameRepository.cs | src/ChessVariantsTraining/DbRepositories/Variant960/IGameRepository.cs | using ChessVariantsTraining.Models.Variant960;
namespace ChessVariantsTraining.DbRepositories.Variant960
{
public interface IGameRepository
{
void Add(Game game);
Game Get(string id);
void Update(Game game);
}
}
| using ChessVariantsTraining.Models.Variant960;
namespace ChessVariantsTraining.DbRepositories.Variant960
{
public interface IGameRepository
{
void Add(Game game);
void Get(string id);
void Update(Game game);
}
}
| agpl-3.0 | C# |
09def305dd5b020092e6a9eed16b8355c00af6d3 | Fix tests for new icons | awesome-inc/FontAwesome.Sharp,awesome-inc/FontAwesome.Sharp | FontAwesome.Sharp.Tests/WPF/IconHelper_Should.cs | FontAwesome.Sharp.Tests/WPF/IconHelper_Should.cs | using System;
using System.Linq;
using System.Windows.Media;
using FluentAssertions;
using NEdifis.Attributes;
using NUnit.Framework;
namespace FontAwesome.Sharp.Tests.WPF
{
[TestFixtureFor(typeof(IconHelper))]
// ReSharper disable once InconsistentNaming
internal class IconHelper_Should
{
priv... | using System;
using System.Linq;
using System.Windows.Media;
using FluentAssertions;
using NEdifis.Attributes;
using NUnit.Framework;
namespace FontAwesome.Sharp.Tests.WPF
{
[TestFixtureFor(typeof(IconHelper))]
// ReSharper disable once InconsistentNaming
internal class IconHelper_Should
{
priv... | apache-2.0 | C# |
16c7126fa7bc85a36079454e7f40ae4b92cc9c72 | Add enumeration values for other card types | jcolag/CreditCardValidator | CreditCardRange/CreditCardRange/CreditCardType.cs | CreditCardRange/CreditCardRange/CreditCardType.cs | //-----------------------------------------------------------------------
// <copyright file="CreditCardType.cs" company="Colagioia Industries">
// Provided under the terms of the AGPL v3.
// </copyright>
//-----------------------------------------------------------------------
/// <summary>
/// Credit card type.
... | //-----------------------------------------------------------------------
// <copyright file="CreditCardType.cs" company="Colagioia Industries">
// Provided under the terms of the AGPL v3.
// </copyright>
//-----------------------------------------------------------------------
/// <summary>
/// Credit card type.
... | agpl-3.0 | C# |
d5cee20863aa2b62d8ad36da6b5858b666942233 | Fix formatting | dotnet/roslyn,KevinRansom/roslyn,sharwell/roslyn,CyrusNajmabadi/roslyn,AmadeusW/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,eriawan/roslyn,wvdd007/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,sharwell/roslyn,eriawan/roslyn,diryboy/roslyn,shyamnamboodiripad/roslyn,eriawan/roslyn,bartdesmet/roslyn,bartdesmet/rosl... | src/Tools/ExternalAccess/RazorTest/RazorPredefinedProviderNameTests.cs | src/Tools/ExternalAccess/RazorTest/RazorPredefinedProviderNameTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Linq;
using System.Reflection;
using System.Text;
us... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Linq;
using System.Reflection;
using System.Text;
us... | mit | C# |
0f3c0669f510eb083bec4ef3ada912a1a6d752f9 | Update FreezePanes.cs | aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-as... | Examples/CSharp/Worksheets/Display/FreezePanes.cs | Examples/CSharp/Worksheets/Display/FreezePanes.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Display
{
public class FreezePanes
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.Get... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Display
{
public class FreezePanes
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflectio... | mit | C# |
f19ec6f8e2d687ae831175e7947d2c0ddc5dcc06 | Rebuild of solution | CheeseJedi/HELLION.Explorer | HELLION.DataStructures/Properties/AssemblyInfo.cs | HELLION.DataStructures/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("HEL... | 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("HEL... | mit | C# |
820ff46cc8491b73a8b38cc11ad2ac092bb89226 | enable Skip test | projectkudu/kudu,projectkudu/kudu,projectkudu/kudu,projectkudu/kudu,projectkudu/kudu | Kudu.Core.Test/Infrastructure/TestHarnessFacts.cs | Kudu.Core.Test/Infrastructure/TestHarnessFacts.cs | using System;
using System.Threading.Tasks;
using Kudu.TestHarness.Xunit;
using Xunit;
namespace Kudu.Core.Test
{
public class TestHarnessFacts
{
[Fact]
public void SkippedSyncTest()
{
throw new KuduXunitTestSkippedException("Testing SkippedSyncTest");
}
[F... | using System;
using System.Threading.Tasks;
using Kudu.TestHarness.Xunit;
using Xunit;
namespace Kudu.Core.Test
{
public class TestHarnessFacts
{
[Fact]
public void SkippedSyncTest()
{
// TeamCity reporting issue, skip if running within TeamCity
if (string.IsNul... | apache-2.0 | C# |
2af5325fb1c563a33ba593a6e0543206036e30d9 | Fix Primes() | nrother/infinite-linq | LinqExtensions.cs | LinqExtensions.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InfiniteLinq
{
/// <summary>
/// Extension methods for IEnumerable,
/// extending LINQ.
/// </summary>
public static class LinqExtensions
{
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InfiniteLinq
{
/// <summary>
/// Extension methods for IEnumerable,
/// extending LINQ.
/// </summary>
public static class LinqExtensions
{
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.