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 |
|---|---|---|---|---|---|---|---|---|
6d3e4aaa78f3ddbd4c71ce69d3c25e68d5822b02 | Make ActionDelete.ActionAlias public again | abryukhov/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,marcemarc/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,abjerner/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-CMS,abjerner/Umbraco-CMS,umbraco/... | src/Umbraco.Core/Actions/ActionDelete.cs | src/Umbraco.Core/Actions/ActionDelete.cs | // Copyright (c) Umbraco.
// See LICENSE for more details.
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked when a document, media, member is deleted
/// </summary>
public class ActionDelete : IAction
{
/// <summary>
/// The unique action alias
... | // Copyright (c) Umbraco.
// See LICENSE for more details.
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked when a document, media, member is deleted
/// </summary>
public class ActionDelete : IAction
{
/// <summary>
/// The unique action alias
... | mit | C# |
1a34e8447159be99524f156d9167bd29e0fa83c7 | Update interface test | jonathanvdc/ecsc | tests/cs/interface/Interface.cs | tests/cs/interface/Interface.cs | using System;
interface IFlyable
{
void Fly();
string Name { get; }
}
class Bird : IFlyable
{
public Bird() { }
public string Name => "Bird";
public void Fly()
{
Console.WriteLine("Chirp");
}
}
class Plane : IFlyable
{
public Plane() { }
public string Name => "Plane";
... | using System;
interface IFlyable
{
void Fly();
}
class Bird : IFlyable
{
public Bird() { }
public void Fly()
{
Console.WriteLine("Chirp");
}
}
class Plane : IFlyable
{
public Plane() { }
public void Fly()
{
Console.WriteLine("Nnneeaoowww");
}
}
static class Prog... | mit | C# |
35f7c96437da5f0fdd577a26a1a2317683c6d7b4 | fix Auth | kiraacorsac/dotvvm,kiraacorsac/dotvvm,darilek/dotvvm,riganti/dotvvm,darilek/dotvvm,darilek/dotvvm,riganti/dotvvm,kiraacorsac/dotvvm,riganti/dotvvm,riganti/dotvvm | src/DotVVM.Samples.Tests/Complex/AuthTests.cs | src/DotVVM.Samples.Tests/Complex/AuthTests.cs | using Dotvvm.Samples.Tests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Riganti.Utils.Testing.SeleniumCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotVVM.Samples.Tests.Complex
{
[TestClass]
public class AuthTe... | using Dotvvm.Samples.Tests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Riganti.Utils.Testing.SeleniumCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotVVM.Samples.Tests.Complex
{
[TestClass]
public class AuthTe... | apache-2.0 | C# |
bfc328c5ab94eda41bfb5b81e84c66ca975373c0 | change font weight for bold text | peppy/osu-new,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,peppy/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu | osu.Game/Graphics/Containers/Markdown/OsuMarkdownTextFlowContainer.cs | osu.Game/Graphics/Containers/Markdown/OsuMarkdownTextFlowContainer.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 Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graph... | // 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 Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graph... | mit | C# |
0202b5b969aa76263422e3976f31b30f5f3bd003 | バージョン番号更新。 | YKSoftware/YKToolkit.Controls | YKToolkit.Controls/Properties/AssemblyInfo.cs | YKToolkit.Controls/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("YKToolkit.Controls")]
#if NET4
[assembly: AssemblyDescription(".NET Framework 4.0 用 の WPF カスタムコントロールライブラリです。")]
#else
[assembly: AssemblyDescription("WPF カスタムコントロールライブラリです。")]
#endif
[assembly: Ass... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("YKToolkit.Controls")]
#if NET4
[assembly: AssemblyDescription(".NET Framework 4.0 用 の WPF カスタムコントロールライブラリです。")]
#else
[assembly: AssemblyDescription("WPF カスタムコントロールライブラリです。")]
#endif
[assembly: Ass... | mit | C# |
8b6d2525e437c8e5e477dbb44d3bb74a829d9805 | Implement ViewModelTest | mweibel/mste-testat | AutoReservation.Ui.Testing/ViewModelTest.cs | AutoReservation.Ui.Testing/ViewModelTest.cs | using System.Threading;
using System.Windows.Input;
using AutoReservation.Testing;
using AutoReservation.Ui.ViewModels;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AutoReservation.Ui.Testing
{
[TestClass]
public class ViewModelTest
{
[TestInitialize]
public vo... | using System.Windows.Input;
using AutoReservation.Testing;
using AutoReservation.Ui.ViewModels;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AutoReservation.Ui.Testing
{
[TestClass]
public class ViewModelTest
{
[TestInitialize]
public void InitializeTestData()
... | mit | C# |
23d8b92f9403adb7591e464d804bd79e31af09f2 | Implement updates to containers for ContainerSlot. | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content | Content.Server/GameObjects/ContainerSlot.cs | Content.Server/GameObjects/ContainerSlot.cs | using Robust.Server.GameObjects.Components.Container;
using Robust.Server.Interfaces.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using System.Collections.Generic;
using Robust.Shared.ViewVariables;
namespace Content.Server.GameObjects
{
public class ContainerSlot : BaseContainer
{
[ViewVa... | using Robust.Server.GameObjects.Components.Container;
using Robust.Server.Interfaces.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using System.Collections.Generic;
using Robust.Shared.ViewVariables;
namespace Content.Server.GameObjects
{
public class ContainerSlot : BaseContainer
{
[ViewVa... | mit | C# |
f2f180090ee723979d15f624f1b5f11204f87a07 | Add sample code to get the authenticated user from the site. | AlexGhiondea/SmugMug.NET | src/SmugMugTest.v2/Program.cs | src/SmugMugTest.v2/Program.cs | using SmugMug.v2.Authentication;
using SmugMug.v2.Authentication.Tokens;
using SmugMug.v2.Types;
using System.Diagnostics;
namespace SmugMugTest
{
class Program
{
private static OAuthToken s_oauthToken;
static void Main(string[] args)
{
s_oauthToken = ConsoleAuthentication... | using SmugMug.v2.Authentication;
using SmugMug.v2.Authentication.Tokens;
using System.Diagnostics;
namespace SmugMugTest
{
class Program
{
private static OAuthToken s_oauthToken;
static void Main(string[] args)
{
s_oauthToken = ConsoleAuthentication.GetOAuthTokenFromProvid... | mit | C# |
9bc264055e89ec267b20d4869062ccbae78a4b87 | use the more modern Test attribute | splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net | IPTables.Net.Tests/ConntrackLibraryTests.cs | IPTables.Net.Tests/ConntrackLibraryTests.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using IPTables.Net.Conntrack;
using IPTables.Net.Iptables.NativeLibrary;
using NUnit.Framework;
namespace IPTables.Net.Tests
{
[TestFixture]
class ConntrackLibr... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using IPTables.Net.Conntrack;
using IPTables.Net.Iptables.NativeLibrary;
using NUnit.Framework;
namespace IPTables.Net.Tests
{
[TestFixture]
class ConntrackLibr... | apache-2.0 | C# |
bc00b0ca37769844667633c189d3058e6af158cc | add initial seed method | Deepikajovy/Meal-Planner,Deepikajovy/Meal-Planner,Deepikajovy/Meal-Planner | Backend/Backend/Migrations/Configuration.cs | Backend/Backend/Migrations/Configuration.cs | using System.Collections.Generic;
using Backend.Models;
namespace Backend.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<Backend.Models.ApplicationDbContext>
{
... | namespace Backend.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<Backend.Models.ApplicationDbContext>
{
public Configuration()
{
AutomaticMig... | apache-2.0 | C# |
68b2c461b5f0dae4d2b9c891c3b5fd0696c8066a | Remove unused references | Livit/CefSharp,twxstar/CefSharp,illfang/CefSharp,gregmartinhtc/CefSharp,wangzheng888520/CefSharp,VioletLife/CefSharp,dga711/CefSharp,gregmartinhtc/CefSharp,VioletLife/CefSharp,jamespearce2006/CefSharp,Livit/CefSharp,rlmcneary2/CefSharp,Livit/CefSharp,jamespearce2006/CefSharp,VioletLife/CefSharp,wangzheng888520/CefSharp... | CefSharp.BrowserSubprocess/CefSubProcess.cs | CefSharp.BrowserSubprocess/CefSubProcess.cs | // Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System.Collections.Generic;
namespace CefSharp.BrowserSubprocess
{
public class CefSubProcess : CefAppWrapper
{
public CefS... | // Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System.Collections.Generic;
using System.Linq;
using CefSharp.Internals;
namespace CefSharp.BrowserSubprocess
{
public class CefSubProc... | bsd-3-clause | C# |
377a294ebd674cca84d6f858dd5ff0888139cc3f | Add a Matrix room link | codingteam/codingteam.org.ru,codingteam/codingteam.org.ru | Codingteam.Site/Views/Home/Resources.cshtml | Codingteam.Site/Views/Home/Resources.cshtml | <h1>Resources</h1>
<p>Here is a list of codingteam affiliated online resources:</p>
<ul class="fa-ul">
<li>
<a href="https://github.com/codingteam/">
<i class="fa-li fa fa-github"></i> GitHub organization
</a>
</li>
<li>
<a href="xmpp:codingteam@conference.jabber.ru?joi... | <h1>Resources</h1>
<p>Here is a list of codingteam affiliated online resources:</p>
<ul class="fa-ul">
<li>
<a href="https://github.com/codingteam/">
<i class="fa-li fa fa-github"></i> GitHub organization
</a>
</li>
<li>
<a href="xmpp:codingteam@conference.jabber.ru?joi... | mit | C# |
bb078e298cf42077a7814ffa7181e41db440659d | Remove reusable channel code from Publisher | pardahlman/RawRabbit,northspb/RawRabbit | src/RawRabbit/Operations/Publisher.cs | src/RawRabbit/Operations/Publisher.cs | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using RabbitMQ.Client;
using RabbitMQ.Client.Framing;
using RawRabbit.Common;
using RawRabbit.Configuration.Publish;
using RawRabbit.Context;
using RawRabbit.Context.Provider;
using RawRabbit.Logging;
using RawRabbit.... | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using RabbitMQ.Client;
using RabbitMQ.Client.Framing;
using RawRabbit.Common;
using RawRabbit.Configuration.Publish;
using RawRabbit.Context;
using RawRabbit.Context.Provider;
using RawRabbit.Logging;
using RawRabbit.... | mit | C# |
320688652c586cfd5016efca50f06da7a625a0a3 | Remove redundant wrapping | ericstj/core-setup,vivmishra/core-setup,rakeshsinghranchi/core-setup,vivmishra/core-setup,steveharter/core-setup,chcosta/core-setup,weshaggard/core-setup,zamont/core-setup,ramarag/core-setup,crummel/dotnet_core-setup,rakeshsinghranchi/core-setup,MichaelSimons/core-setup,joperezr/core-setup,ramarag/core-setup,vivmishra/... | build_projects/dotnet-host-build/NugetUtil.cs | build_projects/dotnet-host-build/NugetUtil.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.DotNet.Cli.Build.Framework;
using NugetProgram = NuGet.CommandLine.XPlat.Program;
namespace Microsoft.DotNet.Cli.Build
{
public static class NuGetUtil
{
[Flags]
public enum NuGetInclud... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.DotNet.Cli.Build.Framework;
using NugetProgram = NuGet.CommandLine.XPlat.Program;
namespace Microsoft.DotNet.Cli.Build
{
public static class NuGetUtil
{
[Flags]
public enum NuGetInclud... | mit | C# |
f7e9e6e42065646197db8edec91c8b5747e4a18f | Change warning colour. | endjin/Endjin.Cancelable,endjin/Endjin.Cancelable | Solutions/Endjin.Cancelable.Demo/Program.cs | Solutions/Endjin.Cancelable.Demo/Program.cs | namespace Endjin.Cancelable.Demo
{
#region Using Directives
using System;
using System.Threading;
using System.Threading.Tasks;
using Endjin.Contracts;
using Endjin.Core.Composition;
using Endjin.Core.Container;
#endregion
public class Program
{
public static void Ma... | namespace Endjin.Cancelable.Demo
{
#region Using Directives
using System;
using System.Threading;
using System.Threading.Tasks;
using Endjin.Contracts;
using Endjin.Core.Composition;
using Endjin.Core.Container;
#endregion
public class Program
{
public static void Ma... | mit | C# |
04cb099429cf054535e63dfa6c93df481826dbf0 | Make it work with any number of arguments | sfinnie/concomp,sfinnie/concomp,sfinnie/concomp,sfinnie/concomp,sfinnie/concomp | csharp/Program.cs | csharp/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace ConComp
{
internal class Program
{
private static void Main(string[] args)
{
var tasks = new Dictionary<string, Task<long>>();
foreach (var arg in... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConComp
{
class Program
{
static void Main(string[] args)
{
var fname1 = args[0];
var fname2 = args[1];
var task1 = ... | apache-2.0 | C# |
8a61b641cb6302595ecdf6dce648360123e159b3 | fix a virtual keyword | hazzik/nhibernate-core,hazzik/nhibernate-core,fredericDelaporte/nhibernate-core,nhibernate/nhibernate-core,nkreipke/nhibernate-core,RogerKratz/nhibernate-core,ngbrown/nhibernate-core,nkreipke/nhibernate-core,gliljas/nhibernate-core,nhibernate/nhibernate-core,alobakov/nhibernate-core,nhibernate/nhibernate-core,lnu/nhibe... | src/NHibernate/Mapping/Any.cs | src/NHibernate/Mapping/Any.cs | using System;
using NHibernate.Type;
namespace NHibernate.Mapping
{
public class Any : Value
{
private IType identifierType;
private IType metaType = NHibernate.Class;
public Any(Table table) : base(table){
}
public override bool IsAny {
get {
return true;
}
}
/// <summary>
/// Get or s... | using System;
using NHibernate.Type;
namespace NHibernate.Mapping
{
public class Any : Value
{
private IType identifierType;
private IType metaType = NHibernate.Class;
public Any(Table table) : base(table){
}
public override bool IsAny {
get {
return true;
}
}
/// <summary>
/// Get or s... | lgpl-2.1 | C# |
85395a6555945b4018405a4415f7f853761dac1e | Add a method to create an instance of the applicable path element type to resolver | Domysee/Pather.CSharp | src/Pather.CSharp/Resolver.cs | src/Pather.CSharp/Resolver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Reflection;
using Pather.CSharp.PathElements;
namespace Pather.CSharp
{
public class Resolver
{
private IList<Type> pathElementTypes;
public Resolver()
{
pathEleme... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Reflection;
using Pather.CSharp.PathElements;
namespace Pather.CSharp
{
public class Resolver
{
private IList<Type> pathElementTypes;
public Resolver()
{
pathEleme... | mit | C# |
ff9f6192390338de9187acf102d6763c0e5fc79b | Bring back the LoadFrom method. | SparkPost/csharp-sparkpost,kirilsi/csharp-sparkpost,darrencauthon/csharp-sparkpost,kirilsi/csharp-sparkpost,darrencauthon/csharp-sparkpost | src/SparkPost/Transmission.cs | src/SparkPost/Transmission.cs | using System.Collections.Generic;
using System.Net.Mail;
using SparkPost.Utilities;
namespace SparkPost
{
public class Transmission
{
public Transmission()
{
Recipients = new List<Recipient>();
Metadata = new Dictionary<string, object>();
SubstitutionData = ... | using System.Collections.Generic;
using System.Net.Mail;
using SparkPost.Utilities;
namespace SparkPost
{
public class Transmission
{
public Transmission()
{
Recipients = new List<Recipient>();
Metadata = new Dictionary<string, object>();
SubstitutionData = ... | apache-2.0 | C# |
4eb03f91bfdac6a9780eb4a2c8ec664820a42f96 | Fix bug argument matcher would cause index out of range | terrajobst/apiporter | src/ApiPorter.Patterns/ArgumentMatcher.cs | src/ApiPorter.Patterns/ArgumentMatcher.cs | using System;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace ApiPorter.Patterns
{
internal sealed class ArgumentMatcher : Matcher
{
private readonly ArgumentVariable _variable;
private readonly int _following;
p... | using System;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace ApiPorter.Patterns
{
internal sealed class ArgumentMatcher : Matcher
{
private readonly ArgumentVariable _variable;
private readonly int _following;
p... | mit | C# |
8d6b2d768c9e98955709e9beceb65d20558f478a | Delete unused IntPtrHelper.Subtract | YoupHulsebos/corefx,krytarowski/corefx,BrennanConroy/corefx,nbarbettini/corefx,richlander/corefx,tijoytom/corefx,nchikanov/corefx,Ermiar/corefx,stone-li/corefx,wtgodbe/corefx,ericstj/corefx,axelheer/corefx,alexperovich/corefx,twsouthwick/corefx,Jiayili1/corefx,ptoonen/corefx,yizhang82/corefx,gkhanna79/corefx,stone-li/c... | src/Common/src/System/Net/IntPtrHelper.cs | src/Common/src/System/Net/IntPtrHelper.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.
namespace System.Net
{
internal static class IntPtrHelper
{
internal static IntPtr Add(IntPtr a, int... | // 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.
namespace System.Net
{
internal static class IntPtrHelper
{
internal static IntPtr Add(IntPtr a, int... | mit | C# |
5276ace3799c95d9a8575f1f8cba307248340aab | update user agent version | watson-developer-cloud/dotnet-standard-sdk,watson-developer-cloud/dotnet-standard-sdk | src/IBM.WatsonDeveloperCloud/Constants.cs | src/IBM.WatsonDeveloperCloud/Constants.cs | /**
* Copyright 2017 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | /**
* Copyright 2017 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | apache-2.0 | C# |
51bfb38f8435cdc6145010f06adf934773137499 | remove logging, which happened too early | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | unity/EditorPlugin/AfterUnity56/EntryPoint.cs | unity/EditorPlugin/AfterUnity56/EntryPoint.cs | using System;
using JetBrains.Diagnostics;
using UnityEditor;
namespace JetBrains.Rider.Unity.Editor.AfterUnity56
{
[InitializeOnLoad]
public static class EntryPoint
{
static EntryPoint()
{
PluginEntryPoint.OnModelInitialization += UnitTesting.Initialization.OnModelInitializationHandler;
Plu... | using System;
using JetBrains.Diagnostics;
using UnityEditor;
namespace JetBrains.Rider.Unity.Editor.AfterUnity56
{
[InitializeOnLoad]
public static class EntryPoint
{
private static readonly ILog ourLogger = Log.GetLog("AfterUnity56.EntryPoint");
static EntryPoint()
{
ourLogger.Verbose("... | apache-2.0 | C# |
0199b81fd159e52a5da43a7c71c55a50a299d495 | use only date for the FirstRegistration field | mdavid626/artemis | src/Artemis.Web/App_Start/AutoMapperConfig.cs | src/Artemis.Web/App_Start/AutoMapperConfig.cs | using Artemis.Common;
using Artemis.Web.Models;
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Artemis.Web
{
public static class AutoMapperConfig
{
public static IMapper Create()
{
var config = new MapperConfiguratio... | using Artemis.Common;
using Artemis.Web.Models;
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Artemis.Web
{
public static class AutoMapperConfig
{
public static IMapper Create()
{
var config = new MapperConfiguratio... | mit | C# |
41597efdf71b7c65827de5fe7ec4bae5a110f809 | Hide health bar in no fail | 2yangk23/osu,ZLima12/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,ZLima12/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,EVAST9919/osu,2yangk23/osu,peppy/osu-new,EVAST9919/osu,peppy/osu,johnn... | osu.Game/Rulesets/Mods/ModNoFail.cs | osu.Game/Rulesets/Mods/ModNoFail.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Screens.Play;
namespace osu.Game.Rulesets.Mods
{
public abstract class Mo... | // 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.Sprites;
using osu.Game.Graphics;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModNoFail : Mod, IApplicableFai... | mit | C# |
58dc849118c26d440b07a4c761a45daabb9e1f43 | Add standard header | jdno/AIChallengeFramework-Tests | Map/RegionTests.cs | Map/RegionTests.cs | //
// Copyright 2014 jdno
//
// 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... | using NUnit.Framework;
using System;
using AIChallengeFramework;
namespace AIChallengeFrameworkTests
{
[TestFixture ()]
public class RegionTests
{
[SetUp ()]
public void SetUp ()
{
// Deactive logger for tests
Logger.LogLevel = Logger.Severity.OFF;
}
[Test ()]
public void TestAddNeighbor ()
{... | apache-2.0 | C# |
dd5338502635e95afc7adadc4bc00e13d935f32f | Fix crash when switching maps | ethanmoffat/EndlessClient | EndlessClient/Rendering/NPC/NPCAnimationActions.cs | EndlessClient/Rendering/NPC/NPCAnimationActions.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 EndlessClient.ControlSets;
using EndlessClient.HUD.Controls;
using EOLib.Domain.Notifiers;
namespace EndlessClient.Rendering.NPC
{
public class NPCAnimationAct... | // 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 EndlessClient.ControlSets;
using EndlessClient.HUD.Controls;
using EOLib.Domain.Notifiers;
namespace EndlessClient.Rendering.NPC
{
public class NPCAnimationAct... | mit | C# |
f8752580480a62671fa32489464e6c2ec7d95d2c | fix #1152: ошибка отладчика на точках останова после Выполнить()/Вычислить() | EvilBeaver/OneScript,EvilBeaver/OneScript,EvilBeaver/OneScript,EvilBeaver/OneScript,EvilBeaver/OneScript | src/VSCode.DebugAdapter/ProtocolExtensions.cs | src/VSCode.DebugAdapter/ProtocolExtensions.cs | /*----------------------------------------------------------
This Source Code Form is subject to the terms of the
Mozilla Public License, v.2.0. If a copy of the MPL
was not distributed with this file, You can obtain one
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/
using... | /*----------------------------------------------------------
This Source Code Form is subject to the terms of the
Mozilla Public License, v.2.0. If a copy of the MPL
was not distributed with this file, You can obtain one
at http://mozilla.org/MPL/2.0/.
----------------------------------------------------------*/
using... | mpl-2.0 | C# |
2e80e2be5146f0f7d54c476d6c9530b2f7abf96d | Reword epilepsy warning description text | peppy/osu,peppy/osu-new,ppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game/Screens/Edit/Setup/DesignSection.cs | osu.Game/Screens/Edit/Setup/DesignSection.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.Localisation;
using osu.Game.Graphics.UserInterfaceV2;
namespace osu.Game.Screens.Edit.Setup
{
internal class Des... | // 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.Localisation;
using osu.Game.Graphics.UserInterfaceV2;
namespace osu.Game.Screens.Edit.Setup
{
internal class Des... | mit | C# |
d1272271951c90811f2e07655f4e32189f5a039d | Put in TODO item. | modulexcite/DebuggerStepThroughRemover,tiesmaster/DebuggerStepThroughRemover | DebuggerStepThroughRemover/DebuggerStepThroughRemover.Test/TestData.cs | DebuggerStepThroughRemover/DebuggerStepThroughRemover.Test/TestData.cs | namespace DebuggerStepThroughRemover.Test
{
public class TestData
{
public string Description { private get; set; }
public string BrokenSource { get; set; }
public string ExpectedFixedSource { get; set; }
// TODO: maybe replace these two props with some higher level construct
... | namespace DebuggerStepThroughRemover.Test
{
public class TestData
{
public string Description { private get; set; }
public string BrokenSource { get; set; }
public string ExpectedFixedSource { get; set; }
public int Line { get; set; }
public int Column { get; set; }
... | mit | C# |
2391c1d95dc06d283d0ece53b5c3d996dc52ffc9 | adjust minimum versions to align with SMAPI 1.1 | Pathoschild/StardewMods | ChestsAnywhere/Framework/Constants.cs | ChestsAnywhere/Framework/Constants.cs | using StardewValley;
namespace Pathoschild.Stardew.ChestsAnywhere.Framework
{
/// <summary>Constant mod values.</summary>
internal static class Constant
{
/*********
** Accessors
*********/
/// <summary>The minimum supported version of Stardew Valley.</summary>
publ... | using StardewValley;
namespace Pathoschild.Stardew.ChestsAnywhere.Framework
{
/// <summary>Constant mod values.</summary>
internal static class Constant
{
/*********
** Accessors
*********/
/// <summary>The minimum supported version of Stardew Valley.</summary>
publ... | mit | C# |
59a432ff40841a4880438d876d498adebd9c762d | Remove unused variable | geosharath/xenadmin,stephen-turner/xenadmin,cheng-z/xenadmin,MihaelaStoica/xenadmin,Frezzle/xenadmin,kc284/xenadmin,MihaelaStoica/xenadmin,minli1/xenadmin,MihaelaStoica/xenadmin,cheng-z/xenadmin,agimofcarmen/xenadmin,xenserver/xenadmin,GaborApatiNagy/xenadmin,cheng--zhang/xenadmin,cheng--zhang/xenadmin,kc284/xenadmin,r... | XenModel/Actions/Pool/SetSslLegacyAction.cs | XenModel/Actions/Pool/SetSslLegacyAction.cs | /* Copyright (c) Citrix Systems Inc.
* 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,... | /* Copyright (c) Citrix Systems Inc.
* 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,... | bsd-2-clause | C# |
105b58c471ec4b48e391f4034293a35da62e914f | Update copyright notice | markembling/MarkEmbling.PostcodesIO | MarkEmbling.PostcodesIO/Properties/AssemblyInfo.cs | MarkEmbling.PostcodesIO/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("Ma... | 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("Ma... | mit | C# |
f1dd3e4b9de439141e44ab62ad93e4c67640770a | check paths with OrdinalIgnoreCase in PackageIconConverter | campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer | PackageExplorer/Converters/PackageIconConverter.cs | PackageExplorer/Converters/PackageIconConverter.cs | using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media.Imaging;
using PackageExplorerViewModel;
namespace PackageExplorer
{
public class PackageIconConverter : IMultiValueConverter
{
#region IMultiValueConverter Members
public object? Convert(object[] ... | using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media.Imaging;
using PackageExplorerViewModel;
namespace PackageExplorer
{
public class PackageIconConverter : IMultiValueConverter
{
#region IMultiValueConverter Members
public object? Convert(object[] ... | mit | C# |
6e60aa17dc6be66b1c8b93c4dcc67db67cef5a7d | Fix for issue U4-5364 without trying to fix the localization of the error text. | KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,rajendra1809/Umbraco-CMS,leekelleher/Umbraco-CMS,qizhiyu/Umbraco-CMS,abjerner/Umbraco-CMS,jchurchley/Umbraco-CMS,abryukhov/Umbraco-CMS,rajendra1809/Umbraco-CMS,timothyleerussell/Umbraco-CMS,hfloyd/Umbraco-CMS,gregoriusxu/Umbraco-CMS,neilgaietto/Umbraco-CMS,lars-erik/Umbraco-CMS,S... | src/Umbraco.Core/PropertyEditors/EmailValidator.cs | src/Umbraco.Core/PropertyEditors/EmailValidator.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Umbraco.Core.Models;
namespace Umbraco.Core.PropertyEditors
{
/// <summary>
/// A validator that validates an email address
/// </summary>
[ValueValidator("Email")]
internal sealed class EmailValidator :... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Umbraco.Core.Models;
namespace Umbraco.Core.PropertyEditors
{
/// <summary>
/// A validator that validates an email address
/// </summary>
[ValueValidator("Email")]
internal sealed class EmailValidator :... | mit | C# |
d3f487c6d73f86cc2f55cf20284d808d1e2d47ce | Clean up SimpleServer class. | mattleibow/RestSharp,benfo/RestSharp,uQr/RestSharp,fmmendo/RestSharp,restsharp/RestSharp,dyh333/RestSharp,who/RestSharp,wparad/RestSharp,rucila/RestSharp,kouweizhong/RestSharp,huoxudong125/RestSharp,mwereda/RestSharp,KraigM/RestSharp,amccarter/RestSharp,periface/RestSharp,lydonchandra/RestSharp,mattwalden/RestSharp,dmg... | RestSharp.IntegrationTests/Helpers/SimpleServer.cs | RestSharp.IntegrationTests/Helpers/SimpleServer.cs | namespace RestSharp.IntegrationTests.Helpers
{
using System;
using System.Net;
using System.Threading;
public class SimpleServer : IDisposable
{
private readonly HttpListener listener;
private readonly Action<HttpListenerContext> handler;
private Thread processor;
... | using System;
using System.Net;
using System.Threading;
namespace RestSharp.IntegrationTests.Helpers
{
public class SimpleServer : IDisposable
{
private readonly HttpListener _listener;
private readonly Action<HttpListenerContext> _handler;
private Thread _processor;
public st... | apache-2.0 | C# |
537cc53eca44647fa8e916f0b000e19b404e8518 | Add Commands repo to unit of work | MagedAlNaamani/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings,cmoussalli/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings,cmoussalli/DynThings,MagedAlNaamani/DynThings | DynThings.Data.Repositories/Core/UnitOfWork.cs | DynThings.Data.Repositories/Core/UnitOfWork.cs | /////////////////////////////////////////////////////////////////
// Created by : Caesar Moussalli //
// TimeStamp : 31-1-2016 //
// Content : Associate Repositories to the Unit of Work //
// Notes : Send DB context to repositories to redu... | /////////////////////////////////////////////////////////////////
// Created by : Caesar Moussalli //
// TimeStamp : 31-1-2016 //
// Content : Associate Repositories to the Unit of Work //
// Notes : Send DB context to repositories to redu... | mit | C# |
4978c41eaf65cc5fe2cb560413eae9301f24a870 | Remove unecessary entity | alfredosegundo/BudgetMVC,alfredosegundo/BudgetMVC | BudgetMVC.ConsoleTest/Program.cs | BudgetMVC.ConsoleTest/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BudgetMVC.Model.EntityFramework;
using BudgetMVC.Model.Entity;
using BudgetMVC.Model.Entity.Enum;
namespace BudgetMVC.ConsoleTest
{
class Program
{
static void Main(string[] args)
{
using (v... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BudgetMVC.Model.EntityFramework;
using BudgetMVC.Model.Entity;
using BudgetMVC.Model.Entity.Enum;
namespace BudgetMVC.ConsoleTest
{
class Program
{
static void Main(string[] args)
{
using (v... | mit | C# |
2d5ad5043b37e2d4610d02b73cb43ffe208ea17a | update version | gaochundong/Cowboy | SolutionVersion.cs | SolutionVersion.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("Cowboy is a library for building Sockets/HTTP based services.")]
[assembly: AssemblyCompany("Dennis Gao")]
[assembly: AssemblyProduct("Cowboy")]
[assembly: AssemblyCopyright("Copyright © 2015-2016 Dennis Gao.")]
[assembly: ... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("Cowboy is a library for building Sockets/HTTP based services.")]
[assembly: AssemblyCompany("Dennis Gao")]
[assembly: AssemblyProduct("Cowboy")]
[assembly: AssemblyCopyright("Copyright © 2015-2016 Dennis Gao.")]
[assembly: ... | mit | C# |
9f98311adaed46346b11aa2d396b8e0087bf1997 | Add trace with some quotes | davidebbo-test/Mvc52Application,davidebbo-test/Mvc52Application,davidebbo-test/Mvc52Application | Mvc52Application/Controllers/HomeController.cs | Mvc52Application/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MyCoolLib;
namespace Mvc52Application.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MyCoolLib;
namespace Mvc52Application.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
... | apache-2.0 | C# |
342c973021d5f7cfba29a730e3beee7875bc10a9 | Fix Change new value & original values dictionaries to object values instead of string | Charcoals/PivotalTracker.NET,Charcoals/PivotalTracker.NET | PivotalTrackerDotNet/Domain/Change.cs | PivotalTrackerDotNet/Domain/Change.cs | using System.Collections.Generic;
namespace PivotalTrackerDotNet.Domain
{
public class Change
{
public ResourceKind Kind { get; set; }
public ChangeType ChangeType { get; set; }
public int Id { get; set; }
public Dictionary<string, object> NewValues { get; set; }
publi... | using System.Collections.Generic;
namespace PivotalTrackerDotNet.Domain
{
public class Change
{
public ResourceKind Kind { get; set; }
public ChangeType ChangeType { get; set; }
public int Id { get; set; }
public Dictionary<string, string> NewValues { get; set; }
publi... | mit | C# |
dd7fc078ce6148007394351e2b31d4d23da546cc | Fix translation formatting. | PintaProject/Pinta,PintaProject/Pinta,PintaProject/Pinta | Pinta.Core/PaletteFormats/PaletteDescriptor.cs | Pinta.Core/PaletteFormats/PaletteDescriptor.cs | //
// PaletteDescriptor.cs
//
// Author:
// Matthias Mailänder
//
// Copyright (c) 2017 Matthias Mailänder
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, in... | //
// PaletteDescriptor.cs
//
// Author:
// Matthias Mailänder
//
// Copyright (c) 2017 Matthias Mailänder
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, in... | mit | C# |
bc0be409e69fe8c7d26780bd9fbb5898b3dfbb69 | Remove usage of FX_DEPS_FILE as a fallback for locating `dotnet`, since that can find the wrong result when a newer patch is installed to the global dotnet location than the one installed into the folder containing Process.MainModule. | fixie/fixie | src/Fixie.Cli/Dotnet.cs | src/Fixie.Cli/Dotnet.cs | #if !NET452
namespace Fixie.Cli
{
using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
class Dotnet
{
public static readonly string Path = FindDotnet();
static string FindDotnet()
{
var fileName = RuntimeInformation... | #if !NET452
namespace Fixie.Cli
{
using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
class Dotnet
{
public static readonly string Path = FindDotnet();
static string FindDotnet()
{
var fileName = RuntimeInformation... | mit | C# |
ec0d9fbbd0429c0ba49df3981cc3fab36615536e | Rewrite Play animation to only play animation once. | DerTraveler/into-the-thick-of-it | Assets/Script/Player.cs | Assets/Script/Player.cs | /* Copyright (c) 2016 Kevin Fischer
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
using UnityEngine;
using System.Collections;
public class Player : MonoBe... | /* Copyright (c) 2016 Kevin Fischer
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
using UnityEngine;
using System.Collections;
public class Player : MonoBe... | mpl-2.0 | C# |
5872975e102052d503ff85604d9c4435bbb70bc1 | Refactor Tower behavior | emazzotta/unity-tower-defense | Assets/Scripts/Tower.cs | Assets/Scripts/Tower.cs | using UnityEngine;
using System.Collections;
public class Tower : MonoBehaviour {
Transform towerTransform;
public float range = 10f;
public GameObject bulletPrefab;
public int cost = 5;
public int damage = 10;
public float radius = 0;
private MetallKefer nearestMetallKefer;
void Start () {
InvokeRepe... | using UnityEngine;
using System.Collections;
public class Tower : MonoBehaviour {
Transform towerTransform;
public float range = 10f;
public GameObject bulletPrefab;
public int cost = 5;
public int damage = 10;
public float radius = 0;
private MetallKefer nearestMetallKefer;
void Start () {
InvokeRepe... | mit | C# |
6e89f37438d3d5220b709a8237fe1d83b1c7113f | Return to old container | Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog | SpaceBlog/SpaceBlog/Views/Article/Index.cshtml | SpaceBlog/SpaceBlog/Views/Article/Index.cshtml | @model IEnumerable<SpaceBlog.Models.Article>
@using SpaceBlog.Utilities;
@{
ViewBag.Title = "Articles";
}
<div class="container">
<h2>@ViewBag.Title</h2>
@Html.ActionLink("Create New Article", "Create", new { area = "" }, new { @class = "btn btn-primary" })
<table class="table">
<tr>
... | @model IEnumerable<SpaceBlog.Models.Article>
@using SpaceBlog.Utilities;
@{
ViewBag.Title = "Articles";
}
<div class="container-fluid">
<h2>@ViewBag.Title</h2>
@Html.ActionLink("Create New Article", "Create", new { area = "" }, new { @class = "btn btn-primary" })
<table class="table">
<... | mit | C# |
6bf22ca80d19bc4b79146aea7566d1cbac5e6bea | bump to 1.12.7 | Terradue/DotNetOpenSearch | Terradue.OpenSearch/Properties/AssemblyInfo.cs | Terradue.OpenSearch/Properties/AssemblyInfo.cs | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.OpenSearch.
*
* Foobar is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation... | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.OpenSearch.
*
* Foobar is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation... | agpl-3.0 | C# |
2f635f1d51221f5ac56fd18edd6b0b142c5b240e | Update Pettable.cs | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,krille90/unitystation,krille90/unitystation,Necromunger/unitystation,Necromunger/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,... | UnityProject/Assets/Scripts/Player/Pettable.cs | UnityProject/Assets/Scripts/Player/Pettable.cs | using UnityEngine;
/// <summary>
/// Allows an object to be pet by a player. Shameless copy of Huggable.cs
/// </summary>
public class Pettable : MonoBehaviour, IClientInteractable<PositionalHandApply>
{
public bool Interact(PositionalHandApply interaction)
{
var targetNPCHealth = interaction.TargetObject.GetComp... | using UnityEngine;
/// <summary>
/// Allows an object to be pet by a player.
/// </summary>
public class Pettable : MonoBehaviour, IClientInteractable<PositionalHandApply>
{
public bool Interact(PositionalHandApply interaction)
{
var targetNPCHealth = interaction.TargetObject.GetComponent<LivingHealthBehaviour>()... | agpl-3.0 | C# |
6d578e9d0acc6a028ef081bab00b0868b8110cfd | Put markers in a dictionary for reuse. | jb-aero/CMSC491-VR | VRUnityProject/Assets/OurStuff/ObjectPlacer.cs | VRUnityProject/Assets/OurStuff/ObjectPlacer.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPlacer : MonoBehaviour {
public CountryLocation reader;
public GameObject prefab;
private Dictionary<string, GameObject> markers;
// Use this for initialization
void Start () {
Debug.Log ("LOOK WE ARE DOING TH... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPlacer : MonoBehaviour {
public CountryLocation reader;
public GameObject prefab;
// Use this for initialization
void Start () {
Debug.Log ("LOOK WE ARE DOING THINGS");
reader.NotANormalWord ();
Debug.Log ("S... | mit | C# |
e7d3d7ad90b1152a10ac83c8f5e3c38c7dc43fd0 | Update AssemblyInfo.cs | sbennett1990/WordOfTheDay | WordOfTheDay.Window/Properties/AssemblyInfo.cs | WordOfTheDay.Window/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | bsd-2-clause | C# |
9cffa4fa0299feeb0bcb4ea8ff498db4677db16b | Switch to try/catch for assemblyload hook | antmicro/xwt,mono/xwt | Xwt.XamMac/Xwt.Mac/NSApplicationInitializer.cs | Xwt.XamMac/Xwt.Mac/NSApplicationInitializer.cs | //
// NSApplicationInitializer.cs
//
// Author:
// Lluis Sanchez Gual <lluis@xamarin.com>
//
// Copyright (c) 2016 Xamarin, Inc (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to d... | //
// NSApplicationInitializer.cs
//
// Author:
// Lluis Sanchez Gual <lluis@xamarin.com>
//
// Copyright (c) 2016 Xamarin, Inc (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to d... | mit | C# |
e67c611188be9338753c6f8e08088ec4da9b836c | 修复C/S计算MD5不一致问题(大小写不一致) | mc-gulu/ulog,mc-gulu/ulog,mc-gulu/ulog,mc-gulu/ulog | ulog/ulog_test/Assets/Util.cs | ulog/ulog_test/Assets/Util.cs | using UnityEngine;
using System.Collections;
using System.IO;
using System.Security.Cryptography;
using System.Text;
public delegate void onFileProcessed(string filepath);
public class Util
{
// Process all files in the directory passed in, recurse on any directories
// that are found, and process the file... | using UnityEngine;
using System.Collections;
using System.IO;
using System.Security.Cryptography;
using System.Text;
public delegate void onFileProcessed(string filepath);
public class Util
{
// Process all files in the directory passed in, recurse on any directories
// that are found, and process the file... | mit | C# |
05b9cba521b64105c9d68a620b639b39df43de70 | Add `LocalisableString.Format` method | ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework | osu.Framework/Localisation/LocalisableString.cs | osu.Framework/Localisation/LocalisableString.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;
#nullable enable
namespace osu.Framework.Localisation
{
/// <summary>
/// A descriptor representing text that can be localised and formatted.
... | // 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;
#nullable enable
namespace osu.Framework.Localisation
{
/// <summary>
/// A descriptor representing text that can be localised and formatted.
... | mit | C# |
261ec7b9ebd1c88a8583d73efd4cc0eda91ec03a | Fix CORS configuration | senioroman4uk/PathFinder | PathFinder.EntryPoint/Startup.cs | PathFinder.EntryPoint/Startup.cs | using System;
using System.Web.Http;
using Microsoft.Owin;
using Microsoft.Owin.Security.OAuth;
using Owin;
using PathFinder.EntryPoint;
using PathFinder.Infrastructure.Extensions;
using PathFinder.Infrastructure.Providers;
using PathFinder.Security.DAL.Context;
using PathFinder.Security.DAL.Managers;
using SimpleInje... | using System;
using System.Web.Http;
using Microsoft.Owin;
using Microsoft.Owin.Security.OAuth;
using Owin;
using PathFinder.EntryPoint;
using PathFinder.Infrastructure.Extensions;
using PathFinder.Infrastructure.Providers;
using PathFinder.Security.DAL.Context;
using PathFinder.Security.DAL.Managers;
using SimpleInje... | mit | C# |
1f4ca853129a77dc488bb7c751df3ed5b1c63bc4 | Add license header | ismangil/clearbooks-rest,ismangil/clearbooks-rest | clearbooks-rest/Controllers/CountriesController.cs | clearbooks-rest/Controllers/CountriesController.cs | // Copyright (c) 2016 Perry Ismangil
// This file is part of clearbooks-rest project.
//
// clearbooks-rest project is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace clearbooks_rest.Controllers
{
public class CountriesController : ApiController
{
/// <summary>
/// Retrieves two-letter country code
/// </summar... | agpl-3.0 | C# |
c0b0fd71a6c6390078207abdfe5a54f180ab258b | Add bot class method stubs | FireCube-/HarvesterBot | TexasHoldEm/Bot.cs | TexasHoldEm/Bot.cs | using System;
/// <summary>
/// Summary description for Class1
/// </summary>
public class Bot {
private const int chromosomeSize = 10;
private Chromosome<double> chromosome;
public Bot() {
chromosome = new Chromosome<double>(chromosomeSize);
}
public Bot(double[] values) {
chromosome = new Chromosome<do... | using System;
/// <summary>
/// Summary description for Class1
/// </summary>
public class Bot {
public Bot() {
//
// TODO: Add constructor logic here
//
}
}
| mit | C# |
59ef8e2bb0637537b531a3d3efdbae370d311b7a | Bring welcome page back to project | peterblazejewicz/vnext-web-starter-kit,peterblazejewicz/vnext-web-starter-kit,peterblazejewicz/vnext-web-starter-kit | Startup.cs | Startup.cs | using Microsoft.AspNet.Builder;
namespace KWebStartup
{
public class Startup
{
public void Configure(IApplicationBuilder app)
{
app.UseStaticFiles();
app.UseWelcomePage();
}
}
} | using Microsoft.AspNet.Builder;
namespace KWebStartup
{
public class Startup
{
public void Configure(IApplicationBuilder app)
{
app.UseStaticFiles();
}
}
} | mit | C# |
bbed4d59f4a913233fa97340dcecc08ac471c9e8 | Improve debug output | mj1856/RavenDB-TimeZones | Raven.TimeZones/Extensions.cs | Raven.TimeZones/Extensions.cs | using System.Diagnostics;
using System.Globalization;
using System.Linq;
using Raven.Abstractions.Indexing;
using Raven.Client;
namespace Raven.TimeZones
{
public static class Extensions
{
public static void InitializeTimeZones(this IDocumentStore documentStore)
{
docum... | using System.Globalization;
using System.Linq;
using Raven.Abstractions.Indexing;
using Raven.Client;
namespace Raven.TimeZones
{
public static class Extensions
{
public static void InitializeTimeZones(this IDocumentStore documentStore)
{
documentStore.ExecuteIndex(new Z... | mit | C# |
3d99454ed3976b8a379bf3200add82187cf85b5c | Refresh grid view when books model reloaded | allquixotic/banshee-gst-sharp-work,Dynalon/banshee-osx,petejohanson/banshee,ixfalia/banshee,ixfalia/banshee,arfbtwn/banshee,babycaseny/banshee,Dynalon/banshee-osx,lamalex/Banshee,stsundermann/banshee,petejohanson/banshee,arfbtwn/banshee,babycaseny/banshee,GNOME/banshee,ixfalia/banshee,mono-soc-2011/banshee,directhex/ba... | src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookContent.cs | src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookContent.cs | //
// AudiobookContent.cs
//
// Author:
// Gabriel Burt <gburt@novell.com>
//
// Copyright (C) 2009 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, i... | //
// AudiobookContent.cs
//
// Author:
// Gabriel Burt <gburt@novell.com>
//
// Copyright (C) 2009 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, i... | mit | C# |
38d3d7bb19de53a53db75cacbf43293fff2256be | Remove PremiumRS edition value due to public preview schedule changes | zhencui/azure-powershell,naveedaz/azure-powershell,ClogenyTechnologies/azure-powershell,pankajsn/azure-powershell,pankajsn/azure-powershell,AzureAutomationTeam/azure-powershell,zhencui/azure-powershell,naveedaz/azure-powershell,naveedaz/azure-powershell,naveedaz/azure-powershell,jtlibing/azure-powershell,hungmai-msft/a... | src/ResourceManager/Sql/Commands.Sql/Database/Model/DatabaseEdition.cs | src/ResourceManager/Sql/Commands.Sql/Database/Model/DatabaseEdition.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | apache-2.0 | C# |
750b6671fac0052a3523e31d3f73ecccd09567e6 | Add LateUpdate check to scaler | NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,plrusek/NitoriWare,uulltt/NitoriWare,Barleytree/NitoriWare | Assets/Scripts/UI/TextMeshLimitSize.cs | Assets/Scripts/UI/TextMeshLimitSize.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class TextMeshLimitSize : MonoBehaviour
{
#pragma warning disable 0649 //Serialized Fields
[SerializeField]
private Vector2 maxExtents;
[SerializeField]
private TextMesh textMesh;
[Serializ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class TextMeshLimitSize : MonoBehaviour
{
#pragma warning disable 0649 //Serialized Fields
[SerializeField]
private Vector2 maxExtents;
[SerializeField]
private TextMesh textMesh;
[Serializ... | mit | C# |
0f0f3aa4046cc489b419b54eff1d5bb1a72cf7c8 | Comment Fixing | BillSkiCO/ChessCodingExercise | ChessBoard.cs | ChessBoard.cs | /*
*
*
*
* */
using System;
namespace Chess.Domain
{
public class ChessBoard
{
public static readonly int MaxBoardWidth = 7;
public static readonly int MaxBoardHeight = 7;
private Pawn[,] pieces;
public ChessBoard ()
{
pieces = new Pawn[MaxBoardWid... | /*
*
*
*
* */
using System;
namespace Chess.Domain
{
public class ChessBoard
{
public static readonly int MaxBoardWidth = 7;
public static readonly int MaxBoardHeight = 7;
private Pawn[,] pieces;
public ChessBoard ()
{
pieces = new Pawn[MaxBoardWid... | mit | C# |
2e60c02e15c11b87d06d84a5ed70b073e28d9dd7 | Fix IosSurfaceRenderer | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | Bindings/iOS/IosPlatformInitializer.cs | Bindings/iOS/IosPlatformInitializer.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Urho.Forms;
using System.Runtime.InteropServices;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using UIKit;
[assembly: ExportRendererAttribute(typeof(UrhoSurface), typeof(IosSurfaceRenderer))]
namespace Urho.Forms
{
public class Ios... | using System.Linq;
using System.Runtime.InteropServices;
using Foundation;
namespace Urho.iOS
{
public static class IosUrhoInitializer
{
[DllImport(Consts.NativeImport)]
static extern void InitSdl(string resDir, string docDir);
[DllImport(Consts.NativeImport, CallingConvention = CallingConvention.Cdecl)]
s... | mit | C# |
2046637adfeebd8fed58a7878aa9725510b13d34 | Add HasMoreResults to DocumentList | diadoc/diadocsdk-csharp,diadoc/diadocsdk-csharp | src/Proto/Documents/DocumentList.cs | src/Proto/Documents/DocumentList.cs | using System.Runtime.InteropServices;
using Diadoc.Api.Com;
namespace Diadoc.Api.Proto.Documents
{
[ComVisible(true)]
[Guid("C04B249A-7FEA-4C4D-A273-AEEDA147AF4F")]
public interface IDocumentList
{
int TotalCount { get; }
ReadonlyList DocumentsList { get; }
bool HasMoreResults { get; }
}
[ComVisible(true... | using System.Runtime.InteropServices;
using Diadoc.Api.Com;
namespace Diadoc.Api.Proto.Documents
{
[ComVisible(true)]
[Guid("C04B249A-7FEA-4C4D-A273-AEEDA147AF4F")]
public interface IDocumentList
{
int TotalCount { get; }
ReadonlyList DocumentsList { get; }
}
[ComVisible(true)]
[Guid("4E7F2FF8-ECD0-43B6-A... | mit | C# |
ad585267f187a5a5ff52ee474219db21a346d970 | Modify File userAuth.cpl/userAuth.cpl/userAuth.cpl.cs | ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate | userAuth.cpl/userAuth.cpl/userAuth.cpl.cs | userAuth.cpl/userAuth.cpl/userAuth.cpl.cs | using System;
using Xamarin.Forms;
namespace userAuth.cpl
{
public class App : Application
{
public App ()
{
// The root page of your application
MainPage = new ContentPage {
Content = new StackLayout {
VerticalOptions = LayoutOptions.Center,
Children = {
new Label {
XAlign = T... | using System;
using Xamarin.Forms;
namespace userAuth.cpl
{
public class App : Application
{
public App ()
{
// The root page of your application
MainPage = new ContentPage {
Content = new StackLayout {
VerticalOptions = LayoutOptions.Center,
Children = {
new Label {
XAlign = T... | mit | C# |
850cbf01906721bcc6d9bfbd7b382babfb833535 | Fix WaitFor methods missing from IDispatcher | ProductiveRage/Bridge.React,ProductiveRage/Bridge.React | Bridge.React/Dispatcher/IDispatcher.cs | Bridge.React/Dispatcher/IDispatcher.cs | using System;
using System.Collections.Generic;
namespace Bridge.React
{
public interface IDispatcher
{
/// <summary>
/// Dispatches an action that will be sent to all callbacks registered with this dispatcher.
/// </summary>
/// <param name="action">The action to dispatch; may not be null.</param>
void D... | using System;
namespace Bridge.React
{
public interface IDispatcher
{
/// <summary>
/// Dispatches an action that will be sent to all callbacks registered with this dispatcher.
/// </summary>
/// <param name="action">The action to dispatch; may not be null.</param>
void Dispatch(IDispatcherAction action);... | mit | C# |
96ff0f66a2a6a62f4cbea94a449864015dc3699f | update version information | esskar/SignalR.RavenDB | src/SignalR.RavenDB/AssemblyInfo.cs | src/SignalR.RavenDB/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("SignalR.RavenDB")]
[assembly: AssemblyDescription("RavenDB messaging backplane for scaling out of ASP.NET SignalR applications in a web-farm.")]
[assembly: AssemblyProduct("SignalR.RavenDB")]
[assembly: AssemblyCopyright("Copyright © 2014")]
[assembly: AssemblyVersion... | using System.Reflection;
[assembly: AssemblyTitle("SignalR.RavenDB")]
[assembly: AssemblyDescription("RavenDB messaging backplane for scaling out of ASP.NET SignalR applications in a web-farm.")]
[assembly: AssemblyProduct("SignalR.RavenDB")]
[assembly: AssemblyCopyright("Copyright © 2014")]
[assembly: AssemblyVersion... | apache-2.0 | C# |
61e739816d2794a9369a65ace51ce41f0ddbca25 | Make KeyManager look in the right place for connections.dll. | BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,JohnThomson/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,gmartin7/myBloomFork... | src/BloomExe/WebLibraryIntegration/KeyManager.cs | src/BloomExe/WebLibraryIntegration/KeyManager.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Palaso.Extensions;
using Palaso.IO;
namespace Bloom.WebLibraryIntegration
{
/// <summary>
/// This class is responsible for the key bits of information that are needed to access our ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Palaso.Extensions;
namespace Bloom.WebLibraryIntegration
{
/// <summary>
/// This class is responsible for the key bits of information that are needed to access our backend sites.
/... | mit | C# |
1ab641e5ed7b5c5cf937ed128ff18722f2aeb50c | remove link | nimeshvaghasiya/MyHeritage,nimeshvaghasiya/MyHeritage,nimeshvaghasiya/MyHeritage,nimeshvaghasiya/MyHeritage,nimeshvaghasiya/MyHeritage | src/MyHeritage.API/Controllers/TreeController.cs | src/MyHeritage.API/Controllers/TreeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using MyHeritage.Data.Abstract;
namespace MyHeritage.API.Controllers
{
[Route("api/[controller]")]
public class TreeController : Controller
{
private ITreeMemberHeritage... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using MyHeritage.Data.Abstract;
// For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
namespace MyHeritage.API.Controllers
{
... | mit | C# |
d747dec93c1ac2c2b4efa9631c9095fac1cd4761 | Support new FolderErrors event | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/SyncThing/ApiClient/EventType.cs | src/SyncTrayzor/SyncThing/ApiClient/EventType.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyncTrayzor.SyncThing.ApiClient
{
[JsonConverter(typeof(StringEnumConverter))]
public enum EventType
{
Starting,
... | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyncTrayzor.SyncThing.ApiClient
{
[JsonConverter(typeof(StringEnumConverter))]
public enum EventType
{
Starting,
... | mit | C# |
335cd4577a0602db6680186a40800c2718ace43c | Add comment to Auth Login action describing redirect | GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet | aspnet/4-auth/Controllers/SessionController.cs | aspnet/4-auth/Controllers/SessionController.cs | // Copyright(c) 2016 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 agree... | // Copyright(c) 2016 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 agree... | apache-2.0 | C# |
7e2ea3b6bc4b8728e34c49f1494798820f65e7cc | Allow products to have 0 price | notdev/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI | RohlikAPI/Helpers/PriceParser.cs | RohlikAPI/Helpers/PriceParser.cs | using System;
using System.Globalization;
using System.Text.RegularExpressions;
namespace RohlikAPI.Helpers
{
public class PriceParser
{
public double ParsePrice(string priceString)
{
var priceStringWithoutSpaces = priceString.Replace(" ", "").Replace(" ","");
var ... | using System;
using System.Globalization;
using System.Text.RegularExpressions;
namespace RohlikAPI.Helpers
{
public class PriceParser
{
public double ParsePrice(string priceString)
{
var priceStringWithoutSpaces = priceString.Replace(" ", "").Replace(" ","");
var ... | mit | C# |
cf24ec0f66602481ac0dfd6f4582b1daa15c0573 | Disable SynchronizeNowButton during synchronization. | aluxnimm/outlookcaldavsynchronizer | CalDavSynchronizer/CalDavSynchronizerRibbon.cs | CalDavSynchronizer/CalDavSynchronizerRibbon.cs | using System;
using System.Reflection;
using CalDavSynchronizer.Ui;
using CalDavSynchronizer.Utilities;
using log4net;
using Microsoft.Office.Tools.Ribbon;
namespace CalDavSynchronizer
{
public partial class CalDavSynchronizerRibbon
{
private void CalDavSynchronizerRibbon_Load (object sender, RibbonUIEventArg... | using System;
using System.Reflection;
using CalDavSynchronizer.Ui;
using CalDavSynchronizer.Utilities;
using log4net;
using Microsoft.Office.Tools.Ribbon;
namespace CalDavSynchronizer
{
public partial class CalDavSynchronizerRibbon
{
private void CalDavSynchronizerRibbon_Load (object sender, RibbonUIEventArg... | agpl-3.0 | C# |
d5d2922556039808654417c41655c360d96ae3c1 | Add comment as this may be removed in the future | ZLima12/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,Tom94/osu-framework,smoogipooo/osu-framew... | osu.Framework/Platform/Linux/LinuxGameHost.cs | osu.Framework/Platform/Linux/LinuxGameHost.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Platform.Linux.Native;
namespace osu.Framework.Platform.Linux
{
public class LinuxGameHost : DesktopGameHost
{
internal L... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Platform.Linux.Native;
namespace osu.Framework.Platform.Linux
{
public class LinuxGameHost : DesktopGameHost
{
internal L... | mit | C# |
f5cec0b080b2868799e8dab51843012a79cedca0 | add [m_dic] | yasokada/unity-160820-Inventory-UI | Assets/DataBaseManager.cs | Assets/DataBaseManager.cs | using UnityEngine;
//using System.Collections;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using NS_MyStringUtil;
/*
* - add dictionary [m_dic]
* - add [kIndex_checkDate]
* - add [kIndex_XXX] such as kIndex_row
* v0.1 2016 Aug. 23
* - add LoadCsvResouce()
*/
namespace NS_Dat... | using UnityEngine;
using System.Collections;
using System.IO;
/*
* - add [kIndex_checkDate]
* - add [kIndex_XXX] such as kIndex_row
* v0.1 2016 Aug. 23
* - add LoadCsvResouce()
*/
namespace NS_DataBaseManager
{
public class DataBaseManager {
string m_dataString;
public const int kIndex_caseNo = 0;
... | mit | C# |
99c83b01d3bb99019ffaf69a7ef72b9b48d52e69 | Update PasteController - make fields readonly | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX | Modix.WebServer/Controllers/PasteController.cs | Modix.WebServer/Controllers/PasteController.cs | using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Modix.Services.CodePaste;
namespace Modix.WebServer.Controllers
{
[Route("~/api")]
public class PasteController : Controller
{
private readonly ICodePasteRepository _codePasteRepository;
public PasteController(ICodePasteRepository c... | using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Modix.Services.CodePaste;
namespace Modix.WebServer.Controllers
{
[Route("~/api")]
public class PasteController : Controller
{
private ICodePasteRepository _codePasteRepository;
public PasteController(ICodePasteRepository codePasteR... | mit | C# |
d76b350ca890cb951f50f344e65867af079eee01 | Add missing parameterless ctor for SubscriptionsForType | Abc-Arbitrage/Zebus.Directory,AtwooTM/Zebus,biarne-a/Zebus,rbouallou/Zebus,Abc-Arbitrage/Zebus | src/Abc.Zebus/Directory/SubscriptionsForType.cs | src/Abc.Zebus/Directory/SubscriptionsForType.cs | using Abc.Zebus.Routing;
using ProtoBuf;
namespace Abc.Zebus.Directory
{
[ProtoContract]
public class SubscriptionsForType
{
[ProtoMember(1, IsRequired = true)]
public readonly MessageTypeId MessageTypeId;
[ProtoMember(2, IsRequired = true)]
public readonly BindingKey[] Bi... | using Abc.Zebus.Routing;
using ProtoBuf;
namespace Abc.Zebus.Directory
{
[ProtoContract]
public class SubscriptionsForType
{
[ProtoMember(1, IsRequired = true)]
public readonly MessageTypeId MessageTypeId;
[ProtoMember(2, IsRequired = true)]
public readonly BindingKey[] Bi... | mit | C# |
4ebf9303e0a634652e8b9ece20ad7eaef9026771 | Address feedback | cdmihai/msbuild,AndyGerlicher/msbuild,sean-gilliam/msbuild,chipitsine/msbuild,chipitsine/msbuild,cdmihai/msbuild,cdmihai/msbuild,AndyGerlicher/msbuild,chipitsine/msbuild,cdmihai/msbuild,jeffkl/msbuild,sean-gilliam/msbuild,rainersigwald/msbuild,Microsoft/msbuild,mono/msbuild,AndyGerlicher/msbuild,mono/msbuild,Microsoft/... | src/Build.UnitTests/Graph/ProjectGraph_Tests.cs | src/Build.UnitTests/Graph/ProjectGraph_Tests.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Linq;
using Microsoft.Build.Evaluation;
using Microsoft.Build.UnitTests;
using Xunit;
using Shouldly;
namespace Microsoft.... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Linq;
using Microsoft.Build.Evaluation;
using Xunit;
namespace Microsoft.Build.Graph.UnitTests
{
public class ProjectG... | mit | C# |
56fb7bd89cb785cf4b2761c8ee87266c9974ee16 | Fix text on main page. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Views/Home/Index.cshtml | src/CompetitionPlatform/Views/Home/Index.cshtml | @model CompetitionPlatform.Models.ProjectViewModels.ProjectListIndexViewModel
@{
ViewData["Title"] = "Projects";
}
<section class="section section--lead section--padding">
<div class="container container--extend">
<h1 class="text-center page__title">Lykke<span>Streams</span></h1>
<h3 class="p... | @model CompetitionPlatform.Models.ProjectViewModels.ProjectListIndexViewModel
@{
ViewData["Title"] = "Projects";
}
<section class="section section--lead section--padding">
<div class="container container--extend">
<h1 class="text-center page__title">Lykke<span>Streams</span></h1>
<h3 class="p... | mit | C# |
abcbe5da55f3c6a4da9cadb252d660871745a856 | Fix compilation error in MembersList.cshtml. | GiveCampUK/GiveCRM,GiveCampUK/GiveCRM | src/GiveCRM.Web/Views/Member/MembersList.cshtml | src/GiveCRM.Web/Views/Member/MembersList.cshtml | @model PagedMemberListViewModel
@using GiveCRM.Web.Models.Members
@using PagedList.Mvc
@{
Layout = null;
}
<script src="@Url.Content("~/Scripts/ViewScripts/MemberList.js")" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
MemberList.Initialise()
});
</script>
@if... | @model PagedMemberListViewModel
@using GiveCRM.Web.Models.Members
@using PagedList.Mvc
@{
Layout = null;
}
<script src="@Url.Content("~/Scripts/ViewScripts/MemberList.js")" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
MemberList.Initialise()
});
</script>
@if... | mit | C# |
36743a02601d14d7b7d6fda52be49ff5f4ac5c27 | use _logger not logger | SkillsFundingAgency/vacancy-register-api,SkillsFundingAgency/vacancy-register-api,SkillsFundingAgency/vacancy-register-api | src/Esfa.Vacancy.Register.Api/Global.asax.cs | src/Esfa.Vacancy.Register.Api/Global.asax.cs | using System;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Routing;
using Esfa.Vacancy.Register.Api.App_Start;
using SFA.DAS.NLog.Logger;
namespace Esfa.Vacancy.Register.Api
{
public class Global : HttpApplication
{
private ILog _logger;
public Global()
... | using System;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Routing;
using Esfa.Vacancy.Register.Api.App_Start;
using SFA.DAS.NLog.Logger;
namespace Esfa.Vacancy.Register.Api
{
public class Global : HttpApplication
{
private ILog _logger;
public Global()
... | mit | C# |
7ac47bab671359d3e6327253d519107a866371a1 | Bump up version 2.4.0 | rickyah/ini-parser,rickyah/ini-parser | src/IniFileParser/Properties/AssemblyInfo.cs | src/IniFileParser/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("INIParser")]
[assembly: AssemblyDescripti... | 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("INIParser")]
[assembly: AssemblyDescripti... | mit | C# |
40012a0e13c7bab8d3b2d49f4e52910c9bb52233 | Use the same version as native. | alesliehughes/monoDX,alesliehughes/monoDX | Microsoft.DirectX.Direct3D/AssemblyInfo.cs | Microsoft.DirectX.Direct3D/AssemblyInfo.cs | /*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights ... | /*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights ... | mit | C# |
9bb5b56c1774b1b78a61b8ce30c87be4cfec4b36 | Update copyright info | frabert/SharpPhysFS | SharpPhysFS/Properties/AssemblyInfo.cs | SharpPhysFS/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("Sh... | 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("Sh... | mit | C# |
9280be76ea8507c5c36c8bd2133a4ae70b74f0f2 | Update version 2.8.3 | paralin/D2ModdinClient,paralin/D2ModdinClient | ClientCommon/Version.cs | ClientCommon/Version.cs | namespace ClientCommon
{
public class Version
{
public const string ClientVersion = "2.8.3";
}
} | namespace ClientCommon
{
public class Version
{
public const string ClientVersion = "2.8.2";
}
} | apache-2.0 | C# |
56d258e2915e3c1a97d6397aca90171f590c8f17 | Fix the EF causing issues identity framework | kmlprtsng/MvcGenericProjectTemplate,kmlprtsng/MvcGenericProjectTemplate,kmlprtsng/MvcGenericProjectTemplate | Project.Data/ProjectContext.cs | Project.Data/ProjectContext.cs | using Microsoft.AspNet.Identity.EntityFramework;
using Project.Data.Configuration;
using System.Data.Entity;
using Project.Domain.Entities;
namespace Project.Data
{
public class ProjectContext : IdentityDbContext<ApplicationUser>
{
public ProjectContext() : base("ProjectContext") { }
public D... | using System;
using Microsoft.AspNet.Identity.EntityFramework;
using Project.Data.Configuration;
using System.Data.Entity;
using Project.Domain.Entities;
namespace Project.Data
{
public class ProjectContext : IdentityDbContext<ApplicationUser>
{
public ProjectContext() : base("ProjectContext") { }
... | mit | C# |
66f95013ac9b172872a7a32fec733d89219b41fc | Remove unused import | MHeasell/Mappy,MHeasell/Mappy | Mappy/Collections/Grid.cs | Mappy/Collections/Grid.cs | namespace Mappy.Collections
{
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class Grid<T> : IGrid<T>
{
private readonly T[] arr;
public Grid(int width, int height)
{
this.Width = width;
this.Heigh... | namespace Mappy.Collections
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class Grid<T> : IGrid<T>
{
private readonly T[] arr;
public Grid(int width, int height)
{
this.Width = width;
... | mit | C# |
805a2febfe4a4e48a4663487ea775aedf352aa90 | Update ConfigReader.cs | AnkRaiza/cordova-plugin-config-reader,AnkRaiza/cordova-plugin-config-reader,AnkRaiza/cordova-plugin-config-reader | src/wp8/ConfigReader.cs | src/wp8/ConfigReader.cs | using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using Microsoft.Phone.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Media;
using Windows.Storage;
using System.Diagnostics;
using System.IO;
namespace WPCordovaClassLib.Cordova.Commands
{
pub... | using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using Microsoft.Phone.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Media;
using Windows.Storage;
using System.Diagnostics;
using System.IO;
namespace WPCordovaClassLib.Cordova.Commands
{
pub... | mit | C# |
10b1738753031921c321464f5f50db0ecfd2e82a | Build and publish nuget package | QuickenLoans/XSerializer | XSerializer/Properties/AssemblyInfo.cs | XSerializer/Properties/AssemblyInfo.cs | using System;
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: Ass... | using System;
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: Ass... | mit | C# |
5cf559e4a28ea629f5b101cd4fcee831d8fb05d4 | Update JoinExtensions.cs | keith-hall/Extensions,keith-hall/Extensions | src/JoinExtensions.cs | src/JoinExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
public static class JoinExtensions
{
public static IEnumerable<Tuple<TLeft, TRight>> LeftJoinEach<TLeft, TRight, TJoin>(this IEnumerable<TLeft> left, IEnumerable<TRight> right, Func<TLeft, TJoin> leftJoinOn, Func<TRight, TJoin> rightJoinOn)
{
var j... | public static class JoinExtensions {
public static IEnumerable<Tuple<TLeft, TRight>> LeftJoinEach<TLeft, TRight, TJoin> (this IEnumerable<TLeft> left, IEnumerable<TRight> right, Func<TLeft, TJoin> leftJoinOn, Func<TRight, TJoin> rightJoinOn) {
var j = from l in left
join r in right on leftJoinOn(l)... | apache-2.0 | C# |
db578cc8d5c201e99d8c9813a7ee73aebffa480f | Add option to supply error code in Win32ErrorMessage.SetLast() | kostaslamda/win-installer,xenserver/win-installer,OwenSmith/win-installer,OwenSmith/win-installer,OwenSmith/win-installer,xenserver/win-installer,xenserver/win-installer,benchalmers/win-installer,kostaslamda/win-installer,kostaslamda/win-installer,OwenSmith/win-installer,xenserver/win-installer,kostaslamda/win-installe... | src/InstallAgent/PInvoke/Win32ErrorMessage.cs | src/InstallAgent/PInvoke/Win32ErrorMessage.cs | using System.ComponentModel;
using System.Runtime.InteropServices;
namespace PInvoke
{
public static class Win32ErrorMessage
{
private static string message;
public static string GetLast()
{
return message;
}
public static void SetLast(string win32FuncName... | using System.ComponentModel;
using System.Runtime.InteropServices;
namespace PInvoke
{
public static class Win32ErrorMessage
{
private static string message;
public static string GetLast()
{
return message;
}
public static void SetLast(string win32FuncName... | bsd-2-clause | C# |
6e7456605d4625dfd4eb9e9a200fdd95b120ec05 | Allow custom handling of chat command response | TorchAPI/Torch | Torch/Commands/CommandContext.cs | Torch/Commands/CommandContext.cs | using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Sandbox.Engine.Networking;
using Sandbox.Game.Multiplayer;
using Torch.API;
using Torch.API.Managers;
using Torch.API.Plugins;
using VRage.Game;
using VRage.Game.ModAPI;
namespace Torch.Commands
{
public class Command... | using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Sandbox.Engine.Networking;
using Sandbox.Game.Multiplayer;
using Torch.API;
using Torch.API.Managers;
using Torch.API.Plugins;
using VRage.Game;
using VRage.Game.ModAPI;
namespace Torch.Commands
{
public class Command... | apache-2.0 | C# |
d96aeeb152ff51b2afe0b7cd541a9ca87a93494e | fix - to_array return input if input.type == array | jdevillard/JmesPath.Net | src/jmespath.net/Functions/ToArrayFunction.cs | src/jmespath.net/Functions/ToArrayFunction.cs | using System;
using DevLab.JmesPath.Expressions;
using Newtonsoft.Json.Linq;
using JmesPathFunction = DevLab.JmesPath.Interop.JmesPathFunction;
namespace DevLab.JmesPath.Functions
{
public class ToArrayFunction : JmesPathFunction
{
public ToArrayFunction()
: base("to_array", 1)
... | using System;
using DevLab.JmesPath.Expressions;
using Newtonsoft.Json.Linq;
using JmesPathFunction = DevLab.JmesPath.Interop.JmesPathFunction;
namespace DevLab.JmesPath.Functions
{
public class ToArrayFunction : JmesPathFunction
{
public ToArrayFunction()
: base("to_array", 1)
... | apache-2.0 | C# |
759ebc5991f13cb680c591625c4393489fc0c443 | Remove unnecessary library | andrewjleavitt/SpaceThing | Assets/Scripts/ShieldBehavior.cs | Assets/Scripts/ShieldBehavior.cs | using UnityEngine;
public class ShieldBehavior {
public float amount = 0.0f;
public float rechargeAmount = 0.0f;
public float rechargeRate = 0.0f;
private float capacity = 0.0f;
private float nextRecharge = 0.0f;
private string shieldName;
public ShieldBehavior(string newShieldName, flo... | using System;
using UnityEngine;
public class ShieldBehavior {
public float amount = 0.0f;
public float rechargeAmount = 0.0f;
public float rechargeRate = 0.0f;
private float capacity = 0.0f;
private float nextRecharge = 0.0f;
private string shieldName;
public ShieldBehavior(string newS... | unlicense | C# |
284ba9ed38e24a15a3657954cbcb45a050425302 | Update GetMerchantDetails.cs | devkale/sample-code-csharp,AuthorizeNet/sample-code-csharp | TransactionReporting/GetMerchantDetails.cs | TransactionReporting/GetMerchantDetails.cs | using AuthorizeNet.Api.Contracts.V1;
using AuthorizeNet.Api.Controllers;
using AuthorizeNet.Api.Controllers.Bases;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace net.authorize.sample
{
class GetMerchantDetails
{
public static ANetApiResponse Run(String ... | using AuthorizeNet.Api.Contracts.V1;
using AuthorizeNet.Api.Controllers;
using AuthorizeNet.Api.Controllers.Bases;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace net.authorize.sample.TransactionReporting
{
class GetMerchantDetails
{
public static ANetAp... | mit | C# |
081cf6c59f8b6526029070288d16b609336f13da | Add Response Bad Request on Detail Page | krprasert/tdd-carfuel,krprasert/tdd-carfuel,krprasert/tdd-carfuel | carfuel/Controllers/CarsController.cs | carfuel/Controllers/CarsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CarFuel.DataAccess;
using CarFuel.Models;
using CarFuel.Services;
using Microsoft.AspNet.Identity;
namespace CarFuel.Controllers {
public class CarsController : Controller {
private ICarDb db;
p... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CarFuel.DataAccess;
using CarFuel.Models;
using CarFuel.Services;
using Microsoft.AspNet.Identity;
namespace CarFuel.Controllers {
public class CarsController : Controller {
private ICarDb db;
p... | mit | C# |
9d388c96e1ff833d211428d93f70d282bf1ac6bb | Add fields for #4567 | dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk | SnapMD.ConnectedCare.ApiModels/HospitalInfo.cs | SnapMD.ConnectedCare.ApiModels/HospitalInfo.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SnapMD.ConnectedCare.ApiModels
{
public class HospitalInfo
{
public int HospitalId { get; set; }
public string HospitalName { get; set; }
public string ContactP... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SnapMD.ConnectedCare.ApiModels
{
public class HospitalInfo
{
public int HospitalId { get; set; }
public string HospitalName { get; set; }
public string ContactP... | apache-2.0 | C# |
8ff584a61deeec44044fdd8fbfdbf73edc545576 | Update Version to 1.5.1 | Spryng/SpryngApiHttpDotNet | SpryngApiHttpDotNet/Properties/AssemblyInfo.cs | SpryngApiHttpDotNet/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("Sp... | 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("Sp... | bsd-2-clause | C# |
432ff5efabdd754058b5ca73c5f3244271ea254c | Update AdDuplexAdUnitBundle.cs | tiksn/TIKSN-Framework | TIKSN.Core/Advertising/AdDuplexAdUnitBundle.cs | TIKSN.Core/Advertising/AdDuplexAdUnitBundle.cs | namespace TIKSN.Advertising
{
public class AdDuplexAdUnitBundle : AdUnitBundle
{
public AdDuplexAdUnitBundle(string applicationId, string adUnitId)
: base(
new AdUnit(AdProviders.AdDuplex, applicationId, adUnitId, true),
new AdUnit(AdProviders.AdDuplex, appli... | namespace TIKSN.Advertising
{
public class AdDuplexAdUnitBundle : AdUnitBundle
{
public AdDuplexAdUnitBundle(string applicationId, string adUnitId)
: base(
new AdUnit(AdProviders.AdDuplex, applicationId, adUnitId, true),
new AdUnit(AdProviders.AdDuplex, appli... | mit | C# |
a57e7262784bafb49ac23f9b90c1c7897044e249 | Undo a change which causes compiler error in .NET 4.0 (but not .NET 4.5 | OneGet/nuget,oliver-feng/nuget,OneGet/nuget,ctaggart/nuget,zskullz/nuget,jholovacs/NuGet,xoofx/NuGet,jmezach/NuGet2,oliver-feng/nuget,antiufo/NuGet2,mrward/nuget,akrisiun/NuGet,indsoft/NuGet2,jmezach/NuGet2,jmezach/NuGet2,rikoe/nuget,indsoft/NuGet2,rikoe/nuget,oliver-feng/nuget,atheken/nuget,zskullz/nuget,mrward/NuGet.... | src/CommandLine/Common/AggregateRepositoryHelper.cs | src/CommandLine/Common/AggregateRepositoryHelper.cs | using System.Collections.Generic;
using System.Linq;
namespace NuGet.Common
{
public static class AggregateRepositoryHelper
{
public static AggregateRepository CreateAggregateRepositoryFromSources(IPackageRepositoryFactory factory, IPackageSourceProvider sourceProvider, IEnumerable<string> sour... | using System.Collections.Generic;
using System.Linq;
namespace NuGet.Common
{
public static class AggregateRepositoryHelper
{
public static AggregateRepository CreateAggregateRepositoryFromSources(IPackageRepositoryFactory factory, IPackageSourceProvider sourceProvider, IEnumerable<string> sour... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.