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 |
|---|---|---|---|---|---|---|---|---|
fd8a940e0e8b8f1958d40fdeb6c2703e87d854d4 | fix tabs | ilovepi/Compiler,ilovepi/Compiler | compiler/frontend/Parser.cs | compiler/frontend/Parser.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using compiler.frontend;
namespace compiler.frontend
{
class Parser
{
public Token t;
public Lexer s;
string filename;
public void getExpected(Token expected)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using compiler.frontend;
namespace compiler.frontend
{
class Parser
{
public Token t;
public Lexer s;
string filename;
public void getExpected(Token expected)
{
if (t == expected)
{... | mit | C# |
bfa275ad1c32e0cda7eab918a8de14d7269f0491 | Change some small classes to struct to avoid potential null check. | UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,UselessToucan/osu,2yangk23/osu,ppy/osu,naoey/osu,DrabWeb/osu,smoogipoo/osu,naoey/osu,EVAST9919/osu,2yangk23/osu,ZLima12/osu,peppy/osu-new,Damnae/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,Drezi126/osu,ZLima12/osu,Nabile-Rahmani/osu,johnneijzen/osu,pe... | osu.Game/Users/UserStatistics.cs | osu.Game/Users/UserStatistics.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 Newtonsoft.Json;
namespace osu.Game.Users
{
public class UserStatistics
{
[JsonProperty(@"level")]
public LevelInfo Level;
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using Newtonsoft.Json;
namespace osu.Game.Users
{
public class UserStatistics
{
[JsonProperty(@"level")]
public LevelInfo Level;
... | mit | C# |
def744e1359f5adadac492ac8903c626713183d4 | Bump version number for release | nickdevore/griddly,jehhynes/griddly,nickdevore/griddly,jehhynes/griddly,programcsharp/griddly,programcsharp/griddly,programcsharp/griddly | Build/CommonAssemblyInfo.cs | Build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Griddly")]
[assembly: AssemblyCopyright("Copyright © 2015 Chris Hynes and Data Research Group")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Ver... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Griddly")]
[assembly: AssemblyCopyright("Copyright © 2015 Chris Hynes and Data Research Group")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Ver... | mit | C# |
c278b3e7f7dd2782502f1f45ea1cf8a54856bc71 | Bump version for release | programcsharp/griddly,programcsharp/griddly,jehhynes/griddly,jehhynes/griddly,nickdevore/griddly,programcsharp/griddly,nickdevore/griddly | Build/CommonAssemblyInfo.cs | Build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Griddly")]
[assembly: AssemblyCopyright("Copyright © 2015 Chris Hynes and Data Research Group")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Ver... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Griddly")]
[assembly: AssemblyCopyright("Copyright © 2015 Chris Hynes and Data Research Group")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Ver... | mit | C# |
cbde90e5ed1119332cd5b19f6958fdfc5814a544 | Add english as well as german | ashfordl/cards | ConsoleTesting/WhistTest.cs | ConsoleTesting/WhistTest.cs | // WhistTest.cs
// <copyright file="WhistTest.cs"> This code is protected under the MIT License. </copyright>
using System;
using CardGames.Whist;
namespace ConsoleTesting
{
/// <summary>
/// The whist test class
/// </summary>
public class WhistTest : IGameTest
{
/// <summary>... | // WhistTest.cs
// <copyright file="WhistTest.cs"> This code is protected under the MIT License. </copyright>
using System;
using CardGames.Whist;
namespace ConsoleTesting
{
/// <summary>
/// The whist test class
/// </summary>
public class WhistTest : IGameTest
{
/// <summary>... | mit | C# |
58083acc70ca562cb5f8f5678c17ded612adb0e9 | Reorder checks. | dotnet/roslyn,jkotas/roslyn,mattwar/roslyn,sharwell/roslyn,nguerrera/roslyn,gafter/roslyn,genlu/roslyn,jamesqo/roslyn,MichalStrehovsky/roslyn,shyamnamboodiripad/roslyn,tvand7093/roslyn,physhi/roslyn,TyOverby/roslyn,xasx/roslyn,dpoeschl/roslyn,eriawan/roslyn,dpoeschl/roslyn,tannergooding/roslyn,davkean/roslyn,mattscheff... | src/Workspaces/CSharp/Portable/Extensions/DefaultExpressionSyntaxExtensions.cs | src/Workspaces/CSharp/Portable/Extensions/DefaultExpressionSyntaxExtensions.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.Threading;
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Utilit... | // 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.Threading;
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Utilit... | mit | C# |
e5568d0ec815e301b297b478e7d33bde907b5be4 | fix conferma partenza demo | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.FakePersistance.ExternalAPI/Servizi/Gac/SetUscitaMezzo.cs | src/backend/SO115App.FakePersistance.ExternalAPI/Servizi/Gac/SetUscitaMezzo.cs | using Microsoft.Extensions.Configuration;
using SO115App.ExternalAPI.Client;
using SO115App.Models.Classi.ServiziEsterni.Gac;
using SO115App.Models.Servizi.Infrastruttura.Composizione;
using System.Collections.Generic;
using Newtonsoft.Json;
using SO115App.ExternalAPI.Fake.Classi;
using System;
using System.Linq;
usin... | using Microsoft.Extensions.Configuration;
using SO115App.ExternalAPI.Client;
using SO115App.Models.Classi.ServiziEsterni.Gac;
using SO115App.Models.Servizi.Infrastruttura.Composizione;
using System.Collections.Generic;
using Newtonsoft.Json;
using SO115App.ExternalAPI.Fake.Classi;
using System;
using System.Linq;
usin... | agpl-3.0 | C# |
ddfc87dd9d165e89d1b2feb3725e36722d2937a7 | add unit test to demonstrate "PromoteActiveSecondaryToPrimary" | loekd/ServiceFabric.Mocks | test/ServiceFabric.Mocks.Tests/ServiceTests/MockStatefulServiceReplicaTests.cs | test/ServiceFabric.Mocks.Tests/ServiceTests/MockStatefulServiceReplicaTests.cs | using Microsoft.ServiceFabric.Data;
using Microsoft.ServiceFabric.Services.Communication.Runtime;
using Microsoft.ServiceFabric.Services.Remoting;
using Microsoft.ServiceFabric.Services.Runtime;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ServiceFabric.Mocks.ReplicaSet;
using System;
using System.Collect... | using System;
using System.Collections.Generic;
using System.Fabric;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.ServiceFabric.Data;
using Microsoft.ServiceFabric.Services.Communication.Runtime;
using Microsoft.ServiceFabric.Services.Remoting;
using... | mit | C# |
ce314653af35383f730ffd1c19d31dc5283e4d23 | add instalpath to info | SPBTV/Bugsnager.Net | Bugsnager/Payload/Device/MobileDeviceInfo.cs | Bugsnager/Payload/Device/MobileDeviceInfo.cs | using Newtonsoft.Json;
namespace Bugsnager.Payload.Device
{
public class MobileDeviceInfo
{
/// <summary>
/// Gets or sets the version of operating system (optional)
/// </summary>
[JsonProperty("osVersion")]
public string OSVersion { get; set; }
/// <summary>
... | using Newtonsoft.Json;
namespace Bugsnager.Payload.Device
{
public class MobileDeviceInfo
{
/// <summary>
/// Gets or sets the version of operating system (optional)
/// </summary>
[JsonProperty("osVersion")]
public string OSVersion { get; set; }
/// <summary>
... | apache-2.0 | C# |
e53035cb8a0815a3c97b2d3be3e6522bc81a59a1 | Correct Logging Issue with ExpandXrmCMData.cs (#262) | WaelHamze/xrm-ci-framework,WaelHamze/xrm-ci-framework,WaelHamze/xrm-ci-framework | MSDYNV9/Xrm.Framework.CI/Xrm.Framework.CI.PowerShell.Cmdlets/ExpandXrmCMData.cs | MSDYNV9/Xrm.Framework.CI/Xrm.Framework.CI.PowerShell.Cmdlets/ExpandXrmCMData.cs | using System;
using System.Collections.Generic;
using System.Management.Automation;
using Microsoft.Crm.Sdk.Messages;
using Xrm.Framework.CI.Common;
namespace Xrm.Framework.CI.PowerShell.Cmdlets
{
/// <summary>
/// <para type="synopsis">Expands data zip file generated by Configuration Migration Tool</para>
... | using System;
using System.Collections.Generic;
using System.Management.Automation;
using Microsoft.Crm.Sdk.Messages;
using Xrm.Framework.CI.Common;
namespace Xrm.Framework.CI.PowerShell.Cmdlets
{
/// <summary>
/// <para type="synopsis">Expands data zip file generated by Configuration Migration Tool</para>
... | mit | C# |
f41d01c860b6fca1d36fed446d50aa483ed566f0 | refactor snapshots save+load tests | Pondidum/Ledger,Pondidum/Ledger | Ledger.Stores.Fs.Tests/SnapshotSaveLoadTests.cs | Ledger.Stores.Fs.Tests/SnapshotSaveLoadTests.cs | using System;
using System.IO;
using Shouldly;
using TestsDomain;
using Xunit;
namespace Ledger.Stores.Fs.Tests
{
public class SnapshotSaveLoadTests : IDisposable
{
private readonly string _root;
private readonly FileEventStore<Guid> _store;
public SnapshotSaveLoadTests()
{
_root = Path.Combine(Path.Get... | using System;
using System.IO;
using Shouldly;
using TestsDomain;
using Xunit;
namespace Ledger.Stores.Fs.Tests
{
public class SnapshotSaveLoadTests : IDisposable
{
private readonly string _root;
public SnapshotSaveLoadTests()
{
_root = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString());
Dire... | lgpl-2.1 | C# |
7f654c8833437971ea4f463d17fad622b2cfc05d | Check trigger before setting | MrJaqbq/Unity3DFramework | Base/Gameplay/Damageable.cs | Base/Gameplay/Damageable.cs | using UnityEngine;
using UnityEngine.Events;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class Damageable : MonoBehaviour
{
public bool InitOnStart;
public bool Invincible;
public int MaxHealth;
public int StartingHealth;
public float Delay = 1;
private float LastHurt;
publi... | using UnityEngine;
using UnityEngine.Events;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class Damageable : MonoBehaviour
{
public bool InitOnStart;
public bool Invincible;
public int MaxHealth;
public int StartingHealth;
public float Delay = 1;
private float LastHurt;
publi... | mit | C# |
c87d27a7ce47ec4208c60a4aec188081e03d105a | Update the Copyright year to 2013 | fjxhkj/PTVS,fjxhkj/PTVS,jkorell/PTVS,modulexcite/PTVS,gomiero/PTVS,int19h/PTVS,DinoV/PTVS,gilbertw/PTVS,DinoV/PTVS,msunardi/PTVS,denfromufa/PTVS,DinoV/PTVS,jkorell/PTVS,Microsoft/PTVS,gilbertw/PTVS,huguesv/PTVS,jkorell/PTVS,DEVSENSE/PTVS,zooba/PTVS,mlorbetske/PTVS,DEVSENSE/PTVS,dut3062796s/PTVS,fjxhkj/PTVS,Habatchii/PT... | Build/AssemblyInfoCommon.cs | Build/AssemblyInfoCommon.cs | // <copyright>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// The following assembly information is common to all Python Tools for Visual
// Studio assemblies.
// If you g... | // <copyright>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// The following assembly information is common to all Python Tools for Visual
// Studio assemblies.
// If you g... | apache-2.0 | C# |
14143c1f258a4e2fa9b6fde14c52be304d062fb2 | Fix report abuse wording on contact support page. | skbkontur/NuGetGallery,mtian/SiteExtensionGallery,ScottShingler/NuGetGallery,JetBrains/ReSharperGallery,mtian/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,projectkudu/SiteExtensionGallery,JetBrains/ReSharperGallery,grenade/NuGetGallery_download-count-patch,skbkontur/NuGetGallery,ScottShingler/NuGetGal... | Website/Views/Packages/ReportMyPackage.cshtml | Website/Views/Packages/ReportMyPackage.cshtml | @using PoliteCaptcha
@model ReportAbuseViewModel
@{
ViewBag.Tab = "Packages";
}
<h1 class="page-heading">Contact Support About My Package</h1>
<p>Please select the reason for contacting support about your package.</p>
@using (Html.BeginForm())
{
<fieldset class="form">
<legend>Contact Support</legen... | @using PoliteCaptcha
@model ReportAbuseViewModel
@{
ViewBag.Tab = "Packages";
}
<h1 class="page-heading">Contact Support About My Package</h1>
<p>Please select the reason for contacting support about your package.</p>
@using (Html.BeginForm())
{
<fieldset class="form">
<legend>Report Abuse</legend>
... | apache-2.0 | C# |
7b8c56b792ba0287a94d0910dea77f9884a11ca8 | Fix broken projects | atbyrd/Withings.NET,atbyrd/Withings.NET | Withings.Specifications/AuthenticatorTests.cs | Withings.Specifications/AuthenticatorTests.cs | using System;
using System.Threading.Tasks;
using AsyncOAuth;
using NUnit.Framework;
using Withings.NET.Client;
namespace Withings.Specifications
{
[TestFixture]
public class AuthenticatorTests
{
Authenticator _authenticator;
WithingsCredentials _credentials = new WithingsCrede... | using System;
using System.Threading.Tasks;
using AsyncOAuth;
using NUnit.Framework;
using Withings.NET.Client;
namespace Withings.Specifications
{
[TestFixture]
public class AuthenticatorTests
{
Authenticator _authenticator;
WithingsCredentials _credentials = new WithingsCrede... | mit | C# |
b28ff45d8f126fcd62f048945ba017ff68b57e8b | Update sentry to send data necessary for linking events with users | Piotrekol/StreamCompanion,Piotrekol/StreamCompanion | osu!StreamCompanion/Code/Core/Loggers/SentryLogger.cs | osu!StreamCompanion/Code/Core/Loggers/SentryLogger.cs | using System;
using System.Collections.Generic;
using osu_StreamCompanion.Code.Helpers;
using Sentry;
using StreamCompanionTypes.Enums;
using StreamCompanionTypes.Interfaces.Services;
namespace osu_StreamCompanion.Code.Core.Loggers
{
public class SentryLogger : IContextAwareLogger
{
public static stri... | using System;
using System.Collections.Generic;
using osu_StreamCompanion.Code.Helpers;
using Sentry;
using StreamCompanionTypes.Enums;
using StreamCompanionTypes.Interfaces.Services;
namespace osu_StreamCompanion.Code.Core.Loggers
{
public class SentryLogger : IContextAwareLogger
{
public static stri... | mit | C# |
8de30c9255bb16722e4edcc874b809046d22adab | Bump Facebook sdk versions | SotoiGhost/FacebookComponents,SotoiGhost/FacebookComponents | Facebook.Android/build.cake | Facebook.Android/build.cake |
#load "../common.cake"
var FB_VERSION = "4.11.0";
var FB_URL = string.Format ("http://search.maven.org/remotecontent?filepath=com/facebook/android/facebook-android-sdk/{0}/facebook-android-sdk-{0}.aar", FB_VERSION);
var FB_DOCS_URL = string.Format ("http://search.maven.org/remotecontent?filepath=com/facebook/android... |
#load "../common.cake"
var FB_VERSION = "4.10.1";
var FB_URL = string.Format ("http://search.maven.org/remotecontent?filepath=com/facebook/android/facebook-android-sdk/{0}/facebook-android-sdk-{0}.aar", FB_VERSION);
var FB_DOCS_URL = string.Format ("http://search.maven.org/remotecontent?filepath=com/facebook/android... | mit | C# |
8a5cc04072fad69524b9222e2ef3e174d07e4a1f | support custom results for exceptions | Pondidum/Magistrate,Pondidum/Magistrate,Pondidum/Magistrate,Pondidum/Magistrate | Magistrate/Api/ExceptionHandlerMiddleware.cs | Magistrate/Api/ExceptionHandlerMiddleware.cs | using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using Magistrate.Domain;
using Microsoft.Owin;
using Newtonsoft.Json;
using Owin.Routing;
using Serilog;
namespace Magistrate.Api
{
public class ExceptionHandlerMiddleware : OwinMiddleware
{
private static readonly ILo... | using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.Owin;
using Newtonsoft.Json;
using Owin.Routing;
using Serilog;
namespace Magistrate.Api
{
public class ExceptionHandlerMiddleware : OwinMiddleware
{
private static readonly ILogger Log = Serilog.Log.ForContext<ExceptionHandlerMiddlewar... | lgpl-2.1 | C# |
88742bf3732d255f5892def8d072c5231e3abe45 | Use var | Williams-Forrest/CachedCRUD | CachedCrudLib/CachedCrud.cs | CachedCrudLib/CachedCrud.cs |
namespace CachedCrudLib {
/// <typeparam name="K">Key type</typeparam>
/// <typeparam name="T">Data type</typeparam>
public class CachedCrud<K, T> : ICrud<K, T> where T : class {
protected ICache _cache;
protected ICrud<K, T> _service;
public CachedCrud(ICache cache, ICrud<K, T> s... |
namespace CachedCrudLib {
/// <typeparam name="K">Key type</typeparam>
/// <typeparam name="T">Data type</typeparam>
public class CachedCrud<K, T> : ICrud<K, T> where T : class {
protected ICache _cache;
protected ICrud<K, T> _service;
public CachedCrud(ICache cache, ICrud<K, T> s... | mit | C# |
d31fae10d565d6f2a212b2ff19e00103bdbce799 | Add an overload that automatically uses the default security headers without extra parameters #25 | andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders | src/NetEscapades.AspNetCore.SecurityHeaders/CustomHeaderMiddlewareExtensions.cs | src/NetEscapades.AspNetCore.SecurityHeaders/CustomHeaderMiddlewareExtensions.cs | using System;
using NetEscapades.AspNetCore.SecurityHeaders;
using NetEscapades.AspNetCore.SecurityHeaders.Infrastructure;
namespace Microsoft.AspNetCore.Builder
{
/// <summary>
/// The <see cref="IApplicationBuilder"/> extensions for adding Security headers middleware support.
/// </summary>
public s... | using System;
using NetEscapades.AspNetCore.SecurityHeaders;
using NetEscapades.AspNetCore.SecurityHeaders.Infrastructure;
namespace Microsoft.AspNetCore.Builder
{
/// <summary>
/// The <see cref="IApplicationBuilder"/> extensions for adding Security headers middleware support.
/// </summary>
public s... | mit | C# |
1bcff8a3e26c43c31890456cc3528d1c63bcd0ce | Make generic covariant | johnneijzen/osu,NeoAdonis/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,ppy/osu,UselessToucan/osu,EVAST9919/osu,smoogipoo/osu,ZLima12/osu,peppy/osu,smoogipoo/osu,2yangk23/osu,2yangk23/osu,ppy/osu,ZLima12/osu,ppy/osu,peppy/osu,Neo... | osu.Game/Database/IModelManager.cs | osu.Game/Database/IModelManager.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.Game.Database
{
/// <summary>
/// Represents a model manager that publishes events when <see cref="TModel"/>s are added or removed.
... | // 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.Game.Database
{
/// <summary>
/// Represents a model manager that publishes events when <see cref="TModel"/>s are added or removed.
... | mit | C# |
0bc338f25c2a30d4892d24e353f6cc3ed2d611c4 | Fix OAuth2 token header template | dfensgmbh/biz.dfch.CS.Abiquo.Client | src/biz.dfch.CS.Abiquo.Client/Authentication/OAuth2AuthenticationInformation.cs | src/biz.dfch.CS.Abiquo.Client/Authentication/OAuth2AuthenticationInformation.cs | /**
* Copyright 2016 d-fens GmbH
*
* 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 ... | /**
* Copyright 2016 d-fens GmbH
*
* 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 ... | apache-2.0 | C# |
2689a546a2f26745a42245a74acdc96b04d84806 | Fix to returning response | syl20bnr/omnisharp-server,x335/omnisharp-server,mispencer/OmniSharpServer,x335/omnisharp-server,OmniSharp/omnisharp-server,corngood/omnisharp-server,corngood/omnisharp-server,syl20bnr/omnisharp-server,svermeulen/omnisharp-server | OmniSharp/AddReference/AddReferenceModule.cs | OmniSharp/AddReference/AddReferenceModule.cs | using Nancy;
using Nancy.ModelBinding;
namespace OmniSharp.AddReference
{
public class AddReferenceModule : NancyModule
{
public AddReferenceModule(AddReferenceHandler handler)
{
Post["/addreference"] = x =>
{
var req = this.Bind<AddReferenceRequ... | using Nancy;
using Nancy.ModelBinding;
namespace OmniSharp.AddReference
{
public class AddReferenceModule : NancyModule
{
public AddReferenceModule(AddReferenceHandler handler)
{
Post["/addreference"] = x =>
{
var req = this.Bind<AddReferenceRequ... | mit | C# |
91f9880c8fda1576abc97ba13ca66820225b7353 | Update #283 - Make provider get more performant for the average case | gabrielweyer/Glimpse,SusanaL/Glimpse,elkingtonmcb/Glimpse,sorenhl/Glimpse,elkingtonmcb/Glimpse,dudzon/Glimpse,sorenhl/Glimpse,rho24/Glimpse,Glimpse/Glimpse,codevlabs/Glimpse,Glimpse/Glimpse,paynecrl97/Glimpse,rho24/Glimpse,codevlabs/Glimpse,gabrielweyer/Glimpse,paynecrl97/Glimpse,gabrielweyer/Glimpse,flcdrg/Glimpse,Sus... | source/Glimpse.Ado/AlternateType/Support.cs | source/Glimpse.Ado/AlternateType/Support.cs | using System.Data.Common;
using System.Reflection;
namespace Glimpse.Ado.AlternateType
{
public static class Support
{
public static DbProviderFactory TryGetProviderFactory(this DbConnection connection)
{
// If we can pull it out quickly and easily
var profiledConnect... | using System.Data.Common;
using System.Reflection;
namespace Glimpse.Ado.AlternateType
{
public static class Support
{
public static DbProviderFactory TryGetProviderFactory(this DbConnection connection)
{
#if (NET45)
return DbProviderFactories.GetFactory(connection);
#else
... | apache-2.0 | C# |
2b392ed03ad2ae3fdfaa827fdf077504e7040839 | add missing model: ProGetPackage | lvermeulen/ProGet.Net | src/ProGet.Net/Native/Models/ProGetPackage.cs | src/ProGet.Net/Native/Models/ProGetPackage.cs | // ReSharper disable InconsistentNaming
namespace ProGet.Net.Native.Models
{
public class ProGetPackage
{
public int ProGetPackage_Id { get; set; }
public int Feed_Id { get; set; }
public string Group_Name { get; set; }
public string Package_Name { get; set; }
public st... | namespace ProGet.Net.Native.Models
{
public class ProGetPackage
{
}
}
| mit | C# |
2c1c2530972922640e393f9e28c0f423818a44cc | Make internals visible to the testing project | nerdfury/Slack.Webhooks,nerdfury/Slack.Webhooks | src/Slack.Webhooks/Properties/AssemblyInfo.cs | src/Slack.Webhooks/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("Sl... | 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("Sl... | mit | C# |
ddfff5a0f542e6082489983373bd2df8f11089a7 | Change namespace of Publisher | Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Gl... | src/Glimpse.Common/Broker/IBrokerPublisher.cs | src/Glimpse.Common/Broker/IBrokerPublisher.cs | using System;
namespace Glimpse
{
public interface IBrokerPublisher
{
void PublishMessage(IMessage message);
}
} | using System;
namespace Glimpse.Broker
{
public interface IBrokerPublisher
{
void PublishMessage(IMessage message);
}
} | mit | C# |
d7c468a488895f58887cf3a9e042ba5a62c3d02e | Refactor - Program - List Items from a new Method call | dtro-devuk/Kata.Solved.GildedRose.CSharp,TheTalkingDev/Kata.Solved.GildedRose.CSharp | src/Kata.GildedRose.CSharp.Console/Program.cs | src/Kata.GildedRose.CSharp.Console/Program.cs | using Kata.GildedRose.CSharp.Domain;
using Kata.GildedRose.CSharp.Domain.Factory;
using System.Collections.Generic;
namespace Kata.GildedRose.CSharp.Console
{
public class Program
{
public IList<Item> Items; //You can't touch this
IUpdateItemStrategyFactory _updateFactory;
public Pro... | using Kata.GildedRose.CSharp.Domain;
using Kata.GildedRose.CSharp.Domain.Factory;
using System.Collections.Generic;
namespace Kata.GildedRose.CSharp.Console
{
public class Program
{
public IList<Item> Items;
IUpdateItemStrategyFactory _updateFactory;
public Program()
{
... | mit | C# |
d0693d2ef232d9344d823e51890d1faf2d6fdffa | Use the new method for rule seed urls | samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays | TwitchPlaysAssembly/Src/Helpers/UrlHelper.cs | TwitchPlaysAssembly/Src/Helpers/UrlHelper.cs | using System.Text.RegularExpressions;
using UnityEngine;
public class UrlHelper : MonoBehaviour
{
public static UrlHelper Instance;
private void Awake()
{
Instance = this;
}
public void ChangeMode(bool toShort)
{
TwitchPlaySettings.data.LogUploaderShortUrls = toShort;
TwitchPlaySettings.WriteDataToFile()... | using System.Text.RegularExpressions;
using UnityEngine;
public class UrlHelper : MonoBehaviour
{
public static UrlHelper Instance;
private void Awake()
{
Instance = this;
}
public void ChangeMode(bool toShort)
{
TwitchPlaySettings.data.LogUploaderShortUrls = toShort;
TwitchPlaySettings.WriteDataToFile()... | mit | C# |
9b9206d3e447f81801c1f184884319243777f99f | Remove unused references | cefsharp/CefSharp.MinimalExample,KarlWenzel/CefSharp.MinimalExample,Briaker/CefSharp.MinimalExample,robinwassen/CefSharp.MinimalExample.Issue.1277,SergeyAvd/MinExample2,modulexcite/CefSharp.MinimalExample,SergeyAvd/MinExample2 | CefSharp.MinimalExample.Wpf/MainWindow.xaml.cs | CefSharp.MinimalExample.Wpf/MainWindow.xaml.cs | using System.Windows;
namespace CefSharp.MinimalExample.Wpf
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
}
}
| using CefSharp.MinimalExample.Wpf.Mvvm;
using CefSharp.Wpf;
using System.ComponentModel;
using System.Windows;
namespace CefSharp.MinimalExample.Wpf
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
}
}
| mit | C# |
389a40335f0e45f896b9a989a094b74db600b6c4 | Fix stle comments | cbcrc/LinkIt | HeterogeneousDataSources/LoadLinkExpression.cs | HeterogeneousDataSources/LoadLinkExpression.cs | using System;
using System.Collections.Generic;
namespace HeterogeneousDataSources {
public class LoadLinkExpression<TLinkedSource, TReference, TId> : ILoadLinkExpression<TId>, ILoadLinkExpression
{
public LoadLinkExpression(Func<TLinkedSource, TId> getLookupIdFunc, Action<TLinkedSource, TReference> l... | using System;
using System.Collections.Generic;
namespace HeterogeneousDataSources {
public class LoadLinkExpression<TLinkedSource, TReference, TId> : ILoadLinkExpression<TId>, ILoadLinkExpression
{
public LoadLinkExpression(Func<TLinkedSource, TId> getLookupIdFunc, Action<TLinkedSource, TReference> l... | mit | C# |
2b7608fcd7ad021ec64407f0bdbb2a76b5a34efe | clean up | dkataskin/bstrkr | bstrkr.mobile/bstrkr.core/Consts/AppConsts.cs | bstrkr.mobile/bstrkr.core/Consts/AppConsts.cs | using System;
using bstrkr.core.spatial;
namespace bstrkr.core.consts
{
public static class AppConsts
{
public const string ConfigFileName = "config.json";
public const double MaxDistanceFromCityCenter = 50.0f;
public const double MaxDistanceFromBusStop = 300.0f;
public static GeoPoint DefaultLocation = n... | using System;
using bstrkr.core.spatial;
namespace bstrkr.core.consts
{
public static class AppConsts
{
public const string ConfigFileName = "config.json";
public const double MaxDistanceFromCityCenter = 50.0f;
public const double MaxDistanceFromBusStop = 300.0f;
public static GeoPoint DefaultLocation = n... | bsd-2-clause | C# |
b628b0090d79988027a8621a57352383dcc325cd | Support svg images. | lukehoban/JabbR,borisyankov/JabbR,AAPT/jean0226case1322,meebey/JabbR,SonOfSam/JabbR,CrankyTRex/JabbRMirror,huanglitest/JabbRTest2,meebey/JabbR,fuzeman/vox,LookLikeAPro/JabbR,LookLikeAPro/JabbR,borisyankov/JabbR,18098924759/JabbR,huanglitest/JabbRTest2,CrankyTRex/JabbRMirror,mzdv/JabbR,CrankyTRex/JabbRMirror,yadyn/JabbR... | JabbR/ContentProviders/ImageContentProvider.cs | JabbR/ContentProviders/ImageContentProvider.cs | using System;
using System.Threading.Tasks;
using JabbR.ContentProviders.Core;
using Microsoft.Security.Application;
namespace JabbR.ContentProviders
{
public class ImageContentProvider : CollapsibleContentProvider
{
protected override Task<ContentProviderResult> GetCollapsibleContent(ContentProviderH... | using System;
using System.Threading.Tasks;
using JabbR.ContentProviders.Core;
using Microsoft.Security.Application;
namespace JabbR.ContentProviders
{
public class ImageContentProvider : CollapsibleContentProvider
{
protected override Task<ContentProviderResult> GetCollapsibleContent(ContentProviderH... | mit | C# |
a5b42df63f3ab8bd0e68db5422719e0c14526bb9 | check project in solution for <Misc Files> | lennyomg/VsAutoDeploy | src/VsAutoDeploy/VsAutoDeploy/DteHelpers.cs | src/VsAutoDeploy/VsAutoDeploy/DteHelpers.cs | using System.Collections.Generic;
using System.Linq;
using EnvDTE;
namespace EnvDTE80
{
public static class DteHelpers
{
private const string vsProjectKindSolutionFolder = ProjectKinds.vsProjectKindSolutionFolder;
private const string vsProjectKindMiscFiles = "{66A2671D-8FB5-11D2-AA... | using System.Collections.Generic;
using System.Linq;
using EnvDTE;
namespace EnvDTE80
{
public static class DteHelpers
{
public static IEnumerable<Project> GetProjects(this Solution solution)
{
var result = new List<Project>();
foreach (var project in solut... | mit | C# |
ff57281f9d7c7f99ed816e93ad95fca345a872c4 | Update AssemblyInfo.cs | TrackerMigrator/IssueMigrator | src/IssueMigrator/Properties/AssemblyInfo.cs | src/IssueMigrator/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("IssueMigrator")]
[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("IssueMigrator")]
[assembly: AssemblyDescr... | mit | C# |
27fa5a0407fe6e4410c4bb3725b1a90b9afc8332 | Compress playlistexception | ceddlyburge/canoe-polo-league-organiser-backend | CanoePoloLeagueOrganiser/PlayListException.cs | CanoePoloLeagueOrganiser/PlayListException.cs | using System;
namespace CanoePoloLeagueOrganiser
{
public class PlayListException : Exception
{
public PlayListException() { }
public PlayListException(string message) : base(message) { }
public PlayListException(string message, Exception innerException) : base(message, innerExceptio... | using System;
namespace CanoePoloLeagueOrganiser
{
public class PlayListException : Exception
{
public PlayListException()
{
}
public PlayListException(string message) : base(message)
{
}
public PlayListException(string message, Exception innerExceptio... | mit | C# |
f762d450e2b667c14a69cf5193033f273941b065 | Fix no args | Zolomon/decision-tree | decision-tree/Classifier.cs | decision-tree/Classifier.cs | using System;
using System.IO;
namespace decisiontree
{
class Classifier
{
Arff arff { get; set; }
DecisionBuilder builder { get; set; }
bool prune { get; set; }
public Classifier (Arff arff, bool prune=false)
{
this.arff = arff;
this.builder = new DecisionBuilder (this.arff);
this.prune = prune;... | using System;
using System.IO;
namespace decisiontree
{
class Classifier
{
Arff arff { get; set; }
DecisionBuilder builder { get; set; }
bool prune { get; set; }
public Classifier (Arff arff, bool prune=false)
{
this.arff = arff;
this.builder = new DecisionBuilder (this.arff);
this.prune = prune;... | mit | C# |
4db52c87ef53e50fad05a1e218871f4eaa3c3b72 | fix reyes voicelines not extracting | overtools/OWLib | DataTool/ToolLogic/Extract/ExtractNPCVoice.cs | DataTool/ToolLogic/Extract/ExtractNPCVoice.cs | using System;
using System.Collections.Generic;
using System.IO;
using DataTool.FindLogic;
using DataTool.Flag;
using DataTool.Helper;
using DataTool.JSON;
using TankLib.STU.Types;
using static DataTool.Helper.STUHelper;
using static DataTool.Helper.IO;
namespace DataTool.ToolLogic.Extract {
[Tool("extract-npc-vo... | using System;
using System.Collections.Generic;
using System.IO;
using DataTool.FindLogic;
using DataTool.Flag;
using DataTool.Helper;
using DataTool.JSON;
using TankLib.STU.Types;
using static DataTool.Helper.STUHelper;
using static DataTool.Helper.IO;
namespace DataTool.ToolLogic.Extract {
[Tool("extract-npc-vo... | mit | C# |
d2aaa8fbf0799ac74056df613cc2cefcc0c1ed4f | Implement MD5 Hash | Apuju/EncryptDecryptPOC.NET | EncryptDecryptHelper/Bussiness/HashWrapper.cs | EncryptDecryptHelper/Bussiness/HashWrapper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;
namespace EncryptDecryptHelper.Bussiness
{
public class HashWrapper
{
public byte[] HashMD5(byte[] data)
{
byte[] hashText = null;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;
namespace EncryptDecryptHelper.Bussiness
{
public class HashWrapper
{
public byte[] HashSHA256(byte[] data)
{
byte[] hashText = nu... | mit | C# |
db19617b8b69a9b9102b8594ed34d881f36d5ede | Add `JsonConstructor` attribute to `SkinnableTargetWrapper` | NeoAdonis/osu,peppy/osu,smoogipooo/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu | osu.Game/Skinning/SkinnableTargetWrapper.cs | osu.Game/Skinning/SkinnableTargetWrapper.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 Newtonsoft.Json;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Skinning
{
/// <summary>
/// A con... | // 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.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Skinning
{
/// <summary>
/// A container which is seriali... | mit | C# |
312db085247162ce4fcb21882c9bab02f1425360 | Remove JetBrains annotations | pixelballoon/unity-extensions | extensions/EditorUpdate.cs | extensions/EditorUpdate.cs | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
[ExecuteInEditMode]
public class EditorUpdate : MonoBehaviour
{
#if UNITY_EDITOR
private HashSet<MonoBehaviour> _monoBehaviours;
protected void Awake()
{
if (Application... | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
[ExecuteInEditMode]
public class EditorUpdate : MonoBehaviour
{
#if UNITY_EDITOR
private HashSet<MonoBehaviour> _monoBehaviours;
[UsedImplicitl... | mit | C# |
a64aa5bafc690ea044c1675d6361d78b22b39ad7 | Add IsLocked to audit for account locked message | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Domain/Auditing/AccountLockedAuditMessage.cs | src/SFA.DAS.EmployerUsers.Domain/Auditing/AccountLockedAuditMessage.cs | using System.Collections.Generic;
using SFA.DAS.Audit.Types;
namespace SFA.DAS.EmployerUsers.Domain.Auditing
{
public class AccountLockedAuditMessage : EmployerUsersAuditMessage
{
public AccountLockedAuditMessage(User user)
{
Category = "ACCOUNT_LOCKED";
Descr... | using System.Collections.Generic;
using SFA.DAS.Audit.Types;
namespace SFA.DAS.EmployerUsers.Domain.Auditing
{
public class AccountLockedAuditMessage : EmployerUsersAuditMessage
{
public AccountLockedAuditMessage(User user)
{
Category = "ACCOUNT_LOCKED";
Descr... | mit | C# |
419afc4b116abcb1ffeac736e7138b22971fdd0e | 修改Redis信号量键名称,使其不易重复 | Kation/ComBoost,Kation/ComBoost,Kation/ComBoost,Kation/ComBoost | src/Wodsoft.ComBoost.Redis/RedisSemaphore.cs | src/Wodsoft.ComBoost.Redis/RedisSemaphore.cs | using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace Wodsoft.ComBoost.Redis
{
public class RedisSemaphore : ISemaphore
{
private IDatabase _Database;
private string _Key;
private ... | using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace Wodsoft.ComBoost.Redis
{
public class RedisSemaphore : ISemaphore
{
private IDatabase _Database;
private string _Key;
private ... | mit | C# |
c14b9b62fabd9512979e0c513bd4495f9ad687d3 | Update ProviderController.cs | gyrosworkshop/Wukong,gyrosworkshop/Wukong | src/Wukong/Controllers/ProviderController.cs | src/Wukong/Controllers/ProviderController.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
using Wukong.Services;
// For more information on enabling MVC for empty projects, visit http://go.mic... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
using Wukong.Services;
// For more information on enabling MVC for empty projects, visit http://go.mic... | mit | C# |
8c615626bdf67e9ab16d225abb663e9578d7e847 | Add time the item is added to the database when the item is saved. | lukecahill/NutritionTracker | food_tracker/NutritionItem.cs | food_tracker/NutritionItem.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace food_tracker {
public class NutritionItem {
[Key]
public int NutritionItemId { get; set; }
public string name { get; set; }
pu... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace food_tracker {
public class NutritionItem {
[Key]
public int NutritionItemId { get; set; }
public string name { get; set; }
pu... | mit | C# |
759dbc8a8d9a52a12b1cbeca3c957cc8f5bc8c25 | fix copyright | tym32167/arma3beclient | src/GlobalAssemblyInfo.cs | src/GlobalAssemblyInfo.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("Arma 3 BattlEye Client")]
[assembly: Asse... | 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("Arma 3 BattlEye Client")]
[assembly: Asse... | apache-2.0 | C# |
9cffe0222c6451b48aa9418c1d3dc88d97374bb3 | Bump version | UniqProject/BDInfo | BDInfo/Properties/AssemblyInfo.cs | BDInfo/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | lgpl-2.1 | C# |
646bd37096e64a4884df3e1fb6782486dbcbe23f | clean up | dkataskin/bstrkr | bstrkr.mobile/bstrkr.android/Views/RouteView.cs | bstrkr.mobile/bstrkr.android/Views/RouteView.cs | using System;
using Android.OS;
using Android.Views;
using Cirrious.MvvmCross.Binding.Droid.BindingContext;
using Cirrious.MvvmCross.Droid.FullFragging.Fragments;
using bstrkr.mvvm.viewmodels;
using bstrkr.core;
namespace bstrkr.android.views
{
public class RouteView : MvxFragment
{
public RouteView()
{
t... | using System;
using Android.OS;
using Android.Views;
using Cirrious.MvvmCross.Binding.Droid.BindingContext;
using Cirrious.MvvmCross.Droid.FullFragging.Fragments;
using bstrkr.mvvm.viewmodels;
using bstrkr.core;
namespace bstrkr.android.views
{
public class RoutesView : MvxFragment
{
public RoutesView()
{
... | bsd-2-clause | C# |
873e9e1e7979fa43bbc5415aea25d50a8c0988ff | Bump version | akatakritos/PygmentSharp | src/PygmentSharp/PygmentSharp.Core/Properties/AssemblyInfo.cs | src/PygmentSharp/PygmentSharp.Core/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: AssemblyTit... | 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: AssemblyTit... | mit | C# |
36426c6f1aec566fd849a720e6aaeff7700b0fac | Update FindByCssStrategy.Find method to throw more detailed exception | YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata | src/Atata/ScopeSearch/Strategies/FindByCssStrategy.cs | src/Atata/ScopeSearch/Strategies/FindByCssStrategy.cs | using OpenQA.Selenium;
namespace Atata
{
public class FindByCssStrategy : IComponentScopeLocateStrategy
{
private readonly IComponentScopeLocateStrategy sequalStrategy = new FindFirstDescendantOrSelfStrategy();
public ComponentScopeLocateResult Find(IWebElement scope, ComponentScopeLocateOpt... | using OpenQA.Selenium;
namespace Atata
{
public class FindByCssStrategy : IComponentScopeLocateStrategy
{
private readonly IComponentScopeLocateStrategy sequalStrategy = new FindFirstDescendantOrSelfStrategy();
public ComponentScopeLocateResult Find(IWebElement scope, ComponentScopeLocateOpt... | apache-2.0 | C# |
4dbbde9888c496f18e01d50a13473f7321bcf3aa | Fix design-time errors. | ForNeVeR/fornever.me,ForNeVeR/fornever.me,ForNeVeR/fornever.me | ForneverMind/Views/_Layout.cshtml | ForneverMind/Views/_Layout.cshtml | @using RazorEngine.Templating
@inherits TemplateBase
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" ... | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>F. v... | mit | C# |
7711975dcee5e26b2c62167b115fa5186f2ca0c4 | Revert "tabs to spaces" | NathanLBCooper/git-tfs,codemerlin/git-tfs,hazzik/git-tfs,hazzik/git-tfs,allansson/git-tfs,adbre/git-tfs,steveandpeggyb/Public,modulexcite/git-tfs,steveandpeggyb/Public,allansson/git-tfs,NathanLBCooper/git-tfs,WolfVR/git-tfs,timotei/git-tfs,WolfVR/git-tfs,PKRoma/git-tfs,allansson/git-tfs,steveandpeggyb/Public,kgybels/gi... | GitTfs.Vs2008/TfsHelper.Vs2008.cs | GitTfs.Vs2008/TfsHelper.Vs2008.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.VersionControl.Client;
using Sep.Git.Tfs.Core.TfsInterop;
using Sep.Git.Tfs.Util;
using Sep.Git.Tfs.VsCommon;
using StructureMap;
namespace Sep.Git.Tfs.Vs2008
{
p... | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.VersionControl.Client;
using Sep.Git.Tfs.Core.TfsInterop;
using Sep.Git.Tfs.Util;
using Sep.Git.Tfs.VsCommon;
using StructureMap;
namespace Sep.Git.Tfs.Vs2008
{
p... | apache-2.0 | C# |
482e34cd95cf01a54cee426bb25cbbd027f38531 | Change date format to iso format | daniellee/fluentmigrator,FabioNascimento/fluentmigrator,MetSystem/fluentmigrator,dealproc/fluentmigrator,lcharlebois/fluentmigrator,bluefalcon/fluentmigrator,KaraokeStu/fluentmigrator,fluentmigrator/fluentmigrator,fluentmigrator/fluentmigrator,barser/fluentmigrator,mstancombe/fluentmig,DefiSolutions/fluentmigrator,toha... | src/FluentMigrator.Runner/Generators/Jet/JetQuoter.cs | src/FluentMigrator.Runner/Generators/Jet/JetQuoter.cs | using System;
using FluentMigrator.Runner.Generators.Generic;
namespace FluentMigrator.Runner.Generators.Jet
{
public class JetQuoter : GenericQuoter
{
public override string OpenQuote { get { return "["; } }
public override string CloseQuote { get { return "]"; } }
public override s... | using System;
using FluentMigrator.Runner.Generators.Generic;
namespace FluentMigrator.Runner.Generators.Jet
{
public class JetQuoter : GenericQuoter
{
public override string OpenQuote { get { return "["; } }
public override string CloseQuote { get { return "]"; } }
public override s... | apache-2.0 | C# |
e85d1e3b1216aac5579f678ecf004ae3077c7861 | update comment | volkanceylan/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,volkanceylan/Serenity | src/Serenity.Net.Data.Entity/Row/RowFieldsProvider.cs | src/Serenity.Net.Data.Entity/Row/RowFieldsProvider.cs | using System;
using System.Threading;
namespace Serenity.Data
{
public class RowFieldsProvider
{
private static IRowFieldsProvider defaultProvider;
private static readonly AsyncLocal<IRowFieldsProvider> localProvider;
static RowFieldsProvider()
{
defaul... | using System;
using System.Threading;
namespace Serenity.Data
{
public class RowFieldsProvider
{
private static IRowFieldsProvider defaultProvider;
private static readonly AsyncLocal<IRowFieldsProvider> localProvider;
static RowFieldsProvider()
{
defaul... | mit | C# |
c8019c83a7db517d39035b29054ce46fbaa41abd | Fix failing tests. | TheCloudlessSky/Harbour.RedisTempData | tests/Harbour.RedisTempData.Test/RedisTest.cs | tests/Harbour.RedisTempData.Test/RedisTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StackExchange.Redis;
namespace Harbour.RedisTempData.Test
{
public abstract class RedisTest : IDisposable
{
// Use a different DB than development.
private const int testDb = 15;
private readonl... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StackExchange.Redis;
namespace Harbour.RedisTempData.Test
{
public abstract class RedisTest : IDisposable
{
// Use a different DB than development.
private const int testDb = 15;
private readonl... | mit | C# |
7e5a2f1710946038d91ee3a204c4c8205a57b7b7 | Make NotSupportedException partial to allow XI to add an helper method | esdrubal/referencesource,evincarofautumn/referencesource,mono/referencesource,ludovic-henry/referencesource,directhex/referencesource,stormleoxia/referencesource | mscorlib/system/notsupportedexception.cs | mscorlib/system/notsupportedexception.cs | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*=============================================================================
**
** Class: NotSupportedException
**
**
** Purpose: For methods that should be implemented on subclasses.
**
**
===================================... | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*=============================================================================
**
** Class: NotSupportedException
**
**
** Purpose: For methods that should be implemented on subclasses.
**
**
===================================... | mit | C# |
5d131c493b8f813822faf19f267b40d47a82f200 | Increase precision of decimals in the event log | LANDIS-II-Foundation/Extension-Biomass-Harvest | src/EventsLog.cs | src/EventsLog.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Landis.Library.Metadata;
using Landis.Core;
namespace Landis.Extension.BiomassHarvest
{
public class EventsLog
{
[DataFieldAttribute(Unit = FieldUnits.Year, Desc = "Harvest Year")]
pub... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Landis.Library.Metadata;
using Landis.Core;
namespace Landis.Extension.BiomassHarvest
{
public class EventsLog
{
[DataFieldAttribute(Unit = FieldUnits.Year, Desc = "Harvest Year")]
pub... | apache-2.0 | C# |
1b0e7cb1da116e33303d7873c40500ce4dc21db9 | Support API Key authentication using header | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager | SupportManager.Web/Infrastructure/ApiKey/ApiKeyAuthenticationHandler.cs | SupportManager.Web/Infrastructure/ApiKey/ApiKeyAuthenticationHandler.cs | using System.Data.Entity;
using System.Linq;
using System.Security.Claims;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using SupportManager.DAL;
namespace SupportManager.Web.Infrastruc... | using System.Data.Entity;
using System.Linq;
using System.Security.Claims;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using SupportManager.DAL;
namespace SupportManager.Web.Infrastruc... | mit | C# |
9fe47cb9e850ca028a72f0a4e99f5c2ec87e4220 | update version to v10.1 | 68681395/JexusManager | JexusManager/Properties/AssemblyInfo.cs | JexusManager/Properties/AssemblyInfo.cs | // Copyright (c) Lex Li. All rights reserved.
//
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through ... | // Copyright (c) Lex Li. All rights reserved.
//
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through ... | mit | C# |
0801ebc93bd8844aea371f922a424902dbec0377 | Remove var keyword in tests | TelegramBots/telegram.bot,MrRoundRobin/telegram.bot | test/Telegram.Bot.Tests.Unit/Serialization/MethodNameTests.cs | test/Telegram.Bot.Tests.Unit/Serialization/MethodNameTests.cs | using Newtonsoft.Json;
using Telegram.Bot.Requests;
using Xunit;
namespace Telegram.Bot.Tests.Unit.Serialization
{
public class MethodNameTests
{
[Fact(DisplayName = "Should serialize method name in webhook responses")]
public void Should_Serialize_MethodName_In_Webhook_Responses()
{
... | using Newtonsoft.Json;
using Telegram.Bot.Requests;
using Xunit;
namespace Telegram.Bot.Tests.Unit.Serialization
{
public class MethodNameTests
{
[Fact(DisplayName = "Should serialize method name in webhook responses")]
public void Should_Serialize_MethodName_In_Webhook_Responses()
{
... | mit | C# |
71f3a64165f81d50b00cf4cb2b6a82ca8be6dba6 | Fix APIPlaylistItem serialisation | peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu | osu.Game/Online/Rooms/APIPlaylistItem.cs | osu.Game/Online/Rooms/APIPlaylistItem.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using MessagePack;
using osu.Game.Online.API;
namespace osu.Game.Online.Rooms
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using System.Collections.Generic;
using System.Linq;
using MessagePack;
using osu.Game.Online.API;
namespace osu.Game.Online.Rooms
{
public class A... | mit | C# |
58220b613210fed8a44d6fe364dcc370724e1bcf | move map in surface scene for animation | reinterpretcat/utymap,reinterpretcat/utymap,reinterpretcat/utymap | unity/demo/Assets/Scripts/Scene/Animations/SurfaceAnimator.cs | unity/demo/Assets/Scripts/Scene/Animations/SurfaceAnimator.cs | using System;
using System.Collections.Generic;
using Assets.Scripts.Scene.Tiling;
using UnityEngine;
using UtyMap.Unity;
using UtyMap.Unity.Animations.Time;
using Animation = UtyMap.Unity.Animations.Animation;
namespace Assets.Scripts.Scene.Animations
{
/// <summary> Handles surface animations. </summary>
in... | using System;
using System.Collections.Generic;
using Assets.Scripts.Scene.Tiling;
using UnityEngine;
using UtyMap.Unity;
using UtyMap.Unity.Animations.Time;
using Animation = UtyMap.Unity.Animations.Animation;
namespace Assets.Scripts.Scene.Animations
{
/// <summary> Handles surface animations. </summary>
in... | apache-2.0 | C# |
435b9137bf2e3fa6623bd23a43c06748174ae306 | delete duplicate MC input in ppc64-encoding-bookIII.s.cs | 07151129/capstone,bSr43/capstone,bigendiansmalls/capstone,dynm/capstone,sigma-random/capstone,07151129/capstone,8l/capstone,code4bones/capstone,techvoltage/capstone,NeilBryant/capstone,07151129/capstone,capturePointer/capstone,pranith/capstone,nplanel/capstone,pyq881120/capstone,pombredanne/capstone,bigendiansmalls/cap... | suite/MC/PowerPC/ppc64-encoding-bookIII.s.cs | suite/MC/PowerPC/ppc64-encoding-bookIII.s.cs | # CS_ARCH_PPC, CS_MODE_BIG_ENDIAN, CS_OPT_SYNTAX_NOREGNAME
0x7c,0x80,0x01,0x24 = mtmsr 4, 0
0x7c,0x81,0x01,0x24 = mtmsr 4, 1
0x7c,0x80,0x00,0xa6 = mfmsr 4
0x7c,0x80,0x01,0x64 = mtmsrd 4, 0
0x7c,0x81,0x01,0x64 = mtmsrd 4, 1
0x7c,0x90,0x42,0xa6 = mfspr 4, 272
0x7c,0x91,0x42,0xa6 = mfspr 4, 273
0x7c,0x92,0x42,0xa6 = mfspr... | # CS_ARCH_PPC, CS_MODE_BIG_ENDIAN, CS_OPT_SYNTAX_NOREGNAME
0x7c,0x80,0x01,0x24 = mtmsr 4, 0
0x7c,0x81,0x01,0x24 = mtmsr 4, 1
0x7c,0x80,0x00,0xa6 = mfmsr 4
0x7c,0x80,0x01,0x64 = mtmsrd 4, 0
0x7c,0x81,0x01,0x64 = mtmsrd 4, 1
0x7c,0x90,0x42,0xa6 = mfspr 4, 272
0x7c,0x91,0x42,0xa6 = mfspr 4, 273
0x7c,0x92,0x42,0xa6 = mfspr... | bsd-3-clause | C# |
cc8591bb3cd7046a9b4bf703fdc03a081ea4df9d | Fix warnings. | JohanLarsson/Gu.Wpf.ValidationScope | Gu.Wpf.ValidationScope.Demo/UiTestWindows/SimpleWindow.xaml.cs | Gu.Wpf.ValidationScope.Demo/UiTestWindows/SimpleWindow.xaml.cs | namespace Gu.Wpf.ValidationScope.Demo.UiTestWindows
{
using System.Windows;
public partial class SimpleWindow : Window
{
public SimpleWindow()
{
this.InitializeComponent();
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | mit | C# |
76b7bdffc58517ff2e43ce5d08b5567d658babe7 | Update AssemblyInfo.cs | Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal | Master/Appleseed/WebSites/Appleseed/Properties/AssemblyInfo.cs | Master/Appleseed/WebSites/Appleseed/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Resources;
// 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("Appleseed Portal"... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Resources;
// 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("Appleseed Portal"... | apache-2.0 | C# |
b3a6bc00343815e07c457cba3c3b338485962b13 | Allow multiple httpmethodattribute | Code-Sharp/uHttpSharp,habibmasuro/uhttpsharp,lstefano71/uhttpsharp,raistlinthewiz/uhttpsharp,int6/uhttpsharp,habibmasuro/uhttpsharp,int6/uhttpsharp,Code-Sharp/uHttpSharp,lstefano71/uhttpsharp,raistlinthewiz/uhttpsharp | uhttpsharp/Attributes/HttpMethodAttribute.cs | uhttpsharp/Attributes/HttpMethodAttribute.cs | using System;
namespace uhttpsharp.Attributes
{
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = true)]
public class HttpMethodAttribute : Attribute
{
private readonly HttpMethods _httpMethod;
public HttpMethodAttribute(HttpMethods httpMethod)
{
... | using System;
namespace uhttpsharp.Attributes
{
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public class HttpMethodAttribute : Attribute
{
private readonly HttpMethods _httpMethod;
public HttpMethodAttribute(HttpMethods httpMethod)
{
_httpMethod = httpM... | lgpl-2.1 | C# |
47ff6ff930004eea8c883a409fdb460515d1abd6 | Fix nullability warning. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Tor/Socks5/Models/Fields/OctetFields/AtypField.cs | WalletWasabi/Tor/Socks5/Models/Fields/OctetFields/AtypField.cs | using System.Net;
using System.Net.Sockets;
using WalletWasabi.Helpers;
using WalletWasabi.Tor.Socks5.Models.Bases;
namespace WalletWasabi.Tor.Socks5.Models.Fields.OctetFields
{
public class AtypField : OctetSerializableBase
{
// https://gitweb.torproject.org/torspec.git/tree/socks-extensions.txt
// IPv6 is not ... | using System.Net;
using System.Net.Sockets;
using WalletWasabi.Helpers;
using WalletWasabi.Tor.Socks5.Models.Bases;
namespace WalletWasabi.Tor.Socks5.Models.Fields.OctetFields
{
public class AtypField : OctetSerializableBase
{
// https://gitweb.torproject.org/torspec.git/tree/socks-extensions.txt
// IPv6 is not ... | mit | C# |
f1e8df716b59f291445f20b25f73e20edabe277f | Fix DateHelper | serial-labs/SharedLibraries | Source/SerialLabs/Helpers/DateHelper.cs | Source/SerialLabs/Helpers/DateHelper.cs | using System;
namespace SerialLabs
{
/// <summary>
/// Provides helping method for manipulating dates. Provides DateTime extension methods too
/// </summary>
public static class DateHelper
{
/// <summary>
/// Ensures that local times are converted to UTC times. Unspecified kinds a... | using System;
namespace SerialLabs
{
/// <summary>
/// Provides helping method for manipulating dates. Provides DateTime extension methods too
/// </summary>
public static class DateHelper
{
/// <summary>
/// Ensures that local times are converted to UTC times. Unspecified kinds a... | mit | C# |
ce91c4e45dc19931eb5d1ad8b0e26a10167280f8 | Update Register.cshtml | seancpeters/templating,mlorbetske/templating,seancpeters/templating,seancpeters/templating,mlorbetske/templating,seancpeters/templating | template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/StarterWeb-CSharp/Views/Account/Register.cshtml | template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/StarterWeb-CSharp/Views/Account/Register.cshtml | @model RegisterViewModel
@{
ViewData["Title"] = "Register";
}
<h2>@ViewData["Title"]</h2>
<div class="row">
<div class="col-md-4">
<form asp-route-returnUrl="@ViewData["ReturnUrl"]" method="post">
<h4>Create a new account.</h4>
<hr />
<div asp-validation-summary="A... | @model RegisterViewModel
@{
ViewData["Title"] = "Register";
}
<h2>@ViewData["Title"]</h2>
<div class="row">
<div class="col-md-4">
<form asp-route-returnUrl="@ViewData["ReturnUrl"] method="post">
<h4>Create a new account.</h4>
<hr />
<div asp-validation-summary="Al... | mit | C# |
24a613d71ce9794ac16e0d89767521b6937064db | Fix HelpWriter substring index bug | ermshiperete/GitVersion,ermshiperete/GitVersion,asbjornu/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,ermshiperete/GitVersion,gep13/GitVersion,GitTools/GitVersion,gep13/GitVersion,ermshiperete/GitVersion | src/GitVersion.App/HelpWriter.cs | src/GitVersion.App/HelpWriter.cs | using System;
using System.IO;
using System.Reflection;
using GitVersion.Logging;
namespace GitVersion
{
public class HelpWriter : IHelpWriter
{
private readonly IVersionWriter versionWriter;
private readonly IConsole console;
public HelpWriter(IVersionWriter versionWriter, IConsole co... | using System;
using System.IO;
using System.Reflection;
using GitVersion.Logging;
namespace GitVersion
{
public class HelpWriter : IHelpWriter
{
private readonly IVersionWriter versionWriter;
private readonly IConsole console;
public HelpWriter(IVersionWriter versionWriter, IConsole co... | mit | C# |
5f500c89ce9df27910fa6007d4d87aa238a8a2ba | Fix a bug in pCampbot grabbing behaviour where an exception would be thrown if the bot was not yet aware of any objects. | ft-/arribasim-dev-extras,QuillLittlefeather/opensim-1,TomDataworks/opensim,ft-/opensim-optimizations-wip,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,Michelle-Argus/ArribasimExtract,OpenSimian/opensimulator,BogusCurry/arribasim-dev,RavenB/opensim,ft-/arribasim-dev-tests,justinccdev/opensim,... | OpenSim/Tools/pCampBot/Behaviours/GrabbingBehaviour.cs | OpenSim/Tools/pCampBot/Behaviours/GrabbingBehaviour.cs | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | bsd-3-clause | C# |
c1ea016eca61083f2c9e8950f7368e38718dea4a | Add Sum method | rmterra/NesZord | src/NesZord.Core/MemoryLocation.cs | src/NesZord.Core/MemoryLocation.cs | using NesZord.Core.Extensions;
namespace NesZord.Core
{
public class MemoryLocation
{
public MemoryLocation(byte offset, byte page)
{
this.Offset = offset;
this.Page = page;
}
public byte Offset { get; private set; }
public byte Page { get; private set; }
public int FullLocation
{
get { re... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NesZord.Core
{
public class MemoryLocation
{
public MemoryLocation(byte offset, byte page)
{
this.Offset = offset;
this.Page = page;
}
public byte Offset { get; private set; }
public byte Page { get; pr... | apache-2.0 | C# |
236b3147c8b0f06b4559d51ae1bc0cb8a41c7c23 | Add assembly configuration | arvydas/BlinkStickInterop,arvydas/BlinkStickInterop,arvydas/BlinkStickInterop,arvydas/BlinkStickInterop | BlinkStickInterop/Properties/AssemblyInfo.cs | BlinkStickInterop/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("BlinkStickDotNet.Interop")]
[assembly: AssemblyDes... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("BlinkStickDotNet.Interop")]
[assembly: AssemblyDes... | mit | C# |
ce56b9fe722c8f5573bb03f914a1faffd1f1e59f | use the short name for MOS on soldiers list | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | BatteryCommander.Web/Views/Soldier/List.cshtml | BatteryCommander.Web/Views/Soldier/List.cshtml | @model IEnumerable<BatteryCommander.Common.Models.Soldier>
@{
ViewBag.Title = "Soldiers";
}
<h2>@ViewBag.Title</h2>
<div class="btn-group" role="group">
@Html.ActionLink("Add a Soldier", "Edit", null, new { @class = "btn btn-primary" })
@Html.ActionLink("Bulk Add/Edit Soldiers", "Bulk", null, new { @cla... | @model IEnumerable<BatteryCommander.Common.Models.Soldier>
@{
ViewBag.Title = "Soldiers";
}
<h2>@ViewBag.Title</h2>
<div class="btn-group" role="group">
@Html.ActionLink("Add a Soldier", "Edit", null, new { @class = "btn btn-primary" })
@Html.ActionLink("Bulk Add/Edit Soldiers", "Bulk", null, new { @cla... | mit | C# |
db2aa64868eed38e43ec08b6f92815301ff8dd62 | Format code | mstrother/BmpListener | BmpListener/Bgp/CapabilityFourOctetAsNumber.cs | BmpListener/Bgp/CapabilityFourOctetAsNumber.cs | using System;
namespace BmpListener.Bgp
{
public class CapabilityFourOctetAsNumber : Capability
{
public CapabilityFourOctetAsNumber(byte[] data, int offset)
: base(data, offset)
{
Decode(data, offset + 2);
}
public int Asn { get; private set; }
... | using System;
namespace BmpListener.Bgp
{
public class CapabilityFourOctetAsNumber : Capability
{
public CapabilityFourOctetAsNumber(byte[] data, int offset) : base(data, offset)
{
Decode(data, offset + 2);
}
public int Asn { get; private set; }
public voi... | mit | C# |
469291b90d41ad5e5808186a72b5c45e46e071ae | Fix TokenProviderTestFixture | Proligence/OrchardTesting | Proligence.Orchard.Testing/TokenProviderTestFixture.cs | Proligence.Orchard.Testing/TokenProviderTestFixture.cs | namespace Proligence.Orchard.Testing
{
using System.Collections.Generic;
using System.Reflection;
#if (NUNIT)
using NUnit.Framework;
#endif
using Autofac;
using global::Orchard.Localization;
using global::Orchard.Tokens;
using global::Orchard.Tokens.Implementation;
public abstract clas... | namespace Proligence.Orchard.Testing
{
using System.Reflection;
#if (NUNIT)
using NUnit.Framework;
#endif
using Autofac;
using global::Orchard.Localization;
using global::Orchard.Tokens;
using global::Orchard.Tokens.Implementation;
public abstract class TokenProviderTestFixture<TProvider> ... | mit | C# |
ea4709604858a950d6cbc870412f8fcc42515762 | Tidy up Tree Node code | jamiepollock/Umbraco-MigrationsViewer,jamiepollock/Umbraco-MigrationsViewer,jamiepollock/Umbraco-MigrationsViewer | src/Our.Umbraco.MigrationsViewer.Core/Controllers/MigrationsViewerTreeController.cs | src/Our.Umbraco.MigrationsViewer.Core/Controllers/MigrationsViewerTreeController.cs | using System;
using System.Globalization;
using System.Net.Http.Formatting;
using Our.Umbraco.MigrationsViewer.Core.Services;
using umbraco.BusinessLogic.Actions;
using Umbraco.Core;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.Mvc;
using Umbraco.Web.Trees;
using Umbraco.Web.WebApi.Filters;
namespace Our.Umbraco... | using System;
using System.Globalization;
using System.Net.Http.Formatting;
using Our.Umbraco.MigrationsViewer.Core.Services;
using umbraco.BusinessLogic.Actions;
using Umbraco.Core;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.Mvc;
using Umbraco.Web.Trees;
using Umbraco.Web.WebApi.Filters;
namespace Our.Umbraco... | apache-2.0 | C# |
4c4204a1466a3b0622d60d10c8da94a08fc9f327 | Add String.IsNullOrWhiteSpace | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Utilities/String.Emptiness.cs | source/Nuke.Common/Utilities/String.Emptiness.cs | // Copyright 2020 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
namespace Nuke.Common.Utilities
{
public static partial class StringExtensions
{
public static bool IsNullOrEmpty(this string str)
{
return string.I... | // Copyright 2020 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
namespace Nuke.Common.Utilities
{
public static partial class StringExtensions
{
public static bool IsNullOrEmpty(this string str)
{
return string.I... | mit | C# |
32e2abfd801ead4697050f16838f982894039e52 | Fix merge conflict | rmillikin/MetaMorpheus,XRSHEERAN/MetaMorpheus,zrolfs/MetaMorpheus,lonelu/MetaMorpheus,hoffmann4/MetaMorpheus,lschaffer2/MetaMorpheus,smith-chem-wisc/MetaMorpheus | EngineLayer/MatchedIonMassesListOnlyMatches.cs | EngineLayer/MatchedIonMassesListOnlyMatches.cs | using System.Collections;
using System.Collections.Generic;
namespace EngineLayer
{
public class MatchedIonMassesListOnlyMatches : IEnumerable<KeyValuePair<ProductType, double[]>>
{
#region Private Fields
private readonly Dictionary<ProductType, double[]> matchedIonDictPositiveIsMatch;
... | using System.Collections;
using System.Collections.Generic;
namespace EngineLayer
{
public class MatchedIonMassesListOnlyMasses : IEnumerable<KeyValuePair<ProductType, double[]>>
{
#region Private Fields
private readonly Dictionary<ProductType, double[]> matchedIonDictPositiveIsMatch;
... | mit | C# |
081d8b9f1d5a1b41936b7f21fa998d01c0665c29 | use Debug.WriteLine in Log.CW | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Utils/Log.cs | TCC.Utils/Log.cs | using System;
using System.Diagnostics;
using System.IO;
using TCC.Data;
namespace TCC.Utils
{
public static class Log
{
public static event Action<ChatChannel, string, string> NewChatMessage;
public static event Func<string, string, NotificationType, int, NotificationTemplate, int> NewNotific... | using System;
using System.IO;
using TCC.Data;
namespace TCC.Utils
{
public static class Log
{
public static event Action<ChatChannel, string, string> NewChatMessage;
public static event Func<string, string, NotificationType, int, NotificationTemplate, int > NewNotification;
private s... | mit | C# |
fed5701cd398c29f500477f65718f433d0f19df9 | Prepare Program.cs for REPL/Console mode | vejuhust/msft-scooter | ScooterController/ScooterController/Program.cs | ScooterController/ScooterController/Program.cs | using System;
namespace ScooterController
{
class Program
{
private static void ExecuteInstructionFromFile(string filename)
{
var parser = new InstructionInterpreter(filename);
var controller = new HardwareController();
HardwareInstruction instruction;
... | using System;
namespace ScooterController
{
class Program
{
static void Main(string[] args)
{
var parser = args.Length >= 1
? new InstructionInterpreter(args[0])
: new InstructionInterpreter();
var controller = new HardwareController();... | mit | C# |
d53f62e9316653a16ce420995d5959793a27e323 | Fix changelog list component | patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity | src/Assets/Scripts/UI/Changelog/ChangelogList.cs | src/Assets/Scripts/UI/Changelog/ChangelogList.cs | using System.Collections;
using System.Linq;
using PatchKit.Api.Models.Main;
using PatchKit.Unity.UI;
using PatchKit.Unity.Utilities;
namespace PatchKit.Unity.Patcher.UI
{
public class ChangelogList : UIApiComponent
{
public ChangelogElement TitlePrefab;
public ChangelogElement ChangePrefab;
... | using System.Collections;
using System.Linq;
using PatchKit.Api.Models.Main;
using PatchKit.Unity.UI;
using PatchKit.Unity.Utilities;
namespace PatchKit.Unity.Patcher.UI
{
public class ChangelogList : UIApiComponent
{
public ChangelogElement TitlePrefab;
public ChangelogElement ChangePrefab;
... | mit | C# |
7c1ecd4b70449d07c36570ba2217ca26e6e7d9b1 | Fix DirectoryInfo.IsSymbolicLinkValid() | michaelmelancon/symboliclinksupport | SymbolicLinkSupport/DirectoryInfoExtensions.cs | SymbolicLinkSupport/DirectoryInfoExtensions.cs | using System;
using System.IO;
namespace SymbolicLinkSupport
{
/// <summary>
/// A class which provides extensions for <see cref="DirectoryInfo"/> to handle symbolic directory links.
/// </summary>
public static class DirectoryInfoExtensions
{
/// <summary>
/// Creates a symbolic l... | using System;
using System.IO;
namespace SymbolicLinkSupport
{
/// <summary>
/// A class which provides extensions for <see cref="DirectoryInfo"/> to handle symbolic directory links.
/// </summary>
public static class DirectoryInfoExtensions
{
/// <summary>
/// Creates a symbolic l... | mit | C# |
328ad9e2d0e8b5698c602f4f42e6813b3f4c949f | Fix copyright | Tdue21/Markdown-Edit,mike-ward/Markdown-Edit,dsuess/Markdown-Edit,Pulgafree/Markdown-Edit,jokamjohn/Markdown-Edit,punker76/Markdown-Edit,chris84948/Markdown-Edit | src/MarkdownEdit/Properties/AssemblyInfo.cs | src/MarkdownEdit/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Markdown Edit")]
[assembly: AssemblyDescription("A Markdown editor with preview")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Ma... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Markdown Edit")]
[assembly: AssemblyDescription("A Markdown editor with preview")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Ma... | mit | C# |
99f2ee0e48244308897b1a7bac23bce0ff08a09d | Fix CI issues | UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ZLima12/osu,johnneijzen/osu,ppy/osu,ppy/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,ZLima12/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,peppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,EVAST9919/osu,EVAST9919/osu,peppy/osu-new,2y... | osu.Game/Online/Leaderboards/DrawableRank.cs | osu.Game/Online/Leaderboards/DrawableRank.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.Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprit... | // 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.Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprit... | mit | C# |
b01aa1f6c994781550b8ac3b9cc016d28ba3dfe1 | Fix buggy type lookup when Type.FindType fails | nuverian/fullserializer,jacobdufault/fullserializer,shadowmint/fullserializer,jagt/fullserializer,Ksubaka/fullserializer,lazlo-bonin/fullserializer,shadowmint/fullserializer,jagt/fullserializer,karlgluck/fullserializer,Ksubaka/fullserializer,shadowmint/fullserializer,darress/fullserializer,Ksubaka/fullserializer,jacobd... | Source/Reflection/fsTypeLookup.cs | Source/Reflection/fsTypeLookup.cs | using System;
using System.Reflection;
namespace FullSerializer.Internal {
/// <summary>
/// Provides APIs for looking up types based on their name.
/// </summary>
internal static class fsTypeLookup {
/// <summary>
/// Attempts to lookup the given type. Returns null if the type lookup ... | using System;
using System.Reflection;
namespace FullSerializer.Internal {
/// <summary>
/// Provides APIs for looking up types based on their name.
/// </summary>
internal static class fsTypeLookup {
public static Type GetType(string typeName) {
//--
// see
... | mit | C# |
cca6fce30cb1cdc31673359701964e047a7a37df | Make time advance in editor. Closes #199 | DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer | LmpClient/Systems/KscScene/KscSceneSystem.cs | LmpClient/Systems/KscScene/KscSceneSystem.cs | using Harmony;
using KSP.UI.Screens;
using LmpClient.Base;
using LmpClient.Events;
using System.Reflection;
using UnityEngine;
namespace LmpClient.Systems.KscScene
{
/// <summary>
/// This class controls what happens when we are in KSC screen
/// </summary>
public class KscSceneSystem : System<KscScen... | using System.Reflection;
using Harmony;
using KSP.UI.Screens;
using LmpClient.Base;
using LmpClient.Events;
using UnityEngine;
namespace LmpClient.Systems.KscScene
{
/// <summary>
/// This class controls what happens when we are in KSC screen
/// </summary>
public class KscSceneSystem : System<KscScen... | mit | C# |
80f520d616663b1b0b6a5e451a70fac11946522b | set global linter option value | jwldnr/VisualLinter | VisualLinter/OptionsDialogPage.cs | VisualLinter/OptionsDialogPage.cs | using jwldnr.VisualLinter.Helpers;
using Microsoft.VisualStudio.Shell;
using System;
using System.ComponentModel;
using System.Windows;
namespace jwldnr.VisualLinter
{
internal class OptionsDialogPage : UIElementDialogPage
{
protected override UIElement Child => _optionsDialogControl
?? (_... | using jwldnr.VisualLinter.Helpers;
using Microsoft.VisualStudio.Shell;
using System;
using System.ComponentModel;
using System.Windows;
namespace jwldnr.VisualLinter
{
internal class OptionsDialogPage : UIElementDialogPage
{
protected override UIElement Child => _optionsDialogControl
?? (_... | mit | C# |
d7d423cf1a470e497acaee4793c358174a0a8592 | remove channel id from ChannelController (#28) | gyrosworkshop/Wukong,gyrosworkshop/Wukong | src/Wukong/Controllers/ChannelController.cs | src/Wukong/Controllers/ChannelController.cs | using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Options;
using System.Security.Claims;
using Wukong.Services;
using Wukong.Models;
using Wukong.Options;
using Microsoft.Extensions.Logging;
namespace Wukong.Controllers
{
[Authori... | using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Options;
using System.Security.Claims;
using Wukong.Services;
using Wukong.Models;
using Wukong.Options;
using Microsoft.Extensions.Logging;
namespace Wukong.Controllers
{
[Authori... | mit | C# |
cac8255904a3381233d8f276266f6d95d5528b59 | Verify that "to-project" is a valid queue name | modulexcite/lokad-cqrs | Framework/Lokad.Cqrs.Azure.Tests/MiscTests.cs | Framework/Lokad.Cqrs.Azure.Tests/MiscTests.cs | using Lokad.Cqrs.Build.Engine;
using NUnit.Framework;
namespace Lokad.Cqrs
{
[TestFixture]
public sealed class MiscTests
{
// ReSharper disable InconsistentNaming
[Test]
public void Azure_queues_regex_is_valid()
{
Assert.IsTrue(AzureEngineModule.QueueName.IsMatch... | using Lokad.Cqrs.Build.Engine;
using NUnit.Framework;
namespace Lokad.Cqrs
{
[TestFixture]
public sealed class MiscTests
{
// ReSharper disable InconsistentNaming
[Test]
public void Azure_queues_regex_is_valid()
{
Assert.IsTrue(AzureEngineModule.QueueName.IsMatch... | bsd-3-clause | C# |
e6076b22ca817c70af364b3f39f333f623e7ef45 | Add FuelUsedLitres to MiX Integrate's Event object | MiXTelematics/MiX.Integrate.Api.Client | MiX.Integrate.Shared/Entities/Events/Event.cs | MiX.Integrate.Shared/Entities/Events/Event.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MiX.Integrate.Shared.Entities.Positions;
namespace MiX.Integrate.Shared.Entities.Events
{
/// <summary>
/// Definition of a recorded Event.
/// </summary>
public class Event
{
/// <summary>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MiX.Integrate.Shared.Entities.Positions;
namespace MiX.Integrate.Shared.Entities.Events
{
/// <summary>
/// Definition of a recorded Event.
/// </summary>
public class Event
{
/// <summary>... | mit | C# |
74d3703892141f79a367d81b43556f702f2617d6 | Disable line numbers by default | segrived/Msiler | Msiler/DialogPages/ExtensionDisplayOptions.cs | Msiler/DialogPages/ExtensionDisplayOptions.cs | using System.ComponentModel;
namespace Msiler.DialogPages
{
public class ExtensionDisplayOptions : MsilerDialogPage
{
[Category("Display")]
[DisplayName("Listing font name")]
[Description("")]
public string FontName { get; set; } = "Consolas";
[Category("Display")]
... | using System.ComponentModel;
namespace Msiler.DialogPages
{
public class ExtensionDisplayOptions : MsilerDialogPage
{
[Category("Display")]
[DisplayName("Listing font name")]
[Description("")]
public string FontName { get; set; } = "Consolas";
[Category("Display")]
... | mit | C# |
30e6bde4a79fcd797de571d2561211172f8f5788 | Test names changed to Should notation | msdeibel/opcmock | OpcMock/OpcMockTests/ProtocolComparerTests.cs | OpcMock/OpcMockTests/ProtocolComparerTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpcMock;
namespace OpcMockTests
{
[TestClass]
public class ProtocolComparerTests
{
private const int EQUALITY = 0;
[TestMethod]
public void ProtocolsWithTheSameNameShould_Be_Equal()
{
Proto... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpcMock;
namespace OpcMockTests
{
[TestClass]
public class ProtocolComparerTests
{
private const int EQUALITY = 0;
[TestMethod]
public void Protocols_With_The_Same_Name_Are_Equal()
{
Protoc... | mit | C# |
9c62043294ab8de6f36fd02a04a7ad792917374b | Update version number | DaveSenn/Extend | PortableExtensions/Properties/AssemblyInfo.cs | PortableExtensions/Properties/AssemblyInfo.cs | #region Usings
using System.Reflection;
using System.Resources;
#endregion
[assembly: AssemblyTitle( "PortableExtensions" )]
[assembly:
AssemblyDescription(
"PortableExtensions is a set of .Net extension methods build as portable class library. " +
"PortableExtensions enhance the .Net framework ... | #region Usings
using System.Reflection;
using System.Resources;
#endregion
// 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( "PortableExtensions" )]
[assembly... | mit | C# |
d8b3b20a395e02ad3533b2b5ca4c2eeb7ebdf6e2 | reduce the trigger time | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp | src/StockportWebapp/Scheduler/QuartzScheduler.cs | src/StockportWebapp/Scheduler/QuartzScheduler.cs | using System;
using System.Threading.Tasks;
using Quartz;
using Quartz.Impl;
using StockportWebapp.FeatureToggling;
using StockportWebapp.Models;
using StockportWebapp.Repositories;
using StockportWebapp.Services;
using StockportWebapp.Utils;
using Microsoft.Extensions.Logging;
namespace StockportWebapp.Scheduler
{
... | using System;
using System.Threading.Tasks;
using Quartz;
using Quartz.Impl;
using StockportWebapp.FeatureToggling;
using StockportWebapp.Models;
using StockportWebapp.Repositories;
using StockportWebapp.Services;
using StockportWebapp.Utils;
using Microsoft.Extensions.Logging;
namespace StockportWebapp.Scheduler
{
... | mit | C# |
f09fd206f17c9de6d65fbcb4693891e2cf4b8bfe | Update types on Message Bus definition | mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,m... | src/Glimpse.Common/Broker/IMessageBus.cs | src/Glimpse.Common/Broker/IMessageBus.cs | using System;
namespace Glimpse
{
public interface IMessageBus
{
IObservable<T> Listen<T>()
where T : IMessage;
IObservable<T> ListenIncludeLatest<T>()
where T : IMessage;
void SendMessage(IMessage message);
}
} | using System;
namespace Glimpse
{
public interface IMessageBus
{
IObservable<T> Listen<T>();
IObservable<T> ListenIncludeLatest<T>();
void SendMessage(object message);
}
} | mit | C# |
4a9077b3741e01a2a6a2593614954c48b8ebe296 | add all speech mods to modifiers enum | krille90/unitystation,krille90/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/Chat/ChatEvent.cs | UnityProject/Assets/Scripts/Chat/ChatEvent.cs | using System;
using System.ComponentModel;
using System.Text.RegularExpressions;
using UnityEngine;
using Random = UnityEngine.Random;
/// <summary>
/// A set of flags to show active chat channels. Be aware this can contain multiple active chat channels at a time!
/// </summary>
[Flags]
public enum ChatChannel
{
[De... | using System;
using System.ComponentModel;
using System.Text.RegularExpressions;
using UnityEngine;
using Random = UnityEngine.Random;
/// <summary>
/// A set of flags to show active chat channels. Be aware this can contain multiple active chat channels at a time!
/// </summary>
[Flags]
public enum ChatChannel
{
[De... | agpl-3.0 | C# |
f941b24159d4436d67d2180dffdb6e77025b9fb1 | Increment Version | zamanak/Zamanak.WebService | Zamanak.WebService/Properties/AssemblyInfo.cs | Zamanak.WebService/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("Za... | 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("Za... | mit | C# |
6caf2ca58cbafcd1d83aac5804d17192380241b7 | Add FromHex Helper | matsprea/AspNetIdentity_U2F,matsprea/AspNetIdentity_U2F,matsprea/AspNetIdentity_U2F | U2F/Helper.cs | U2F/Helper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace U2F
{
public static class Helper
{
private static readonly string[] HexTbl = Enumerable.Range(0, 256).Select(v => v.ToString("X2")).ToArray();
public static string ToHex(this IEnumerable<byte> array)
{
var s = ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace U2F
{
public static class Helper
{
private static readonly string[] HexTbl = Enumerable.Range(0, 256).Select(v => v.ToString("X2")).ToArray();
public static string ToHex(this IEnumerable<byte> array)
{
var s = ... | apache-2.0 | C# |
bb360159f695b008be701d7bafd581e410781001 | disable fault injection tx test (#5066) | ibondy/orleans,sergeybykov/orleans,sergeybykov/orleans,galvesribeiro/orleans,ElanHasson/orleans,pherbel/orleans,waynemunro/orleans,Liversage/orleans,hoopsomuah/orleans,yevhen/orleans,yevhen/orleans,dotnet/orleans,Liversage/orleans,Liversage/orleans,veikkoeeva/orleans,amccool/orleans,ReubenBond/orleans,jthelin/orleans,a... | test/Transactions/Orleans.Transactions.Azure.Test/FaultInjection/ControlledInjection/TransactionFaultInjectionTests.cs | test/Transactions/Orleans.Transactions.Azure.Test/FaultInjection/ControlledInjection/TransactionFaultInjectionTests.cs | using Orleans.Transactions.AzureStorage.Tests;
using Orleans.Transactions.Tests;
using Xunit;
using Xunit.Abstractions;
namespace Orleans.Transactions.Azure.Tests
{
[TestCategory("Azure"), TestCategory("Transactions")]
public class TransactionFaultInjectionTests : ControlledFaultInjectionTransactionTestRunner... | using Orleans.Transactions.AzureStorage.Tests;
using Orleans.Transactions.Tests;
using Xunit;
using Xunit.Abstractions;
namespace Orleans.Transactions.Azure.Tests
{
[TestCategory("Azure"), TestCategory("Transactions"), TestCategory("Functional")]
public class TransactionFaultInjectionTests : ControlledFaultIn... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.