commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
1ad6ffe90003a7af33cc92c4d695f34ac5b84593 | SmartCam/Controllers/SmartCamController.cs | SmartCam/Controllers/SmartCamController.cs | using System.IO;
using System.Web;
using System.Web.Mvc;
using System.Net.Mail;
namespace SmartCam.Controllers
{
public class SmartCamController : Controller
{
private static byte[] currentImage = new byte[0];
[HttpPost]
public string PostImage(HttpPostedFileBase file)
... | using System.IO;
using System.Web;
using System.Web.Mvc;
using System.Net.Mail;
namespace SmartCam.Controllers
{
public class SmartCamController : Controller
{
private static byte[] currentImage = new byte[0];
[HttpPost]
public string PostImage(HttpPostedFileBase file)
... | Add an endpoint for the view page | Add an endpoint for the view page | C# | mit | Ranger1230/IoTClass-SmartCam,Ranger1230/IoTClass-SmartCam |
eba099fc81f41b2e670a800ad2d009047fbac7e2 | XmlParserWpf/XmlParserWpf/FilesViewModel.cs | XmlParserWpf/XmlParserWpf/FilesViewModel.cs | using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
namespace XmlParserWpf
{
public class FilesViewModel: ObservableCollection<FilesListItem>
{
public const int NoneSelection = -1;
private int _selectedIndex = NoneSelection;
public int SelectedIndex
... | using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
namespace XmlParserWpf
{
public class FilesViewModel: ObservableCollection<FilesListItem>
{
public const int NoneSelection = -1;
private int _selectedIndex = NoneSelection;
public int SelectedIndex
... | Fix IndexOutOfBounds exception on application closing | Fix IndexOutOfBounds exception on application closing
* with empty files list when SelectedIndex = 0 SelectedFile = ?
* now SelectedFile = null
| C# | mit | SVss/SPP_3 |
7c7d536ea45d6175e9993545ef3176cbd7f4413a | src/backend/SO115App.Persistence.MongoDB/GestioneTrasferimentiChiamate/CodiciChiamate/GetCodiciChiamate.cs | src/backend/SO115App.Persistence.MongoDB/GestioneTrasferimentiChiamate/CodiciChiamate/GetCodiciChiamate.cs | using MongoDB.Driver;
using MongoDB.Driver.Linq;
using Persistence.MongoDB;
using SO115App.Models.Servizi.Infrastruttura.GestioneTrasferimentiChiamate.CodiciChiamate;
using System.Collections.Generic;
namespace SO115App.Persistence.MongoDB.GestioneTrasferimentiChiamate.CodiciChiamate
{
public class GetCodiciChiam... | using MongoDB.Driver;
using MongoDB.Driver.Linq;
using Persistence.MongoDB;
using SO115App.API.Models.Classi.Organigramma;
using SO115App.API.Models.Classi.Soccorso;
using SO115App.Models.Servizi.Infrastruttura.GestioneTrasferimentiChiamate.CodiciChiamate;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.Se... | Fix gestione codici chiamata in Trasferimento Chiamata | Fix gestione codici chiamata in Trasferimento Chiamata
| C# | agpl-3.0 | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf |
ffde389641a15f0b0faceb8e1e900fa186509bda | osu.Game/Beatmaps/Formats/LegacyDifficultyCalculatorBeatmapDecoder.cs | osu.Game/Beatmaps/Formats/LegacyDifficultyCalculatorBeatmapDecoder.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.Linq;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Beatmaps.Formats
{
/// <summary>
/// A <see cref="LegacyBeatmapDecoder"/> built for ... | // 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.Linq;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Beatmaps.Formats
{
/// <summary>
/// A <see cref="LegacyBeatmapDecoder"/> built for ... | Add difficulty calculator beatmap decoder fallback | Add difficulty calculator beatmap decoder fallback
| C# | mit | NeoAdonis/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu-new,2yangk23/osu,ppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,2yangk23/osu,ppy/osu,EVAST9919/osu,EVAST9919/osu,ZLima12/osu,ZLima12/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,johnn... |
b250ea3aada297a1c2ee8f8a3c00ccaaee36e500 | Tile.cs | Tile.cs | using System;
using HexWorld.Enums;
namespace HexWorld
{
public class Tile
{
public TileTypes Type { get; set; }
public bool IsWater { get; set; }
public string Printable { get; set; }
public Tile(TileTypes type)
{
ChangeTile(type);
}
publi... | using System;
using HexWorld.Enums;
namespace HexWorld
{
public class Tile
{
public TileTypes Type { get; set; }
public bool IsWater { get; set; }
public string Printable { get; set; }
public Tile(TileTypes type)
{
ChangeTile(type);
}
publi... | Test data for last 3 tile types. | Test data for last 3 tile types.
| C# | mit | DmitriiP/HexWorld |
87e88f9fffca78c8a99410dc85174ba5c1c1b49f | testproj/UnitTest1.cs | testproj/UnitTest1.cs | namespace testproj
{
using System;
using JetBrains.dotMemoryUnit;
using NUnit.Framework;
[TestFixture]
public class UnitTest1
{
[Test]
public void TestMethod1()
{
dotMemory.Check(
memory =>
{
var str1 = "... | namespace testproj
{
using System;
using System.Collections.Generic;
using JetBrains.dotMemoryUnit;
using NUnit.Framework;
[TestFixture]
public class UnitTest1
{
[Test]
public void TestMethod1()
{
var strs = new List<string>();
var memoryCh... | Add broken test to testproj | Add broken test to testproj
| C# | apache-2.0 | JetBrains/teamcity-dotmemory,JetBrains/teamcity-dotmemory |
358b8cc2ddcb8829b61ff8b0c7c5419d7178b7b9 | Assets/Scripts/Player/PlayerState.cs | Assets/Scripts/Player/PlayerState.cs | using UnityEngine;
using UnityEngine.Networking;
public class PlayerState : NetworkBehaviour {
[SyncVar]
string fakingTheory;
[SyncVar]
int score;
void Start()
{
fakingTheory = null;
score = 0;
}
[Command]
public void CmdSetFakingState(string newFakingTheory)
... | using System;
using UnityEngine;
using UnityEngine.Networking;
public class PlayerState : NetworkBehaviour {
[SyncVar]
string fakingTheory;
[SyncVar]
int score;
void Start()
{
fakingTheory = null;
score = 0;
}
[Command]
public void CmdSetFakingState(string new... | Fix the player score counter (IsFaking always returned true) | Fix the player score counter (IsFaking always returned true)
| C# | mit | Nagasaki45/UnsocialVR,Nagasaki45/UnsocialVR |
f5e918707e4b12ac6ca1838d0d8e6e60801abc42 | Gitter/Gitter/Gitter.Shared/Services/Concrete/BackgroundTaskService.cs | Gitter/Gitter/Gitter.Shared/Services/Concrete/BackgroundTaskService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Windows.ApplicationModel.Background;
using Gitter.Services.Abstract;
namespace Gitter.Services.Concrete
{
public class BackgroundTaskService : IBackgroundTaskService
{
public Dictionary<string, strin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Windows.ApplicationModel.Background;
using Gitter.Services.Abstract;
namespace Gitter.Services.Concrete
{
public class BackgroundTaskService : IBackgroundTaskService
{
public Dictionary<string, strin... | Add conditions to background tasks | Add conditions to background tasks
| C# | apache-2.0 | Odonno/Modern-Gitter |
1063474b0e5f6f00a217aa3b26c3536589c49c47 | Mindscape.Raygun4Net.Xamarin.iOS/RaygunSettings.cs | Mindscape.Raygun4Net.Xamarin.iOS/RaygunSettings.cs | using System;
namespace Mindscape.Raygun4Net
{
public class RaygunSettings
{
private static RaygunSettings settings;
private const string DefaultApiEndPoint = "https://api.raygun.io/entries";
private const string DefaultPulseEndPoint = "https://api.raygun.io/events";
public static RaygunSettings ... | using System;
namespace Mindscape.Raygun4Net
{
public class RaygunSettings
{
private static RaygunSettings settings;
private const string DefaultApiEndPoint = "https://api.raygun.io/entries";
private const string DefaultPulseEndPoint = "https://api.raygun.io/events";
public static RaygunSettings ... | Add option to mark exceptions as observed | Add option to mark exceptions as observed
| C# | mit | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net |
2e96740ac27e3e36155920eb4c0bb3aa15e46d21 | Gui/RootedObjectEventHandler.cs | Gui/RootedObjectEventHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MatterHackers.Agg.UI
{
public class RootedObjectEventHandler
{
EventHandler InternalEvent;
public void RegisterEvent(EventHandler functionToCallOnEvent, ref EventHandler functionThatWillBeCalledToUn... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MatterHackers.Agg.UI
{
public class RootedObjectEventHandler
{
#if DEBUG
private event EventHandler InternalEventForDebug;
private List<EventHandler> DebugEventDelegates = new List<EventHandler>();
... | Put in some debugging code for looking at what functions have been added to the rooted event handler. | Put in some debugging code for looking at what functions have been added to the rooted event handler.
| C# | bsd-2-clause | MatterHackers/agg-sharp,LayoutFarm/PixelFarm,mmoening/agg-sharp,mmoening/agg-sharp,jlewin/agg-sharp,mmoening/agg-sharp,larsbrubaker/agg-sharp |
11bd8791bf8e60b2c8a2b942eb2b31972828643b | GrinerTest/PolygonClip/insert.cs | GrinerTest/PolygonClip/insert.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GrienerTest
{
public partial class PolygonClip
{
#if false
void insert(node *ins, node *first, node *last)
{
node *aux=first;
while(aux != last &... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GrienerTest
{
public partial class PolygonClip
{
#if false
void insert(node *ins, node *first, node *last)
{
node *aux=first;
while(aux != last &... | Add in check for null pointers. | Add in check for null pointers. | C# | unlicense | johnmott59/PolygonClippingInCSharp |
163a9d74f7f75a330335b06e0b5f0246a02877a5 | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | Add nick wolf contact info. | Add nick wolf contact info.
| C# | mit | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox |
db75332cde309ad10a40aa1136db0b7120e2b6de | JustEnoughVi/ChangeInnerBlock.cs | JustEnoughVi/ChangeInnerBlock.cs | using System;
using Mono.TextEditor;
using ICSharpCode.NRefactory;
namespace JustEnoughVi
{
public class ChangeInnerBlock : ChangeCommand
{
public ChangeInnerBlock(TextEditorData editor, char openingChar, char closingChar)
: base(editor, TextObject.InnerBlock, openingChar, closingChar)
... | using System;
using Mono.TextEditor;
using ICSharpCode.NRefactory.Utils;
using ICSharpCode.NRefactory;
namespace JustEnoughVi
{
public class ChangeInnerBlock : ChangeCommand
{
public ChangeInnerBlock(TextEditorData editor, char openingChar, char closingChar)
: base(editor, TextObject.Inne... | Fix indentation when changing inside multiline block | Fix indentation when changing inside multiline block
| C# | mit | hifi/monodevelop-justenoughvi |
dd033df831319768a5cc6993f7e0ad1886f7de18 | DynaShape/Properties/AssemblyInfo.cs | DynaShape/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DynaShape")]
[assembly: AssemblyDescription("Open-source Dynamo plugin for constraint-based form finding, optimization and physics simulation")]
[assembly: AssemblyConfiguration("")]
[assembl... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DynaShape")]
[assembly: AssemblyDescription("Open-source Dynamo plugin for constraint-based form finding, optimization and physics simulation")]
[assembly: AssemblyConfiguration("")]
[assembl... | Set AssemblyVersion number correctly to 0.3.2 | Set AssemblyVersion number correctly to 0.3.2
| C# | mit | LongNguyenP/DynaShape |
90fb3e781983ae8d0caa14dc21bb0fb32df5755b | EvilDICOM.Core/EvilDICOM.Core/IO/Writing/DICOMBinaryWriter.cs | EvilDICOM.Core/EvilDICOM.Core/IO/Writing/DICOMBinaryWriter.cs | using System;
using System.IO;
using System.Text;
namespace EvilDICOM.Core.IO.Writing
{
public class DICOMBinaryWriter : IDisposable
{
private readonly BinaryWriter _writer;
/// <summary>
/// Constructs a new writer from a file path.
/// </summary>
///... | using System;
using System.IO;
using System.Text;
namespace EvilDICOM.Core.IO.Writing
{
public class DICOMBinaryWriter : IDisposable
{
private readonly BinaryWriter _writer;
/// <summary>
/// Constructs a new writer from a file path.
/// </summary>
///... | Use portable ToCharArray overload yielding equivalent result | Use portable ToCharArray overload yielding equivalent result
| C# | mit | cureos/Evil-DICOM,SuneBuur/Evil-DICOM |
f225445b69b515d0da07cd15dd313406f3d02990 | build/scripts/utilities.cake | build/scripts/utilities.cake | #tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Yaml"
public class ContextInfo
{
public string NugetVersion { get; set; }
public string AssemblyVersion { get; set; }
public GitVersion Git { get; set; }
public string BuildVersion
{
get { return NugetVersion + "-" + Git.Sha; }
... | #tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Yaml"
public class ContextInfo
{
public string NugetVersion { get; set; }
public string AssemblyVersion { get; set; }
public GitVersion Git { get; set; }
public string BuildVersion
{
get { return NugetVersion + "-" + Git.Sha; }
... | Allow to run build even if git repo informations are not available | Allow to run build even if git repo informations are not available
| C# | mit | Abc-Arbitrage/Zebus,biarne-a/Zebus |
217c5774a1c148c66489346fdda63de87665a7ce | src/ColorTools/Program.cs | src/ColorTools/Program.cs | using System;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Shapes;
class Program
{
[STAThread]
static void Main(string[] args)
{
var app = new Application();
var window = new Window();
window.W... | using System;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Shapes;
class Program
{
[STAThread]
static void Main(string[] args)
{
var app = new Application();
var window = new Window(... | Add some code to dump known colors | Add some code to dump known colors
| C# | mit | KirillOsenkov/ColorTools,KirillOsenkov/ColorTools,KirillOsenkov/ColorTools |
80c03aa7ffc6cfddaef97543c01fdfec8bd7d4de | Twee2Z/Analyzer/TweeAnalyzer.cs | Twee2Z/Analyzer/TweeAnalyzer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Antlr4.Runtime;
using Antlr4.Runtime.Misc;
using Antlr4.Runtime.Tree;
namespace Twee2Z.Analyzer
{
public static class TweeAnalyzer
{
public static ObjectT... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Antlr4.Runtime;
using Antlr4.Runtime.Misc;
using Antlr4.Runtime.Tree;
namespace Twee2Z.Analyzer
{
public static class TweeAnalyzer
{
public static ObjectTr... | Revert "Revert "auswertung von tags gebessert"" | Revert "Revert "auswertung von tags gebessert""
This reverts commit 59db5d111a7f8c11a188c031bc82bbfc114b70ce.
| C# | mit | humsp/uebersetzerbauSWP |
e089806577e0afc70eb2f234eee4ea264d44c04e | src/Eurofurence.App.Server.Services/Storage/StorageService.cs | src/Eurofurence.App.Server.Services/Storage/StorageService.cs | using System;
using System.Threading.Tasks;
using Eurofurence.App.Domain.Model.Abstractions;
using Eurofurence.App.Domain.Model.Sync;
using Eurofurence.App.Server.Services.Abstractions;
namespace Eurofurence.App.Server.Services.Storage
{
public class StorageService<T> : IStorageService
{
private reado... | using System;
using System.Threading.Tasks;
using Eurofurence.App.Domain.Model.Abstractions;
using Eurofurence.App.Domain.Model.Sync;
using Eurofurence.App.Server.Services.Abstractions;
namespace Eurofurence.App.Server.Services.Storage
{
public class StorageService<T> : IStorageService
{
private reado... | Fix to ensure Delta start time is reset when storage is re-created | Fix to ensure Delta start time is reset when storage is re-created
| C# | mit | Pinselohrkater/ef_app-backend-dotnet_core,Pinselohrkater/ef_app-backend-dotnet_core,eurofurence/ef-app_backend-dotnet-core,eurofurence/ef-app_backend-dotnet-core |
953f7a999556611fa20fb2f57c3552271f4becd6 | VendingMachine/VendingMachine.Core/VendingMachine.cs | VendingMachine/VendingMachine.Core/VendingMachine.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Vending.Core
{
public class VendingMachine
{
private readonly List<Coin> _coins = new List<Coin>();
private readonly... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Vending.Core
{
public class VendingMachine
{
private readonly List<Coin> _coins = new List<Coin>();
private readonly... | Revert "Added place to output products" | Revert "Added place to output products"
This reverts commit a4d3db1b46a642857651273f1d717b12d91f182b.
| C# | mit | ckuhn203/VendingMachineKata |
6110f556302d7cded305e238db57cedaea99bf0d | MainDemo.Wpf/Converters/BrushToHexConverter.cs | MainDemo.Wpf/Converters/BrushToHexConverter.cs | using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
namespace MaterialDesignDemo.Converters
{
public class BrushToHexConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
... | using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
namespace MaterialDesignDemo.Converters
{
public class BrushToHexConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
... | Fix display of color code | Fix display of color code
Fixes #1546 | C# | mit | ButchersBoy/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit |
c880a577e9a0205685095efdc028c51da1a7f55a | RockLib.Messaging/IReceiver.cs | RockLib.Messaging/IReceiver.cs | using System;
namespace RockLib.Messaging
{
/// <summary>
/// Defines an interface for receiving messages. To start receiving messages,
/// set the value of the <see cref="MessageHandler"/> property.
/// </summary>
public interface IReceiver : IDisposable
{
/// <summary>
/// Ge... | using System;
namespace RockLib.Messaging
{
/// <summary>
/// Defines an interface for receiving messages. To start receiving messages,
/// set the value of the <see cref="MessageHandler"/> property.
/// </summary>
public interface IReceiver : IDisposable
{
/// <summary>
/// Ge... | Add remark to doc comment | Add remark to doc comment
| C# | mit | RockFramework/Rock.Messaging |
285442c15f4767cca472d465c96949dd436eff4b | Citysim/City.cs | Citysim/City.cs | using Citysim.Map;
namespace Citysim
{
public class City
{
/// <summary>
/// Amount of cash available.
/// </summary>
public int cash = 10000; // $10,000 starting cash
/// <summary>
/// The world. Needs generation.
/// </summary>
public World wo... | using Citysim.Map;
namespace Citysim
{
public class City
{
/// <summary>
/// Amount of cash available.
/// </summary>
public int cash = 10000; // $10,000 starting cash
/// <summary>
/// MW (mega watts) of electricity available to the city.
/// </summary... | Add city power and water variables. | Add city power and water variables.
| C# | mit | mitchfizz05/Citysim,pigant/Citysim |
cfef767cc81b58278386affe8e500987c2f4a776 | source/Nuke.Common/Utilities/AssemblyExtensions.cs | source/Nuke.Common/Utilities/AssemblyExtensions.cs | // Copyright 2018 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Reflection;
namespace Nuke.Common.Utilities
{
public static class AssemblyExtensions
{
public static string GetInformatio... | // Copyright 2018 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Reflection;
namespace Nuke.Common.Utilities
{
public static class AssemblyExtensions
{
public static string GetInformatio... | Remove whitespace in informational text | Remove whitespace in informational text
| C# | mit | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke |
ee0401405180eeecd129f5c9b3246f431df05850 | template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/WebApi-CSharp/AzureAdB2COptions.cs | template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/WebApi-CSharp/AzureAdB2COptions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Company.WebApplication1
{
public class AzureAdB2COptions
{
public string ClientId { get; set; }
public string AzureAdB2CInstance { get; set; }
public string Tenant { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Company.WebApplication1
{
public class AzureAdB2COptions
{
public string ClientId { get; set; }
public string AzureAdB2CInstance { get; set; }
public string Domain { get; set; }
... | Rename Tenant to Domain in the web api template | Rename Tenant to Domain in the web api template
| C# | mit | seancpeters/templating,rschiefer/templating,danroth27/templating,rschiefer/templating,seancpeters/templating,lambdakris/templating,danroth27/templating,mlorbetske/templating,rschiefer/templating,lambdakris/templating,mlorbetske/templating,seancpeters/templating,seancpeters/templating,danroth27/templating,lambdakris/tem... |
25a0562a17f85f5bbb7944514d2013bb5a2b0410 | src/VisualStudio/LiveShare/Test/ClassificationsHandlerTests.cs | src/VisualStudio/LiveShare/Test/ClassificationsHandlerTests.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.VisualStudio.LanguageServer.Protocol;
using Mic... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.VisualStudio.LanguageServer.Protocol;
using Mic... | Fix classification test to use object type. | Fix classification test to use object type.
| C# | mit | dotnet/roslyn,sharwell/roslyn,jmarolf/roslyn,ErikSchierboom/roslyn,sharwell/roslyn,AlekseyTs/roslyn,genlu/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,ErikSchierboom/roslyn,gafter/roslyn,eriawan/roslyn,heejaechang/roslyn,aelij/roslyn,AmadeusW/roslyn,genlu/roslyn,agocke/roslyn,panopticoncentral/roslyn,diryboy/roslyn,step... |
84ec3d8465c78fe7916a8905cedbb83e1c85f168 | Mappy/Program.cs | Mappy/Program.cs | namespace Mappy
{
using System;
using System.Windows.Forms;
using UI.Forms;
public static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
public static void Main()
{
App... | namespace Mappy
{
using System;
using System.IO;
using System.Windows.Forms;
using UI.Forms;
public static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
public static void Main()
... | Add code to remove all old settings | Add code to remove all old settings
| C# | mit | MHeasell/Mappy,MHeasell/Mappy |
e993f4be927a993c3d1abd21d58085625e953355 | src/DotNetCore.CAP/ICapTransaction.Base.cs | src/DotNetCore.CAP/ICapTransaction.Base.cs | using System.Collections.Generic;
using DotNetCore.CAP.Models;
namespace DotNetCore.CAP
{
public abstract class CapTransactionBase : ICapTransaction
{
private readonly IDispatcher _dispatcher;
private readonly IList<CapPublishedMessage> _bufferList;
protected CapTransactionBase(IDisp... | using System.Collections.Generic;
using DotNetCore.CAP.Models;
namespace DotNetCore.CAP
{
public abstract class CapTransactionBase : ICapTransaction
{
private readonly IDispatcher _dispatcher;
private readonly IList<CapPublishedMessage> _bufferList;
protected CapTransactionBase(IDisp... | Fix flush unclaer data bugs. | Fix flush unclaer data bugs.
| C# | mit | ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP |
0697c78826e7fd14d001dbd9de2a6073635bb77b | osu.Framework.Tests/Audio/DevicelessAudioTest.cs | osu.Framework.Tests/Audio/DevicelessAudioTest.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 NUnit.Framework;
namespace osu.Framework.Tests.Audio
{
[TestFixture]
public class DevicelessAudioTest : AudioThreadTest
{
public override void... | // 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 NUnit.Framework;
namespace osu.Framework.Tests.Audio
{
[TestFixture]
public class DevicelessAudioTest : AudioThreadTest
{
public override void... | Fix one remaining case of incorrect audio testing | Fix one remaining case of incorrect audio testing
| C# | mit | ZLima12/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework |
b43fdb50d28840a7f8ae168011a8b4dc59b5e488 | mvcWebApp/Views/Home/_Jumbotron.cshtml | mvcWebApp/Views/Home/_Jumbotron.cshtml |
<div id="my-jumbotron" class="jumbotron">
<div class="container">
<h1>Welcome!</h1>
<p>We are Sweet Water Revolver. This is our website. Please look around and check out our...</p>
<p><a class="btn btn-primary btn-lg" role="button">... showtimes.</a></p>
</div>
</div>
| <div class="container">
<div id="my-jumbotron" class="jumbotron">
<h1>Welcome!</h1>
<p>We are Sweet Water Revolver. This is our website. Please look around and check out our...</p>
<p><a class="btn btn-primary btn-lg" role="button">... showtimes.</a></p>
</div>
</div>
| Make the jumbotron inside a container. | Make the jumbotron inside a container.
| C# | mit | bigfont/sweet-water-revolver |
a57910ac24de00a21ce8bced19cae8ad09bb7990 | Assets/skilltesting.cs | Assets/skilltesting.cs | using UnityEngine;
using System.Collections;
public class test : Skill
{
private float duration = 10f;
private float expiration;
bool active;
Player player;
private int bonusStrength;
protected override void Start()
{
base.Start();
base.SetBaseValues(15, 16000, 150, "I... | using UnityEngine;
using System.Collections;
public class test : Skill
{
private float duration = 10f;
private float expiration;
bool active;
Player player;
private int bonusStrength;
protected override void Start()
{
base.Start();
base.SetBaseValues(15, 16000, 150, "I... | Fix Error With Skill Test | Fix Error With Skill Test
| C# | mit | DevelopersGuild/Castle-Bashers |
6c7be5c8205bff134017be8223c86de681e2ecfe | test/Pioneer.Pagination.Tests/ClampTests.cs | test/Pioneer.Pagination.Tests/ClampTests.cs | using Xunit;
namespace Pioneer.Pagination.Tests
{
/// <summary>
/// Clamp Tests
/// </summary>
public class ClampTests
{
private readonly PaginatedMetaService _sut = new PaginatedMetaService();
[Fact]
public void LastPageDisplayed()
{
var result = _sut.... | using Xunit;
namespace Pioneer.Pagination.Tests
{
/// <summary>
/// Clamp Tests
/// </summary>
public class ClampTests
{
private readonly PaginatedMetaService _sut = new PaginatedMetaService();
[Fact]
public void NextPageIsLastPageInCollectionWhenRequestedPageIsGreatedThen... | Add edge case unit tests | Add edge case unit tests
| C# | mit | PioneerCode/pioneer-pagination,PioneerCode/pioneer-pagination,PioneerCode/pioneer-pagination |
630b90cf27ac2ac1badf8d808b848df3bd73186e | TruckRouter/Program.cs | TruckRouter/Program.cs | using TruckRouter.Models;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllers(); // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
build... | using TruckRouter.Models;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllers(); // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
build... | Enable https redirection and authorization for non-dev envs only | Enable https redirection and authorization for non-dev envs only
| C# | mit | surlycoder/truck-router |
b1c34777aaf2c0937fc6b6e650528851b879e21b | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserCustomListUpdateRequestTests.cs | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserCustomListUpdateRequestTests.cs | namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Base.Put;
using TraktApiSharp.Experimental.Requests.Users.OAuth;
using TraktApiSharp.Objects.Get.Users.Lists;
u... | namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Base.Put;
using TraktApiSharp.Experimental.Requests.Users.OAuth;
using TraktApiSharp.Objects.Get.Users.Lists;
u... | Add test for authorization requirement in TraktUserCustomListUpdateRequest | Add test for authorization requirement in TraktUserCustomListUpdateRequest
| C# | mit | henrikfroehling/TraktApiSharp |
75687902e82e56c9029a3a208f22995cbe58c5de | Umbraco.Inception/Attributes/UmbracoTabAttribute.cs | Umbraco.Inception/Attributes/UmbracoTabAttribute.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Umbraco.Inception.Attributes
{
[AttributeUsage(AttributeTargets.Property)]
public class UmbracoTabAttribute : Attribute
{
public string Name { get; set; }
public in... | using System;
namespace Umbraco.Inception.Attributes
{
[AttributeUsage(AttributeTargets.Property)]
public class UmbracoTabAttribute : Attribute
{
public string Name { get; set; }
public int SortOrder { get; set; }
public UmbracoTabAttribute(string name)
{
Name ... | Add original constructor signature as there is Inception code which looks for it | Add original constructor signature as there is Inception code which looks for it
| C# | mit | east-sussex-county-council/Escc.Umbraco.Inception |
dc31524912c1162612ae6fcb9325bd98368ec0c2 | 100_Doors_Problem/C#/Davipb/HundredDoors.cs | 100_Doors_Problem/C#/Davipb/HundredDoors.cs | using System.Linq;
namespace HundredDoors
{
public static class HundredDoors
{
/// <summary>
/// Solves the 100 Doors problem
/// </summary>
/// <returns>An array with 101 values, each representing a door (except 0). True = open</returns>
public static bool[] Solve()
{
// Create our array with 101 va... | using System.Linq;
namespace HundredDoors
{
public static class HundredDoors
{
/// <summary>
/// Solves the 100 Doors problem
/// </summary>
/// <returns>An array with 101 values, each representing a door (except 0). True = open</returns>
public static bool[] Solve()
{
// Create our array with 101 va... | Revert "Revert "Added "final door count" comment at return value."" | Revert "Revert "Added "final door count" comment at return value.""
This reverts commit 4ed080e822168a87a0140fb8f0f28132bc0b6d96.
| C# | mit | n1ghtmare/Algorithm-Implementations,pravsingh/Algorithm-Implementations,pravsingh/Algorithm-Implementations,kennyledet/Algorithm-Implementations,n1ghtmare/Algorithm-Implementations,kennyledet/Algorithm-Implementations,pravsingh/Algorithm-Implementations,pravsingh/Algorithm-Implementations,pravsingh/Algorithm-Implementa... |
df9e0dbd1339636969bc572a8aeb6880bddf164e | src/Cake.Docker/Container/Logs/Docker.Aliases.Logs.cs | src/Cake.Docker/Container/Logs/Docker.Aliases.Logs.cs | using Cake.Core;
using Cake.Core.Annotations;
using System;
namespace Cake.Docker
{
partial class DockerAliases
{
/// <summary>
/// Logs <paramref name="container"/> using default settings.
/// </summary>
/// <param name="context">The context.</param>
/// <param name="c... | using Cake.Core;
using Cake.Core.Annotations;
using System;
using System.Linq;
using System.Collections.Generic;
namespace Cake.Docker
{
partial class DockerAliases
{
/// <summary>
/// Logs <paramref name="container"/> using default settings.
/// </summary>
/// <param name="con... | Fix log command and return log lines | Fix log command and return log lines
| C# | mit | MihaMarkic/Cake.Docker |
34f59cde9b07e142596eb255173260a243694e44 | Bonobo.Git.Server.Test/IntegrationTests/SharedLayoutTests.cs | Bonobo.Git.Server.Test/IntegrationTests/SharedLayoutTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Bonobo.Git.Server.Controllers;
using Bonobo.Git.Server.Test.Integration.Web;
using Bonobo.Git.Server.Test.IntegrationTests.Helpers;
using SpecsFor.Mvc;
namespace Bonobo.Git.Server.Test.IntegrationTests
{
using OpenQA.Selenium.Support.UI;
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Bonobo.Git.Server.Controllers;
using Bonobo.Git.Server.Test.Integration.Web;
using Bonobo.Git.Server.Test.IntegrationTests.Helpers;
using SpecsFor.Mvc;
namespace Bonobo.Git.Server.Test.IntegrationTests
{
using OpenQA.Selenium.Support.UI;
... | Make DropdDownNavigationWorks more reliable and use new test methods. | Make DropdDownNavigationWorks more reliable and use new test methods.
| C# | mit | larshg/Bonobo-Git-Server,crowar/Bonobo-Git-Server,gencer/Bonobo-Git-Server,padremortius/Bonobo-Git-Server,RedX2501/Bonobo-Git-Server,willdean/Bonobo-Git-Server,gencer/Bonobo-Git-Server,crowar/Bonobo-Git-Server,anyeloamt1/Bonobo-Git-Server,larshg/Bonobo-Git-Server,braegelno5/Bonobo-Git-Server,larshg/Bonobo-Git-Server,ge... |
220f890eed25833c695059f9dc96a814ac9e09f5 | PSql.Tests/Tests.Support/StringExtensions.cs | PSql.Tests/Tests.Support/StringExtensions.cs | using System;
using System.Linq;
using System.Linq.Expressions;
using FluentAssertions;
namespace PSql.Tests
{
using static ScriptExecutor;
internal static class StringExtensions
{
internal static void
ShouldOutput(
this string script,
params object[... | using System;
using System.Linq;
using System.Linq.Expressions;
using FluentAssertions;
namespace PSql.Tests
{
using static ScriptExecutor;
internal static class StringExtensions
{
internal static void
ShouldOutput(
this string script,
params object[... | Rework exception asserts to improve failure messages. | Rework exception asserts to improve failure messages.
| C# | isc | sharpjs/PSql,sharpjs/PSql |
117e0790111c0b250c46cba360270a45552cf80f | Renci.SshClient/Renci.SshNet.Tests/Classes/CipherInfoTest.cs | Renci.SshClient/Renci.SshNet.Tests/Classes/CipherInfoTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Security.Cryptography;
using Renci.SshNet.Tests.Common;
using System;
namespace Renci.SshNet.Tests.Classes
{
/// <summary>
/// Holds information about key size and cipher to use
/// </summary>
[TestClass]
public clas... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Security.Cryptography;
using Renci.SshNet.Tests.Common;
using System;
namespace Renci.SshNet.Tests.Classes
{
/// <summary>
/// Holds information about key size and cipher to use
/// </summary>
[TestClass]
public clas... | Fix build when targeting .NET Framework 3.5 as Func only supports covariance on .NET Framework 4.0 and higher. | Fix build when targeting .NET Framework 3.5 as Func only supports covariance on .NET Framework 4.0 and higher. | C# | mit | GenericHero/SSH.NET,sshnet/SSH.NET,miniter/SSH.NET,Bloomcredit/SSH.NET |
901c93ef0c226baba6a7438d05519532b15424ea | Src/Compilers/Core/Source/Diagnostic/IMessageSerializable.cs | Src/Compilers/Core/Source/Diagnostic/IMessageSerializable.cs | // Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// Indicates that the implementing type can be serialized via <see cref="ToS... | // Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// Indicates that the implementing type can be serialized via <see cref="obj... | Fix a warning about a cref in an XML doc comment. | Fix a warning about a cref in an XML doc comment.
"ToString" by itself cannot be resolved to a symbol. We really meant "object.ToString". (changeset 1255357)
| C# | mit | KamalRathnayake/roslyn,dotnet/roslyn,aelij/roslyn,nguerrera/roslyn,russpowers/roslyn,danielcweber/roslyn,paladique/roslyn,panopticoncentral/roslyn,marksantos/roslyn,AmadeusW/roslyn,khellang/roslyn,ahmedshuhel/roslyn,weltkante/roslyn,AlekseyTs/roslyn,BugraC/roslyn,AlexisArce/roslyn,mavasani/roslyn,stebet/roslyn,akrisiun... |
91ff5bb1376ee112513b63bb6a374b992cc088f1 | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/IRepository.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/IRepository.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo
{
public interface IRepository<TEntity, TPk>
where TEntity : class, IEntity<TPk>
{
TEntity Get(TPk key, ISession session = ... | using System.Collections.Generic;
using System.Threading.Tasks;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo
{
public interface IRepository<TEntity, TPk>
where TEntity : class, IEntity<TPk>
{
TEntity GetKey(TPk key, ISession session... | Change get method and add the new getter | Change get method and add the new getter
| C# | mit | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork |
e3012b7c2941d6f28ac096e4011c78d0d9f89c5f | mountain-thoughts/Program.cs | mountain-thoughts/Program.cs | using System;
using System.Diagnostics;
using System.Linq;
namespace mountain_thoughts
{
public class Program
{
public static void Main(string[] args)
{
Process mountainProcess = NativeMethods.GetMountainProcess();
if (mountainProcess == null)
{
... | using System;
using System.Diagnostics;
namespace mountain_thoughts
{
public class Program
{
public static void Main(string[] args)
{
Process mountainProcess = NativeMethods.GetMountainProcess();
if (mountainProcess == null)
{
Console.WriteLi... | Revert "Exclude the first word" | Revert "Exclude the first word"
This reverts commit c5f9cf87bd3a18e4acf130a001f84b249598acc4.
| C# | mit | BinaryTENSHi/mountain-thoughts |
f5f16e979dee08ab805d7a7daee0c820a6d3d15a | ThScoreFileConverter/Models/Th165/AllScoreData.cs | ThScoreFileConverter/Models/Th165/AllScoreData.cs | //-----------------------------------------------------------------------
// <copyright file="AllScoreData.cs" company="None">
// Copyright (c) IIHOSHI Yoshinori.
// Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information.
// </copyright>
//-----------------------... | //-----------------------------------------------------------------------
// <copyright file="AllScoreData.cs" company="None">
// Copyright (c) IIHOSHI Yoshinori.
// Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information.
// </copyright>
//-----------------------... | Fix not to use expression-bodied constructors (cont.) | Fix not to use expression-bodied constructors (cont.)
| C# | bsd-2-clause | y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter |
fdee45a5d4396adbd9fb96fa2e488fbc39657924 | MultiMiner.Win/Extensions/TimeIntervalExtensions.cs | MultiMiner.Win/Extensions/TimeIntervalExtensions.cs | namespace MultiMiner.Win.Extensions
{
static class TimeIntervalExtensions
{
public static int ToMinutes(this MultiMiner.Win.ApplicationConfiguration.TimerInterval timerInterval)
{
int coinStatsMinutes;
switch (timerInterval)
{
case Application... | namespace MultiMiner.Win.Extensions
{
static class TimeIntervalExtensions
{
public static int ToMinutes(this MultiMiner.Win.ApplicationConfiguration.TimerInterval timerInterval)
{
int coinStatsMinutes;
switch (timerInterval)
{
case Application... | Handle the TwoHour time interval for strategies - was defaulting to 15 | Handle the TwoHour time interval for strategies - was defaulting to 15
| C# | mit | nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner |
594011aab84e206901361ea3106f4da1d26aa86f | cslacs/Csla/Serialization/Mobile/NullPlaceholder.cs | cslacs/Csla/Serialization/Mobile/NullPlaceholder.cs | using System;
namespace Csla.Serialization.Mobile
{
/// <summary>
/// Placeholder for null child objects.
/// </summary>
[Serializable()]
public sealed class NullPlaceholder : IMobileObject
{
#region Constructors
public NullPlaceholder()
{
// Nothing
}
#endregi... | using System;
namespace Csla.Serialization.Mobile
{
/// <summary>
/// Placeholder for null child objects.
/// </summary>
[Serializable()]
public sealed class NullPlaceholder : IMobileObject
{
#region Constructors
/// <summary>
/// Creates an instance of the type.
/// </summa... | Add missing XML docs to code. bugid: 272 | Add missing XML docs to code.
bugid: 272
| C# | mit | MarimerLLC/csla,BrettJaner/csla,rockfordlhotka/csla,BrettJaner/csla,JasonBock/csla,MarimerLLC/csla,jonnybee/csla,BrettJaner/csla,rockfordlhotka/csla,JasonBock/csla,ronnymgm/csla-light,MarimerLLC/csla,ronnymgm/csla-light,jonnybee/csla,jonnybee/csla,rockfordlhotka/csla,JasonBock/csla,ronnymgm/csla-light |
bf3936140f0cccdfcf5de58d06e850760055920f | crm/CEP/UserProfile.cs | crm/CEP/UserProfile.cs | // Copyright (c) ComUnity 2015
// Hans Malherbe <hansm@comunity.co.za>
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace CEP
{
public class UserProfile
{
[Key,... | // Copyright (c) ComUnity 2015
// Hans Malherbe <hansm@comunity.co.za>
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace CEP
{
public class UserProfile
{
[Key,... | Change user picture field to PictureUrl | Change user picture field to PictureUrl
| C# | mit | comunity/crm |
fc2277bc580e53214c497210790067b3aa3137c9 | AhoCorasick/Extensions.cs | AhoCorasick/Extensions.cs | using System.Collections.Generic;
namespace Ganss.Text
{
/// <summary>
/// Provides extension methods.
/// </summary>
public static class Extensions
{
/// <summary>
/// Determines whether this instance contains the specified words.
/// </summary>
/// <param name="te... | using System.Collections.Generic;
namespace Ganss.Text
{
/// <summary>
/// Provides extension methods.
/// </summary>
public static class Extensions
{
/// <summary>
/// Determines whether this instance contains the specified words.
/// </summary>
/// <param name="te... | Add custom char comparison to extension methods | Add custom char comparison to extension methods
| C# | mit | mganss/AhoCorasick |
26932d153cf2924314191056c1dff422e2a53a7a | src/contrib/loggers/Akka.Serilog/Event/Serilog/SerilogLogMessageFormatter.cs | src/contrib/loggers/Akka.Serilog/Event/Serilog/SerilogLogMessageFormatter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Akka.Event;
using Serilog.Events;
using Serilog.Parsing;
namespace Akka.Serilog.Event.Serilog
{
public class SerilogLogMessageFormatter : ILogMessageFormatter
{
private readonly MessageTemplateCache _templateCache;
publi... | using System;
using System.Collections.Generic;
using System.Linq;
using Akka.Event;
using Serilog.Events;
using Serilog.Parsing;
namespace Akka.Serilog.Event.Serilog
{
public class SerilogLogMessageFormatter : ILogMessageFormatter
{
private readonly MessageTemplateCache _templateCache;
... | Change the way we match args to property tokens to more closely match Serilog when you pass in too few or too many arguments | Change the way we match args to property tokens to more closely match Serilog when you pass in too few or too many arguments
| C# | apache-2.0 | kekekeks/akka.net,jordansjones/akka.net,jordansjones/akka.net,dyanarose/akka.net,willieferguson/akka.net,vchekan/akka.net,Micha-kun/akka.net,nvivo/akka.net,d--g/akka.net,forki/akka.net,dbolkensteyn/akka.net,willieferguson/akka.net,neekgreen/akka.net,thelegendofando/akka.net,rogeralsing/akka.net,cpx/akka.net,JeffCyr/akk... |
e2f002e871b7c5d1989a4f5e16dc706a9a8f1a4a | CorePlugin/ScriptExecutor.cs | CorePlugin/ScriptExecutor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Duality;
using RockyTV.Duality.Plugins.IronPython.Resources;
using IronPython.Hosting;
using IronPython.Runtime;
using IronPython.Compiler;
using Microsoft.Scripting;
using Microsoft.Scripting.Hosting;
namespace RockyTV.Duality.Plugins.IronPy... | using System;
using System.Collections.Generic;
using System.Linq;
using Duality;
using RockyTV.Duality.Plugins.IronPython.Resources;
using IronPython.Hosting;
using IronPython.Runtime;
using IronPython.Compiler;
using Microsoft.Scripting;
using Microsoft.Scripting.Hosting;
namespace RockyTV.Duality.Plugins.IronPy... | Call 'update' with Delta time | Call 'update' with Delta time
| C# | mit | RockyTV/Duality.IronPython |
c9123df98c2772c98a37161b51e796ceb5e8bc94 | source/Assets/Scripts/Loader.cs | source/Assets/Scripts/Loader.cs | using UnityEngine;
using System.Reflection;
[assembly: AssemblyVersion("1.0.0.*")]
public class Loader : MonoBehaviour
{
/// <summary>
/// DebugUI prefab to instantiate.
/// </summary>
[SerializeField]
private GameObject _debugUI;
/// <summary>
/// ModalDialog prefab to insta... | using UnityEngine;
using System.Reflection;
[assembly: AssemblyVersion("1.1.0.*")]
public class Loader : MonoBehaviour
{
/// <summary>
/// DebugUI prefab to instantiate.
/// </summary>
[SerializeField]
private GameObject _debugUI;
/// <summary>
/// ModalDialog prefab to insta... | Change version up to 1.1.0 | Change version up to 1.1.0
| C# | unknown | matiasbeckerle/breakout,matiasbeckerle/perspektiva,matiasbeckerle/arkanoid |
00103e2f65005dfb62c9f08f42495f9fa86fddeb | src/ConsoleApp/Program.cs | src/ConsoleApp/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using static System.Console;
namespace ConsoleApp
{
public class Table
{
private readonly string tableName;
private readonly IEnumerable<Column> columns;
public Table(string tableName, IEnumerable<Colu... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using static System.Console;
namespace ConsoleApp
{
public class Table
{
private readonly string tableName;
private readonly IEnumerable<Column> columns;
public Table(string tableName, IEnumerable<Colu... | Put variables in Main first | Put variables in Main first
| C# | mit | TeamnetGroup/schema2fm |
b79cb544944fa2c9fe0bdf22e1dcab3494d8cd62 | Assets/MRTK/Examples/Demos/HandTracking/Scripts/LeapMotionOrientationDisplay.cs | Assets/MRTK/Examples/Demos/HandTracking/Scripts/LeapMotionOrientationDisplay.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
using Microsoft.MixedReality.Toolkit.Input;
using TMPro;
#if LEAPMOTIONCORE_PRESENT
using Microsoft.MixedReality.Toolkit.LeapMotion.Input;
#endif
namespace Microsoft.MixedReality.Toolkit.Examples
{
/// <summary>
///... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
using Microsoft.MixedReality.Toolkit.Input;
using TMPro;
#if LEAPMOTIONCORE_PRESENT && UNITY_STANDALONE
using Microsoft.MixedReality.Toolkit.LeapMotion.Input;
#endif
namespace Microsoft.MixedReality.Toolkit.Examples
{
/... | Add standalone ifdef to leap example scene script | Add standalone ifdef to leap example scene script
| C# | mit | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity |
79af64b94c137e394d16483d3aa7cc0d50eebaad | src/SmugMugCodeGen/Constants.cs | src/SmugMugCodeGen/Constants.cs | // Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace SmugMugCodeGen
{
public static class Constants
{
public const string PropertyDefinition = @"public {0} {1} {{get; set;}}";
publi... | // Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace SmugMugCodeGen
{
public static class Constants
{
public const string PropertyDefinition = @"public {0} {1} {{get; set;}}";
publi... | Make sure that classes generated derive from a common type to allow code sharing | Make sure that classes generated derive from a common type to allow code sharing
| C# | mit | AlexGhiondea/SmugMug.NET |
0a2a9c21a8d37276d682a1af62614fc44e53b7e5 | Assets/Gameflow/Levels.cs | Assets/Gameflow/Levels.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Levels : MonoBehaviour
{
/* Cette classe a pour destin d'être sur un prefab.
* Ce prefab agira comme une config manuelle de niveaux pour faciliter le level design.
* On pourra faire différentes configs si on veut... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Levels : MonoBehaviour
{
/* Cette classe a pour destin d'être sur un prefab.
* Ce prefab agira comme une config manuelle de niveaux pour faciliter le level design.
* On pourra faire différentes configs si on veut... | Add max job count to levels | Add max job count to levels
| C# | mit | LeBodro/super-salaryman-2044 |
2ffc72b75ffc89de892d92e0e028ccd7e22e866f | src/Cassette.UnitTests/PlaceholderTracker.cs | src/Cassette.UnitTests/PlaceholderTracker.cs | using System;
using System.Text.RegularExpressions;
using Should;
using Xunit;
namespace Cassette.UI
{
public class PlaceholderTracker_Tests
{
[Fact]
public void WhenInsertPlaceholder_ThenPlaceholderIdHtmlReturned()
{
var tracker = new PlaceholderTracker();
... | using System;
using System.Text.RegularExpressions;
using Should;
using Xunit;
namespace Cassette
{
public class PlaceholderTracker_Tests
{
[Fact]
public void WhenInsertPlaceholder_ThenPlaceholderIdHtmlReturned()
{
var tracker = new PlaceholderTracker();
... | Move test into correct namespace. | Move test into correct namespace.
| C# | mit | BluewireTechnologies/cassette,damiensawyer/cassette,damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,honestegg/cassette,BluewireTechnologies/cassette |
86cc010df40d362917c46c3f5551192a06d0041a | Modix.Services/StackExchange/StackExchangeService.cs | Modix.Services/StackExchange/StackExchangeService.cs | using Newtonsoft.Json;
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace Modix.Services.StackExchange
{
public class StackExchangeService
{
private string _ApiReferenceUrl =
$"http://api.stackexchange.com/2.2/search/advanced" +
"?key... | using Newtonsoft.Json;
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace Modix.Services.StackExchange
{
public class StackExchangeService
{
private static HttpClient HttpClient => new HttpClient(new HttpClientHandler
{
AutomaticDecompres... | Use static HttpClient in SO module | Use static HttpClient in SO module
| C# | mit | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX |
093c8de0139e6e834f6eb2ee29bf0d7ead9801ac | GanttChart/Properties/AssemblyInfo.cs | GanttChart/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(".N... | 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(".N... | Fix assembly and file versions | Fix assembly and file versions
| C# | mit | jakesee/ganttchart |
442b3f0cea7fc5f38ffd58bd9aae71893b95b0ac | Consul.Test/CoordinateTest.cs | Consul.Test/CoordinateTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Consul.Test
{
[TestClass]
public class CoordinateTest
{
[TestMethod]
public void TestCoordinate_Datacenters()
{
var client = new Client();
var info = client.Agent.Self();
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Consul.Test
{
[TestClass]
public class CoordinateTest
{
[TestMethod]
public void Coordinate_Datacenters()
{
var client = new Client();
var info = client.Agent.Self();
i... | Reduce testing of coordinate nodes call | Reduce testing of coordinate nodes call
| C# | apache-2.0 | PlayFab/consuldotnet |
1cb2c95b281e9d071ff27184d9735b15c3a7ee4c | PackageExplorer/Converters/PackageIconConverter.cs | PackageExplorer/Converters/PackageIconConverter.cs | using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media.Imaging;
using PackageExplorerViewModel;
namespace PackageExplorer
{
public class PackageIconConverter : IMultiValueConverter
{
#region IMultiValueConverter Members
public object? Convert(object[] ... | using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media.Imaging;
using PackageExplorerViewModel;
namespace PackageExplorer
{
public class PackageIconConverter : IMultiValueConverter
{
#region IMultiValueConverter Members
public object? Convert(object[] ... | Normalize directory separator char for finding the embedded icon | Normalize directory separator char for finding the embedded icon
| C# | mit | campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer |
8031e4874db385b2122f699930027637dd84f118 | Octokit/Models/Response/GitHubCommit.cs | Octokit/Models/Response/GitHubCommit.cs | using System.Collections.Generic;
using System.Diagnostics;
namespace Octokit
{
/// <summary>
/// An enhanced git commit containing links to additional resources
/// </summary>
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class GitHubCommit : GitReference
{
public GitHubCommit() { ... | using System.Collections.Generic;
using System.Diagnostics;
namespace Octokit
{
/// <summary>
/// An enhanced git commit containing links to additional resources
/// </summary>
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class GitHubCommit : GitReference
{
public GitHubCommit() { ... | Add doc comments for Author and Committer | Add doc comments for Author and Committer
| C# | mit | shiftkey/octokit.net,shana/octokit.net,alfhenrik/octokit.net,ivandrofly/octokit.net,eriawan/octokit.net,octokit/octokit.net,hahmed/octokit.net,alfhenrik/octokit.net,thedillonb/octokit.net,M-Zuber/octokit.net,mminns/octokit.net,editor-tools/octokit.net,Sarmad93/octokit.net,rlugojr/octokit.net,octokit-net-test-org/octoki... |
9f4fa7b2f98e8833fb244088c19af810ad3debfc | src/Compilers/Server/VBCSCompilerTests/Extensions.cs | src/Compilers/Server/VBCSCompilerTests/Extensions.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.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Syste... | // 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.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Syste... | Fix race in VBCSCompiler test | Fix race in VBCSCompiler test
Need to account for the case that the callback executes before the handle is assigned. Or that the handle is visible in the call back.
closes #41788
| C# | mit | wvdd007/roslyn,KirillOsenkov/roslyn,CyrusNajmabadi/roslyn,reaction1989/roslyn,eriawan/roslyn,AlekseyTs/roslyn,reaction1989/roslyn,eriawan/roslyn,tannergooding/roslyn,heejaechang/roslyn,tannergooding/roslyn,bartdesmet/roslyn,aelij/roslyn,AmadeusW/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,sharwell/... |
255fc29f75e8dfc63f7bf51808b7fff92fbb84ec | PalasoUIWindowsForms.Tests/FontTests/FontHelperTests.cs | PalasoUIWindowsForms.Tests/FontTests/FontHelperTests.cs | using System;
using System.Drawing;
using NUnit.Framework;
using Palaso.UI.WindowsForms;
namespace PalasoUIWindowsForms.Tests.FontTests
{
[TestFixture]
public class FontHelperTests
{
[SetUp]
public void SetUp()
{
// setup code goes here
}
[TearDown]
public void TearDown()
{
// tear down code ... | using System;
using System.Drawing;
using System.Linq;
using NUnit.Framework;
using Palaso.UI.WindowsForms;
namespace PalasoUIWindowsForms.Tests.FontTests
{
[TestFixture]
public class FontHelperTests
{
[SetUp]
public void SetUp()
{
// setup code goes here
}
[TearDown]
public void TearDown()
{
... | Fix mono bug in the FontHelper class | Fix mono bug in the FontHelper class
| C# | mit | ermshiperete/libpalaso,sillsdev/libpalaso,darcywong00/libpalaso,andrew-polk/libpalaso,gmartin7/libpalaso,mccarthyrb/libpalaso,andrew-polk/libpalaso,tombogle/libpalaso,glasseyes/libpalaso,hatton/libpalaso,gmartin7/libpalaso,gtryus/libpalaso,ermshiperete/libpalaso,mccarthyrb/libpalaso,mccarthyrb/libpalaso,sillsdev/libpal... |
19a186ae96f220e7cc7ceccbc62618ff91f37bfe | Solution/Chiro.Gap.Api/MappingHelper.cs | Solution/Chiro.Gap.Api/MappingHelper.cs | /*
* Copyright 2017 Chirojeugd-Vlaanderen vzw. See the NOTICE file at the
* top-level directory of this distribution, and at
* https://gapwiki.chiro.be/copyright
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | /*
* Copyright 2017 Chirojeugd-Vlaanderen vzw. See the NOTICE file at the
* top-level directory of this distribution, and at
* https://gapwiki.chiro.be/copyright
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | Remove trailing spaces from stamnummer. | Remove trailing spaces from stamnummer.
| C# | apache-2.0 | Chirojeugd-Vlaanderen/gap,Chirojeugd-Vlaanderen/gap,Chirojeugd-Vlaanderen/gap |
fdd06c58b1d1305e575699a8e3371d070904944f | WebApi/Controllers/LoggingController.cs | WebApi/Controllers/LoggingController.cs | /* Empiria Extensions Framework ******************************************************************************
* *
* Solution : Empiria Extensions Framework System : Empiria Microservices ... | /* Empiria Extensions Framework ******************************************************************************
* *
* Module : Empiria Web Api Component : Base controllers ... | Fix remove logging controller apiKey parameter | Fix remove logging controller apiKey parameter
| C# | agpl-3.0 | Ontica/Empiria.Extended |
2274bf1f10b70248ab249ffd92209a69a4952961 | Papyrus/Papyrus/Extensions/EbookExtensions.cs | Papyrus/Papyrus/Extensions/EbookExtensions.cs | using System;
using System.Threading.Tasks;
using Windows.Storage;
namespace Papyrus
{
public static class EBookExtensions
{
public static async Task<bool> VerifyMimetypeAsync(this EBook ebook)
{
var mimetypeFile = await ebook._rootFolder.GetItemAsync("mimetype");
if (... | using System;
using System.Threading.Tasks;
using Windows.Storage;
namespace Papyrus
{
public static class EBookExtensions
{
public static async Task<bool> VerifyMimetypeAsync(this EBook ebook)
{
bool VerifyMimetypeString(string value) =>
value == "application/epub+... | Use local function to verify mimetype string. | Use local function to verify mimetype string.
| C# | mit | TastesLikeTurkey/Papyrus |
97581d8b6c400ec32d84305a776a4dcba51cc34a | WalletWasabi.Gui/Shell/MainMenu/ToolsMainMenuItems.cs | WalletWasabi.Gui/Shell/MainMenu/ToolsMainMenuItems.cs | using AvalonStudio.MainMenu;
using AvalonStudio.Menus;
using System;
using System.Collections.Generic;
using System.Composition;
using System.Text;
namespace WalletWasabi.Gui.Shell.MainMenu
{
internal class ToolsMainMenuItems
{
private IMenuItemFactory _menuItemFactory;
[ImportingConstructor]
public ToolsMai... | using AvalonStudio.MainMenu;
using AvalonStudio.Menus;
using System;
using System.Collections.Generic;
using System.Composition;
using System.Text;
namespace WalletWasabi.Gui.Shell.MainMenu
{
internal class ToolsMainMenuItems
{
private IMenuItemFactory _menuItemFactory;
[ImportingConstructor]
public ToolsMai... | Rename GenerateWallet menuitem to WalletManager | Rename GenerateWallet menuitem to WalletManager
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
9445ca7de83913d883383fe7a291ebddace23285 | WalletWasabi/JsonConverters/ExtPubKeyJsonConverter.cs | WalletWasabi/JsonConverters/ExtPubKeyJsonConverter.cs | using NBitcoin;
using Newtonsoft.Json;
using System;
namespace WalletWasabi.JsonConverters
{
public class ExtPubKeyJsonConverter : JsonConverter
{
/// <inheritdoc />
public override bool CanConvert(Type objectType)
{
return objectType == typeof(ExtPubKey);
}
/// <inheritdoc />
public override object... | using NBitcoin;
using Newtonsoft.Json;
using System;
namespace WalletWasabi.JsonConverters
{
public class ExtPubKeyJsonConverter : JsonConverter
{
/// <inheritdoc />
public override bool CanConvert(Type objectType)
{
return objectType == typeof(ExtPubKey);
}
/// <inheritdoc />
public override object... | Save xpub instead of hex (wallet compatibility) | Save xpub instead of hex (wallet compatibility)
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
23d1663efb133f10d52980b0ae7cec2a908512cf | drivers/AgateWinForms/FormsInterop.cs | drivers/AgateWinForms/FormsInterop.cs | using System;
using System.Collections.Generic;
using System.Text;
using Draw = System.Drawing;
using Geo = ERY.AgateLib.Geometry;
namespace ERY.AgateLib.WinForms
{
public static class FormsInterop
{
public static Draw.Rectangle ToRectangle(Geo.Rectangle rect)
{
return n... | using System;
using System.Collections.Generic;
using System.Text;
using Draw = System.Drawing;
using ERY.AgateLib.Geometry;
namespace ERY.AgateLib.WinForms
{
public static class FormsInterop
{
public static Draw.Color ConvertColor(Color clr)
{
return Draw.Color.FromArgb... | Add converters for System.Drawing structures. | Add converters for System.Drawing structures. | C# | mit | eylvisaker/AgateLib |
8639ada4cd6e600d3508e93c4b40657ae3c23de2 | Homunculus/MarekMotykaBot/ExtensionsMethods/StringExtensions.cs | Homunculus/MarekMotykaBot/ExtensionsMethods/StringExtensions.cs | using System.Text.RegularExpressions;
namespace MarekMotykaBot.ExtensionsMethods
{
public static class StringExtensions
{
public static string RemoveRepeatingChars(this string inputString)
{
string newString = string.Empty;
char[] charArray = inputString.ToCharArray();
for (int i = 0; i < charArray.Le... | using System.Text.RegularExpressions;
namespace MarekMotykaBot.ExtensionsMethods
{
public static class StringExtensions
{
public static string RemoveRepeatingChars(this string inputString)
{
string newString = string.Empty;
char[] charArray = inputString.ToCharArray();
for (int i = 0; i < charArray.Le... | Allow spaces in !meme command. | Allow spaces in !meme command.
| C# | mit | Ervie/Homunculus |
78da8870a296a1be854933df6ae6806f5670fd90 | libcmdline/Properties/AssemblyInfo.cs | libcmdline/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("li... | 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("li... | Change version to a reasonable value | Change version to a reasonable value
Let's face it. This library is at v0.1.
| C# | isc | sbennett1990/libcmdline |
7507314e0dd5f122a49a3dca3adcaf0bdfa9ffae | VirusTotal.NET/DateTimeParsers/YearMonthDayConverter.cs | VirusTotal.NET/DateTimeParsers/YearMonthDayConverter.cs | using System;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using VirusTotalNET.Exceptions;
namespace VirusTotalNET.DateTimeParsers
{
public class YearMonthDayConverter : DateTimeConverterBase
{
private readonly CultureInfo _culture = new CultureInfo("en-us");
... | using System;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using VirusTotalNET.Exceptions;
namespace VirusTotalNET.DateTimeParsers
{
public class YearMonthDayConverter : DateTimeConverterBase
{
private readonly CultureInfo _culture = new CultureInfo("en-us");
... | Fix a bug where dates are sometimes '-' | Fix a bug where dates are sometimes '-'
| C# | apache-2.0 | Genbox/VirusTotal.NET |
c69e88eb97b90c73b3e2dcd2bebe18c8aa4b8540 | osu.Game/Configuration/ScoreMeterType.cs | osu.Game/Configuration/ScoreMeterType.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.ComponentModel;
namespace osu.Game.Configuration
{
public enum ScoreMeterType
{
[Description("None")]
None,
[Description("... | // 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.ComponentModel;
namespace osu.Game.Configuration
{
public enum ScoreMeterType
{
[Description("None")]
None,
[Description("... | Add more types to dropdown | Add more types to dropdown
| C# | mit | johnneijzen/osu,smoogipooo/osu,NeoAdonis/osu,NeoAdonis/osu,EVAST9919/osu,2yangk23/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,2yangk23/osu,johnneijzen/osu,peppy/osu |
02a7ada6f13de462989a252a098e2143fb7fbb9d | AudioWorks/src/AudioWorks.Common/ConfigurationManager.cs | AudioWorks/src/AudioWorks.Common/ConfigurationManager.cs | using System;
using System.IO;
using System.Reflection;
using JetBrains.Annotations;
using Microsoft.Extensions.Configuration;
namespace AudioWorks.Common
{
/// <summary>
/// Manages the retrieval of configuration settings from disk.
/// </summary>
public static class ConfigurationManager
{
... | using System;
using System.IO;
using System.Reflection;
using JetBrains.Annotations;
using Microsoft.Extensions.Configuration;
namespace AudioWorks.Common
{
/// <summary>
/// Manages the retrieval of configuration settings from disk.
/// </summary>
public static class ConfigurationManager
{
... | Correct issue where settings.json cannot be found when using a shadow copied DLL. | Correct issue where settings.json cannot be found when using a shadow copied DLL.
| C# | agpl-3.0 | jherby2k/AudioWorks |
7b88cd194a07fc40642642ceca621ac8e8fbc18c | RohlikAPITests/RohlikovacTests.cs | RohlikAPITests/RohlikovacTests.cs | using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RohlikAPI;
namespace RohlikAPITests
{
[TestClass]
public class RohlikovacTests
{
private string[] GetCredentials()
{
string filePath = @"..\..\..\loginPassword.txt";
if (!File.Exists(filePath... | using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RohlikAPI;
namespace RohlikAPITests
{
[TestClass]
public class RohlikovacTests
{
private string[] GetCredentials()
{
string filePath = @"..\..\..\loginPassword.txt";
if (!File.Exists(filePath... | Add test category to authenticated test | Add test category to authenticated test
| C# | mit | xobed/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI,notdev/RohlikAPI,xobed/RohlikAPI |
92a6e6c6bc2a6e978c98efca92dc98b5a457ad8b | dotnet/samples/dotnet_send.cs | dotnet/samples/dotnet_send.cs | using System;
using Reachmail.Easysmtp.Post.Request;
public void Main()
{
var reachmail = Reachmail.Api.Create("<API Token>");
var request = new DeliveryRequest {
FromAddress = "from@from.com",
Recipients = new Recipients {
new Recipient {
Address = "to@to.com"
... | using System;
using Reachmail.Easysmtp.Post.Request;
public void Main()
{
var reachmail = Reachmail.Api.Create("<API Token>");
var request = new DeliveryRequest {
FromAddress = "from@from.com",
Recipients = new Recipients {
new Recipient {
Address = "to@to.com"
... | Tweak to content for display on ES marketing site | Tweak to content for display on ES marketing site
Removed P tags from the HTML content node. | C# | mit | ReachmailInc/WebAPISamples,ReachmailInc/WebAPISamples,ReachmailInc/WebAPISamples,ReachmailInc/WebAPISamples,ReachmailInc/WebAPISamples,ReachmailInc/WebAPISamples,ReachmailInc/WebAPISamples |
aa0ab9952519bc69715d7fb056f4305655a156a3 | ContactsBot/Modules/UserMotd.cs | ContactsBot/Modules/UserMotd.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using Discord;
using Discord.WebSocket;
using Discord.Commands;
using System.Threading.Tasks;
namespace ContactsBot.Modules
{
class UserMotd : IMessageAction
{
private DiscordSocketClient _client;
private Bot... | using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using Discord;
using Discord.WebSocket;
using Discord.Commands;
using System.Threading.Tasks;
namespace ContactsBot.Modules
{
class UserMotd : IMessageAction
{
private DiscordSocketClient _client;
private Bot... | Send message as DM, not default channel | Send message as DM, not default channel
| C# | mit | discord-csharp/Contacts,MarkusGordathian/Contacts |
4151504ed8c6f20e964a862d8ccd9e1f89dad19b | Build/Program.cs | Build/Program.cs | using System;
using Cake.Frosting;
public class Program
{
public static int Main(string[] args)
{
return new CakeHost()
.UseContext<Context>()
.UseLifetime<Lifetime>()
.UseWorkingDirectory("..")
.InstallTool(new Uri("nuget:?package=GitVersio... | using System;
using Cake.Frosting;
public class Program
{
public static int Main(string[] args)
{
return new CakeHost()
.UseContext<Context>()
.UseLifetime<Lifetime>()
.UseWorkingDirectory("..")
.SetToolPath("../tools")
.Install... | Fix tools being installed to wrong path | Fix tools being installed to wrong path
| C# | mit | nvisionative/Dnn.Platform,dnnsoftware/Dnn.Platform,dnnsoftware/Dnn.Platform,bdukes/Dnn.Platform,mitchelsellers/Dnn.Platform,bdukes/Dnn.Platform,mitchelsellers/Dnn.Platform,dnnsoftware/Dnn.Platform,valadas/Dnn.Platform,mitchelsellers/Dnn.Platform,mitchelsellers/Dnn.Platform,dnnsoftware/Dnn.Platform,valadas/Dnn.Platform,... |
8eec4001efcb93098ef2fa657a3e174925f2f218 | WalletWasabi.Fluent/ViewModels/AddWalletPageViewModel.cs | WalletWasabi.Fluent/ViewModels/AddWalletPageViewModel.cs | using System.Reactive.Linq;
using ReactiveUI;
using System;
namespace WalletWasabi.Fluent.ViewModels
{
public class AddWalletPageViewModel : NavBarItemViewModel
{
private string _walletName = "";
private bool _optionsEnabled;
public AddWalletPageViewModel(NavigationStateViewModel navigationState) : base(navig... | using System.Reactive.Linq;
using ReactiveUI;
using System;
using System.Windows.Input;
namespace WalletWasabi.Fluent.ViewModels
{
public class AddWalletPageViewModel : NavBarItemViewModel
{
private string _walletName = "";
private bool _optionsEnabled;
public AddWalletPageViewModel(NavigationStateViewModel n... | Add back and cancel button commands | Add back and cancel button commands
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
f05ce1b951319683455bfc3d31a94668393c396b | Project/Util/SharedStructures.cs | Project/Util/SharedStructures.cs | using System.Collections.Generic;
namespace Kazyx.RemoteApi
{
/// <summary>
/// Response of getMethodTypes API.
/// </summary>
public class MethodType
{
/// <summary>
/// Name of API
/// </summary>
public string Name { set; get; }
/// <summary>
/// R... | using System.Collections.Generic;
using System.Linq;
namespace Kazyx.RemoteApi
{
/// <summary>
/// Response of getMethodTypes API.
/// </summary>
public class MethodType
{
/// <summary>
/// Name of API
/// </summary>
public string Name { set; get; }
/// <sum... | Use SequenceEqual and check null | Use SequenceEqual and check null
| C# | mit | kazyx/kz-remote-api |
4a9bc29971ff72ac9f7eef8f6aaca7ba47f2e849 | CefSharp.Wpf.Example/Handlers/GeolocationHandler.cs | CefSharp.Wpf.Example/Handlers/GeolocationHandler.cs | // Copyright © 2010-2016 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Windows;
namespace CefSharp.Wpf.Example.Handlers
{
internal class GeolocationHandler : IGeolocationHandler
{
... | // Copyright © 2010-2016 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Windows;
namespace CefSharp.Wpf.Example.Handlers
{
internal class GeolocationHandler : IGeolocationHandler
{
... | Update the GelocationHandler example - seems people are still struggling with the callback concept. | Update the GelocationHandler example - seems people are still struggling with the callback concept.
| C# | bsd-3-clause | jamespearce2006/CefSharp,jamespearce2006/CefSharp,jamespearce2006/CefSharp,Livit/CefSharp,Livit/CefSharp,Livit/CefSharp,jamespearce2006/CefSharp,jamespearce2006/CefSharp,Livit/CefSharp |
56a68b664a39d62c910502f5beaf5e9dda66e8ed | MonoHaven.Client/UI/Remote/ServerInventoryWidget.cs | MonoHaven.Client/UI/Remote/ServerInventoryWidget.cs | using System.Drawing;
using MonoHaven.UI.Widgets;
namespace MonoHaven.UI.Remote
{
public class ServerInventoryWidget : ServerWidget
{
public static ServerWidget Create(ushort id, ServerWidget parent, object[] args)
{
var size = (Point)args[0];
var widget = new InventoryWidget(parent.Widget);
widget.Set... | using System.Drawing;
using MonoHaven.UI.Widgets;
namespace MonoHaven.UI.Remote
{
public class ServerInventoryWidget : ServerWidget
{
public static ServerWidget Create(ushort id, ServerWidget parent, object[] args)
{
var size = (Point)args[0];
var widget = new InventoryWidget(parent.Widget);
widget.Set... | Handle message changing inventory size | Handle message changing inventory size
| C# | mit | k-t/SharpHaven |
e2a9f256b8eba0030eccc05463019aeb81e50dc1 | WebScriptHook.Service/Program.cs | WebScriptHook.Service/Program.cs | using CommandLine;
using System;
using System.IO;
using System.Threading;
using WebScriptHook.Framework;
using WebScriptHook.Framework.BuiltinPlugins;
using WebScriptHook.Framework.Plugins;
using WebScriptHook.Service.Plugins;
namespace WebScriptHook.Service
{
class Program
{
static WebScriptHookCompo... | using CommandLine;
using System;
using System.IO;
using System.Threading;
using WebScriptHook.Framework;
using WebScriptHook.Framework.BuiltinPlugins;
using WebScriptHook.Framework.Plugins;
using WebScriptHook.Service.Plugins;
namespace WebScriptHook.Service
{
class Program
{
static WebScriptHookCompo... | Use polling rate of 30 | Use polling rate of 30
| C# | mit | LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC |
7fd0175d643ad48af596013ce2350d13bef7cce3 | WootzJs.Injection/Context.cs | WootzJs.Injection/Context.cs | using System;
using System.Collections.Generic;
namespace WootzJs.Injection
{
public class Context
{
private ICache cache;
private IDictionary<Type, IBinding> transientBindings;
public Context(Context context = null, ICache cache = null, IDictionary<Type, IBinding> transientBindings =... | using System;
using System.Collections.Generic;
namespace WootzJs.Injection
{
public class Context
{
private ICache cache;
private IDictionary<Type, IBinding> transientBindings;
public Context(Context context = null, ICache cache = null, IDictionary<Type, IBinding> transientBindings =... | Fix handling of transient bindings to accomodate bindings that have been specified for an ancestral type | Fix handling of transient bindings to accomodate bindings that have been specified for an ancestral type
| C# | mit | x335/WootzJs,kswoll/WootzJs,x335/WootzJs,kswoll/WootzJs,x335/WootzJs,kswoll/WootzJs |
2cfd69eebb0e231fbf3c9024354ac0e37ea0c4f9 | assets/CommonAssemblyInfo.cs | assets/CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.4.0.0")]
[assembly: AssemblyFileVersion("1.4.0.0")]
[assembly: AssemblyInformationalVersion("1.4.15")] | using System.Reflection;
[assembly: AssemblyVersion("1.4.0.0")]
[assembly: AssemblyFileVersion("1.4.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")] | Use 1.0.0 as the default informational version so it's easy to spot when it might have been un-patched during a build | Use 1.0.0 as the default informational version so it's easy to spot when it might have been un-patched during a build
| C# | apache-2.0 | merbla/serilog,vossad01/serilog,serilog/serilog,ajayanandgit/serilog,serilog/serilog,skomis-mm/serilog,CaioProiete/serilog,SaltyDH/serilog,richardlawley/serilog,Applicita/serilog,colin-young/serilog,adamchester/serilog,adamchester/serilog,colin-young/serilog,nblumhardt/serilog,zmaruo/serilog,joelweiss/serilog,Jaben/ser... |
5a1f3c9364000fdf905bdd2b773d567367859e12 | Source/Csla.test/Silverlight/Rollback/RollbackTests.cs | Source/Csla.test/Silverlight/Rollback/RollbackTests.cs | #if NUNIT
using NUnit.Framework;
using TestClass = NUnit.Framework.TestFixtureAttribute;
using TestInitialize = NUnit.Framework.SetUpAttribute;
using TestCleanup = NUnit.Framework.TearDownAttribute;
using TestMethod = NUnit.Framework.TestAttribute;
using TestSetup = NUnit.Framework.SetUpAttribute;
#elif MSTEST
... | #if NUNIT
using NUnit.Framework;
using TestClass = NUnit.Framework.TestFixtureAttribute;
using TestInitialize = NUnit.Framework.SetUpAttribute;
using TestCleanup = NUnit.Framework.TearDownAttribute;
using TestMethod = NUnit.Framework.TestAttribute;
using TestSetup = NUnit.Framework.SetUpAttribute;
#elif MSTEST
... | Add Try block. bugid: 623 | Add Try block.
bugid: 623
| C# | mit | MarimerLLC/csla,JasonBock/csla,BrettJaner/csla,ronnymgm/csla-light,rockfordlhotka/csla,jonnybee/csla,ronnymgm/csla-light,BrettJaner/csla,ronnymgm/csla-light,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,jonnybee/csla,jonnybee/csla,JasonBock/csla,rockfordlhotka/csla,BrettJaner/csla,JasonBock/csla |
95ef73bc40b66e5ed00af86f7b67d87271b84793 | bindings/csharp/Context.cs | bindings/csharp/Context.cs | using System;
using System.Runtime.InteropServices;
namespace LibGPhoto2
{
public class Context : Object
{
[DllImport ("libgphoto2.so")]
internal static extern IntPtr gp_context_new ();
public Context ()
{
this.handle = new HandleRef (this, gp_context_new ());
}
[DllImport ("libgphoto2.so")]
int... | using System;
using System.Runtime.InteropServices;
namespace LibGPhoto2
{
public class Context : Object
{
[DllImport ("libgphoto2.so")]
internal static extern IntPtr gp_context_new ();
public Context ()
{
this.handle = new HandleRef (this, gp_context_new ());
}
[DllImport ("libgphoto2.so")]
int... | Remove random context cleanup console output | Remove random context cleanup console output
git-svn-id: 40dd595c6684d839db675001a64203a1457e7319@8996 67ed7778-7388-44ab-90cf-0a291f65f57c
| C# | lgpl-2.1 | gphoto/libgphoto2,gphoto/libgphoto2,msmeissn/libgphoto2,gphoto/libgphoto2,msmeissn/libgphoto2,jbreeden/libgphoto2,thusoy/libgphoto2,jbreeden/libgphoto2,gphoto/libgphoto2,thusoy/libgphoto2,jbreeden/libgphoto2,thusoy/libgphoto2,msmeissn/libgphoto2,thusoy/libgphoto2,jbreeden/libgphoto2,msmeissn/libgphoto2,jbreeden/libgpho... |
2176c0a2bfd28f3daf78be8b04537a86d09de2b6 | Drums/VDrumExplorer.Data/Fields/IField.cs | Drums/VDrumExplorer.Data/Fields/IField.cs | // Copyright 2019 Jon Skeet. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
namespace VDrumExplorer.Data.Fields
{
public interface IField
{
string Description { get; }
FieldPath Path { get; }
ModuleAddress Add... | // Copyright 2019 Jon Skeet. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
namespace VDrumExplorer.Data.Fields
{
public interface IField
{
string Description { get; }
FieldPath Path { get; }
ModuleAddress Add... | Remove redundant specification of public in interface | Remove redundant specification of public in interface
| C# | apache-2.0 | jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode |
70f03052fb4accd42cf8edc3b943b46a044016be | UnityProject/Assets/Scripts/Objects/MessageOnInteract.cs | UnityProject/Assets/Scripts/Objects/MessageOnInteract.cs | using JetBrains.Annotations;
using PlayGroups.Input;
using UI;
using UnityEngine;
public class MessageOnInteract : InputTrigger
{
public string Message;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public override void Interact(GameObject origina... | using JetBrains.Annotations;
using PlayGroups.Input;
using UI;
using UnityEngine;
public class MessageOnInteract : InputTrigger
{
public string Message;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public override void Interact(GameObject origina... | Use ChatRelay instead of UIManager when examining objects | Use ChatRelay instead of UIManager when examining objects
| C# | agpl-3.0 | krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,krille90/unitystation,Necromunger/unitystation,krille90/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation... |
454eec2acfaf731a28d30f2c5d7278486402f54c | src/StackExchange.Exceptional.Shared/Internal/Statics.cs | src/StackExchange.Exceptional.Shared/Internal/Statics.cs | namespace StackExchange.Exceptional.Internal
{
/// <summary>
/// Internal Exceptional static controls, not meant for consumption.
/// This can and probably will break without warning. Don't use the .Internal namespace directly.
/// </summary>
public static class Statics
{
/// <summary>
... | namespace StackExchange.Exceptional.Internal
{
/// <summary>
/// Internal Exceptional static controls, not meant for consumption.
/// This can and probably will break without warning. Don't use the .Internal namespace directly.
/// </summary>
public static class Statics
{
/// <summary>
... | Make sure Settings is never null | Make sure Settings is never null
| C# | apache-2.0 | NickCraver/StackExchange.Exceptional,NickCraver/StackExchange.Exceptional |
01eeda768f72f44f675295a425700bbf5971098e | Mappy/ExtensionMethods.cs | Mappy/ExtensionMethods.cs | namespace Mappy
{
using System;
using System.ComponentModel;
using System.Reactive.Linq;
using System.Reactive.Subjects;
public static class ExtensionMethods
{
public static IObservable<TField> PropertyAsObservable<TSource, TField>(this TSource source, Func<TSource, TField> ac... | namespace Mappy
{
using System;
using System.ComponentModel;
using System.Reactive.Linq;
using System.Reactive.Subjects;
public static class ExtensionMethods
{
public static IObservable<TField> PropertyAsObservable<TSource, TField>(this TSource source, Func<TSource, TField> ac... | Use multicast instead of explicit BehaviourSubject setup | Use multicast instead of explicit BehaviourSubject setup
| C# | mit | MHeasell/Mappy,MHeasell/Mappy |
83297ffc0ed1eaee60cf2e6b8cd8bb6e70b05d70 | Framework/Interface/IMessageRecieverT.cs | Framework/Interface/IMessageRecieverT.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TirkxDownloader.Framework.Interface
{
/// <summary>
/// This interface should be implemented for recieve JSON then parse it and return to caller
/// </summary>
/// <typeparam n... | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace TirkxDownloader.Framework.Interface
{
/// <summary>
/// This interface should be implemented for recieve JSON then parse it and return to caller
/// </summary>
/// <typeparam name="T">Type of message, mus... | Delete stop reciever, to stop receiver use CancellationToken | Delete stop reciever, to stop receiver use CancellationToken
| C# | mit | witoong623/TirkxDownloader,witoong623/TirkxDownloader |
ef2ef28f3fdbb1156f496c8f7bb9c3601a84c534 | NBitcoin/NullableShims.cs | NBitcoin/NullableShims.cs | #if NULLABLE_SHIMS
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
public sealed class MaybeNullWhenAttribute : Attribute
{
public MaybeN... | #if NULLABLE_SHIMS
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
internal sealed class MaybeNullWhenAttribute : Attribute
{
public Mayb... | Change MaybeNullWhenAttribute to internal to remove collision with diagnostics ns | Change MaybeNullWhenAttribute to internal to remove collision with diagnostics ns | C# | mit | NicolasDorier/NBitcoin,MetacoSA/NBitcoin,MetacoSA/NBitcoin |
43ebf710ab0ea438e37c12dee8676b33217a4ef0 | src/Microsoft.AspNet.Server.Kestrel/ServerInformation.cs | src/Microsoft.AspNet.Server.Kestrel/ServerInformation.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Microsoft.AspNet.Hosting.Server;
using Microsoft.Framework.Configuration;
namespace Microsoft.Asp... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Microsoft.AspNet.Hosting.Server;
using Microsoft.Framework.Configuration;
namespace Microsoft.Asp... | Fix regression in reading config | Fix regression in reading config | C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
d79236736579088d02f7c767dbeeab07a2a5b3e4 | Pdelvo.Minecraft.Protocol/Packets/DisplayScoreboard.cs | Pdelvo.Minecraft.Protocol/Packets/DisplayScoreboard.cs | using System;
using Pdelvo.Minecraft.Network;
namespace Pdelvo.Minecraft.Protocol.Packets
{
[PacketUsage(PacketUsage.ServerToClient)]
public class DisplayScoreboard : Packet
{
public byte Position { get; set; }
public string ScoreName { get; set; }
/// <summary>
/// Init... | using System;
using Pdelvo.Minecraft.Network;
namespace Pdelvo.Minecraft.Protocol.Packets
{
[PacketUsage(PacketUsage.ServerToClient)]
public class DisplayScoreboard : Packet
{
public byte Position { get; set; }
public string ScoreName { get; set; }
/// <summary>
/// Init... | Fix display scoreboard packet id | Fix display scoreboard packet id
| C# | mit | pdelvo/Pdelvo.Minecraft |
12dce77d512ec4231ddf5d20a78a9372da500380 | ForecastPCL/Properties/AssemblyInfo.cs | ForecastPCL/Properties/AssemblyInfo.cs | using System.Resources;
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.
[asse... | using System.Resources;
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.
[asse... | Bump assembly version to 2.5.0. | Bump assembly version to 2.5.0.
| C# | mit | jcheng31/DarkSkyApi,jcheng31/ForecastPCL |
b50d3a21f84ef9351bfc2e79b59c81b1dc70ffc2 | binding/TestFairy.iOS/StructsAndEnums.cs | binding/TestFairy.iOS/StructsAndEnums.cs | using System;
using System.Runtime.InteropServices;
using Foundation;
// Generated by Objective Sharpie (https://download.xamarin.com/objective-sharpie/ObjectiveSharpie.pkg)
// > sharpie bind -output TestFairy -namespace TestFairyLib -sdk iphoneos10.1 TestFairy.h
namespace TestFairyLib
{
public static class CFunction... | using System;
using System.Runtime.InteropServices;
using Foundation;
// Generated by Objective Sharpie (https://download.xamarin.com/objective-sharpie/ObjectiveSharpie.pkg)
// > sharpie bind -output TestFairy -namespace TestFairyLib -sdk iphoneos10.1 TestFairy.h
namespace TestFairyLib
{
public static class CFunction... | Use native pointer for format string | Use native pointer for format string
| C# | apache-2.0 | testfairy/testfairy-xamarin |
ab56bce5b15f69667988455feaf760c4eaadc9a6 | osu.Framework/Graphics/UserInterface/DirectorySelectorDirectory.cs | osu.Framework/Graphics/UserInterface/DirectorySelectorDirectory.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.
#nullable disable
using System;
using System.IO;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Input.Events;
using osu.Framework.Ext... | // 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.
#nullable disable
using System;
using System.IO;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Input.Events;
using osu.Framework.Ext... | Fix directory selector crashing when attempting to display a bitlocker locked drive | Fix directory selector crashing when attempting to display a bitlocker locked drive
Closes #5477. Untested.
| C# | mit | peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework |
875bb611c10aad8ef315212f0e21c8c7ae304546 | PinSharp/Http/FormUrlEncodedContent.cs | PinSharp/Http/FormUrlEncodedContent.cs | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
namespace PinSharp.Http
{
internal class FormUrlEncodedContent : ByteArrayContent
{
private static readonly Encoding DefaultHttpEncoding = Encoding.GetEncoding("ISO-8859-1");
... | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
namespace PinSharp.Http
{
internal class FormUrlEncodedContent : ByteArrayContent
{
private static readonly Encoding DefaultHttpEncoding = Encoding.GetEncoding("ISO-8859-1");
... | Fix issue with long data string (e.g. base64) | Fix issue with long data string (e.g. base64)
#13
| C# | unlicense | Krusen/PinSharp |
aa6538fba89c63a93eb4edd026fe366ceb0401df | source/XeroApi/Properties/AssemblyInfo.cs | source/XeroApi/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("XeroApi")]
[assembly: AssemblyDescription... | 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("XeroApi")]
[assembly: AssemblyDescription... | Increment build number to match NuGet | Increment build number to match NuGet
| C# | mit | jcvandan/XeroAPI.Net,TDaphneB/XeroAPI.Net,MatthewSteeples/XeroAPI.Net,XeroAPI/XeroAPI.Net |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.