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 |
|---|---|---|---|---|---|---|---|---|
a370a7b1f984148ac8edbd3681b545a512bbce60 | update version for nuget | robinrodricks/FluentFTP,robinrodricks/FluentFTP,worstenbrood/FluentFTP,hgupta9/FluentFTP,robinrodricks/FluentFTP | FluentFTP/AssemblyInfo.cs | FluentFTP/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("FluentFTP")]
[assembly: AssemblyDes... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("FluentFTP")]
[assembly: AssemblyDes... | mit | C# |
4bcce2d5c33862b947abf10df10c3ba0f998e6b9 | Add VerifyAccessToken to IAuthorizationClient. | mfilippov/vimeo-dot-net | src/VimeoDotNet/Authorization/IAuthorizationClient.cs | src/VimeoDotNet/Authorization/IAuthorizationClient.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using VimeoDotNet.Models;
namespace VimeoDotNet.Authorization
{
/// <summary>
/// IAuthorizationClient
/// Additional info https://developer.vimeo.com/api/authentication
/// </summary>
public interface IAuthorizationClient
{
... | using System.Collections.Generic;
using System.Threading.Tasks;
using VimeoDotNet.Models;
namespace VimeoDotNet.Authorization
{
/// <summary>
/// IAuthorizationClient
/// Additional info https://developer.vimeo.com/api/authentication
/// </summary>
public interface IAuthorizationClient
{
... | mit | C# |
62f1af61fef25d02e116dda01f7b1b42e0ec3601 | Fix wrong value for the Preview tag. | punker76/taglib-sharp,mono/taglib-sharp,hwahrmann/taglib-sharp,punker76/taglib-sharp,Clancey/taglib-sharp,archrival/taglib-sharp,CamargoR/taglib-sharp,Clancey/taglib-sharp,hwahrmann/taglib-sharp,CamargoR/taglib-sharp,Clancey/taglib-sharp,archrival/taglib-sharp | src/TagLib/IFD/Tags/Nikon3MakerNoteEntryTag.cs | src/TagLib/IFD/Tags/Nikon3MakerNoteEntryTag.cs | //
// Nikon3MakerNoteEntryTag.cs:
//
// Author:
// Ruben Vermeersch (ruben@savanne.be)
//
// Copyright (C) 2010 Ruben Vermeersch
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License version
// 2.1 as published by the Free Software F... | //
// Nikon3MakerNoteEntryTag.cs:
//
// Author:
// Ruben Vermeersch (ruben@savanne.be)
//
// Copyright (C) 2010 Ruben Vermeersch
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License version
// 2.1 as published by the Free Software F... | lgpl-2.1 | C# |
052f451882d4f73c0a60ae7678dabcf6730aa28f | update logic for readability | justcoding121/Algorithm-Sandbox,justcoding121/Advanced-Algorithms | Algorithm.Sandbox/DynamicProgramming/Minimizing/MinEggDrop.cs | Algorithm.Sandbox/DynamicProgramming/Minimizing/MinEggDrop.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Algorithm.Sandbox.DynamicProgramming.Minimizing
{
/// <summary>
/// Problem statement below
/// http://www.geeksforgeeks.org/dynamic-programming-set-11-egg-dropping-puzzle/
///... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Algorithm.Sandbox.DynamicProgramming.Minimizing
{
/// <summary>
/// Problem statement below
/// http://www.geeksforgeeks.org/dynamic-programming-set-11-egg-dropping-puzzle/
///... | mit | C# |
66bc4037ad630f897b0ab6a420b16264d07d4c72 | Update JournalMarketSell.cs | EDDiscovery/EDDiscovery,klightspeed/EDDiscovery,EDDiscovery/EDDiscovery,andreaspada/EDDiscovery,EDDiscovery/EDDiscovery,klightspeed/EDDiscovery,andreaspada/EDDiscovery,klightspeed/EDDiscovery | EDDiscovery/EliteDangerous/JournalEvents/JournalMarketSell.cs | EDDiscovery/EliteDangerous/JournalEvents/JournalMarketSell.cs |
using Newtonsoft.Json.Linq;
using System.Linq;
namespace EDDiscovery.EliteDangerous.JournalEvents
{
//When Written: when selling goods in the market
//Parameters:
//• Type: cargo type
//• Count: number of units
//• SellPrice: price per unit
//• TotalSale: total sale value
//• AvgPricePaid... |
using Newtonsoft.Json.Linq;
using System.Linq;
namespace EDDiscovery.EliteDangerous.JournalEvents
{
//When Written: when selling goods in the market
//Parameters:
//• Type: cargo type
//• Count: number of units
//• SellPrice: price per unit
//• TotalSale: total sale value
//• AvgPricePaid... | apache-2.0 | C# |
fd60b211f46ee8c116fdb254edd22d0310ebb46c | Update SerilogTracingExtensions.cs | SimonCropp/NServiceBus.Serilog | src/NServiceBus.Serilog/SerilogTracingExtensions.cs | src/NServiceBus.Serilog/SerilogTracingExtensions.cs | using NServiceBus.Configuration.AdvancedExtensibility;
using NServiceBus.Serilog;
using Serilog;
namespace NServiceBus
{
/// <summary>
/// Extensions to enable and configure Serilog Tracing.
/// </summary>
public static class SerilogTracingExtensions
{
/// <summary>
/// Enable Seri... | using NServiceBus.Configuration.AdvancedExtensibility;
using NServiceBus.Serilog;
using Serilog;
namespace NServiceBus
{
/// <summary>
/// Extensions to enable and configure Serilog Tracing.
/// </summary>
public static class SerilogTracingExtensions
{
/// <summary>
/// Enable Seri... | mit | C# |
6113a39d627d9e1115675a0dd1b3a98d1c334347 | Change version number to 1.1 | mganss/IS24RestApi,enkol/IS24RestApi | IS24RestApi/Properties/AssemblyInfo.cs | IS24RestApi/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("IS... | 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("IS... | apache-2.0 | C# |
91f2a28f5a8cb5e525cbf9a7925735d391b67044 | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/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("storybrew editor")]
[assembly: AssemblyDe... | 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("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
f4abb2b7f18cc19abdd1fc2c7d2bf0d74a87a968 | Update VueVersions | NeutroniumCore/Neutronium,sjoerd222888/MVVM.CEF.Glue,NeutroniumCore/Neutronium,sjoerd222888/MVVM.CEF.Glue,David-Desmaisons/Neutronium,David-Desmaisons/Neutronium,sjoerd222888/MVVM.CEF.Glue,David-Desmaisons/Neutronium,NeutroniumCore/Neutronium | JavascriptFramework/Vue/VueVersions.cs | JavascriptFramework/Vue/VueVersions.cs | using Neutronium.Core.Infra;
namespace Neutronium.JavascriptFramework.Vue
{
internal class VueVersions : IVueVersion
{
public string FrameworkName { get; }
public string Name { get; }
public string VueVersion { get; }
internal static VueVersions Vue1 { get; } = new VueVersions... | using Neutronium.Core.Infra;
namespace Neutronium.JavascriptFramework.Vue
{
internal class VueVersions : IVueVersion
{
public string FrameworkName { get; }
public string Name { get; }
public string VueVersion { get; }
internal static VueVersions Vue1 { get; } = new VueVersions... | mit | C# |
54f982056a66087baa12a4092eafc2a86e644c10 | Implement the compiler program | jamesqo/BasicCompiler | src/BasicCompiler/Program.cs | src/BasicCompiler/Program.cs | namespace BasicCompiler
{
using System;
using System.IO;
using BasicCompiler.Core;
public class Program
{
private static int Main(string[] args)
{
if (args.Length != 1)
{
Console.Error.WriteLine("Usage: BasicCompiler <file>");
... | namespace BasicCompiler
{
using System;
using System.IO;
using BasicCompiler.Core;
public class Program
{
private static void Main(string[] args)
{
string text = File.ReadAllText(args[0]);
// Expected format of code:
// '(add (subtra... | mit | C# |
c6541bb6576c5917fe0b6cc4600657855fc26b63 | remove claim model from AccountModels file | ramzzzay/PhoneBook,ramzzzay/PhoneBook | PhoneBook.Core/Models/AccountModels.cs | PhoneBook.Core/Models/AccountModels.cs | namespace PhoneBook.Core.Models
{
public class AccountRegistrationModel
{
public string Email { get; set; }
public string Password { get; set; }
}
} | namespace PhoneBook.Core.Models
{
public class AccountRegistrationModel
{
public string Email { get; set; }
public string Password { get; set; }
}
} | apache-2.0 | C# |
104445424cc51a8d485dbe7d337f03dbbad3d578 | Fix path issue for StreamOut | cloudfoundry/garden-windows,cloudfoundry-incubator/garden-windows,cloudfoundry/garden-windows,cloudfoundry-incubator/garden-windows,stefanschneider/garden-windows,stefanschneider/garden-windows,cloudfoundry/garden-windows,cloudfoundry-incubator/garden-windows,stefanschneider/garden-windows | Containerizer/Services/Implementations/StreamOutService.cs | Containerizer/Services/Implementations/StreamOutService.cs | using System.IO;
using Containerizer.Services.Interfaces;
namespace Containerizer.Services.Implementations
{
public class StreamOutService : IStreamOutService
{
private readonly IContainerPathService containerPathService;
private readonly ITarStreamService tarStreamService;
public Str... | using System.IO;
using Containerizer.Services.Interfaces;
namespace Containerizer.Services.Implementations
{
public class StreamOutService : IStreamOutService
{
private readonly IContainerPathService containerPathService;
private readonly ITarStreamService tarStreamService;
public Str... | apache-2.0 | C# |
329073fd5682f03183da61f5592a65479e1c8a71 | update example | SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK,SoftFx/FDK | Examples/CSharp/DataTradeExamples/SendLimitOrderExample.cs | Examples/CSharp/DataTradeExamples/SendLimitOrderExample.cs | namespace DataTradeExamples
{
using System;
using SoftFX.Extended;
class SendLimitOrderExample : Example
{
public SendLimitOrderExample(string address, string username, string password)
: base(address, username, password)
{
Trade.ExecutionReport += Trade_Executi... | namespace DataTradeExamples
{
using System;
using SoftFX.Extended;
class SendLimitOrderExample : Example
{
public SendLimitOrderExample(string address, string username, string password)
: base(address, username, password)
{
Trade.ExecutionReport += Trade_Executi... | mit | C# |
49b8594a051c7b6c4b49f90f69884d339bdce840 | Stabilize reversible renaming | yeaicc/ConfuserEx,Desolath/Confuserex,engdata/ConfuserEx,Desolath/ConfuserEx3,timnboys/ConfuserEx | Confuser.Renamer/ReversibleRenamer.cs | Confuser.Renamer/ReversibleRenamer.cs | using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace Confuser.Renamer {
public class ReversibleRenamer {
RijndaelManaged cipher;
byte[] key;
public ReversibleRenamer(string password) {
cipher = new RijndaelManaged();
using (var sha = SHA256.Create())
cipher... | using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace Confuser.Renamer {
public class ReversibleRenamer {
RijndaelManaged cipher;
byte[] key;
byte ivId;
public ReversibleRenamer(string password) {
cipher = new RijndaelManaged();
using (var sha = SHA256.Create(... | mit | C# |
82023aebd7ce0a03250d00d5b31e2a7ba8e2a598 | Fix #43 (possibly) | Seist/Skylight | Room/Events/Arguments/ChatEventArgs.cs | Room/Events/Arguments/ChatEventArgs.cs | namespace Skylight
{
using System;
/// <summary>
/// The class that handles all chat-based messages from the server
/// including ones sent to the user through system.
/// </summary>
public class ChatEventArgs : EventArgs
{
/// <summary>
/// The player who sent ... | namespace Skylight
{
using System;
/// <summary>
/// The class that handles all chat-based messages from the server
/// including ones sent to the user through system.
/// </summary>
public class ChatEventArgs : EventArgs
{
/// <summary>
/// The player who sent ... | mit | C# |
dca38640d514ea732b9ed6d2c589948f23d874f6 | Fix unhandled exception for null streams | SceneGate/Yarhl | libgame/FileFormat/BinaryFormat.cs | libgame/FileFormat/BinaryFormat.cs | //
// BinaryFormat.cs
//
// Author:
// Benito Palacios Sánchez (aka pleonex) <benito356@gmail.com>
//
// Copyright (c) 2016 Benito Palacios Sánchez
//
// 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 ... | //
// BinaryFormat.cs
//
// Author:
// Benito Palacios Sánchez (aka pleonex) <benito356@gmail.com>
//
// Copyright (c) 2016 Benito Palacios Sánchez
//
// 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 ... | mit | C# |
8a9b811ea1ead9c7550937f8a7f7701237852ef5 | Add Precipitation Type to MinuteDataPoint. | jcheng31/ForecastPCL,jcheng31/DarkSkyApi | ForecastPCL/Models/MinuteDataPoint.cs | ForecastPCL/Models/MinuteDataPoint.cs | namespace ForecastIOPortable.Models
{
using System;
using System.Runtime.Serialization;
/// <summary>
/// The weather conditions for a particular minute.
/// </summary>
[DataContract]
public class MinuteDataPoint
{
/// <summary>
/// Unix time at which this data point ap... | namespace ForecastIOPortable.Models
{
using System;
using System.Runtime.Serialization;
/// <summary>
/// The weather conditions for a particular minute.
/// </summary>
[DataContract]
public class MinuteDataPoint
{
/// <summary>
/// Unix time at which this data point ap... | mit | C# |
ac59c59cde4903f10b9573ba0d6973808cae92d3 | Fix bug in Delimited (delimiter was never used) | weblinq/WebLinq,atifaziz/WebLinq,atifaziz/WebLinq,weblinq/WebLinq | src/Core/Text/TextQuery.cs | src/Core/Text/TextQuery.cs | #region Copyright (c) 2016 Atif Aziz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | #region Copyright (c) 2016 Atif Aziz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | apache-2.0 | C# |
d115bf246b89ad2f6ab546c2724bd73810f1add4 | Add the base of RazorPagesOptions into ResponsiveServices | wangkanai/Detection | src/DependencyInjection/BuilderExtensions/Responsive.cs | src/DependencyInjection/BuilderExtensions/Responsive.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Wangkanai.De... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Wangkanai.Detection.Hosting;
using Wangkanai.Detection.... | apache-2.0 | C# |
69238e8ea688144939499a178a8583e1205d065e | Allow pre-creation sync pins | TheBerkin/Rant | Rant/Engine/Constructs/SyncManager.cs | Rant/Engine/Constructs/SyncManager.cs | using System.Collections.Generic;
namespace Rant.Engine.Constructs
{
internal class SyncManager
{
private readonly Dictionary<string, Synchronizer> _syncTable =
new Dictionary<string, Synchronizer>();
private readonly HashSet<string> _pinQueue = new HashSet<string>();
private readonly Sandbox _sb;
pub... | using System.Collections.Generic;
namespace Rant.Engine.Constructs
{
internal class SyncManager
{
private readonly Dictionary<string, Synchronizer> _syncTable =
new Dictionary<string, Synchronizer>();
private readonly Sandbox _sb;
public SyncManager(Sandbox sb)
{
_sb = sb;
}
public void Create(... | mit | C# |
5bb38b39c9aba2240b9fab056c672f7fcccd384c | Undo breaking change | umbraco/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,umbraco/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,abryukhov/Umbraco-CMS,abryukhov/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,abjerner/Umbraco-CMS,abryukhov/Umbraco-CMS,arknu/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-... | src/Umbraco.Web.BackOffice/Install/InstallController.cs | src/Umbraco.Web.BackOffice/Install/InstallController.cs | using System.Net;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Configuration;
using Umbraco.Cms.Core.Configuration.Models;
using Umbraco.Cms.Core.Hosting;
using Umbraco.Cms.Core.... | using System.Net;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Configuration;
using Umbraco.Cms.Core.Configuration.Models;
using Umbraco.Cms.Core.Hosting;
using Umbraco.Cms.Core.... | mit | C# |
6db71860e19ec76c565f7651d70e1b1132b64751 | Fix failing test. | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/UnitTests/GitHub.Api/SimpleApiClientFactoryTests.cs | src/UnitTests/GitHub.Api/SimpleApiClientFactoryTests.cs | using System;
using System.Threading.Tasks;
using GitHub.Api;
using GitHub.Primitives;
using GitHub.Services;
using GitHub.VisualStudio;
using NSubstitute;
using Xunit;
public class SimpleApiClientFactoryTests
{
public class TheCreateMethod
{
[Fact]
public async Task CreatesNewInstanceOfSimple... | using System;
using System.Threading.Tasks;
using GitHub.Api;
using GitHub.Primitives;
using GitHub.Services;
using GitHub.VisualStudio;
using NSubstitute;
using Xunit;
public class SimpleApiClientFactoryTests
{
public class TheCreateMethod
{
[Fact]
public async Task CreatesNewInstanceOfSimple... | mit | C# |
669254af1354a6b670e59799fe6c557f254d0c93 | Fix gradle for win | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | Android/Kotlin/build.cake | Android/Kotlin/build.cake |
var TARGET = Argument("t", Argument("target", "Default"));
Task("binderate")
.Does(() =>
{
var configFile = MakeAbsolute(new FilePath("./config.json")).FullPath;
var basePath = MakeAbsolute(new DirectoryPath("./")).FullPath;
var exit = StartProcess("xamarin-android-binderator",
$"--config=\"{configFile}\" --ba... |
var TARGET = Argument("t", Argument("target", "Default"));
Task("binderate")
.Does(() =>
{
var configFile = MakeAbsolute(new FilePath("./config.json")).FullPath;
var basePath = MakeAbsolute(new DirectoryPath("./")).FullPath;
var exit = StartProcess("xamarin-android-binderator",
$"--config=\"{configFile}\" --ba... | mit | C# |
9c9b8579eeb12ef31a6f5dfb326526b38409e092 | Check for JustShutUpIKnowWhatImDoing | GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity | Assets/Teak/Editor/TeakPostProcessScene.cs | Assets/Teak/Editor/TeakPostProcessScene.cs | #region License
/* Teak -- Copyright (C) 2016 GoCarrot Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | #region License
/* Teak -- Copyright (C) 2016 GoCarrot Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | apache-2.0 | C# |
467d05abca30e50f591c642f450b3a4bb4ec0f2d | update tree | pixel-stuff/ld_dare_32 | Unity/ludum-dare-32-PixelStuff/Assets/Scripts/Tree/tree.cs | Unity/ludum-dare-32-PixelStuff/Assets/Scripts/Tree/tree.cs | using UnityEngine;
using System.Collections;
public class tree : MonoBehaviour {
enum TreeState{
UP,
CHOPED,
FALLEN,
PICKED
};
public GameObject rightChop;
public GameObject leftChop;
public GameObject trunk;
public GameObject stump;
public float SecondeAnimation;
// Use this for initialization
priv... | using UnityEngine;
using System.Collections;
public class tree : MonoBehaviour {
enum TreeState{
UP,
CHOPED,
FALLEN,
PICKED
};
public GameObject rightChop;
public GameObject leftChop;
public GameObject trunk;
public GameObject stump;
public float SecondeAnimation;
// Use this for initialization
priv... | mit | C# |
97f5c3751b8808a72b681ae0a44ef1241bf1adda | Clarify Batch created and updated DateTime can be NULL | goshippo/shippo-csharp-client | Shippo/Batch.cs | Shippo/Batch.cs | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Shippo {
[JsonObject (MemberSerialization.OptIn)]
public class Batch : ShippoId {
[JsonProperty (PropertyName = "object_status")]
public string ObjectStatus { get; set; }
[JsonProperty (PropertyName = "obj... | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Shippo {
[JsonObject (MemberSerialization.OptIn)]
public class Batch : ShippoId {
[JsonProperty (PropertyName = "object_status")]
public string ObjectStatus { get; set; }
[JsonProperty (PropertyName = "obj... | apache-2.0 | C# |
c149cc969e820a11a29c663458f46fdc4ca9005c | remove mysqlconnector from test | MaceWindu/linq2db,linq2db/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db,LinqToDB4iSeries/linq2db,MaceWindu/linq2db | Tests/Linq/UserTests/Issue1486Tests.cs | Tests/Linq/UserTests/Issue1486Tests.cs | using LinqToDB;
using LinqToDB.Data;
using LinqToDB.DataProvider;
using NUnit.Framework;
using System.Data;
using System.Linq;
using Tests.Model;
namespace Tests.UserTests
{
[TestFixture]
public class Issue1486Tests : TestBase
{
public class IssueDataConnection : DataConnection
{
public IssueDataConnection(... | using LinqToDB;
using LinqToDB.Data;
using LinqToDB.DataProvider;
using NUnit.Framework;
using System.Data;
using System.Linq;
using Tests.Model;
namespace Tests.UserTests
{
[TestFixture]
public class Issue1486Tests : TestBase
{
public class IssueDataConnection : DataConnection
{
public IssueDataConnection(... | mit | C# |
31c69422ce9bee636d9728c29c94e2eeef10af9d | Fix Line type | setchi/NoteEditor,setchi/NotesEditor | Assets/Scripts/Line.cs | Assets/Scripts/Line.cs | using UnityEngine;
public class Line
{
public Color color;
public Vector3 start;
public Vector3 end;
public Line(Vector3 start, Vector3 end, Color color)
{
this.color = color;
this.start = start;
this.end = end;
}
}
| using UnityEngine;
public struct Line
{
public Color color;
public Vector3 start;
public Vector3 end;
public Line(Vector3 start, Vector3 end, Color color)
{
this.color = color;
this.start = start;
this.end = end;
}
}
| mit | C# |
1cbf3100c35707320d4c29526c7ee4fca29fd41a | Update Evgeny Zborovsky ShortBioTagLine, WebSite and FeedUris. (#553) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/EvgenyZborovsky.cs | src/Firehose.Web/Authors/EvgenyZborovsky.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class EvgenyZborovsky : IAmAMicrosoftMVP
{
public string FirstName => "Evgeny";
public string LastName => "Zborovsky";
public string StateOrRegion => "Estonia";
... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class EvgenyZborovsky : IAmAMicrosoftMVP
{
public string FirstName => "Evgeny";
public string LastName => "Zborovsky";
public string StateOrRegion => "Estonia";
... | mit | C# |
a793cd693402c373ad131779ac28e3921847e191 | Add c# doc bits. | chtoucas/Narvalo.NET,chtoucas/Narvalo.NET | src/Narvalo.Cerbere/ControlFlowException.cs | src/Narvalo.Cerbere/ControlFlowException.cs | // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo
{
using System;
using Narvalo.Properties;
public class ControlFlowException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="C... | // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo
{
using System;
using Narvalo.Properties;
public class ControlFlowException : Exception
{
public ControlFlowException() : base(Strings_Cerbere.ControlFlowExceptio... | bsd-2-clause | C# |
02c13f7342bb70560671a2b53abf763489d15bbf | Fix parameter comparison | JakeGinnivan/ApiApprover | src/PublicApiGenerator/MethodNameBuilder.cs | src/PublicApiGenerator/MethodNameBuilder.cs | using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Linq;
using Mono.Cecil;
namespace PublicApiGenerator
{
public static class MethodNameBuilder
{
public static string AugmentMethodNameWithMethodModifierMarkerTemplate(MethodDefinition methodDefinition,
MemberA... | using System;
using System.CodeDom;
using Mono.Cecil;
namespace PublicApiGenerator
{
public static class MethodNameBuilder
{
public static string AugmentMethodNameWithMethodModifierMarkerTemplate(MethodDefinition methodDefinition,
MemberAttributes attributes)
{
var name ... | mit | C# |
e41aabd614c9b90e7529e920cf62e4bf33dc9ff5 | Add loadable gettypes | glenndierckx/RequestHandlers,Smartasses/RequestHandlers | src/RequestHandlers/RequestHandlerFinder.cs | src/RequestHandlers/RequestHandlerFinder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace RequestHandlers
{
public static class RequestHandlerFinder
{
public static RequestHandlerDefinition[] InAssembly(params Assembly[] assemblies)
{
return assemblies.Select... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace RequestHandlers
{
public static class RequestHandlerFinder
{
public static RequestHandlerDefinition[] InAssembly(params Assembly[] assemblies)
{
return assemblies.Select... | mit | C# |
10c1bcb5e2c0667ab175acd32ad2cddf40325609 | Fix issue #34: ZeroLog cannot instantiate an appender from an external assembly | Abc-Arbitrage/ZeroLog | src/ZeroLog/Appenders/AppenderFactory.cs | src/ZeroLog/Appenders/AppenderFactory.cs | using System;
using System.Linq;
using Jil;
using ZeroLog.Config;
namespace ZeroLog.Appenders
{
public class AppenderFactory
{
public static IAppender CreateAppender(AppenderDefinition definition)
{
var appenderType = GetAppenderType(definition);
var appender = (IAppen... | using System;
using System.Linq;
using Jil;
using ZeroLog.Config;
namespace ZeroLog.Appenders
{
public class AppenderFactory
{
public static IAppender CreateAppender(AppenderDefinition definition)
{
var appenderType = GetAppenderType(definition);
var appender = (IAppen... | mit | C# |
1049caef0083de7ce9b5f7823e417fbad0bd8805 | Add additional parameters | Distant/MetroTileEditor | Editor/BlockEditWindow.cs | Editor/BlockEditWindow.cs | using UnityEngine;
using UnityEditor;
namespace MetroTileEditor.Editors
{
[InitializeOnLoad]
public class BlockEditWindow : EditorWindow
{
public static BlockData currentData;
[MenuItem("Window/BlockEditor")]
static void Init()
{
EditorWindow window = GetWindow... | using UnityEngine;
using UnityEditor;
namespace MetroTileEditor.Editors
{
[InitializeOnLoad]
public class BlockEditWindow : EditorWindow
{
public static BlockData currentData;
[MenuItem("Window/BlockEditor")]
static void Init()
{
EditorWindow window = GetWindow... | mit | C# |
e0ca905efa5ef1f4a48e8d0b17a599a4715827aa | Fix error with multithreaded UniversalDetector reseting | MSayfullin/EncodingConverter | EncodingConverter/Logic/EncodingManager.cs | EncodingConverter/Logic/EncodingManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dokas.FluentStrings;
using Mozilla.CharDet;
namespace dokas.EncodingConverter.Logic
{
internal sealed class EncodingManager
{
private readonly FileManager _fileManager;
pri... | using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dokas.FluentStrings;
using Mozilla.CharDet;
namespace dokas.EncodingConverter.Logic
{
internal sealed class EncodingManager
{
private readonly FileManager _fileManager;
private static re... | mit | C# |
84f09fea6891612d73a67c9b135e868b668d2597 | update stats | annaked/ExpressEntryCalculator,annaked/ExpressEntryCalculator,annaked/ExpressEntryCalculator | ExpressEntryCalculator.Api/GetLastStats.cs | ExpressEntryCalculator.Api/GetLastStats.cs | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using ExpressEntryCalculator.Api.Models;
namespace ExpressEntryCalculator.Api
{
public stati... | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using ExpressEntryCalculator.Api.Models;
namespace ExpressEntryCalculator.Api
{
public stati... | mit | C# |
c007dcf71c233b61dbc6db0252f1f54724e9a3e3 | Set Razor to be the only view engine | simoto/FabricStore,simoto/FabricStore,simoto/FabricStore | FabricStore/FabricStore.Web/Global.asax.cs | FabricStore/FabricStore.Web/Global.asax.cs | using FabricStore.Data;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using FabricStore.Data.Migrations;
using FabricStore.Web.Infrastructure.Mapping;
using System.Reflection;... | using FabricStore.Data;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using FabricStore.Data.Migrations;
using FabricStore.Web.Infrastructure.Mapping;
using System.Reflection;... | mit | C# |
f2a95c24afa4ed918fc01a78c196ce2809bbc789 | Add binaryTree.Clear(); to binary tree test. | Appius/Algorithms-and-Data-Structures | Data-Structures/BinaryTree/Program.cs | Data-Structures/BinaryTree/Program.cs | #region
using System;
using BinaryTree.Models;
#endregion
namespace BinaryTree
{
internal class Program
{
private static void Main()
{
var binaryTree = new BinaryTree<int> {5, 3, 9, 1, -5, 0, 2};
Console.WriteLine("{0}, count of items: {1}", binaryTree, binaryTree.Co... | #region
using System;
using BinaryTree.Models;
#endregion
namespace BinaryTree
{
internal class Program
{
private static void Main()
{
var binaryTree = new BinaryTree<int> {5, 3, 9, 1, -5, 0, 2};
Console.WriteLine("{0}, count of items: {1}", binaryTree, binaryTree.Co... | apache-2.0 | C# |
e16741d6eb5dba68c0eb4d53171bcd72250eee3d | Change assembly copyright text | danielchalmers/SteamAccountSwitcher | SteamAccountSwitcher/Properties/AssemblyInfo.cs | SteamAccountSwitcher/Properties/AssemblyInfo.cs | #region
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
#endregion
// 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: AssemblyTitl... | #region
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
#endregion
// 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: AssemblyTitl... | mit | C# |
e87b4ebdefdd3384a83eaf70e2dade9ca3a422d2 | Fix environment variable name | masaedw/LineSharp | EchoBot/Controllers/LineController.cs | EchoBot/Controllers/LineController.cs | using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using LineSharp;
using LIneSharp.Messages;
namespace EchoBot.Controllers
{
[RoutePrefix("api/{controller}")]
public class LineController : ApiController
{
private LineClie... | using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using LineSharp;
using LIneSharp.Messages;
namespace EchoBot.Controllers
{
[RoutePrefix("api/{controller}")]
public class LineController : ApiController
{
private LineClie... | mit | C# |
4564967108790490ab2179daf88838431bbf7f77 | Add Neon runtime information to NeonException | ghewgill/neon-lang,ghewgill/neon-lang,ghewgill/neon-lang,ghewgill/neon-lang,ghewgill/neon-lang,ghewgill/neon-lang,ghewgill/neon-lang,ghewgill/neon-lang,ghewgill/neon-lang,ghewgill/neon-lang | exec/csnex/Exceptions.cs | exec/csnex/Exceptions.cs | using System;
using System.Runtime.Serialization;
using System.Security.Permissions;
namespace csnex
{
[Serializable()]
public class NeonException: ApplicationException
{
public NeonException() {
}
public NeonException(string name, string info) : base(name) {
Name = na... | using System;
namespace csnex
{
[Serializable()]
public class NeonException: ApplicationException
{
public NeonException() {
}
public NeonException(string message) : base(message) {
}
public NeonException(string message, params object[] args) : base(string.Format(... | mit | C# |
5defc7ae67d9c6b68a6f0dc7bae5af5217df4cdc | Remove Enum.ToList from ListExtensions | RedWall/Futilities | Futilities/Futilities.ListExtensions/ListExtensions.cs | Futilities/Futilities.ListExtensions/ListExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Futilities.ListExtensions
{
public static class ListExtensions
{
public static void Kill<T>(this List<T> list)
{
list.Clear();
list.TrimExcess();
}
public static T GetValueOr... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Futilities.ListExtensions
{
public static class ListExtensions
{
public static List<T> EnumToList<T>() => Enum.GetValues(typeof(T)).Cast<T>().ToList();
public static void Kill<T>(this List<T> list)
{
... | mit | C# |
31b1cd40b607d27c5c21199d801adcbfef23e1ce | Fix test | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.MessageQueue.Tests/RabbitMqTestBase.cs | InfinniPlatform.MessageQueue.Tests/RabbitMqTestBase.cs | using System;
using System.Collections.Generic;
using System.Linq;
using InfinniPlatform.Helpers;
using InfinniPlatform.MessageQueue.RabbitMq.Connection;
using InfinniPlatform.MessageQueue.RabbitMq.Hosting;
using InfinniPlatform.MessageQueue.RabbitMq.Serialization;
using InfinniPlatform.Sdk.Logging;
using InfinniPlat... | using System;
using System.Collections.Generic;
using System.Linq;
using InfinniPlatform.Helpers;
using InfinniPlatform.MessageQueue.RabbitMq.Connection;
using InfinniPlatform.MessageQueue.RabbitMq.Hosting;
using InfinniPlatform.MessageQueue.RabbitMq.Serialization;
using InfinniPlatform.Sdk.Logging;
using InfinniPlat... | agpl-3.0 | C# |
eb1f8a7981d7c7b5d0cfa4469c0750b07386eb05 | Make rename explicit | JohanLarsson/Gu.Wpf.Geometry | Gu.Wpf.Geometry.UiTests/Images/TestImage.cs | Gu.Wpf.Geometry.UiTests/Images/TestImage.cs | namespace Gu.Wpf.Geometry.UiTests
{
using System;
using System.Drawing;
using System.IO;
using Gu.Wpf.UiAutomation;
using NUnit.Framework;
public static class TestImage
{
internal static readonly string Current = GetCurrent();
[Explicit]
[Script]
public stat... | namespace Gu.Wpf.Geometry.UiTests
{
using System;
using System.Drawing;
using System.IO;
using Gu.Wpf.UiAutomation;
using NUnit.Framework;
public static class TestImage
{
internal static readonly string Current = GetCurrent();
[Script]
public static void Rename()
... | mit | C# |
079cdbae7abd14fbfe16276f47904f06dbaa1f97 | Update 05-Scan-Test.cs | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | .dotnet/example_code/DynamoDB/TryDax/05-Scan-Test.cs | .dotnet/example_code/DynamoDB/TryDax/05-Scan-Test.cs | // snippet-sourcedescription:[ ]
// snippet-service:[dynamodb]
// snippet-keyword:[dotNET]
// snippet-keyword:[Amazon DynamoDB]
// snippet-keyword:[Code Sample]
// snippet-keyword:[ ]
// snippet-sourcetype:[full-example]
// snippet-sourcedate:[ ]
// snippet-sourceauthor:[AWS]
// snippet-start:[dynamodb.dotNET.trydax.05... | // snippet-sourcedescription:[ ]
// snippet-service:[dynamodb]
// snippet-keyword:[dotNET]
// snippet-keyword:[Amazon DynamoDB]
// snippet-keyword:[Code Sample]
// snippet-keyword:[ ]
// snippet-sourcetype:[full-example]
// snippet-sourcedate:[ ]
// snippet-sourceauthor:[AWS]
// snippet-start:[dynamodb.dotNET.trydax.05... | apache-2.0 | C# |
a43da2c8a70ec4272c5c0fbb49dd0403925b0f26 | Update deep link to LinuxAppDown | EricSten-MSFT/kudu,projectkudu/kudu,projectkudu/kudu,EricSten-MSFT/kudu,EricSten-MSFT/kudu,EricSten-MSFT/kudu,EricSten-MSFT/kudu,projectkudu/kudu,projectkudu/kudu,projectkudu/kudu | Kudu.Services.Web/Detectors/Default.cshtml | Kudu.Services.Web/Detectors/Default.cshtml | @{
var ownerName = Environment.GetEnvironmentVariable("WEBSITE_OWNER_NAME") ?? "";
var subscriptionId = ownerName;
var resourceGroup = Environment.GetEnvironmentVariable("WEBSITE_RESOURCE_GROUP") ?? "";
var siteName = Environment.GetEnvironmentVariable("WEBSITE_SITE_NAME") ?? "";
var hostName = Envi... | @{
var ownerName = Environment.GetEnvironmentVariable("WEBSITE_OWNER_NAME") ?? "";
var subscriptionId = ownerName;
var resourceGroup = Environment.GetEnvironmentVariable("WEBSITE_RESOURCE_GROUP") ?? "";
var siteName = Environment.GetEnvironmentVariable("WEBSITE_SITE_NAME") ?? "";
var hostName = Envi... | apache-2.0 | C# |
f535729687013cd0297e181853328179cff27f18 | Make field readonly | MHeasell/Mappy,MHeasell/Mappy | Mappy/Operations/CopyAreaOperation.cs | Mappy/Operations/CopyAreaOperation.cs | namespace Mappy.Operations
{
using Mappy.Collections;
public class CopyAreaOperation<T> : IReplayableOperation
{
private readonly IGrid<T> source;
private readonly IGrid<T> destination;
private readonly int sourceX;
private readonly int sourceY;
privat... | namespace Mappy.Operations
{
using Mappy.Collections;
public class CopyAreaOperation<T> : IReplayableOperation
{
private readonly IGrid<T> source;
private readonly IGrid<T> destination;
private readonly int sourceX;
private readonly int sourceY;
privat... | mit | C# |
7a82c437e9dbfd61897ad37043a214f38e0943ea | Fix use of private addin registry | mhutch/MonoDevelop.AddinMaker,mhutch/MonoDevelop.AddinMaker | MonoDevelop.Addins.Tasks/AddinTask.cs | MonoDevelop.Addins.Tasks/AddinTask.cs | using System;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Mono.Addins;
namespace MonoDevelop.Addins.Tasks
{
public abstract class AddinTask : Task
{
[Required]
public string ConfigDir { get; set; }
[Required]
public string AddinsDir { get; set; }
[Required]
... | using System;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Mono.Addins;
namespace MonoDevelop.Addins.Tasks
{
public abstract class AddinTask : Task
{
[Required]
public string ConfigDir { get; set; }
[Required]
public string AddinsDir { get; set; }
[Required]
... | mit | C# |
f48602849539e887eca5f1945330f29deccc859c | Use object instead of dynamic to improve performance by 200x | SnowflakePowered/michi | Michi/Functions/RemoteFunctionParameters.cs | Michi/Functions/RemoteFunctionParameters.cs | using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Michi.Functions
{
/// <summary>
/// Represents a keyed collection of function parameters.
/// Once added, parameters ... | using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Michi.Functions
{
/// <summary>
/// Represents a keyed collection of function parameters.
/// Once added, parameters ... | mit | C# |
d5d34e4afb7a211a915471222d4b1ecf0d55a9a9 | move the privacy policy to the middle | AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us | src/www/Views/Shared/_LayoutBase.cshtml | src/www/Views/Shared/_LayoutBase.cshtml | @{ Layout = "_LayoutMinimal"; }
@section custom_head {
@await RenderSectionAsync("custom_head", required: false)
<partial name="_Favicons" />
<meta name="theme-color" content="#272b30">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Tangerine:bold&display=swap" />
<partial nam... | @{ Layout = "_LayoutMinimal"; }
@section custom_head {
@await RenderSectionAsync("custom_head", required: false)
<partial name="_Favicons" />
<meta name="theme-color" content="#272b30">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Tangerine:bold&display=swap" />
<partial nam... | mit | C# |
a0880bfb11af268827252757f37aaa518ce6f875 | Support fields and highlights in responses | synhershko/HebrewSearch | NElasticsearch/NElasticsearch/Models/Hit.cs | NElasticsearch/NElasticsearch/Models/Hit.cs | using System.Collections.Generic;
using System.Diagnostics;
namespace NElasticsearch.Models
{
/// <summary>
/// Individual hit response from ElasticSearch.
/// </summary>
[DebuggerDisplay("{_type} in {_index} id {_id}")]
public class Hit<T>
{
public string _index { get; set; }
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace NElasticsearch.Models
{
/// <summary>
/// Individual hit response from ElasticSearch.
/// </summary>
[DebuggerDisplay("{_type} in {_index} id {_id}")]
public class Hit<T>
{
public string _index { get; s... | agpl-3.0 | C# |
355664cb02f07d17cf31e8ff6f2bef8187bbcff3 | reformat view page to prevent excessively wrapping the title | TheRealJZ/slackernews,TheRealJZ/slackernews | SlackerNews/Website/Views/Home/Index.cshtml | SlackerNews/Website/Views/Home/Index.cshtml | @model List<Common.article>
@{
ViewBag.Title = "Slacker News - when reading hacker news is just too much";
}
<h2>Highest scoring stories submitted in the past 24 hours</h2>
@if (Model != null && Model.Any())
{
<div style="overflow-x: auto">
<table class="table table-striped table-condensed">
... | @model List<Common.article>
@{
ViewBag.Title = "Slacker News - when reading hacker news is just too much";
}
<h2>Highest scoring stories submitted in the past 24 hours</h2>
@if (Model != null && Model.Any())
{
<div style="overflow-x: auto">
<table class="table table-striped">
<thead>
... | mit | C# |
e0fe94ed448a845553d9607bcfb36f0d5c161fff | Add documentation for device implementation. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Authentication/TraktDevice.cs | Source/Lib/TraktApiSharp/Authentication/TraktDevice.cs | namespace TraktApiSharp.Authentication
{
using Newtonsoft.Json;
using System;
/// <summary>
/// Represents a Trakt device response.
/// <para>
/// See also <seealso cref="TraktDeviceAuth.GenerateDeviceAsync()" />,
/// <seealso cref="TraktDeviceAuth.GenerateDeviceAsync(string)" />.<para />
... | namespace TraktApiSharp.Authentication
{
using Newtonsoft.Json;
using System;
public class TraktDevice
{
public TraktDevice()
{
Created = DateTime.UtcNow;
}
[JsonProperty(PropertyName = "device_code")]
public string DeviceCode { get; set; }
... | mit | C# |
1591c4b0318205f542a7e914341f5d4bd0c51b7d | Bump version to 0.5.2 | 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# |
68b6b47515c17441992497343554ffed5499d559 | rename contest demo namespace. | amiralles/contest,amiralles/contest | src/Contest.Demo/Demo.cs | src/Contest.Demo/Demo.cs | namespace Demo { //It doesn't match naming conventions but looks clear in the console ;)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using _ = System.Action<Contest.Core.Runner>;
// ReSharper disable UnusedMember.Local
class ... | namespace Contest.Demo {
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using _ = System.Action<Contest.Core.Runner>;
// ReSharper disable UnusedMember.Local
class Contest_101 {
_ this_is_a_passing_test = assert =>
ass... | mit | C# |
f3116f92c4c58b3fb0eb324aacea4b80382816f4 | Update SharedSlotType.cs | stoiveyp/Alexa.NET.Management | Alexa.NET.Management/SlotType/SharedSlotType.cs | Alexa.NET.Management/SlotType/SharedSlotType.cs | using Newtonsoft.Json;
namespace Alexa.NET.Management.SlotType
{
public class SharedSlotType
{
[JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
public string Id { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("desc... | using Newtonsoft.Json;
namespace Alexa.NET.Management.SlotType
{
public class SharedSlotType
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("description",NullValueHandling = NullValueHandling... | mit | C# |
35744f703b28a50d88ac9f8e0cbec4bddda212f5 | test fix for PostreSQL | enginekit/linq2db,AK107/linq2db,lvaleriu/linq2db,jogibear9988/linq2db,MaceWindu/linq2db,LinqToDB4iSeries/linq2db,MaceWindu/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db,AK107/linq2db,sdanyliv/linq2db,lvaleriu/linq2db,jogibear9988/linq2db,inickvel/linq2db,linq2db/linq2db,genusP/linq2db,sdanyliv/linq2db,ronnyek/linq2d... | Tests/Linq/UserTests/Issue513Tests.cs | Tests/Linq/UserTests/Issue513Tests.cs | using LinqToDB;
using LinqToDB.Data;
using LinqToDB.Mapping;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tests.UserTests
{
[TestFixture]
public class Issue513Tests : TestBase
{
System.Threading.Semaphore _sem... | using LinqToDB;
using LinqToDB.Data;
using LinqToDB.Mapping;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tests.UserTests
{
[TestFixture]
public class Issue513Tests : TestBase
{
System.Threading.Semaphore _sem... | mit | C# |
ca06f2517dd6d9db42f9fb1db7831a32b1bdffdb | Remove unneccessary using | steven-r/Oberon0Compiler | oberon0/Definitions/BaseSelectorElement.cs | oberon0/Definitions/BaseSelectorElement.cs | #region copyright
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BaseSelectorElement.cs" company="Stephen Reindl">
// Copyright (c) Stephen Reindl. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in... | #region copyright
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BaseSelectorElement.cs" company="Stephen Reindl">
// Copyright (c) Stephen Reindl. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in... | mit | C# |
3b1e68c82b924f7a8d654161df73e8b5c85614a5 | Update Ques.cs | Xeeynamo/KingdomHearts | OpenKh.Kh2/Jiminy/Ques.cs | OpenKh.Kh2/Jiminy/Ques.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xe.BinaryMapper;
namespace OpenKh.Kh2.Jiminy
{
public class Ques
{
public const int MagicCode = 0x55514D4A;
public enum QuestStatus : ushort
{
Disabled = 0,
Draw = 1,
Cleared... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xe.BinaryMapper;
namespace OpenKh.Kh2.Jiminy
{
public class Ques
{
public const int MagicCode = 0x55514D4A;
[Data] public ushort World { get; set; }
[Data] public ushort CategoryText { get; set; }
[Data... | mit | C# |
3d600ab1bd3ba7af4be13a4f1c8844d447015a23 | change w.r.t Aspose.Slides for .NET 18.7 | aspose-slides/Aspose.Slides-for-.NET,asposeslides/Aspose_Slides_NET | Examples/CSharp/Charts/SettingFontProperties.cs | Examples/CSharp/Charts/SettingFontProperties.cs | using Aspose.Slides;
using Aspose.Slides.Charts;
using Aspose.Slides.Examples.CSharp;
using Aspose.Slides.Export;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharp.Charts
{
class SettingFontProperties
{
public static void Run()
{... | using Aspose.Slides;
using Aspose.Slides.Charts;
using Aspose.Slides.Examples.CSharp;
using Aspose.Slides.Export;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharp.Charts
{
class SettingFontProperties
{
public static void Run()
{... | mit | C# |
6caf4e38790298f24837a0764fe5bfa778118674 | Add xmldoc to `SkinnableInfo` | NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu,ppy/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu | osu.Game/Screens/Play/HUD/SkinnableInfo.cs | osu.Game/Screens/Play/HUD/SkinnableInfo.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Extensions;
using... | mit | C# |
daeabae36521df2c4f308627aadd4f605a8ed245 | Update TelemetrySeverityLevel.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/TelemetrySeverityLevel.cs | TIKSN.Core/Analytics/Telemetry/TelemetrySeverityLevel.cs | namespace TIKSN.Analytics.Telemetry
{
public enum TelemetrySeverityLevel
{
Verbose,
Information,
Warning,
Error,
Critical
}
}
| namespace TIKSN.Analytics.Telemetry
{
public enum TelemetrySeverityLevel
{
Verbose,
Information,
Warning,
Error,
Critical
}
} | mit | C# |
355caf41ae633e4b4ec88fac9e213079e0219e56 | Update local echo server to work with binary messages | Chelaris182/wslib | LocalServer/Program.cs | LocalServer/Program.cs | using System;
using System.IO;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using wslib;
namespace LocalServer
{
class Program
{
static void Main(string[] args)
{
TaskScheduler.UnobservedTaskException += LogUnobservedTaskException;
var listen... | using System;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using wslib;
using wslib.Protocol;
namespace LocalServer
{
class Program
{
static void Main(string[] args)
{
TaskScheduler.UnobservedTaskException += LogUnobser... | mit | C# |
d7f934b35d97e2bc5e9ac352c5b918ea4b4ce02c | Add files via upload | bugfi5h/Alexa-Smart-Home | Response/Payloads/HealthCheckResponsePayload.cs | Response/Payloads/HealthCheckResponsePayload.cs | using Newtonsoft.Json;
namespace RKon.Alexa.NET.Response
{
/// <summary>
/// Payload für eine HealthCheckResponse
/// </summary>
public class HealthCheckResponsePayload : ResponsePayload
{
[JsonRequired]
[JsonProperty("description")]
public string Description { g... | using Newtonsoft.Json;
namespace RKon.Alexa.NET.Response
{
/// <summary>
/// Payload für eine HealthCheckResponse
/// </summary>
public class HealthCheckResponsePayload : ResponsePayload
{
[JsonRequired]
[JsonProperty("description")]
private string Description { ... | mit | C# |
0ee2bd18c7b92bca0b7c1e614b3a1b817190d10a | Update cashtransactionlines, fix subaccount | ON-IT/Visma.Net | Visma.net/Models/CashTransactionDetails.cs | Visma.net/Models/CashTransactionDetails.cs | using Newtonsoft.Json;
using ONIT.VismaNetApi.Lib;
using ONIT.VismaNetApi.Models.Enums;
using System;
namespace ONIT.VismaNetApi.Models
{
public class CashTransactionDetails : DtoProviderBase
{
public CashTransactionDetails()
{
DtoFields.Add("operation", new NotDto<ApiOperation>(ApiOperation.Insert)... | using Newtonsoft.Json;
using ONIT.VismaNetApi.Lib;
using ONIT.VismaNetApi.Models.Enums;
using System;
namespace ONIT.VismaNetApi.Models
{
public class CashTransactionDetails : DtoProviderBase
{
public CashTransactionDetails()
{
DtoFields.Add("operation", new NotDto<ApiOperation>(ApiOperation.Insert)... | mit | C# |
35abdbeb69a5eb4e5bf2d1fc8c0c70c576ce424d | Comment in Signum.Upgrade | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Program.cs | Signum.Upgrade/Program.cs | using Signum.Utilities;
using System;
namespace Signum.Upgrade;
class Program
{
static void Main(string[] args)
{
Console.WriteLine();
Console.WriteLine(" ..:: Welcome to Signum Upgrade ::..");
Console.WriteLine();
SafeConsole.WriteLineColor(ConsoleColor.DarkGray... | using Signum.Utilities;
using System;
namespace Signum.Upgrade;
class Program
{
static void Main(string[] args)
{
Console.WriteLine();
Console.WriteLine(" ..:: Welcome to Signum Upgrade ::..");
Console.WriteLine();
SafeConsole.WriteLineColor(ConsoleColor.DarkGray... | mit | C# |
5f5ebf46464722151ecbe969fc4b8c5f795e9288 | Set Treenumerable version to 1.0.0 | jasonmcboyd/Treenumerable | Source/Treenumerable/Properties/AssemblyInfo.cs | Source/Treenumerable/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | mit | C# |
beeb19e65f83626fd4a2d9f7ab07f5cf9df209ca | Bump version again | alecgorge/adzerk-dot-net | StackExchange.Adzerk/Properties/AssemblyInfo.cs | StackExchange.Adzerk/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("St... | 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("St... | mit | C# |
e566215be43d258b513ec9864f0dde95d1eca434 | Update EdibleStack.cs | Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,krille90/unitystation,krille90/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,Necromunger/unitystation,... | UnityProject/Assets/Scripts/Food/EdibleStack.cs | UnityProject/Assets/Scripts/Food/EdibleStack.cs | /// <summary>
/// Edible stack function for foods that stack. Multiplies satiation and heal amount by number in stack before eating.
/// </summary>
public class EdibleStack : Edible
{
//Stacking component for the object.
private Stackable stckCmp;
private void Awake()
{
stckCmp = gameObject.GetComponent<Stac... | /// <summary>
/// Edible stack function for foods that stack. Multiplies satiation and heal amount by number in stack before eating.
/// </summary>
public class EdibleStack : Edible
{
//Stacking component for the object.
private Stackable stckCmp;
private void Awake()
{
stckCmp = gameObject.GetComponent<Stac... | agpl-3.0 | C# |
ee43a996cc5d59f6303c95a8a2e5436be580a091 | Update Tile.cs | thejonathanr/SudokuSolver | SudokuSolver_Try1/Tile.cs | SudokuSolver_Try1/Tile.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SudokuSolver_Try1 {
public class Tile {
public enum TileType {
Empty,
InProgress,
Solved
};
public int x;
public int y;
public int group;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SudokuSolver_Try1 {
public class Tile {
public enum TileType {
Empty,
InProgress,
Solved
};
public int x;
public int y;
public string value = "... | agpl-3.0 | C# |
bf6bd649aaa116ebc98cff568ff51e1abfebc60f | Update Tests/AssemblyLocation.cs | SimonCropp/CaptureSnippets | Tests/AssemblyLocation.cs | Tests/AssemblyLocation.cs | using System.IO;
public static class AssemblyLocation
{
static AssemblyLocation()
{
var assembly = typeof(AssemblyLocation).Assembly;
var path = assembly.CodeBase
.Replace("file:///", "")
.Replace("file://", "")
.Replace(@"file:\\\", "")
.Replace... | public static class AssemblyLocation
{
static AssemblyLocation()
{
CurrentDirectory = System.AppContext.BaseDirectory;
}
public static string CurrentDirectory;
} | mit | C# |
ac6322715814609b6b6feff9104e3f72ad93b068 | Fix for #55 | pombredanne/lessmsi,activescott/lessmsi,activescott/lessmsi,pombredanne/lessmsi,activescott/lessmsi | src/LessMsi.Cli/ExtractCommand.cs | src/LessMsi.Cli/ExtractCommand.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using NDesk.Options;
namespace LessMsi.Cli
{
internal class ExtractCommand : LessMsiCommand
{
public override void Run(List<string> allArgs)
{
var args = allArgs.Skip(1).ToList();
// "x msi_name [path_to_extract\] [file_names]+
if ... | using System.Collections.Generic;
using System.Linq;
using NDesk.Options;
namespace LessMsi.Cli
{
internal class ExtractCommand : LessMsiCommand
{
public override void Run(List<string> allArgs)
{
var args = allArgs.Skip(1).ToList();
// "x msi_name [path_to_extract\] [file_names]+
if (args.Count < 1)
... | mit | C# |
f06de650ee7a3b37478c1ed2632391cb99bdad2f | Update ZUGFeRDVersion.cs | stephanstapel/ZUGFeRD-csharp,stephanstapel/ZUGFeRD-csharp | ZUGFeRD/ZUGFeRDVersion.cs | ZUGFeRD/ZUGFeRDVersion.cs | /*
* 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 (the
* "License"); you ... | using System;
using System.Collections.Generic;
using System.Text;
namespace s2industries.ZUGFeRD
{
public enum ZUGFeRDVersion
{
Version1 = 100,
Version20 = 200,
Version21 = 210
}
}
| apache-2.0 | C# |
5b6f9bafe46b65f7a5746001c3266055c7d95a2e | update Base controller | csyntax/BlogSystem | BlogSystem.Web/Controllers/BaseController.cs | BlogSystem.Web/Controllers/BaseController.cs | namespace BlogSystem.Web.Controllers
{
using System;
using System.Linq;
using System.Web.Mvc;
using System.Web.Routing;
using BlogSystem.Data.Models;
using BlogSystem.Data.UnitOfWork;
using Microsoft.AspNet.Identity;
public class BaseController : Controller
{
protected Ba... | namespace BlogSystem.Web.Controllers
{
using System;
using System.Linq;
using System.Web.Mvc;
using System.Web.Routing;
using BlogSystem.Data.Models;
using BlogSystem.Data.UnitOfWork;
using Microsoft.AspNet.Identity;
public class BaseController : Controller
{
protected Ba... | mit | C# |
49dd8d67de4d118698ebfd98808e93e674ebed67 | Fix culture-sensitive test. | nodatime/nodatime,jskeet/nodatime,jskeet/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,nodatime/nodatime,zaccharles/nodatime | src/NodaTime.Demo/LocalTimeDemo.cs | src/NodaTime.Demo/LocalTimeDemo.cs | #region Copyright and license information
// Copyright 2001-2009 Stephen Colebourne
// Copyright 2009-2011 Jon Skeet
//
// 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
//
// h... | #region Copyright and license information
// Copyright 2001-2009 Stephen Colebourne
// Copyright 2009-2011 Jon Skeet
//
// 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
//
// h... | apache-2.0 | C# |
18313ee25b5614fe64b398a5badb70e935b549f8 | Rename a unit test. | ZenLulz/Matrix.NET | tests/MatrixUnitTests/InstantiationTests.cs | tests/MatrixUnitTests/InstantiationTests.cs | using System;
using Binarysharp.Maths;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Binarysharp.Tests
{
[TestClass]
public class InstantiationTests
{
[TestMethod]
public void CreateMatrixWithIntegerArrays()
{
// Arrange
Matrix<int> matrix = ... | using System;
using Binarysharp.Maths;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Binarysharp.Tests
{
[TestClass]
public class InstantiationTests
{
[TestMethod]
public void CreateMatrixWithIntegerArrays()
{
// Arrange
Matrix<int> matrix = ... | mit | C# |
adacda1a6b9ba18021d0cc345023b65ea0394d00 | Add conditional public methods for unit testing the internal methods | sbennett1990/signify.cs | SignifyCS/Verify.cs | SignifyCS/Verify.cs | /*
* Copyright (c) 2017 Scott Bennett <scottb@fastmail.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "... | /*
* Copyright (c) 2017 Scott Bennett <scottb@fastmail.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "... | isc | C# |
cafb24f72c828e5a37794a370c258dcaef8aff99 | Add flow tree body to the function | coffeecup-winner/unwind-mc,coffeecup-winner/unwind-mc,coffeecup-winner/unwind-mc,coffeecup-winner/unwind-mc,coffeecup-winner/unwind-mc | src/UnwindMC/Analysis/Function.cs | src/UnwindMC/Analysis/Function.cs | using System;
using System.Collections.Generic;
using UnwindMC.Analysis.Flow;
using UnwindMC.Analysis.IL;
namespace UnwindMC.Analysis
{
public class Function
{
private List<IBlock> _blocks;
public Function(ulong address)
{
Address = address;
Status = FunctionSt... | namespace UnwindMC.Analysis
{
public class Function
{
public Function(ulong address)
{
Address = address;
Status = FunctionStatus.Created;
}
public ulong Address { get; }
public FunctionStatus Status { get; set; }
}
public enum FunctionS... | mit | C# |
339549a3b02870af90550362e490dbe62c077c80 | set sortable false for fields with NotMapped attribute | rolembergfilho/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,dfaruque/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,volkanceylan... | Serenity.Data.Entity/PropertyGrid/BasicPropertyProcessor/BasicPropertyProcessor.Sorting.cs | Serenity.Data.Entity/PropertyGrid/BasicPropertyProcessor/BasicPropertyProcessor.Sorting.cs | using Serenity.ComponentModel;
using Serenity.Data;
namespace Serenity.PropertyGrid
{
public partial class BasicPropertyProcessor : PropertyProcessor
{
private void SetSorting(IPropertySource source, PropertyItem item)
{
var sortOrderAttr = source.GetAttribute<SortOrderAtt... | using Serenity.ComponentModel;
namespace Serenity.PropertyGrid
{
public partial class BasicPropertyProcessor : PropertyProcessor
{
private void SetSorting(IPropertySource source, PropertyItem item)
{
var sortOrderAttr = source.GetAttribute<SortOrderAttribute>();
... | mit | C# |
1be22e5b1a67c6542c125a97ce85703766e69099 | Make Args a static class | wjkohnen/antlr4,supriyantomaftuh/antlr4,joshids/antlr4,cooperra/antlr4,krzkaczor/antlr4,joshids/antlr4,antlr/antlr4,supriyantomaftuh/antlr4,Pursuit92/antlr4,chienjchienj/antlr4,cooperra/antlr4,Distrotech/antlr4,ericvergnaud/antlr4,chandler14362/antlr4,krzkaczor/antlr4,joshids/antlr4,jvanzyl/antlr4,chandler14362/antlr4,... | runtime/CSharp/Antlr4.Runtime/Misc/Args.cs | runtime/CSharp/Antlr4.Runtime/Misc/Args.cs | /*
* [The "BSD license"]
* Copyright (c) 2013 Terence Parr
* Copyright (c) 2013 Sam Harwell
* 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... | /*
* [The "BSD license"]
* Copyright (c) 2013 Terence Parr
* Copyright (c) 2013 Sam Harwell
* 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... | bsd-3-clause | C# |
6535aaf0b649c4b4fd038250436fa989b66bfc7e | clear the test... | Pondidum/Conifer,Pondidum/Conifer | Tests/Scratchpad.cs | Tests/Scratchpad.cs | using System.Collections.Generic;
using System.Web.Http;
using RestRouter;
using RestRouter.Conventions;
using Shouldly;
using Xunit;
namespace Tests
{
public class Scratchpad
{
[Fact]
public void When_testing_something()
{
}
}
} | using System.Collections.Generic;
using System.Web.Http;
using RestRouter;
using RestRouter.Conventions;
using Shouldly;
using Xunit;
namespace Tests
{
public class Scratchpad
{
[Fact]
public void When_testing_something()
{
//var conventions = new List<IRouteConvetion>
//{
// new ControllerNameRouteC... | lgpl-2.1 | C# |
427f7cb407bda07f0ddad721e4dba4f40653558e | Change example to contain default values | tparviainen/oscilloscope | SCPI/Display/DISPLAY_GRID.cs | SCPI/Display/DISPLAY_GRID.cs | using System;
using System.Text;
namespace SCPI.Display
{
public class DISPLAY_GRID : ICommand
{
public string Description => "Set or query the grid type of screen display.";
public string Grid { get; private set; }
private readonly string[] gridRange = new string[] { "FULL", "HALF",... | using System;
using System.Text;
namespace SCPI.Display
{
public class DISPLAY_GRID : ICommand
{
public string Description => "Set or query the grid type of screen display.";
public string Grid { get; private set; }
private readonly string[] gridRange = new string[] { "FULL", "HALF",... | mit | C# |
3d49d1bc47f76fd81a8fc7f0eb29463d954238a2 | test fix | Teleopti/Stardust | Manager/ManagerTest/Database/DatabaseTest.cs | Manager/ManagerTest/Database/DatabaseTest.cs | using NUnit.Framework;
namespace ManagerTest.Database
{
public class DatabaseTest
{
private DatabaseHelper _databaseHelper;
[TestFixtureSetUp]
public void BaseTestTestFixtureSetup()
{
_databaseHelper = new DatabaseHelper();
_databaseHelper.Create();
}
[SetUp]
public void BasteTestSetup()
{
... | using NUnit.Framework;
namespace ManagerTest.Database
{
public class DatabaseTest
{
[SetUp]
public void BaseTestSetup()
{
var databaseHelper = new DatabaseHelper();
databaseHelper.Create();
}
}
} | mit | C# |
66c51c031c4476e026d5d9752a0673ff6c9fae1f | Fix a small mistake. | Grabacr07/MetroTrilithon | src/MetroTrilithon.Desktop/UI/Controls/NavigationHelper.cs | src/MetroTrilithon.Desktop/UI/Controls/NavigationHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Windows;
using System.Windows.Navigation;
using Microsoft.Xaml.Behaviors;
using Wpf.Ui.Common;
using Wpf.Ui.Controls;
using Wpf.Ui.Controls.Navigation;
namespace MetroTrilithon.UI.Controls;
public class Naviga... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Windows;
using System.Windows.Navigation;
using Microsoft.Xaml.Behaviors;
using Wpf.Ui.Common;
using Wpf.Ui.Controls;
using Wpf.Ui.Controls.Navigation;
namespace MetroTrilithon.UI.Controls;
public class Naviga... | mit | C# |
e5ca378a27f677fb1e6c8f9edd08a6b2e972d5c3 | Add EurekaServiceInstance.InstanceId (#55) | SteelToeOSS/Discovery,SteelToeOSS/Discovery,SteelToeOSS/Discovery | src/Steeltoe.Discovery.EurekaBase/EurekaServiceInstance.cs | src/Steeltoe.Discovery.EurekaBase/EurekaServiceInstance.cs | // Copyright 2017 the original author or authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... | // Copyright 2017 the original author or authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... | apache-2.0 | C# |
f720b23bc413a77e98e09781d389d52c38214ef7 | Fix BCC for EOI emails | croquet-australia/api.croquet-australia.com.au | source/CroquetAustralia.QueueProcessor/Email/EmailGenerators/U21WorldsEOIEmailGenerator.cs | source/CroquetAustralia.QueueProcessor/Email/EmailGenerators/U21WorldsEOIEmailGenerator.cs | using System.Linq;
using CroquetAustralia.Domain.Features.TournamentEntry.Events;
namespace CroquetAustralia.QueueProcessor.Email.EmailGenerators
{
public class U21WorldsEOIEmailGenerator : BaseEmailGenerator
{
/* todo: remove hard coding of email addresses */
private static readonly EmailAddr... | using CroquetAustralia.Domain.Features.TournamentEntry.Events;
namespace CroquetAustralia.QueueProcessor.Email.EmailGenerators
{
public class U21WorldsEOIEmailGenerator : BaseEmailGenerator
{
/* todo: remove hard coding of email addresses */
private static readonly EmailAddress U21Coordinator ... | mit | C# |
d854f712b57fab8bcc506525a15c5d385f75626a | Remove performance optimization. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Models/Label.cs | WalletWasabi/Models/Label.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WalletWasabi.Models
{
public class Label : IEquatable<Label>
{
public static Label Empty { get; } = new Label();
public static char[] Separators { get; } = new[] { ',', ':' };
public IEnume... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WalletWasabi.Models
{
public class Label : IEquatable<Label>
{
public static Label Empty { get; } = new Label();
public static char[] Separators { get; } = new[] { ',', ':' };
public IEnume... | mit | C# |
9f34ec90c9d841558e03acdb17fdbe25ee1383af | remove useless code | DanGould/NTumbleBit,NTumbleBit/NTumbleBit | NTumbleBit/Utils.cs | NTumbleBit/Utils.cs | using NBitcoin;
using NTumbleBit.BouncyCastle.Crypto.Engines;
using NTumbleBit.BouncyCastle.Crypto.Parameters;
using NTumbleBit.BouncyCastle.Math;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NTumbleBit
{
internal static class Utils
{
... | using NBitcoin;
using NTumbleBit.BouncyCastle.Crypto.Engines;
using NTumbleBit.BouncyCastle.Crypto.Parameters;
using NTumbleBit.BouncyCastle.Math;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NTumbleBit
{
internal static class Utils
{
... | mit | C# |
1398a406e451caac124374cf7f95eb5a7a19ea2e | Use GetDigestSize() | CryptoManiac/NovacoinLibrary | Novacoin/Hash160.cs | Novacoin/Hash160.cs | /**
* Novacoin classes library
* Copyright (C) 2015 Alex D. (balthazar.ad@gmail.com)
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (a... | /**
* Novacoin classes library
* Copyright (C) 2015 Alex D. (balthazar.ad@gmail.com)
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (a... | agpl-3.0 | C# |
72eb082f916b849ad58041ecf27fa89e6da2251b | Use .Equals | UselessToucan/osu,UselessToucan/osu,Nabile-Rahmani/osu,naoey/osu,naoey/osu,Drezi126/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,ZLima12/osu,NeoAdonis/osu,DrabWeb/osu,johnneijzen/osu,DrabWeb/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,johnneijzen/osu,NeoAdonis/osu,2yangk23/osu,EVAST9919/osu... | osu.Game/Overlays/KeyConfiguration/KeyBindingsSection.cs | osu.Game/Overlays/KeyConfiguration/KeyBindingsSection.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Input.Bindings;
using osu.Game.Input;
usi... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Input.Bindings;
using osu.Game.Input;
usi... | mit | C# |
e73aca8f6ed9dab736c21c6fcc5f99ee2b90f6c4 | Remove duplicate code. | nbarbettini/corefx,axelheer/corefx,seanshpark/corefx,krk/corefx,seanshpark/corefx,rubo/corefx,JosephTremoulet/corefx,DnlHarvey/corefx,Ermiar/corefx,alexperovich/corefx,krk/corefx,shimingsg/corefx,Jiayili1/corefx,ptoonen/corefx,gkhanna79/corefx,ravimeda/corefx,the-dwyer/corefx,parjong/corefx,mazong1123/corefx,ptoonen/co... | src/System.Runtime.InteropServices/src/System/Runtime/InteropServices/RuntimeEnvironment.cs | src/System.Runtime.InteropServices/src/System/Runtime/InteropServices/RuntimeEnvironment.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.IO;
using System.Reflection;
namespace System.Runtime.InteropServices
{
public stati... | // 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.IO;
using System.Reflection;
namespace System.Runtime.InteropServices
{
public stati... | mit | C# |
d4cbd2d2f1eda571547d020d8a1dc98759f866e2 | Update AddressDialog.cs | Esri/workflowmanager-samples,Esri/workflowmanager-samples,Esri/workflowmanager-samples | CustomAOICommand/CSharp/AddressDialog.cs | CustomAOICommand/CSharp/AddressDialog.cs | /*Copyright 2015 Esri
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed unde... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace JTXSamples
{
public partial class AddressDialog : Form
{
public AddressDialog()
{
InitializeComponent();
... | apache-2.0 | C# |
1b7f603cf68ea1fd28f16e339fbf8af4d9a8fbcd | Add edge and add edge impl | DasAllFolks/SharpGraphs | Graph/AbstractGraph.cs | Graph/AbstractGraph.cs | using System;
using System.Collections.Generic;
namespace Graph
{
/// <summary>
/// Implements shared functionality among both
/// see cref="SimpleGraph{V, E, W}"/>s and
/// <see cref="MultiGraph{V, E, W}"/>s.
/// </summary>
/// <typeparam name="V">
/// The type used to create vertex (nod... | using System;
using System.Collections.Generic;
namespace Graph
{
/// <summary>
/// Implements shared functionality among both
/// see cref="SimpleGraph{V, E, W}"/>s and
/// <see cref="MultiGraph{V, E, W}"/>s.
/// </summary>
/// <typeparam name="V">
/// The type used to create vertex (nod... | apache-2.0 | C# |
4bff85e6ba0f6f56d995f7e0ef3016994a920478 | Fix keys on the server app | ermau/Tempest.Social | Desktop/Tempest.Social.Server/Program.cs | Desktop/Tempest.Social.Server/Program.cs | using System;
using System.IO;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using Tempest.Providers.Network;
namespace Tempest.Social.Server
{
class Program
{
private static readonly PublicKeyIdentityProvider IdentityProvider = new PublicKeyIdentityProvider();
... | using System;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using Tempest.Providers.Network;
namespace Tempest.Social.Server
{
class Program
{
private static readonly PublicKeyIdentityProvider IdentityProvider = new PublicKeyIdentityProvider();
static void Main (string[] args)
... | mit | C# |
11f4dc0d10baa1c421b10fc2f6ffd8d8a7f2ae21 | Add a missing null-conditional in CommandContext#ctor | LassieME/Discord.Net,RogueException/Discord.Net,Confruggy/Discord.Net,AntiTcb/Discord.Net | src/Discord.Net.Commands/CommandContext.cs | src/Discord.Net.Commands/CommandContext.cs | namespace Discord.Commands
{
public struct CommandContext
{
public IDiscordClient Client { get; }
public IGuild Guild { get; }
public IMessageChannel Channel { get; }
public IUser User { get; }
public IUserMessage Message { get; }
public bool IsPrivate => Channe... | namespace Discord.Commands
{
public struct CommandContext
{
public IDiscordClient Client { get; }
public IGuild Guild { get; }
public IMessageChannel Channel { get; }
public IUser User { get; }
public IUserMessage Message { get; }
public bool IsPrivate => Channe... | mit | C# |
230f40540cb21abec4d0ba3f6206a3f38ff8437a | fix typo | AdaptiveConsulting/ReactiveTrader,LeeCampbell/ReactiveTrader,abbasmhd/ReactiveTrader,AdaptiveConsulting/ReactiveTrader,rikoe/ReactiveTrader,mrClapham/ReactiveTrader,LeeCampbell/ReactiveTrader,singhdev/ReactiveTrader,akrisiun/ReactiveTrader,singhdev/ReactiveTrader,abbasmhd/ReactiveTrader,HalidCisse/ReactiveTrader,jorik0... | src/Adaptive.ReactiveTrader.Client.WindowsStoreApp/App.xaml.cs | src/Adaptive.ReactiveTrader.Client.WindowsStoreApp/App.xaml.cs | using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Adaptive.ReactiveTrader.Client.Configuration;
using Adaptive.ReactiveTrader.Client.Domain;
using Adaptive.ReactiveTrader.Client.UI.Shell;
using Adaptive.ReactiveTrader.Shared.Logging;
using Autofac;
namespace Adapt... | using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Adaptive.ReactiveTrader.Client.Configuration;
using Adaptive.ReactiveTrader.Client.Domain;
using Adaptive.ReactiveTrader.Client.UI.Shell;
using Adaptive.ReactiveTrader.Shared.Logging;
using Autofac;
namespace Adapt... | apache-2.0 | C# |
291d3fe4e49894a7850a98d0e4a823398e741591 | Update OpeningFilesThroughStream.cs | asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-sha... | Examples/CSharp/Files/Handling/OpeningFilesThroughStream.cs | Examples/CSharp/Files/Handling/OpeningFilesThroughStream.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class OpeningFilesThroughStream
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class OpeningFilesThroughStream
{
public static void Main(string[] args)
{
//Exstart:1
// The path to the documents directory.
string dataDir = Aspose.... | mit | C# |
f96bab6e8ab38f72e9829a4ed91e3a7cba3766c2 | Fix one final snippet | nodatime/nodatime,malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime,malcolmr/nodatime,malcolmr/nodatime,jskeet/nodatime,BenJenkinson/nodatime,BenJenkinson/nodatime,jskeet/nodatime | src/NodaTime.Demo/YearMonthDemo.cs | src/NodaTime.Demo/YearMonthDemo.cs | // Copyright 2019 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using NUnit.Framework;
using NodaTime.Calendars;
namespace NodaTime.Demo
{
public class YearMonthDemo
{
[Test]
public void Const... | // Copyright 2019 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using NUnit.Framework;
using NodaTime.Calendars;
namespace NodaTime.Demo
{
public class YearMonthDemo
{
[Test]
public void Const... | apache-2.0 | C# |
35a9ad7de7ae6532ca5c482c69788202db936cd6 | Include text in message | amattias/Telegram-Bot-API-Client | src/TelegramBotAPIClient/Models/Message.cs | src/TelegramBotAPIClient/Models/Message.cs | using Newtonsoft.Json;
using System;
using TelegramBotAPIClient.Converters;
namespace TelegramBotAPIClient.Models
{
/// <summary>
/// This object represents a message.
/// </summary>
[JsonObject(MemberSerialization.OptIn)]
public class Message
{
/// <summary>
/// Unique message... | using Newtonsoft.Json;
using System;
using TelegramBotAPIClient.Converters;
namespace TelegramBotAPIClient.Models
{
/// <summary>
/// This object represents a message.
/// </summary>
[JsonObject(MemberSerialization.OptIn)]
public class Message
{
/// <summary>
/// Unique message... | mit | C# |
69bf9caa7f922e0902dfd232a18a55ab81f555ba | Update ArgbColorTypeConverter.cs | wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Serializer.Xaml/Converters/ArgbColorTypeConverter.cs | src/Serializer.Xaml/Converters/ArgbColorTypeConverter.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.Globalization;
#if NETSTANDARD
using System.ComponentModel;
#else
using Portable.Xaml.ComponentModel;
#endif
using Core2D.Style;
namesp... | // 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 Core2D.Style;
using Portable.Xaml.ComponentModel;
using System;
using System.ComponentModel;
using System.Globalization;
namespace Serializer.Xaml.Converter... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.