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 |
|---|---|---|---|---|---|---|---|---|
714b7f367592a8de52b5f18d2504051702b330cd | make the showing more consistent | wfarr/newskit,wfarr/newskit | src/Summa/Summa.Gui/NotificationBar.cs | src/Summa/Summa.Gui/NotificationBar.cs | // NotificationBar.cs
//
// Copyright (c) 2008 Ethan Osten
//
// 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,
// cop... | // NotificationBar.cs
//
// Copyright (c) 2008 Ethan Osten
//
// 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,
// cop... | mit | C# |
0fecad9056f8039b7d3830158643d64ff98fa857 | Fix NRE when emptying fields in the sample's textboxes [#8839] | PlayScriptRedux/monomac,dlech/monomac | samples/PopupBindings/Person.cs | samples/PopupBindings/Person.cs | using System;
using System.Collections.Generic;
using System.Linq;
using MonoMac.Foundation;
using MonoMac.AppKit;
namespace PopupBindings
{
public partial class Person : NSObject
{
Dictionary<string, object> personValues;
static string NAME = "name";
static string AGE = "age";
static string ADDRESS_STREET =... | using System;
using System.Collections.Generic;
using System.Linq;
using MonoMac.Foundation;
using MonoMac.AppKit;
namespace PopupBindings
{
public partial class Person : NSObject
{
Dictionary<string, object> personValues;
static string NAME = "name";
static string AGE = "age";
static string ADDRESS_STREET =... | apache-2.0 | C# |
9e0f3b0629fd49ff7b35cff34e66be99c5bb0a3d | Make thread safe/fast/unique | JetBrains/TeamCity.ServiceMessages | TeamCity.ServiceMessages/src/Write/Special/Impl/Updater/FlowId.cs | TeamCity.ServiceMessages/src/Write/Special/Impl/Updater/FlowId.cs | using System;
using System.Globalization;
using System.Threading;
using JetBrains.TeamCity.ServiceMessages.Annotations;
namespace JetBrains.TeamCity.ServiceMessages.Write.Special.Impl.Updater
{
/// <summary>
/// Helper class to generate FlowIds
/// </summary>
/// //TODO: make as interface and allow to change
... | using System;
using System.Globalization;
using System.Threading;
using JetBrains.TeamCity.ServiceMessages.Annotations;
namespace JetBrains.TeamCity.ServiceMessages.Write.Special.Impl.Updater
{
/// <summary>
/// Helper class to generate FlowIds
/// </summary>
public static class FlowId
{
/// <summary>
... | apache-2.0 | C# |
902086ae6fe933ae6966cb3168b20c7a0cca4262 | Improve control | leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net | Joinrpg/App_Code/SearchableDropdownMvcHelper.cs | Joinrpg/App_Code/SearchableDropdownMvcHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Web.Mvc;
using JoinRpg.Helpers;
namespace JoinRpg.Web
{
public static class SearchableDropdownMvcHelper
{
public static MvcHtmlString SearchableDropdownFor<TModel, TValue>(this HtmlHelper<TModel> sel... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Web.Mvc;
using JoinRpg.Helpers;
namespace JoinRpg.Web
{
public static class SearchableDropdownMvcHelper
{
public static MvcHtmlString SearchableDropdownFor<TModel, TValue>(this HtmlHelper<TModel> sel... | mit | C# |
e2f002e871b7c5d1989a4f5e16dc706a9a8f1a4a | Call 'update' with Delta time | RockyTV/Duality.IronPython | CorePlugin/ScriptExecutor.cs | CorePlugin/ScriptExecutor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Duality;
using RockyTV.Duality.Plugins.IronPython.Resources;
using IronPython.Hosting;
using IronPython.Runtime;
using IronPython.Compiler;
using Microsoft.Scripting;
using Microsoft.Scripting.Hosting;
namespace RockyTV.Duality.Plugins.IronPy... | using System;
using System.Collections.Generic;
using System.Linq;
using Duality;
using 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... | mit | C# |
94e2412e893a5073e82fe9c8a9d9bfee79c03181 | update dependency nuget.commandline to v6.3.1 | FantasticFiasco/mvvm-dialogs | build/build.cake | build/build.cake | #tool nuget:?package=NuGet.CommandLine&version=6.3.1
#load utils.cake
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Re... | #tool nuget:?package=NuGet.CommandLine&version=6.3.0
#load utils.cake
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Re... | apache-2.0 | C# |
da8d88bae55c301e9947d9b7708b439608d42ae1 | update dependency nuget.commandline to v6.2.0 | FantasticFiasco/mvvm-dialogs | build/build.cake | build/build.cake | #tool nuget:?package=NuGet.CommandLine&version=6.2.0
#load utils.cake
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Re... | #tool nuget:?package=NuGet.CommandLine&version=6.1.0
#load utils.cake
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Re... | apache-2.0 | C# |
b11d8951efa8746b6a0caf26b9f4f45e472611ab | Add namespace that shouldn't have been removed in inital sweep | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX | Modix.Services/Core/AuthorizationAutoConfigBehavior.cs | Modix.Services/Core/AuthorizationAutoConfigBehavior.cs | using System;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Modix.Services.Moderation;
namespace Modix.Services.Core
{
/// <summary>
/// Implements a behavior that automatically performs configuration necessary for an <see cref="IAuthorizationService"/> to work.
/// </summar... | using System;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
namespace Modix.Services.Core
{
/// <summary>
/// Implements a behavior that automatically performs configuration necessary for an <see cref="IAuthorizationService"/> to work.
/// </summary>
public class Authorization... | mit | C# |
c12f34b534143e7e517338673e9db9ed734d215d | correct casing of this key | bugsnag/bugsnag-dotnet,bugsnag/bugsnag-dotnet | src/Bugsnag/Report/Breadcrumb.cs | src/Bugsnag/Report/Breadcrumb.cs | using System;
using System.Collections.Generic;
namespace Bugsnag
{
public class Breadcrumb : Dictionary<string, object>
{
public static Breadcrumb FromReport(Report report)
{
var name = report.OriginalException.GetType().ToString();
var type = BreadcrumbType.Error;
var metadata = new Dic... | using System;
using System.Collections.Generic;
namespace Bugsnag
{
public class Breadcrumb : Dictionary<string, object>
{
public static Breadcrumb FromReport(Report report)
{
var name = report.OriginalException.GetType().ToString();
var type = BreadcrumbType.Error;
var metadata = new Dic... | mit | C# |
12c888808178a52f8082a7d0e3745aa4a898c2d3 | Update NotesRepository.cs | CarmelSoftware/MVCDataRepositoryXML | Models/NotesRepository.cs | Models/NotesRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Linq;
namespace IoCDependencyInjection.Models
{
public class NotesRepository : INotesRepository
{
private List<Note> notes = new List<Note>();
private int iNumberOfEntries = 1;
private XDocument doc;
public NotesRepo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Linq;
namespace IoCDependencyInjection.Models
{
public class NotesRepository : INotesRepository
{
private List<Note> notes = new List<Note>();
private int iNumberOfEntries = 1;
private XDocument doc;
public NotesRepo... | mit | C# |
d50da70e09d9c481491411dc54a48a41f9022bde | Use constant. | JohanLarsson/Gu.Wpf.UiAutomation | Gu.Wpf.UiAutomation.UiTests/Elements/ToolTipTests.cs | Gu.Wpf.UiAutomation.UiTests/Elements/ToolTipTests.cs | namespace Gu.Wpf.UiAutomation.UiTests.Elements
{
using NUnit.Framework;
public class ToolTipTests
{
private const string ExeFileName = "WpfApplication.exe";
private const string Window = "ToolTipWindow";
[Test]
public void FindImplicit()
{
using var app ... | namespace Gu.Wpf.UiAutomation.UiTests.Elements
{
using NUnit.Framework;
public class ToolTipTests
{
private const string ExeFileName = "WpfApplication.exe";
[Test]
public void FindImplicit()
{
using var app = Application.Launch(ExeFileName, "ToolTipWindow");
... | mit | C# |
6b9be4db0586d8bc5327b10e57740adca885daf0 | save video bookmarks | hamstercat/Emby.Channels,hamstercat/Emby.Channels,heksesang/Emby.Channels,heksesang/Emby.Channels,MediaBrowser/Emby.Channels,MediaBrowser/Emby.Channels | MediaBrowser.Channels.IPTV/Api/ServerApiEndpoints.cs | MediaBrowser.Channels.IPTV/Api/ServerApiEndpoints.cs | using MediaBrowser.Channels.IPTV.Configuration;
using MediaBrowser.Controller.Net;
using MediaBrowser.Model.MediaInfo;
using ServiceStack;
using System;
using System.Linq;
namespace MediaBrowser.Channels.IPTV.Api
{
[Route("/Iptv/Bookmarks", "POST", Summary = "Bookmarks a video")]
public class VideoSend : IRet... | using MediaBrowser.Channels.IPTV.Configuration;
using MediaBrowser.Controller.Net;
using MediaBrowser.Model.MediaInfo;
using ServiceStack;
using System;
using System.Linq;
namespace MediaBrowser.Channels.IPTV.Api
{
[Route("/Iptv/Bookmarks", "POST", Summary = "Bookmarks a video")]
public class VideoSend : IRet... | mit | C# |
f346526be026c99ccd2d866a0ebcd692a5db666f | change test | Borayvor/ASP.NET-MVC-CourseProject-2017,Borayvor/ASP.NET-MVC-CourseProject-2017,Borayvor/ASP.NET-MVC-CourseProject-2017 | PhotoArtSystem/Tests/PhotoArtSystem.Tests.IntegrationTests/DummyContextTest.cs | PhotoArtSystem/Tests/PhotoArtSystem.Tests.IntegrationTests/DummyContextTest.cs | namespace PhotoArtSystem.Tests.IntegrationTests
{
using System.Linq;
using Data;
using NUnit.Framework;
[TestFixture]
public class DummyContextTest
{
[Test]
[TestCase("admin@admin.com")]
public void Db_ShouldHaveOnlyOneUserWithSuchEmail(string email)
{
... | namespace PhotoArtSystem.Tests.IntegrationTests
{
using System.Linq;
using Data;
using NUnit.Framework;
[TestFixture]
public class DummyContextTest
{
[Test]
public void TestMethod()
{
// Arrange
ApplicationDbContext context = new ApplicationDbCon... | mit | C# |
cc88c6c598157a8b863a023634c05c71c0789449 | Fix Who's on First | samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays | TwitchPlaysAssembly/Src/ComponentSolvers/Vanilla/WhosOnFirstComponentSolver.cs | TwitchPlaysAssembly/Src/ComponentSolvers/Vanilla/WhosOnFirstComponentSolver.cs | using System;
using System.Collections;
using System.Linq;
using Assets.Scripts.Rules;
using UnityEngine;
public class WhosOnFirstComponentSolver : ComponentSolver
{
public WhosOnFirstComponentSolver(TwitchModule module) :
base(module)
{
_buttons = ((WhosOnFirstComponent) module.BombComponent).Buttons;
ModInf... | using System;
using System.Collections;
using System.Linq;
using Assets.Scripts.Rules;
using UnityEngine;
public class WhosOnFirstComponentSolver : ComponentSolver
{
public WhosOnFirstComponentSolver(TwitchModule module) :
base(module)
{
_buttons = ((WhosOnFirstComponent) module.BombComponent).Buttons;
ModInf... | mit | C# |
8f89f53b0991cb6ab6bb509dd6b1f43715012335 | Update IPixelBandGetter.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/RasterIO/IPixelBandGetter.cs | src/RasterIO/IPixelBandGetter.cs | // Contributors:
// James Domingo, Green Code LLC
namespace Landis.RasterIO
{
/// <summary>
/// Gets the value for a particular band in a pixel as a specific data type.
/// </summary>
public interface IPixelBandGetter<T>
where T : struct
{
T GetValue();
}
}
| // Copyright 2010 Green Code LLC
// All rights reserved.
//
// The copyright holders license this file under the New (3-clause) BSD
// License (the "License"). You may not use this file except in
// compliance with the License. A copy of the License is available at
//
// http://www.opensource.org/licenses/BSD-3-Cla... | apache-2.0 | C# |
e0136642ef147c66dcd85ed83b68aa655e359172 | Remove unused method | honestegg/cassette,andrewdavey/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,BluewireTechnologies/cassette,damiensawyer/cassette,damiensawyer/cassette,honestegg/cassette,andrewdavey/cassette,damiensawyer/cassette,honestegg/cassette | src/Website/Views/Helpers.cs | src/Website/Views/Helpers.cs | using System.Web.Mvc;
namespace Website.Views
{
public static class Helpers
{
public static string DocumentationUrl(this UrlHelper urlHelper, string path)
{
return urlHelper.RouteUrl("Documentation", new { path });
}
}
} | using System;
using System.Web.Mvc;
namespace Website.Views
{
public static class Helpers
{
public static string DocumentationUrl(this UrlHelper urlHelper, string path)
{
return urlHelper.RouteUrl("Documentation", new { path });
}
public static string T... | mit | C# |
f9fa7c86eaa169657485dbdaabf975abbedcc65c | Cover mapping fully for catch mods | ppy/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new | osu.Game.Rulesets.Catch.Tests/CatchLegacyModConversionTest.cs | osu.Game.Rulesets.Catch.Tests/CatchLegacyModConversionTest.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 NUnit.Framework;
using osu.Game.Beatmaps.Legacy;
using osu.Game.Rulesets.Catch.Mods;
using osu.Game.Tests.Beatmaps;
namespace osu.Game.Rulesets.Catc... | // 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 NUnit.Framework;
using osu.Game.Beatmaps.Legacy;
using osu.Game.Rulesets.Catch.Mods;
using osu.Game.Tests.Beatmaps;
namespace osu.Game.Rulesets.Catc... | mit | C# |
c9123df98c2772c98a37161b51e796ceb5e8bc94 | Change version up to 1.1.0 | matiasbeckerle/breakout,matiasbeckerle/perspektiva,matiasbeckerle/arkanoid | source/Assets/Scripts/Loader.cs | source/Assets/Scripts/Loader.cs | 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... | 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... | unknown | C# |
fb20af139efa4965b45e7953cea1bdefd8966a91 | Implement operator == and != for ValueObject | EamonNerbonne/ValueUtils,EamonNerbonne/ValueUtils,EamonNerbonne/ValueUtils | ValueUtils/ValueObject.cs | ValueUtils/ValueObject.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ValueUtils {
public abstract class ValueObject<T> : IEquatable<T> where T : ValueObject<T> {
//CRTP to encourage you to use the value type itself as the type parameter.
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ValueUtils {
public abstract class ValueObject<T> : IEquatable<T> where T : ValueObject<T> {
//CRTP to encourage you to use the value type itself as the type parameter.
... | apache-2.0 | C# |
27eb8df34ffaf4fa277635b3734a4364b50fd882 | Return empty reference path. | aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate | src/Abp.AspNetCore/AspNetCore/PlugIn/AbpPlugInAssemblyPart.cs | src/Abp.AspNetCore/AspNetCore/PlugIn/AbpPlugInAssemblyPart.cs | using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
namespace Abp.AspNetCore.PlugIn
{
public class AbpPlugInAssemblyPart : AssemblyPart, ICompilationReferencesProvider
{
public AbpPlugInAssemblyPart(Assembly assembly)
... | using System.Collections.Generic;
using System.Reflection;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
namespace Abp.AspNetCore.PlugIn
{
public class AbpPlugInAssemblyPart : AssemblyPart, ICompilationReferencesProvider
{
public AbpPlugInAssemblyPart(Assembly assembly)
: base(assembly)... | mit | C# |
d3875941a4340995c158ec7d9232786cc774171f | Add utility method for forcing object validation | mattgwagner/CertiPay.Common | CertiPay.Common/Utilities.cs | CertiPay.Common/Utilities.cs | namespace CertiPay.Common
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Transactions;
public static class Utilities
{
/// <summary>
/// Starts ... | namespace CertiPay.Common
{
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Transactions;
public static class Utilities
{
/// <summary>
/// Starts a new transaction scope with the given isolation level
/// </summary>
/... | mit | C# |
666c958b4a9126d389264790c9ce733055411c78 | Test code removed; | KonH/UDBase | UI/Inventory/ItemPackView.cs | UI/Inventory/ItemPackView.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
namespace UDBase.Controllers.InventorySystem.UI {
[RequireComponent(typeof(Text))]
public class ItemPackView:MonoBehaviour {
public string FormatLine = "";
public string HolderName = "";
public string PackName = "";
Text _text = null;
... | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
namespace UDBase.Controllers.InventorySystem.UI {
[RequireComponent(typeof(Text))]
public class ItemPackView:MonoBehaviour {
public string FormatLine = "";
public string HolderName = "";
public string PackName = "";
Text _text = null;
... | mit | C# |
6687e6697361545d4405492b3c3d3957b4efb5ac | Make SecurityProtocolManager static | ViveportSoftware/vita_core_csharp,ViveportSoftware/vita_core_csharp | source/Htc.Vita.Core/Net/SecurityProtocolManager.cs | source/Htc.Vita.Core/Net/SecurityProtocolManager.cs | using System;
using System.Net;
namespace Htc.Vita.Core.Net
{
public static class SecurityProtocolManager
{
public static SecurityProtocolType GetAvailableProtocol()
{
var result = (SecurityProtocolType) 0;
foreach (var securityProtocolType in (SecurityProtocolType[]) E... | using System;
using System.Net;
namespace Htc.Vita.Core.Net
{
public class SecurityProtocolManager
{
public static SecurityProtocolType GetAvailableProtocol()
{
var result = (SecurityProtocolType) 0;
foreach (var securityProtocolType in (SecurityProtocolType[]) Enum.Get... | mit | C# |
79af8c60bbb648b2072b5f8b5b01c724c050f4f5 | Fix typos in DateTimeOffsetExtensions | jskeet/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime,nodatime/nodatime,BenJenkinson/nodatime,jskeet/nodatime,malcolmr/nodatime | src/NodaTime/Extensions/DateTimeOffsetExtensions.cs | src/NodaTime/Extensions/DateTimeOffsetExtensions.cs | // Copyright 2014 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
namespace NodaTime.Extensions
{
/// <summary>
/// Extension methods for <see cref="DateTimeOffset"/>.
/// </summary>
public... | // Copyright 2014 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
namespace NodaTime.Extensions
{
/// <summary>
/// Extension methods for <see cref="DateTimeOffset"/>.
/// </summary>
public... | apache-2.0 | C# |
4d513448b3d8e2920ae46c33e3c9d11728c50761 | Remove orleans health check. | Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex | src/Squidex/Config/Domain/InfrastructureServices.cs | src/Squidex/Config/Domain/InfrastructureServices.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# |
488e703e52390cfef26818c81f30196ee4153318 | Fix typo in class name. | symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix | src/SymbooglixLibTests/ConstantFolding/FoldBvnot.cs | src/SymbooglixLibTests/ConstantFolding/FoldBvnot.cs | using NUnit.Framework;
using System;
using System.Numerics;
using Symbooglix;
using Microsoft.Boogie;
namespace ConstantFoldingTests
{
[TestFixture()]
public class FoldBvnot : TestBase
{
[Test()]
public void Positive()
{
var arg0 = builder.ConstantBV(7, 4);
... | using NUnit.Framework;
using System;
using System.Numerics;
using Symbooglix;
using Microsoft.Boogie;
namespace ConstantFoldingTests
{
[TestFixture()]
public class FoldBnot : TestBase
{
[Test()]
public void Positive()
{
var arg0 = builder.ConstantBV(7, 4);
... | bsd-2-clause | C# |
43552363f5defe91edab9d87ea95e0e5f1982baf | Add method xml doc | mvelosop/Domion-X.Net | tests/Demo.Budget.Lib.Tests/Helpers/FluentAssertionsExtensions.cs | tests/Demo.Budget.Lib.Tests/Helpers/FluentAssertionsExtensions.cs | using FluentAssertions.Collections;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
namespace Domion.FluentAssertions.Extensions
{
public static class FluentAssertionsExtensions
{
/// <summary>
/// Asserts that ... | using FluentAssertions.Collections;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
namespace Domion.FluentAssertions.Extensions
{
public static class FluentAssertionsExtensions
{
/// <summary>
/// Asserts that ... | mit | C# |
d4bea792e4bdad27d44c8713bc1604dfc8e553ac | increment minor version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
be32e141bf19573b88b6c6778961d7e1f4070335 | add more calls to the methods to check what the generated documentation looks like | jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets | InheritXMLDocumentation/InheritXMLDocumentation.Tests/UnitTest1.cs | InheritXMLDocumentation/InheritXMLDocumentation.Tests/UnitTest1.cs | using NUnit.Framework;
using InheritXMLDocumentation.Persistence;
namespace InheritXMLDocumentation.Tests
{
public class InMemoryUserRepositoryTests
{
[SetUp]
public void Setup()
{
}
[Test]
public void AccessThroughInterface()
{
IUserReposito... | using NUnit.Framework;
using InheritXMLDocumentation.Persistence;
namespace InheritXMLDocumentation.Tests
{
public class InMemoryUserRepositoryTests
{
[SetUp]
public void Setup()
{
}
[Test]
public void AccessThroughInterface()
{
IUserReposito... | apache-2.0 | C# |
f4dccb6d656e9c876516e94c5990c09a7324712c | Update for end of January Alert changes | amweiss/dark-sky-core | src/DarkSkyCore/Models/Alert.cs | src/DarkSkyCore/Models/Alert.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace DarkSky.Models
{
public class Alert
{
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
[JsonProperty(PropertyName = "expires")]
public long Expires { get; set; }
[JsonProperty(PropertyName... | using Newtonsoft.Json;
using System;
namespace DarkSky.Models
{
public class Alert
{
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
[JsonProperty(PropertyName = "expires")]
public long Expires { get; set; }
[JsonProperty(PropertyName = "time")]
public long Time { g... | mit | C# |
00103e2f65005dfb62c9f08f42495f9fa86fddeb | Put variables in Main first | TeamnetGroup/schema2fm | 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... | mit | C# |
b79cb544944fa2c9fe0bdf22e1dcab3494d8cd62 | Add standalone ifdef to leap example scene script | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | 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 && UNITY_STANDALONE
using Microsoft.MixedReality.Toolkit.LeapMotion.Input;
#endif
namespace Microsoft.MixedReality.Toolkit.Examples
{
/... | // 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>
///... | mit | C# |
7a52d1833953db236acd2b94a7429df602123d1c | add include extension method | nirvana-framework/Nirvana,jasoncavaliere/Nirvana,jasoncavaliere/Nirvana,jasoncavaliere/Nirvana,jasoncavaliere/Nirvana | src/Nirvana/Data/IRepository.cs | src/Nirvana/Data/IRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Nirvana.CQRS;
using Nirvana.Data.EntityTypes;
using Nirvana.Domain;
namespace Nirvana.Data
{
public interface ISqlRepository
{
IEnumerable<T> Sql<T>(string sql, params object[] parameters);
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Nirvana.CQRS;
using Nirvana.Data.EntityTypes;
using Nirvana.Domain;
namespace Nirvana.Data
{
public interface ISqlRepository
{
IEnumerable<T> Sql<T>(string sql, params object[] parameters);
}
... | apache-2.0 | C# |
79af64b94c137e394d16483d3aa7cc0d50eebaad | Make sure that classes generated derive from a common type to allow code sharing | AlexGhiondea/SmugMug.NET | 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... | mit | C# |
eaa20886f67cdce02fea82be3e75ea19b20de30c | Set version to 4.2.4 | damianh/LibLog | src/SharedAssemblyInfo.cs | src/SharedAssemblyInfo.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SharedAssemblyInfo.cs" company="Damian Hickey">
// Copyright © 2011-2014 Damian Hickey
// </copyright>
// -----------------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SharedAssemblyInfo.cs" company="Damian Hickey">
// Copyright © 2011-2014 Damian Hickey
// </copyright>
// -----------------------------------------------------------------------... | mit | C# |
d634c649fee8ed6ba507a05d93980f485a9fc45d | Support scene primitive rotation | simontaylor81/Syrup,simontaylor81/Syrup | SRPCommon/Scene/Primitive.cs | SRPCommon/Scene/Primitive.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SlimDX;
using SRPCommon.Util;
using SRPCommon.UserProperties;
using System.Reactive.Linq;
using System.Reactive;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Diagnostics.Co... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SlimDX;
using SRPCommon.Util;
using SRPCommon.UserProperties;
using System.Reactive.Linq;
using System.Reactive;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Diagnostics.Co... | mit | C# |
dc8e3c8249ea2e9262d17e8f9ca163d659c46b78 | use small classes to improve db communication | pako1337/Content_Man,pako1337/Content_Man | ContentDomain/Repositories/ContentElementRepository.cs | ContentDomain/Repositories/ContentElementRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ContentDomain.Factories;
using Simple.Data;
namespace ContentDomain.Repositories
{
public class ContentElementRepository
{
public IEnumerable<ContentElement> All()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ContentDomain.Factories;
using Simple.Data;
namespace ContentDomain.Repositories
{
public class ContentElementRepository
{
public IEnumerable<ContentElement> All()
{
... | mit | C# |
e335e94ad6555ee00b21ad568253b0476d2a6261 | Fix projectile spawn issue | jkereako/PillBlasta | Assets/Scripts/Projectile.cs | Assets/Scripts/Projectile.cs | using UnityEngine;
using System.Runtime.Remoting.Contexts;
public class Projectile: MonoBehaviour {
public LayerMask collisionMask;
float speed;
const float damage = 1.0f;
const float lifeTime = 2.0f;
const float targetSurfaceThickness = 0.1f;
void Start() {
Destroy(gameObject, lifeTime);
Colli... | using UnityEngine;
public class Projectile: MonoBehaviour {
public LayerMask collisionMask;
float speed;
const float damage = 1.0f;
const float lifeTime = 2.0f;
void Start() {
Destroy(gameObject, lifeTime);
}
void Update() {
float distance = Time.deltaTime * speed;
CheckCollision(distance... | mit | C# |
0a2a9c21a8d37276d682a1af62614fc44e53b7e5 | Add max job count to levels | LeBodro/super-salaryman-2044 | 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... | mit | C# |
6fcebec0bb38e22a381416038cd34541b3cdc47d | Test outline for contentservice. | BrettStory/Macabre2D | Tests/Editor/Framework/Services/ContentServiceTests.cs | Tests/Editor/Framework/Services/ContentServiceTests.cs | namespace Macabresoft.Macabre2D.Tests.Editor.Framework.Services {
using System.IO;
using FluentAssertions;
using FluentAssertions.Execution;
using Macabresoft.Core;
using Macabresoft.Macabre2D.Editor.Library.Models.Content;
using Macabresoft.Macabre2D.Editor.Library.Services;
using Macabres... | namespace Macabresoft.Macabre2D.Tests.Editor.Framework.Services {
using System.IO;
using FluentAssertions;
using FluentAssertions.Execution;
using Macabresoft.Core;
using Macabresoft.Macabre2D.Editor.Library.Models.Content;
using Macabresoft.Macabre2D.Editor.Library.Services;
using Macabres... | mit | C# |
d1dc5b61056769b047ed73d023988139834e0edc | tidy batch test code | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Test/NakedObjects.Batch.Test/BatchStartPoint.cs | Test/NakedObjects.Batch.Test/BatchStartPoint.cs | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
// Unless requi... | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
// Unless requi... | apache-2.0 | C# |
652a21b3dcac5a2b6c17f14011df8b31b003d8c7 | Update r# CLT | ppy/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,ppy/osu,johnneijzen/osu,peppy/osu,smoogipoo/osu,ZLima12/osu,ZLima12/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,johnneijzen/osu,UselessToucan/osu,NeoAdonis/osu,smoo... | build/build.cake | build/build.cake | #addin "nuget:?package=CodeFileSanity&version=0.0.21"
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2019.1.1"
#tool "nuget:?package=NVika.MSBuild&version=1.0.1"
var nVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First();
///////////////////////////////////////////////////////... | #addin "nuget:?package=CodeFileSanity&version=0.0.21"
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2018.3.4"
#tool "nuget:?package=NVika.MSBuild&version=1.0.1"
var nVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First();
///////////////////////////////////////////////////////... | mit | C# |
14c7cbde38ce4bada24f6a99076833873026b6a1 | Fix toggle mute (and volume meter traversal) handling repeat key presses | ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game/Overlays/Volume/VolumeControlReceptor.cs | osu.Game/Overlays/Volume/VolumeControlReceptor.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 osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Framework.Input.Events... | // 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 osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Framework.Input.Events... | mit | C# |
2ffc72b75ffc89de892d92e0e028ccd7e22e866f | Move test into correct namespace. | BluewireTechnologies/cassette,damiensawyer/cassette,damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,honestegg/cassette,BluewireTechnologies/cassette | src/Cassette.UnitTests/PlaceholderTracker.cs | src/Cassette.UnitTests/PlaceholderTracker.cs | 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();
... | 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();
... | mit | C# |
27ea2aeba098727a7aa90397250a58c056d9668f | Implement URL opening for android | peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework | osu.Framework.Android/AndroidGameHost.cs | osu.Framework.Android/AndroidGameHost.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using Android.App;
using Android.Content;
using osu.Framework.Android.Graphics.Textures;
using osu.Framework.Android.Inpu... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Android.Graphics.Textures;
using osu.Framework.Android.Input;
using osu.Framework.Graphics.Textures;
... | mit | C# |
25b14edf2da8b7bbd528736ed0b5affcf0590f43 | Fix BindableFloat.IsDefault returning true for non-default values | ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework | osu.Framework/Bindables/BindableFloat.cs | osu.Framework/Bindables/BindableFloat.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.Globalization;
namespace osu.Framework.Bindables
{
public class BindableFloat : BindableNumber<float>
{
// Take 50% of the pr... | // 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.Globalization;
namespace osu.Framework.Bindables
{
public class BindableFloat : BindableNumber<float>
{
public override bool ... | mit | C# |
7e2f4af00dd2d47212f1208857bccc936b057e0d | remove whitespaces | EVAST9919/osu,2yangk23/osu,peppy/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,DrabWeb/osu,smoogipoo/osu,ppy/osu,DrabWeb/osu,UselessToucan/osu,naoey/osu,NeoAdonis/osu,EVAST9919/osu,johnneijzen/osu,DrabWeb/osu,NeoAdonis/osu,naoey/osu,ZLima12/osu,UselessToucan/osu,johnne... | osu.Game.Rulesets.Osu/Mods/OsuModGrow.cs | osu.Game.Rulesets.Osu/Mods/OsuModGrow.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.Game.Graphics;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects.Drawables;
using os... | // 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.Game.Graphics;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects.Drawables;
using os... | mit | C# |
36c7acfb561779da63392d1945b48cb1ecd7fe53 | Set version to 3.3.0 | EtienneLamoureux/TQVaultAE | src/TQVaultAE.GUI/Properties/AssemblyInfo.cs | src/TQVaultAE.GUI/Properties/AssemblyInfo.cs | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="None">
// Copyright (c) Brandon Wallace and Jesse Calhoun. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using Syste... | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="None">
// Copyright (c) Brandon Wallace and Jesse Calhoun. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using Syste... | mit | C# |
3a89cac8695cfff2f685e21f93b395cb4d62b0e2 | Fix doc comment | dotnet/roslyn-analyzers,dotnet/roslyn-analyzers | src/Utilities/Compiler/Options/OptionKind.cs | src/Utilities/Compiler/Options/OptionKind.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.
namespace Analyzer.Utilities
{
/// <summary>
/// Kind of option to fetch from <see cref="ICategorizedAnalyzerConfigOptions"/>.
/// </summary>
... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Analyzer.Utilities
{
/// <summary>
/// Kind of option to fetch from <see cref="AnalyzerOptionsExtensions"/>.
/// </summary>
interna... | mit | C# |
83113cfcf09ad42ecc20217a87c0293790475ea1 | allow specifying a connection string in the console | Zocdoc/schemazen,sethreno/schemazen,keith-hall/schemazen,sethreno/schemazen | console/DbCommand.cs | console/DbCommand.cs | using System;
using System.Data.SqlClient;
using System.Diagnostics;
using ManyConsole;
using NDesk.Options;
using SchemaZen.model;
namespace SchemaZen.console {
public abstract class DbCommand : ConsoleCommand {
protected DbCommand(string command, string oneLineDescription) {
IsCommand(command, oneLineDescript... | using System;
using System.Data.SqlClient;
using System.Diagnostics;
using ManyConsole;
using NDesk.Options;
using SchemaZen.model;
namespace SchemaZen.console {
public abstract class DbCommand : ConsoleCommand {
protected DbCommand(string command, string oneLineDescription) {
IsCommand(command, oneLineDescript... | mit | C# |
35a966e4f34d9df1d80e5254a5baec7f15532de5 | Debug Map | plombeur/alpha,plombeur/alpha | Assets/Scripts/Patches/Map.cs | Assets/Scripts/Patches/Map.cs | using UnityEngine;
using System.Collections;
public class Map : MonoBehaviour {
public int size_x;
public int size_y;
protected Patch[] patches;
public GameObject prefabPatch;
// Use this for initialization
void Start () {
// Create array of patches with script
patches = new Patch[size_x*size_y];
... | using UnityEngine;
using System.Collections;
public class Map : MonoBehaviour {
public int size_x;
public int size_y;
protected Patch[] patches;
public GameObject prefabPatch;
// Use this for initialization
void Start () {
// Create array of patches with script
patches = new Patch[size_x*size_y];
... | apache-2.0 | C# |
01b27494e355d2fc6d3db6889fe391e10327df94 | check that the assembly have the resource or not | TakeAsh/cs-WpfUtility | WpfUtility/ResourceHelper.cs | WpfUtility/ResourceHelper.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Resources;
using System.Text;
using System.Windows.Media.Imaging;
namespace WpfUtility {
public static class ResourceHelper {
public static BitmapImage GetImage(string f... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Resources;
using System.Text;
using System.Windows.Media.Imaging;
namespace WpfUtility {
public static class ResourceHelper {
public static BitmapImage GetImage(string f... | mit | C# |
86cc010df40d362917c46c3f5551192a06d0041a | Use static HttpClient in SO module | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX | 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 static HttpClient HttpClient => new HttpClient(new HttpClientHandler
{
AutomaticDecompres... | 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... | mit | C# |
8813f95eb411b712905df627d2ebcf110d2d8231 | Fix EmployeeFindQuery | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University.Employees/Queries/EmployeeFindQuery.cs | R7.University.Employees/Queries/EmployeeFindQuery.cs | //
// EmployeeFindQuery.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016-2018 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software... | //
// EmployeeFindQuery.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foun... | agpl-3.0 | C# |
be070a17538a0ccbc2d34d3ff45d1817d34d3489 | extend stance color converter | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Converters/WarriorStanceToColorConverter.cs | TCC.Core/Converters/WarriorStanceToColorConverter.cs | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
using TCC.Data;
namespace TCC.Converters
{
public class WarriorStanceToColorConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, Cultur... | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
using TCC.Data;
namespace TCC.Converters
{
public class WarriorStanceToColorConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, Cultur... | mit | C# |
182ffc8b8123098425ad7610b7e86bd30bf54ada | Set AssemblyInfo | GlobeBMG/GBMG.Monitoring | source/GBMG.Monitoring/Properties/AssemblyInfo.cs | source/GBMG.Monitoring/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("GB... | 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("GB... | mit | C# |
1b237dd84b848684f2b050532e0f49029d011407 | Fix pitch in CupShuffle | Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,plrusek/NitoriWare | Assets/Resources/Microgames/_Finished/CupShuffle/Scripts/CupShuffleController.cs | Assets/Resources/Microgames/_Finished/CupShuffle/Scripts/CupShuffleController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CupShuffleController : MonoBehaviour
{
public static CupShuffleController instance;
public int cupCount, shuffleCount;
public float shuffleTime, shuffleStartDelay;
public bool enableBackwardsShuffles;
public float fakeOu... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CupShuffleController : MonoBehaviour
{
public static CupShuffleController instance;
public int cupCount, shuffleCount;
public float shuffleTime, shuffleStartDelay;
public bool enableBackwardsShuffles;
public float fakeOu... | mit | C# |
54127fdea334bdbb8c9fbdda2e1dc1c79c94fca2 | Use reference check for null check this is much faster than delegating that to the full op == implementation | EamonNerbonne/ValueUtils,EamonNerbonne/ValueUtils,EamonNerbonne/ValueUtils | ValueUtils/ValueObject.cs | ValueUtils/ValueObject.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ValueUtils {
/// <summary>
/// Represents a C# object with value semantics.
/// ValueObjects implements GetHashCode, Equals, IEquatable<> and operators == and != for you... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ValueUtils {
/// <summary>
/// Represents a C# object with value semantics.
/// ValueObjects implements GetHashCode, Equals, IEquatable<> and operators == and != for you... | apache-2.0 | C# |
e80f0e813c1b19f35c89e888a93c5e294d4dc5ee | remove uneeded using | YoloDev/elephanet,YoloDev/elephanet | Elephanet/IDocumentSession.cs | Elephanet/IDocumentSession.cs | using System;
using System.Collections.Generic;
namespace Elephanet
{
public interface IDocumentSession : IDisposable
{
void Delete<T>(Guid id);
void Delete<T>(T entity);
T GetById<T>(Guid id);
IEnumerable<T> GetByIds<T>(IEnumerable<Guid> ids);
IEnumerable<T> GetAll<T>(... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Elephanet
{
public interface IDocumentSession : IDisposable
{
void Delete<T>(Guid id);
void Delete<T>(T entity);
T GetById<T>(Guid id);
IEnumerable<T> GetByIds<T>(IEnumerable<Guid> ids);
IEnume... | mit | C# |
787086fe18e28494bf74742be02e712d210fd21a | Enable skip if debugger attached. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/AddWallet/Create/ConfirmRecoveryWordsViewModel.cs | WalletWasabi.Fluent/ViewModels/AddWallet/Create/ConfirmRecoveryWordsViewModel.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using DynamicData;
using DynamicData.Binding;
using NBitcoin;
using ReactiveUI;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Wal... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using DynamicData;
using DynamicData.Binding;
using NBitcoin;
using ReactiveUI;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Wal... | mit | C# |
733eab49d877d4581e6f537a8d597c9422918df8 | Update version. | dougludlow/umbraco-navbuilder,dougludlow/umbraco-navbuilder | src/Cob.Umb.NavBuilder/Properties/AssemblyInfo.cs | src/Cob.Umb.NavBuilder/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("Co... | 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("Co... | mit | C# |
9120a77fb7806b891172a81f4c84777fdc1a8c11 | Test operation for dev | noordwind/Coolector,noordwind/Coolector.Api,noordwind/Collectively.Api,noordwind/Coolector.Api,noordwind/Collectively.Api,noordwind/Coolector | src/Collectively.Api/Modules/DevelopmentModule.cs | src/Collectively.Api/Modules/DevelopmentModule.cs | using System;
using Collectively.Api.Commands;
using Collectively.Api.Storages;
using Collectively.Api.Validation;
using Collectively.Services.Storage.Models.Operations;
using Nancy;
namespace Collectively.Api.Modules
{
public class DevelopmentModule : ModuleBase
{
private static int RequestCounter = ... | using System;
using Collectively.Api.Commands;
using Collectively.Api.Storages;
using Collectively.Api.Validation;
using Collectively.Services.Storage.Models.Operations;
namespace Collectively.Api.Modules
{
public class DevelopmentModule : ModuleBase
{
private static int RequestCounter = 0;
p... | mit | C# |
e3f9ef08343d44e1f1be47f81cd275091aa5f54b | Set version 0.8.1 | morgen2009/DelegateDecompiler,hazzik/DelegateDecompiler,jaenyph/DelegateDecompiler | src/DelegateDecompiler/Properties/AssemblyInfo.cs | src/DelegateDecompiler/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
5b5ded0e502e792df4178a49bab162d76071b42c | Allow lower precision in angle tests | feliwir/openSage,feliwir/openSage | src/OpenSage.Game.Tests/Mathematics/AngleTests.cs | src/OpenSage.Game.Tests/Mathematics/AngleTests.cs | using System.Numerics;
using OpenSage.Mathematics;
using Xunit;
namespace OpenSage.Tests.Mathematics
{
public class AngleTests
{
private const int Precision = 6;
[Fact]
public void DegreesToRadiansTest()
{
Assert.Equal(MathUtility.ToRadians(90.0f), MathUtility.PiOv... | using System.Numerics;
using OpenSage.Mathematics;
using Xunit;
namespace OpenSage.Tests.Mathematics
{
public class AngleTests
{
[Fact]
public void DegreesToRadiansTest()
{
Assert.Equal(MathUtility.ToRadians(90.0f), MathUtility.PiOver2);
}
[Fact]
pu... | mit | C# |
27fcebb5dc48184bc1ea11ab8928282eadbba0a2 | Remove unused using directive | ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework/Input/Events/JoystickEvent.cs | osu.Framework/Input/Events/JoystickEvent.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 System.Linq;
using JetBrains.Annotations;
using osu.Framework.Input.States;
namespace osu.Framework.Input.Events
{
public abs... | // 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 System.Linq;
using JetBrains.Annotations;
using osu.Framework.Input.States;
using osu.Framework.Utils;
namespace osu.Framework.In... | mit | C# |
ae20a6d59ab07746328245991e61a61905c26a6b | Remove outdated + potentially incorrect comment | smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework/Timing/ThrottledFrameClock.cs | osu.Framework/Timing/ThrottledFrameClock.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.Diagnostics;
using System.Threading;
namespace osu.Framework.Timing
{
/// <summary>
/// A FrameClock which will limit the number of f... | // 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.Diagnostics;
using System.Threading;
namespace osu.Framework.Timing
{
/// <summary>
/// A FrameClock which will limit the number of f... | mit | C# |
916c5bb3a361cd4dbb74fc8836c304cb49bf194f | Hide constructor | AngleSharp/AngleSharp,FlorianRappl/AngleSharp,zedr0n/AngleSharp.Local,AngleSharp/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,Livven/AngleSharp,AngleSharp/AngleSharp,Livven/AngleSharp,FlorianRappl/AngleSharp,Livven/AngleSharp,AngleSharp/AngleSharp,zedr0n/AngleSharp.Local,FlorianRappl/AngleSharp,zedr0n/Angle... | AngleSharp/DOM/Css/Values/CSSValue.cs | AngleSharp/DOM/Css/Values/CSSValue.cs | namespace AngleSharp.DOM.Css
{
using System;
/// <summary>
/// Represents a CSS value.
/// </summary>
sealed class CssValue : ICssValue
{
#region Fields
readonly CssValueType _type;
readonly String _text;
#endregion
#region Special Values
/// <s... | namespace AngleSharp.DOM.Css
{
using System;
/// <summary>
/// Represents a CSS value.
/// </summary>
sealed class CssValue : ICssValue
{
#region Fields
readonly CssValueType _type;
readonly String _text;
#endregion
#region Special Values
/// <s... | mit | C# |
d415ef4495984529600dca2621d1ea89be2c2fe9 | Remove some old and incorrect FIXMEs | symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix | symbooglix/symbooglix/Core/StateScheduler.cs | symbooglix/symbooglix/Core/StateScheduler.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace symbooglix
{
public interface IStateScheduler
{
ExecutionState getNextState();
bool updateStates(List<ExecutionState> toAdd, List<ExecutionState> toRemove);
bool addState(ExecutionState toAdd);
b... | using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace symbooglix
{
public interface IStateScheduler
{
ExecutionState getNextState(); // FIXME: Return reference
bool updateStates(List<ExecutionState> toAdd, List<ExecutionState> toRemove); //FIXME: pass by ref
... | bsd-2-clause | C# |
4f5b1aa19ef7eb783c2fb0c3d6cde0a54ac0d80a | Remove unused constructor | ppy/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-frame... | osu.Framework/Graphics/Textures/TextureWithRefCount.cs | osu.Framework/Graphics/Textures/TextureWithRefCount.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using osu.Framework.Graphics.OpenGL.Textures;
namespace osu.Framework.Graphics.Textures
{
/// <summary>
/// A texture which updates the... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using osu.Framework.Graphics.OpenGL.Textures;
using OpenTK.Graphics.ES30;
namespace osu.Framework.Graphics.Textures
{
/// <summary>
///... | mit | C# |
0c4f24825969c64775705b8feb9297af2f4fc9ac | Fix CI issues | NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu-new,smoogipooo/osu,johnneijzen/osu,peppy/osu,ppy/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,2yangk23/osu,johnneijzen/osu,peppy/osu,peppy/osu,smoogipoo/osu,EVAST9919/osu | osu.Game/Overlays/BeatmapSet/BeatmapRulesetSelector.cs | osu.Game/Overlays/BeatmapSet/BeatmapRulesetSelector.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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
usin... | // 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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
usin... | mit | C# |
6828f82decc7f55f53e7c2e76bff706cca229638 | change copyright date | waltdestler/SharpDX,sharpdx/SharpDX,waltdestler/SharpDX,mrvux/SharpDX,andrewst/SharpDX,waltdestler/SharpDX,mrvux/SharpDX,dazerdude/SharpDX,dazerdude/SharpDX,sharpdx/SharpDX,waltdestler/SharpDX,andrewst/SharpDX,dazerdude/SharpDX,andrewst/SharpDX,mrvux/SharpDX,dazerdude/SharpDX,sharpdx/SharpDX | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.cs | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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, modi... | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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, modi... | mit | C# |
50c796c7b12084cb5a0df974495154bba5184291 | Send no body | 1and1/TypedRest-DotNet,TypedRest/TypedRest-DotNet,TypedRest/TypedRest-DotNet,1and1/TypedRest-DotNet | TypedRest/TriggerEndpoint.cs | TypedRest/TriggerEndpoint.cs | using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace TypedRest
{
/// <summary>
/// REST endpoint that represents a single triggerable action.
/// </summary>
public class TriggerEndpoint : EndpointBase, ITriggerEndpoint
{
/// <summary>
... | using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace TypedRest
{
/// <summary>
/// REST endpoint that represents a single triggerable action.
/// </summary>
public class TriggerEndpoint : EndpointBase, ITriggerEndpoint
{
/// <summary>
... | mit | C# |
1a1efe8c0a0545b52b6524d5a23b416e185f1faa | Fix bug. | crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin | SignInCheckIn/MinistryPlatform.Translation/Repositories/ChildCheckinRepository.cs | SignInCheckIn/MinistryPlatform.Translation/Repositories/ChildCheckinRepository.cs | using System.Collections.Generic;
using MinistryPlatform.Translation.Models.DTO;
using MinistryPlatform.Translation.Repositories.Interfaces;
namespace MinistryPlatform.Translation.Repositories
{
public class ChildCheckinRepository : IChildCheckinRepository
{
private readonly IApiUserRepository _apiUse... | using System.Collections.Generic;
using MinistryPlatform.Translation.Models.DTO;
using MinistryPlatform.Translation.Repositories.Interfaces;
namespace MinistryPlatform.Translation.Repositories
{
public class ChildCheckinRepository : IChildCheckinRepository
{
private readonly IApiUserRepository _apiUse... | bsd-2-clause | C# |
b9cdf3a3a5b82406f0f9a829b2dbd4f80dba1850 | Add GrammarType (Combined, Separated, Lexer) | KvanTTT/DAGE,KvanTTT/DAGE,KvanTTT/DAGE,KvanTTT/DAGE,KvanTTT/DAGE,KvanTTT/DAGE,KvanTTT/DAGE | AntlrGrammarEditor/Grammar.cs | AntlrGrammarEditor/Grammar.cs | using System.Collections.Generic;
namespace AntlrGrammarEditor
{
public enum CaseInsensitiveType
{
None,
lower,
UPPER
}
public enum GrammarType
{
Combined,
Separated,
Lexer
}
public class Grammar
{
public const string AntlrDotEx... | using System.Collections.Generic;
namespace AntlrGrammarEditor
{
public enum CaseInsensitiveType
{
None,
lower,
UPPER
}
public class Grammar
{
public const string AntlrDotExt = ".g4";
public const string LexerPostfix = "Lexer";
public const string P... | apache-2.0 | C# |
18d95b5a4e485a36fd5e709ce002fd5ca9ba16cf | Update Ship.cs | dnmitev/Team-Joseph-Heller | TeamJosephHeller/Game/Ship.cs | TeamJosephHeller/Game/Ship.cs | namespace NinjaWars
{
using System;
using NinjaWars.Interfaces;
public abstract class Ship : MovingObject
{
public new const string CollisionGroupString = "ship";
protected const int InitialHealth = 5;
protected const int BulletSpeed = 1;
public Ship(MatrixCoord topL... | namespace NinjaWars
{
using System;
using NinjaWars.Interfaces;
public abstract class Ship : MovingObject
{
public new const string CollisionGroupString = "ship";
protected const int InitialHealth = 5;
protected const int BulletSpeed = 1;
public Ship(MatrixCoord topLe... | mit | C# |
7e4bec16a7dd1a9067ed78bb7b1dbaa3307a2c9f | Add a test initializing method 'CompileOutputTest#ClassInitialize' | lury-lang/compiler-base | UnitTest/CompileOutputTest.cs | UnitTest/CompileOutputTest.cs | using System;
using System.Linq;
using Lury.Compiling.Logger;
using Lury.Compiling.Utils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTest
{
[TestClass]
public class CompileOutputTest
{
private const int number = 0;
private const string code = "code";
private ... | using System;
using System.Linq;
using Lury.Compiling.Logger;
using Lury.Compiling.Utils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTest
{
[TestClass]
public class CompileOutputTest
{
private const int number = 0;
private const string code = "code";
private ... | mit | C# |
e8c9883bcdde599e64fdb3dd68401069e87a97b6 | Add newline | EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework | osu.Framework/Graphics/UserInterface/BasicTextBox.cs | osu.Framework/Graphics/UserInterface/BasicTextBox.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.
namespace osu.Framework.Graphics.UserInterface
{
public class BasicTextBox : TextBox
{
protected override float CaretWidth => 2;
}
}
| // 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.
namespace osu.Framework.Graphics.UserInterface
{
public class BasicTextBox : TextBox
{
protected override float CaretWidth => 2;
}
} | mit | C# |
a23da033eba7a3ca22b26a925fed630e0ae97caf | Update Program.cs | NMSLanX/Natasha | samples/Core21/Program.cs | samples/Core21/Program.cs | using Natasha;
using Natasha.CSharp;
using System;
using System.Collections.Generic;
namespace Core21
{
class Program
{
static void Main(string[] args)
{
DomainManagement.RegisterDefault<AssemblyDomain>();
var @operator = FastMethodOperator.DefaultDomain();
... | using Natasha;
using System;
using System.Collections.Generic;
namespace Core21
{
class Program
{
static void Main(string[] args)
{
/*
* 在此之前,你需要右键,选择工程文件,在你的.csproj里面
*
* 写上这样一句浪漫的话:
*
* <PreserveCom... | mpl-2.0 | C# |
2c0e71ba325eaf3fdf3aa857bfa888497e8e780b | change route config back. | mikechung11/nasw17,mikechung11/nasw17 | Web/App_Start/RouteConfig.cs | Web/App_Start/RouteConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace nasw17.Web
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pa... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace nasw17.Web
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pa... | mit | C# |
c9b18d707fbf523a3e8576e021abb67d996769a2 | change type in GameManager to 0 | LNWPOR/HamsterRushVR-Client | Assets/Scripts/GameManager.cs | Assets/Scripts/GameManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour {
public string URL = "http://localhost:8000";
public PlayerData playerData;
public GameObject trinusLeapSetupIsSet;
public GameObject gamePage;
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour {
public string URL = "http://localhost:8000";
public PlayerData playerData;
public GameObject trinusLeapSetupIsSet;
public GameObject gamePage;
... | mit | C# |
093c8de0139e6e834f6eb2ee29bf0d7ead9801ac | Fix assembly and file versions | jakesee/ganttchart | 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... | mit | C# |
380a9738a5c51d51c702fffed7028cf35cfa85ea | remove comment | chsword/ctrc | src/CTRC/Cache/ExecutingAssemblyCache.cs | src/CTRC/Cache/ExecutingAssemblyCache.cs | using System;
using System.Reflection;
namespace CTRC.Cache
{
internal class ExecutingAssemblyCache
{
private static Version _version;
public static Version Version =>
_version ?? (_version =
_version = typeof(ExecutingAssemblyCache).GetTypeInfo()
... | using System;
using System.Reflection;
namespace CTRC.Cache
{
internal class ExecutingAssemblyCache
{
private static Version _version;
//public static Version Version
//{
// get { return _version ?? (_version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Ver... | mit | C# |
9dc5e8a84244de88320852efef6a16fd435a2f2c | Add naming convention for retry-queue | pardahlman/RawRabbit,northspb/RawRabbit | src/RawRabbit/Common/NamingConvetions.cs | src/RawRabbit/Common/NamingConvetions.cs | using System;
namespace RawRabbit.Common
{
public interface INamingConvetions
{
Func<Type, string> ExchangeNamingConvention { get; set; }
Func<Type, string> QueueNamingConvention { get; set; }
Func<Type, Type, string> RpcExchangeNamingConvention { get; set; }
Func<string> ErrorExchangeNamingConvention { get... | using System;
namespace RawRabbit.Common
{
public interface INamingConvetions
{
Func<Type, string> ExchangeNamingConvention { get; set; }
Func<Type, string> QueueNamingConvention { get; set; }
Func<Type, Type, string> RpcExchangeNamingConvention { get; set; }
Func<string> ErrorExchangeNamingConvention { get... | mit | C# |
e4582b073b4254263bd6911f8e12d32c6bc16cc1 | Update the factory as well. | tmat/roslyn,tvand7093/roslyn,diryboy/roslyn,nguerrera/roslyn,jeffanders/roslyn,VSadov/roslyn,reaction1989/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,amcasey/roslyn,jmarolf/roslyn,drognanar/roslyn,swaroop-sridhar/roslyn,yeaicc/roslyn,mgoertz-msft/roslyn,mattscheffer/roslyn,cston/roslyn,jamesqo/roslyn,genlu/roslyn,paulva... | src/Workspaces/Core/Desktop/Workspace/Storage/PersistenceStorageServiceFactory.cs | src/Workspaces/Core/Desktop/Workspace/Storage/PersistenceStorageServiceFactory.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;
using System.Composition;
using System.Threading;
using Microsoft.CodeAnalysis.Esent;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAna... | // 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;
using System.Composition;
using System.Threading;
using Microsoft.CodeAnalysis.Esent;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAna... | mit | C# |
a96739e92d4df0306f815a01d74419c8565da165 | Make flat GaussNewtonIkSolver adjust root translation | virtuallynaked/virtually-naked,virtuallynaked/virtually-naked | Demos/src/FlatIk/GaussNewtonIkSolver.cs | Demos/src/FlatIk/GaussNewtonIkSolver.cs | using System.Collections.Generic;
using SharpDX;
using MathNet.Numerics.LinearAlgebra;
using System.Linq;
namespace FlatIk {
public class GaussNewtonIkSolver : IIkSolver {
private const float RootTranslationWeight = 1f;
private static IEnumerable<Bone> GetBoneChain(Bone sourceBone) {
for (var bone = sourceBo... | using System.Collections.Generic;
using SharpDX;
using MathNet.Numerics.LinearAlgebra;
using System.Linq;
namespace FlatIk {
public class GaussNewtonIkSolver : IIkSolver {
private static IEnumerable<Bone> GetBoneChain(Bone sourceBone) {
for (var bone = sourceBone; bone != null; bone = bone.Parent) {
yield r... | mit | C# |
8c44fb4c199d00021e8c7665b1b1b75d259972ac | add ctos for sudoku9 | Mooophy/158212 | sudoku/Library/Sudoku9.cs | sudoku/Library/Sudoku9.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Library
{
public class Sudoku9 : Matrix
{
public Sudoku9()
: base(9, new RangSet9(), new RangSet9())
{ }
public Sudoku9(int[,] data)
: ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Library
{
public class Sudoku9
{
public class RangSet9 : HashSet<Matrix.Range>
{
public RangSet9()
{
foreach (var num in Enumera... | mit | C# |
4ef0b7cfcc264503e86a1e25d960c7ae73970a96 | Add extention methods for DisplayViewModel<T>. | Grabacr07/MetroTrilithon | source/MetroTrilithon.Desktop/Mvvm/DisplayViewModel.cs | source/MetroTrilithon.Desktop/Mvvm/DisplayViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Livet;
using MetroTrilithon.Serialization;
namespace MetroTrilithon.Mvvm
{
public static class DisplayViewModel
{
public static DisplayViewModel<T> Create<T>(T value, string display)
{
return n... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Livet;
namespace MetroTrilithon.Mvvm
{
public static class DisplayViewModel
{
public static DisplayViewModel<T> Create<T>(T value, string display)
{
return new DisplayViewModel<T> { Value = valu... | mit | C# |
6b297b921f9aafe2f1b5583f483fbd51c720883a | add some pre-validation to property setter | gstreamer-sharp/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,GStreamer/gstreamer-sharp,GStreamer/gstreamer-sharp,GStreamer/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,gstream... | sources/custom/Object.cs | sources/custom/Object.cs | // Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any ... | // Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any ... | lgpl-2.1 | C# |
5d6fe4579b3c852499467eb044406d75339fd9b1 | Mark Test project can visible for console extension project | BigEggTools/JsonComparer | BigEgg.ConsoleExtension/Properties/AssemblyInfo.cs | BigEgg.ConsoleExtension/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("Bi... | 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("Bi... | mit | C# |
442b3f0cea7fc5f38ffd58bd9aae71893b95b0ac | Reduce testing of coordinate nodes call | PlayFab/consuldotnet | 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 Coordinate_Datacenters()
{
var client = new Client();
var info = client.Agent.Self();
i... | 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();
... | apache-2.0 | C# |
ebdb2fe89e0023acf6c8e396509fe4908d581548 | Fix - Use EntityId instead of mail ID for EntityId column in recorder | EminentTechnology/Mailer | src/recorders/Mailer.Recorders.Sql/MailMessage.cs | src/recorders/Mailer.Recorders.Sql/MailMessage.cs | using Mailer.Abstractions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mailer.Recorders.Sql
{
public class MailMessage
{
public string MailMessageID { get; set; }
public string MailSubject { get; set; }
... | using Mailer.Abstractions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mailer.Recorders.Sql
{
public class MailMessage
{
public string MailMessageID { get; set; }
public string MailSubject { get; set; }
... | mit | C# |
380f557ad0c565ae22a0638378053e4eaf9541ec | Make use of Header endianness field | arfbtwn/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp,mono/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp,arfbtwn/dbus-sharp,mono/dbus-sharp | src/Message.cs | src/Message.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Collections.Generic;
using System.IO;
namespace NDesk.DBus
{
class Message
{
public Message ()
{
Header.Endianness = Connection.NativeEndianness;
Head... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Collections.Generic;
using System.IO;
namespace NDesk.DBus
{
class Message
{
public Message ()
{
Header.Endianness = Connection.NativeEndianness;
Head... | mit | C# |
a95d9ce98cc31f9dc888fdeb191f015b2703cf65 | Add TODO item. | tiesmaster/DCC,tiesmaster/DCC | Dcc/Program.cs | Dcc/Program.cs | using System.IO;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
namespace Tiesmaster.Dcc
{
public static class Program
{
public static void Main(string[] args)
{
var config = new ConfigurationBuilder()
.AddCommandLine(args)
... | using System.IO;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
namespace Tiesmaster.Dcc
{
public static class Program
{
public static void Main(string[] args)
{
var config = new ConfigurationBuilder()
.AddCommandLine(args)
... | mit | C# |
82e2feeec8cfe4aa2b1585b0384a483566977e10 | Add varying sent data sizes | brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync | projects/CommSample/source/CommSample.App/Program.cs | projects/CommSample/source/CommSample.App/Program.cs | //-----------------------------------------------------------------------
// <copyright file="Program.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace CommSample
{
using Syste... | //-----------------------------------------------------------------------
// <copyright file="Program.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace CommSample
{
using Syste... | unlicense | C# |
ca989f309e393e5449e88fc051d119fa90fe7530 | fix update sdk version number | NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity | ncmb_unity/Assets/NCMB/CommonConstant.cs | ncmb_unity/Assets/NCMB/CommonConstant.cs | /*******
Copyright 2017 FUJITSU CLOUD TECHNOLOGIES LIMITED 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... | /*******
Copyright 2017 FUJITSU CLOUD TECHNOLOGIES LIMITED 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... | apache-2.0 | C# |
f2a87e80ea7beb809b2942854b5a727520aadb7e | Update DirectInputPadPlugin.Build.cs | katze7514/UEDirectInputPadPlugin,katze7514/UEDirectInputPadPlugin | Source/DirectInputPadPlugin/DirectInputPadPlugin.Build.cs | Source/DirectInputPadPlugin/DirectInputPadPlugin.Build.cs | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
namespace UnrealBuildTool.Rules
{
public class DirectInputPadPlugin : ModuleRules
{
public DirectInputPadPlugin(ReadOnlyTargetRules Target):base(Target)
{
PrivatePCHHeaderFile = "Private/DirectInputPadPluginPrivatePCH.h";
PublicIncludePaths.A... | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
namespace UnrealBuildTool.Rules
{
public class DirectInputPadPlugin : ModuleRules
{
public DirectInputPadPlugin(ReadOnlyTargetRules Target):base(Target)
{
PublicIncludePaths.AddRange(
new string[] {
// "DirectInputPadPlugin/Public",
//... | mit | C# |
c49753d19d645b900d0f2f317ea68c7e263bb79a | Add ResolveByName attribute to TargetTextBlock property | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactions/Custom/ShowPointerPositionBehavior.cs | src/Avalonia.Xaml.Interactions/Custom/ShowPointerPositionBehavior.cs | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A behavior that displays cursor position on <see cref="InputElement.PointerMoved"/> event for the <see cref="Behavior{T}.AssociatedObject"/> using <see cref="TextBlock.Text... | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// A behavior that displays cursor position on <see cref="InputElement.PointerMoved"/> event for the <see cref="Behavior{T}.AssociatedObject"/> using <see cref="TextBlock.Text... | mit | C# |
a73c9c0f791bf30a70527e23d440f8561ea42148 | Add reference to the drawable handling a touch event per-manager | smoogipooo/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework/Input/TouchEventManager.cs | osu.Framework/Input/TouchEventManager.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 System.Diagnostics;
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Framework.Input.States;
using osuTK... | // 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 System.Diagnostics;
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Framework.Input.States;
using osuTK... | mit | C# |
985633b7b21d5b1e22af8845879cbcbddb03d7e5 | Update ContentItemDisplay mapper to set IsContainer and IsChildOfListView correctly | OPTEN/Opten.Umbraco.ListView,OPTEN/Opten.Umbraco.ListView,OPTEN/Opten.Umbraco.ListView | src/Opten.Umbraco.ListView/Events/TreeEventHandler.cs | src/Opten.Umbraco.ListView/Events/TreeEventHandler.cs | using AutoMapper;
using Opten.Umbraco.ListView.Extensions;
using System.Linq;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Web.Models.ContentEditing;
using Umbraco.Web.Trees;
namespace ClassLibrary1
{
public class TreeEventHandler : ApplicationEventHandler
{
protected override void Application... | using Opten.Umbraco.ListView.Extensions;
using System;
using System.Linq;
using Umbraco.Core;
using Umbraco.Web.Trees;
namespace ClassLibrary1
{
public class TreeEventHandler : ApplicationEventHandler
{
protected override void ApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext a... | mit | C# |
2da9f7ca82a3ecd3faa9ed8ef32c4660eba99f72 | Fix GitHubAccessToken never being used | tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools | src/Tgstation.Server.Host/Core/GitHubClientFactory.cs | src/Tgstation.Server.Host/Core/GitHubClientFactory.cs | using System;
using Microsoft.Extensions.Options;
using Octokit;
using Tgstation.Server.Host.Configuration;
using Tgstation.Server.Host.System;
namespace Tgstation.Server.Host.Core
{
/// <inheritdoc />
sealed class GitHubClientFactory : IGitHubClientFactory
{
/// <summary>
/// The <see cref="IAssemblyInformatio... | using System;
using Octokit;
using Tgstation.Server.Host.System;
namespace Tgstation.Server.Host.Core
{
/// <inheritdoc />
sealed class GitHubClientFactory : IGitHubClientFactory
{
/// <summary>
/// The <see cref="IAssemblyInformationProvider"/> for the <see cref="GitHubClientFactory"/>
/// </summary>
reado... | agpl-3.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.