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 |
|---|---|---|---|---|---|---|---|---|
14481191f9abfc3fa3aebfe21c1d59f4a3db4882 | Update internal color on SetSolidColorBrushColor | jingwood/d2dlib,jingwood/d2dlib,jingwood/d2dlib | src/D2DLibExport/D2DSolidColorBrush.cs | src/D2DLibExport/D2DSolidColorBrush.cs | /*
* MIT License
*
* Copyright (c) 2009-2021 Jingwood, unvell.com. All right reserved.
*
* 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 limit... | /*
* MIT License
*
* Copyright (c) 2009-2021 Jingwood, unvell.com. All right reserved.
*
* 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 limit... | mit | C# |
60324bb1571a6230ba4f3a49575a9962cadb527b | Make sure there is a space between the -* and the filtered namespace to prevent any accidental replacements | michaelsync/Giles,codereflection/Giles,michaelsync/Giles,michaelsync/Giles,codereflection/Giles,codereflection/Giles,michaelsync/Giles | src/Giles.Core/Configuration/Filter.cs | src/Giles.Core/Configuration/Filter.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Giles.Core.Configuration
{
[Serializable]
public class Filter
{
public Filter() { }
public Filter(string convertToFilter)
{
foreach (var entry in FilterLookUp.Where(entry => convertToFilter.Con... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Giles.Core.Configuration
{
[Serializable]
public class Filter
{
public Filter() { }
public Filter(string convertToFilter)
{
foreach (var entry in FilterLookUp.Where(entry => convertToFilter.Con... | mit | C# |
b220280a75b9df4b6e883d7e277a82572f910b85 | bump to version 1.0 | ParticularLabs/SetStartupProjects | src/SetStartupProjects/AssemblyInfo.cs | src/SetStartupProjects/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("SetStartupProjects")]
[assembly: AssemblyProduct("SetStartupProjects")]
[assembly: AssemblyCopyright("Copyright © NServiceBus Ltd")]
[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyFileVersion("1.0.0")]
[assembly: Intern... | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("SetStartupProjects")]
[assembly: AssemblyProduct("SetStartupProjects")]
[assembly: AssemblyCopyright("Copyright © NServiceBus Ltd")]
[assembly: AssemblyVersion("0.5.0")]
[assembly: AssemblyFileVersion("0.5.0")]
[assembly: Intern... | mit | C# |
978ac5199f7552d607b04647a8934d8ee6e322f0 | Bump version to 15.6.2.36393 | 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# |
5337694b98ae65a6f98f58ca3530e31be7ff2850 | Fix unread count for players | leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net | JoinRpg.Domain/CommentExtensions.cs | JoinRpg.Domain/CommentExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using JoinRpg.DataModel;
using JoinRpg.Helpers;
namespace JoinRpg.Domain
{
public static class CommentExtensions
{
public static bool IsReadByUser(this Comment comment, int userId)
{
return comment.Discussion.GetWatermark(userId) >= ... | using System;
using System.Collections.Generic;
using System.Linq;
using JoinRpg.DataModel;
namespace JoinRpg.Domain
{
public static class CommentExtensions
{
public static bool IsReadByUser(this Comment comment, int userId)
{
return IsReadByUserImpl(comment, userId, comment.Discussion.Comments, co... | mit | C# |
e8ac3c02d793460c4a9862319c1794cb6f2a6b0f | Add server|client mode to server demo | tmds/Tmds.DBus | TestServer.cs | TestServer.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NDesk.DBus;
using org.freedesktop.DBus;
using System.IO;
using System.Net;
using System.Net.Sockets;
using Mono.Unix;
public class TestServer
{
//TODO: complete this t... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NDesk.DBus;
using org.freedesktop.DBus;
using System.IO;
using System.Net;
using System.Net.Sockets;
using Mono.Unix;
public class TestServer
{
//TODO: complete this t... | mit | C# |
8c36f5fd45b9cd1c2a85e33e915a23e06f3fe06f | Fix Resharper warnings | BeigeBadger/wt-wiki-scraper | ConsoleScraper/ConsoleScraper/Program.cs | ConsoleScraper/ConsoleScraper/Program.cs | using System;
using System.Collections.Generic;
using HtmlAgilityPack;
using ConsoleScraper.Models;
using System.Diagnostics;
using System.Collections.Concurrent;
namespace ConsoleScraper
{
internal class Program
{
/** Thread-safe collections **/
// Populated with the vehicle name as the key and the HTML conte... | using System;
using System.Collections.Generic;
using HtmlAgilityPack;
using ConsoleScraper.Models;
using System.Diagnostics;
using System.Collections.Concurrent;
namespace ConsoleScraper
{
internal class Program
{
/** Thread-safe collections **/
// Populated with the vehicle name as the key and the HTML conte... | mit | C# |
ed1d7a9afd3b6787ebf1cdfd85ee6ff467b47707 | Fix HandleMailMergeSwitches.cs | asposewords/Aspose_Words_NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET,aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET,aspose-words/Aspose.Words-for-.NET | Examples/CSharp/Mail-Merge/HandleMailMergeSwitches.cs | Examples/CSharp/Mail-Merge/HandleMailMergeSwitches.cs | using Aspose.Words.Fields;
using Aspose.Words.MailMerging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aspose.Words.Examples.CSharp.Mail_Merge
{
public class HandleMailMergeSwitches
{
public static void Run()
{
... | using Aspose.Words.Fields;
using Aspose.Words.MailMerging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aspose.Words.Examples.CSharp.Mail_Merge
{
public class HandleMailMergeSwitches
{
public static void Run()
{
... | mit | C# |
50427a3a76057a595f22ec2b258f394f988e11f8 | Add test for PR #26. | Bloomcredit/SSH.NET,sshnet/SSH.NET,miniter/SSH.NET | src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/PseudoTerminalInfoTest.cs | src/Renci.SshNet.Tests/Classes/Messages/Connection/ChannelRequest/PseudoTerminalInfoTest.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Common;
using Renci.SshNet.Messages.Connection;
using Renci.SshNet.Tests.Common;
namespace Renci.SshNet.Tests.Classes.Messages.Connec... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Tests.Common;
namespace Renci.SshNet.Tests.Classes.Messages.Connection
{
/// <summary>
/// Represents "pty-req" type channel request information
/// </summary>
[TestClass]
public class PseudoTerminalRequestInfoTest : T... | mit | C# |
95ca714213a72034be6661676951c99ef81fea32 | Fix crash when changing active status of a project (PG-516) | sillsdev/Glyssen,sillsdev/Glyssen | Glyssen/Controls/ExistingProjectsList.cs | Glyssen/Controls/ExistingProjectsList.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
using Glyssen.Bundle;
using SIL.DblBundle;
using SIL.Windows.Forms.DblBundle;
namespace Glyssen.Controls
{
public partial class ExistingProjectsList : ProjectsListBase<GlyssenDblTextMetadata, GlyssenDblMetadataLanguage>
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
using Glyssen.Bundle;
using SIL.DblBundle;
using SIL.Windows.Forms.DblBundle;
namespace Glyssen.Controls
{
public partial class ExistingProjectsList : ProjectsListBase<GlyssenDblTextMetadata, GlyssenDblMetadataLanguage>
{
... | mit | C# |
4fc8e9cebef3b42a4256cbc314db2e21f200e2c2 | Fix merge conflict with maitisoumyajit | ibsarbca/MVCLibraryManagementSystem | MVCLibraryManagementSystem/Controllers/HomeController.cs | MVCLibraryManagementSystem/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MVCLibraryManagementSystem.Controllers
{
public class HomeController : Controller
{
// GET: Home
public ActionResult Index()
{
return View();
}
}... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MVCLibraryManagementSystem.Controllers
{
public class HomeController : Controller
{
// GET: Home
public ActionResult Index()
{
return View();
... | mit | C# |
5f6c755f0c8cedd1fd20b2537e8e5185cfbe47fc | Add a link to the help page | ucdavis/Purchasing,ucdavis/Purchasing,ucdavis/Purchasing | Purchasing.Web/Views/Help/Index.cshtml | Purchasing.Web/Views/Help/Index.cshtml | @{
ViewBag.Title = "PrePurchasing Help";
}
<div id="top" class="container" style="width: 100%; font-weight: bold;">
<p>
Use the below links to get help and make suggestions to improve PrePurchasing.
</p>
</div>
<div id="keeper">
<section id="suggestion" class="container split" style="margin-righ... | @{
ViewBag.Title = "PrePurchasing Help";
}
<div id="top" class="container" style="width: 100%; font-weight: bold;">
<p>
Use the below links to get help and make suggestions to improve PrePurchasing.
</p>
</div>
<div id="keeper">
<section id="suggestion" class="container split" style="margin-righ... | mit | C# |
c559cc99cacb0d9a3f999a053d92d11d7246a28b | add xml comments for enum types | kmarcell/ELTE-2015-Component-Team4 | GTInterfacesLibrary/GTInterfacesLibrary/GameEvents/GameStateChangedEventArgs.cs | GTInterfacesLibrary/GTInterfacesLibrary/GameEvents/GameStateChangedEventArgs.cs | using System;
namespace GTInterfacesLibrary.GameEvents
{
/// <summary>
/// The phase of the game, to perform the corresponding action.
/// </summary>
public enum GamePhase
{
/// <summary>
/// Opened is used when the game is created online but no user joined.
/// </summary>
... | using System;
namespace GTInterfacesLibrary.GameEvents
{
/// <summary>
/// The phase of the game, to perform the corresponding action.
/// </summary>
public enum GamePhase
{
Opened,
Started,
Playing,
Ended,
Cancelled
}
/// <summary>
/// The type... | mit | C# |
21538d446f979036a6f544d4666248eb6f754eea | Fix reference in comment | contentful/contentful.net | Contentful.Core/Models/ContentfulCollection.cs | Contentful.Core/Models/ContentfulCollection.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Contentful.Core.Models
{
/// <summary>
/// Represents a collection of contentful resources with additional medadata regarding, skip, limit and total amoun... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Contentful.Core.Models
{
/// <summary>
/// Represents a collection of contentful resources with additional medadata regarding, skip, limit and total amoun... | mit | C# |
c1957dbdb9f15b9273aa9cf31ca6aa88d8eecc5b | Use dispatcher begininvoke for textbox scroll | R-Smith/vmPing | vmPing/Views/IsolatedPingWindow.xaml.cs | vmPing/Views/IsolatedPingWindow.xaml.cs | using System;
using System.Windows;
using System.Windows.Controls;
using vmPing.Classes;
namespace vmPing.Views
{
/// <summary>
/// Interaction logic for IsolatedPingWindow.xaml
/// </summary>
public partial class IsolatedPingWindow : Window
{
private int SelStart = 0;
private int ... | using System;
using System.Windows;
using System.Windows.Controls;
using vmPing.Classes;
namespace vmPing.Views
{
/// <summary>
/// Interaction logic for IsolatedPingWindow.xaml
/// </summary>
public partial class IsolatedPingWindow : Window
{
private int SelStart = 0;
private int ... | mit | C# |
5546770b9d0793f66a6ab41773f07194a3c6e135 | Update default publishing url to point to v2 feed. | mdavid/nuget,mdavid/nuget | Common/NuGetConstants.cs | Common/NuGetConstants.cs | using System;
namespace NuGet
{
public static class NuGetConstants
{
public static readonly string DefaultFeedUrl = "https://go.microsoft.com/fwlink/?LinkID=230477";
public static readonly string V1FeedUrl = "https://go.microsoft.com/fwlink/?LinkID=206669";
public static read... | using System;
namespace NuGet
{
public static class NuGetConstants
{
public static readonly string DefaultFeedUrl = "https://go.microsoft.com/fwlink/?LinkID=230477";
public static readonly string V1FeedUrl = "https://go.microsoft.com/fwlink/?LinkID=206669";
public static read... | apache-2.0 | C# |
8324fda25184eb1e9113ee95adf74c9fbdb4562c | Initialize a WindowsContainer when program starts | appharbor/appharbor-cli | src/AppHarbor/Program.cs | src/AppHarbor/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.Windsor;
namespace AppHarbor
{
class Program
{
static void Main(string[] args)
{
var container = new WindsorContainer();
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AppHarbor
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
887d292427c6f9240fd09b746564eabf3068c3f9 | Mejora en las probabilidades de eventos | carlosgj94/pobladoVikingo | vegvisir/Assets/Scripts/GameManager.cs | vegvisir/Assets/Scripts/GameManager.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.Collections.Generic;
public class GameManager : MonoBehaviour {
[SerializeField]
private VariableManager variables;
[SerializeField]
private List<GameObject> listaEventos;
[SerializeField]
private List<GameObject> lista... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.Collections.Generic;
public class GameManager : MonoBehaviour {
[SerializeField]
private VariableManager variables;
[SerializeField]
private List<GameObject> listaEventos;
[SerializeField]
private List<GameObject> lista... | mit | C# |
562c56075a0a1248c3ed746d158e8c5a49e22542 | Update version to 1.0.1 | Abc-Arbitrage/Zebus,Abc-Arbitrage/Zebus.Persistence | src/SharedVersionInfo.cs | src/SharedVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.0.1")]
[assembly: AssemblyFileVersion("1.0.1")]
[assembly: AssemblyInformationalVersion("1.0.1")] | using System.Reflection;
[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyFileVersion("1.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")] | mit | C# |
e3d906669a6cef0e5e5e14bcec6bc17173e40720 | Update fields in AssemblyInfo.cs | alansav/OptimizedDataReader | OptimizedDataReader/Properties/AssemblyInfo.cs | OptimizedDataReader/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("Opt... | 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("Opt... | mit | C# |
729a42bf24b2bbdf3dcd92d513c0ee365e3e8167 | Fix watching | Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex | backend/src/Squidex/Config/Domain/CommentsServices.cs | backend/src/Squidex/Config/Domain/CommentsServices.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | mit | C# |
be1e71fc5b31e61a7f92f20ed73b6c16a447ad72 | Add tests for Bic. | chtoucas/Narvalo.NET,chtoucas/Narvalo.NET | tests/Narvalo.Facts/Finance/BicFacts.cs | tests/Narvalo.Facts/Finance/BicFacts.cs | // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo.Finance
{
using System;
using Xunit;
public static partial class BicFacts
{
[Fact]
public static void InstitutionCode()
{
// Arrange
... | // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo.Finance
{
using System;
using Xunit;
public static partial class BicFacts
{
[Fact]
public static void InstitutionCode()
{
// Arrange
... | bsd-2-clause | C# |
4838f122f5a995c99e58c9d23f6f3e5b9e4f21f9 | Save game settings on close. | LightningDragon/Dogstar | PSO2Launcher/App.xaml.cs | PSO2Launcher/App.xaml.cs | using System.Windows;
using Dogstar.Properties;
namespace Dogstar
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App
{
void Application_Startup(object sender, StartupEventArgs e)
{
if (Settings.Default.UpgradeCheck)
{
Settings.Default.Upgrade();
Settings.... | using System.Windows;
using Dogstar.Properties;
namespace Dogstar
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App
{
void Application_Startup(object sender, StartupEventArgs e)
{
if (Settings.Default.UpgradeCheck)
{
Settings.Default.Upgrade();
Settings.... | mit | C# |
1f0c1bebf121706a9682f12856c3738b23982cf7 | Use the correct NativeLibrary method. Note potential bug. | sharpjs/PSql,sharpjs/PSql | PSql.Client/SniLoader.cs | PSql.Client/SniLoader.cs | /*
Copyright 2020 Jeffrey Sharp
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS A... | /*
Copyright 2020 Jeffrey Sharp
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS A... | isc | C# |
2c0960aedfe8176a015ec53c358779b157287fef | change user vars to properties | prozum/solitude | Samples/Neo4j/Program.cs | Samples/Neo4j/Program.cs | using System;
using Neo4jClient;
namespace Neo4j
{
class User
{
public int Id { get; set; }
public string Name { get; set; }
}
class MainClass
{
private static GraphClient client;
public static void Main (string[] args)
{
client = new GraphClient(new Uri("http://prozum.dk:7474/db/data"),"neo4j","p... | using System;
using Neo4jClient;
namespace Neo4j
{
class MainClass
{
private static GraphClient _graphClient;
class User
{
public int Id;
public string Name;
}
public static void Main (string[] args)
{
_graphClient = new GraphClient(new Uri("http://prozum.dk:7474/db/data"),"neo4j","password")... | mit | C# |
95f30dc6a31cad9e09f1d8a17e7dc1face4e773f | Add WebView Emulation mode example | hamekoz/xwt,akrisiun/xwt,hwthomas/xwt,mono/xwt,antmicro/xwt,lytico/xwt,cra0zy/xwt,residuum/xwt,TheBrainTech/xwt | TestApps/WpfTest/Main.cs | TestApps/WpfTest/Main.cs | // Main.cs
//
// Author:
// Luís Reis <luiscubal@gmail.com>
// Vsevolod Kukol <sevoku@microsoft.com>
//
// Copyright (c) 2012 Luís Reis
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// ... | // Main.cs
//
// Author:
// Luís Reis <luiscubal@gmail.com>
//
// Copyright (c) 2012 Luís Reis
//
// 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 ... | mit | C# |
35ad409da6fd60f48f66b58003058ac9d2c5b360 | Fix spinner bonus ticks samples not actually playing | smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu | osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSpinnerTick.cs | osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSpinnerTick.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.Game.Rulesets.Osu.Judgements;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Osu.Objects.Drawables
{
public class DrawableSpinnerTick : Drawa... | // 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.Game.Rulesets.Osu.Judgements;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Osu.Objects.Drawables
{
public class DrawableSpinnerTick : Drawa... | mit | C# |
826a8552e598dc55cc59d11982fdcda470011f70 | Reword options item to include "screenshot" | smoogipoo/osu,ZLima12/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu,ppy/osu,UselessToucan/osu,Nabile-Rahmani/osu,johnneijzen/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,naoey/osu,naoey/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,ppy/osu,naoey/osu,DrabWeb/osu,... | osu.Game/Overlays/Settings/Sections/Graphics/DetailSettings.cs | osu.Game/Overlays/Settings/Sections/Graphics/DetailSettings.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Configuration;
namespace osu.Game.Overlays.Settings.Sections.Graphics
{
publi... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Configuration;
namespace osu.Game.Overlays.Settings.Sections.Graphics
{
publi... | mit | C# |
264d8dfb1d8c641c93a93eb5303ee385cc38b404 | fix positioning of dialogs when the application is not on the default screen | yugecin/osukps | osukps/DialogPositioner.cs | osukps/DialogPositioner.cs | using System;
using System.Drawing;
using System.Windows.Forms;
namespace osukps {
class DialogPositioner {
private const int MARGIN = 10;
public static bool preferSouth = false;
private static Screen screen;
private static Size size;
private static Point midposition;
private static Point location;
... | using System;
using System.Drawing;
using System.Windows.Forms;
namespace osukps {
class DialogPositioner {
private const int MARGIN = 10;
public static bool preferSouth = false;
private static Screen screen;
private static Size size;
private static Point midposition;
private static Point location;
... | mit | C# |
daab4b05a9d4437fd46552a4811938e42e146ea3 | add auth req in eventcontroller | prozum/solitude | Solitude.Server/Controllers/EventController.cs | Solitude.Server/Controllers/EventController.cs | using System.Web.Http;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using System.Collections.Generic;
using Model;
namespace Solitude.Server
{
[RoutePrefix("api/event")]
public class EventController : SolitudeController
{
[Authorize]
public async Task<IHttpActionResult> Get(... | using System.Web.Http;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using System.Collections.Generic;
using Model;
namespace Solitude.Server
{
[RoutePrefix("api/event")]
public class EventController : SolitudeController
{
public async Task<IHttpActionResult> Get()
{
... | mit | C# |
f93e2941b76d0a7863daa4a28a66c5bcf875e186 | Remove bad js references | WeAreMammoth/kudu-obsolete,badescuga/kudu,oliver-feng/kudu,juoni/kudu,chrisrpatterson/kudu,shanselman/kudu,YOTOV-LIMITED/kudu,puneet-gupta/kudu,kenegozi/kudu,bbauya/kudu,shibayan/kudu,puneet-gupta/kudu,oliver-feng/kudu,uQr/kudu,kali786516/kudu,uQr/kudu,EricSten-MSFT/kudu,projectkudu/kudu,chrisrpatterson/kudu,badescuga/... | Kudu.Web/Views/Application/Create.cshtml | Kudu.Web/Views/Application/Create.cshtml | @model Kudu.Web.Models.ApplicationViewModel
@{
ViewBag.Title = "New Application";
}
<h2>New Application</h2>
@using (Html.BeginForm()) {
@Html.ValidationSummary()
<fieldset>
<legend>Application</legend>
<div class="editor-label">
@Html.LabelFor(model => model.Name)
<... | @model Kudu.Web.Models.ApplicationViewModel
@{
ViewBag.Title = "New Application";
}
<h2>New Application</h2>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>... | apache-2.0 | C# |
99fa0e25dcb542e98e6bdf3c71de45a891634806 | Switch back to FirstOrDefault to allow for weird testing logic to pass | smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu | osu.Game/Online/API/APIMod.cs | osu.Game/Online/API/APIMod.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using Humanizer;
using Newtonsoft.Json;
using osu.Framework.Bindables;
using osu.Game.Configuration;
us... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using Humanizer;
using Newtonsoft.Json;
using osu.Framework.Bindables;
using osu.Game.Configuration;
us... | mit | C# |
81d04b5eae2d14faf7f80b6f8892883e655442d2 | Add worker resolve and start Start | generik0/Rik.CodeCamp | Src/Hosts/Rik.CodeCamp.Host/CodeCampControl.cs | Src/Hosts/Rik.CodeCamp.Host/CodeCampControl.cs | using System;
using GAIT.Utilities.Logging;
using NLog;
using Rik.CodeCamp.Core;
using Topshelf;
using static GAIT.Utilities.GeneralBootstrapper;
namespace Rik.CodeCamp.Host
{
internal class CodeCampControl : ServiceControl
{
private Bootstrapper _bootstrapper;
private readonly ILogger _logger... | using System;
using GAIT.Utilities.Logging;
using NLog;
using Topshelf;
using static GAIT.Utilities.GeneralBootstrapper;
namespace Rik.CodeCamp.Host
{
internal class CodeCampControl : ServiceControl
{
private Bootstrapper _bootstrapper;
private readonly ILogger _logger;
public CodeCam... | mit | C# |
e4e30eee782a1135b978c0728b1f4d2ac9d75deb | Set DialogResult to false on Options cancel | danielchalmers/SteamAccountSwitcher | SteamAccountSwitcher/Options.xaml.cs | SteamAccountSwitcher/Options.xaml.cs | using System;
using System.Windows;
using SteamAccountSwitcher.Properties;
namespace SteamAccountSwitcher
{
/// <summary>
/// Interaction logic for Options.xaml
/// </summary>
public partial class Options : Window
{
public Options()
{
InitializeComponent();
... | using System;
using System.Windows;
using SteamAccountSwitcher.Properties;
namespace SteamAccountSwitcher
{
/// <summary>
/// Interaction logic for Options.xaml
/// </summary>
public partial class Options : Window
{
public Options()
{
InitializeComponent();
... | mit | C# |
a20e7c9e02591303d8bddd620b7f8f2fa03712c4 | remove useless usings | army-of-two/when-its-done,army-of-two/when-its-done,army-of-two/when-its-done | WhenItsDone/Lib/WhenItsDone.Data/WhenItsDoneDbContext.cs | WhenItsDone/Lib/WhenItsDone.Data/WhenItsDoneDbContext.cs | using System.Data.Entity;
using WhenItsDone.Data.Contracts;
using WhenItsDone.Data.Factories;
using WhenItsDone.Models;
namespace WhenItsDone.Data
{
public class WhenItsDoneDbContext : DbContext, IWhenItsDoneDbContext
{
private IStatefulFactory statefulFactory;
public WhenItsDoneDbContext(ISt... | using System;
using System.Data.Entity;
using WhenItsDone.Data.Adapters;
using WhenItsDone.Data.Contracts;
using WhenItsDone.Data.Factories;
using WhenItsDone.Models;
namespace WhenItsDone.Data
{
public class WhenItsDoneDbContext : DbContext, IWhenItsDoneDbContext
{
private IStatefulFactory statefulFa... | mit | C# |
858506aaf48610674134ab801280b5042f3061c9 | Fix compilation error | victoria92/university-program-generator,victoria92/university-program-generator | UniProgramGen/Data/Requirements/Requirement.cs | UniProgramGen/Data/Requirements/Requirement.cs |
namespace UniProgramGen.Data
{
public abstract class Requirement
{
public readonly double weight;
public abstract bool isSatisfied();
}
}
|
namespace UniProgramGen.Data
{
public abstract class Requirement
{
public readonly double weight;
public virtual bool isSatisfied();
}
}
| bsd-2-clause | C# |
bc1ba60eb5fd139336c7e374568de7ef9b159201 | set datacontext directly, added autodimbuttonvisibility propdp | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Windows/WindowButtons.xaml.cs | TCC.Core/Windows/WindowButtons.xaml.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
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 ... | using System;
using System.Collections.Generic;
using System.ComponentModel;
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 ... | mit | C# |
b8f3fda973185f9a1d9ffa7b5095ba70c8214394 | bump rev on correct project :| | PyramidTechnologies/ThermalTalk | ThermalTalk/Properties/AssemblyInfo.cs | ThermalTalk/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("Th... | 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("Th... | mit | C# |
c0e4ae8028d10331e372a257b7af7e27140f5ab6 | raise AgentView camera above head | accu-rate/SumoVizUnity,accu-rate/SumoVizUnity | Assets/Scripts/CameraModes/AgentView.cs | Assets/Scripts/CameraModes/AgentView.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
// initial implementation from Christos Tsiliakis
public class AgentView : MonoBehaviour {
private GameObject currentPed = null;
private GameObject mainCameraParent;
void Start() {
mainCameraParent = GameObject.Find ("Flycam"); /... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
// initial implementation from Christos Tsiliakis
public class AgentView : MonoBehaviour {
private GameObject currentPed = null;
private GameObject mainCameraParent;
void Start() {
mainCameraParent = GameObject.Find ("Flycam"); /... | mit | C# |
36d9e90c0f9b1df0e424e5c656c7c54a6b46a93d | replace ILocalCache with LocalCache, thanks @victortomaili | volkanceylan/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,dfaruque/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,dfaruque/Serenity,volkanceylan/Serenity,ro... | Serenity.Core/Authorization/Throttler.cs | Serenity.Core/Authorization/Throttler.cs | using Serenity.Abstractions;
using System;
namespace Serenity
{
public class Throttler
{
public Throttler(string key, TimeSpan duration, int limit)
{
Key = key;
Duration = duration;
Limit = limit;
CacheKey = "Throttling:" + key + ":" ... | using Serenity.Abstractions;
using System;
namespace Serenity
{
public class Throttler
{
public Throttler(string key, TimeSpan duration, int limit)
{
Key = key;
Duration = duration;
Limit = limit;
CacheKey = "Throttling:" + key + ":" ... | mit | C# |
018cc0852ddd30dff5f84ce992e1cdc31784f92f | Update comment. | ChristopheLav/HockeySDK-Windows,bitstadium/HockeySDK-Windows,dkackman/HockeySDK-Windows | Src/Kit.UWP/HockeyClientExtensionsUwp.cs | Src/Kit.UWP/HockeyClientExtensionsUwp.cs | namespace Microsoft.HockeyApp
{
using Extensibility.Windows;
using Services;
using Services.Device;
/// <summary>
/// Send information to the HockeyApp service.
/// </summary>
public static class HockeyClientExtensionsUwp
{
/// <summary>
/// Bootstraps Hocke... | namespace Microsoft.HockeyApp
{
using Extensibility.Windows;
using Services;
using Services.Device;
/// <summary>
/// Send information to the HockeyApp service.
/// </summary>
public static class HockeyClientExtensionsUwp
{
/// <summary>
/// Bootstraps Hocke... | mit | C# |
5ee6d11fd3f0c9f591eb9fb4b2daa1c1d6e88571 | use linq query to get the the sender on SayText2 | akiver/demoinfo,akiver/demoinfo,akiver/demoinfo,econoraptor/demoinfo,EHVAG/demoinfo,EHVAG/demoinfo,econoraptor/demoinfo,econoraptor/demoinfo,EHVAG/demoinfo | DemoInfo/DP/FastNetmessages/SayText2.cs | DemoInfo/DP/FastNetmessages/SayText2.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace DemoInfo.DP.FastNetmessages
{
/// <summary>
/// FastNetMessage adaptation of CCSUsrMsg_SayText2 protobuf message
/// </summary>
public class SayText2
{
public int EntIdx;
private int _chat;
public bool Chat => _chat != 0;
pri... | using System.Collections.Generic;
using System.IO;
namespace DemoInfo.DP.FastNetmessages
{
/// <summary>
/// FastNetMessage adaptation of CCSUsrMsg_SayText2 protobuf message
/// </summary>
public class SayText2
{
public int EntIdx;
private int _chat;
public bool Chat => _chat != 0;
private int _textAllCh... | mit | C# |
37da52cb0fc7efe8103511a1558bcecf705a1fad | Fix crouch speed | Warhead-Entertainment/OpenWorld | Assets/Scripts/Player.cs | Assets/Scripts/Player.cs | using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
private CharacterController controller;
private Transform firstPersonCamera;
private Vector3 moveDirection;
private float movementSpeed = 3.0F;
private const float regularSpeed = 2.0F;
private const float sprintSpeed = 4.0F;... | using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
private CharacterController controller;
private Transform firstPersonCamera;
private Vector3 moveDirection;
private float movementSpeed = 3.0F;
private const float regularSpeed = 2.0F;
private const float sprintSpeed = 4.0F;... | mit | C# |
bae9373a96bb97e372f12c3eab11dc4994eddccf | simplify ef core registration to resolve MemoryCache SizeLimit issue | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | server/src/FilterLists.Services/DependencyInjection/Extensions/ConfigureServicesCollection.cs | server/src/FilterLists.Services/DependencyInjection/Extensions/ConfigureServicesCollection.cs | using AutoMapper;
using FilterLists.Data;
using FilterLists.Services.FilterList;
using FilterLists.Services.Language;
using FilterLists.Services.License;
using FilterLists.Services.Maintainer;
using FilterLists.Services.Seed;
using FilterLists.Services.Software;
using FilterLists.Services.Syntax;
using FilterLists.Ser... | using AutoMapper;
using FilterLists.Data;
using FilterLists.Services.FilterList;
using FilterLists.Services.Language;
using FilterLists.Services.License;
using FilterLists.Services.Maintainer;
using FilterLists.Services.Seed;
using FilterLists.Services.Software;
using FilterLists.Services.Syntax;
using FilterLists.Ser... | mit | C# |
d1236feec474fa8ca3170514c35b19056be627da | bump version to 2.5.0 | piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker | Piwik.Tracker/Properties/AssemblyInfo.cs | Piwik.Tracker/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PiwikTracker")]
[assembly: Assembl... | 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("PiwikTracker")]
[assembly: Assembl... | bsd-3-clause | C# |
a088aaf16b2a973c2214e3d3c5863b922648dbf6 | Remove usings. | aelij/roslyn,cston/roslyn,AmadeusW/roslyn,mattwar/roslyn,khyperia/roslyn,reaction1989/roslyn,dotnet/roslyn,gafter/roslyn,yeaicc/roslyn,panopticoncentral/roslyn,abock/roslyn,reaction1989/roslyn,dpoeschl/roslyn,jcouv/roslyn,tannergooding/roslyn,OmarTawfik/roslyn,tvand7093/roslyn,davkean/roslyn,jmarolf/roslyn,agocke/rosly... | src/Features/CSharp/Portable/UseExpressionBody/Helpers/UseExpressionBodyForAccessorsHelper.cs | src/Features/CSharp/Portable/UseExpressionBody/Helpers/UseExpressionBodyForAccessorsHelper.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.Collections.Immutable;
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.D... | // 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.Collections.Immutable;
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.... | mit | C# |
a762b68be377b1c2993422825fc498272cf44ac8 | Add Hello World | peter0chow/Nardax | src/Nardax/Nardax/AssemblyExtensions.cs | src/Nardax/Nardax/AssemblyExtensions.cs | using System;
using System.Configuration;
using System.Reflection;
// Hello world
namespace Nardax
{
public static class AssemblyExtensions
{
public static string GetAppSettingsValue(this Assembly assembly, string key)
{
var configuration = ConfigurationManager.OpenExeConfiguration... | using System;
using System.Configuration;
using System.Reflection;
namespace Nardax
{
public static class AssemblyExtensions
{
public static string GetAppSettingsValue(this Assembly assembly, string key)
{
var configuration = ConfigurationManager.OpenExeConfiguration(assembly.Locat... | mit | C# |
ee4ae661d78c38fd7f37103e369ecc0abbe5e789 | Refactor ListeningStream | adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress | src/SharpCompress/IO/ListeningStream.cs | src/SharpCompress/IO/ListeningStream.cs | using System.IO;
using SharpCompress.Common;
namespace SharpCompress.IO
{
internal class ListeningStream : Stream
{
private long currentEntryTotalReadBytes;
private readonly IExtractionListener listener;
public ListeningStream(IExtractionListener listener, Stream stream)
{
... | using System.IO;
using SharpCompress.Common;
namespace SharpCompress.IO
{
internal class ListeningStream : Stream
{
private long currentEntryTotalReadBytes;
private readonly IExtractionListener listener;
public ListeningStream(IExtractionListener listener, Stream stream)
{
... | mit | C# |
76091dbc1139adbfd3e879e82773ceec674e187a | Fix PrintWithSiSuffix handling large negative numbers incorrectly | smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework | osu.Framework/Utils/NumberFormatter.cs | osu.Framework/Utils/NumberFormatter.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;
namespace osu.Framework.Utils
{
/// <summary>
/// Exposes functionality for formatting numbers.
/// </summary>
public static class NumberF... | // 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;
namespace osu.Framework.Utils
{
/// <summary>
/// Exposes functionality for formatting numbers.
/// </summary>
public static class NumberF... | mit | C# |
323b95054ed40cf0bbeb226fa33dfe6bbd2a8371 | Add memory logging | gawronsk/triedictive-text | TrieExperimentPlatform/TrieExperimentPlatform/TrieExperiment.cs | TrieExperimentPlatform/TrieExperimentPlatform/TrieExperiment.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TrieExperimentPlatform
{
class TrieExperiment
{
static void Main(string[] args)
{
string[] lines = System.IO.File.Rea... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TrieExperimentPlatform
{
class TrieExperiment
{
static void Main(string[] args)
{
string[] lines = System.IO.File.Rea... | unlicense | C# |
0b136a5d2a60db397bb026c78ec5ae94b9a7ff28 | Reduce TokenKind subclasses' reliance on deprecated MatchResult by pushing down the inherited Parse method to each subclass and then removing duplication created by that refactoring. | plioi/parsley | src/Parsley/TokenKind.cs | src/Parsley/TokenKind.cs | using System.Text.RegularExpressions;
namespace Parsley;
public abstract class TokenKind : IParser<Token>
{
public static readonly TokenKind EndOfInput = new Empty("end of input");
protected readonly string name;
protected TokenKind(string name)
{
this.name = name;
}
public string N... | using System.Text.RegularExpressions;
namespace Parsley;
public abstract class TokenKind : IParser<Token>
{
public static readonly TokenKind EndOfInput = new Empty("end of input");
readonly string name;
protected TokenKind(string name)
{
this.name = name;
}
public Reply<Token> Parse... | mit | C# |
cb48193e769e4ad894b31a860bfe27c7b0ac42ae | Remove class constraint | Archie-Yang/PcscDotNet | src/PcscDotNet/Pcsc_1.cs | src/PcscDotNet/Pcsc_1.cs | using System;
namespace PcscDotNet
{
public static class Pcsc<TIPcscProvider> where TIPcscProvider : IPcscProvider, new()
{
private static readonly Pcsc _instance = new Pcsc(new TIPcscProvider());
public static Pcsc Instance => _instance;
public static PcscContext CreateContext()
... | using System;
namespace PcscDotNet
{
public static class Pcsc<TIPcscProvider> where TIPcscProvider : class, IPcscProvider, new()
{
private static readonly Pcsc _instance = new Pcsc(new TIPcscProvider());
public static Pcsc Instance => _instance;
public static PcscContext CreateContext... | mit | C# |
6dedf85ca170b8f50907c0b4d52e29fb16eff8b2 | 升级版本到2.1.6 | tangxuehua/ecommon | src/ECommon/Properties/AssemblyInfo.cs | src/ECommon/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ECommon")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPr... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ECommon")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPr... | mit | C# |
c98ccdf2cf8f04af8219293836957a7ddbdbb165 | Fix FasterPixel references | HelloKitty/317refactor | src/Rs317.Client.WF/RSImageProducer.cs | src/Rs317.Client.WF/RSImageProducer.cs |
using System;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
namespace Rs317.Sharp
{
public sealed class RSImageProducer
{
public int[] pixels;
public int width;
public int height;
private Bitmap image;
private FasterPixel fastPixel;
public RSImageProducer(... |
using System;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
namespace Rs317.Sharp
{
public sealed class RSImageProducer
{
public int[] pixels;
public int width;
public int height;
private Bitmap image;
private FastPixel fastPixel;
public RSImageProducer(in... | mit | C# |
c1807a6701bc3d2ad69c1a4d8f4a916f6f43af46 | Remove test code | afgbeveridge/Quorum,afgbeveridge/Quorum,afgbeveridge/Quorum | ConsoleQuorum/Program.cs | ConsoleQuorum/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Quorum;
using FSM;
using Quorum.Integration;
using System.Net;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Infra;
using System.Timers;
using System.DirectoryServices;
namespace ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Quorum;
using FSM;
using Quorum.Integration;
using System.Net;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Infra;
using System.Timers;
using System.DirectoryServices;
namespace ... | mit | C# |
10064de852f2ceaca69eb08069372f3f610bdde3 | Add Releases to IGitHubClient. | fffej/octokit.net,darrelmiller/octokit.net,octokit/octokit.net,devkhan/octokit.net,daukantas/octokit.net,gdziadkiewicz/octokit.net,Red-Folder/octokit.net,fake-organization/octokit.net,hahmed/octokit.net,chunkychode/octokit.net,hahmed/octokit.net,adamralph/octokit.net,nsnnnnrn/octokit.net,geek0r/octokit.net,SamTheDev/oc... | Octokit/IGitHubClient.cs | Octokit/IGitHubClient.cs | using Octokit.Http;
namespace Octokit
{
public interface IGitHubClient
{
IConnection Connection { get; }
IAuthorizationsClient Authorization { get; }
IAutoCompleteClient AutoComplete { get; }
IOrganizationsClient Organization { get; }
IRepositoriesClient Repository { g... | using Octokit.Http;
namespace Octokit
{
public interface IGitHubClient
{
IConnection Connection { get; }
IAuthorizationsClient Authorization { get; }
IAutoCompleteClient AutoComplete { get; }
IOrganizationsClient Organization { get; }
IRepositoriesClient Repository { g... | mit | C# |
d2d72a0bd41c3f7880cce06b0d8bd90003962534 | add test case for issue #190 | mattflo/NSpec,mattflo/NSpec,nspec/NSpec,mattflo/NSpec,nspec/NSpec,mattflo/NSpec | sln/test/NSpec.Tests/WhenRunningSpecs/Exceptions/when_method_level_before_all_contains_exception.cs | sln/test/NSpec.Tests/WhenRunningSpecs/Exceptions/when_method_level_before_all_contains_exception.cs | using System;
using System.Linq;
using NSpec.Domain;
using NUnit.Framework;
using FluentAssertions;
namespace NSpec.Tests.WhenRunningSpecs.Exceptions
{
static class MethodBeforeAllThrows
{
public class SpecClass : nspec
{
void before_all()
{
throw new Be... | using System;
using System.Linq;
using NSpec.Domain;
using NUnit.Framework;
using FluentAssertions;
namespace NSpec.Tests.WhenRunningSpecs.Exceptions
{
[TestFixture]
[Category("RunningSpecs")]
public class when_method_level_before_all_contains_exception : when_running_specs
{
class MethodBefor... | mit | C# |
1059b166b73e56fe95aeb472241e0afb81faa361 | fix NullReferenceException Problem in Unity2018.1.8 | steve3003/unity-profiler-data-exporter | UnityWrappers/GUIClip.cs | UnityWrappers/GUIClip.cs | using System;
using System.Reflection;
using UnityEngine;
namespace ProfilerDataExporter
{
/// <summary>
/// Wrapper for unity internal GUIClip class
/// </summary>
public class GUIClip
{
public static Rect visibleRect
{
get
{
Func<Rect> Visib... | using System;
using System.Reflection;
using UnityEngine;
namespace ProfilerDataExporter
{
/// <summary>
/// Wrapper for unity internal GUIClip class
/// </summary>
public class GUIClip
{
private static readonly Type GuiClipType = typeof(GameObject).Assembly.GetType("UnityEngine.GUIClip");... | mit | C# |
2c7368a6b33074b7cb2fa34831678221fc9c1af0 | Disable tests failing on CLR on Linux and Mac | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.AspNetCore.Localization.FunctionalTests/LocalizationSampleTest.cs | test/Microsoft.AspNetCore.Localization.FunctionalTests/LocalizationSampleTest.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Server.Testing;
using Microsoft.AspNetCore.Testing.xunit;
using Xunit;
namesp... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Server.Testing;
using Microsoft.AspNetCore.Testing.xunit;
using Xunit;
namesp... | apache-2.0 | C# |
d51ff9ef3bfabda6eebfcd5445ef3e102f38b886 | Add more one catch block for ArgumentException | ivayloivanof/OOP.CSharp,ivayloivanof/OOP.CSharp | 06.OthreTypes/06.OtherTypes.Homework/OtherTypes/FractionCalculator/TestProgram.cs | 06.OthreTypes/06.OtherTypes.Homework/OtherTypes/FractionCalculator/TestProgram.cs | using System;
namespace FractionCalculator
{
using Class;
public class TestProgram
{
public static void Main()
{
try
{
Fraction fraction1 = new Fraction(22, 7);
Fraction fraction2 = new Fraction(40, 4);
Fraction result... | using System;
namespace FractionCalculator
{
using Class;
public class TestProgram
{
public static void Main()
{
try
{
Fraction fraction1 = new Fraction(22, 7);
Fraction fraction2 = new Fraction(40, 4);
Fraction result... | cc0-1.0 | C# |
1cf3e76644a3766e2fdcb2a463350d000fa3cd36 | Add CORS for Canary and PTB | chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker | app/Server/Service/ServerStartup.cs | app/Server/Service/ServerStartup.cs | using System.Diagnostics.CodeAnalysis;
using System.Text.Json.Serialization;
using DHT.Server.Database;
using DHT.Server.Endpoints;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http.Json;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace DHT.Server.Service ... | using System.Diagnostics.CodeAnalysis;
using System.Text.Json.Serialization;
using DHT.Server.Database;
using DHT.Server.Endpoints;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http.Json;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace DHT.Server.Service ... | mit | C# |
367422a6acc879cf7f57a2010d08fae835f49efa | Allow partial time periods smaller than BinSize to still be reported - bug 620 | udotdevelopment/ATSPM,udotdevelopment/ATSPM,udotdevelopment/ATSPM | MOE.Common/Business/VolumeCollection.cs | MOE.Common/Business/VolumeCollection.cs | using System;
using System.Collections.Generic;
using System.Linq;
using MOE.Common.Models;
namespace MOE.Common.Business
{
public class VolumeCollection
{
public List<Volume> Items = new List<Volume>();
public VolumeCollection(DateTime startTime, DateTime endTime, List<Controller_Event_Log> ... | using System;
using System.Collections.Generic;
using System.Linq;
using MOE.Common.Models;
namespace MOE.Common.Business
{
public class VolumeCollection
{
public List<Volume> Items = new List<Volume>();
public VolumeCollection(DateTime startTime, DateTime endTime, List<Controller_Event_Log> ... | apache-2.0 | C# |
7931c231bcd386c9da90490c6363d7217dd72684 | Add AssemblyInfo | dalance/NeovimClient | NeovimClient/Properties/AssemblyInfo.cs | NeovimClient/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("NeovimClient")]
[assembly: AssemblyDescription( "Neovim msgpack-rpc Client by C#" )]
[assembly: Assemb... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("NeovimClient")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: A... | mit | C# |
da164e434ee9166ea37722d8abb1097b77b0fdc4 | Set result in enumerator and break completes sync | brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync | projects/AsyncEnum35Sample/test/AsyncEnum35Sample.Test.Unit/AsyncOperationTest.cs | projects/AsyncEnum35Sample/test/AsyncEnum35Sample.Test.Unit/AsyncOperationTest.cs | //-----------------------------------------------------------------------
// <copyright file="AsyncOperationTest.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace AsyncEnum35Sample.T... | //-----------------------------------------------------------------------
// <copyright file="AsyncOperationTest.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace AsyncEnum35Sample.T... | unlicense | C# |
54d664f87ee1fa49d3cf4ec45924f9ea6fe74a9e | Add xmldoc | DrabWeb/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,Tom94/osu-framework,... | osu.Framework/Configuration/IUnbindable.cs | osu.Framework/Configuration/IUnbindable.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
namespace osu.Framework.Configuration
{
/// <summary>
/// Interface for objects that support publicly unbinding events or <see cref="IBindable"/>s.
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Configuration
{
public interface IUnbindable
{
/// <summary>
/// Unbinds all bound events.
/// </summa... | mit | C# |
1fd9259e86379838dbbc43c12a2238df83800fc0 | Add xml doc. | Tom94/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-fram... | osu.Framework/Input/Bindings/KeyBinding.cs | osu.Framework/Input/Bindings/KeyBinding.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Input.Bindings
{
/// <summary>
/// A binding of a <see cref="Bindings.KeyCombination"/> to an action.
/// </summary>... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Input.Bindings
{
/// <summary>
/// A binding of a <see cref="Bindings.KeyCombination"/> to an action.
/// </summary>... | mit | C# |
158f28cb0c7b319d99b790742eb413e4cd27f351 | Update AssemblyInfo | Nogrod/OxidePatcher,OxideMod/OxidePatcher,AEtherSurfer/OxidePatcher,MSylvia/OxidePatcher,AEtherSurfer/OxidePatcher,MSylvia/OxidePatcher,Nogrod/OxidePatcher | OxidePatcher/Properties/AssemblyInfo.cs | OxidePatcher/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Oxide Patcher")]
[assembly: AssemblyDescr... | 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("Oxide Patcher")]
[assembly: AssemblyDescr... | mpl-2.0 | C# |
dd45f0bd40d7aad6def77ce95ed2d2013cd03082 | Adjust max spins to "match" stable | NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu | osu.Game.Rulesets.Osu/Objects/Spinner.cs | osu.Game.Rulesets.Osu/Objects/Spinner.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 osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Objects.Types;
using osu.Game.R... | // 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 osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Objects.Types;
using osu.Game.R... | mit | C# |
88ae2ecf1939d2f2026ab988081063d95f555c96 | Change high lighting crash to NFW | aelij/roslyn,brettfo/roslyn,diryboy/roslyn,jmarolf/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,tannergooding/roslyn,MichalStrehovsky/roslyn,brettfo/roslyn,reaction1989/roslyn,panopticoncentral/roslyn,AlekseyTs/roslyn,reaction1989/roslyn,stephentoub/roslyn,jmarolf/roslyn,KevinRansom/roslyn,heeja... | src/EditorFeatures/Core/Implementation/KeywordHighlighting/HighlightingService.cs | src/EditorFeatures/Core/Implementation/KeywordHighlighting/HighlightingService.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.Collections.Generic;
using System.Composition;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.ErrorReport... | // 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.Collections.Generic;
using System.Composition;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.Host.Mef;
u... | mit | C# |
9712d459fd47dce04c451b576b19a4362fe3fe08 | use only Controllers rather than all of MVC for API | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Api/DependencyInjection/Extensions/ConfigureServicesCollection.cs | src/FilterLists.Api/DependencyInjection/Extensions/ConfigureServicesCollection.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json;
namespace FilterLists.Api.DependencyInjection.Extensions
{
public static class ConfigureServicesCollection
{
public static void Ad... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json;
namespace FilterLists.Api.DependencyInjection.Extensions
{
public static class ConfigureServicesCollection
{
public static void Ad... | mit | C# |
ee0a6ba93e25df5425480f0427826b182055f6c4 | Use local bound copy in `InterpretationSection` as well | UselessToucan/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,ppy/osu | osu.Game/Screens/Edit/Verify/InterpretationSection.cs | osu.Game/Screens/Edit/Verify/InterpretationSection.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.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Overlays.Settings;
namespace osu.Gam... | // 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.Allocation;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Overlays.Settings;
namespace osu.Game.Screens.Edit.Verify
{
int... | mit | C# |
54c9a049b509889d193eed145f100a04da6c0e94 | Include company logo in email | jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets | SendEmails/SendEmailWithLogo/Program.cs | SendEmails/SendEmailWithLogo/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Mail;
using System.Net.Mime;
using System.Text;
using System.Threading.Tasks;
namespace SendEmailWithLogo
{
class Program
{
static void Main(string[] args)
{
var toAddress = "somewh... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Mail;
using System.Net.Mime;
using System.Text;
using System.Threading.Tasks;
namespace SendEmailWithLogo
{
class Program
{
static void Main(string[] args)
{
var toAddress = "somewh... | apache-2.0 | C# |
fae8d86e154df9e31674a2b94f66a79c259ba709 | Fix regressed profile ruleset selector test scene | peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu | osu.Game.Tests/Visual/Online/TestSceneProfileRulesetSelector.cs | osu.Game.Tests/Visual/Online/TestSceneProfileRulesetSelector.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.Game.Overlays.Profile.Header.Components;
using osu.Game.Rulesets.Catch;
using osu.Game.Rulesets.Mania;
using osu.Game.Rulesets.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 osu.Framework.Graphics;
using osu.Game.Overlays.Profile.Header.Components;
using osu.Game.Rulesets.Catch;
using osu.Game.Rulesets.Mania;
using osu.Game.Rulesets.Os... | mit | C# |
c312326fbbfa2ae8cd95fac6f1eb67010aa66ba2 | Update Jobs.cs | datanets/kask-kiosk,datanets/kask-kiosk | Models/Jobs.cs | Models/Jobs.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Empty.Models
{
public class Jobs
{
public int Job_ID { get; set; }
public string Job_Tile { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Empty.Models
{
public class Jobs
{
public int job_ID { get; set; }
public string job_Tile { get; set; }
}
} | mit | C# |
205efd956a4d2d74d460e40eb496e77fb9b8dd69 | Add unit test | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | MagicalCryptoWallet.Tests/CryptoTests.cs | MagicalCryptoWallet.Tests/CryptoTests.cs | using MagicalCryptoWallet.Crypto;
using MagicalCryptoWallet.Logging;
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
using Xunit;
namespace MagicalCryptoWallet.Tests
{
public class CryptoTests : IClassFixture<SharedFixture>
{
private SharedFixture SharedFixtu... | using MagicalCryptoWallet.Crypto;
using MagicalCryptoWallet.Logging;
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
using Xunit;
namespace MagicalCryptoWallet.Tests
{
public class CryptoTests : IClassFixture<SharedFixture>
{
private SharedFixture SharedFixtu... | mit | C# |
91be4b057cbdca14957dd3f44ee66f443b20a3d3 | Revert temp code | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET | IntegrationEngine.ConsoleHost/Program.cs | IntegrationEngine.ConsoleHost/Program.cs | using System;
using System.IO;
using System.Reflection;
using System.ServiceProcess;
namespace IntegrationEngine.ConsoleHost
{
public class Program
{
public const string ServiceName = "InEngine.NET Server";
public static EngineHost EngineHosts { get; set; }
public static void Main(stri... | using System;
using System.IO;
using System.Reflection;
using System.ServiceProcess;
namespace IntegrationEngine.ConsoleHost
{
public class Program
{
public const string ServiceName = "InEngine.NET Server";
public static EngineHost EngineHosts { get; set; }
public static void Main(stri... | mit | C# |
d31c6b9e71bf841f07b4782152d4457e33e5294c | Update MainScript.cs | proyecto26/RestClient | demo/Assets/MainScript.cs | demo/Assets/MainScript.cs | using UnityEngine;
using UnityEditor;
using Models;
using Proyecto26;
using System.Collections.Generic;
public class MainScript : MonoBehaviour {
private readonly string basePath = "https://jsonplaceholder.typicode.com";
public void Get(){
// We can add default request headers for all requests
RestClient.Defa... | using UnityEngine;
using UnityEditor;
using Models;
using Proyecto26;
using System.Collections.Generic;
public class MainScript : MonoBehaviour {
private readonly string basePath = "https://jsonplaceholder.typicode.com";
public void Get(){
// We can add default request headers for all requests
RestClient.... | mit | C# |
b5ce4c1445ef9fdd1e90fc811862877c1b15a3aa | Rename declarations to lower camel case when generating Java source code. | jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,j... | binder/Generators/Java/JavaGenerator.cs | binder/Generators/Java/JavaGenerator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using CppSharp;
using CppSharp.AST;
using CppSharp.Generators;
using CppSharp.Passes;
using MonoEmbeddinator4000.Passes;
namespace MonoEmbeddinator4000.Generators
{
public class JavaGenerator : Generator
{
public JavaGenerator(... | using System;
using System.Collections.Generic;
using System.Linq;
using CppSharp;
using CppSharp.AST;
using CppSharp.Generators;
using MonoEmbeddinator4000.Passes;
namespace MonoEmbeddinator4000.Generators
{
public class JavaGenerator : Generator
{
public JavaGenerator(BindingContext context) ... | mit | C# |
4feef83a6de7ebbd91ceced8163f93a5f2bec1e1 | Add CilBody.LocalVarSigTok property | picrap/dnlib,ilkerhalil/dnlib,kiootic/dnlib,0xd4d/dnlib,modulexcite/dnlib,ZixiangBoy/dnlib,Arthur2e5/dnlib,yck1509/dnlib,jorik041/dnlib | src/DotNet/Emit/MethodBody.cs | src/DotNet/Emit/MethodBody.cs | using System.Collections.Generic;
namespace dot10.DotNet.Emit {
/// <summary>
/// Method body base class
/// </summary>
public abstract class MethodBody {
}
/// <summary>
/// CIL (managed code) body
/// </summary>
public sealed class CilBody : MethodBody {
bool initLocals;
ushort maxStack;
uint localV... | using System.Collections.Generic;
namespace dot10.DotNet.Emit {
/// <summary>
/// Method body base class
/// </summary>
public abstract class MethodBody {
}
/// <summary>
/// CIL (managed code) body
/// </summary>
public sealed class CilBody : MethodBody {
bool initLocals;
ushort maxStack;
IList<Instr... | mit | C# |
d6d47314b6d7c7b116dc310ad2a2485ff1644f47 | Patch for several bootstrap servers | BrighterCommand/Paramore.Brighter,BrighterCommand/Brighter,BrighterCommand/Brighter,BrighterCommand/Brighter,BrighterCommand/Paramore.Brighter | src/Paramore.Brighter.MessagingGateway.Kafka/KafkaMessagingGatewayConfiguration.cs | src/Paramore.Brighter.MessagingGateway.Kafka/KafkaMessagingGatewayConfiguration.cs | #region Licence
/* The MIT License (MIT)
Copyright © 2015 Wayne Hunsley <whunsley@gmail.com>
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 ... | #region Licence
/* The MIT License (MIT)
Copyright © 2015 Wayne Hunsley <whunsley@gmail.com>
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 ... | mit | C# |
9d6de84eafea97c0cee9bc60978b1c172f89d3fd | Add CLSCompliant attribute | dnauck/Portable.Licensing,dreamrain21/Portable.Licensing,dreamrain21/Portable.Licensing,dnauck/Portable.Licensing | src/Portable.Licensing/Properties/AssemblyInfo.cs | src/Portable.Licensing/Properties/AssemblyInfo.cs | //
// Copyright © 2012 - 2013 Nauck IT KG http://www.nauck-it.de
//
// Author:
// Daniel Nauck <d.nauck(at)nauck-it.de>
//
// 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 wit... | //
// Copyright © 2012 - 2013 Nauck IT KG http://www.nauck-it.de
//
// Author:
// Daniel Nauck <d.nauck(at)nauck-it.de>
//
// 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 wit... | mit | C# |
b3b971ebeaa1735f0800eafd45c833caa55f9ae8 | add on-exit event | gradientspace/frame3Sharp | scripts/BaseSceneConfig.cs | scripts/BaseSceneConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace f3
{
public abstract class BaseSceneConfig : MonoBehaviour
{
public abstract FContext Context { get; }
public bool AutoConfigVR = false;
// Update is called once per f... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace f3
{
public abstract class BaseSceneConfig : MonoBehaviour
{
public abstract FContext Context { get; }
public bool AutoConfigVR = false;
// Update is called once per f... | mit | C# |
c5519c3078c7d37bdbd5e354b1ef671bf12ca35e | Check Environment.UserInteractive instead of /c argument. | fredrikn/PolymeliaDeploy,fredrikn/PolymeliaDeploy | src/PolymeliaDeployController/Program.cs | src/PolymeliaDeployController/Program.cs | using System;
using System.Linq;
using System.ServiceProcess;
namespace PolymeliaDeployController
{
using System.Configuration;
using System.Data.Entity;
using Microsoft.Owin.Hosting;
using PolymeliaDeploy;
using PolymeliaDeploy.Controller;
using PolymeliaDeploy.Data;
using PolymeliaDepl... | using System;
using System.Linq;
using System.ServiceProcess;
namespace PolymeliaDeployController
{
using System.Configuration;
using System.Data.Entity;
using Microsoft.Owin.Hosting;
using PolymeliaDeploy;
using PolymeliaDeploy.Controller;
using PolymeliaDeploy.Data;
using PolymeliaDepl... | mit | C# |
0a5cb4faca18f1af0c23ee3757d9721ab5c09089 | Fix error that aborted sync when invalid XML was present in an XML formatted field (e.g. a malformed rules field in the stock master db) | kamsar/Rainbow | src/Rainbow/Diff/Fields/XmlComparison.cs | src/Rainbow/Diff/Fields/XmlComparison.cs | using System.Xml;
using System.Xml.Linq;
using Rainbow.Model;
using Sitecore.Diagnostics;
namespace Rainbow.Diff.Fields
{
public class XmlComparison : FieldTypeBasedComparison
{
public override bool AreEqual(IItemFieldValue field1, IItemFieldValue field2)
{
if (string.IsNullOrWhiteSpace(field1.Value) && stri... | using System;
using System.Xml;
using System.Xml.Linq;
using Rainbow.Model;
namespace Rainbow.Diff.Fields
{
public class XmlComparison : FieldTypeBasedComparison
{
public override bool AreEqual(IItemFieldValue field1, IItemFieldValue field2)
{
if (string.IsNullOrWhiteSpace(field1.Value) && string.IsNullOrWhi... | mit | C# |
fdb82cf7d3511d4d82fabd041b95b7b74c888d4e | Fix increase connections to transport | whir1/serilog-sinks-graylog | src/Serilog.Sinks.Graylog/GraylogSink.cs | src/Serilog.Sinks.Graylog/GraylogSink.cs | using System;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Serilog.Core;
using Serilog.Debugging;
using Serilog.Events;
using Serilog.Sinks.Graylog.Core;
using Serilog.Sinks.Graylog.Core.Transport;
namespace Serilog.Sinks.Graylog
{
public class GraylogSink : ILogEventSink, IDisposable
{
... | using System;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Serilog.Core;
using Serilog.Debugging;
using Serilog.Events;
using Serilog.Sinks.Graylog.Core;
using Serilog.Sinks.Graylog.Core.Transport;
namespace Serilog.Sinks.Graylog
{
public class GraylogSink : ILogEventSink
{
private ... | mit | C# |
1e1b480a071f0348b608e0851546803157929e41 | Revert "disable retries in tests" | SimonCropp/NServiceBus.Serilog | src/Tests/ConfigBuilder.cs | src/Tests/ConfigBuilder.cs | using NServiceBus;
public static class ConfigBuilder
{
public static EndpointConfiguration BuildDefaultConfig(string endpointName)
{
var configuration = new EndpointConfiguration(endpointName);
configuration.SendFailedMessagesTo("error");
configuration.UsePersistence<InMemoryPersistenc... | using NServiceBus;
public static class ConfigBuilder
{
public static EndpointConfiguration BuildDefaultConfig(string endpointName)
{
var configuration = new EndpointConfiguration(endpointName);
configuration.SendFailedMessagesTo("error");
configuration.UsePersistence<InMemoryPersistenc... | mit | C# |
8c23899c0aaa6f8fba356bb847236422af10e522 | Revert "View インスタンスが何度も作られないよう修正" | veigr/SaveResponsePlugin | SaveResponsePlugin/SaveResponsePlugin.cs | SaveResponsePlugin/SaveResponsePlugin.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Grabacr07.KanColleViewer.Composition;
using Grabacr07.KanColleWrapper;
namespace SaveResponsePlugin
{
[Export(typeof(IPlugin))... | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Grabacr07.KanColleViewer.Composition;
using Grabacr07.KanColleWrapper;
namespace SaveResponsePlugin
{
[Export(typeof(IPlugin))... | mit | C# |
ce71278d2ef84ad9ff8f4ee730460381d9fe721f | Add assert | MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknad... | src/Package/Impl/Wpf/ThemeUtilities.cs | src/Package/Impl/Wpf/ThemeUtilities.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.ComponentModel.Composition;
using System.Diagnostics;
using System.Windows;
using System.Windows.Media;
using Microsoft.R.Wpf.Themes;
using Microsoft.Vi... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.ComponentModel.Composition;
using System.Diagnostics;
using System.Windows;
using System.Windows.Media;
using Microsoft.R.Wpf.Themes;
using Microsoft.Vi... | mit | C# |
e74c7df0f134e95362ecd4cb77aa1f85bf3c79a2 | Bump to v0.4.1 | dancol90/mi-360 | Source/mi-360/Properties/AssemblyInfo.cs | Source/mi-360/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Le informazioni generali relative a un assembly sono controllate dal seguente
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
// associate a un assembly.
[assembly: Ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Le informazioni generali relative a un assembly sono controllate dal seguente
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
// associate a un assembly.
[assembly: Ass... | bsd-3-clause | C# |
52a22b18c933b6464f3e0d5939916d1270140438 | Update verion to v5.0.3 | SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,RachelTucker/ds3_net_sdk | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. 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. A copy of the License i... | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. 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. A copy of the License i... | apache-2.0 | C# |
0796764f44f9b3ec1b5ca4e0f5b4dda32b705379 | reorder usings | mzrimsek/resume-site-api | Web/Startup.cs | Web/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.G... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Core.Interfaces;
using Integration.EntityFramework.Models;
using Integration.EntityFramework.Repositories;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFramew... | mit | C# |
21b25dd361788c3c35141c096cbb8355dc71ec33 | Fix exception on clipboard access contention | ndouthit/Certify,webprofusion/Certify | src/Certify.UI/Controls/ManagedCertificate/TestProgress.xaml.cs | src/Certify.UI/Controls/ManagedCertificate/TestProgress.xaml.cs | using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace Certify.UI.Controls.ManagedCertificate
{
public partial class TestProgress : UserControl
{
protected Certify.UI.ViewModel.ManagedCertificateViewModel ItemViewModel => UI.ViewModel.ManagedCertificateViewModel.C... | using System.Windows;
using System.Windows.Controls;
namespace Certify.UI.Controls.ManagedCertificate
{
public partial class TestProgress : UserControl
{
protected Certify.UI.ViewModel.ManagedCertificateViewModel ItemViewModel => UI.ViewModel.ManagedCertificateViewModel.Current;
protected Cert... | mit | C# |
35d224f063b46cf60b78530b1cbbf92994c972af | Update CsvHelperReader.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Modules/TextFieldReader.CsvHelper/CsvHelperReader.cs | src/Core2D/Modules/TextFieldReader.CsvHelper/CsvHelperReader.cs | #nullable disable
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using Core2D.Model;
using Core2D.ViewModels;
using Core2D.ViewModels.Data;
using CSV = CsvHelper;
namespace Core2D.Modules.TextFieldReader.CsvHelper
{
public sealed class CsvHelperRead... | #nullable disable
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using Core2D.Model;
using Core2D.ViewModels;
using Core2D.ViewModels.Data;
using CSV = CsvHelper;
namespace Core2D.Modules.TextFieldReader.CsvHelper
{
public sealed class CsvHelperRead... | mit | C# |
6eb17fe582fe2461b1482e3778060e9b426344a4 | fix bug for incremental build. (#1102) | 928PJY/docfx,hellosnow/docfx,DuncanmaMSFT/docfx,LordZoltan/docfx,pascalberger/docfx,hellosnow/docfx,pascalberger/docfx,LordZoltan/docfx,dotnet/docfx,dotnet/docfx,superyyrrzz/docfx,DuncanmaMSFT/docfx,928PJY/docfx,LordZoltan/docfx,LordZoltan/docfx,superyyrrzz/docfx,dotnet/docfx,superyyrrzz/docfx,hellosnow/docfx,pascalber... | src/Microsoft.DocAsCode.Build.Engine/DocumentBuildParameters.cs | src/Microsoft.DocAsCode.Build.Engine/DocumentBuildParameters.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Build.Engine
{
using System;
using System.Collections.Immutable;
using Microsoft.DocAsCode.Build.Engine.Incrementals;
p... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Build.Engine
{
using System;
using System.Collections.Immutable;
using Microsoft.DocAsCode.Build.Engine.Incrementals;
p... | mit | C# |
74bd01c21559807d6e19711ef75515682e8d6363 | Introduce an async operation before proceeding | JSkimming/Castle.Core.AsyncInterceptor,JSkimming/Castle.Core.AsyncInterceptor | test/Castle.Core.AsyncInterceptor.Tests/InterfaceProxies/TestAsyncInterceptorBase.cs | test/Castle.Core.AsyncInterceptor.Tests/InterfaceProxies/TestAsyncInterceptorBase.cs | // Copyright (c) 2016 James Skimming. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace Castle.DynamicProxy.InterfaceProxies
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
public ... | // Copyright (c) 2016 James Skimming. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace Castle.DynamicProxy.InterfaceProxies
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
public ... | apache-2.0 | C# |
d8bac45ceb856a3724b954fd9611fd773eb5b64c | Update IShellCommandContext.cs | tiksn/TIKSN-Framework | TIKSN.Core/Shell/IShellCommandContext.cs | TIKSN.Core/Shell/IShellCommandContext.cs | namespace TIKSN.Shell
{
public interface IShellCommandContext
{
bool ShouldContinue(string query, string caption);
bool ShouldContinue(string query, string caption, ref bool yesToAll, ref bool noToAll);
bool ShouldProcess(string target, string action);
bool ShouldProcess(stri... | namespace TIKSN.Shell
{
public interface IShellCommandContext
{
bool ShouldContinue(string query, string caption);
bool ShouldContinue(string query, string caption, ref bool yesToAll, ref bool noToAll);
bool ShouldProcess(string target, string action);
bool ShouldProcess(stri... | mit | C# |
faaf9b21b6475c8d9c0259c6436144682b353745 | Update Program.cs | DakRomo/2017Challenges,mindm/2017Challenges,popcornanachronism/2017Challenges,DakRomo/2017Challenges,erocs/2017Challenges,popcornanachronism/2017Challenges,mindm/2017Challenges,DakRomo/2017Challenges,erocs/2017Challenges,popcornanachronism/2017Challenges,erocs/2017Challenges,mindm/2017Challenges,DakRomo/2017Challenges,... | challenge_1/csharp/fojo/Program.cs | challenge_1/csharp/fojo/Program.cs | using System;
namespace Fojo
{
public class Challenge1
{
public static void Main(string[] args)
{
var inputString = Console.ReadLine();
string reversedString = string.Empty;
for (int i = inputString.Length - 1; i >= 0; i--)
{
reve... | using System;
namespace Fojo
{
public class Challenge1
{
public static void Main(string[] args)
{
//Not using linq :)
var inputString = Console.ReadLine();
string reversedString = string.Empty;
for (int i = inputString.Length - 1; i >= 0; i--)
... | mit | C# |
7aaf8b50fded303b6b0afff7301f2104c88893d8 | Update the backend interface | directhex/xwt,iainx/xwt,mminns/xwt,lytico/xwt,cra0zy/xwt,hamekoz/xwt,residuum/xwt,steffenWi/xwt,antmicro/xwt,sevoku/xwt,TheBrainTech/xwt,mono/xwt,hwthomas/xwt,mminns/xwt,akrisiun/xwt | Xwt/Xwt.Backends/IMarkdownViewBackend.cs | Xwt/Xwt.Backends/IMarkdownViewBackend.cs | //
// IMarkdownViewBackend.cs
//
// Author:
// Jérémie Laval <jeremie.laval@xamarin.com>
//
// Copyright (c) 2012 Xamarin, Inc.
using System;
namespace Xwt.Backends
{
[Flags]
enum MarkdownInlineStyle
{
Italic,
Bold,
Monospace
}
public interface IMarkdownViewBackend : IWidgetBackend
{
object Create... | //
// IMarkdownViewBackend.cs
//
// Author:
// Jérémie Laval <jeremie.laval@xamarin.com>
//
// Copyright (c) 2012 Xamarin, Inc.
using System;
namespace Xwt.Backends
{
[Flags]
enum MarkdownInlineStyle
{
Italic,
Bold,
Monospace
}
public interface IMarkdownViewBackend : IWidgetBackend
{
object Create... | mit | C# |
bb99ad385c0f27b535c0194f1630c93d8e8906da | Return proper language code for default English language | JosefNemec/Playnite,JosefNemec/Playnite,JosefNemec/Playnite | source/Playnite/API/PlayniteSettingsAPI.cs | source/Playnite/API/PlayniteSettingsAPI.cs | using Playnite.SDK;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Playnite.API
{
public class PlayniteSettingsAPI : IPlayniteSettingsAPI
{
private readonly PlayniteSettings settings;
public int Versio... | using Playnite.SDK;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Playnite.API
{
public class PlayniteSettingsAPI : IPlayniteSettingsAPI
{
private readonly PlayniteSettings settings;
public int Versio... | mit | C# |
91ab3e459f5c9894dd0c17be9297458b3bff27b2 | use virtuals | t2k/dotnet5,t2k/dotnet5 | src/KYC.Entities/Customer.cs | src/KYC.Entities/Customer.cs | namespace KYC.Entities
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
// using System.Data.Entity.Spatial;
[Table("Customer")]
public partial class Customer
{
[DatabaseGenerated(DatabaseGeneratedOption.None), Displ... | namespace KYC.Entities
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
// using System.Data.Entity.Spatial;
[Table("Customer")]
public partial class Customer
{
[DatabaseGenerated(DatabaseGeneratedOption.None), Displ... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.