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 |
|---|---|---|---|---|---|---|---|---|
98603d570eda9dd80dbb2fa0d862fb4203df2fc4 | Update version | regisbsb/FluentValidation,olcayseker/FluentValidation,glorylee/FluentValidation,IRlyDontKnow/FluentValidation,robv8r/FluentValidation,GDoronin/FluentValidation,mgmoody42/FluentValidation,ruisebastiao/FluentValidation,deluxetiky/FluentValidation,cecilphillip/FluentValidation | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System.Reflection;
[assembly : AssemblyVersion("5.6.2.0")]
[assembly : AssemblyFileVersion("5.6.2.0")] | using System.Reflection;
[assembly : AssemblyVersion("5.6.1.0")]
[assembly : AssemblyFileVersion("5.6.1.0")] | apache-2.0 | C# |
6b1117caa908a5cef1e5b13b0ec7860b27617851 | Make this type internal | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Razor.Language/Legacy/SpanKindInternal.cs | src/Microsoft.AspNetCore.Razor.Language/Legacy/SpanKindInternal.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.Razor.Language.Legacy
{
internal enum SpanKindInternal
{
Transition,
MetaCode,
Comment,
... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.Razor.Language.Legacy
{
public enum SpanKindInternal
{
Transition,
MetaCode,
Comment,
... | apache-2.0 | C# |
1c4908421f010d47c8621d5b83397fe61f756231 | Make this static | jorik041/maccore,cwensley/maccore,mono/maccore | src/CoreImage/CIFilter.cs | src/CoreImage/CIFilter.cs | //
// CIFilter.cs: Extensions
//
// Copyright 2011 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, c... | //
// CIFilter.cs: Extensions
//
// Copyright 2011 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, c... | apache-2.0 | C# |
d75a6b43f4bafb7c249a0ea5fc7e41a0659d0442 | Add TzInfo | SteveLasker/polyglot-api-dotnet,SteveLasker/polyglot-api-dotnet | api-dotnet/Controllers/HelloController.cs | api-dotnet/Controllers/HelloController.cs | using Microsoft.AspNetCore.Mvc;
using System;
using System.Runtime.InteropServices;
namespace ApiDotNet.Controllers
{
[Route("/api/hello")]
public class HelloController
{
[HttpGet]
public string Get()
{
var osDescription = RuntimeInformation.OSDescription;
va... | using Microsoft.AspNetCore.Mvc;
using System;
namespace ApiDotNet.Controllers
{
[Route("/api/hello")]
public class HelloController
{
[HttpGet]
public string Get()
{
return $"Hello from api-dotnet at: {DateTimeOffset.UtcNow.ToString("u")}";
}
}
}
| mit | C# |
9130ea1aaf313c7267808cbafcc61971478ee141 | Remove unwanted memberList parameters. | aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template | aspnet-core/src/AbpCompanyName.AbpProjectName.Application/Users/Dto/UserMapProfile.cs | aspnet-core/src/AbpCompanyName.AbpProjectName.Application/Users/Dto/UserMapProfile.cs | using AutoMapper;
using AbpCompanyName.AbpProjectName.Authorization.Users;
namespace AbpCompanyName.AbpProjectName.Users.Dto
{
public class UserMapProfile : Profile
{
public UserMapProfile()
{
CreateMap<UserDto, User>();
CreateMap<UserDto, User>()
.ForMe... | using AutoMapper;
using AbpCompanyName.AbpProjectName.Authorization.Users;
namespace AbpCompanyName.AbpProjectName.Users.Dto
{
public class UserMapProfile : Profile
{
public UserMapProfile()
{
CreateMap<UserDto, User>();
CreateMap<UserDto, User>(MemberList.Source)
... | mit | C# |
dc4e41cb58715c21bfce660ce32f3e13075e2b4d | Update add-phone-number.5.x.cs | TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets | proxy/quickstart/add-phone-number/add-phone-number.5.x.cs | proxy/quickstart/add-phone-number/add-phone-number.5.x.cs | // Get the C# helper library from https://twilio.com/docs/libraries/csharp
using System;
using Twilio;
using Twilio.Rest.Preview.Proxy.Service;
class Example
{
static void Main(string[] args)
{
// Get your Account SID and Auth Token from https://twilio.com/console
const string accountSid = "ACX... | // Get the Node helper library from https://twilio.com/docs/libraries/csharp
using System;
using Twilio;
using Twilio.Rest.Preview.Proxy.Service;
class Example
{
static void Main(string[] args)
{
// Get your Account SID and Auth Token from https://twilio.com/console
const string accountSid = "A... | mit | C# |
d071230bcfa9d18fe24be6137f3afc0a50485040 | Make the next release version 0.1.1 (bug fixes) | SQLStreamStore/SQLStreamStore,damianh/SqlStreamStore,damianh/Cedar.EventStore,danbarua/Cedar.EventStore,SQLStreamStore/SQLStreamStore | src/SharedAssemblyInfo.cs | src/SharedAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyProduct("SqlStreamStore")]
[assembly: AssemblyCopyright("Copyright Damian Hickey & Contributors 2015 - 2016")]
[assembly: AssemblyVersion("0.1.1.0")]
[assembly: AssemblyFileVersion("0.1.1.0")]
| using System.Reflection;
[assembly: AssemblyProduct("SqlStreamStore")]
[assembly: AssemblyCopyright("Copyright Damian Hickey & Contributors 2015 - 2016")]
[assembly: AssemblyVersion("0.2.0.0")]
[assembly: AssemblyFileVersion("0.2.0.0")]
| mit | C# |
1736ad2a6bc0cfcf72d5c66a8df3addb3de32b7b | add doc for Org API client | TattsGroup/octokit.net,rlugojr/octokit.net,adamralph/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,gabrielweyer/octokit.net,Sarmad93/octokit.net,kdolan/octokit.net,editor-tools/octokit.net,ChrisMissal/octokit.net,forki/octokit.net,shiftkey/octokit.net,magoswiat/octokit.net,bslliw/octokit.net,hahmed/octokit.net,... | Octokit/Clients/OrganizationsClient.cs | Octokit/Clients/OrganizationsClient.cs | using System;
#if NET_45
using System.Collections.Generic;
#endif
using System.Threading.Tasks;
namespace Octokit
{
/// <summary>
/// A client for GitHub's Orgs API.
/// </summary>
/// <remarks>
/// See the <a href="http://developer.github.com/v3/orgs/">Orgs API documentation</a> for more informat... | using System;
#if NET_45
using System.Collections.Generic;
#endif
using System.Threading.Tasks;
namespace Octokit
{
public class OrganizationsClient : ApiClient, IOrganizationsClient
{
public OrganizationsClient(IApiConnection client) : base(client)
{
}
public async Task<Organ... | mit | C# |
1deb2bfb9e4d2b1431e23fafe429358631be388d | Fix always match issue | Workshop2/noobot,noobot/noobot | src/Noobot.Core/MessagingPipeline/Middleware/ValidHandles/AlwaysMatchHandle.cs | src/Noobot.Core/MessagingPipeline/Middleware/ValidHandles/AlwaysMatchHandle.cs | namespace Noobot.Core.MessagingPipeline.Middleware.ValidHandles
{
public class AlwaysMatchHandle : IValidHandle
{
public bool IsMatch(string message)
{
return true;
}
public string HandleHelpText => string.Empty;
}
} | namespace Noobot.Core.MessagingPipeline.Middleware.ValidHandles
{
public class AlwaysMatchHandle : IValidHandle
{
public bool IsMatch(string message)
{
return true;
}
public string HandleHelpText => "<anything>";
}
} | mit | C# |
8c4840702defbfc083003a8184b61d0f75df8a23 | Fix LabelledValue<T>.Equals | cH40z-Lord/Stylet,canton7/Stylet,cH40z-Lord/Stylet,canton7/Stylet | Stylet/LabelledValue.cs | Stylet/LabelledValue.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Stylet
{
public class LabelledValue<T> : IEquatable<LabelledValue<T>>
{
public string Label { get; set; }
public T Value { get; set; }
public LabelledValue(str... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Stylet
{
public class LabelledValue<T> : IEquatable<LabelledValue<T>>
{
public string Label { get; set; }
public T Value { get; set; }
public LabelledValue(str... | mit | C# |
4816eb6e1489bca8861c8fb6db221b96b1f97fa5 | fix vari | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Models/Classi/ServiziEsterni/AFM/ErroreRichiestaSoccorsoAereo.cs | src/backend/SO115App.Models/Classi/ServiziEsterni/AFM/ErroreRichiestaSoccorsoAereo.cs | using System.Collections.Generic;
namespace SO115App.Models.Classi.ServiziEsterni.AFM
{
public class ErroreRichiestaSoccorsoAereo
{
public List<Errore> errors { get; set; }
public bool IsError() => errors != null && errors.Count > 0;
}
public class Errore
{
public string ... | using System.Collections.Generic;
namespace SO115App.Models.Classi.ServiziEsterni.AFM
{
public class ErroreRichiestaSoccorsoAereo
{
public List<Errore> errors { get; set; }
public bool IsError() => errors != null || errors.Count > 0;
}
public class Errore
{
public string ... | agpl-3.0 | C# |
f3d68c0ea9173c43514e072d4df0680a7d76da7e | Move Seq 'Compact' flag, default | mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection | Program.cs | Program.cs | namespace Cash_Flow_Projection
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Serilog;
using Serilog.Core;
public class Program
{
public static LoggingLevelSwitch LogLe... | namespace Cash_Flow_Projection
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Serilog;
using Serilog.Core;
public class Program
{
public static LoggingLevelSwitch LogLe... | mit | C# |
a0cdd62579f89432e3e36e55b8e9b3aa19399044 | Add mx handling and not implemented if non supported type request | fiinix00/DNSRootServerResolver | Program.cs | Program.cs | using ARSoft.Tools.Net.Dns;
using System;
using System.Net;
using System.Net.Sockets;
namespace DNSRootServerResolver
{
public class Program
{
public static void Main(string[] args)
{
using (var server = new DnsServer(IPAddress.Any, 25, 25, DnsServerHandler))
{
... | using ARSoft.Tools.Net.Dns;
using System;
using System.Net;
using System.Net.Sockets;
namespace DNSRootServerResolver
{
public class Program
{
public static void Main(string[] args)
{
using (var server = new DnsServer(IPAddress.Any, 25, 25, DnsServerHandler))
{
... | mit | C# |
d29310ed5eb27b2f69d712a86a015d33b7747fee | Update client logging function | godarklight/DarkMultiPlayer,Dan-Shields/DarkMultiPlayer,81ninja/DarkMultiPlayer,Sanmilie/DarkMultiPlayer,81ninja/DarkMultiPlayer,godarklight/DarkMultiPlayer | Client/Log.cs | Client/Log.cs | using System;
using System.IO;
using System.Collections.Generic;
using UnityEngine;
namespace DarkMultiPlayer
{
public class DarkLog
{
public static Queue<string> messageQueue = new Queue<string>();
private static object externalLogLock = new object();
public static void Debug(string m... | using System;
using System.IO;
using System.Collections.Generic;
using UnityEngine;
namespace DarkMultiPlayer
{
public class DarkLog
{
public static Queue<string> messageQueue = new Queue<string>();
private static object externalLogLock = new object();
public static void Debug(string m... | mit | C# |
9283b58fd1548941d2816a18e0137de32489913b | Implement SA1124 | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1124DoNotUseRegions.cs | StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1124DoNotUseRegions.cs | namespace StyleCop.Analyzers.ReadabilityRules
{
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
/// <summary>
/// The C# code contains a region.
... | namespace StyleCop.Analyzers.ReadabilityRules
{
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
/// <summary>
/// The C# code contains a region.
/// </summary>
/// <remarks>
/// <para>A violation of this rule occurs whenever a... | mit | C# |
14b4f528d1f5792f8efb8647a2f2ddd420bcaa80 | Make CommitExtensions public so that it can be used by classes extending standard SqlPersistenceEngine | NEventStore/NEventStore,marcoaoteixeira/NEventStore,D3-LucaPiombino/NEventStore,jamiegaines/NEventStore,AGiorgetti/NEventStore,paritoshmmmec/NEventStore,deltatre-webplu/NEventStore,chris-evans/NEventStore,nerdamigo/NEventStore,gael-ltd/NEventStore,adamfur/NEventStore | src/proj/EventStore.Persistence.SqlPersistence/CommitExtensions.cs | src/proj/EventStore.Persistence.SqlPersistence/CommitExtensions.cs | namespace EventStore.Persistence.SqlPersistence
{
using System;
using System.Collections.Generic;
using System.Data;
using Serialization;
public static class CommitExtensions
{
private const int StreamIdIndex = 0;
private const int StreamRevisionIndex = 1;
private const int CommitIdIndex = 2;
private con... | namespace EventStore.Persistence.SqlPersistence
{
using System;
using System.Collections.Generic;
using System.Data;
using Serialization;
internal static class CommitExtensions
{
private const int StreamIdIndex = 0;
private const int StreamRevisionIndex = 1;
private const int CommitIdIndex = 2;
private c... | mit | C# |
f77b143d2486b481b9a432fe1dc4c708ad55c91a | Change Entity.AddComponent to infer type instead of being generic. | ZachMassia/XNA_Project | ECS/Entity.cs | ECS/Entity.cs | using System;
using System.Collections.Generic;
namespace ECS
{
public sealed class Entity
{
// A unique ID representing the Entity. Will not be reused if
// the entity is deleted.
public long UniqueID { get; internal set; }
// The entity's components mapped to their type.
... | using System;
using System.Collections.Generic;
namespace ECS
{
public sealed class Entity
{
// A unique ID representing the Entity. Will not be reused if
// the entity is deleted.
public long UniqueID { get; internal set; }
// The entity's components mapped to their type.
... | mit | C# |
dfa49aea79036e551e8393f4be8cdc22b73671e4 | Add unity config | laedit/Borderlands2-Golden-Keys,laedit/Borderlands2-Golden-Keys | Borderlands2GoldendKeys/Borderlands2GoldendKeys/Global.asax.cs | Borderlands2GoldendKeys/Borderlands2GoldendKeys/Global.asax.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Borderlands2GoldendKeys
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Borderlands2GoldendKeys
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
... | apache-2.0 | C# |
1dd0ffbd5dffc3ef72f38a1c9f4f2c76e1ac74cf | Add tests | skonves/Konves.KScript | tests/Konves.KScript.UnitTests/InExpressionTestFixture.cs | tests/Konves.KScript.UnitTests/InExpressionTestFixture.cs | using System;
using Konves.KScript.Expressions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Linq;
namespace Konves.KScript.UnitTests
{
[TestClass]
public class InExpressionTestFixture
{
[TestCategory(nameof(InExpression))]
[TestMethod]
public void TestEv... | using System;
using Konves.KScript.Expressions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace Konves.KScript.UnitTests
{
[TestClass]
public class InExpressionTestFixture
{
[TestCategory(nameof(InExpression))]
[TestMethod]
public void TestEvaluate()
{
}
... | apache-2.0 | C# |
46ef17354ee1922f30ef2e64d38ee321455e0f2b | Simplify path construction | ppy/osu,UselessToucan/osu,smoogipoo/osu,2yangk23/osu,NeoAdonis/osu,ppy/osu,naoey/osu,ZLima12/osu,NeoAdonis/osu,ZLima12/osu,Nabile-Rahmani/osu,Frontear/osuKyzer,ppy/osu,peppy/osu,DrabWeb/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,johnneijzen/osu,peppy/osu-new,naoey/osu,smoogipoo/osu,UselessToucan/osu,naoey/osu,EVAST991... | osu.Game/Audio/SampleInfo.cs | osu.Game/Audio/SampleInfo.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.IO;
using osu.Framework.Audio.Sample;
namespace osu.Game.Audio
{
[Serializable]
public class SampleInfo
{
pu... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Audio.Sample;
namespace osu.Game.Audio
{
[Serializable]
public class SampleInfo
{
public const string ... | mit | C# |
3430f6f1faae0844e3024ce9ed13609fb5af9f97 | Refactor GeneralSettingsTests.GeneralAndNUnit test | atata-framework/atata-configuration-json | src/Atata.Configuration.Json.Tests/GeneralSettingsTests.cs | src/Atata.Configuration.Json.Tests/GeneralSettingsTests.cs | using System;
using FluentAssertions;
using FluentAssertions.Execution;
using NUnit.Framework;
namespace Atata.Configuration.Json.Tests
{
[TestFixture]
public class GeneralSettingsTests : TestFixture
{
[Test]
public void GeneralAndNUnit()
{
AtataContextBuilder builder =... | using System;
using FluentAssertions;
using FluentAssertions.Execution;
using NUnit.Framework;
namespace Atata.Configuration.Json.Tests
{
[TestFixture]
public class GeneralSettingsTests : TestFixture
{
[Test]
public void GeneralAndNUnit()
{
AtataContextBuilder builder =... | apache-2.0 | C# |
1681988c53a60b5e1a01a5da2f00b924844cf64a | remove navigation reset on close | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/AddWallet/Common/EnterPasswordViewModel.cs | WalletWasabi.Fluent/AddWallet/Common/EnterPasswordViewModel.cs | using ReactiveUI;
using System;
using System.Reactive.Linq;
using System.Windows.Input;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Fluent.AddWallet.CreateWallet;
using WalletWasabi.Fluent.ViewModels;
using WalletWasabi.Fluent.ViewModels.Dialogs;
using WalletWasabi.Gui;
using WalletWasabi.Gui.Validation;
usi... | using ReactiveUI;
using System;
using System.Reactive.Linq;
using System.Windows.Input;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Fluent.AddWallet.CreateWallet;
using WalletWasabi.Fluent.ViewModels;
using WalletWasabi.Fluent.ViewModels.Dialogs;
using WalletWasabi.Gui;
using WalletWasabi.Gui.Validation;
usi... | mit | C# |
4b9d2413ded4f44e625c04d91c4a047eb8ce36e2 | add overload to AutomaticPackageMigrationPlan | arknu/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,arknu/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,umbraco/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/U... | src/Umbraco.Infrastructure/Packaging/AutomaticPackageMigrationPlan.cs | src/Umbraco.Infrastructure/Packaging/AutomaticPackageMigrationPlan.cs | using System;
using System.Xml.Linq;
using Umbraco.Cms.Core.Packaging;
using Umbraco.Cms.Core.Services;
using Umbraco.Cms.Infrastructure.Migrations;
using Umbraco.Extensions;
namespace Umbraco.Cms.Infrastructure.Packaging
{
/// <summary>
/// Used to automatically indicate that a package has an embedded package... | using System;
using System.Xml.Linq;
using Umbraco.Cms.Core.Packaging;
using Umbraco.Cms.Core.Services;
using Umbraco.Cms.Infrastructure.Migrations;
using Umbraco.Extensions;
namespace Umbraco.Cms.Infrastructure.Packaging
{
/// <summary>
/// Used to automatically indicate that a package has an embedded package... | mit | C# |
c912a3c06b3f77589ce34cefe29dc4bc709f3453 | fix ladder time ui refresh on load race state | tawnkramer/sdsandbox,tawnkramer/sdsandbox | sdsim/Assets/Scripts/Race/RacePairUI.cs | sdsim/Assets/Scripts/Race/RacePairUI.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RacePairUI : MonoBehaviour
{
public Text racer1;
public Text racer2;
public Text place1;
public Text place2;
public Text racer1time;
public Text racer2time;
public Color win... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RacePairUI : MonoBehaviour
{
public Text racer1;
public Text racer2;
public Text place1;
public Text place2;
public Text racer1time;
public Text racer2time;
public Color win... | bsd-3-clause | C# |
fe2c639cf9666145d1d69f8c35014da7c520b73c | Set lang dir only if RTL | petedavis/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,OrchardCMS/Brochard,petedavis/Orchar... | src/OrchardCore.Modules/OrchardCore.Html/Views/HtmlBodyPart-Trumbowyg.Edit.cshtml | src/OrchardCore.Modules/OrchardCore.Html/Views/HtmlBodyPart-Trumbowyg.Edit.cshtml | @model HtmlBodyPartViewModel
@using OrchardCore.Html.ViewModels;
@using OrchardCore.Html.Settings;
@using OrchardCore.ContentLocalization
@using OrchardCore.ContentManagement.Metadata.Models
@using OrchardCore.Localization
@using System.Globalization
@{
var settings = Model.TypePartDefinition.GetSettings<HtmlBodyP... | @model HtmlBodyPartViewModel
@using OrchardCore.Html.ViewModels;
@using OrchardCore.Html.Settings;
@using OrchardCore.ContentLocalization
@using OrchardCore.ContentManagement.Metadata.Models
@using OrchardCore.Localization
@using System.Globalization
@{
var settings = Model.TypePartDefinition.GetSettings<HtmlBodyP... | bsd-3-clause | C# |
64f0d9bc40df1c1a195808bed75a95c5a521f16b | Fix logging | laurentkempe/HipChatConnect,laurentkempe/HipChatConnect | src/HipChatConnect/Controllers/Listeners/TeamCity/TeamCityListenerController.cs | src/HipChatConnect/Controllers/Listeners/TeamCity/TeamCityListenerController.cs | using System.Net;
using System.Threading.Tasks;
using HipChatConnect.Controllers.Listeners.TeamCity.Models;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace HipChatConnect.Controllers.Listeners.TeamCity
{
[Route("/teamcity/listener")]
public class TeamCityListenerCo... | using System.Net;
using System.Threading.Tasks;
using HipChatConnect.Controllers.Listeners.TeamCity.Models;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace HipChatConnect.Controllers.Listeners.TeamCity
{
[Route("/teamcity/listener")]
public class TeamCityListenerCo... | mit | C# |
a4e607dee1d3f288306a3af3daa88233ff8acfb6 | Add peter to contact | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | mit | C# |
2e698024abc3f185ea7ba0a43e12d91584209308 | Remove premature extension addition | agc93/DocCreator,agc93/DocCreator | src/MarkdownGenerator/Extensions.cs | src/MarkdownGenerator/Extensions.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MarkdownGenerator
{
public static class Extensions
{
public static void CopyDirectory(this DirectoryInfo source, DirectoryInfo target)
{
Co... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MarkdownGenerator
{
public static class Extensions
{
public static void CopyDirectory(this DirectoryInfo source, DirectoryInfo target)
{
Co... | mit | C# |
51031ba053456f219285a75988924c0f08dc2dcf | Remove unused constructor | OpenStreamDeck/StreamDeckSharp | src/StreamDeckSharp/RepaintQueue.cs | src/StreamDeckSharp/RepaintQueue.cs | using System;
using System.Collections.Generic;
using System.Threading;
namespace StreamDeckSharp
{
internal sealed class KeyRepaintQueue
{
private class KeyBitmapHolder
{
public byte[] bitmapData;
}
private readonly Queue<int> keyQueue = new Queue<int>();
... | using System;
using System.Collections.Generic;
using System.Threading;
namespace StreamDeckSharp
{
internal sealed class KeyRepaintQueue
{
private class KeyBitmapHolder
{
public byte[] bitmapData;
}
private readonly Queue<int> keyQueue = new Queue<int>();
... | mit | C# |
0f8368184e37cabe1a9e9412d2a735c23d7312f4 | Bump version | lars-erik/Our.Umbraco.Fluent.ContentTypes | Our.Umbraco.Fluent.ContentTypes/Properties/AssemblyInfo.cs | Our.Umbraco.Fluent.ContentTypes/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("Ou... | 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("Ou... | mit | C# |
2602dcbe6836d8874e81f4efd2893304dc0bf888 | Update StartupInterface.cs | WojcikMike/docs.particular.net | Snippets/Snippets_6/UpgradeGuides/5to6/StartupInterface.cs | Snippets/Snippets_6/UpgradeGuides/5to6/StartupInterface.cs | namespace Snippets6.Handlers
{
using System.Threading.Tasks;
using NServiceBus;
#region 5to6-IWantToRunWhenBusStartsAndStops
public class Bootstrapper : IWantToRunWhenBusStartsAndStops
{
public Task Start(IBusSession session)
{
// Do your startup action here.
... | namespace Snippets6.Handlers
{
using System.Threading.Tasks;
using NServiceBus;
#region 5to6-IWantToRunWhenBusStartsAndStops
public class Bootstrapper : IWantToRunWhenBusStartsAndStops
{
public Task Start(IBusSession session)
{
// Do your startup action here.
... | apache-2.0 | C# |
08fc056a318c50a23baaa8379aaa1db6d2a6e0b6 | make code optional on service error api event | devdigital/AutoResponse | Source/AutoResponse.Core/ApiEvents/ServiceErrorApiEvent.cs | Source/AutoResponse.Core/ApiEvents/ServiceErrorApiEvent.cs | namespace AutoResponse.Core.ApiEvents
{
using System;
public class ServiceErrorApiEvent : IAutoResponseApiEvent
{
public ServiceErrorApiEvent(string code, string message)
{
if (string.IsNullOrWhiteSpace(nameof(message)))
{
throw new ArgumentNullExcept... | namespace AutoResponse.Core.ApiEvents
{
using System;
public class ServiceErrorApiEvent : IAutoResponseApiEvent
{
public ServiceErrorApiEvent(string code, string message)
{
if (string.IsNullOrWhiteSpace(nameof(message)))
{
throw new ArgumentNullExcept... | mit | C# |
7e127cec131d418f54827ea5cd666131abb5503a | Support encrypted RSA 4096 keys (#1236) | bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core | src/Core/Models/Api/CipherFieldModel.cs | src/Core/Models/Api/CipherFieldModel.cs | using System.ComponentModel.DataAnnotations;
using Bit.Core.Enums;
using Bit.Core.Models.Data;
using Bit.Core.Utilities;
namespace Bit.Core.Models.Api
{
public class CipherFieldModel
{
public CipherFieldModel() { }
public CipherFieldModel(CipherFieldData data)
{
Type = dat... | using System.ComponentModel.DataAnnotations;
using Bit.Core.Enums;
using Bit.Core.Models.Data;
using Bit.Core.Utilities;
namespace Bit.Core.Models.Api
{
public class CipherFieldModel
{
public CipherFieldModel() { }
public CipherFieldModel(CipherFieldData data)
{
Type = dat... | agpl-3.0 | C# |
8b0ed3d2bda88c6ce0f3c7b7e6e560861b1f4ea7 | optimize codacy | minhhungit/DatabaseMigrateExt | Src/DatabaseMigrateExt/Attributes/ExtMigrationAttribute.cs | Src/DatabaseMigrateExt/Attributes/ExtMigrationAttribute.cs | using FluentMigrator;
namespace DatabaseMigrateExt.Attributes
{
public class ExtMigrationAttribute : MigrationAttribute
{
public ExtMigrationAttribute(DatabaseScriptType scriptType, int year, int month, int day, int hour, int minute, int second)
: base(CalculateValue(scriptType, year, mo... | using FluentMigrator;
namespace DatabaseMigrateExt.Attributes
{
public class ExtMigrationAttribute : MigrationAttribute
{
public ExtMigrationAttribute(DatabaseScriptType scriptType, int year, int month, int day, int hour, int minute, int second, bool useTransaction = true)
: base(Calcula... | mit | C# |
28f5d9c4d62eefb8f0302dcf40055710816c5f9c | fix to loading of SqlMembershipProvider | martijnboland/RavenDBMembership,martijnboland/RavenDBMembership | src/RavenDBMembership.IntegrationTests/ProviderFixtures/FixtureForSqlMembershipProvider.cs | src/RavenDBMembership.IntegrationTests/ProviderFixtures/FixtureForSqlMembershipProvider.cs | using System;
using System.Collections.Specialized;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Web.Configuration;
using System.Web.Security;
using NUnit.Framework;
namespace RavenDBMembership.IntegrationTests.ProviderFixtures
{
public class Fi... | using System.Collections.Specialized;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Web.Security;
using NUnit.Framework;
namespace RavenDBMembership.IntegrationTests.ProviderFixtures
{
public class FixtureForSqlMembershipProvider : MembershipProvid... | mit | C# |
ed8827a6f2636df01143cdf9b399d97ebbc8cf6c | Remove some CAS cruft (dotnet/coreclr#22576) | shimingsg/corefx,shimingsg/corefx,BrennanConroy/corefx,ericstj/corefx,ericstj/corefx,shimingsg/corefx,ericstj/corefx,ViktorHofer/corefx,ptoonen/corefx,wtgodbe/corefx,wtgodbe/corefx,ericstj/corefx,wtgodbe/corefx,ViktorHofer/corefx,ViktorHofer/corefx,ericstj/corefx,ptoonen/corefx,ericstj/corefx,ViktorHofer/corefx,wtgodbe... | src/Common/src/CoreLib/System/Security/SuppressUnmanagedCodeSecurityAttribute.cs | src/Common/src/CoreLib/System/Security/SuppressUnmanagedCodeSecurityAttribute.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.Security
{
// SuppressUnmanagedCodeSecurityAttribute:
// This attribute has no functional ... | // 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.Security
{
// SuppressUnmanagedCodeSecurityAttribute:
// Indicates that the target P/Invok... | mit | C# |
7ccd04fd03349e01dae9a79385e3903e29ec9ab9 | Change the Script Task use Monaco Editor (#10715) | stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2 | src/OrchardCore.Modules/OrchardCore.Workflows/Views/Items/ScriptTask.Fields.Edit.cshtml | src/OrchardCore.Modules/OrchardCore.Workflows/Views/Items/ScriptTask.Fields.Edit.cshtml | @using OrchardCore.Workflows.ViewModels;
@model ScriptTaskViewModel
<div class="form-group" asp-validation-class-for="AvailableOutcomes">
<label asp-for="AvailableOutcomes">@T["Available Outcomes"]</label>
<input asp-for="AvailableOutcomes" class="form-control" />
<span asp-validation-for="AvailableOutcome... | @using OrchardCore.Workflows.ViewModels;
@model ScriptTaskViewModel
<div class="form-group" asp-validation-class-for="AvailableOutcomes">
<label asp-for="AvailableOutcomes">@T["Available Outcomes"]</label>
<input asp-for="AvailableOutcomes" class="form-control" />
<span asp-validation-for="AvailableOutcome... | bsd-3-clause | C# |
c8853406afb9e79d5cf14919db0f2ca25557c0cd | Add missing namespace to resolve asset retargeting failures | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit.SDK/Features/Input/Handlers/TouchHandler.cs | Assets/MixedRealityToolkit.SDK/Features/Input/Handlers/TouchHandler.cs | using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.UI;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Input
{
public class TouchHandler : MonoBehaviour, IMixedRealityTouchHandler
{
#region Event han... | using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.UI;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TouchHandler : MonoBehaviour, IMixedRealityTouchHandler
{
#region Event handlers
public TouchEvent OnTouchStarted = new TouchEvent()... | mit | C# |
cfac6aa02094819b1baad40c3c784e1d30211254 | fix dll reference | sebastus/AzureFunctionForSplunk | shared/obRelay.csx | shared/obRelay.csx | #r "bin\Microsoft.Azure.Relay.dll"
#load "newEvent.csx"
#load "getEnvironmentVariable.csx"
using System;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Relay;
public static async Task obRelay(string[] standardizedEvents, TraceWriter log)
{
string n... | #r "Microsoft.Azure.Relay"
#load "newEvent.csx"
#load "getEnvironmentVariable.csx"
using System;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Relay;
public static async Task obRelay(string[] standardizedEvents, TraceWriter log)
{
string newClient... | mit | C# |
a152ce1e7431adcf0cd766de26c3644f6b2be467 | Update AttachEditorBehavior.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Behaviors/AttachEditorBehavior.cs | src/Core2D/Behaviors/AttachEditorBehavior.cs | #nullable enable
using Avalonia.Controls;
using Avalonia.Xaml.Interactivity;
namespace Core2D.Behaviors;
public class AttachEditorBehavior : Behavior<Control>
{
private AttachEditor? _input;
protected override void OnAttached()
{
base.OnAttached();
if (AssociatedObject is { })
{... | #nullable enable
using Avalonia.Controls;
using Avalonia.Xaml.Interactivity;
namespace Core2D.Behaviors;
public class AttachEditorBehavior : Behavior<Control>
{
private AttachEditor _input;
protected override void OnAttached()
{
base.OnAttached();
if (AssociatedObject is { })
{
... | mit | C# |
9703304537027e9feed29e6515be098c57c660b5 | Implement ESDATModel test for OSM2.Actions | kgarsuta/Hatfield.EnviroData.DataAcquisition,gvassas/Hatfield.EnviroData.DataAcquisition,HatfieldConsultants/Hatfield.EnviroData.DataAcquisition | Test/Hatfield.EnviroData.DataAcquisition.ESDAT.Test/Converters/ESDATDataConverterTest.cs | Test/Hatfield.EnviroData.DataAcquisition.ESDAT.Test/Converters/ESDATDataConverterTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Moq;
using Hatfield.EnviroData.Core;
using Hatfield.EnviroData.DataAcquisition.ESDAT;
using Hatfield.EnviroData.DataAcquisition.ESDAT.Converters;
namespace Hatfield.EnviroData.DataAcquisition.ESDAT.Test.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Hatfield.EnviroData.DataAcquisition.ESDAT.Test.Converters
{
class ESDATDataConverterTest
{
}
}
| mpl-2.0 | C# |
017c781279bbbe08cf790f0607d89ba5abaf8ed3 | Comment test | vbatrla/PowerManager | tests/VB.PowerManager.Tests/View/MenuItemsNotifierTests.cs | tests/VB.PowerManager.Tests/View/MenuItemsNotifierTests.cs | namespace VB.PowerManager.Tests.View
{
using System.ComponentModel;
using NSubstitute;
using NUnit.Framework;
using VB.PowerManager.View;
using VB.PowerManager.View.Interfaces;
[TestFixture]
public class MenuItemsNotifierTests
{
public MenuItemsNotifier Notifier = new MenuItems... | namespace VB.PowerManager.Tests.View
{
using System.ComponentModel;
using NSubstitute;
using NUnit.Framework;
using VB.PowerManager.View;
using VB.PowerManager.View.Interfaces;
[TestFixture]
public class MenuItemsNotifierTests
{
public MenuItemsNotifier Notifier = new MenuItems... | mit | C# |
826a2274d6b8eac1e3c795d9a12b2f9dfdad6490 | Use HTTPS link | ritterim/silverpop-dotnet-api | samples/Silverpop.Client.WebTester/Views/Shared/_Layout.cshtml | samples/Silverpop.Client.WebTester/Views/Shared/_Layout.cshtml | @{
var applicationName = "Silverpop Transact Tester";
}
<!DOCTYPE html>
<html>
<head>
<title>@applicationName</title>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/Assets/site.css" />
</head>
<body... | @{
var applicationName = "Silverpop Transact Tester";
}
<!DOCTYPE html>
<html>
<head>
<title>@applicationName</title>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/Assets/site.css" />
</head>
<body... | mit | C# |
06ba22da6cdfce57572562c51f3ba1236ea67954 | Update XML documentation for TreeWalkerExtensions.PostOrderTraversal | jasonmcboyd/Treenumerable | Source/Treenumerable/TreeWalkerExtensions/TreeWalkerExtensions.PostOrderTraversal.cs | Source/Treenumerable/TreeWalkerExtensions/TreeWalkerExtensions.PostOrderTraversal.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Treenumerable
{
public static partial class TreeWalkerExtensions
{
/// <summary>
/// Enumerates a tree using the postorder traversal method.
/// </summary>
/// <typeparam name="T">The type of elements ... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Treenumerable
{
public static partial class TreeWalkerExtensions
{
/// <summary>
///
/// </summary>
/// <typeparam name="T">The type of elements in the tree.</typeparam>
/// <param name="walke... | mit | C# |
ec76dfe8e5dbdc966ed1ad33504e267249d0c02f | add method mavenTest | exKAZUu/XMutator | XMutator/Program.cs | XMutator/Program.cs | using System;
using Mono.Options;
using Paraiba.Linq;
namespace XMutator {
internal class Program {
// run maven test
private static string mavenTest(string dirPath) {
System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.FileName = System.Environment... | using System;
using Mono.Options;
using Paraiba.Linq;
namespace XMutator {
internal class Program {
private static void Main(string[] args) {
var csv = false;
var help = false;
var p = new OptionSet {
{ "c|csv", v => csv = v != null },
{ ... | apache-2.0 | C# |
717b3e1c4b012a9660cd19f147c9e8154147177d | Remove and sort usings | mgoertz-msft/roslyn,weltkante/roslyn,reaction1989/roslyn,tannergooding/roslyn,agocke/roslyn,panopticoncentral/roslyn,genlu/roslyn,shyamnamboodiripad/roslyn,sharwell/roslyn,CaptainHayashi/roslyn,abock/roslyn,amcasey/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,khyperia/roslyn,VSadov/roslyn,AdamSpeight2008/roslyn-AdamSp... | src/VisualStudio/Core/Def/Implementation/ProjectSystem/DocumentProvider.TextBufferDataEventsSink.cs | src/VisualStudio/Core/Def/Implementation/ProjectSystem/DocumentProvider.TextBufferDataEventsSink.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.VisualStudio.TextManager.Interop;
namespace Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem
{
interna... | // 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 Microsoft.VisualStudio;
using Microsoft.VisualStudio.TextManager.Interop;
using System;
namespace Microsoft.VisualStudio.LanguageServices.Implementati... | mit | C# |
a77df68909defb3bf62223d7bb8187b160cd9642 | Fix repository permission checks. Yes, that was stupid. | Webmine/Bonobo-Git-Server,PGM-NipponSysits/IIS.Git-Connector,Acute-sales-ltd/Bonobo-Git-Server,padremortius/Bonobo-Git-Server,larshg/Bonobo-Git-Server,padremortius/Bonobo-Git-Server,Acute-sales-ltd/Bonobo-Git-Server,crowar/Bonobo-Git-Server,Ollienator/Bonobo-Git-Server,PGM-NipponSysits/IIS.Git-Connector,RedX2501/Bonobo... | Bonobo.Git.Server/Security/ADRepositoryPermissionService.cs | Bonobo.Git.Server/Security/ADRepositoryPermissionService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Bonobo.Git.Server.Data;
using Bonobo.Git.Server.Models;
using Microsoft.Practices.Unity;
namespace Bonobo.Git.Server.Security
{
public class ADRepositoryPermissionService : IRepositoryPermissionService
{
[Depe... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Bonobo.Git.Server.Data;
using Bonobo.Git.Server.Models;
using Microsoft.Practices.Unity;
namespace Bonobo.Git.Server.Security
{
public class ADRepositoryPermissionService : IRepositoryPermissionService
{
[Depe... | mit | C# |
40e64d341ae3e5a684ebcdc3ee4a8471c5757a79 | remove unused code | kreeben/resin,kreeben/resin | src/ResinCore/DocumentPosting.cs | src/ResinCore/DocumentPosting.cs | using System.Diagnostics;
namespace Resin
{
[DebuggerDisplay("{DocumentId}:{Position}")]
public struct DocumentPosting
{
public int DocumentId { get; private set; }
public int Position { get; set; }
public bool HasValue { get; set; }
public DocumentPosting(int documentId, i... | using System.Diagnostics;
namespace Resin
{
[DebuggerDisplay("{DocumentId}:{Position}")]
public struct DocumentPosting
{
public int DocumentId { get; private set; }
public int Position { get; set; }
public bool HasValue { get; set; }
public DocumentPosting(int documentId, i... | mit | C# |
bb2c7951b59e6edd4a082c7b9de5b418e0c60be2 | Use result of TgaSharpLib benchmark for best practice | nickbabcock/Pfim,nickbabcock/Pfim | src/Pfim.Benchmarks/TargaBenchmark.cs | src/Pfim.Benchmarks/TargaBenchmark.cs | using System.IO;
using BenchmarkDotNet.Attributes;
using DmitryBrant.ImageFormats;
using FreeImageAPI;
using ImageMagick;
using StbSharp;
using DS = DevILSharp;
namespace Pfim.Benchmarks
{
public class TargaBenchmark
{
[Params("true-32-rle-large.tga", "true-24-large.tga", "true-24.tga", "true-32-rle.t... | using System.IO;
using BenchmarkDotNet.Attributes;
using DmitryBrant.ImageFormats;
using FreeImageAPI;
using ImageMagick;
using StbSharp;
using DS = DevILSharp;
namespace Pfim.Benchmarks
{
public class TargaBenchmark
{
[Params("true-32-rle-large.tga", "true-24-large.tga", "true-24.tga", "true-32-rle.t... | mit | C# |
03a4ded0a9eb95dde3c2b65710a19c60ae7b8b8a | Update test messages count | EasyNetQ/EasyNetQ,micdenny/EasyNetQ | Source/EasyNetQ.IntegrationTests/PubSub/When_publish_and_subscribe_with_queue_type.cs | Source/EasyNetQ.IntegrationTests/PubSub/When_publish_and_subscribe_with_queue_type.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using EasyNetQ.IntegrationTests.Utils;
using FluentAssertions;
using Xunit;
namespace EasyNetQ.IntegrationTests.PubSub
{
[Collection("RabbitMQ")]
public class When_publish_and_subscribe_with... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using EasyNetQ.IntegrationTests.Utils;
using FluentAssertions;
using Xunit;
namespace EasyNetQ.IntegrationTests.PubSub
{
[Collection("RabbitMQ")]
public class When_publish_and_subscribe_with... | mit | C# |
ec259706585c58f15d9ae2cfd3840dbb46f1b787 | Fix performance tests GC | MarinAtanasov/AppBrix,MarinAtanasov/AppBrix.NetCore | Tests/AppBrix.Tests/TestUtils.cs | Tests/AppBrix.Tests/TestUtils.cs | // Copyright (c) MarinAtanasov. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the project root for license information.
//
using AppBrix.Configuration;
using AppBrix.Configuration.Memory;
using AppBrix.Modules;
using FluentAssertions;
using System;
using System.Linq;
namespace AppBri... | // Copyright (c) MarinAtanasov. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the project root for license information.
//
using AppBrix.Configuration;
using AppBrix.Configuration.Memory;
using AppBrix.Modules;
using FluentAssertions;
using System;
using System.Linq;
namespace AppBri... | mit | C# |
2a1922f56f4017bff232917b25c24d80b77f37e5 | Fix incorrect exception type | csf-dev/ZPT-Sharp,csf-dev/ZPT-Sharp | ExpressionEvaluators/CSF.Zpt.ExpressionEvaluators.LoadExpressions/UnsupportedDocumentTypeException.cs | ExpressionEvaluators/CSF.Zpt.ExpressionEvaluators.LoadExpressions/UnsupportedDocumentTypeException.cs | using System;
namespace CSF.Zpt.ExpressionEvaluators.LoadExpressions
{
/// <summary>
/// Exception raised when an unsupported document type is used with a 'load:' expression.
/// </summary>
[Serializable]
public class UnsupportedDocumentTypeException : ZptException
{
/// <summary>
/// Initializes... | using System;
namespace CSF.Zpt.ExpressionEvaluators.LoadExpressions
{
/// <summary>
/// Exception raised when an unsupported document type is used with a 'load:' expression.
/// </summary>
[Serializable]
public class UnsupportedDocumentTypeException : Exception
{
/// <summary>
/// Initializes a ... | mit | C# |
24e43b005815617cfad5e507754c718bb8b2f17b | Maintain checkbox/radio input state on re-displaying a form after validation errors. (#9412) | stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2 | src/OrchardCore.Modules/OrchardCore.Forms/Views/Items/InputPart.cshtml | src/OrchardCore.Modules/OrchardCore.Forms/Views/Items/InputPart.cshtml | @using OrchardCore.Forms.Models
@model ShapeViewModel<InputPart>
@{
var formElementPart = Model.Value.ContentItem.As<FormElementPart>();
var formInputElementPart = Model.Value.ContentItem.As<FormInputElementPart>();
var elementId = formElementPart.Id;
var fieldName = formInputElementPart.Name;
var f... | @using OrchardCore.Forms.Models
@model ShapeViewModel<InputPart>
@{
var formElementPart = Model.Value.ContentItem.As<FormElementPart>();
var formInputElementPart = Model.Value.ContentItem.As<FormInputElementPart>();
var elementId = formElementPart.Id;
var fieldName = formInputElementPart.Name;
var f... | bsd-3-clause | C# |
504d5a3d6ed49988be341b33994c90e6815e761f | Add benchmark for `IBindable.CreateInstance` | ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework | osu.Framework.Benchmarks/BenchmarkBindableInstantiation.cs | osu.Framework.Benchmarks/BenchmarkBindableInstantiation.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 BenchmarkDotNet.Attributes;
using osu.Framework.Bindables;
namespace osu.Framework.Benchmarks
{
public class BenchmarkBindableInstantiation
{... | // 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 BenchmarkDotNet.Attributes;
using osu.Framework.Bindables;
namespace osu.Framework.Benchmarks
{
public class BenchmarkBindableInstantiation
{... | mit | C# |
22f3fd487b9cb7f346f068200b02f4fdf611e677 | Mark test as headless | UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,peppy/osu | osu.Game.Tests/Gameplay/TestSceneGameplayClockContainer.cs | osu.Game.Tests/Gameplay/TestSceneGameplayClockContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu;
using osu.Game.Screens.Play;
using osu.Game.T... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using NUnit.Framework;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu;
using osu.Game.Screens.Play;
using osu.Game.Tests.Visual;
namespace osu.G... | mit | C# |
c0c449e453d2a71043386cf120a633c40ff2c123 | Remove unused using | johnneijzen/osu,2yangk23/osu,DrabWeb/osu,johnneijzen/osu,ppy/osu,DrabWeb/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,EVAST9919/osu,NeoAdonis/osu,DrabWeb/osu,peppy/osu,UselessToucan/osu,EVAST9919/osu,ZLima12/osu,smoogipooo/osu,smoogipoo/osu,naoey/osu,ZLima12/osu,ppy/osu,UselessToucan/osu,Useles... | osu.Game/Graphics/UserInterface/ScreenBreadcrumbControl.cs | osu.Game/Graphics/UserInterface/ScreenBreadcrumbControl.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Linq;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Screens;
namespace osu.Game.Graphics.UserInterface
{
/// <summary>
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Linq;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Screens;
namespace osu.Game.Graphics.UserInterface
{
///... | mit | C# |
3778250fa467246b1ba031e5f73d253437b2e893 | Fix test to use the appropriate config | asd-and-Rizzo/ExpressionToCode,EamonNerbonne/ExpressionToCode | ExpressionToCodeTest/AnonymousObjectFormattingTest.cs | ExpressionToCodeTest/AnonymousObjectFormattingTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExpressionToCodeLib;
using Xunit;
namespace ExpressionToCodeTest
{
public class AnonymousObjectFormattingTest
{
[Fact]
public void AnonymousObjectsRenderAsCode... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExpressionToCodeLib;
using Xunit;
namespace ExpressionToCodeTest
{
public class AnonymousObjectFormattingTest
{
[Fact]
public void AnonymousObjectsRenderAsCode... | apache-2.0 | C# |
bda998b14f4cf6b47ebe99fad7d9f00c07e277c0 | add test | prodot/ReCommended-Extension | Sources/ReCommendedExtension.Tests/test/data/ContextActions/AddConfigureAwait/Availability.cs | Sources/ReCommendedExtension.Tests/test/data/ContextActions/AddConfigureAwait/Availability.cs | using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace Test
{
internal class Availability
{
async Task TaskWithoutResult()
{
aw{on}ait Task.Run(() => { });
aw{off}ait Task.Yield();
}
async Task TaskWithResult()
... | using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace Test
{
internal class Availability
{
async Task TaskWithoutResult()
{
aw{on}ait Task.Run(() => { });
aw{off}ait Task.Yield();
}
async Task TaskWithResult()
... | apache-2.0 | C# |
54b3a84a2282ae77cbe714b696adbbf5c2be008c | Use EditorGUI.EnumFlagsField instead of EditorGUI.EnumMaskField in Unity 2017.3 and newer | SlashGames/slash-framework,SlashGames/slash-framework,SlashGames/slash-framework | Source/Slash.Unity.Editor.Common/Source/Utils/EnumFlagPropertyDrawer.cs | Source/Slash.Unity.Editor.Common/Source/Utils/EnumFlagPropertyDrawer.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="EnumFlagPropertyDrawer.cs" company="Slash Games">
// Copyright (c) Slash Games. All rights reserved.
// </copyright>
// ---------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="EnumFlagPropertyDrawer.cs" company="Slash Games">
// Copyright (c) Slash Games. All rights reserved.
// </copyright>
// ---------------------------------------------------------... | mit | C# |
e4eefdd9e12b2a4ff300b97eadb48ba892e4df54 | Add input type Url (#4535) | petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,petedavis/Orchard2,petedavis/Orchard2,stevetayloruk/Or... | src/OrchardCore.Modules/OrchardCore.Forms/Views/Items/InputPart.Fields.Edit.cshtml | src/OrchardCore.Modules/OrchardCore.Forms/Views/Items/InputPart.Fields.Edit.cshtml | @using OrchardCore.Forms.ViewModels;
@model InputPartEditViewModel
<fieldset class="form-group">
<label asp-for="Type">@T["Type"]</label>
<select asp-for="Type" class="form-control content-preview-select">
<option value="text">@T["Text"]</option>
<option value="number">@T["Number"]</option>
... | @using OrchardCore.Forms.ViewModels;
@model InputPartEditViewModel
<fieldset class="form-group">
<label asp-for="Type">@T["Type"]</label>
<select asp-for="Type" class="form-control content-preview-select">
<option value="text">@T["Text"]</option>
<option value="number">@T["Number"]</option>
... | bsd-3-clause | C# |
56581f712b47c480000f889f729400e7afdc6f76 | add properties | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/UserAlert.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/UserAlert.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class UserAlert
{
public Guid user_id { get; set; }
public string email { get; set; }
public string name { get; set; }
pub... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class UserAlert
{
}
}
| apache-2.0 | C# |
416a43f0b155cc8d6bd885428cde90d6b0e26a1a | Fix update installer not running as administrator due to breaking change in .NET | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | windows/TweetDuck/Updates/UpdateInstaller.cs | windows/TweetDuck/Updates/UpdateInstaller.cs | using System;
using System.ComponentModel;
using System.Diagnostics;
using TweetDuck.Configuration;
using TweetLib.Core;
using TweetLib.Utils.Static;
namespace TweetDuck.Updates {
sealed class UpdateInstaller {
private string Path { get; }
public UpdateInstaller(string path) {
this.Path = path;
}
public... | using System;
using System.ComponentModel;
using System.Diagnostics;
using TweetDuck.Configuration;
using TweetLib.Core;
using TweetLib.Utils.Static;
namespace TweetDuck.Updates {
sealed class UpdateInstaller {
private string Path { get; }
public UpdateInstaller(string path) {
this.Path = path;
}
public... | mit | C# |
30ab3b1fde3908e8bba501b663ee688cee70637b | Introduce AnonymousObservable | citizenmatt/ndc-london-2013 | rx/rx/Program.cs | rx/rx/Program.cs | using System;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace rx
{
class Program
{
static void Main(string[] args)
{
var subject = new Subject<string>();
using (subject.Subscribe(new AnonymousBobserver<string>(s => Console... | using System;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace rx
{
class Program
{
static void Main(string[] args)
{
var subject = new Subject<string>();
using (subject.Subscribe(new AnonymousBobserver<string>(s => Console... | mit | C# |
687ee0f48ebee772bd79a5b7711820a9eceef3b7 | sort in dropDownElements | kicholen/SpaceShooter,kicholen/GamePrototype | Assets/EditorScript/View/Level/Hud/RightBottomPanel/RightBottomPanelViewUpdaterBase.cs | Assets/EditorScript/View/Level/Hud/RightBottomPanel/RightBottomPanelViewUpdaterBase.cs | using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
public class RightBottomPanelViewUpdaterBase {
protected GameObject createInputElement(string infoText, string defaultText, UnityAction<string> onValueChange) {
Ga... | using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
public class RightBottomPanelViewUpdaterBase {
protected GameObject createInputElement(string infoText, string defaultText, UnityAction<string> onValueChange) {
GameObject gameOb... | mit | C# |
945a20c1ab0d1d8d8badae050bcb405d87d514e5 | Update VenusianNameGenerator.cs | Team-Captain-Marvel-2016/Team-Captain-Marvel-2016-Project,Team-Captain-Marvel-2016/Team-Captain-Marvel-2016-Project,Team-Captain-Marvel-2016/TeamWorkSkeletonSample,Team-Captain-Marvel-2016/TeamWorkSkeletonSample | TeamWorkSkeleton/FootballPlayerAssembly/SpeciesNameGenerators/VenusianNameGenerator.cs | TeamWorkSkeleton/FootballPlayerAssembly/SpeciesNameGenerators/VenusianNameGenerator.cs | namespace FootballPlayerAssembly.SpeciesNameGenerators
{
using System;
using System.Collections.Generic;
using System.Text;
internal static class VenusianNameGenerator
{
internal static Dictionary<int, string> FirstPartName = new Dictionary<int, string>()
{
{ 0 , "Mia" ... | namespace FootballPlayerAssembly.SpeciesNameGenerators
{
internal static class VenusianNameGenerator
{
internal static string GenerateName()
{
// TODO:
return "Venusian";
}
}
}
| mit | C# |
47d1065c64f15c3e3927d1299947727fbcb69608 | Exit the application at Windows shutdown | peruukki/ComputerTimeTracker | Application/TimeReport.cs | Application/TimeReport.cs | using System;
using System.Windows.Forms;
namespace ComputerTimeTracker
{
/// <summary>
/// The form that shows the computer usage time report.
/// </summary>
public partial class TimeReport : Form
{
private bool _close = false;
/// <summary>
/// Creates a new TimeReport instance.
/// </summ... | using System;
using System.Windows.Forms;
namespace ComputerTimeTracker
{
/// <summary>
/// The form that shows the computer usage time report.
/// </summary>
public partial class TimeReport : Form
{
private bool _close = false;
/// <summary>
/// Creates a new TimeReport instance.
/// </summ... | mit | C# |
bbf17d3bf6b891f5dca52349356f1750855b0e51 | fix ai gommba | llafuente/unity-platformer,llafuente/unity-platformer | Assets/UnityPlatformer/Scripts/AI/AIGoomba.cs | Assets/UnityPlatformer/Scripts/AI/AIGoomba.cs | using System;
using UnityEngine;
namespace UnityPlatformer {
///<summary>
/// Patrol Artificial inteligence.
/// NOTE does not require Actions but it's recommended:
/// CharacterActionAirMovement and/or CharacterActionGroundMovement
///</summary>
public class AIGoomba: Enemy {
#region public
publi... | using System;
using UnityEngine;
namespace UnityPlatformer {
///<summary>
/// Patrol Artificial inteligence.
/// NOTE does not require Actions but it's recommended:
/// CharacterActionAirMovement and/or CharacterActionGroundMovement
///</summary>
public class AIGoomba: Enemy {
#region public
publi... | mit | C# |
f130b1cfbcd55a29dc0e62d9a651b1f06ae4c651 | Add missing license header | rlmcneary2/CefSharp,rlmcneary2/CefSharp,illfang/CefSharp,windygu/CefSharp,haozhouxu/CefSharp,AJDev77/CefSharp,joshvera/CefSharp,rover886/CefSharp,ITGlobal/CefSharp,dga711/CefSharp,joshvera/CefSharp,joshvera/CefSharp,gregmartinhtc/CefSharp,VioletLife/CefSharp,AJDev77/CefSharp,haozhouxu/CefSharp,wangzheng888520/CefSharp,... | CefSharp/Response.cs | CefSharp/Response.cs | // Copyright © 2010-2014 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;
namespace CefSharp
{
public class Response : IResponse
{
public String RedirectUrl { get; private set; }
pu... | using System;
namespace CefSharp
{
public class Response : IResponse
{
public String RedirectUrl { get; private set; }
public ResponseAction Action { get; private set; }
public Response()
{
Action = ResponseAction.Continue;
}
public void Cancel()
... | bsd-3-clause | C# |
e11032215850c9fa04707bcdad6c2f090e05c0f0 | Update ExampleApp_NetCore20_NetStandard20--added the following: | Payoneer-Escrow/payoneer-escrow-csharp-dotnet | ExampleApp_NetCore20_NetStandard20/Program.cs | ExampleApp_NetCore20_NetStandard20/Program.cs | using System;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
namespace ExampleApp_NetCore20_NetStandard20
{
class Program
{
static void Main(string[] args)
{
////////////////////////////////////////////////////////////////////
// Add your API key and secret before running this example... | using System;
namespace ExampleApp_NetCore20_NetStandard20
{
class Program
{
static void Main(string[] args)
{
// Get Payoneer Escrow client to make requests
PayoneerEscrow.Api.Client client = new PayoneerEscrow.Api.Client(
"your_api_key",
"your_api_secret",
true);
try
{
... | mit | C# |
a141186aaad99ffd0017505da0298040efcda794 | Set default delay value = 1000 | avatar29A/Last.fm | src/Hqub.Lastfm/Configure.cs | src/Hqub.Lastfm/Configure.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hqub.Lastfm
{
public static class Configure
{
static Configure()
{
Delay = 1000;
}
/// <summary>
/// Set value delay between requests.
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hqub.Lastfm
{
public static class Configure
{
/// <summary>
/// Set value delay between requests.
/// </summary>
public static int Delay { get; set; }
}
... | mit | C# |
a60e150296d29923dce1dcbf4c5f273be7dd74d7 | revert changes in DataCenterLimits.cs as the Hd...Limit gets returned as Disk...Limit | dfensgmbh/biz.dfch.CS.Abiquo.Client | src/biz.dfch.CS.Abiquo.Client/v1/Model/DataCenterLimits.cs | src/biz.dfch.CS.Abiquo.Client/v1/Model/DataCenterLimits.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# |
0a99d9617d9e7e9a2d7ce07a0e6bccf408733527 | Update IBattery.shared.cs | jamesmontemagno/BatteryPlugin | src/Battery.Plugin/IBattery.shared.cs | src/Battery.Plugin/IBattery.shared.cs | using System;
namespace Plugin.Battery.Abstractions
{
/// <summary>
/// Interface for Battery
/// </summary>
public interface IBattery : IDisposable
{
/// <summary>
/// Current battery level 0 - 100
/// </summary>
int RemainingChargePercent { get; }
/// <su... | using System;
namespace Plugin.Battery.Abstractions
{
/// <summary>
/// Interface for Battery
/// </summary>
public interface IBattery : IDisposable
{
/// <summary>
/// Current battery level 0 - 100
/// </summary>
int RemainingChargePercent { get; }
/// <su... | mit | C# |
46448980dadfb0bf5861f6122f6e16a4c07695ff | Remove .netstandard1.3 from build.cake | AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp | build.cake | build.cake | var target = Argument("target", "Default");
var projectName = "AngleSharp";
var solutionName = "AngleSharp.Core";
var frameworks = new Dictionary<String, String>
{
{ "net46", "net46" },
{ "net461", "net461" },
{ "net472", "net472" },
{ "netstandard2.0", "netstandard2.0" },
};
#load tools/anglesharp.cak... | var target = Argument("target", "Default");
var projectName = "AngleSharp";
var solutionName = "AngleSharp.Core";
var frameworks = new Dictionary<String, String>
{
{ "net46", "net46" },
{ "net461", "net461" },
{ "net472", "net472" },
{ "netstandard1.3", "netstandard1.3" },
{ "netstandard2.0", "netst... | mit | C# |
36fb382b3754a550ea807b2a9dd149cb3c808c41 | Rename enum value | bartlomiejwolk/ActionTrigger | Enums/TriggerType.cs | Enums/TriggerType.cs | // Copyright (c) 2015 Bartlomiej Wolk (bartlomiejwolk@gmail.com)
//
// This file is part of the ActionTrigger extension for Unity.
// Licensed under the MIT license. See LICENSE file in the project root folder.
namespace ActionTrigger {
public enum TriggerType { OnTriggerEnter, OnTriggerExit, ExternalCall }
} | // Copyright (c) 2015 Bartlomiej Wolk (bartlomiejwolk@gmail.com)
//
// This file is part of the ActionTrigger extension for Unity.
// Licensed under the MIT license. See LICENSE file in the project root folder.
namespace ActionTrigger {
public enum TriggerType { OnTriggerEnter, OnTriggerExit, Method }
} | mit | C# |
9f23080cf8df6d2e74d7ee695b6b40dc1055fa63 | Fix parameters supported in `Recurring` for `PriceData` across the API | stripe/stripe-dotnet | src/Stripe.net/Services/SubscriptionItems/SubscriptionItemPriceDataRecurringOptions.cs | src/Stripe.net/Services/SubscriptionItems/SubscriptionItemPriceDataRecurringOptions.cs | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class SubscriptionItemPriceDataRecurringOptions : INestedOptions
{
/// <summary>
/// he frequency at which a subscription is billed. One of <c>day</c>, <c>week</c>,
/// <c>month</c> or <c>year</c>... | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class SubscriptionItemPriceDataRecurringOptions : INestedOptions
{
/// <summary>
/// Specifies a usage aggregation strategy for prices where <see cref="UsageType"/> is
/// <c>metered</c>. Allowed values a... | apache-2.0 | C# |
1a89e65745cfb5aa1459321e7eaa5b228984ae24 | Fix bad maths in Memory Map. | DanTup/DaNES | DaNES.Emulation/MemoryMap.cs | DaNES.Emulation/MemoryMap.cs | using System;
using System.Linq;
namespace DanTup.DaNES.Emulation
{
class MemoryMap
{
Memory working = new Memory(0x800);
Memory registers = new Memory(0x20);
Memory expansion = new Memory(0x1FDF);
Memory sram = new Memory(0x2000);
Memory cart1;
Memory cart2;
Ppu ppu;
public MemoryMap(Ppu ppu)
{... | using System;
using System.Linq;
namespace DanTup.DaNES.Emulation
{
class MemoryMap
{
Memory working = new Memory(0x800);
Memory registers = new Memory(0x20);
Memory expansion = new Memory(0x1FDF);
Memory sram = new Memory(0x2000);
Memory cart1;
Memory cart2;
Ppu ppu;
public MemoryMap(Ppu ppu)
{... | mit | C# |
2fc6b6f41863613b400c7810ee7ac040264f98e8 | Remove unused dependencies | noobot/SlackConnector | src/SlackConnector.Tests.Unit/SlackConnectionTests/PingTests.cs | src/SlackConnector.Tests.Unit/SlackConnectionTests/PingTests.cs | using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SlackConnector.Connections.Sockets;
using SlackConnector.Connections.Sockets.Messages.Outbound;
using SlackConnector.Models;
namespace SlackConnector.Tests.Unit.SlackConnectionTests
{
internal class PingTests
{
[Test, AutoMoqData]
... | using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using Ploeh.AutoFixture.NUnit3;
using SlackConnector.Connections;
using SlackConnector.Connections.Sockets;
using SlackConnector.Connections.Sockets.Messages.Outbound;
using SlackConnector.Models;
namespace SlackConnector.Tests.Unit.SlackConnectionTests
... | mit | C# |
03a3610b45305bd68b3a2f702bfed7bece2b1c5d | Add missing override | hey-red/Mime | src/Mime/MagicException.cs | src/Mime/MagicException.cs | using System;
namespace HeyRed.Mime
{
public class MagicException : Exception
{
public MagicException()
{
}
public MagicException(string message) : base(message)
{
}
public MagicException(string message, string additionalInfo) : base(message ?? additio... | using System;
namespace HeyRed.Mime
{
public class MagicException : Exception
{
public MagicException()
{
}
public MagicException(string message) : base(message)
{
}
public MagicException(string message, string additionalInfo) : base(message ?? additio... | mit | C# |
215547f59924683e378da334f0445e2697728e49 | Add usage comment to interface | heejaechang/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,diryboy/roslyn,dotnet/roslyn,eriawan/roslyn,CyrusNajmabadi/roslyn,genlu/roslyn,panopticoncentral/roslyn,CyrusNajmabadi/roslyn,jmarolf/roslyn,tannergooding/roslyn,dotnet/roslyn,bartdesmet/roslyn,ErikSchierboom/roslyn,tmat/roslyn,CyrusNajmabadi/roslyn,mgoert... | src/VisualStudio/Core/Def/ExternalAccess/VSTypeScript/Api/IVsTypeScriptRemoteLanguageServiceWorkspace.cs | src/VisualStudio/Core/Def/ExternalAccess/VSTypeScript/Api/IVsTypeScriptRemoteLanguageServiceWorkspace.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis;
namespace Microsoft.VisualStudio.LanguageServices.ExternalAccess.VSTypeScript.Api
{
... | // 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 Microsoft.VisualStudio.LanguageServices.ExternalAccess.VSTypeScript.Api
{
interface IVsTypeScriptRemo... | mit | C# |
05418dd18af08d67639d1ef97b4c2782210c69ff | Use corefx implementation | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Server.Kestrel/Infrastructure/LongExtensions.cs | src/Microsoft.AspNet.Server.Kestrel/Infrastructure/LongExtensions.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Server.Kestrel.Extensions
{
public static class LongExtensions
{
public static int BitCount(this long value)... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Server.Kestrel.Extensions
{
public static class LongExtensions
{
public static int BitCount(this long value)... | apache-2.0 | C# |
750ff208a1c772309b615063b7e4828fa88bc3f4 | Remove OpenIddictTokenDescriptor.Properties | openiddict/openiddict-core,openiddict/core,openiddict/openiddict-core,openiddict/openiddict-core,openiddict/core,openiddict/openiddict-core,openiddict/openiddict-core | src/OpenIddict.Abstractions/Descriptors/OpenIddictTokenDescriptor.cs | src/OpenIddict.Abstractions/Descriptors/OpenIddictTokenDescriptor.cs | using System;
using System.Security.Claims;
namespace OpenIddict.Abstractions
{
/// <summary>
/// Represents an OpenIddict token descriptor.
/// </summary>
public class OpenIddictTokenDescriptor
{
/// <summary>
/// Gets or sets the application identifier associated with the token.
... | using System;
using System.Collections.Generic;
using System.Security.Claims;
namespace OpenIddict.Abstractions
{
/// <summary>
/// Represents an OpenIddict token descriptor.
/// </summary>
public class OpenIddictTokenDescriptor
{
/// <summary>
/// Gets or sets the application iden... | apache-2.0 | C# |
034a4b3ef6de9f9d0f0ea454dc6f5ac6973490d3 | Add long support to PluralizationUtility | SaberSnail/GoldenAnvil.Utility | GoldenAnvil.Utility/PluralizationUtility.cs | GoldenAnvil.Utility/PluralizationUtility.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Resources;
namespace GoldenAnvil.Utility
{
/// <summary>
/// This class enables the localization of pluralizable strings. This is based on the data available at
/// http://cldr.unicode.org/index/cldr-spec/plural-rules
/// </s... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Resources;
namespace GoldenAnvil.Utility
{
/// <summary>
/// This class enables the localization of pluralizable strings. This is based on the data available at
/// http://cldr.unicode.org/index/cldr-spec/plural-rules
/// </s... | mit | C# |
a9f06a179dbf97d90d18909668ba6064c0957e29 | Disable tests coverage for unsupported Unity versions | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/Rider/UnityRiderUnitTestCoverageAvailabilityChecker.cs | resharper/resharper-unity/src/Rider/UnityRiderUnitTestCoverageAvailabilityChecker.cs | using System;
using JetBrains.Application;
using JetBrains.Application.Components;
using JetBrains.Collections.Viewable;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Host.Features;
using JetBrains.ReSharper.Host.Features.UnitTesting;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.ReSha... | using JetBrains.Application;
using JetBrains.Application.Components;
using JetBrains.Collections.Viewable;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Host.Features;
using JetBrains.ReSharper.Host.Features.UnitTesting;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.ReSharper.UnitTestF... | apache-2.0 | C# |
d1c28a6a1b3dd6e3697a30497c5f3c249552541b | implement View Inbox | marc1404/GmailNotifier | GmailNotifier/MailForm.cs | GmailNotifier/MailForm.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GmailNotifier
{
public class MailForm : Form
{
private ContextMenu trayMenu... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GmailNotifier
{
public class MailForm : Form
{
private ContextMenu trayMenu;
private NotifyIc... | mit | C# |
cbfd5157a692089979ec2f2390d429333a20b2bf | Fix stylecop issues | pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,Microsoft/ApplicationInsights-dotnet | src/Core/Managed/Shared/Extensibility/Implementation/InternalContext.cs | src/Core/Managed/Shared/Extensibility/Implementation/InternalContext.cs | namespace Microsoft.ApplicationInsights.Extensibility.Implementation
{
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.Extensibility.Implementation.External;
/// <summary>
/// Encapsu... | namespace Microsoft.ApplicationInsights.Extensibility.Implementation
{
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.Extensibility.Implementation.External;
/// <summary>
/// Encapsu... | mit | C# |
1778900ab47bc4642372e3623a401d45bfd3fc91 | Fix using | Xablu/Xablu.WebApiClient | src/Xablu.WebApiClient/HttpExtensions/WebApiClientProgressExtensions.cs | src/Xablu.WebApiClient/HttpExtensions/WebApiClientProgressExtensions.cs | using System.Threading;
using System.Threading.Tasks;
using Fusillade;
using Xablu.WebApiClient.HttpContentExtensions;
namespace Xablu.WebApiClient.HttpExtensions
{
public static class WebApiClientProgressExtension
{
public static async Task<TResult> PostAsync<TContent, TResult>(this WebApiClient webA... | using System.Threading;
using System.Threading.Tasks;
using Fusillade;
using Xablu.WebApiClient.HttpExtensions;
namespace Xablu.WebApiClient.HttpExtensions
{
public static class WebApiClientProgressExtension
{
public static async Task<TResult> PostAsync<TContent, TResult>(this WebApiClient webApiClient, Priority ... | mit | C# |
072999ba42ebc8c03f5ab65d854e295a04d9f4f5 | Update NotesRepository.cs | CarmelSoftware/MVCDataRepositoryXML | Models/NotesRepository.cs | Models/NotesRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Linq;
namespace IoCDependencyInjection.Models
{
public class NotesRepository : INotesRepository
{
private List<Note> notes = new List<Note>();
private int iNumberOfEntries = 1;
private XDocument doc;
public NotesRepo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Linq;
namespace IoCDependencyInjection.Models
{
public class NotesRepository : INotesRepository
{
private List<Note> notes = new List<Note>();
private int iNumberOfEntries = 1;
private XDocument doc;
| mit | C# |
c04cff91c7411481799ccc17dce77b9e259dda3b | use errorMessage overload in UserConnections | AlejandroCano/framework,avifatal/framework,signumsoftware/framework,AlejandroCano/framework,signumsoftware/framework,avifatal/framework | Signum.Engine/Connection/UserConnections.cs | Signum.Engine/Connection/UserConnections.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Signum.Engine;
using System.Data.SqlClient;
using System.Diagnostics;
using Signum.Engine.Maps;
using Signum.Utilities;
using System.Text.RegularExpressions;
namespace Signum.Engine
{
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Signum.Engine;
using System.Data.SqlClient;
using System.Diagnostics;
using Signum.Engine.Maps;
using Signum.Utilities;
using System.Text.RegularExpressions;
namespace Signum.Engine
{
public ... | mit | C# |
49d0e92978ca2beb922731743091a7e8a29747f2 | fix comment | mnadel/Metrics.NET,MetaG8/Metrics.NET,alhardy/Metrics.NET,etishor/Metrics.NET,mnadel/Metrics.NET,MetaG8/Metrics.NET,alhardy/Metrics.NET,cvent/Metrics.NET,MetaG8/Metrics.NET,Recognos/Metrics.NET,ntent-ad/Metrics.NET,DeonHeyns/Metrics.NET,ntent-ad/Metrics.NET,Recognos/Metrics.NET,Liwoj/Metrics.NET,Liwoj/Metrics.NET,huoxu... | Src/Metrics/Gauge.cs | Src/Metrics/Gauge.cs |
namespace Metrics
{
/// <summary>
/// A gauge is the simplest metric type. It just represents a value.
/// No operation can be triggered on the metric directly.
/// Custom implementations can hook into any value provider.
/// <see cref="Core.FunctionGauge"/> and <see cref="Core.DerivedGauge"/>
... |
namespace Metrics
{
/// <summary>
/// A gauge is the simplest metric type. It just returns a value.
/// No operation can be triggered on the metric directly.
/// Custom implementations can hook into any value provider.
/// <see cref="Core.FunctionGauge"/> and <see cref="Core.DerivedGauge"/>
/... | apache-2.0 | C# |
c26ff1a55d63f626e52062cc5ce5677ae55d4b7f | fix URL | mayuki/RadioWhip | KnightsOfSidonia-News.cshtml | KnightsOfSidonia-News.cshtml | @RadioWhip.Feedify(
"http://www.knightsofsidonia.com/news/",
"シドニアの騎士|新着情報",
(content, cq) =>
{
return cq[".detail"]
.Select(x => x.Cq())
.Select(x => new RadioWhip.Entry
{
Title = System.Text.RegularExpressions.Regex.Replace(x.Find("... | @RadioWhip.Feedify(
"http://www.knightsofsidonia.com/news/",
"シドニアの騎士|新着情報",
(content, cq) =>
{
return cq[".detail"]
.Select(x => x.Cq())
.Select(x => new RadioWhip.Entry
{
Title = System.Text.RegularExpressions.Regex.Replace(x.Find("... | mit | C# |
cb9aecd83f8636aff8c657ee82eddacd6e7f2d4d | Make Response<T> a class (#7741) | ayeletshpigelman/azure-sdk-for-net,markcowl/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,hyonholee/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,yugangw-msft/azu... | sdk/core/Azure.Core/src/Response{T}.cs | sdk/core/Azure.Core/src/Response{T}.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.ComponentModel;
namespace Azure
{
public class Response<T>
{
private readonly Response _rawResponse;
public Response(Response response, T parsed)
{
_rawResponse = ... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.ComponentModel;
namespace Azure
{
public readonly struct Response<T>
{
private readonly Response _rawResponse;
public Response(Response response, T parsed)
{
... | mit | C# |
bf4620665bfb5bfb58a3f6479f576564844439ea | use vanilla disqus js | MacsDickinson/blog,MacsDickinson/blog | Snow/_layouts/post.cshtml | Snow/_layouts/post.cshtml | @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Snow.ViewModels.PostViewModel>
@using System.Collections.Generic
@{
Layout = "default.cshtml";
}
@section menu {
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav sf-menu">
<li class="current"><a href="/">Blog... | @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Snow.ViewModels.PostViewModel>
@using System.Collections.Generic
@{
Layout = "default.cshtml";
}
@section menu {
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav sf-menu">
<li class="current"><a href="/">Blog... | mit | C# |
2c1944fea1a3cb8f3cf3572cd662e3e186ef42f8 | Update Version : 1.7.171.0 URL Changes + Fix User Manager Delete | Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal | Master/Appleseed/Projects/Appleseed.Framework.UrlRewriting/Properties/AssemblyInfo.cs | Master/Appleseed/Projects/Appleseed.Framework.UrlRewriting/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("Appleseed.UrlRewriting")]
[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("Appleseed.UrlRewriting")]
[assembly: Asse... | apache-2.0 | C# |
a4c6cd13754fdb67f25acb99c1b4630c97a07f14 | Fix error | SnpM/Lockstep-Framework | Core/Simulation/Physics/Core/Legacy/Editor/LegacyEditorLSBody.cs | Core/Simulation/Physics/Core/Legacy/Editor/LegacyEditorLSBody.cs | using UnityEngine;
using System.Collections;
using UnityEditor;
using Lockstep.Legacy;
using System.Collections.Generic;
using System;
namespace Lockstep.Legacy.Integration
{
[CustomEditor (typeof(Legacy.LSBody), true),UnityEditor.CanEditMultipleObjects]
public class EditorLSBody : Editor
{
static int boom = 0;
... | using UnityEngine;
using System.Collections;
using UnityEditor;
using Lockstep.Legacy;
using System.Collections.Generic;
using System;
namespace Lockstep.Legacy.Integration
{
[CustomEditor (typeof(Legacy.LSBody), true),UnityEditor.CanEditMultipleObjects]
public class EditorLSBody : Editor
{
static int boom = 0;
... | mit | C# |
5d0d83b6bf8b6a8546e8df4b0313199f439ca138 | Add basic xmldoc | peppy/osu-new,EVAST9919/osu,peppy/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,EVAST9919/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu,UselessToucan/osu,2yangk23/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu | osu.Game/Graphics/UserInterface/SeekLimitedSearchTextBox.cs | osu.Game/Graphics/UserInterface/SeekLimitedSearchTextBox.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Graphics.UserInterface
{
/// <summary>
/// A <see cref="SearchTextBox"/> which does not handle left/right arrow keys for seeking.
/// </su... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Graphics.UserInterface
{
public class SeekLimitedSearchTextBox : SearchTextBox
{
public override bool HandleLeftRightArrows => false;
... | mit | C# |
d399aeebff865c857e076df75e1483b617dc8c9b | change version to 1.0.0 | config-r/config-r | src/ConfigR/Properties/AssemblyInfo.cs | src/ConfigR/Properties/AssemblyInfo.cs | // <copyright file="AssemblyInfo.cs" company="ConfigR contributors">
// Copyright (c) ConfigR contributors. (configr.net@gmail.com)
// </copyright>
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("ConfigR")]
[assembly: AssemblyDescription("Write your .N... | // <copyright file="AssemblyInfo.cs" company="ConfigR contributors">
// Copyright (c) ConfigR contributors. (configr.net@gmail.com)
// </copyright>
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("ConfigR")]
[assembly: AssemblyDescription("Write your .N... | mit | C# |
a0076396ddd9434494cc8984352a9fecd03e06c6 | Add documentation for person images. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Objects/Get/People/TraktPersonImages.cs | Source/Lib/TraktApiSharp/Objects/Get/People/TraktPersonImages.cs | namespace TraktApiSharp.Objects.Get.People
{
using Basic;
using Newtonsoft.Json;
/// <summary>A collection of images and image sets for a Trakt person.</summary>
public class TraktPersonImages
{
/// <summary>Gets or sets the headshot image set.</summary>
[JsonProperty(PropertyName ... | namespace TraktApiSharp.Objects.Get.People
{
using Basic;
using Newtonsoft.Json;
public class TraktPersonImages
{
[JsonProperty(PropertyName = "headshot")]
public TraktImageSet Headshot { get; set; }
[JsonProperty(PropertyName = "fanart")]
public TraktImageSet FanArt {... | mit | C# |
ba0701a5deda51ec468a88e8842788d7d50bba7b | Fix NPCSpawnMapEntity data size. It should be 8. It was 10. Derp. | ethanmoffat/EndlessClient | EOLib.IO/Map/NPCSpawnMapEntity.cs | EOLib.IO/Map/NPCSpawnMapEntity.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using System.Collections.Generic;
using EOLib.IO.Services;
namespace EOLib.IO.Map
{
public class NPCSpawnMapEntity : IMapEntity
{
public in... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using System.Collections.Generic;
using EOLib.IO.Services;
namespace EOLib.IO.Map
{
public class NPCSpawnMapEntity : IMapEntity
{
public in... | mit | C# |
ffc28ea4b61d11a8d277149a3029b247800e0493 | Fix problems with the form. | Aurel/rbya_election,Aurel/rbya_election,Aurel/rbya_election | Elections/Views/Home/Index.cshtml | Elections/Views/Home/Index.cshtml | @{
ViewData["Title"] = "RBYA Elections";
}
<div class="center-block text-center container">
<div class="row" style="margin-bottom:100px;">
<img src="~/images/elections.png" style="margin:auto; width:50%;" />
</div>
<div class="col-md-6 col-xs-12">
<form role="form">
<div class="panel panel-default" style=... | @{
ViewData["Title"] = "RBYA Elections";
}
<div class="center-block text-center container">
<div class="row" style="margin-bottom:100px;">
<img src="~/images/elections.png" style="margin:auto; width:50%;" />
</div>
<div class="col-md-6 col-xs-12">
<div class="panel panel-default" style="margin:20px;">
<di... | mit | C# |
ac4c7164b060367a22f24d55f982998bfaff82cc | Fix dispose UnityTextureData | DragonBones/DragonBonesCSharp | Unity/Demos/Assets/Scripts/DragonBones/unity/UnityTextureData.cs | Unity/Demos/Assets/Scripts/DragonBones/unity/UnityTextureData.cs | using UnityEngine;
namespace DragonBones
{
/**
* @language zh_CN
* Unity 贴图集数据。
* @version DragonBones 3.0
*/
public class UnityTextureAtlasData : TextureAtlasData
{
/**
* @private
*/
internal bool _disposeTexture;
/**
* @language zh_C... | using UnityEngine;
namespace DragonBones
{
/**
* @language zh_CN
* Unity 贴图集数据。
* @version DragonBones 3.0
*/
public class UnityTextureAtlasData : TextureAtlasData
{
/**
* @private
*/
internal bool _disposeTexture;
/**
* @language zh_C... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.