commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
3701ea2d9fc00a2317d44c2b1da5ea638d142188 | Use new AddPolicyRegistry() overload | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site | src/LondonTravel.Site/Extensions/PollyServiceCollectionExtensions.cs | src/LondonTravel.Site/Extensions/PollyServiceCollectionExtensions.cs | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System;
using System.Net.Http;
using Microsoft.Extensions.DependencyInjection;
using Polly;
using Polly.Extensions.Http;
using Polly.Regist... | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System;
using System.Net.Http;
using Microsoft.Extensions.DependencyInjection;
using Polly;
using Polly.Extensions.Http;
using Polly.Regist... | apache-2.0 | C# |
15b216929076b3be7a2c1ad0822a6cb57eb2dde7 | Remove C# 7.0 features. | eylvisaker/AgateLib | AgateLib.Tests.WinForms/DisplayTests/BasicDrawing/DrawingTester.cs | AgateLib.Tests.WinForms/DisplayTests/BasicDrawing/DrawingTester.cs | // The contents of this file are public domain.
// You may use them as you wish.
//
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace AgateLib.Tests.DisplayTests.BasicDrawing
{
public partial class DrawingTester ... | // The contents of this file are public domain.
// You may use them as you wish.
//
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace AgateLib.Tests.DisplayTests.BasicDrawing
{
public partial class Dr... | mit | C# |
688f48fb2dd09194be9a1d48cf13b7ba00dd2555 | Fix text translations to be non-blocking | atifaziz/WebLinq,atifaziz/WebLinq,weblinq/WebLinq,weblinq/WebLinq | src/Core/Text/TextQuery.cs | src/Core/Text/TextQuery.cs | #region Copyright (c) 2016 Atif Aziz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | #region Copyright (c) 2016 Atif Aziz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | apache-2.0 | C# |
4f60d355bce2da5be6070b1870a31c6b811d8abe | Fix prob 1int= 4byte | cedric-demongivert/unity-voxel | Assets/MeshSaver/Editor/VoxelSaverEditor.cs | Assets/MeshSaver/Editor/VoxelSaverEditor.cs | using UnityEditor;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using org.rnp.voxel.unity.components.meshes;
public static class VoxelSaverEditor
{
[MenuItem("CONTEXT/VoxelMesh/Save VoxelMesh...")]
public static void SaveMeshInPlace(MenuCommand menuCommand... | using UnityEditor;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using org.rnp.voxel.unity.components.meshes;
public static class VoxelSaverEditor
{
[MenuItem("CONTEXT/VoxelMesh/Save VoxelMesh...")]
public static void SaveMeshInPlace(MenuCommand menuCommand... | apache-2.0 | C# |
a18483264002421e88b91d2e85de87fc504b3ca1 | Make the example html.cshtml a little more relevant | amaitland/CefSharp.Owin,amaitland/CefSharp.Owin | CefSharp.Owin.Example.Wpf/Views/Home.cshtml | CefSharp.Owin.Example.Wpf/Views/Home.cshtml | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CefSharp.Own.Example.Wpf</title>
</head>
<body>
<header>
<h1>@Model.Text</h1>
</header>
<section>
<h2>CefSharp + OWIN + Nancy + Razor</h2>
<ul>
<li>No network requests are made, just in memory ... | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CefSharp.Own.Example.Wpf</title>
</head>
<body>
<header>
<h1>@Model.Text</h1>
</header>
<section>
<h2>Backlog</h2>
<ul class="bugs" id="backlog">
<li>a bug</li>
</ul>
</section>
... | mit | C# |
73eec3b9343e5e3ede94034303d18077d1a19c40 | Initialize CommandDispatcher with a list of commands | appharbor/appharbor-cli | src/AppHarbor/CommandDispatcher.cs | src/AppHarbor/CommandDispatcher.cs | using System.Collections.Generic;
namespace AppHarbor
{
public class CommandDispatcher
{
private readonly IEnumerable<ICommand> _commands;
public CommandDispatcher(IEnumerable<ICommand> commands)
{
_commands = commands;
}
}
}
| namespace AppHarbor
{
public class CommandDispatcher
{
public CommandDispatcher()
{
}
}
}
| mit | C# |
268f909930396b01aacf8bb88d357b3d59ad5cd7 | Remove unnecessary null coalescing | ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework/Graphics/Textures/ArrayPoolTextureUpload.cs | osu.Framework/Graphics/Textures/ArrayPoolTextureUpload.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Buffers;
using osu.Framework.Graphics.Primitives;
using osuTK.Graphics.ES30;
using SixLabors.ImageSharp.PixelFormats;
namespace osu.Framework.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Buffers;
using osu.Framework.Graphics.Primitives;
using osuTK.Graphics.ES30;
using SixLabors.ImageSharp.PixelFormats;
namespace osu.Framework.... | mit | C# |
9810ec14f16d262c3b9750a723168f0d9a90338a | Drop unused field | DanielRose/GitVersion,GeertvanHorrik/GitVersion,onovotny/GitVersion,MarkZuber/GitVersion,Philo/GitVersion,JakeGinnivan/GitVersion,distantcam/GitVersion,pascalberger/GitVersion,dpurge/GitVersion,GitTools/GitVersion,ParticularLabs/GitVersion,onovotny/GitVersion,pascalberger/GitVersion,asbjornu/GitVersion,Kantis/GitVersio... | GitFlowVersion/VersionForDirectoryFinder.cs | GitFlowVersion/VersionForDirectoryFinder.cs | namespace GitFlowVersion
{
using LibGit2Sharp;
public class VersionForRepositoryFinder
{
public VersionAndBranch GetVersion(Repository repository)
{
var gitFlowVersionFinder = new GitVersionFinder();
return gitFlowVersionFinder.FindVersion(new GitVersionContext
... | namespace GitFlowVersion
{
using LibGit2Sharp;
public class VersionForRepositoryFinder
{
public SemanticVersion SemanticVersion;
public VersionAndBranch GetVersion(Repository repository)
{
var gitFlowVersionFinder = new GitVersionFinder();
return gitFlowVers... | mit | C# |
8560b0350a8d5b178234b4e11111f8eeaf1876a0 | bump version to 2.4.3.0 | dwmkerr/sharpgl,Nuclearfossil/sharpgl | source/SharpGL/SharedAssemblyInfo.cs | source/SharpGL/SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Dave Kerr")]
[assembly: AssemblyProduct("SharpGL")]
[assembly: AssemblyCopyright("Copyright © Dave Kerr 2019")]
// Version information for an assembly consists of the following fo... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Dave Kerr")]
[assembly: AssemblyProduct("SharpGL")]
[assembly: AssemblyCopyright("Copyright © Dave Kerr 2019")]
// Version information for an assembly consists of the following fo... | mit | C# |
4fa74b70b31e4356c84e0182628f41cf56d6a3d7 | Change name. | JornWildt/Elfisk.ECS,JornWildt/Elfisk.ECS | Elfisk.ECS.Core/Components/NameComponent.cs | Elfisk.ECS.Core/Components/NameComponent.cs | namespace Elfisk.ECS.Core.Components
{
public class NamedComponent : Component
{
public string Name { get; set; }
public NamedComponent(EntityId entityId, string name)
: base(entityId)
{
Name = name;
}
public override string ToString()
{
return $"Name: ... | namespace Elfisk.ECS.Core.Components
{
public class NameComponent : Component
{
public string Name { get; set; }
public NameComponent(EntityId entityId, string name)
: base(entityId)
{
Name = name;
}
public override string ToString()
{
return $"Name: {N... | mit | C# |
fee45ec74cbbae690937005279f8aeed31bd0064 | Rename MiddlewareFunc to MidFunc (idiomatic!) | wtilton/Nancy,Crisfole/Nancy,malikdiarra/Nancy,dbabox/Nancy,dbabox/Nancy,VQComms/Nancy,murador/Nancy,hitesh97/Nancy,danbarua/Nancy,blairconrad/Nancy,felipeleusin/Nancy,guodf/Nancy,tareq-s/Nancy,anton-gogolev/Nancy,AlexPuiu/Nancy,khellang/Nancy,thecodejunkie/Nancy,tparnell8/Nancy,ccellar/Nancy,Worthaboutapig/Nancy,fly19... | src/Nancy/Owin/DelegateExtensions.cs | src/Nancy/Owin/DelegateExtensions.cs | namespace Nancy.Owin
{
using System;
using AppFunc = System.Func<
System.Collections.Generic.IDictionary<string, object>,
System.Threading.Tasks.Task>;
using MidFunc = System.Func<
System.Func<
System.Collections.Generic.IDictionary<string, object>,
... | namespace Nancy.Owin
{
using System;
using AppFunc = System.Func<
System.Collections.Generic.IDictionary<string, object>,
System.Threading.Tasks.Task>;
using MiddlewareFunc = System.Func<
System.Func<
System.Collections.Generic.IDictionary<string, object>,
... | mit | C# |
62e02b319ac4d9bf84374af55bb437686e6585d5 | Include URI in DataPackage when sharing a skin | lmadhavan/lol-handbook | LolHandbook/Pages/ChampionSkinsPage.xaml.cs | LolHandbook/Pages/ChampionSkinsPage.xaml.cs | using DataDragon;
using LolHandbook.ViewModels;
using System;
using System.Collections.Generic;
using Windows.ApplicationModel.DataTransfer;
using Windows.Storage.Streams;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace LolHandbook.Pages
{
public sealed partial c... | using DataDragon;
using LolHandbook.ViewModels;
using System;
using System.Collections.Generic;
using Windows.ApplicationModel.DataTransfer;
using Windows.Storage.Streams;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace LolHandbook.Pages
{
public sealed partial c... | mit | C# |
4d676e3920cfc3a0402dc19a3f5a457f35a1404b | Bump Assembly version. | mskcc/Medidata.RWS.NET,mskcc/Medidata.RWS.NET | Medidata.RWS.NET/Properties/AssemblyInfo.cs | Medidata.RWS.NET/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("Med... | 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("Med... | mit | C# |
877d8cdce2573d86d43a316cd1628c25a16f6091 | Update test case to suit test data | wongjiahau/TTAP-UTAR,wongjiahau/TTAP-UTAR | NUnit.Tests2/Test_StartDateEndDateFinder.cs | NUnit.Tests2/Test_StartDateEndDateFinder.cs | using NUnit.Framework;
using System;
using System.IO;
using Time_Table_Arranging_Program;
using Time_Table_Arranging_Program.Class;
namespace NUnit.Tests2 {
[TestFixture]
public class Test_StartDateEndDateFinder {
string input = Helper.RawStringOfTestFile("SampleData-FAM-2017-2ndSem.html");
[... | using NUnit.Framework;
using System;
using System.IO;
using Time_Table_Arranging_Program;
using Time_Table_Arranging_Program.Class;
namespace NUnit.Tests2 {
[TestFixture]
public class Test_StartDateEndDateFinder {
string input = Helper.RawStringOfTestFile("SampleData-FAM-2017-2ndSem.html");
[... | agpl-3.0 | C# |
a153bc00bcb9092700bd536874df4cfadb076c3f | Use indented json formatting in json content formatter | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/Server/Bit.Owin/Implementations/DefaultJsonContentFormatter.cs | src/Server/Bit.Owin/Implementations/DefaultJsonContentFormatter.cs | using Bit.Core.Contracts;
using Newtonsoft.Json;
namespace Bit.Owin.Implementations
{
public class DefaultJsonContentFormatter : IContentFormatter
{
private static IContentFormatter _current;
public static IContentFormatter Current
{
get
{
if (_... | using Bit.Core.Contracts;
using Newtonsoft.Json;
namespace Bit.Owin.Implementations
{
public class DefaultJsonContentFormatter : IContentFormatter
{
private static IContentFormatter _current;
public static IContentFormatter Current
{
get
{
if (_... | mit | C# |
14e5853f63aa029897de1c76d132c43851187f57 | fix mapp regression tests | charlenni/Mapsui,charlenni/Mapsui | Samples/Mapsui.Samples.Common/AllSamples.cs | Samples/Mapsui.Samples.Common/AllSamples.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Mapsui.Logging;
namespace Mapsui.Samples.Common
{
public static class AllSamples
{
public static IEnumerable<ISample> GetSamples()
{
var type = type... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Mapsui.Logging;
namespace Mapsui.Samples.Common
{
public static class AllSamples
{
public static IEnumerable<ISample> GetSamples()
{
var type = type... | mit | C# |
982569f1e1cde4d14580a2b8ecb03b4c68522928 | Remove dungeons in AdjustPos (#2463) | LtRipley36706/ACE,ACEmulator/ACE,ACEmulator/ACE,LtRipley36706/ACE,ACEmulator/ACE,LtRipley36706/ACE | Source/ACE.Server/Physics/Util/AdjustPos.cs | Source/ACE.Server/Physics/Util/AdjustPos.cs | using System.Collections.Generic;
using System.Numerics;
using ACE.Entity;
namespace ACE.Server.Physics.Util
{
/// <summary>
/// Some dungeons require position adjustments, as well as cell adjustments
/// </summary>
public class AdjustPos
{
public static Dictionary<uint, AdjustPosProfile> D... | using System.Collections.Generic;
using System.Numerics;
using ACE.Entity;
namespace ACE.Server.Physics.Util
{
/// <summary>
/// Some dungeons require position adjustments, as well as cell adjustments
/// </summary>
public class AdjustPos
{
public static Dictionary<uint, AdjustPosProfile> D... | agpl-3.0 | C# |
b13e6fd4425d14c934d4e8fecd2bab987bc4fcf6 | Improve test to avoid potential race condition | Microsoft/ApplicationInsights-SDK-Labs | WCF/Shared.Tests/Integration/OneWayTests.cs | WCF/Shared.Tests/Integration/OneWayTests.cs | using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.Wcf.Tests.Channels;
using Microsoft.ApplicationInsights.Wcf.Tests.Service;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
namespace Microsoft.ApplicationInsights.Wcf.Tests.Integration
{
[Te... | using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.Wcf.Tests.Channels;
using Microsoft.ApplicationInsights.Wcf.Tests.Service;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
namespace Microsoft.ApplicationInsights.Wcf.Tests.Integration
{
[Te... | mit | C# |
7a54a670464af8f42aaae4515614cea8b10bfd88 | add newline on hr when no "real" console is attached | michaelschnyder/StyleCopCmd | StyleCopCmd/Reporter/ConsoleReporter.cs | StyleCopCmd/Reporter/ConsoleReporter.cs | using System;
using StyleCopCmd.Core;
using StyleCopCmd.Reader;
namespace StyleCopCmd.Reporter
{
public class ConsoleReporter : StyleCopIssueReporter
{
private readonly int windowWidth = 150;
private readonly bool hasConsole = false;
public ConsoleReporter()
{
tr... | using System;
using StyleCopCmd.Core;
using StyleCopCmd.Reader;
namespace StyleCopCmd.Reporter
{
public class ConsoleReporter : StyleCopIssueReporter
{
private int windowWidth = 150;
public ConsoleReporter()
{
try
{
if (Console.CursorVisible)
... | mit | C# |
f533226fb54ff3e70ee4771934505778d4800b7a | Remove unused variable | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/AtomicChessPuzzles/DbRepositories/PuzzleRepository.cs | src/AtomicChessPuzzles/DbRepositories/PuzzleRepository.cs | using AtomicChessPuzzles.Models;
using MongoDB.Bson;
using MongoDB.Driver;
using System;
using System.Linq;
namespace AtomicChessPuzzles.DbRepositories
{
public class PuzzleRepository : IPuzzleRepository
{
MongoSettings settings;
IMongoCollection<Puzzle> puzzleCollection;
public Puzzl... | using AtomicChessPuzzles.Models;
using MongoDB.Bson;
using MongoDB.Driver;
using System;
using System.Linq;
namespace AtomicChessPuzzles.DbRepositories
{
public class PuzzleRepository : IPuzzleRepository
{
MongoSettings settings;
IMongoCollection<Puzzle> puzzleCollection;
Random rnd;
... | agpl-3.0 | C# |
97d8d76114ee1e9b3bebb7fca47b42d2676976f5 | Remove database caching of EightBallResponses in GamesService. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Modules/Games/Services/GamesService.cs | src/MitternachtBot/Modules/Games/Services/GamesService.cs | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Threading;
using Mitternacht.Modules.Games.Common;
using Mitternacht.Services;
namespace Mitternacht.Modules.Games.Services {
public class GamesService : IMService {
private readonly IBotConfigProvider _bcp;
public readonly Concur... | using System;
using System.Collections.Concurrent;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using Mitternacht.Modules.Games.Common;
using Mitternacht.Services;
namespace Mitternacht.Modules.Games.Services {
public class GamesService : IMService {
private readonly IBotConfigProv... | mit | C# |
2663f135d7ea104b85dc10b642e52ba2369fb353 | Fix build break. | chromium/vs-chromium,chromium/vs-chromium,chromium/vs-chromium,chromium/vs-chromium | src/Server/FileSystemDatabase/IFileContentsMemoization.cs | src/Server/FileSystemDatabase/IFileContentsMemoization.cs | // Copyright 2014 The Chromium 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 VsChromium.Server.FileSystemContents;
using VsChromium.Server.FileSystemNames;
namespace VsChromium.Server.FileSystemDatabase {
interface... | // Copyright 2014 The Chromium 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 VsChromium.Server.FileSystemContents;
using VsChromium.Server.FileSystemNames;
namespace VsChromium.Server.FileSystemDatabase {
interface... | bsd-3-clause | C# |
b240ed88b9456ff8f811b8f91341793eff171a60 | Add default macOS install location | droyad/Assent | src/Assent/Reporters/DiffPrograms/VsCodeDiffProgram.cs | src/Assent/Reporters/DiffPrograms/VsCodeDiffProgram.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Assent.Reporters.DiffPrograms
{
public class VsCodeDiffProgram : DiffProgramBase
{
static VsCodeDiffProgram()
{
var paths = new List<string>();
if (DiffReporter.IsWindows)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Assent.Reporters.DiffPrograms
{
public class VsCodeDiffProgram : DiffProgramBase
{
static VsCodeDiffProgram()
{
var paths = new List<string>();
if (DiffReporter.IsWindows)
{
... | mit | C# |
d43813a024784e32d3faed90c5e02143edb70f18 | add a failing test for testing build | nunit/nunit,OmicronPersei/nunit,NikolayPianikov/nunit,pflugs30/nunit,jnm2/nunit,jadarnel27/nunit,nivanov1984/nunit,pcalin/nunit,Green-Bug/nunit,JohanO/nunit,JohanO/nunit,appel1/nunit,jnm2/nunit,Suremaker/nunit,ChrisMaddock/nunit,agray/nunit,agray/nunit,agray/nunit,appel1/nunit,Suremaker/nunit,danielmarbach/nunit,pflugs... | src/NUnitFramework/tests/Assertions/AssertPassTests.cs | src/NUnitFramework/tests/Assertions/AssertPassTests.cs | // ***********************************************************************
// Copyright (c) 2009 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | // ***********************************************************************
// Copyright (c) 2009 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | mit | C# |
42e3ba819c5e6909a448817e5e76294a24dc899e | Throw an exception if InnerResolve returns null | Fody/PropertyChanged,user1568891/PropertyChanged | PropertyChanged.Fody/TypeResolver.cs | PropertyChanged.Fody/TypeResolver.cs | using System;
using System.Collections.Generic;
using Mono.Cecil;
public partial class ModuleWeaver
{
Dictionary<string, TypeDefinition> definitions = new Dictionary<string, TypeDefinition>();
public TypeDefinition Resolve(TypeReference reference)
{
TypeDefinition definition;
if (definiti... | using System;
using System.Collections.Generic;
using Mono.Cecil;
public partial class ModuleWeaver
{
Dictionary<string, TypeDefinition> definitions = new Dictionary<string, TypeDefinition>();
public TypeDefinition Resolve(TypeReference reference)
{
TypeDefinition definition;
if (definiti... | mit | C# |
976145f97d048a14c626d68cbd9262723b0bac41 | update version | ceee/ReadSharp,alexeib/ReadSharp | ReadSharp/Properties/AssemblyInfo.cs | ReadSharp/Properties/AssemblyInfo.cs | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ReadSharp")]
[assembly: AssemblyDescription("Extract meaningful website contents... | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ReadSharp")]
[assembly: AssemblyDescription("Extract meaningful website contents... | mit | C# |
2deafeff0f9d7af66096693f1d4b39d028a1573f | remove unused locator | Intelliflo/JustSaying,Intelliflo/JustSaying,eric-davis/JustSaying | JustEat.Simples.NotificationStack/Lookups/IPublishEndpointProvider.cs | JustEat.Simples.NotificationStack/Lookups/IPublishEndpointProvider.cs | using System;
using JustEat.Simples.NotificationStack.Messaging;
namespace JustEat.Simples.NotificationStack.Stack.Lookups
{
public interface IPublishEndpointProvider
{
string GetLocationName(string location);
}
public class SnsPublishEndpointProvider : IPublishEndpointProvider
{
... | using System;
using JustEat.Simples.NotificationStack.Messaging;
namespace JustEat.Simples.NotificationStack.Stack.Lookups
{
public interface IPublishEndpointProvider
{
string GetLocationEndpoint(string location);
string GetLocationName(string location);
}
public class SnsPublishEndpo... | apache-2.0 | C# |
51fcb19c364e2bded12799fc70cc54a1daa80a6c | add new stops | jmrnilsson/efpad,jmrnilsson/efpad,jmrnilsson/efpad,jmrnilsson/efpad | Scaffold/Program.cs | Scaffold/Program.cs | using System;
using System.Linq;
using System.Diagnostics;
using System.Collections.Generic;
using Microsoft.Data.Entity;
namespace Scaffold
{
public class Program
{
public static void Main()
{
using (var db = new blogContext())
{
Console.WriteLine("Start... | using System;
using System.Linq;
using System.Diagnostics;
using System.Collections.Generic;
using Microsoft.Data.Entity;
namespace Scaffold
{
public class Program
{
public static void Main()
{
using (var db = new blogContext())
{
Console.WriteLine("Start... | mit | C# |
f24938416991ad6d7747fc2368e3077fde665a5a | fix typo in Guard | perrich/Hangfire.MemoryStorage | src/Hangfire.MemoryStorage/Utilities/Guard.cs | src/Hangfire.MemoryStorage/Utilities/Guard.cs | using System;
namespace Hangfire.MemoryStorage.Utilities
{
public static class Guard
{
public static void ArgumentNotNull(object argument, string name)
{
if (argument == null)
throw new ArgumentException("Argument " + name + " should not be null!");
}
... | using System;
namespace Hangfire.MemoryStorage.Utilities
{
public static class Guard
{
public static void ArgumentNotNull(object argument, string name)
{
if (argument == null)
throw new ArgumentException("Argment " + name + " should not be null!");
}
... | apache-2.0 | C# |
7a00c5fc09cb2d52188ab6d39c373b2de79cbd11 | Increase size since we add something to the max. 20 chars coming from the request. | jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr | src/HelloCoreClrApp/Data/Entities/Greeting.cs | src/HelloCoreClrApp/Data/Entities/Greeting.cs | using System;
using System.ComponentModel.DataAnnotations;
namespace HelloCoreClrApp.Data.Entities
{
public class Greeting
{
[Key]
public Guid GreetingId { get; set; }
[Required]
[MaxLength(30)]
public string Name { get; set; }
[Required]
public DateTim... | using System;
using System.ComponentModel.DataAnnotations;
namespace HelloCoreClrApp.Data.Entities
{
public class Greeting
{
[Key]
public Guid GreetingId { get; set; }
[Required]
[MaxLength(20)]
public string Name { get; set; }
[Required]
public DateTim... | mit | C# |
3ac50aad29e059165ca199e58c927de7017a2531 | Add JsonBody extension method so that you can send a json body request | tparnell8/Nancy,charleypeng/Nancy,murador/Nancy,fly19890211/Nancy,sadiqhirani/Nancy,duszekmestre/Nancy,dbabox/Nancy,Novakov/Nancy,Worthaboutapig/Nancy,sroylance/Nancy,sloncho/Nancy,VQComms/Nancy,jongleur1983/Nancy,ayoung/Nancy,hitesh97/Nancy,SaveTrees/Nancy,adamhathcock/Nancy,duszekmestre/Nancy,vladlopes/Nancy,dbolkens... | src/Nancy.Testing/BrowserContextExtensions.cs | src/Nancy.Testing/BrowserContextExtensions.cs | namespace Nancy.Testing
{
using Nancy.Json;
/// <summary>
/// Defines extensions for the <see cref="BrowserContext"/> type.
/// </summary>
public static class BrowserContextExtensions
{
/// <summary>
/// Adds a multipart/form-data encoded request body to the <see cref... | namespace Nancy.Testing
{
/// <summary>
/// Defines extensions for the <see cref="BrowserContext"/> type.
/// </summary>
public static class BrowserContextExtensions
{
/// <summary>
/// Adds a multipart/form-data encoded request body to the <see cref="Browser"/>, using the d... | mit | C# |
e2cadb6d0e1b5b2fa47c9f55cef0cabd2e73eb7d | Update ValuesOut.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.LastVisitedMRU/ValuesOut.cs | RegistryPlugin.LastVisitedMRU/ValuesOut.cs | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.LastVisitedMRU
{
public class ValuesOut:IValueOut
{
public ValuesOut(string valueName, string executable, string directory, int mruPosition,
DateTimeOffset? openedOn)
{
Executable = executable;
... | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.LastVisitedMRU
{
public class ValuesOut:IValueOut
{
public ValuesOut(string valueName, string executable, string directory, int mruPosition,
DateTimeOffset? openedOn)
{
Executable = executable;
... | mit | C# |
2fb484abfc2bb1f678b9c7ce8f23c968f8716620 | Work begin on program to test different algorithms for shifting arrays | BoykoNeov/SoftUni---Programming-fundamentals-May-2017 | ArraysAndlists/RotateArray/RotateArray.cs | ArraysAndlists/RotateArray/RotateArray.cs | // Program for rotating arrays using different Algorithms
using System;
using System.Linq;
public class RotateArray
{
public static void Main()
{
// Reads ints from the Console and converts them to an array of ints
Console.WriteLine("Please enter array of integers (integers separated by spac... | // Program for rotating arrays using different Algorithms
using System;
using System.Linq;
public class RotateArray
{
public static void Main()
{
// Reads ints from the Console and converts them to an array of ints
Console.WriteLine("Please enter array of integers (integers separated by spaces)");
... | mit | C# |
cfd6b18e4f7d1e3e68d57e290ef0b8b4bd919e0d | Add BlockSpecificAction.OnBlockSelected event | spaar/automatron-mod,spaar/automatron-mod | Automatron/Actions/BlockSpecificAction.cs | Automatron/Actions/BlockSpecificAction.cs | using System;
using spaar.ModLoader;
using UnityEngine;
namespace spaar.Mods.Automatron.Actions
{
public delegate void OnBlockSelected(BlockBehaviour block);
public abstract class BlockSpecificAction : Action
{
protected Guid block;
protected bool selectingBlock = false;
private Rect selectingInfo... | using System;
using spaar.ModLoader;
using UnityEngine;
namespace spaar.Mods.Automatron.Actions
{
public abstract class BlockSpecificAction : Action
{
protected Guid block;
protected bool selectingBlock = false;
private Rect selectingInfoRect = new Rect(200, 800, 500, 100);
private int selectingI... | mit | C# |
15a81a5aecc726cfa78dd6d52c0b8d7dc4a39ac8 | Fix links (was copied over from an MVC6 project) | SSkovboiSS/RefactoringEssentials,SSkovboiSS/RefactoringEssentials,olathunberg/RefactoringEssentials,olathunberg/RefactoringEssentials,icsharpcode/RefactoringEssentials,icsharpcode/RefactoringEssentials,cstick/RefactoringEssentials,Rpinski/RefactoringEssentials,Rpinski/RefactoringEssentials,cstick/RefactoringEssentials | CodeConverterWebApp/Views/Shared/_Layout.cshtml | CodeConverterWebApp/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Code Converter by Refactoring Essentials</title>
<link rel="stylesheet" href="~/Content/bootstrap.min.css"/>
<link rel="stylesheet" href="~/Con... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Code Converter by Refactoring Essentials</title>
<link rel="stylesheet" href="~/Content/bootstrap.min.css"/>
<link rel="stylesheet" href="~/Con... | mit | C# |
b30d05074191cf692ae09ca66ce2fbfefb8b7858 | Set up page module | VictorNicollet/SocialToolBox | SocialToolBox.Sample.Web/SocialModules.cs | SocialToolBox.Sample.Web/SocialModules.cs | using SocialToolBox.Cms.Page;
using SocialToolBox.Core.Database;
using SocialToolBox.Core.Entity;
using SocialToolBox.Core.Entity.Web;
using SocialToolBox.Core.Mocks.Database;
using SocialToolBox.Core.Present.Bootstrap3;
using SocialToolBox.Core.Present.RenderingStrategy;
using SocialToolBox.Core.Web;
using SocialTool... | using SocialToolBox.Core.Database;
using SocialToolBox.Core.Entity;
using SocialToolBox.Core.Entity.Web;
using SocialToolBox.Core.Mocks.Database;
using SocialToolBox.Core.Present.Bootstrap3;
using SocialToolBox.Core.Present.RenderingStrategy;
using SocialToolBox.Core.Web;
using SocialToolBox.Crm.Contact;
namespace So... | mit | C# |
826ba34281f74bf7825e5fe88483f70d5bdba840 | Fix test line endings | martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode | tests/AdventOfCode.Tests/CharacterRecognitionTests.cs | tests/AdventOfCode.Tests/CharacterRecognitionTests.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode;
public static class CharacterRecognitionTests
{
[Fact]
public static void Can_Parse_Characters()... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode;
public static class CharacterRecognitionTests
{
[Fact]
public static void Can_Parse_Characters()... | apache-2.0 | C# |
4c9570dd021fb0af32b3cb0c8a130fb88d07d674 | Fix code style issue | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/GUI/CommandInterpreterTest.cs | WalletWasabi.Tests/UnitTests/GUI/CommandInterpreterTest.cs | using Mono.Options;
using System.IO;
using WalletWasabi.Gui.CommandLine;
using Xunit;
namespace WalletWasabi.Tests.UnitTests
{
public class CommandInterpreterTest
{
[Fact]
public async void CommandInterpreterShowsHelpAsync()
{
var textWriter = new StringWriter();
var c = new CommandInterpreter(textWriter... | using Mono.Options;
using System.IO;
using WalletWasabi.Gui.CommandLine;
using Xunit;
namespace WalletWasabi.Tests.UnitTests
{
public class CommandInterpreterTest
{
[Fact]
public async void CommandInterpreterShowsHelpAsync()
{
var textWriter = new StringWriter();
var c = new CommandInterpreter(textWriter... | mit | C# |
d9e03e4ed7fcbba3ae0cf07e6ab42fe61a5575af | Fix harmony patch | gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer | LmpClient/Harmony/OrbitDriver_TrackRigidbody.cs | LmpClient/Harmony/OrbitDriver_TrackRigidbody.cs | using Harmony;
using LmpCommon.Enums;
// ReSharper disable All
namespace LmpClient.Harmony
{
/// <summary>
/// This harmony patch is intended to call TrackRigidbody correctly when the vessel is kinematic
/// If you don't run this patch, then the vessels controlled by other players will have an incorrect ... | using Harmony;
using LmpCommon.Enums;
// ReSharper disable All
namespace LmpClient.Harmony
{
/// <summary>
/// This harmony patch is intended to call TrackRigidbody when the vessel is kinematic
/// If you don't run this patch, then the vessels controlled by other players will have an incorrect obt speed.... | mit | C# |
f7c1a8c7685d1a1aaf8155c419d04ae1c3303fa6 | Remove Account from the filter state persistence | Benrnz/BudgetAnalyser | BudgetAnalyser.Engine/Statement/PersistentFiltersV1.cs | BudgetAnalyser.Engine/Statement/PersistentFiltersV1.cs | using System;
using Rees.UserInteraction.Contracts;
namespace BudgetAnalyser.Engine.Statement
{
public class PersistentFiltersV1 : IPersistent
{
public DateTime? BeginDate { get; set; }
public DateTime? EndDate { get; set; }
public int LoadSequence => 50;
}
} | using System;
using BudgetAnalyser.Engine.BankAccount;
using Rees.UserInteraction.Contracts;
namespace BudgetAnalyser.Engine.Statement
{
public class PersistentFiltersV1 : IPersistent
{
public Account Account { get; set; }
public DateTime? BeginDate { get; set; }
public DateTime? EndDa... | mit | C# |
77dfb39e8d77678961dd11d7d86d56dafb35d11a | Fix CzechRepublic translations | tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date | Src/Nager.Date/PublicHolidays/CzechRepublicProvider.cs | Src/Nager.Date/PublicHolidays/CzechRepublicProvider.cs | using Nager.Date.Model;
using System.Collections.Generic;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
public class CzechRepublicProvider : CatholicBaseProvider
{
public override IEnumerable<PublicHoliday> Get(int year)
{
//Czech Republic
//https://en.wikipe... | using Nager.Date.Model;
using System.Collections.Generic;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
public class CzechRepublicProvider : CatholicBaseProvider
{
public override IEnumerable<PublicHoliday> Get(int year)
{
//Czech Republic
//https://en.wikipe... | mit | C# |
db644786b7424823b37d01410da8c60b102980d5 | Add FormatEscaped extension method | arfbtwn/hyena,arfbtwn/hyena,dufoli/hyena,dufoli/hyena,GNOME/hyena,GNOME/hyena | Hyena.Gui/Hyena.Gui/PangoExtensions.cs | Hyena.Gui/Hyena.Gui/PangoExtensions.cs | //
// PangoExtensions.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright 2009 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restrictio... | //
// PangoExtensions.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright 2009 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restrictio... | mit | C# |
17342661f2e92d317fcc6533821835c90f01a20c | Create ready branch. Represents the final step before pushing to master. Master branch from now on will be used only for code which is ready for a pull request. Until the pull request is finalized master branch should not be used for further code pushing. | VasilisMerevis/MSolve,VasilisMerevis/MSolve | ISAAR.MSolve.SamplesConsole/Program.cs | ISAAR.MSolve.SamplesConsole/Program.cs | using ISAAR.MSolve.Analyzers;
using ISAAR.MSolve.Logging;
using ISAAR.MSolve.Matrices;
using ISAAR.MSolve.PreProcessor;
using ISAAR.MSolve.Problems;
using ISAAR.MSolve.Solvers.Skyline;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ISAAR.MSolve.SamplesConsole
{
cla... | using ISAAR.MSolve.Analyzers;
using ISAAR.MSolve.Logging;
using ISAAR.MSolve.Matrices;
using ISAAR.MSolve.PreProcessor;
using ISAAR.MSolve.Problems;
using ISAAR.MSolve.Solvers.Skyline;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ISAAR.MSolve.SamplesConsole
{
cla... | apache-2.0 | C# |
d541cadb2220d2a7987386cd25acc89df755b38e | Remove unnecessary finalizer (cleanup already guaranteed by the SafeHandle) | jeffhostetler/public_libgit2sharp,xoofx/libgit2sharp,yishaigalatzer/LibGit2SharpCheckOutTests,whoisj/libgit2sharp,AArnott/libgit2sharp,oliver-feng/libgit2sharp,AArnott/libgit2sharp,jamill/libgit2sharp,Skybladev2/libgit2sharp,OidaTiftla/libgit2sharp,dlsteuer/libgit2sharp,AMSadek/libgit2sharp,shana/libgit2sharp,rcorre/li... | LibGit2Sharp/Core/ObjectSafeWrapper.cs | LibGit2Sharp/Core/ObjectSafeWrapper.cs | using System;
using LibGit2Sharp.Core.Handles;
namespace LibGit2Sharp.Core
{
internal class ObjectSafeWrapper : IDisposable
{
private readonly GitObjectSafeHandle objectPtr;
public ObjectSafeWrapper(ObjectId id, RepositorySafeHandle handle, bool allowNullObjectId = false)
{
... | using System;
using LibGit2Sharp.Core.Handles;
namespace LibGit2Sharp.Core
{
internal class ObjectSafeWrapper : IDisposable
{
private readonly GitObjectSafeHandle objectPtr;
public ObjectSafeWrapper(ObjectId id, RepositorySafeHandle handle, bool allowNullObjectId = false)
{
... | mit | C# |
63942941b263dcd64b4f5371d4ae0e07c1137e34 | Fix some focus issues with toolbar spin buttons. | PintaProject/Pinta,PintaProject/Pinta,PintaProject/Pinta | Pinta.Core/Extensions/ToolBarWidget.cs | Pinta.Core/Extensions/ToolBarWidget.cs | //
// ToolBarWidget.cs
//
// Author:
// Cameron White <cameronwhite91@gmail.com>
//
// Copyright (c) 2020 Cameron White
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software withou... | //
// ToolBarWidget.cs
//
// Author:
// Cameron White <cameronwhite91@gmail.com>
//
// Copyright (c) 2020 Cameron White
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software withou... | mit | C# |
23c3be0969b3c240d53844221f71928fdaa20520 | Rename variable | EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,ppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/ReverseArrowPiece.cs | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/ReverseArrowPiece.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Audio.Track;
using osu.Framework.Graphics;
using osuTK;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Gr... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Audio.Track;
using osu.Framework.Graphics;
using osuTK;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Gr... | mit | C# |
3203be9eec90bdbe4160195d5a18a5d776df9727 | Add reasoning in 'ZoneMarkerAndSetUpFixture.cs' | ulrichb/SerializationInspections | Src/SerializationInspections.Plugin.Tests/ZoneMarkerAndSetUpFixture.cs | Src/SerializationInspections.Plugin.Tests/ZoneMarkerAndSetUpFixture.cs | using JetBrains.Application.BuildScript.Application.Zones;
using JetBrains.ReSharper.TestFramework;
using JetBrains.TestFramework;
using JetBrains.TestFramework.Application.Zones;
using NUnit.Framework;
using SerializationInspections.Plugin.Tests;
[assembly: RequiresSTA]
namespace SerializationInspections.Plugin.Tes... | using JetBrains.Application.BuildScript.Application.Zones;
using JetBrains.ReSharper.TestFramework;
using JetBrains.TestFramework;
using JetBrains.TestFramework.Application.Zones;
using NUnit.Framework;
using SerializationInspections.Plugin.Tests;
[assembly: RequiresSTA]
namespace SerializationInspections.Plugin.Tes... | mit | C# |
e196df6d5b9972435af8ec9f24655164a3ece9cc | Add target property for InvokeMethod markup extension | KodamaSakuno/Library | Sakuno.UserInterface/Commands/InvokeMethodExtension.cs | Sakuno.UserInterface/Commands/InvokeMethodExtension.cs | using Sakuno.UserInterface.ObjectOperations;
using System;
using System.Windows.Data;
using System.Windows.Markup;
namespace Sakuno.UserInterface.Commands
{
public class InvokeMethodExtension : MarkupExtension
{
string r_Method;
object r_Parameter;
public object Target { get; set; }
... | using Sakuno.UserInterface.ObjectOperations;
using System;
using System.Windows.Data;
using System.Windows.Markup;
namespace Sakuno.UserInterface.Commands
{
public class InvokeMethodExtension : MarkupExtension
{
string r_Method;
object r_Parameter;
public InvokeMethodExtension(string... | mit | C# |
6e8a97de5de006091b69a53599244e8a4ea9c803 | Update TriggerOfT.cs | XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactivity/TriggerOfT.cs | src/Avalonia.Xaml.Interactivity/TriggerOfT.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.ComponentModel;
namespace Avalonia.Xaml.Interactivity
{
/// <summary>
/// A base class for behaviors, implementing the basic p... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.ComponentModel;
namespace Avalonia.Xaml.Interactivity
{
/// <summary>
/// A base class for behaviors, implementing the basic p... | mit | C# |
3313fb3617d1bc7889fa6d772aba82e390e7913a | Update _LoginPartial link to point to the new Login.cshtml #139 | FanrayMedia/Fanray,FanrayMedia/Fanray,FanrayMedia/Fanray | src/Fan.Web/Views/Shared/_LoginPartial.cshtml | src/Fan.Web/Views/Shared/_LoginPartial.cshtml | @using Microsoft.AspNetCore.Identity
@using Fan.Models
@inject SignInManager<User> SignInManager
@inject UserManager<User> UserManager
@if (SignInManager.IsSignedIn(User))
{
<form asp-area="" asp-controller="Account" asp-action="Logout" method="post" id="logoutForm" class="navbar-right">
<ul class="nav n... | @using Microsoft.AspNetCore.Identity
@using Fan.Models
@inject SignInManager<User> SignInManager
@inject UserManager<User> UserManager
@if (SignInManager.IsSignedIn(User))
{
<form asp-area="" asp-controller="Account" asp-action="Logout" method="post" id="logoutForm" class="navbar-right">
<ul class="nav n... | apache-2.0 | C# |
836e75865e438ed4f8b83cb82a9e470e6f1be8c3 | Fix version number for assembly | sergun/Hangfire.Mongo,persi12/Hangfire.Mongo,sergeyzwezdin/Hangfire.Mongo,sergeyzwezdin/Hangfire.Mongo,sergeyzwezdin/Hangfire.Mongo,persi12/Hangfire.Mongo,sergun/Hangfire.Mongo | src/Hangfire.Mongo/Properties/AssemblyInfo.cs | src/Hangfire.Mongo/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("Han... | 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("Han... | mit | C# |
82353cd179d4a96dc462b2d7653852c4423b4731 | Update Clock.cs (#1328) | exercism/xcsharp,robkeim/xcsharp,exercism/xcsharp,robkeim/xcsharp | exercises/clock/Clock.cs | exercises/clock/Clock.cs | using System;
public class Clock
{
public Clock(int hours, int minutes)
{
throw new NotImplementedException("You need to implement this function.");
}
public Clock Add(int minutesToAdd)
{
throw new NotImplementedException("You need to implement this function.");
}
public C... | using System;
public class Clock
{
public Clock(int hours, int minutes)
{
throw new NotImplementedException("You need to implement this function.");
}
public int Hours
{
get
{
throw new NotImplementedException("You need to implement this function.");
}
... | mit | C# |
c0dffbafa165d30af98256a9021d2a24b5dbbc17 | Fix Datastore partial method implementations | jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet,ctaggart/google-cloud-dotnet,benwulfe/google-cloud-dotnet,iantalarico/google-cloud-dotnet,evildour/google-cloud-dotnet,chrisdunelm/gcloud-dotnet,benwulfe/google-cloud-dotnet,iantalarico/google-cloud-dotnet,jskeet/google-cloud-dotnet,evildour/google-cloud-dotnet,chrisd... | apis/Google.Datastore.V1/Google.Datastore.V1/DatastoreClientPartial.cs | apis/Google.Datastore.V1/Google.Datastore.V1/DatastoreClientPartial.cs | // Copyright 2016, Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | // Copyright 2016, Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | apache-2.0 | C# |
b1219d24049db483778ca14a36c510866dd7a87f | update interval tree | justcoding121/Algorithm-Sandbox,justcoding121/Advanced-Algorithms | Algorithm.Sandbox/DataStructures/Tree/AsIntervalTree.cs | Algorithm.Sandbox/DataStructures/Tree/AsIntervalTree.cs | using System;
namespace Algorithm.Sandbox.DataStructures
{
/// <summary>
/// Interval object
/// </summary>
/// <typeparam name="T"></typeparam>
public class AsIntervalTreeNode<T> : IComparable where T : IComparable
{
/// <summary>
/// Start of this interval range
/// ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Algorithm.Sandbox.DataStructures
{
public class AsIntervalTreeNode<T> where T : IComparable
{
public T Start { get; set; }
public T End { get; set; }
internal ... | mit | C# |
94357cc55bb6d82a33611478823f134678c77db9 | Fix bug in test | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/SmartBlockProviderTests.cs | WalletWasabi.Tests/UnitTests/SmartBlockProviderTests.cs | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Memory;
using NBitcoin;
using WalletWasabi.Legal;
using WalletWasabi.Wallets;
using Xunit;
namespace WalletWasabi.Tests.UnitTests
{
public class SmartBlockProviderTests
{
[Fact]
... | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Memory;
using NBitcoin;
using WalletWasabi.Legal;
using WalletWasabi.Wallets;
using Xunit;
namespace WalletWasabi.Tests.UnitTests
{
public class SmartBlockProviderTests
{
[Fact]
... | mit | C# |
35b70dac4ec9c2ee98ca3d0d0d892bef62d01224 | Update CellLinkTypeConverter.cs | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | main/Smartsheet/Api/Internal/Json/CellLinkTypeConverter.cs | main/Smartsheet/Api/Internal/Json/CellLinkTypeConverter.cs | // #[ license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | // #[ license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | apache-2.0 | C# |
b05acb00738ed25463fbdacbee9b7da68ed01f58 | Make `CommentMarkdownTextFlowContainer` render images | ppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu | osu.Game/Overlays/Comments/CommentMarkdownContainer.cs | osu.Game/Overlays/Comments/CommentMarkdownContainer.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 Markdig.Syntax;
using Markdig.Syntax.Inlines;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Game.Graphics.Containers.Markdown;
nam... | // 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 Markdig.Syntax;
using Markdig.Syntax.Inlines;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Game.Graphics.Containers.Markdown;
nam... | mit | C# |
08e72717df70f27de42bffe468e1acebfab67ca8 | Decrease benchmark durations | Catel/Catel.Benchmarks | src/Catel.Benchmarks.Shared/BenchmarkBase.cs | src/Catel.Benchmarks.Shared/BenchmarkBase.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BenchmarkBase.cs" company="Catel development team">
// Copyright (c) 2008 - 2017 Catel development team. All rights reserved.
// </copyright>
// --------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BenchmarkBase.cs" company="Catel development team">
// Copyright (c) 2008 - 2017 Catel development team. All rights reserved.
// </copyright>
// --------------------------------... | mit | C# |
0677373629291e321d8f66ddc94512e03956023b | Add possible (insecure) fix for anti forgery token error: suppress identity heuristics | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner | Zk/Global.asax.cs | Zk/Global.asax.cs | using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using WebMatrix.WebData;
namespace Zk
{
public class MvcApplication : HttpApplication
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.Ig... | using System;
using System.Threading;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Security;
using System.Web.Routing;
using WebMatrix.WebData;
using Zk.Models;
namespace Zk
{
public class MvcApplication : HttpApplication
{
public static void RegisterRoutes... | mit | C# |
2f325dca78e9dfab9c468b3e187d5b11ea99fe36 | Improve TaskItem implementation (for metadata). | KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog | src/StructuredLogger/ObjectModel/TaskItem.cs | src/StructuredLogger/ObjectModel/TaskItem.cs | using System;
using System.Collections;
using System.Collections.Generic;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Logging
{
public class TaskItem : ITaskItem2
{
public string ItemSpec { get; set; }
public Dictionary<string, string> Metadata { get; } = new Dictionar... | using System;
using System.Collections;
using System.Collections.Generic;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Logging
{
public class TaskItem : ITaskItem2
{
public string ItemSpec { get; set; }
public Dictionary<string, string> Metadata { get; } = new Dictionar... | mit | C# |
ce948954372f3f2d44f28cffc4fef9924caff090 | Fix Github issue integration test | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Tests/Tests.Reproduce/GithubIssue3084.cs | src/Tests/Tests.Reproduce/GithubIssue3084.cs | using System;
using System.Threading.Tasks;
using Elastic.Xunit.XunitPlumbing;
using FluentAssertions;
using Nest;
using Tests.Core.Extensions;
using Tests.Core.ManagedElasticsearch.Clusters;
namespace Tests.Reproduce
{
public class GithubIssue3084 : IClusterFixture<WritableCluster>
{
private readonly WritableClus... | using System;
using System.Threading.Tasks;
using Elastic.Xunit.XunitPlumbing;
using FluentAssertions;
using Nest;
using Tests.Core.Extensions;
using Tests.Core.ManagedElasticsearch.Clusters;
namespace Tests.Reproduce
{
public class GithubIssue3084 : IClusterFixture<WritableCluster>
{
private readonly WritableClus... | apache-2.0 | C# |
17ef0565a45b132d179f572c360885eca1c3a907 | Fix false verbiage | rmwatson5/Unicorn,GuitarRich/Unicorn,rmwatson5/Unicorn,GuitarRich/Unicorn,kamsar/Unicorn,kamsar/Unicorn | src/Unicorn/ControlPanel/Controls/Heading.cs | src/Unicorn/ControlPanel/Controls/Heading.cs | using System.Linq;
using System.Reflection;
using System.Web.UI;
using Unicorn.ControlPanel.Headings;
namespace Unicorn.ControlPanel.Controls
{
internal class Heading : IControlPanelControl
{
public bool HasSerializedItems { get; set; }
public bool HasValidSerializedItems { get; set; }
public bool IsAuthentic... | using System.Linq;
using System.Reflection;
using System.Web.UI;
using Unicorn.ControlPanel.Headings;
namespace Unicorn.ControlPanel.Controls
{
internal class Heading : IControlPanelControl
{
public bool HasSerializedItems { get; set; }
public bool HasValidSerializedItems { get; set; }
public bool IsAuthentic... | mit | C# |
a167becff59af7576ca9a057446da8514bffca2e | bump version to 8.9.0-rc. | hfloyd/Umbraco-CMS,umbraco/Umbraco-CMS,KevinJump/Umbraco-CMS,abryukhov/Umbraco-CMS,mattbrailsford/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,dawoe/Umbraco-CMS,madsoulswe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,leekelleher/Umbraco-CMS,JimBobS... | src/SolutionInfo.cs | src/SolutionInfo.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | mit | C# |
5081a23a95d1ee55a7dbaf732c8fcfba99863065 | Update `SLComboboxTests` | atata-framework/atata-samples | SalesforceLightning/AtataSamples.SalesforceLightning/SLComboboxTests.cs | SalesforceLightning/AtataSamples.SalesforceLightning/SLComboboxTests.cs | using Atata;
using NUnit.Framework;
namespace AtataSamples.SalesforceLightning
{
public class SLComboboxTests : UITestFixture
{
[Test]
[Explicit]
public void AsString_GetAndSetValue()
{
var sut = Go.To<ComboboxPage>().StringBasedCombobox;
sut.Should.Be("... | using Atata;
using NUnit.Framework;
namespace AtataSamples.SalesforceLightning
{
public class SLComboboxTests : UITestFixture
{
[Test]
public void AsString_GetAndSetValue()
{
var sut = Go.To<ComboboxPage>().StringBasedCombobox;
sut.Should.Be("In Progress");
... | apache-2.0 | C# |
1514bab3ab53eab41d794806eacab8e2d625fd65 | Remove ThreadStatic from NSApplicationInitializer.initialized | mono/xwt,lytico/xwt,antmicro/xwt | Xwt.XamMac/Xwt.Mac/NSApplicationInitializer.cs | Xwt.XamMac/Xwt.Mac/NSApplicationInitializer.cs | //
// NSApplicationInitializer.cs
//
// Author:
// Lluis Sanchez Gual <lluis@xamarin.com>
//
// Copyright (c) 2016 Xamarin, Inc (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to d... | //
// NSApplicationInitializer.cs
//
// Author:
// Lluis Sanchez Gual <lluis@xamarin.com>
//
// Copyright (c) 2016 Xamarin, Inc (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to d... | mit | C# |
d3228abec5d1d8ed97371973a2ead54295d310ee | Remove unused field gitHubContextService | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.VisualStudio/Commands/OpenFromUrlCommand.cs | src/GitHub.VisualStudio/Commands/OpenFromUrlCommand.cs | using System;
using System.ComponentModel.Composition;
using GitHub.Commands;
using GitHub.Services;
using GitHub.Services.Vssdk.Commands;
using Task = System.Threading.Tasks.Task;
namespace GitHub.VisualStudio.Commands
{
[Export(typeof(IOpenFromUrlCommand))]
public class OpenFromUrlCommand : VsCommand<string... | using System;
using System.ComponentModel.Composition;
using GitHub.Commands;
using GitHub.Services;
using GitHub.Services.Vssdk.Commands;
using Task = System.Threading.Tasks.Task;
namespace GitHub.VisualStudio.Commands
{
[Export(typeof(IOpenFromUrlCommand))]
public class OpenFromUrlCommand : VsCommand<string... | mit | C# |
7ed3fa328f3a904dd084f8375c401ce716a3ec11 | Update layout | henkmollema/StudentFollowingSystem,henkmollema/StudentFollowingSystem | src/StudentFollowingSystem/Views/Shared/_Layout.cshtml | src/StudentFollowingSystem/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - NHL SVS</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
@Html.Action("Menu", "Home")
<div class... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - NHL SVS</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
@Html.Action("Menu", "Home")
<div class... | mit | C# |
cee341c8024f65c9cffb3dfdc2c3c56b9172de97 | Fix typpo | borgmon/ArKitKat | ArKitKat/ArPlaneTools.cs | ArKitKat/ArPlaneTools.cs | // The MIT License(MIT)
// Copyright(c) 2017 Borgmon.me
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR.iOS;
namespace ArKitKat
{
public class PlaneTools : MonoBehaviour
{
public static Vector3 GetRealPosition(ARPlaneAnchor planeAnchor)
{
... | // The MIT License(MIT)
// Copyright(c) 2017 Borgmon.me
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR.iOS;
namespace ArKitKat
{
public static class ArPlaneTools
{
public static Vector3 GetRealPosition(ARPlaneAnchor planeAnchor)
{
... | mit | C# |
a7d3956232569d77cf9243326453b2998f3d2137 | remove debug.log | AcessDeniedAD/ggj2016,AcessDeniedAD/ggj2016 | Assets/Scripts/Enemy1.cs | Assets/Scripts/Enemy1.cs | using UnityEngine;
using System.Collections;
public class Enemy1 : EnnemisMain {
private float timer = 2.1f;
private float timeBetweenAttacks = 2.0f;
private float timeAnimationAttack = 1.0f;
// Use this for initialization
void Start () {
HP = HPInit;
//Init closest tree
target = findClosestTree().tran... | using UnityEngine;
using System.Collections;
public class Enemy1 : EnnemisMain {
private float timer = 2.1f;
private float timeBetweenAttacks = 2.0f;
private float timeAnimationAttack = 1.0f;
// Use this for initialization
void Start () {
HP = HPInit;
//Init closest tree
target = findClosestTree().tran... | cc0-1.0 | C# |
3325b769cac8d11c7d58bdd2eb927f25709b16a1 | Fix an exception message within a DomNodePropertyMatch constructor. | SonyWWS/ATF,JSandusky/ATF,JSandusky/ATF,twainj/ATF,jethac/ATF,blue3k/ATF,mszymczyk/ATF,gelahcem/ATF,SonyWWS/ATF,Nuclearfossil/ATF,blue3k/ATF,twainj/ATF,Nuclearfossil/ATF,SonyWWS/ATF,mindbaffle/ATF,mindbaffle/ATF,mszymczyk/ATF,JSandusky/ATF,Nuclearfossil/ATF,dogdirt2000/ATF,blue3k/ATF,blue3k/ATF,twainj/ATF,twainj/ATF,ge... | Framework/Atf.Core/SearchAndReplace/DomNodePropertyMatch.cs | Framework/Atf.Core/SearchAndReplace/DomNodePropertyMatch.cs | //Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using System.ComponentModel;
namespace Sce.Atf.Dom
{
/// <summary>
/// Class that encapsulates a matching DomNode property, found during a DomNode property query</summary>
public class DomNodePropertyMatch : IQuer... | //Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using System.ComponentModel;
namespace Sce.Atf.Dom
{
/// <summary>
/// Class that encapsulates a matching DomNode property, found during a DomNode property query</summary>
public class DomNodePropertyMatch : IQuer... | apache-2.0 | C# |
73f5db962df459669c3752fc4129a9ee06eed9e6 | Create server side API for single multiple answer question | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | mit | C# |
2c02b56faea02635cd1b6985880ae00dabccbf49 | Fix version number 2.0.3.0 => 2.0.3 | bungeemonkee/Configgy | Configgy/Properties/AssemblyInfo.cs | Configgy/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Configgy")]
[assembly: AssemblyDescription("Configgy: C... | using System.Resources;
using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Configgy")]
[assembly: AssemblyDescription("Configgy: C... | mit | C# |
99e84b895e5a4e8fbe0480ed72cdd98ef674ea4a | fix Upgrade_20220513_UserHolder | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Upgrades/Upgrade_20220513_UserHolder.cs | Signum.Upgrade/Upgrades/Upgrade_20220513_UserHolder.cs | namespace Signum.Upgrade.Upgrades;
class Upgrade_20220513_UserHolder : CodeUpgradeBase
{
public override string Description => "Adapt to UserEntity.Current being Lite";
public override void Execute(UpgradeContext uctx)
{
uctx.ForeachCodeFile("*.cs", file =>
{
file.Replace("User... | namespace Signum.Upgrade.Upgrades;
class Upgrade_20220513_UserHolder : CodeUpgradeBase
{
public override string Description => "Replace UserEntity.Current to Lite";
public override void Execute(UpgradeContext uctx)
{
uctx.ForeachCodeFile("*.cs", file =>
{
file.Replace("Us... | mit | C# |
b79a28ddf753ccbefce07141bcba68d7c0ef2cf5 | Fix multiple transforms test | junlapong/elasticsearch-net,starckgates/elasticsearch-net,RossLieberman/NEST,adam-mccoy/elasticsearch-net,abibell/elasticsearch-net,KodrAus/elasticsearch-net,robrich/elasticsearch-net,gayancc/elasticsearch-net,LeoYao/elasticsearch-net,joehmchan/elasticsearch-net,faisal00813/elasticsearch-net,joehmchan/elasticsearch-net... | src/Tests/Nest.Tests.Unit/Core/Map/Transform/MappingTansformTests.cs | src/Tests/Nest.Tests.Unit/Core/Map/Transform/MappingTansformTests.cs | using Nest.Tests.MockData.Domain;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Nest.Tests.Unit.Core.Map.Transform
{
[TestFixture]
public class MappingTansformTests : BaseJsonTests
{
[T... | using Nest.Tests.MockData.Domain;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Nest.Tests.Unit.Core.Map.Transform
{
[TestFixture]
public class MappingTansformTests : BaseJsonTests
{
[T... | apache-2.0 | C# |
f953896395953a16d1ca65aa3093036ef6858155 | Change reverted | Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex | backend/tools/Migrate_01/OldEvents/ContentUpdateProposed.cs | backend/tools/Migrate_01/OldEvents/ContentUpdateProposed.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | mit | C# |
c5dce92a9f5bd94de328a07845692741e00f073f | Make vector3 immutable | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo | DynamixelServo.Quadruped/Vector3.cs | DynamixelServo.Quadruped/Vector3.cs | namespace DynamixelServo.Quadruped
{
public struct Vector3
{
public readonly float X;
public readonly float Y;
public readonly float Z;
public Vector3(float x, float y, float z)
{
X = x;
Y = y;
Z = z;
}
public static ... | namespace DynamixelServo.Quadruped
{
public struct Vector3
{
public float X;
public float Y;
public float Z;
public Vector3(float x, float y, float z)
{
X = x;
Y = y;
Z = z;
}
public static Vector3 operator +(Vector3 ... | apache-2.0 | C# |
4aac30e7943a46b4cec79077045bec704bf1b2a5 | Prepare release 4.5.4 - update file version. Work Item #1920 | CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork | trunk/Solutions/CslaGenFork/Properties/AssemblyInfo.cs | trunk/Solutions/CslaGenFork/Properties/AssemblyInfo.cs | using System;
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("Csla Generato... | using System;
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("Csla Generato... | mit | C# |
e320cda6443b4db587efd7beaa006b752c13e22b | Refactor to use Krystal.Core | Luke-Wolf/krystal-voicecontrol | Krystal.Voice/Program.cs | Krystal.Voice/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using Krystal.Core;
namespace Krystal.Voice
{
class MyPipeline : UtilMPipeline
{
/*ProcessStartInfo startMusic = new ProcessStartInfo("..\\..\\Media... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication
{
class MyPipeline : UtilMPipeline
{
ProcessStartInfo startMusic = new ProcessStartInfo("..\\..\\Media\\Green Bird.... | apache-2.0 | C# |
244670a05827316a99946c4e3b3178de67236708 | Fix menor de ejemplo | TheXDS/MCART | Examples/PictVGA/MainWindow.xaml.cs | Examples/PictVGA/MainWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | mit | C# |
a42b145544334f7c1702d50a9e2bb9257fd0cd21 | Bump version to 11.2.0.24769 | HearthSim/HearthDb | HearthDb/Properties/AssemblyInfo.cs | HearthDb/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("Hea... | 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("Hea... | mit | C# |
d791d593f88a9fafc46aeb976991be60955ca547 | Truncate unused InternalsVisibleTo | DevExpress/DevExtreme.AspNet.Data,AlekseyMartynov/DevExtreme.AspNet.Data,DevExpress/DevExtreme.AspNet.Data,AlekseyMartynov/DevExtreme.AspNet.Data,AlekseyMartynov/DevExtreme.AspNet.Data,AlekseyMartynov/DevExtreme.AspNet.Data,DevExpress/DevExtreme.AspNet.Data,DevExpress/DevExtreme.AspNet.Data | net/DevExtreme.AspNet.Data/AssemblyInfo.cs | net/DevExtreme.AspNet.Data/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
#if DEBUG
[assembly: InternalsVisibleTo("DevExtreme.AspNet.Data.Tests")]
[assembly: InternalsVisibleTo("DevExtreme.AspNet.Data.Tests.Common")]
#endif
[assembly: CLSCompliant(true)]
#if !DEBUG
[assembly: AssemblyKeyFile("release.snk")]
#en... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
#if DEBUG
[assembly: InternalsVisibleTo("DevExtreme.AspNet.Data.Tests")]
[assembly: InternalsVisibleTo("DevExtreme.AspNet.Data.Tests.Common")]
[assembly: InternalsVisibleTo("DevExtreme.AspNet.Data.Tests.EF6")]
[assembly: InternalsVisibleTo(... | mit | C# |
77b017cf039ac8b6aaea77889050630d65771374 | Switch to kanban by status | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/PurchaseOrders/Index.cshtml | Battery-Commander.Web/Views/PurchaseOrders/Index.cshtml | @{
ViewBag.Title = "Purchase Order Tracker";
}
<div class="page-header">
<h1>@ViewBag.Title</h1>
</div>
<div class="btn-group">
@Html.ActionLink("Add New", "Create", "PurchaseOrders", null, new { @class = "btn btn-default" })
</div>
<!-- AirTable Embed Script for List -->
<iframe class="airtable-embed" ... | @{
ViewBag.Title = "Purchase Order Tracker";
}
<div class="page-header">
<h1>@ViewBag.Title</h1>
</div>
<div class="btn-group">
@Html.ActionLink("Add New", "Create", "PurchaseOrders", null, new { @class = "btn btn-default" })
</div>
<!-- AirTable Embed Script for List -->
<iframe class="airtable-embed" ... | mit | C# |
e3107a7837d595220e8a3b08c8491d1e8383eda4 | Update CreateInstanceForSerial constructor for .NET lib (#183) | Eclo/nf-debugger,nanoframework/nf-debugger | source/nanoFramework.Tools.DebugLibrary.Net/PortDefinitions/PortBase.cs | source/nanoFramework.Tools.DebugLibrary.Net/PortDefinitions/PortBase.cs | //
// Copyright (c) 2017 The nanoFramework project contributors
// See LICENSE file in the project root for full license information.
//
using nanoFramework.Tools.Debugger.PortSerial;
namespace nanoFramework.Tools.Debugger
{
public abstract partial class PortBase
{
public static PortBase CreateInstan... | //
// Copyright (c) 2017 The nanoFramework project contributors
// See LICENSE file in the project root for full license information.
//
using nanoFramework.Tools.Debugger.PortSerial;
namespace nanoFramework.Tools.Debugger
{
public abstract partial class PortBase
{
public static PortBase CreateInstan... | apache-2.0 | C# |
a27f25b216aa16a00fe02616cb4de495b8c0f586 | Fix ChildrenOfType<> early exit for matching types | ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ZLima12/osu-framework | osu.Framework/Testing/TestingExtensions.cs | osu.Framework/Testing/TestingExtensions.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.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Testing
{
public static class Testin... | // 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.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Testing
{
public static class Testin... | mit | C# |
ce46eb12a651a08731292356163275590b131f64 | Split code onto multiple lines for debugging purposes | twxstar/CefSharp,joshvera/CefSharp,wangzheng888520/CefSharp,joshvera/CefSharp,ruisebastiao/CefSharp,jamespearce2006/CefSharp,Octopus-ITSM/CefSharp,Octopus-ITSM/CefSharp,twxstar/CefSharp,rover886/CefSharp,battewr/CefSharp,Haraguroicha/CefSharp,AJDev77/CefSharp,zhangjingpu/CefSharp,battewr/CefSharp,rlmcneary2/CefSharp,Ha... | CefSharp.BrowserSubprocess/CefRenderProcess.cs | CefSharp.BrowserSubprocess/CefRenderProcess.cs | using CefSharp.Internals;
using System.Collections.Generic;
using System.ServiceModel;
namespace CefSharp.BrowserSubprocess
{
public class CefRenderProcess : CefSubProcess, IRenderProcess
{
private DuplexChannelFactory<IBrowserProcess> channelFactory;
private CefBrowserBase browser;
pu... | using CefSharp.Internals;
using System.Collections.Generic;
using System.ServiceModel;
namespace CefSharp.BrowserSubprocess
{
public class CefRenderProcess : CefSubProcess, IRenderProcess
{
private DuplexChannelFactory<IBrowserProcess> channelFactory;
private CefBrowserBase browser;
pu... | bsd-3-clause | C# |
5d9f749894b87671c0923cc71bc58c0f1fc70c7d | Bump to 2.1 | kcjuntunen/ArchivePDF | ArchivePDF/Properties/AssemblyInfo.cs | ArchivePDF/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("Ar... | 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("Ar... | bsd-3-clause | C# |
2d712b4bc391a87d73d6d1e6b9ed8260e32e767a | Bump version. | kyourek/Pagination,kyourek/Pagination,kyourek/Pagination | sln/AssemblyVersion.cs | sln/AssemblyVersion.cs | using System.Reflection;
[assembly: AssemblyVersion("2.0.3")]
| using System.Reflection;
[assembly: AssemblyVersion("2.0.2.1")]
| mit | C# |
09f5378767503a032accdbe9890ccdd28405345e | Use file-scoped namespace | martincostello/alexa-london-travel | src/LondonTravel.Skill/Log.cs | src/LondonTravel.Skill/Log.cs | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using Microsoft.Extensions.Logging;
namespace MartinCostello.LondonTravel.Skill;
/// <summary>
/// A class containing log messages for the skil... | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using Microsoft.Extensions.Logging;
//// TODO Cannot use file-scoped namespace due to https://github.com/dotnet/runtime/issues/57880
namespace ... | apache-2.0 | C# |
aa6b9b9beafefd807602dd75fba2da7e51817c56 | Add support for new custom swagger attributes | JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm | ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperConfig.cs | ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperConfig.cs | // _ _ _ ____ _ _____
// / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
// / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
// / ___ \ | | | (__ | | | || | ___) || |_| __/| ... | // _ _ _ ____ _ _____
// / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
// / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
// / ___ \ | | | (__ | | | || | ___) || |_| __/| ... | apache-2.0 | C# |
92a6a7940225886ca1b575521f6cc7a7d5441fdb | Put link on the product view for subscription. | yyankova/CountryFoodSubscribe,yyankova/CountryFoodSubscribe | CountryFoodSubscribe/CountryFood.Web/Views/Shared/_ProductsPartial.cshtml | CountryFoodSubscribe/CountryFood.Web/Views/Shared/_ProductsPartial.cshtml | @model ICollection<CountryFood.Web.ViewModels.ProductViewModel>
<h3>Products</h3>
@foreach (var product in Model)
{
<div class="panel panel-body">
<div>
<a href="">@product.Name</a>
</div>
<div>
<span>Votes: </span> @(int.Parse(product.PositiveVotes) + int.Parse(prod... | @model ICollection<CountryFood.Web.ViewModels.ProductViewModel>
<h3>Products</h3>
@foreach (var product in Model)
{
<div class="panel panel-body">
<div>
<a href="">@product.Name</a>
</div>
<div>
<span>Votes: </span> @(int.Parse(product.PositiveVotes) + int.Parse(prod... | mit | C# |
d9e4165235d779a262eb7525b54cd2567822f2b6 | Fix a missing using | DotNetKit/DotNetKit.Wpf.Printing | DotNetKit.Wpf.Printing/Windows/Documents/Printables/IDataGridPrintable.cs | DotNetKit.Wpf.Printing/Windows/Documents/Printables/IDataGridPrintable.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using DotNetKit.Windows.Controls;
namespace DotNetKit.Windows.Documents
{
/// <summary>
/// Represents a printable object
/// whose <see cref=... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace DotNetKit.Windows.Documents
{
/// <summary>
/// Represents a printable object
/// whose <see cref="DataTemplate"/> produces a contro... | mit | C# |
7986670ddb7ab2c262fc77a97c0d11038647f523 | Remove HttpClient E2E tests | duracellko/planningpoker4azure,duracellko/planningpoker4azure,duracellko/planningpoker4azure | test/Duracellko.PlanningPoker.E2ETest/EnvironmentDataSourceAttribute.cs | test/Duracellko.PlanningPoker.E2ETest/EnvironmentDataSourceAttribute.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using Duracellko.PlanningPoker.E2ETest.Browser;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Duracellko.PlanningPoker.E2ETest
{
[AttributeUsage(AttributeTargets.Method)]
public sealed class EnvironmentDataSourceAttribute... | using System;
using System.Collections.Generic;
using System.Reflection;
using Duracellko.PlanningPoker.E2ETest.Browser;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Duracellko.PlanningPoker.E2ETest
{
[AttributeUsage(AttributeTargets.Method)]
public sealed class EnvironmentDataSourceAttribute... | mit | C# |
58de51a646e645e964d0ff34d46c94ef38dc1318 | Add a list of path element types to Resolver | Domysee/Pather.CSharp | src/Pather.CSharp/Resolver.cs | src/Pather.CSharp/Resolver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Reflection;
using Pather.CSharp.PathElements;
namespace Pather.CSharp
{
public class Resolver
{
private IList<Type> pathElementTypes;
public Resolver()
{
pathEleme... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Reflection;
namespace Pather.CSharp
{
public class Resolver
{
public object Resolve(object target, string path)
{
var pathElements = path.Split('.');
var tempRe... | mit | C# |
9449a980d6176bf4699ca124b2a5233d9ed78ca7 | write null for JTokenType.Null | JSONAPIdotNET/JSONAPI.NET,danshapir/JSONAPI.NET,SathishN/JSONAPI.NET,SphtKr/JSONAPI.NET | JSONAPI/Core/DecimalAttributeValueConverter.cs | JSONAPI/Core/DecimalAttributeValueConverter.cs | using System;
using System.Globalization;
using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace JSONAPI.Core
{
/// <summary>
/// Implementation of <see cref="IAttributeValueConverter" /> suitable for
/// use converting between decimal CLR properties and string attributes.
... | using System;
using System.Globalization;
using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace JSONAPI.Core
{
/// <summary>
/// Implementation of <see cref="IAttributeValueConverter" /> suitable for
/// use converting between decimal CLR properties and string attributes.
... | mit | C# |
b04c298c2c49ec05a57984d8422370aa74e1f2b9 | Fix null reference exception in CommandStore.cs | Lohikar/XenoBot2 | XenoBot2/CommandStore.cs | XenoBot2/CommandStore.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XenoBot2.Shared;
namespace XenoBot2
{
internal class CommandStore : IEnumerable<KeyValuePair<string,Command>>
{
public static CommandStore Commands;
private readon... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XenoBot2.Shared;
namespace XenoBot2
{
internal class CommandStore : IEnumerable<KeyValuePair<string,Command>>
{
public static CommandStore Commands;
private IDicti... | mit | C# |
65629c1fab875acfc1b2d035ec9b2c919f6d1f30 | Update procfile fixture sample | cloudfoundry-community/.net-buildpack,Hitakashi/.net-buildpack,aidothebrit/dotnet-buildpack,Hitakashi/.net-buildpack,cloudfoundry-community/.net-buildpack,cloudfoundry-community/.net-buildpack,Hitakashi/.net-buildpack,aidothebrit/dotnet-buildpack | spec/fixtures/procfile/myapp-web/Program.cs | spec/fixtures/procfile/myapp-web/Program.cs | using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading;
using Nancy.Hosting.Self;
using Nancy;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Nancy.Diagnostics;
namespace NancyFXSample
{
class MainClass
{
public static void Main (string[] args)
{
var nancyHost = Cr... | using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading;
using Nancy.Hosting.Self;
using Nancy;
namespace NancyFXSample
{
class MainClass
{
public static void Main (string[] args)
{
var baseUri = new Uri (String.Format("http://0.0.0.0:{0}", System.Environment.GetEnvironmentVa... | apache-2.0 | C# |
fada84927d96bda795329f5d2d1d2a599d4a95f7 | Add GetString overload | thefactory/datastore,thefactory/datastore,thefactory/datastore,thefactory/datastore | csharp/TheFactory.Datastore/src/IDatabase.cs | csharp/TheFactory.Datastore/src/IDatabase.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace TheFactory.Datastore {
public interface IDatabase : IDisposable {
IEnumerable<IKeyValuePair> Find(Slice term);
Slice Get(Slice key);
void Put(Slice key, Slice val);
void Delete(Slice key)... | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace TheFactory.Datastore {
public interface IDatabase : IDisposable {
IEnumerable<IKeyValuePair> Find(Slice term);
Slice Get(Slice key);
void Put(Slice key, Slice val);
void Delete(Slice key)... | mit | C# |
834ff63b9bb9197cd5bfb8497312e88c9824dc4b | Fix typo | k-t/SharpHaven | SharpHaven/Client/BuffCollection.cs | SharpHaven/Client/BuffCollection.cs | using System;
using System.Collections;
using System.Collections.Generic;
namespace SharpHaven.Client
{
public class BuffCollection : IEnumerable<Buff>
{
private readonly Dictionary<int, Buff> dict;
public BuffCollection()
{
dict = new Dictionary<int, Buff>();
}
public event Action Changed;
public... | using System;
using System.Collections;
using System.Collections.Generic;
namespace SharpHaven.Client
{
public class BuffCollection : IEnumerable<Buff>
{
private readonly Dictionary<int, Buff> dict;
public BuffCollection()
{
dict = new Dictionary<int, Buff>();
}
public event Action Changed;
public... | mit | C# |
0fe6494f4c700ea463f2c92c4fc8f10eb7fbab2a | Make T covariant | smarkets/IronSmarkets | IronSmarkets/Events/IPayloadEvents.cs | IronSmarkets/Events/IPayloadEvents.cs | // Copyright (c) 2011 Smarkets Limited
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use, copy,
// modify, merge, pu... | // Copyright (c) 2011 Smarkets Limited
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use, copy,
// modify, merge, pu... | mit | C# |
393af5d05d9b5e032a57a4998d1472d202a42ae6 | Update version info | ExtremeGTX/Androidx86-Installer-for-Windows | source/Android_UEFIInstaller/Properties/AssemblyInfo.cs | source/Android_UEFIInstaller/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// ass... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// ass... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.