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 |
|---|---|---|---|---|---|---|---|---|
2588d3308570d21bf3cfff5e23df5e210ed6aa39 | Bump version to 0.6.4 | quisquous/cactbot,sqt/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,sqt/cactbot,sqt/cactbot,sqt/cactbot,quisquous/cactbot,sqt/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
235b8512e61dec909ee8fce35f56d5fdb5a558e1 | change hello message | Isantipov/mqpi,Isantipov/mqpi | mqpi/Program.cs | mqpi/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Xml;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace mqpi
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Xml;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace mqpi
{
... | mit | C# |
69fae13cf2ad6b2ed5f5162ae46dbf159121dbff | Exclude Seadragon.config.js from combining because it does substitution. | darilek/AjaxControlToolkit,DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit,darilek/AjaxControlToolkit,DevExpress/AjaxControlToolkit | Server/AjaxControlToolkit/Properties/AssemblyInfo.cs | Server/AjaxControlToolkit/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
using System.Security.Permissions;
using System.Web.UI;
using AjaxControlToolkit;
// Dependency Attribute for assemblies
[assembly: DependencyAttribute("Syste... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
using System.Security.Permissions;
using System.Web.UI;
using AjaxControlToolkit;
// Dependency Attribute for assemblies
[assembly: DependencyAttribute("Syste... | bsd-3-clause | C# |
6308152008fb19a774ef781cfbda4a476f5e4109 | Update Eggbert's name to Eggbertx | Radnen/spherestudio,Radnen/spherestudio | SphereStudio.Base/Versioning.cs | SphereStudio.Base/Versioning.cs | using System;
namespace SphereStudio
{
// note: `const` is resolved at compile time in the referencing assembly. this is
// desirable for built-in plugins to avoid them dynamically adopting the version number
// of the Sphere Studio installation they're running against.
/// <summary>
... | using System;
namespace SphereStudio
{
// note: `const` is resolved at compile time in the referencing assembly. this is
// desirable for built-in plugins to avoid them dynamically adopting the version number
// of the Sphere Studio installation they're running against.
/// <summary>
... | mit | C# |
8e438662b215c39b2849cad3b2a501f32f49d649 | Revert "Merge Update" | pontusdacke/SyncedMG | Synced/Synced/Interface/Text.cs | Synced/Synced/Interface/Text.cs | // Text.cs
// Introduced: 2015-04-28
// Last edited: 2015-04-29
// Edited by:
// Pontus Magnusson
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Synced.Static_Classes;
namespace Synced.Interface
{
class Label : DrawableGameComponent
{
#region Variables
string _con... | mit | C# | |
1a55968880ca8397abd6afeba30234fe2b7fd500 | add connect by username and password | Xarlot/NGitLab,maikebing/NGitLab | NGitLab/NGitLab/GitLabClient.cs | NGitLab/NGitLab/GitLabClient.cs | using NGitLab.Impl;
using NGitLab.Models;
namespace NGitLab {
public class GitLabClient {
readonly Api api;
public readonly INamespaceClient Groups;
public readonly IIssueClient Issues;
public readonly IProjectClient Projects;
public readonly IUserClient Users;
Gi... | using NGitLab.Impl;
namespace NGitLab {
public class GitLabClient {
readonly Api api;
public readonly INamespaceClient Groups;
public readonly IIssueClient Issues;
public readonly IProjectClient Projects;
public readonly IUserClient Users;
GitLabClient(string host... | mit | C# |
e12c4b33872fe4802b5142ea9161c7f32443646e | Remove unused usings | StollD/Planetary-Diversity | src/main/Templates.cs | src/main/Templates.cs | using System;
using System.Linq;
using UnityEngine;
namespace PlanetaryDiversity
{
[KSPAddon(KSPAddon.Startup.PSystemSpawn, true)]
public class Templates : MonoBehaviour
{
/// <summary>
/// The scaled space mesh of jool
/// </summary>
public static Mesh ReferenceGeosphere {... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace PlanetaryDiversity
{
[KSPAddon(KSPAddon.Startup.PSystemSpawn, true)]
public class Templates : MonoBehaviour
{
/// <summary>
/// The scaled space mesh of jool
/// </sum... | mit | C# |
022a60d6018e653381b7d534a4592df0ef268fc5 | exit on thrown exception | quandl/quandl-excel-windows | Quandl.Excel.Console/Program.cs | Quandl.Excel.Console/Program.cs | using System;
using System.IO;
namespace Quandl.Excel.Console
{
internal class Program
{
// Installation package will handle the case which disable second re-install
// RegisterExcelAddIn function will handle the case when the Quandl excel add-in registry key created before install
pri... | using System;
using System.IO;
namespace Quandl.Excel.Console
{
internal class Program
{
// Installation package will handle the case which disable second re-install
// RegisterExcelAddIn function will handle the case when the Quandl excel add-in registry key created before install
pri... | mit | C# |
c490dba7b3e0e22202ab861e0132a5779d818f0f | Fix crash on local score display | peppy/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu | osu.Game/Scoring/ScoreStore.cs | osu.Game/Scoring/ScoreStore.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using Microsoft.EntityFrameworkCore;
using osu.Framework.Platform;
using osu.Game.Database;
namespace osu.Game.Scoring
{
public class ScoreStore ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using Microsoft.EntityFrameworkCore;
using osu.Framework.Platform;
using osu.Game.Database;
namespace osu.Game.Scoring
{
public class ScoreStore ... | mit | C# |
bfdc1177d0db0b043fa48efabeab4717b39af6ea | Update ComBytes.cs | halex2005/diadocsdk-csharp,halex2005/diadocsdk-csharp,diadoc/diadocsdk-csharp,diadoc/diadocsdk-csharp | src/Com/ComBytes.cs | src/Com/ComBytes.cs | using System.IO;
using System.Runtime.InteropServices;
using System.Text;
namespace Diadoc.Api.Com
{
[ComVisible(true)]
[Guid("AC96A3DD-E099-44CC-ABD5-11C303307159")]
public interface IComBytes
{
byte[] Bytes { get; set; }
void ReadFromFile(string path);
void SaveToFile(string path);
void ReadFromText(s... | using System.IO;
using System.Runtime.InteropServices;
namespace Diadoc.Api.Com
{
[ComVisible(true)]
[Guid("AC96A3DD-E099-44CC-ABD5-11C303307159")]
public interface IComBytes
{
byte[] Bytes { get; set; }
void ReadFromFile(string path);
void SaveToFile(string path);
}
[ComVisible(true)]
[ProgId("Diadoc.... | mit | C# |
4e0bf907953d4ec2690c1e90465d97fed421f1a2 | change nancy sample port | mnadel/Metrics.NET,Recognos/Metrics.NET,etishor/Metrics.NET,huoxudong125/Metrics.NET,MetaG8/Metrics.NET,Liwoj/Metrics.NET,ntent-ad/Metrics.NET,cvent/Metrics.NET,DeonHeyns/Metrics.NET,alhardy/Metrics.NET,etishor/Metrics.NET,huoxudong125/Metrics.NET,alhardy/Metrics.NET,Recognos/Metrics.NET,MetaG8/Metrics.NET,ntent-ad/Met... | Samples/NancyFx.Sample/Program.cs | Samples/NancyFx.Sample/Program.cs | using System;
using System.Diagnostics;
using Metrics.Samples;
using Metrics.Utils;
using Nancy.Hosting.Self;
using Newtonsoft.Json;
namespace NancyFx.Sample
{
class Program
{
static void Main(string[] args)
{
JsonConvert.DefaultSettings = () => new JsonSerializerSettings { Formatt... | using System;
using System.Diagnostics;
using Metrics.Samples;
using Metrics.Utils;
using Nancy.Hosting.Self;
using Newtonsoft.Json;
namespace NancyFx.Sample
{
class Program
{
static void Main(string[] args)
{
JsonConvert.DefaultSettings = () => new JsonSerializerSettings { Formatt... | apache-2.0 | C# |
c3781eab01947388cb3831ae898f649a15b5b8b0 | remove commented out code | agrc/daq-web-framework,agrc/daq-web-framework,agrc/daq-web-framework,agrc/daq-web-framework | api/Services/EdocsRepository.cs | api/Services/EdocsRepository.cs | using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
using daq_api.Contracts;
using daq_api.Models;
using Dapper;
namespace daq_api.Services
{
public class EdocsRepository : IRepository
{
private string ConnectionSt... | using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
using daq_api.Contracts;
using daq_api.Models;
using Dapper;
namespace daq_api.Services
{
public class EdocsRepository : IRepository
{
private string ConnectionSt... | mit | C# |
b4540ace4ab73da0b21ea273829dbce6ce01abb1 | Revert making UserCredentials a struct | msbahrul/EventStore,ianbattersby/EventStore,ianbattersby/EventStore,msbahrul/EventStore,ianbattersby/EventStore,ianbattersby/EventStore,msbahrul/EventStore,msbahrul/EventStore,ianbattersby/EventStore,msbahrul/EventStore,msbahrul/EventStore | src/EventStore/EventStore.ClientAPI/SystemData/UserCredentials.cs | src/EventStore/EventStore.ClientAPI/SystemData/UserCredentials.cs | // Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// Redistributions of source code must retain the above copyright notice,
// this list of cond... | // Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// Redistributions of source code must retain the above copyright notice,
// this list of cond... | bsd-3-clause | C# |
d70f99cc0aa2040ea9f317d0306c264d50159f08 | Remove Sqlite latest compile job workaround | tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server | src/Tgstation.Server.Host/Extensions/DatabaseContextExtensions.cs | src/Tgstation.Server.Host/Extensions/DatabaseContextExtensions.cs | using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Database;
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Extensions
{
/// <summary>
/// Extensions for the <see cref="IDatabaseContext"/> <see ... | using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Configuration;
using Tgstation.Server.Host.Database;
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Extensions
{
/// <summary>
/// Extensions f... | agpl-3.0 | C# |
58cccb380bf324c4b066c61bad29d54ed491de51 | Use GUID for component name | LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC | WebScriptHook.Terminal/Program.cs | WebScriptHook.Terminal/Program.cs | using System;
using System.Threading;
using WebScriptHook.Framework;
using WebScriptHook.Framework.BuiltinPlugins;
using WebScriptHook.Terminal.Plugins;
namespace WebScriptHook.Terminal
{
class Program
{
static WebScriptHookComponent wshComponent;
static void Main(string[] args)
{
... | using System;
using System.Threading;
using WebScriptHook.Framework;
using WebScriptHook.Framework.BuiltinPlugins;
using WebScriptHook.Terminal.Plugins;
namespace WebScriptHook.Terminal
{
class Program
{
static WebScriptHookComponent wshComponent;
static void Main(string[] args)
{
... | mit | C# |
ba01f372055b547e198ec1da77d15986ff084d1f | Update MusicSystem.cs | Figglewatts/LSDRevamped | LSDR/Assets/Scripts/Audio/MusicSystem.cs | LSDR/Assets/Scripts/Audio/MusicSystem.cs | using System;
using System.IO;
using LSDR.IO;
using LSDR.Util;
using Torii.Audio;
using Torii.Resource;
using Torii.Util;
using UnityEngine;
namespace LSDR.Audio
{
[CreateAssetMenu(menuName="System/MusicSystem")]
public class MusicSystem : ScriptableObject
{
public string CurrentSong { get; private... | using System;
using System.IO;
using LSDR.IO;
using LSDR.Util;
using Torii.Audio;
using Torii.Resource;
using Torii.Util;
using UnityEngine;
namespace LSDR.Audio
{
[CreateAssetMenu(menuName="System/MusicSystem")]
public class MusicSystem : ScriptableObject
{
public string CurrentSong { get; private... | mit | C# |
844857addc5b769613d5dd4c61de5d9f972b5b34 | Rename GotoRegionAsFlatModule -> GotoRegionModule | corngood/omnisharp-server,corngood/omnisharp-server,x335/omnisharp-server,OmniSharp/omnisharp-server,syl20bnr/omnisharp-server,mispencer/OmniSharpServer,syl20bnr/omnisharp-server,x335/omnisharp-server,svermeulen/omnisharp-server | OmniSharp/GotoRegion/GotoRegionModule.cs | OmniSharp/GotoRegion/GotoRegionModule.cs | using Nancy;
using Nancy.ModelBinding;
namespace OmniSharp.GotoRegion {
public class GotoRegionModule : NancyModule {
public GotoRegionModule
(GotoRegionHandler handler) {
Post["/gotoregion"] = x =>
{
var req = this.Bind<Common.Request>();
... | using Nancy;
using Nancy.ModelBinding;
namespace OmniSharp.GotoRegion {
public class GotoRegionAsFlatModule : NancyModule {
public GotoRegionAsFlatModule
(GotoRegionHandler handler) {
Post["/gotoregion"] = x =>
{
var req = this.Bind<Common.Request>();
... | mit | C# |
5cb3b646b21fdc67545e0f7b88eb64e79540d683 | Add primary key to completed steps db table | rapidcore/rapidcore,rapidcore/rapidcore | src/postgresql/main/Migration/Internal/PostgreSqlSchemaCreator.cs | src/postgresql/main/Migration/Internal/PostgreSqlSchemaCreator.cs | using Dapper;
using RapidCore.Migration;
using RapidCore.PostgreSql.Internal;
using System.Threading.Tasks;
namespace RapidCore.PostgreSql.Migration.Internal
{
public static class PostgreSqlSchemaCreator
{
public static async Task CreateSchemaIfNotExists(IMigrationContext context)
{
... | using Dapper;
using RapidCore.Migration;
using RapidCore.PostgreSql.Internal;
using System.Threading.Tasks;
namespace RapidCore.PostgreSql.Migration.Internal
{
public static class PostgreSqlSchemaCreator
{
public static async Task CreateSchemaIfNotExists(IMigrationContext context)
{
... | mit | C# |
5f029eeeedea6fbbc6294cbae134982f380d9048 | Allow regex discovery | StevenThuriot/ErrorCode | ErrorCode/Discover.cs | ErrorCode/Discover.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using ErrorCode.Domain;
using System.Text.RegularExpressions;
namespace ErrorCode
{
static class Discover
{
static Regex _assemblyFilter = new Regex(@".*tests?\.(dll|exe)$", RegexOptions.Compiled | RegexOpti... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using ErrorCode.Domain;
namespace ErrorCode
{
static class Discover
{
public static IReadOnlyCollection<TestAssembly> Tests(string assemblyFilter = "*test*.dll")
{
var tests = Directory.G... | mit | C# |
030535a67ba471d6620188966475337ce378761d | Add code to write quote XML file | fredatgithub/GetQuote | CreateXMLFile/Program.cs | CreateXMLFile/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace CreateXMLFile
{
internal static class Program
{
private static void Main()
{
const string fileName = "quotes-cleaned.txt";
const string XmlFileName = "quotes-XML.txt";
Dictionary<string, string>... | using System;
using System.Collections.Generic;
using System.IO;
namespace CreateXMLFile
{
internal static class Program
{
private static void Main()
{
const string fileName = "quotes-cleaned.txt";
const string XmlFileName = "quotes-XML.txt";
Dictionary<string, string> dicoQuotes = new D... | mit | C# |
cdceb81dc4cca379c665b570ebe8363d3f7fc712 | Update PowerShellMetricTelemeter.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/Analytics/Telemetry/PowerShellMetricTelemeter.cs | TIKSN.Framework.Core/Analytics/Telemetry/PowerShellMetricTelemeter.cs | using System.Management.Automation;
using System.Threading.Tasks;
namespace TIKSN.Analytics.Telemetry
{
public class PowerShellMetricTelemeter : IMetricTelemeter
{
private readonly Cmdlet cmdlet;
public PowerShellMetricTelemeter(Cmdlet cmdlet) => this.cmdlet = cmdlet;
public Task Trac... | using System.Management.Automation;
using System.Threading.Tasks;
namespace TIKSN.Analytics.Telemetry
{
public class PowerShellMetricTelemeter : IMetricTelemeter
{
private readonly Cmdlet cmdlet;
public PowerShellMetricTelemeter(Cmdlet cmdlet) => this.cmdlet = cmdlet;
public Task Trac... | mit | C# |
41aca7012eb7c5ee7b8ef06aba4e78ae4750e4ad | Set default value to PropertyMetadata | naotaco/BindingTest | BindingTest/Control/CheckboxControl.xaml.cs | BindingTest/Control/CheckboxControl.xaml.cs | using System.Windows;
using System.Windows.Controls;
namespace BindingTest.Control
{
public partial class CheckboxControl : UserControl
{
public bool Checked
{
get { return (bool)GetValue(CheckboxProperty); }
set
{
SetValue(Checkb... | using System.Windows;
using System.Windows.Controls;
namespace BindingTest.Control
{
public partial class CheckboxControl : UserControl
{
public bool Checked
{
get { return (bool)GetValue(CheckboxProperty); }
set
{
SetValue(Checkb... | mit | C# |
30a245d361937a0206a2c1c4908295b999912f51 | add TODOs | dimaaan/pgEdit | PgEdit/Program.cs | PgEdit/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PgEdit
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PgEdit
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main... | mit | C# |
2b6aea290a3e5c177e1ca18012fda79f126e6e71 | Update 404 page | k94ll13nn3/Strinken | docs/input/404.cshtml | docs/input/404.cshtml | @{
Layout = "";
}
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Simple HttpErrorPages | MIT X11 License | https://github.com/AndiDittrich/HttpErrorPages -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-sc... | Title: 404
NoSidebar: true
NoContainer: true
NoGutter: true
---
<div class="jumbotron">
<div class="container">
<h1>404</h1>
</div>
</div> | mit | C# |
4ede88414f25ddbecc6d0c7b47967c2c73489fc9 | Bump library version to 1.9.0 | Norbyte/lslib,Norbyte/lslib,Norbyte/lslib | LSLib/LS/Common.cs | LSLib/LS/Common.cs | using System;
namespace LSLib.LS
{
public static class Common
{
public const int MajorVersion = 1;
public const int MinorVersion = 9;
public const int PatchVersion = 0;
/// <summary>
/// Returns the version number of the LSLib library
/// </summary>
pub... | using System;
namespace LSLib.LS
{
public static class Common
{
public const int MajorVersion = 1;
public const int MinorVersion = 8;
public const int PatchVersion = 6;
/// <summary>
/// Returns the version number of the LSLib library
/// </summary>
pub... | mit | C# |
e7ba9365a55adc32ca3e37dde46143968a7aa129 | Update UsernamePasswordLoginRequest.cs | jerriep/auth0.net,auth0/auth0.net,auth0/auth0.net,jerriep/auth0.net,jerriep/auth0.net | src/Auth0.AuthenticationApi/Models/UsernamePasswordLoginRequest.cs | src/Auth0.AuthenticationApi/Models/UsernamePasswordLoginRequest.cs | using Newtonsoft.Json;
namespace Auth0.AuthenticationApi.Models
{
/// <summary>
/// Represents an active authentication request with SSO support.
/// </summary>
public class UsernamePasswordLoginRequest
{
/// <summary>
/// Gets or sets the client (app) identifier.
/// </summ... | using Newtonsoft.Json;
namespace Auth0.AuthenticationApi.Models
{
/// <summary>
/// Represents an active authentication request with SSO support.
/// </summary>
public class UsernamePasswordLoginRequest
{
/// <summary>
/// Gets or sets the client (app) identifier.
/// </summ... | mit | C# |
7f0f745037d44a510287a4c47ee6898e8f34bee0 | Update Link.cs | mcintyre321/SirenSharp | SirenSharp/Link.cs | SirenSharp/Link.cs | namespace SirenSharp
{
using System;
using System.Collections.Generic;
/// <summary>
/// Links represent navigational transitions.
/// </summary>
public class Link
{
public Link () {}
/// <summary>
/// Initializes a new instance of the <see cref="Link"/>... | namespace SirenSharp
{
using System;
using System.Collections.Generic;
/// <summary>
/// Links represent navigational transitions.
/// </summary>
public class Link
{
/// <summary>
/// Initializes a new instance of the <see cref="Link"/> class with required proper... | mit | C# |
4772e2d91b421ca636d8ad0a506e6dacceb69db6 | fix typo | joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net | Joinrpg/Views/Shared/_LoginPartial.cshtml | Joinrpg/Views/Shared/_LoginPartial.cshtml | @using Microsoft.AspNet.Identity
@if (Request.IsAuthenticated)
{
using (Html.BeginForm("LogOff", "Account", new {area = ""}, FormMethod.Post, new {id = "logoutForm", @class = "navbar-right",}))
{
@Html.AntiForgeryToken()
<ul class="nav navbar-nav navbar-right">
<li class="dropdown"... | g@using Microsoft.AspNet.Identity
@if (Request.IsAuthenticated)
{
using (Html.BeginForm("LogOff", "Account", new {area = ""}, FormMethod.Post, new {id = "logoutForm", @class = "navbar-right",}))
{
@Html.AntiForgeryToken()
<ul class="nav navbar-nav navbar-right">
<li class="dropdown... | mit | C# |
8770d2f9faf01d911099f0430192880c3907923c | Revert "FontSettings.DefaultInstance" | aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET | Examples/CSharp/Rendering-Printing/SetTrueTypeFontsFolder.cs | Examples/CSharp/Rendering-Printing/SetTrueTypeFontsFolder.cs | using System;
using System.IO;
using System.Reflection;
using Aspose.Words.Fonts;
using Aspose.Words;
using Aspose.Words.Saving;
namespace CSharp.Rendering_and_Printing
{
class SetTrueTypeFontsFolder
{
public static void Run()
{
//ExStart:SetTrueTypeFontsFolder
// The pa... | using System;
using System.IO;
using System.Reflection;
using Aspose.Words.Fonts;
using Aspose.Words;
using Aspose.Words.Saving;
namespace CSharp.Rendering_and_Printing
{
class SetTrueTypeFontsFolder
{
public static void Run()
{
//ExStart:SetTrueTypeFontsFolder
// The pa... | mit | C# |
966c6d1cdc6fba8c8b2a1c4566e1d8475eb715c8 | Change stats link | stanriders/den0bot,stanriders/den0bot | den0bot/Modules/ModAnalytics.cs | den0bot/Modules/ModAnalytics.cs | // den0bot (c) StanR 2019 - MIT License
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using den0bot.Analytics.Data;
using den0bot.Analytics.Data.Types;
using den0bot.Util;
namespace den0bot.Modules
{
public class ModAnalytics : IModule, IReceiveAllMessages
{
private static readonly... | // den0bot (c) StanR 2019 - MIT License
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using den0bot.Analytics.Data;
using den0bot.Analytics.Data.Types;
using den0bot.Util;
namespace den0bot.Modules
{
public class ModAnalytics : IModule, IReceiveAllMessages
{
private static readonly... | mit | C# |
146b3b6cf0fe7ad35e03d043c03ec0ebd0590993 | fix default mapzen map data format | reinterpretcat/utymap,reinterpretcat/utymap,reinterpretcat/utymap | unity/library/UtyMap.Unity/Maps/Providers/MapzenMapDataProvider.cs | unity/library/UtyMap.Unity/Maps/Providers/MapzenMapDataProvider.cs | using System;
using System.IO;
using UtyDepend;
using UtyDepend.Config;
using UtyMap.Unity.Core.Tiling;
using UtyMap.Unity.Infrastructure.Diagnostic;
using UtyMap.Unity.Infrastructure.IO;
using UtyRx;
namespace UtyMap.Unity.Maps.Providers
{
/// <summary> Downloads map data from mapzen servers. </summary>
publ... | using System;
using System.IO;
using UtyDepend;
using UtyDepend.Config;
using UtyMap.Unity.Core.Tiling;
using UtyMap.Unity.Infrastructure.Diagnostic;
using UtyMap.Unity.Infrastructure.IO;
using UtyRx;
namespace UtyMap.Unity.Maps.Providers
{
/// <summary> Downloads map data from mapzen servers. </summary>
publ... | apache-2.0 | C# |
c87250b88a28e9d01eadb65eb88912d5d186798b | Fix disposal of TwoWay handler (#1400) | googleapis/google-api-dotnet-client,jskeet/google-api-dotnet-client,googleapis/google-api-dotnet-client,jskeet/google-api-dotnet-client,googleapis/google-api-dotnet-client,jskeet/google-api-dotnet-client | Src/Support/Google.Apis.Core/Http/TwoWayDelegatingHandler.cs | Src/Support/Google.Apis.Core/Http/TwoWayDelegatingHandler.cs | /*
Copyright 2017 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | /*
Copyright 2017 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | apache-2.0 | C# |
d19c8f56be69c913c95b72334b6cea5e9e7e71bf | Make RulesetInfo implement IEquatable since EqualityComparer was sometimes giving false negatives and causing Bindable observers to fire | DrabWeb/osu,ppy/osu,Damnae/osu,EVAST9919/osu,smoogipoo/osu,2yangk23/osu,naoey/osu,UselessToucan/osu,DrabWeb/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,ZLima12/osu,johnneijzen/osu,peppy/osu,UselessToucan/osu,Drezi126/osu,johnneijzen/osu,ppy/osu,ZLima12/osu,ppy/osu,EVAST9919/osu,naoey/osu,Frontear/osuKy... | osu.Game/Rulesets/RulesetInfo.cs | osu.Game/Rulesets/RulesetInfo.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using SQLite.Net.Attributes;
namespace osu.Game.Rulesets
{
public class RulesetInfo : IEquatable<RulesetInfo>
{
[PrimaryKey, Aut... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using SQLite.Net.Attributes;
namespace osu.Game.Rulesets
{
public class RulesetInfo
{
[PrimaryKey, AutoIncrement]
publi... | mit | C# |
856f60169232370989d514b695abdf272d6182cf | Set today as default value | SanguPackage/TWTactics | TribalWars/Controls/Common/TimeConverterCalculatorControl.cs | TribalWars/Controls/Common/TimeConverterCalculatorControl.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
namespace TribalWars.Controls
{
/// <summary>
/// Adds addings time functionality to the TimeConverterControl
/// </summary>
public partia... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
namespace TribalWars.Controls
{
/// <summary>
/// Adds addings time functionality to the TimeConverterControl
/// </summary>
public partia... | mit | C# |
b2abb641661eee0c8cbc650a1e0fdd73b19ee9ae | Remove unused property Statement.StackTrace | lpatalas/NhLogAnalyzer | NhLogAnalyzer/Infrastructure/Statement.cs | NhLogAnalyzer/Infrastructure/Statement.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace NhLogAnalyzer.Infrastructure
{
public class Statement
{
private readonly int id;
public int Id
{
get { return id; }
}
private readonly str... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace NhLogAnalyzer.Infrastructure
{
public class Statement
{
private readonly int id;
public int Id
{
get { return id; }
}
private readonly str... | mit | C# |
5ba569c9da9b2612c7d53751ae39a2771f4e2040 | Remove duplicate bullet point | mmoening/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl... | MatterControlLib/ConfigurationPage/PrintLeveling/LevelingStrings.cs | MatterControlLib/ConfigurationPage/PrintLeveling/LevelingStrings.cs | /*
Copyright (c) 2018, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | /*
Copyright (c) 2018, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | bsd-2-clause | C# |
5e5a0cdb9374d26f58b7105c9538bed9f80393de | Remove DataPortal_Fetch from ReadOnlyBase to bring the class in line with BusinessBase. bugid: 867 | jonnybee/csla,MarimerLLC/csla,rockfordlhotka/csla,BrettJaner/csla,MarimerLLC/csla,jonnybee/csla,ronnymgm/csla-light,JasonBock/csla,BrettJaner/csla,ronnymgm/csla-light,jonnybee/csla,MarimerLLC/csla,BrettJaner/csla,rockfordlhotka/csla,JasonBock/csla,rockfordlhotka/csla,JasonBock/csla,ronnymgm/csla-light | Source/Csla.test/Silverlight/Server/Security/SilverlightIdentity.cs | Source/Csla.test/Silverlight/Server/Security/SilverlightIdentity.cs | //-----------------------------------------------------------------------
// <copyright file="SilverlightIdentity.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: http://www.lhotka.net/cslanet/
// </copyright>
// <summary>no summary</summary>
//-------------------... | //-----------------------------------------------------------------------
// <copyright file="SilverlightIdentity.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: http://www.lhotka.net/cslanet/
// </copyright>
// <summary>no summary</summary>
//-------------------... | mit | C# |
acddc2a1a7afe3f6aaa58131e60912cc25841c40 | convert ToCartesianCoordinates() to static | opcon/Substructio,opcon/Substructio | Core/Math/PolarVector.cs | Core/Math/PolarVector.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenTK;
namespace Substructio.Core.Math
{
public class PolarVector
{
public double Radius { get; set; }
public double Azimuth { get; set; }
public PolarVector(doub... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenTK;
namespace Substructio.Core.Math
{
public class PolarVector
{
public double Radius { get; set; }
public double Azimuth { get; set; }
public PolarVector(doub... | mit | C# |
57dd854d57737cc2317e3b531c4f57fb1760536e | Add ThenCreated overloads to Totem.Timeline.Mvc.When | bwatts/Totem,bwatts/Totem | src/Totem.Timeline.Mvc/When.cs | src/Totem.Timeline.Mvc/When.cs | using System;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Totem.Timeline.Mvc
{
/// <summary>
/// Declares an HTTP response to the specific event type
/// </summary>
/// <typeparam name="TEvent">The type of event to which to respond</typeparam>
public static class When<TEvent> w... | using System;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Totem.Timeline.Mvc
{
/// <summary>
/// Declares an HTTP response to the specific event type
/// </summary>
/// <typeparam name="TEvent">The type of event to which to respond</typeparam>
public static class When<TEvent> w... | mit | C# |
87937a76084a41f456a06ca1e1031d6c327932cc | fix link | ParticularLabs/APIComparer,modernist/APIComparer,ParticularLabs/APIComparer,modernist/APIComparer | APIComparer/Program.cs | APIComparer/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using APIComparer;
using NuGet;
class Program
{
static void Main()
{
var nugetCacheDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "NuGet", "Cache");
var rep... | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using APIComparer;
using NuGet;
class Program
{
static void Main()
{
var nugetCacheDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "NuGet", "Cache");
var rep... | mit | C# |
1587b908354a760292fba84b8d7531e24b943af7 | Use interface in UnityExtensions | ethanmoffat/EndlessClient | EOLib/UnityExtensions.cs | EOLib/UnityExtensions.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System.Collections.Generic;
using Microsoft.Practices.Unity;
namespace EOLib
{
public static class UnityExtensions
{
public static void RegisterInstance<T>(thi... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System.Collections.Generic;
using Microsoft.Practices.Unity;
namespace EOLib
{
public static class UnityExtensions
{
public static void RegisterInstance<T>(thi... | mit | C# |
28f889eb4912c3e203e192dc15009495f46139a8 | select cells | sagivo/Unity2d-Game | Assets/Scripts/Cell.cs | Assets/Scripts/Cell.cs | using UnityEngine;
using System.Collections;
public class Cell : BaseObj {
public enum CellType {Empty, Player, Canon, Building};
public CellType Type;
public bool Selected;
SpriteRenderer sprite;
//events
public delegate void HitEvent(object sender, object args); public HitEvent OnHit;
void Start(){
sprit... | using UnityEngine;
using System.Collections;
public class Cell : BaseObj {
public enum CellType {Empty, Player, Canon, Building};
public CellType Type;
SpriteRenderer sprite;
//events
public delegate void HitEvent(object sender, object args); public HitEvent OnHit;
void Start(){
sprite = gameObject.GetCompo... | apache-2.0 | C# |
6410e31a57af1765c5d9d36675080192666afb62 | save toggle state | DMagic1/KSP_Contract_Window,Kerbas-ad-astra/KSP_Contract_Window | contractToolbar.cs | contractToolbar.cs | #region license
/*The MIT License (MIT)
Contract Toolbar- Addon for toolbar interface
Copyright (c) 2014 DMagic
KSP Plugin Framework by TriggerAu, 2014: http://forum.kerbalspaceprogram.com/threads/66503-KSP-Plugin-Framework
Permission is hereby granted, free of charge, to any person obtaining a copy
of this softwar... | #region license
/*The MIT License (MIT)
Contract Toolbar- Addon for toolbar interface
Copyright (c) 2014 DMagic
KSP Plugin Framework by TriggerAu, 2014: http://forum.kerbalspaceprogram.com/threads/66503-KSP-Plugin-Framework
Permission is hereby granted, free of charge, to any person obtaining a copy
of this softwar... | mit | C# |
8aa78126fdfaba2131a40e94956b041176f7a49b | fix docs on ColorButton | NattyNarwhal/Colours | Colours/ColorButton.cs | Colours/ColorButton.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using GdiColor = System.Drawing.Color;
namespace Colours
{
/// <summary>
/// A button that takes the appearance of the colour it represents.
... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using GdiColor = System.Drawing.Color;
namespace Colours
{
/// <summary>
/// A button that takes the appearance of the colour it represents.
... | mit | C# |
ed982e8dd13f9f4657e1463a7bd19a7aac2f41f4 | Make stacked hitcircles more visible when using default skin | UselessToucan/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,peppy/osu,ppy/osu,peppy/osu,smoogipoo/osu | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/RingPiece.cs | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/RingPiece.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 osuTK;
using osuTK.Graphics;
using osu.Framework.Graphics.Shapes;
namespace osu.Game.Ruleset... | // 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 osuTK;
using osuTK.Graphics;
using osu.Framework.Graphics.Shapes;
namespace osu.Game.Ruleset... | mit | C# |
f57f2482d589838ba814c4ca77b553fa93111a1e | remove duplicate settings creation. | sillsdev/solid,sillsdev/solid,sillsdev/solid | src/SolidGui/Program.cs | src/SolidGui/Program.cs | using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Palaso.Reporting;
using SolidGui.Properties;
namespace SolidGui
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
... | using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Palaso.Reporting;
using SolidGui.Properties;
namespace SolidGui
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
... | mit | C# |
de57ec946fef38559993c17550b101e47ba535b3 | Normalise line endings once again. | stomppah/KAOS-Engine,stomppah/KAOS-Engine,stomppah/KAOS-Engine | KAOS/Utilities/Camera.cs | KAOS/Utilities/Camera.cs | using OpenTK;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KAOS.Utilities
{
/// <summary>
/// Camera: http://neokabuto.blogspot.co.uk/2014/01/opentk-tutorial-5-basic-camera.html (slightly modified)
/// </summary>
... | using OpenTK;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KAOS.Utilities
{
/// <summary>
/// Camera: http://neokabuto.blogspot.co.uk/2014/01/opentk-tutorial-5-basic-camera.html (slightly modified)
/// </summary>
public s... | mit | C# |
019ffe6a68b0f7df97e94bd57a4580f11f568e4c | Remove unnecessary using | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/AtomicChessPuzzles/DbRepositories/PositionRepository.cs | src/AtomicChessPuzzles/DbRepositories/PositionRepository.cs | using AtomicChessPuzzles.Models;
using MongoDB.Driver;
using System;
using System.Linq;
namespace AtomicChessPuzzles.DbRepositories
{
public class PositionRepository : IPositionRepository
{
MongoSettings settings;
IMongoCollection<TrainingPosition> positionCollection;
Random rnd = new R... | using AtomicChessPuzzles.Models;
using MongoDB.Bson;
using MongoDB.Driver;
using System;
using System.Linq;
namespace AtomicChessPuzzles.DbRepositories
{
public class PositionRepository : IPositionRepository
{
MongoSettings settings;
IMongoCollection<TrainingPosition> positionCollection;
... | agpl-3.0 | C# |
3aadfb4b5d66ac8ee16d3e61d7f59a03accba130 | Update src/Avalonia.Controls/Notifications/INotificationManager.cs | SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,grokys/Perspex,AvaloniaUI/Avalonia,Perspex/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,wiesl... | src/Avalonia.Controls/Notifications/INotificationManager.cs | src/Avalonia.Controls/Notifications/INotificationManager.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
namespace Avalonia.Controls.Notifications
{
/// <summary>
/// Represents a notification manager that can be used to show notifications in a windo... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
namespace Avalonia.Controls.Notifications
{
/// <summary>
/// Defines the interfaces for NotificationManagers.
/// </summary>
public inte... | mit | C# |
e2dd7df304328f3a2631efa0db4fb234165f858c | Make Cake Bakery resolution case insensitive | DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn | src/OmniSharp.Cake/Services/ScriptGenerationToolResolver.cs | src/OmniSharp.Cake/Services/ScriptGenerationToolResolver.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using OmniSharp.Cake.Configuration;
namespace OmniSharp.Cake.Services
{
internal static class ScriptGenerationToolResolver
{
public static string GetExecutablePath(string rootPath,... | using System.IO;
using System.Linq;
using OmniSharp.Cake.Configuration;
namespace OmniSharp.Cake.Services
{
internal static class ScriptGenerationToolResolver
{
public static string GetExecutablePath(string rootPath, ICakeConfiguration configuration)
{
var toolPath = GetToolPath(ro... | mit | C# |
821e13a1a7526b719a2c680e742781b36cfd4b02 | Update Hosting to account for DataProtection API changes. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Hosting/HostingServices.cs | src/Microsoft.AspNet.Hosting/HostingServices.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.AspNet.Hosting.Builder;
using Microsoft.AspNet.Hosting.Server;
using Microsoft.AspNet... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.AspNet.Hosting.Builder;
using Microsoft.AspNet.Hosting.Server;
using Microsoft.AspNet... | apache-2.0 | C# |
f9065331ef5789f988acc395e1ad40849bfe5bc4 | Fix unit test | dswisher/yaclops | src/Yaclops.Tests/Mocks/MockReflectedCommand.cs | src/Yaclops.Tests/Mocks/MockReflectedCommand.cs | using System;
using System.Collections.Generic;
using Yaclops.Reflecting;
namespace Yaclops.Tests.Mocks
{
internal class MockReflectedCommand : IReflectedCommand<object>
{
private static readonly Func<object> _factory = () => new object();
private readonly List<string> _verbs = new ... | using System;
using System.Collections.Generic;
using Yaclops.Reflecting;
namespace Yaclops.Tests.Mocks
{
internal class MockReflectedCommand : IReflectedCommand<object>
{
private static readonly Func<object> _factory = () => new object();
private readonly List<string> _verbs = new ... | mit | C# |
4110758b0c2fb39c1896ea039b623b2c9a2ecbea | Update reset pax method | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Services/VehicleService.cs | Battery-Commander.Web/Services/VehicleService.cs | using BatteryCommander.Web.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Services
{
public class VehicleService
{
public static async Task Reset_Drivers(Database db)
{... | using BatteryCommander.Web.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Services
{
public class VehicleService
{
public static async Task Reset_Drivers(Database db)
{... | mit | C# |
24cb93d06de92048802d113b02348ff1b5442404 | Fix soldier save link | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Soldiers/Edit.cshtml | Battery-Commander.Web/Views/Soldiers/Edit.cshtml | @model Soldier
@using (Html.BeginForm("Save", "Soldiers", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(model => model.Id)
@Html.ValidationSummary()
<div class="form-group form-group-lg">
@Html.DisplayNameFor(model => model.Uni... | @model Soldier
@using (Html.BeginForm("Save", "Soldier", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(model => model.Id)
@Html.ValidationSummary()
<div class="form-group form-group-lg">
@Html.DisplayNameFor(model => model.Unit... | mit | C# |
f3dace6ce21b9a4c0dd404e883d854774af9c248 | Make all IEdges weighted | DasAllFolks/SharpGraphs | Graph/IEdge.cs | Graph/IEdge.cs | using System;
namespace Graph
{
/// <summary>
/// Default interface for a graph edge, whether directed or undirected.
/// </summary>
/// <typeparam name="V">
/// The type used to create vertex (node) labels.
/// </typeparam>
/// <typeparam name="W">
/// The type used for the edge weigh... | using System;
namespace Graph
{
/// <summary>
/// Default interface for a graph edge, whether directed or undirected.
/// </summary>
/// <typeparam name="V">
/// The type used to create vertex (node) labels.
/// </typeparam>
public interface IEdge<V> : IEquatable<IEdge<V>>
where V ... | apache-2.0 | C# |
f8d1f7d7552ddf03e7441d5e9ba1f0945b6a0f77 | Use one component helper class #2; | KonH/UDBase | Common/Scheme.cs | Common/Scheme.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UDBase.Components;
namespace UDBase.Common {
/* If you want some combination of components you need to inherit from that class
* add call AddComponent for required components
*/
public abstract class Scheme : IScheme {
Dictio... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UDBase.Components;
namespace UDBase.Common {
/* If you want some combination of components you need to inherit from that class
* add call AddComponent for required components
*/
public abstract class Scheme : IScheme {
Dictio... | mit | C# |
dabc692f3cf22ac1250126143c3c925c930f39b0 | Implement IsValidDestination for Bishop | ProgramFOX/Chess.NET | ChessDotNet/Pieces/Bishop.cs | ChessDotNet/Pieces/Bishop.cs | namespace ChessDotNet.Pieces
{
public class Bishop : ChessPiece
{
public override Player Owner
{
get;
set;
}
public Bishop(Player owner)
{
Owner = owner;
}
public override string GetFenCharacter()
{
... | namespace ChessDotNet.Pieces
{
public class Bishop : ChessPiece
{
public override Player Owner
{
get;
set;
}
public Bishop(Player owner)
{
Owner = owner;
}
public override string GetFenCharacter()
{
... | mit | C# |
bc817eb4f580303ddd8b30dcc98b78aabf2fd510 | Update Global.asax.cs | HEDIDIN/LogicAppsExceptionManagementApi,HEDIDIN/LogicAppsExceptionManagementApi,HEDIDIN/LogicAppsExceptionManagementApi | LogManagement/Global.asax.cs | LogManagement/Global.asax.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace LogManagement
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace LogManagement
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
... | mit | C# |
4dfc1250c2294247f096d2bd0399eae6da9208e6 | Fix struct parsing when Value == null | Banane9/XmlRpc | XmlRpc/Types/XmlRpcStruct.cs | XmlRpc/Types/XmlRpcStruct.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using XmlRpc.Types.Structs;
namespace XmlRpc.Types
{
/// <summary>
/// Represents an XmlRpcType containing a xml rpc struct that is derived from <see cref="XmlRpc.Types.Structs.BaseStruct"/>.
/// </summary>
/// <... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using XmlRpc.Types.Structs;
namespace XmlRpc.Types
{
/// <summary>
/// Represents an XmlRpcType containing a xml rpc struct that is derived from <see cref="XmlRpc.Types.Structs.BaseStruct"/>.
/// </summary>
/// <... | lgpl-2.1 | C# |
3c3ee042794be726fe054f0c6c137e6777cd809f | Add Publish() and re-Connect()ing test. | jorik041/mono-reactive,paulcbetts/mono-reactive,atsushieno/mono-reactive | System.Reactive.Tests/System.Reactive.Linq/ObservableConnectableTest.cs | System.Reactive.Tests/System.Reactive.Linq/ObservableConnectableTest.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reactive;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading;
using NUnit.Framework;
namespace System.Reactive.Linq.Tests
{
[TestFixture]
public class... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reactive;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading;
using NUnit.Framework;
namespace System.Reactive.Linq.Tests
{
[TestFixture]
public class... | mit | C# |
083983ae6b1db8f879146adda6512e5f534bd9a3 | Update ExchangeRateRepository.cs | tiksn/TIKSN-Framework | TIKSN.Core/Finance/ForeignExchange/Data/Mongo/ExchangeRateRepository.cs | TIKSN.Core/Finance/ForeignExchange/Data/Mongo/ExchangeRateRepository.cs | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MongoDB.Driver;
using TIKSN.Data.Mongo;
namespace TIKSN.Finance.ForeignExchange.Data.Mongo
{
public class ExchangeRateRepository : MongoRepository<ExchangeRateEntity, Guid>, IExchangeRateRepository
{
... | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MongoDB.Driver;
using TIKSN.Data.Mongo;
namespace TIKSN.Finance.ForeignExchange.Data.Mongo
{
public class ExchangeRateRepository : MongoRepository<ExchangeRateEntity, Guid>, IExchangeRateRepository
{
... | mit | C# |
46622090d8479001a728c23398d0994a45f16417 | Fix for annual turnover. | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Merchant/MerchantDto.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Merchant/MerchantDto.cs | using PS.Mothership.Core.Common.Template.Cust;
using PS.Mothership.Core.Common.Template.Gen;
using System;
using System.Runtime.Serialization;
using System.Collections.Generic;
using PS.Mothership.Core.Common.Dto.Contact;
namespace PS.Mothership.Core.Common.Dto.Merchant
{
[DataContract]
public class MerchantD... | using PS.Mothership.Core.Common.Template.Cust;
using PS.Mothership.Core.Common.Template.Gen;
using System;
using System.Runtime.Serialization;
using System.Collections.Generic;
using PS.Mothership.Core.Common.Dto.Contact;
namespace PS.Mothership.Core.Common.Dto.Merchant
{
[DataContract]
public class MerchantD... | mit | C# |
d3807b6d085b67b64c6de641f53cd4b25336b60f | Update Router.cs | phonicmouse/SharpPaste,phonicmouse/SharpPaste | Routers/Router.cs | Routers/Router.cs | /*
* Created by SharpDevelop.
* User: Phonic Mouse
* Date: 01/08/2016
* Time: 19:36
*/
using System;
using System.Linq;
using System.Text;
using LiteDB;
using MlkPwgen;
using Nancy;
using Newtonsoft.Json;
namespace SharpPaste
{
public class Router : NancyModule
{
public Router()
{
Get["/"] = _ => View["... | /*
* Created by SharpDevelop.
* User: Phonic Mouse
* Date: 01/08/2016
* Time: 19:36
*/
using System;
using System.Linq;
using System.Text;
using LiteDB;
using MlkPwgen;
using Nancy;
using Newtonsoft.Json;
namespace SharpPaste
{
public class Router : NancyModule
{
public Router()
{
Get["/"] = _ => View["... | mit | C# |
e49893bf8350cdec9df83286552db59b18edbfaf | Remove the empty implementation of SafeHandleBase.Dispose (overrides SafeHandle.Dispose) from release builds | sushihangover/libgit2sharp,xoofx/libgit2sharp,jorgeamado/libgit2sharp,vorou/libgit2sharp,vivekpradhanC/libgit2sharp,libgit2/libgit2sharp,dlsteuer/libgit2sharp,OidaTiftla/libgit2sharp,Zoxive/libgit2sharp,AArnott/libgit2sharp,yishaigalatzer/LibGit2SharpCheckOutTests,ethomson/libgit2sharp,Skybladev2/libgit2sharp,oliver-fe... | LibGit2Sharp/Core/Handles/SafeHandleBase.cs | LibGit2Sharp/Core/Handles/SafeHandleBase.cs | using System;
using System.Diagnostics;
using System.Globalization;
using System.Runtime.InteropServices;
namespace LibGit2Sharp.Core.Handles
{
internal abstract class SafeHandleBase : SafeHandle
{
#if LEAKS
private readonly string trace;
#endif
protected SafeHandleBase()
: base(I... | using System;
using System.Diagnostics;
using System.Globalization;
using System.Runtime.InteropServices;
namespace LibGit2Sharp.Core.Handles
{
internal abstract class SafeHandleBase : SafeHandle
{
#if LEAKS
private readonly string trace;
#endif
protected SafeHandleBase()
: base(I... | mit | C# |
ebd8f28e579922b5c844e66fd681384cf2e311b7 | Add checks to GetMediaFileExtraAsync | moljac/Xamarin.Mobile,xamarin/Xamarin.Mobile,orand/Xamarin.Mobile,nexussays/Xamarin.Mobile,xamarin/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile | MonoDroid/Xamarin.Mobile/Media/MediaFile.cs | MonoDroid/Xamarin.Mobile/Media/MediaFile.cs | using System;
using System.IO;
using System.Threading.Tasks;
using Android.Content;
using File = System.IO.File;
using IOException = System.IO.IOException;
namespace Xamarin.Media
{
public static class MediaFileExtensions
{
public static Task<MediaFile> GetMediaFileExtraAsync (this Intent self, Context context)
... | using System;
using System.IO;
using System.Threading.Tasks;
using Android.Content;
using File = System.IO.File;
using IOException = System.IO.IOException;
namespace Xamarin.Media
{
public static class MediaFileExtensions
{
public static Task<MediaFile> GetMediaFileExtraAsync (this Intent self, Context context)
... | apache-2.0 | C# |
c5b8aa6d236b6072199acdfe520a486772e4db2d | Move all CDN scripts before bower scripts | croquet-australia/croquet-australia-website,croquet-australia/website-application,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia.com.au,croquet-australia/website-application,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-au... | source/CroquetAustralia.Website/Layouts/Shared/AfterRenderBody.cshtml | source/CroquetAustralia.Website/Layouts/Shared/AfterRenderBody.cshtml | @using CroquetAustralia.Website.App.Infrastructure
@* ReSharper disable All *@
@{
var model = (IViewModel) PageData["model"];
if (model.ShowSidebar)
{
@RenderPage("EndColumns.cshtml")
}
}
</div>
</div>
<script src="//code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3Hiw... | @using CroquetAustralia.Website.App.Infrastructure
@* ReSharper disable All *@
@{
var model = (IViewModel) PageData["model"];
if (model.ShowSidebar)
{
@RenderPage("EndColumns.cshtml")
}
}
</div>
</div>
<script src="//code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3Hiw... | mit | C# |
0aee9152bd7feb5f32a032facc8f19179c4e811b | Make AcceptedCharacters public | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Razor.Evolution/Legacy/AcceptedCharacters.cs | src/Microsoft.AspNetCore.Razor.Evolution/Legacy/AcceptedCharacters.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;
namespace Microsoft.AspNetCore.Razor.Evolution.Legacy
{
[Flags]
public enum AcceptedCharacters
{
None = 0,
Ne... | // 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;
namespace Microsoft.AspNetCore.Razor.Evolution.Legacy
{
[Flags]
internal enum AcceptedCharacters
{
None = 0,
... | apache-2.0 | C# |
a4984e1515b2fd641a4c61f1fa339c05de7975a3 | Replace nameof() with a string paramenter name to be compatible with VS2013 | pveller/Sitecore.FakeDb,sergeyshushlyapin/Sitecore.FakeDb | src/Sitecore.FakeDb/Sites/FakeSiteContextSwitcher.cs | src/Sitecore.FakeDb/Sites/FakeSiteContextSwitcher.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Sitecore.FakeDb.Sites
{
using System.Collections.Specialized;
using Sitecore.Sites;
using Sitecore.Web;
using StringDictionary = Sitecore.Collections.StringDictionary;
/// <summary>
/// Switches The Site Context and ... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Sitecore.FakeDb.Sites
{
using System.Collections.Specialized;
using Sitecore.Sites;
using Sitecore.Web;
using StringDictionary = Sitecore.Collections.StringDictionary;
/// <summary>
/// Switches The Site Context and ... | mit | C# |
de5a104664812172e72569883bab4a8839e47f04 | Fix typo in ICanvasCellViewFrontend | TheBrainTech/xwt,lytico/xwt,hamekoz/xwt,hwthomas/xwt,mono/xwt,antmicro/xwt | Xwt/Xwt.Backends/ICanvasCellViewFrontend.cs | Xwt/Xwt.Backends/ICanvasCellViewFrontend.cs | //
// ICanvasCellViewFrontend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2013 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without r... | //
// ICanvasCellViewFrontend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2013 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without r... | mit | C# |
ba1a396186c92aaeb7ea071dab2da2230d9316b2 | Remove StructLayout attributes | vazgriz/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary | CSharpGameLibrary/GLFW/structs.cs | CSharpGameLibrary/GLFW/structs.cs | using System;
using System.Runtime.InteropServices;
namespace CSGL.GLFW {
public struct VideoMode {
public readonly int width;
public readonly int height;
public readonly int redBits;
public readonly int greenBits;
public readonly int blueBits;
public readonly int r... | using System;
using System.Runtime.InteropServices;
namespace CSGL.GLFW {
[StructLayout(LayoutKind.Sequential)]
public struct VideoMode {
public readonly int width;
public readonly int height;
public readonly int redBits;
public readonly int greenBits;
public readonly i... | mit | C# |
9ea5cfcff985cc0a14c4fb5df57ea40ef954515d | Update the example program | jonathanvdc/Pixie,jonathanvdc/Pixie | Examples/ConsoleDriver/Program.cs | Examples/ConsoleDriver/Program.cs | using System;
using Pixie;
using Pixie.Terminal;
using Pixie.Markup;
namespace ConsoleDriver
{
public static class Program
{
public static void Main(string[] args)
{
var log = TerminalLog.Acquire();
log.Log(new LogEntry(
Severity.Progress,
... | using System;
using Pixie;
using Pixie.Terminal;
using Pixie.Markup;
namespace ConsoleDriver
{
public static class Program
{
public static void Main(string[] args)
{
var log = TerminalLog.Acquire();
log.Log(new LogEntry(
Severity.Progress,
... | mit | C# |
58b03281379dc07129e636cf9d076079780f39db | Optimize finding script template | appetizermonster/Unity3D-ActionEngine | Assets/ActionEngine/AEScript/Editor/AEScriptEditor.cs | Assets/ActionEngine/AEScript/Editor/AEScriptEditor.cs | using Microsoft.CSharp;
using System;
using System.CodeDom.Compiler;
using System.Collections;
using System.IO;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEngine;
namespace ActionEngine {
[CustomEditor(typeof(AEScriptRunner))]
[CanEditMultipleObjects]
public class AEScriptRunnerEdit... | using Microsoft.CSharp;
using System;
using System.CodeDom.Compiler;
using System.Collections;
using System.IO;
using System.Reflection;
using UnityEditor;
using UnityEngine;
using System.Linq;
namespace ActionEngine {
[CustomEditor(typeof(AEScriptRunner))]
[CanEditMultipleObjects]
public class AEScriptRunnerEdit... | mit | C# |
6ba4e73995855a32d15f150fcfeb451aeb23b178 | Remove unnecessary whitespace from OpenConnection | jagrem/msg | Core/Msg.Core/Transport/Connections/OpenConnection.cs | Core/Msg.Core/Transport/Connections/OpenConnection.cs | using System.Threading.Tasks;
using Msg.Core.Versioning;
using Msg.Core.Transport;
namespace Msg.Core.Transport.Connections
{
public class OpenConnection : IConnection
{
readonly IConnection connection;
internal OpenConnection (IConnection connection)
{
this.connection = co... | using System.Threading.Tasks;
using Msg.Core.Versioning;
using Msg.Core.Transport;
namespace Msg.Core.Transport.Connections
{
public class OpenConnection : IConnection
{
readonly IConnection connection;
internal OpenConnection (IConnection connection)
{
this.connection = c... | apache-2.0 | C# |
09613f4e3e7263904530b4605a93320b522ed3bc | Add jQuery mobile loader widget | xamarin/PortableRazor,MilenPavlov/PortableRazor | Samples/iCongress/PortableCongress/Controllers/PoliticianController.cs | Samples/iCongress/PortableCongress/Controllers/PoliticianController.cs | using System;
using PortableRazor;
namespace PortableCongress
{
public class PoliticianController
{
IHybridWebView webView;
IDataAccess dataAccess;
public PoliticianController (IHybridWebView webView, IDataAccess dataAccess)
{
this.webView = webView;
this.dataAccess = dataAccess;
}
public voi... | using System;
using PortableRazor;
namespace PortableCongress
{
public class PoliticianController
{
IHybridWebView webView;
IDataAccess dataAccess;
public PoliticianController (IHybridWebView webView, IDataAccess dataAccess)
{
this.webView = webView;
this.dataAccess = dataAccess;
}
public voi... | mit | C# |
616689cf33932c18c950cbbcf14ca96edbc95705 | Update BattlePeer.cs | PokemonUnity/PokemonUnity | PokemonUnity.Shared/Monster/BattlePeer.cs | PokemonUnity.Shared/Monster/BattlePeer.cs | using System;
using System.Collections.Generic;
using PokemonUnity;
using PokemonUnity.Inventory;
using PokemonUnity.Overworld;
using PokemonUnity.Character;
namespace PokemonUnity.Monster
{
public partial class PokeBattle_NullBattlePeer : IPokeBattle_BattlePeer {
public void pbOnEnteringBattle(Combat.Battle batt... | using PokemonUnity;
using PokemonUnity.Inventory;
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using PokemonUnity.Overworld;
using PokemonUnity.Character;
namespace PokemonUnity.Monster
{
public partial class PokeBattle_NullBattlePeer : IPokeBattle_BattlePeer {
public void... | bsd-3-clause | C# |
06b606100b8cfeee669999462839423677515bf7 | add 2do | MartinRL/SlackTurnus,MartinRL/SlackTurnus | SlackTurnus/Controllers/HomeController.cs | SlackTurnus/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Hosting;
using System.Web.Mvc;
using Newtonsoft.Json;
namespace SlackTurnus.Controllers
{
public class HomeController : Controller
{
private readonly IGetSla... | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Hosting;
using System.Web.Mvc;
using Newtonsoft.Json;
namespace SlackTurnus.Controllers
{
public class HomeController : Controller
{
private readonly IGetSla... | mit | C# |
90ef417afc30e542bcef8b43ac2c290217230372 | Fix naming of MonoMac vs MonoMac 64-bit platform | l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto | Source/Eto.Mac/Properties/AssemblyInfo.cs | Source/Eto.Mac/Properties/AssemblyInfo.cs | using System.Reflection;
#if XAMMAC2
[assembly: AssemblyTitle("Eto.Forms - Xamarin.Mac v2.0 Platform")]
[assembly: AssemblyDescription("OS X Platform for the Eto.Forms UI Framework using Xamarin.Mac v2.0")]
#elif XAMMAC
[assembly: AssemblyTitle("Eto.Forms - Xamarin.Mac Platform")]
[assembly: AssemblyDescription("OS X ... | using System.Reflection;
#if XAMMAC2
[assembly: AssemblyTitle("Eto.Forms - Xamarin.Mac v2.0 Platform")]
[assembly: AssemblyDescription("OS X Platform for the Eto.Forms UI Framework using Xamarin.Mac v2.0")]
#elif XAMMAC
[assembly: AssemblyTitle("Eto.Forms - Xamarin.Mac Platform")]
[assembly: AssemblyDescription("OS X ... | bsd-3-clause | C# |
08b3004d7e72aad92e4dc7c6eb07a4c6ac89c7ed | Remove duplicates from sorted list | Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews | LeetCode/remote/remove_duplicates_from_sorted_list.cs | LeetCode/remote/remove_duplicates_from_sorted_list.cs | // https://leetcode.com/submissions/detail/52724586/
//
//
// Submission Details
// 164 / 164 test cases passed.
// Status: Accepted
// Runtime: 160 ms
//
// Submitted: 0 minutes ago
//
/**
* Definition for singly-linked list.
* public class ListNode {
* public int val;
* ... | // https://leetcode.com/submissions/detail/52724586/
//
//
// Submission Details
// 164 / 164 test cases passed.
// Status: Accepted
// Runtime: 160 ms
//
// Submitted: 0 minutes ago
//
/**
* Definition for singly-linked list.
* public class ListNode {
* public int val;
* ... | mit | C# |
9326e0a548912653f5a3ac57c0d64779e73f331b | Fix issue of wrong counting characters if a text contains newline | fin-alice/Mystique,azyobuzin/Mystique | Inscribe/Text/TweetTextCounter.cs | Inscribe/Text/TweetTextCounter.cs | using System.Linq;
using System.Text.RegularExpressions;
namespace Inscribe.Text
{
public static class TweetTextCounter
{
public static int Count(string input)
{
// Input maybe contains CRLF as a new line, but twitter converts CRLF to LF.
// It means CRLF should be trea... | using System.Linq;
using System.Text.RegularExpressions;
namespace Inscribe.Text
{
public static class TweetTextCounter
{
public static int Count(string input)
{
// URL is MAX 20 Chars (if URL has HTTPS scheme, URL is MAX 21 Chars)
int prevIndex = 0;
int tot... | mit | C# |
ec07bc055f293f86d9da265df002af6d49b1ac7b | change user agent | jvalladolid/recurly-client-net,cgerrior/recurly-client-net | Library/Configuration/Settings.cs | Library/Configuration/Settings.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
[assembly: InternalsVisibleTo("Recurly.Test")]
namespace Recurly.Configuration
{
internal class Settings
{
// non-static, as these change per instance, likely
public string ApiKey { ge... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
[assembly: InternalsVisibleTo("Recurly.Test")]
namespace Recurly.Configuration
{
internal class Settings
{
// non-static, as these change per instance, likely
public string ApiKey { ge... | mit | C# |
d8a1478200c86e1e60649ac2418cba7c40e4dc9a | Add helpers to SettingsDictionary | NIKASoftwareDevs/Orchard,jtkech/Orchard,sfmskywalker/Orchard,geertdoornbos/Orchard,jchenga/Orchard,aaronamm/Orchard,Cphusion/Orchard,emretiryaki/Orchard,harmony7/Orchard,alejandroaldana/Orchard,vairam-svs/Orchard,bigfont/orchard-continuous-integration-demo,dcinzona/Orchard,Anton-Am/Orchard,grapto/Orchard.CloudBust,JRKe... | src/Orchard/ContentManagement/MetaData/Models/SettingsDictionary.cs | src/Orchard/ContentManagement/MetaData/Models/SettingsDictionary.cs | using System;
using System.Collections.Generic;
using System.Web.Mvc;
namespace Orchard.ContentManagement.MetaData.Models {
public class SettingsDictionary : Dictionary<string, string> {
public SettingsDictionary() { }
public SettingsDictionary(IDictionary<string, string> dictionary) : base... | using System.Collections.Generic;
using System.Web.Mvc;
namespace Orchard.ContentManagement.MetaData.Models {
public class SettingsDictionary : Dictionary<string, string> {
public SettingsDictionary() { }
public SettingsDictionary(IDictionary<string, string> dictionary) : base(dictionary) { ... | bsd-3-clause | C# |
abb399c4b695a6c7a2494eac6f8fd3e7c6e773a9 | Fix bug by removing duplicate code | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Extensions/HtmlHelperExtensions.cs | src/SFA.DAS.EmployerAccounts.Web/Extensions/HtmlHelperExtensions.cs | using SFA.DAS.Authorization;
using System;
using System.Linq;
using System.Web.Mvc;
namespace SFA.DAS.EmployerAccounts.Web.Extensions
{
public static class HtmlHelperExtensions
{
public static MvcHtmlString CommaSeperatedAddressToHtml(this HtmlHelper htmlHelper, string commaSeperatedAddress)
{... | using SFA.DAS.Authorization;
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Web.Mvc;
namespace SFA.DAS.EmployerAccounts.Web.Extensions
{
public static class HtmlHelperExtensions
{
public static MvcHtmlString CommaSeperatedAddressToHtml(this HtmlHelper htmlHelper, string c... | mit | C# |
e277df001d8984a46231cdc9086b598c2938764b | Remove blank line | tmat/roslyn,sharwell/roslyn,jasonmalinowski/roslyn,aelij/roslyn,mgoertz-msft/roslyn,jmarolf/roslyn,diryboy/roslyn,eriawan/roslyn,panopticoncentral/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,stephentoub/roslyn,wvdd007/roslyn,bartdesmet/roslyn,AlekseyTs/roslyn,ErikSchierboom/roslyn,KevinRansom/roslyn,mgoertz-msft... | src/Features/Core/Portable/IncrementalCaches/MetadataInfo.cs | src/Features/Core/Portable/IncrementalCaches/MetadataInfo.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Microsoft.CodeAnalysis.FindSymbols;
using Roslyn.Utilities;
namespace Micr... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Microsoft.CodeAnalysis.FindSymbols;
using Roslyn.Utilities;
namespace Micr... | mit | C# |
a5a87fb3b65c378c4b20619d071780bdd215238c | Implement Reverse function for CreateConstraintExpression | barser/fluentmigrator,vgrigoriu/fluentmigrator,spaccabit/fluentmigrator,modulexcite/fluentmigrator,tohagan/fluentmigrator,stsrki/fluentmigrator,lahma/fluentmigrator,fluentmigrator/fluentmigrator,FabioNascimento/fluentmigrator,swalters/fluentmigrator,lcharlebois/fluentmigrator,drmohundro/fluentmigrator,daniellee/fluentm... | src/FluentMigrator/Expressions/CreateConstraintExpression.cs | src/FluentMigrator/Expressions/CreateConstraintExpression.cs | using System.Collections.Generic;
using FluentMigrator.Model;
namespace FluentMigrator.Expressions
{
public class CreateConstraintExpression : MigrationExpressionBase
{
public virtual ConstraintDefinition Constraint { get; set; }
/// <summary>
/// Initializes a new instance of the <se... | using System.Collections.Generic;
using FluentMigrator.Model;
namespace FluentMigrator.Expressions
{
public class CreateConstraintExpression : MigrationExpressionBase
{
public virtual ConstraintDefinition Constraint { get; set; }
/// <summary>
/// Initializes a new instance of the <se... | apache-2.0 | C# |
7c01dac0545e6d682093ddd9587100832ad5cd30 | Downgrade ClientVersion (#1782) | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Helpers/Constants.cs | WalletWasabi/Helpers/Constants.cs | using NBitcoin;
using NBitcoin.Protocol;
using System;
using WalletWasabi.Backend.Models.Responses;
namespace WalletWasabi.Helpers
{
public static class Constants
{
public static readonly Version ClientVersion = new Version(1, 1, 5);
public const string BackendMajorVersion = "3";
public static readonly Version... | using NBitcoin;
using NBitcoin.Protocol;
using System;
using WalletWasabi.Backend.Models.Responses;
namespace WalletWasabi.Helpers
{
public static class Constants
{
public static readonly Version ClientVersion = new Version(1, 1, 6);
public const string BackendMajorVersion = "3";
public static readonly Version... | mit | C# |
b5ba577d049c392060c5b5588390d020d2d18904 | update error info | chinaboard/WeeklyRobot | WeeklyRobot.Service/HttpHelper.cs | WeeklyRobot.Service/HttpHelper.cs | using System;
using System.IO;
using System.Net;
using System.Text;
namespace WeeklyRobot.Service
{
public static class HttpHelper
{
public static string Post(string url, PostBody postBody, int timeout = 5000)
{
try
{
Logger.Debug($"Post\t{url}");
... | using System.IO;
using System.Net;
using System.Text;
namespace WeeklyRobot.Service
{
public static class HttpHelper
{
public static string Post(string url, PostBody postBody, int timeout = 5000)
{
Logger.Debug($"Post\t{url}");
var bytes = Encoding.UTF8.GetBytes(postBod... | mit | C# |
7debca0cfcec7fa397a18354421014aea0cea98c | Update PolyCubicBezierSegmentTests.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | tests/Core2D.UnitTests/Path/Segments/PolyCubicBezierSegmentTests.cs | tests/Core2D.UnitTests/Path/Segments/PolyCubicBezierSegmentTests.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Path.Segments;
using Core2D.Shapes;
using System.Linq;
using Xunit;
namespace Core2D.UnitTests
{
public class PolyCubicBezierSegmentTests
{
... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Path.Segments;
using Core2D.Shapes;
using System.Linq;
using Xunit;
namespace Core2D.UnitTests
{
public class PolyCubicBezierSegmentTests
{
... | mit | C# |
324cc93945992dabdd7a1937fe749778ef020373 | Add check of email claim existence. | enarod/enarod-web-api,enarod/enarod-web-api,enarod/enarod-web-api | Infopulse.EDemocracy.Web/Controllers/API/BaseApiController.cs | Infopulse.EDemocracy.Web/Controllers/API/BaseApiController.cs | using Infopulse.EDemocracy.Data.Interfaces;
using Infopulse.EDemocracy.Data.Repositories;
using System.Linq;
using System.Net.Http;
using System.Security.Authentication;
using System.Security.Claims;
using System.ServiceModel.Channels;
using System.Web;
using System.Web.Http;
namespace Infopulse.EDemocracy.Web.Contro... | using Infopulse.EDemocracy.Data.Interfaces;
using Infopulse.EDemocracy.Data.Repositories;
using System.Linq;
using System.Net.Http;
using System.Security.Claims;
using System.ServiceModel.Channels;
using System.Web;
using System.Web.Http;
namespace Infopulse.EDemocracy.Web.Controllers.API
{
/// <summary>
/// ... | cc0-1.0 | C# |
f24bb44954d333ed7dd95caa0e5a8a890e4c0d12 | Change Tests for Util.DecodeWord Use DecodeWords instead to test more variants Swap from {Expected, Encoded} to {Encoded, Expected} (Different encoded variants can give the same result) Add data for split variants, and also variants that have non encoded data mixed in. | pocky6/S22.Imap,smiley22/S22.Imap,SyncCloud/S22.Imap,d-knauer/S22.Imap | Tests/EncodedWordTest.cs | Tests/EncodedWordTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace S22.Imap.Test {
/// <summary>
/// Contains unit tests for decoding MIME "encoded-words".
/// </summary>
[TestClass]
public class EncodedWordTest {
/// <summary>
/// Tests for decoding Q-encoded "encoded-... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace S22.Imap.Test {
/// <summary>
/// Contains unit tests for decoding MIME "encoded-words".
/// </summary>
[TestClass]
public class EncodedWordTest {
/// <summary>
/// Tests for decoding Q-encoded "encoded-... | mit | C# |
e14d0509a54675056ac87cdf12050d5da974d33f | tidy master page | codingoutloud/matechtax,codingoutloud/matechtax | MATechTaxWebSite/MATechTaxWebSite/Views/Shared/_Layout.cshtml | MATechTaxWebSite/MATechTaxWebSite/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>@ViewBag.Title - My ASP.NET MVC Application</title>
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<meta name="viewport" content="width=device-width" />
@Styles.Render("~/Co... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>@ViewBag.Title - My ASP.NET MVC Application</title>
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<meta name="viewport" content="width=device-width" />
@Styles.Render("~/Co... | mit | C# |
d427d48b0d2911233228aac182ad4f8e412b5ca7 | Fix name violation | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Statement.cs | WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Statement.cs | using NBitcoin.Secp256k1;
using System;
using System.Collections.Generic;
using System.Linq;
using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation
{
public class Statement
{
public Statement(params Equation[] equations)
: this(equations as IEnumerable<Equation>)
{
}
publi... | using NBitcoin.Secp256k1;
using System;
using System.Collections.Generic;
using System.Linq;
using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation
{
public class Statement
{
public Statement(params Equation[] equations)
: this(equations as IEnumerable<Equation>)
{
}
publi... | mit | C# |
70fe6be8152be381e35beade62aa6dc9311ba4f2 | Comment change | bogosoft/Data | Bogosoft.Data/ParameterDirection.cs | Bogosoft.Data/ParameterDirection.cs | namespace Bogosoft.Data
{
/// <summary>
/// Indicates the direction of data flow between this parameter and a data source. These values are
/// a direct mapping to those in <see cref="System.Data.ParameterDirection"/>.
/// </summary>
public enum ParameterDirection
{
/// <summary... | namespace Bogosoft.Data
{
/// <summary>
/// Indicates that direction of data flow between this parameter and a data source. These values are
/// a direct mapping to those in <see cref="System.Data.ParameterDirection"/>.
/// </summary>
public enum ParameterDirection
{
/// <summar... | mit | C# |
a01200a5861fb269ddf3748680e9104823e3761f | Add missing comments | noliar/MoreAuthentication | src/DevZH.AspNet.Authentication.NetEase/NetEaseHelper.cs | src/DevZH.AspNet.Authentication.NetEase/NetEaseHelper.cs | using Microsoft.Framework.Internal;
using Newtonsoft.Json.Linq;
namespace DevZH.AspNet.Authentication.NetEase
{
/// <summary>
/// Contains static methods that allow to extract user's information from a <see cref="JObject"/>
/// instance retrieved from NetEase after a successful authentication process.
... | using Microsoft.Framework.Internal;
using Newtonsoft.Json.Linq;
namespace DevZH.AspNet.Authentication.NetEase
{
internal static class NetEaseHelper
{
internal static string GetId([NotNull] JObject user) => user.Value<string>("userId");
internal static string GetName([NotNull] JObject user) =>... | apache-2.0 | C# |
e3153ead0db771080a7b6db96b49b558b1ced33f | Add code documentation for SetStatistics processor | sergeyshushlyapin/Sitecore.FakeDb | src/Sitecore.FakeDb/Pipelines/AddDbItem/SetStatistics.cs | src/Sitecore.FakeDb/Pipelines/AddDbItem/SetStatistics.cs | namespace Sitecore.FakeDb.Pipelines.AddDbItem
{
using System.Linq;
using Sitecore.Data;
/// <summary>
/// Creates and fulfills item statistics fields for all the item languages.
/// The fields included are 'Created', 'CreatedBy', 'Revision', 'Updated'
/// and 'UpdatedBy'.
/// <para>
/// The 'Created'... | namespace Sitecore.FakeDb.Pipelines.AddDbItem
{
using System.Linq;
using Sitecore.Data;
public class SetStatistics
{
public virtual void Process(AddDbItemArgs args)
{
var item = args.DbItem;
var date = DateUtil.IsoNow;
var user = Context.User.Name;
AddStatisticsFields(item, da... | mit | C# |
c9ab30e1508b904f4c25a4c7ec4b9cc30951cbff | Enable detailed errors for redis tests (#1962) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.AspNetCore.SignalR.Redis.Tests/Startup.cs | test/Microsoft.AspNetCore.SignalR.Redis.Tests/Startup.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 Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNetCore.... | // 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 Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNetCore.... | apache-2.0 | C# |
e6b67199a9755f1369dbe8c7e99391a1ad7128e1 | Fix another ReSharper issue. | ExRam/ExRam.Gremlinq | ExRam.Gremlinq/Gremlin/Steps/DerivedLabelNamesGremlinStep.cs | ExRam.Gremlinq/Gremlin/Steps/DerivedLabelNamesGremlinStep.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace ExRam.Gremlinq
{
public abstract class DerivedLabelNamesGremlinStep : NonTerminalGremlinStep
{
protected static readonly ConcurrentDictionary<(IGraphMode... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace ExRam.Gremlinq
{
public sealed class DerivedLabelNamesGremlinStep<T> : NonTerminalGremlinStep
{
private readonly string _stepName;
private static... | mit | C# |
f2811aac860a96966ea50c3697cfc11dd0fd844d | Update EntityQueryRepository.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/EntityFrameworkCore/EntityQueryRepository.cs | TIKSN.Core/Data/EntityFrameworkCore/EntityQueryRepository.cs | using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data.EntityFrameworkCore
{
public class EntityQueryRepository<TContext, TEntity, TIdentity> : EntityRepository<TContext, TEntity>, IQueryRepository<TEntity, TIdentity>
... | using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data.EntityFrameworkCore
{
public class EntityQueryRepository<TContext, TEntity, TIdentity> : EntityRepository<TContext, TEntity>, IQueryRepository<TEntity, TIdentity>
... | mit | C# |
7271b8d27dc4996eba6fe7e34d4273323e878d4a | make appveyor build another bunch of packages | vostok/core | Vostok.Core.Tests/Airlock/GenericSerializeDeserializeTest.cs | Vostok.Core.Tests/Airlock/GenericSerializeDeserializeTest.cs | using System;
using System.IO;
using FluentAssertions;
using Vostok.Commons.Binary;
namespace Vostok.Airlock
{
internal static class GenericSerializeDeserializeTest
{
private class TestAirlockSource : IAirlockSource
{
public Stream ReadStream => throw new NotImplementedException();... | using System;
using System.IO;
using FluentAssertions;
using Vostok.Commons.Binary;
namespace Vostok.Airlock
{
internal static class GenericSerializeDeserializeTest
{
private class TestAirlockSource : IAirlockSource
{
public Stream ReadStream => throw new NotImplementedException();... | mit | C# |
3e6d842f596e6d417af2802bf72caa439f279f4d | Fix DeepEquals in EnumerableExtensions | OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core | Core/OfficeDevPnP.Core/Extensions/EnumerableExtensions.cs | Core/OfficeDevPnP.Core/Extensions/EnumerableExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace OfficeDevPnP.Core.Extensions
{
/// <summary>
/// Extension methods to make working with IEnumerable<T> values easier.
/// </summary>
public static class EnumerableExtensions
{
/// <summary>
/// Compa... | using System;
using System.Collections.Generic;
using System.Linq;
namespace OfficeDevPnP.Core.Extensions
{
/// <summary>
/// Extension methods to make working with IEnumerable<T> values easier.
/// </summary>
public static class EnumerableExtensions
{
/// <summary>
/// Compa... | mit | C# |
13372aa27db563872fa053c252ca773e83ec32ee | Add support for duplicate ids. | mntone/SvgForXaml | Mntone.SvgForXaml/Mntone.SvgForXaml.Shared/SvgDocument.cs | Mntone.SvgForXaml/Mntone.SvgForXaml.Shared/SvgDocument.cs | using Mntone.SvgForXaml.Interfaces;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Text;
using Windows.Data.Xml.Dom;
namespace Mntone.SvgForXaml
{
public sealed class SvgDocument : INode
{
private Dictionary<string, SvgElement> _idCache;
priv... | using Mntone.SvgForXaml.Interfaces;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Text;
using Windows.Data.Xml.Dom;
namespace Mntone.SvgForXaml
{
public sealed class SvgDocument : INode
{
private Dictionary<string, SvgElement> _idCache;
priv... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.