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 |
|---|---|---|---|---|---|---|---|---|
474b8fc8fd441a6cf3f77cf35b8630bcb0b420bb | Add LoginPlaceholder | UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu-new,peppy/osu,2yangk23/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,2yangk23/osu | osu.Game/Online/Placeholders/LoginPlaceholder.cs | osu.Game/Online/Placeholders/LoginPlaceholder.cs | using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Input.Events;
using osu.Game.Overlays;
namespace osu.Game.Online.Placeholders
{
public sealed class LoginPlaceholder : Placeholder
{
[Resolved]
private LoginOverlay login { g... | mit | C# | |
5dd9ff7e380b1e2f9f4258d959ca7776b29273f9 | add BaseSlugEntity | tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web | src/Tugberk.Persistance.SqlServer/BaseSlugEntity.cs | src/Tugberk.Persistance.SqlServer/BaseSlugEntity.cs | using System;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Identity;
namespace Tugberk.Persistance.SqlServer
{
public abstract class BaseSlugEntity
{
[Key]
public string Path { get; set; }
public bool IsDefault { get; set; }
public DateTime CreatedOnU... | agpl-3.0 | C# | |
80e9ffc037c268bf21c5df4de10a85959cbacd07 | fix indention | W3SS/monotouch-samples,YOTOV-LIMITED/monotouch-samples,a9upam/monotouch-samples,haithemaraissia/monotouch-samples,a9upam/monotouch-samples,nervevau2/monotouch-samples,a9upam/monotouch-samples,labdogg1003/monotouch-samples,robinlaide/monotouch-samples,davidrynn/monotouch-samples,labdogg1003/monotouch-samples,xamarin/mon... | MonoCatalog-MonoDevelop/AddressBookController.xib.cs | MonoCatalog-MonoDevelop/AddressBookController.xib.cs |
using System;
using System.Collections.Generic;
using System.Linq;
using AddressBookUI;
using Foundation;
using UIKit;
namespace MonoCatalog
{
public partial class AddressBookController : UIViewController
{
ABPeoplePickerNavigationController p;
public AddressBookController () : base ("AddressBookController", ... |
using System;
using System.Collections.Generic;
using System.Linq;
using AddressBookUI;
using Foundation;
using UIKit;
namespace MonoCatalog
{
public partial class AddressBookController : UIViewController
{
ABPeoplePickerNavigationController p;
public AddressBookController () : base ("AddressBookControl... | mit | C# |
8163deb96c8f7389fbd034b92a849347a3183933 | Add assembly generator that uses C# | jagrem/slang,jagrem/slang,jagrem/slang | src/Compiler/Clr/Compilation/CSharp/CSharpAssemblyGenerator.cs | src/Compiler/Clr/Compilation/CSharp/CSharpAssemblyGenerator.cs | using System;
using slang.Compiler.Clr.Compilation.Core;
namespace lang.Compiler.Clr.Compilation.CSharp
{
public class CSharpAssemblyGenerator : IAssemblyGenerator
{
public void GenerateDynamicAssembly(AssemblyDefinition assemblyDefinition)
{
throw new NotImplementedException();
... | mit | C# | |
56f020eae1b7af9c180793916b068d7716f53362 | Add a worktree repository test | gep13/GitVersion,ParticularLabs/GitVersion,asbjornu/GitVersion,gep13/GitVersion,asbjornu/GitVersion,ParticularLabs/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,GitTools/GitVersion,ermshiperete/GitVersion,GitTools/GitVersion,ermshiperete/GitVersion | src/GitVersionCore.Tests/IntegrationTests/WorktreeScenarios.cs | src/GitVersionCore.Tests/IntegrationTests/WorktreeScenarios.cs | using GitTools.Testing;
using LibGit2Sharp;
using NUnit.Framework;
using System.IO;
using GitVersionCore.Tests.Helpers;
namespace GitVersionCore.Tests.IntegrationTests
{
[TestFixture]
public class WorktreeScenarios : TestBase
{
[Test]
[Category("NoMono")]
[Description("LibGit2Shar... | mit | C# | |
9221309e3f8ecae248e9fc740283db11f55773fe | Add GroupsController | denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs | src/Diploms.WebUI/Controllers/GroupsController.cs | src/Diploms.WebUI/Controllers/GroupsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Diploms.Core;
using Diploms.Dto;
using Diploms.Dto.Groups;
using Diploms.Services.Groups;
namespace Diploms.WebUI.Controllers
{
[Route("api/[controller]")]
public class GroupsC... | mit | C# | |
71b64b9b8e7d6bc96e6e7f038388d25665f22c90 | Add CharacterTypeInfo object | leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net | src/JoinRpg.PrimitiveTypes/CharacterTypeInfo.cs | src/JoinRpg.PrimitiveTypes/CharacterTypeInfo.cs | using System;
namespace JoinRpg.PrimitiveTypes
{
public record CharacterTypeInfo
{
public CharacterType CharacterType { get; }
public bool IsHot { get; }
public CharacterTypeInfo(CharacterType CharacterType, bool IsHot = false)
{
this.CharacterType = CharacterType;
... | mit | C# | |
0f595919256246a9cf40087c4fd12de8a2324866 | Remove unused helper method | balajikris/roslyn,DustinCampbell/roslyn,basoundr/roslyn,tmat/roslyn,ErikSchierboom/roslyn,gafter/roslyn,orthoxerox/roslyn,heejaechang/roslyn,zooba/roslyn,tvand7093/roslyn,MattWindsor91/roslyn,stephentoub/roslyn,xoofx/roslyn,jhendrixMSFT/roslyn,tmeschter/roslyn,MatthieuMEZIL/roslyn,bkoelman/roslyn,genlu/roslyn,abock/ros... | src/Test/Perf/util/runner_util.csx | src/Test/Perf/util/runner_util.csx | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#load "test_util.csx"
#r "..\infra\bin\Microsoft.CodeAnalysis.Scripting.dll"
#r "..\infra\bin\Microsoft.CodeAnalysis.CSharp.Scripting.dll"
using Microsoft.Co... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#load "test_util.csx"
#r "..\infra\bin\Microsoft.CodeAnalysis.Scripting.dll"
#r "..\infra\bin\Microsoft.CodeAnalysis.CSharp.Scripting.dll"
using Microsoft.Co... | apache-2.0 | C# |
26040dfbfc87cc31c3fd936cf1d24ef6862a0f9b | Add ch3: immutable counter | jeffkibuule/learncsharp | ch3/ch3/ImmutableCounter.cs | ch3/ch3/ImmutableCounter.cs | public class ImmutableCounter
{
private readonly int _count;
private static int _totalCount;
public ImmutableCounter()
{
_count = 0;
}
private ImmutableCounter(int count)
{
_count = 0;
}
public ImmutableCounter GetNextValue()
{
_totalCount += 1;
... | mit | C# | |
13aefbfddb55188d4929923045878522c7e47160 | add new template | ZanyGnu/GitRepoStats | RepoStats/views/user.cshtml | RepoStats/views/user.cshtml | <!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type='text/javascript' src='http://code.jquery.com/jquery-1.9.1.js'></script>
<script type='text/javascript' src='http://code.highcharts.com/highcharts.js'></script>
<script type='text/javascript' src='http://code.highcha... | mit | C# | |
9c956597c65cce36e4e04a1dd112432d5f76fa4a | Add EndorsementCode enum | c0shea/IdParser | IdParser/EndorsementCode.cs | IdParser/EndorsementCode.cs | using System;
using IdParser.Attributes;
namespace IdParser
{
[Flags]
public enum EndorsementCode
{
None = 0,
[Abbreviation("N")]
Tank = 1,
[Abbreviation("P")]
Passenger = 2,
[Abbreviation("S")]
[Description("School Bus")]
SchoolBus = 4,
... | mit | C# | |
e64e6e7754637817ce0d9cff79f82fcdc535aacd | Create ExportToJs.cs | burnsba/CsJsMvvm,burnsba/CsJsMvvm | BuildJavascriptDataModel/ExportToJs.cs | BuildJavascriptDataModel/ExportToJs.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BuildJavascriptDataModel
{
/// <summary>
/// Attribute used to generate a javascript view model from C# classes. Properties
/// marked with this attribute will be exported.
/// </summary>
[AttributeUsage... | apache-2.0 | C# | |
ba9cefc4c5a2c077740696591ced5d357d7d6f4e | Fix autosave and refresh on shared projects | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/Rider/RiderUnityDocumentOperationsImpl.cs | resharper/resharper-unity/src/Rider/RiderUnityDocumentOperationsImpl.cs | using JetBrains.Annotations;
using JetBrains.Application.changes;
using JetBrains.Application.FileSystemTracker;
using JetBrains.Application.Threading;
using JetBrains.DocumentManagers;
using JetBrains.DocumentModel;
using JetBrains.Lifetimes;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Host.Features.Docume... | apache-2.0 | C# | |
98910db9d2d165811f0a73498498f337337f0f75 | Add tag info commands | Auxes/Dogey | src/Dogey/Modules/Tags/TagInfoModule.cs | src/Dogey/Modules/Tags/TagInfoModule.cs | using Discord;
using Discord.Commands;
using Discord.WebSocket;
using System.Linq;
using System.Threading.Tasks;
namespace Dogey.Modules.Tags
{
[Group("tag"), Name("Tag")]
[Summary("View informations and stats for a tag")]
public class TagInfoModule : ModuleBase<DogeyCommandContext>
{
private ... | apache-2.0 | C# | |
20f426cda0348a8ad4f45cd7b75b0d3ce8a91951 | Add beatmap parsing as sample benchmark. | 2yangk23/osu,EVAST9919/osu,peppy/osu,johnneijzen/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,johnneijzen/osu,smoogipoo/osu,2yangk23/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,ppy/osu | osu.Game.Benchmarks/BenchmarkBeatmapParsing.cs | osu.Game.Benchmarks/BenchmarkBeatmapParsing.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.IO;
using BenchmarkDotNet.Attributes;
using osu.Framework.IO.Stores;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.Formats;
using osu.Game.IO;
using osu.... | mit | C# | |
52557da335b1fd0374deb8c2447666d1a4153ef8 | Add test coverage | NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu | osu.Game.Rulesets.Osu.Tests/TestSceneHitCircleKiai.cs | osu.Game.Rulesets.Osu.Tests/TestSceneHitCircleKiai.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 NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Rulesets.Osu.Tests
{
[TestFixture]
public class TestSce... | mit | C# | |
804948ca21def307f01ad9eadc65a87ce3c53d9f | Add testdata.cs | Ackara/Daterpillar | src/Tests.Daterpillar/Helper/TestData.cs | src/Tests.Daterpillar/Helper/TestData.cs | using Gigobyte.Daterpillar;
using System;
using System.IO;
using System.Linq;
namespace Tests.Daterpillar.Helper
{
public static class TestData
{
public static FileInfo GetFile(string filename)
{
filename = Path.GetFileName(filename);
string ext = "*" + Path.GetExtensio... | mit | C# | |
7f605cbbd2584aaa1ccd5b07e30c6910f4405329 | Add missed files. | IntelliTect/webapi-odata-testing-example | webapi-odata-testing-example.Tests/SimpleGetTests.cs | webapi-odata-testing-example.Tests/SimpleGetTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Example.Data.Models;
using Example.Data.Services;
using Example.Tests.Client.Example;
using Microsoft.Owin.Hosting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Ploeh.AutoFixture;
namespace Example.Tests
{
[TestClass]... | mit | C# | |
b3f9f38ac6200193ae7f018ca1a7d8af4006b870 | Test LibuvConstants.IsConnectionReset | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Kestrel.Transport.Libuv.Tests/LibuvConstantsTests.cs | test/Kestrel.Transport.Libuv.Tests/LibuvConstantsTests.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Internal;
using Xunit;
namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Tests
{... | apache-2.0 | C# | |
aa76d1cc31d59c73d4b791d6033be56223453cb0 | Create AssemblyVersion.cs | libinqi/Sharp-Architecture,libinqi/Sharp-Architecture,libinqi/Sharp-Architecture | Common/AssemblyVersion.cs | Common/AssemblyVersion.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18408
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | bsd-3-clause | C# | |
6f2fe0f8c3962fd7fd92e3f4a630316479a0cbc8 | Set list to readonly after fetch. | MarimerLLC/csla,MarimerLLC/csla,jonnybee/csla,BrettJaner/csla,jonnybee/csla,rockfordlhotka/csla,BrettJaner/csla,jonnybee/csla,rockfordlhotka/csla,rockfordlhotka/csla,ronnymgm/csla-light,ronnymgm/csla-light,ronnymgm/csla-light,MarimerLLC/csla,JasonBock/csla,JasonBock/csla,BrettJaner/csla,JasonBock/csla | ProjectTracker20cs/ProjectTracker.Library/ResourceList.cs | ProjectTracker20cs/ProjectTracker.Library/ResourceList.cs | using System;
using System.Data;
using System.Data.SqlClient;
using Csla;
using Csla.Data;
namespace ProjectTracker.Library
{
[Serializable()]
public class ResourceList :
ReadOnlyListBase<ResourceList, ResourceInfo>
{
#region Factory Methods
public static ResourceList GetResourceList()
{
... | using System;
using System.Data;
using System.Data.SqlClient;
using Csla;
using Csla.Data;
namespace ProjectTracker.Library
{
[Serializable()]
public class ResourceList :
ReadOnlyListBase<ResourceList, ResourceInfo>
{
#region Factory Methods
public static ResourceList GetResourceList()
{
... | mit | C# |
4109cba28036eaa6399cf03ba15903ea538dc1ce | Install using the "LocalService" user account by default. | tectronics/ncron,ventis07/ncron,shabbirh/ncron,divyang4481/ncron | load/ProjectInstaller.cs | load/ProjectInstaller.cs | // Copyright (c) 2007-2008, Joern Schou-Rode <jsr@malamute.dk>
// 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 copyrig... | // Copyright (c) 2007-2008, Joern Schou-Rode <jsr@malamute.dk>
// 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 copyrig... | apache-2.0 | C# |
72ef3c6427137ecf56f40c1abfd0ba6663174f23 | Add default provider for RequestRuntime | zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Gl... | src/Glimpse.Web.Common/Framework/DefaultRequestRuntimeProvider.cs | src/Glimpse.Web.Common/Framework/DefaultRequestRuntimeProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Glimpse.Web
{
public class DefaultRequestRuntimeProvider : IRequestRuntimeProvider
{
private readonly ITypeService _typeService;
public DefaultRequestRuntimeProvider(ITypeService typeService)
{
_t... | mit | C# | |
990d409cac041a93bfac51f9952341f6e4829e32 | Add tests for #843 | RSuter/NJsonSchema,NJsonSchema/NJsonSchema | src/NJsonSchema.Tests/Infrastructure/ReflectionExtensionsTests.cs | src/NJsonSchema.Tests/Infrastructure/ReflectionExtensionsTests.cs | using System;
using System.Collections;
using System.Collections.Generic;
using NJsonSchema.Infrastructure;
using Xunit;
namespace NJsonSchema.Tests.Infrastructure
{
public class ReflectionExtensionsTests
{
public class MyType : IEquatable<MyType>, IEnumerable<int>
{
public bool Eq... | mit | C# | |
525f561477b18ada64382d73e607baf6522a5231 | Create FocusOnAttachedToVisualTreeBehavior.cs | XamlBehaviors/XamlBehaviors,XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactions/Core/FocusOnAttachedToVisualTreeBehavior.cs | src/Avalonia.Xaml.Interactions/Core/FocusOnAttachedToVisualTreeBehavior.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Avalonia;
using Avalonia.Controls;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Core
{
/// <summary>
/// Focuses the Ass... | mit | C# | |
134d8ea3066ae54436b1b96e3d4ce8d5a1162dc4 | Hide home page main title | planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS | src/Orchard.Web/Themes/LETSBootstrap/Views/Parts.Title-url-homepage.cshtml | src/Orchard.Web/Themes/LETSBootstrap/Views/Parts.Title-url-homepage.cshtml | @{
Layout.Title = Model.Title;
}
@*<h1>@Model.Title</h1>*@ | bsd-3-clause | C# | |
28ea18775976d2bc72ce46beca7fb66bb22b4e6b | Create Delete.cshtml | CarmelSoftware/Generic-Data-Repository-for-ASP.NET-MVC | Views/Blogs/Delete.cshtml | Views/Blogs/Delete.cshtml | mit | C# | ||
6bbca6c90de1be02b59d11ea2309a3425e3f6a5f | Add new RequestRuntime | mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Pro... | src/Glimpse.Web.Common/Framework/RequestRuntime.cs | src/Glimpse.Web.Common/Framework/RequestRuntime.cs | using System;
namespace Glimpse.Web
{
public class RequestRuntime
{
public void Begin(IContext newContext)
{
}
public void End(IContext newContext)
{
}
}
} | mit | C# | |
2752647e0c7d9cae2b589647639f0059f3e78113 | Add basic unit test. | jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr | test/HelloCoreClrApp.Test/Health/SytemMonitorTest.cs | test/HelloCoreClrApp.Test/Health/SytemMonitorTest.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using FakeItEasy;
using FluentAssertions;
using HelloCoreClrApp.Health;
using Xunit;
namespace HelloCoreClrApp.Test.Health
{
public class SytemMonitorTest
{
[Fact]
public async void RunTestAsync()
{
var tes... | mit | C# | |
a0c43d691a118d7181c1c35a940dd1dc017a618b | Test Fixture for Template class. | nkreipke/nhibernate-core,gliljas/nhibernate-core,livioc/nhibernate-core,RogerKratz/nhibernate-core,nkreipke/nhibernate-core,nhibernate/nhibernate-core,gliljas/nhibernate-core,ManufacturingIntelligence/nhibernate-core,fredericDelaporte/nhibernate-core,livioc/nhibernate-core,hazzik/nhibernate-core,ManufacturingIntelligen... | src/NHibernate.Test/SqlCommandTest/TemplateFixture.cs | src/NHibernate.Test/SqlCommandTest/TemplateFixture.cs | using System;
using NHibernate.Dialect;
using NHibernate.SqlCommand;
using NUnit.Framework;
namespace NHibernate.Test.SqlCommandTest
{
[TestFixture]
public class TemplateFixture
{
public TemplateFixture()
{
}
/// <summary>
/// Tests that a column enclosed by <c>`</c> is enclosed by the Dialect.Ope... | lgpl-2.1 | C# | |
ed03008a72e69f090f7f0030edc74e5952a8aef0 | Add TestJobHandler | tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools | tests/Tgstation.Server.Host.Tests/Core/TestJobHandler.cs | tests/Tgstation.Server.Host.Tests/Core/TestJobHandler.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Tgstation.Server.Host.Core.Tests
{
[TestClass]
public sealed class TestJobHandler
{
Task currentWaitTask;
bool cancelled;
async Task TestJob(CancellationToken cancellationToken)
... | agpl-3.0 | C# | |
7501a48ea753a2f5426a5962a00c1570b8f2631c | add tests | smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework | osu.Framework.Tests/Visual/Screens/TestSceneScreenExit.cs | osu.Framework.Tests/Visual/Screens/TestSceneScreenExit.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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Screens;
using osu.Framewor... | mit | C# | |
c1d03a5baceb23be78f0d55458a9085ad5b652ad | Add SeasonalBackgroundLoader and SeasonalBackground | smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu | osu.Game/Graphics/Backgrounds/SeasonalBackgroundLoader.cs | osu.Game/Graphics/Backgrounds/SeasonalBackgroundLoader.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.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphi... | mit | C# | |
0deab869632a2c58959262cf6365e254b0fe1d96 | Add LinearWhiteSpaceParser | StevenLiekens/TextFx,StevenLiekens/Txt | src/Txt.ABNF/Core/LWSP/LinearWhiteSpaceParser.cs | src/Txt.ABNF/Core/LWSP/LinearWhiteSpaceParser.cs | using Txt.Core;
namespace Txt.ABNF.Core.LWSP
{
public class LinearWhiteSpaceParser : Parser<LinearWhiteSpace, string>
{
protected override string ParseImpl(LinearWhiteSpace value)
{
// Well-formed LWSP is exactly one (1) space
// LWSP is optional, so don't return white ... | mit | C# | |
b94a57b10bd43cb382c40709dd518acc916acf6d | add TestEnvironment utility class | NebulousConcept/b2-csharp-client | b2-csharp-client-test/B2.Client/TestEnvironment.cs | b2-csharp-client-test/B2.Client/TestEnvironment.cs | using System;
using NUnit.Framework;
namespace B2.Client.Test
{
internal static class TestEnvironment
{
internal const string B2_API_URL = "https://api.backblazeb2.com";
internal static string GetTestConfiguration(string key)
{
var ret = Environment.GetEnvironmentVariable... | mit | C# | |
bf9800211c613a947c91f2913223c50b01ef0ce4 | Create program.cs | msgithub8/indywidualne | program.cs | program.cs | int a =2;
| mit | C# | |
3a77eba4a32ee0939967fcaa320b19b213e478cf | Add ServiceUnavailableException | carbon/Amazon | src/Amazon.Core/Exceptions/ServiceUnavailableException.cs | src/Amazon.Core/Exceptions/ServiceUnavailableException.cs | using System;
using Amazon.Scheduling;
namespace Amazon.Exceptions
{
public sealed class ServiceUnavailableException : Exception, IException
{
public ServiceUnavailableException()
: base("Service unavailable") { }
public bool IsTransient => true;
}
} | mit | C# | |
13cce803458e6e99dfab74abf8db91b7f496ae99 | Remove unnecessary trim | schalpat/Humanizer,llehouerou/Humanizer,hazzik/Humanizer,MehdiK/Humanizer,Flatlineato/Humanizer,jaxx-rep/Humanizer,mrchief/Humanizer,llehouerou/Humanizer,Flatlineato/Humanizer,ErikSchierboom/Humanizer,ErikSchierboom/Humanizer,HalidCisse/Humanizer,HalidCisse/Humanizer,llehouerou/Humanizer,schalpat/Humanizer,mrchief/Huma... | src/Humanizer/Localisation/CollectionFormatters/EnglishCollectionFormatter.cs | src/Humanizer/Localisation/CollectionFormatters/EnglishCollectionFormatter.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Humanizer.Localisation.CollectionFormatters
{
internal class EnglishCollectionFormatter : DefaultCollectionFormatter
{
public EnglishCollectionFormatter()
{
DefaultSeparator = "and";
}
pub... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Humanizer.Localisation.CollectionFormatters
{
internal class EnglishCollectionFormatter : DefaultCollectionFormatter
{
public EnglishCollectionFormatter()
{
DefaultSeparator = "and";
}
pub... | mit | C# |
e5377dc4d7f1dbd7080df3fa58761287559a3cd0 | Change form action url to Orchard.OpenId inside openid module (#7525) | jersiovic/Orchard,LaserSrl/Orchard,jersiovic/Orchard,Dolphinsimon/Orchard,jersiovic/Orchard,Dolphinsimon/Orchard,yersans/Orchard,jersiovic/Orchard,Lombiq/Orchard,hbulzy/Orchard,hbulzy/Orchard,Fogolan/OrchardForWork,jimasp/Orchard,omidnasri/Orchard,Lombiq/Orchard,omidnasri/Orchard,Lombiq/Orchard,IDeliverable/Orchard,Lom... | src/Orchard.Web/Modules/Orchard.OpenId/Views/Account/Logon.cshtml | src/Orchard.Web/Modules/Orchard.OpenId/Views/Account/Logon.cshtml | @model IEnumerable<IOpenIdProvider>
@using Orchard.OpenId.Services
@using Orchard.Utility.Extensions
<h1 class="title">Logon</h1>
<hr />
<h5></h5>
@using (Html.BeginFormAntiForgeryPost(Url.Action("LogOn", "Account", new { Area = "Orchard.OpenId", ReturnUrl = Request.QueryString["ReturnUrl"] }))) {
<fieldset class... | @model IEnumerable<IOpenIdProvider>
@using Orchard.OpenId.Services
@using Orchard.Utility.Extensions
<h1 class="title">Logon</h1>
<hr />
<h5></h5>
@using (Html.BeginFormAntiForgeryPost(Url.Action("LogOn", "Account", new { Area = "Orchard.Users", ReturnUrl = Request.QueryString["ReturnUrl"] }))) {
<fieldset class=... | bsd-3-clause | C# |
ecdf534f2b56fb9659e448cd547ab35628d64063 | Test cases for issue 2759 | appel1/nunit,appel1/nunit,mjedrzejek/nunit,NikolayPianikov/nunit,mjedrzejek/nunit,OmicronPersei/nunit,nunit/nunit,mikkelbu/nunit,JustinRChou/nunit,JustinRChou/nunit,nunit/nunit,OmicronPersei/nunit,mikkelbu/nunit,NikolayPianikov/nunit | src/NUnitFramework/tests/Attributes/DataAttributeTests.cs | src/NUnitFramework/tests/Attributes/DataAttributeTests.cs | // ***********************************************************************
// Copyright (c) 2007 Charlie Poole, Rob Prouse
//
// 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 restri... | mit | C# | |
b3ea01d61cdc57939cc865c8e5e6d9953c13f5dc | Add missing file | directhex/xwt,lytico/xwt,mono/xwt,cra0zy/xwt,antmicro/xwt,akrisiun/xwt,sevoku/xwt,steffenWi/xwt,TheBrainTech/xwt,iainx/xwt,hamekoz/xwt,hwthomas/xwt,residuum/xwt,mminns/xwt,mminns/xwt | Xwt/Xwt.Backends/EventHost.cs | Xwt/Xwt.Backends/EventHost.cs | //
// EventHost.cs
//
// Author:
// Lluis Sanchez Gual <lluis@xamarin.com>
//
// Copyright (c) 2014 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 deal
// in the So... | mit | C# | |
8a34a02e335c195712a121d699aa44e3c0876a51 | Create SystemPrefUtil.cs | drawcode/labs-unity | utility/SystemPrefUtil.cs | utility/SystemPrefUtil.cs | using System;
using Engine.Utility;
using UnityEngine;
public class SystemPrefUtil {
public SystemPrefUtil() {
}
public static void Save() {
PlayerPrefs.Save();
}
public static void SetLocalSettingString(string key, string value) {
PlayerPrefs.SetString(key, value);
}
... | mit | C# | |
e2dae716801be8baa7d08a1c01259117f68583ac | Create program.cs | Jolka/indywidualneEla | program.cs | program.cs | int a=2;
| mit | C# | |
74cdee28b657c100581371b5bb21db30c8900ed5 | change version | Behzadkhosravifar/SaleOnlineReporter,Behzadkhosravifar/SaleOnlineReporter | src/WebSaleDistribute/WebSaleDistribute/Properties/AssemblyInfo.cs | src/WebSaleDistribute/WebSaleDistribute/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("Web... | 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("Web... | apache-2.0 | C# |
a72bb932661faa2442ceb9160d61b0d21e803790 | Add test scene for NewsHeader | ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,ppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game.Tests/Visual/Online/TestSceneNewsHeader.cs | osu.Game.Tests/Visual/Online/TestSceneNewsHeader.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 NUnit.Framework;
using osu.Game.Overlays.News;
using osu.Framework.Graphics;
using osu.Game.Overlays;
using osu.Framework.Allocation;
namespace osu.Game.Tests.Vis... | mit | C# | |
2826335d8b1dc43e41b6545521f80a7c35f18f3e | Create AssemblyInfo.cs | Gianxs/CitiesSkylineFavoriteCimsMod | AssemblyInfo.cs | AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Favorite Cims")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("Gianxs 2015")]
[assembly: AssemblyTrademark(... | mit | C# | |
2ff764392b5ca60db2fe956311c0e89e5ee1d2bf | Create NativeMethods | stefan-baumann/AeroSuite | AeroSuite/NativeMethods.cs | AeroSuite/NativeMethods.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace AeroSuite
{
/// <summary>
/// Provides some methods from the user32 and uxtheme libraries.
/// </summary>
internal static class NativeMeth... | mit | C# | |
67e485204b864b66c5c8cc0f1601e567d62ba8f1 | Add observable extensions | Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum | src/Nethereum.RPC.Reactive/Polling/ObservableExtensions.cs | src/Nethereum.RPC.Reactive/Polling/ObservableExtensions.cs | using System;
using System.Reactive.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
[assembly: InternalsVisibleTo("Nethereum.RPC.Reactive.UnitTests")]
namespace Nethereum.RPC.Reactive.Polling
{
internal static class ObservableExtensions
{
/// <summary>
/// The same a... | mit | C# | |
790e49e7f01ffa8aca91db1f8b92c51a99f4e6db | Mark assembly as not CLS compliant. | autofac/Autofac.Mef | src/Autofac.Integration.Mef/Properties/AssemblyInfo.cs | src/Autofac.Integration.Mef/Properties/AssemblyInfo.cs | // Copyright (c) Autofac Project. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
[assembly: CLSCompliant(false)]
| mit | C# | |
849af44508626feaba481bc436a43a1b7bb059c0 | Update static/vendors/ace-builds/demo/kitchen-sink/docs/csharp.cs | apipanda/openssl,apipanda/openssl,apipanda/openssl,apipanda/openssl | static/vendors/ace-builds/demo/kitchen-sink/docs/csharp.cs | static/vendors/ace-builds/demo/kitchen-sink/docs/csharp.cs | public void HelloWorld() {
//Say Hello!
Console.WriteLine("Hello World");
} | mit | C# | |
203443679eaf1fa75c15f8270dd9388f2a3d1d38 | Increment version number | NN---/nuproj,AArnott/nuproj,ericstj/nuproj,faustoscardovi/nuproj,DavidAnson/nuproj,PedroLamas/nuproj,DavidAnson/nuproj,nuproj/nuproj,zbrad/nuproj,kovalikp/nuproj,oliver-feng/nuproj | src/Common/CommonAssemblyInfo.cs | src/Common/CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Immo Landwerth")]
[assembly: AssemblyProduct("NuProj")]
[assembly: AssemblyCopyright("Copyright © Immo Landwerth")]
[assembly: AssemblyTrademark("")]
[assembly : AssemblyMetadata("PreRelease", "Beta")]
[assembly : AssemblyMetadata("ProjectUrl", "http://nuproj.code... | using System.Reflection;
[assembly: AssemblyCompany("Immo Landwerth")]
[assembly: AssemblyProduct("NuProj")]
[assembly: AssemblyCopyright("Copyright © Immo Landwerth")]
[assembly: AssemblyTrademark("")]
[assembly : AssemblyMetadata("PreRelease", "Beta")]
[assembly : AssemblyMetadata("ProjectUrl", "http://nuproj.code... | mit | C# |
c5f55dacddd0369973215229f4a45816f80e16d5 | add tests for RepositoryDapper | bgTeamDev/bgTeam.Core,bgTeamDev/bgTeam.Core | tests/Test.bgTeam.Impl.Dapper/Tests/Test_Repository.cs | tests/Test.bgTeam.Impl.Dapper/Tests/Test_Repository.cs | using bgTeam.DataAccess;
using bgTeam.DataAccess.Impl.Dapper;
using bgTeam.DataAccess.Impl.Sqlite;
using bgTeam.Impl;
using System.Linq;
using System.Threading.Tasks;
using Test.bgTeam.Impl.Dapper.Common;
using Xunit;
namespace Test.bgTeam.Impl.Dapper.Tests
{
public class Test_Repository
{
private rea... | mit | C# | |
d407c2782013d72774be4d36a5bbb86cd6d31848 | Add LoginSample | TORISOUP/NcmbAsObservable | Assets/NcmbAsObservables/sample/LoginAndLogoutSample.cs | Assets/NcmbAsObservables/sample/LoginAndLogoutSample.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NcmbAsObservables;
using UniRx;
using UnityEngine;
namespace Assets.NcmbAsObservables.sample
{
public class LoginAndLogoutSample : MonoBehaviour
{
void Start()
{
ObservableFrom... | mit | C# | |
6b72f7ebe7724ad741ccd33bdcd4b12a67dfaa55 | Add Server Web Options Setup | mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-k... | src/Glimpse.Server.Web/GlimpseServerWebOptionsSetup.cs | src/Glimpse.Server.Web/GlimpseServerWebOptionsSetup.cs | using System;
using Microsoft.Framework.OptionsModel;
namespace Glimpse.Server
{
public class GlimpseServerWebOptionsSetup : ConfigureOptions<GlimpseServerWebOptions>
{
public GlimpseServerWebOptionsSetup() : base(ConfigureGlimpseServerWebOptions)
{
Order = -1000;
}
... | mit | C# | |
4d150b6ef6ec1a5cf222145a27b71af2c819fc7f | Add PutObjectRequestTests test | carbon/Amazon | src/Amazon.S3.Tests/Models/PutObjectRequestTests.cs | src/Amazon.S3.Tests/Models/PutObjectRequestTests.cs | using System;
using System.IO;
using System.Linq;
using Xunit;
namespace Amazon.S3.Tests
{
public class PutObjectRequestTests
{
[Fact]
public void Construct()
{
var request = new PutObjectRequest("s3.amazon.com", "bucket", "key");
request.SetStora... | mit | C# | |
ada1adfa68b157f604fbd3ba31e15d8ab6aaf6bd | Add the class 'TrilhaRepository' to Fatec.Treinamento.Data/Repositories folder | fmassaretto/formacao-talentos,fmassaretto/formacao-talentos,fmassaretto/formacao-talentos | Fatec.Treinamento.Data/Repositories/TrilhaRepository.cs | Fatec.Treinamento.Data/Repositories/TrilhaRepository.cs | using Fatec.Treinamento.Data.Repositories.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Fatec.Treinamento.Model;
using Fatec.Treinamento.Data.Repositories.Base;
using Dapper;
using Fatec.Treinamento.Model.DTO;
namespace Fatec.Trei... | apache-2.0 | C# | |
96b55bc7076c9037bd582750ce404e25ffc5ede7 | Create TokenSnapshot.cs | Zebrina/PapyrusScriptEditorVSIX,Zebrina/PapyrusScriptEditorVSIX | PapyrusScriptEditorVSIX/Language/Containers/TokenSnapshot.cs | PapyrusScriptEditorVSIX/Language/Containers/TokenSnapshot.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Papyrus.Language {
public class TokenSnapshot : IList<TokenSnapshotLine>, IReadOnlyList<TokenSnapshotLine>, ICollection<TokenSnapshotLine>, IReadOnlyCollection<TokenSnapshotLine>, IEnumerab... | mit | C# | |
c36e31f17a996f8c682a0fb59c9a1a69319c269a | Add Block object | Aux/NTwitch,Aux/NTwitch | src/NTwitch.Core/Entities/Users/IBlock.cs | src/NTwitch.Core/Entities/Users/IBlock.cs | using System;
namespace NTwitch
{
public interface IBlock : IEntity
{
DateTime UpdatedAt { get; }
IUser User { get; }
}
}
| mit | C# | |
fa21f5eef1fb633e18a6ce7fecc1dc52ac713160 | Add ServiceProxyActivator Test | AspectCore/AspectCore-Framework,AspectCore/AspectCore-Framework,AspectCore/Lite,AspectCore/Abstractions | test/AspectCore.Lite.Test/ServiceProxyActivatorTest.cs | test/AspectCore.Lite.Test/ServiceProxyActivatorTest.cs | using AspectCore.Lite.Abstractions;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace AspectCore.Lite.Test
{
public class ServiceProxyActivatorTest:IDependencyInjection
{
[Fact]
public void ServiceProxyActivator_Test()
{
var serviceProvider = this.Build... | mit | C# | |
568b2b9801f83c327c266ec761244cb8cd0b53a5 | add missing file | IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework | Src/Sample/Sample.CommandHandlerTests/CommandHandlerTest.cs | Src/Sample/Sample.CommandHandlerTests/CommandHandlerTest.cs | using IFramework.Command;
using IFramework.Infrastructure;
using IFramework.Infrastructure.Unity.LifetimeManagers;
using IFramework.Message;
namespace Sample.CommandHandlerTests
{
public class CommandHandlerTest<TCommandHanlder>
{
public object ExecuteCommand(ICommand command)
{
IM... | mit | C# | |
b528df2cdb3bafe7ad439e04d063c682f1aa4f31 | Add first API stub endpoint | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Controllers/API/SoldiersController.cs | Battery-Commander.Web/Controllers/API/SoldiersController.cs | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace Bat... | mit | C# | |
e524eba241680e166654ca521a92a9b878befd88 | Create wallSelection.cs | Gytaco/RevitAPI,Gytaco/RevitAPI | Macros/CS/wallSelection.cs | Macros/CS/wallSelection.cs | /*
This code enables users to select walls using a ISelectionFiler class, it then interrogates the selected wall
and returns some instance and Type built in Parameters as a dialog box in Revit.
*/
public void Ex1_4get_Selection()
{
//assigns doc to the active document in use - default
Document doc = this... | mit | C# | |
3fe42945e275901715519d17258817bf1babccfc | Create ReportForm.cs | GetSomeBlocks/Score_Soccer,GetSomeBlocks/Score_Soccer,GetSomeBlocks/ServerStatus,GetSomeBlocks/ServerStatus,GetSomeBlocks/ServerStatus,GetSomeBlocks/ServerStatus,GetSomeBlocks/ServerStatus,GetSomeBlocks/Score_Soccer,GetSomeBlocks/Score_Soccer,GetSomeBlocks/ServerStatus,GetSomeBlocks/ServerStatus,GetSomeBlocks/Score_Soc... | GUI/ReportForm.cs | GUI/ReportForm.cs | using System;
using System.Drawing;
using System.IO;
using System.Net;
using System.Text;
using System.Windows.Forms;
namespace OpenHardwareMonitor.GUI {
public partial class ReportForm : Form {
private string report;
public ReportForm() {
InitializeComponent();
try {
titleLabel.Font = ... | mit | C# | |
b7deabb325b4754b8d921bed3c2d8fa5cc2ece50 | Create 1.cs | rikkus/adventofcode2016,rikkus/adventofcode2016 | 1.cs | 1.cs | struct Vector {
public int X;
public int Y;
public override bool Equals(object other) {
if (other == null)
return false;
if (other.GetType() != typeof(Vector))
return false;
return ((Vector)other).X == X && ((Vector)other).Y == Y;
}
};
Vector North = new Vector { X = 0, Y = 1 };
Vector East = ne... | mit | C# | |
2407bfa48dd5f149c73fe4b167a02b37c552c178 | Add unit tests for the SqliteAnchorStateBuilder class | openchain/openchain | test/Openchain.Sqlite.Tests/SqliteAnchorStateBuilderTests.cs | test/Openchain.Sqlite.Tests/SqliteAnchorStateBuilderTests.cs | // Copyright 2015 Coinprism, 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# | |
1b91bfbb70f9fd22ac4caa36d5d04aab5219ee3b | Add missing property from IExceptionBasedFilterMessage | Glimpse/Glimpse,rho24/Glimpse,elkingtonmcb/Glimpse,flcdrg/Glimpse,flcdrg/Glimpse,paynecrl97/Glimpse,gabrielweyer/Glimpse,paynecrl97/Glimpse,codevlabs/Glimpse,dudzon/Glimpse,rho24/Glimpse,dudzon/Glimpse,gabrielweyer/Glimpse,Glimpse/Glimpse,flcdrg/Glimpse,SusanaL/Glimpse,elkingtonmcb/Glimpse,sorenhl/Glimpse,codevlabs/Gli... | source/Glimpse.Mvc3/Message/IExceptionBasedFilterMessage.cs | source/Glimpse.Mvc3/Message/IExceptionBasedFilterMessage.cs | using System;
namespace Glimpse.Mvc.Message
{
public interface IExceptionBasedFilterMessage
{
Type ExceptionType { get; }
bool ExceptionHandled { get; }
}
} | using System;
namespace Glimpse.Mvc.Message
{
public interface IExceptionBasedFilterMessage
{
Type ExceptionType { get; }
}
} | apache-2.0 | C# |
c6fa04ffdf704b81cd6bbb9b9f95870b2733f801 | Test fixup | grumpydev/Nancy,thecodejunkie/Nancy,AlexPuiu/Nancy,wtilton/Nancy,dbabox/Nancy,jeff-pang/Nancy,dbolkensteyn/Nancy,EIrwin/Nancy,AIexandr/Nancy,JoeStead/Nancy,lijunle/Nancy,VQComms/Nancy,cgourlay/Nancy,tareq-s/Nancy,asbjornu/Nancy,sadiqhirani/Nancy,phillip-haydon/Nancy,jchannon/Nancy,JoeStead/Nancy,AcklenAvenue/Nancy,joeb... | src/Nancy.Tests/Unit/Sessions/NullSessionProviderFixture.cs | src/Nancy.Tests/Unit/Sessions/NullSessionProviderFixture.cs | namespace Nancy.Tests.Unit.Sessions
{
using System;
using Session;
using Xunit;
public class NullSessionProviderFixture
{
private NullSessionProvider provider;
public NullSessionProviderFixture()
{
this.provider = new NullSessionProvider();
... | namespace Nancy.Tests.Unit.Sessions
{
using System;
using Session;
using Xunit;
public class NullSessionProviderFixture
{
private NullSessionProvider provider;
public NullSessionProviderFixture()
{
this.provider = new NullSessionProvider();
... | mit | C# |
f4f030437304bcbb962da1db199798df60e436a7 | Add message class | mikemajesty/coolvalidator | CoolValidator/MessageInfo.cs | CoolValidator/MessageInfo.cs | using System.Windows.Forms;
namespace CoolValidator
{
public class MessageInfo
{
public string Text { get; set; }
public string Caption { get; set; }
public MessageBoxIcon icon { get; set; }
}
}
| mit | C# | |
44cc46f7167f48c261a1c04ad5c6bde64b6cc0b5 | Comment Spelling. | PxAndy/Katana,HongJunRen/katanaproject,monkeysquare/katana,abrodersen/katana,evicertia/Katana,abrodersen/katana,HongJunRen/katanaproject,PxAndy/Katana,HongJunRen/katanaproject,evicertia/Katana,abrodersen/katana,julianpaulozzi/katanaproject,evicertia/Katana,HongJunRen/katanaproject,eocampo/KatanaProject301,monkeysquare/... | src/Microsoft.Owin.Security/AuthenticationOptions.cs | src/Microsoft.Owin.Security/AuthenticationOptions.cs | // <copyright file="AuthenticationOptions.cs" company="Microsoft Open Technologies, Inc.">
// Copyright 2011-2013 Microsoft Open Technologies, Inc. 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 o... | // <copyright file="AuthenticationOptions.cs" company="Microsoft Open Technologies, Inc.">
// Copyright 2011-2013 Microsoft Open Technologies, Inc. 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 o... | apache-2.0 | C# |
4dcec668da571cb41d49872ca07143fae8cc3ffd | Add memory cache tests | Krusen/ErgastApi.Net | src/ErgastApi.Tests/Client/Caching/ErgastMemoryCacheTests.cs | src/ErgastApi.Tests/Client/Caching/ErgastMemoryCacheTests.cs | using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using ErgastApi.Client.Caching;
using ErgastApi.Responses;
using FluentAssertions;
using Xunit;
namespace ErgastApi.Tests.Client.Caching
{
public class ErgastMemoryCacheTests
{
private ErgastMemoryCache Cache { get; set; ... | unlicense | C# | |
c011c77e674af78037cd80c54951ca86583cd1e5 | Create DebuggerShim.cs | codecore/Functional,codecore/Functional | DebuggerShim.cs | DebuggerShim.cs | using System.Linq;
using System.Reflection;
using NSpec;
using NSpec.Domain;
using NSpec.Domain.Formatters;
/*
* Howdy,
*
* This is NSpec's DebuggerShim. It will allow you to use TestDriven.Net or Resharper's test runner to run
* NSpec tests that are in the same Assembly as this class.
*
* It's DEFINITELY w... | apache-2.0 | C# | |
09c68d916634a63fe4b99263d1a869e9e41dae35 | Create PlayerScript.cs | MesoamericaAppsHackatonPanama2013/SimulacionDesastres | PlayerScript.cs | PlayerScript.cs | using UnityEngine;
using System.Collections;
public class PlayerScript : MonoBehaviour {
public GameObject Gente;
public GameObject Gente2;
public GameObject Gente3;
public GameObject Gente4;
public GameObject Base;
public GUIText Puntosgui;
public int Puntos;
public bool FinDelJuego = false;
// Use this f... | mit | C# | |
b97d439205541697b05176031f89989d6be32532 | Create OptionObject.cs | scottolsonjr/scriptlink-core | OptionObject.cs | OptionObject.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ScriptLinkCore.Objects
{
// The OptionObject is defined by Netsmart Technologies, Inc. Do not modify.
public class OptionObject
{
public string EntityID { get; set; }
public double EpisodeNumber... | mit | C# | |
c3d3e01e1019f5cf6b906035104b567aa2d4805b | Sort list | Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews | LeetCode/remote/sort_list.cs | LeetCode/remote/sort_list.cs | // https://leetcode.com/problems/sort-list/
//
// Sort a linked list in O(n log n) time using constant space complexity.
using System;
public class ListNode {
public int val;
public ListNode next;
public ListNode(int x) { val = x; }
public override String ToString()
{
return String.... | mit | C# | |
95df7ca44176d585911a72cb0f0e8bb4ede28e73 | Test to verify inline projections with lots of events. Closes GH-1723 | mysticmind/marten,mysticmind/marten,JasperFx/Marten,mysticmind/marten,JasperFx/Marten,ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten,JasperFx/Marten,mysticmind/marten | src/Marten.Testing/Events/Bugs/Bug_1723_inline_projections_get_cut_off.cs | src/Marten.Testing/Events/Bugs/Bug_1723_inline_projections_get_cut_off.cs | using System;
using System.Threading.Tasks;
using Marten.Testing.Events.Aggregation;
using Marten.Testing.Harness;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Marten.Testing.Events.Bugs
{
public class Bug_1723_inline_projections_get_cut_off : AggregationContext
{
private readonly I... | mit | C# | |
c8989fcfe414d1351b33bd3f37d99fa02d7d7614 | Add tests for F.Negate | farity/farity | Farity.Tests/NegateTests.cs | Farity.Tests/NegateTests.cs | using Xunit;
namespace Farity.Tests
{
public class NegateTests
{
[Theory]
[InlineData(1.22d)]
[InlineData(-1.22d)]
public void NegateNegatesDouble(double a)
{
var expected = -a;
var actual = F.Negate(a);
Assert.Equal(expected, actual)... | mit | C# | |
975381c3f39a7eb1e87320d92d9bb3d93ff4c202 | Add access denied view | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site | src/LondonTravel.Site/Views/Account/AccessDenied.cshtml | src/LondonTravel.Site/Views/Account/AccessDenied.cshtml | @{
ViewBag.MetaDescription = string.Empty;
ViewBag.MetaRobots = "NOINDEX";
ViewBag.Title = "Access denied";
}
<h1 class="text-danger">Access denied</h1>
<h2 class="text-danger">You do not have access to this resource.</h2>
| apache-2.0 | C# | |
00ffe6da55ca468f878ec6453febfe1182212a50 | add missing file | mm999/OrigoDB | src/OrigoDB.Core.UnitTests/Models/MessageBrokerTests.cs | src/OrigoDB.Core.UnitTests/Models/MessageBrokerTests.cs | using System;
using NUnit.Framework;
using OrigoDB.Core.Models;
namespace OrigoDB.Core.Test
{
[TestFixture]
public class MessageBrokerTests
{
[Test]
public void SmokeTest()
{
const string aQueue = "myqueue";
const string aTopic = "mytopic";
const ... | mit | C# | |
703004ce21b734882122bced856b4e8809e3aaaa | Create Pixel.cs | vj-ug/C-SDSA-Algorithm-for-Image-Steganography | Advanced-Implementation/Pixel.cs | Advanced-Implementation/Pixel.cs | namespace Steganography
{
class Pixel
{
public int A { get; set; }
public int R { get; set; }
public int G { get; set; }
public int B { get; set; }
}
}
| apache-2.0 | C# | |
66213b3e5d72b19148f1dbc5b2778e45535ef4fb | Add test for Issue #3713 | peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework | osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs | osu.Framework.Tests/Audio/AudioCollectionManagerTest.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.Collections.Generic;
using System.Linq;
using System.Threading;
using NUnit.Framework;
using osu.Framework.Audio;
namespace osu.Framework.Tests.Audio
{
... | mit | C# | |
0884a16794315bcbe1c129b18acb82bdd39f04f5 | Update App | gdm-201516-prodev3/wdad3,gdm-201516-prodev3/wdad3,gdm-201516-prodev3/wdad3 | LibraryApp/App.Web/Areas/Backoffice/Views/Library/Edit.cshtml | LibraryApp/App.Web/Areas/Backoffice/Views/Library/Edit.cshtml | @model App.Models.Library
@{
ViewBag.Title = "Mediatheek";
ViewBag.SubTitle = @Model.Name;
ViewBag.Description = "Wijzig de informatie van de mediatheek @Model.Name";
Layout = "~/Areas/Backoffice/Views/Shared/_Layout.cshtml";
}
<div class="row">
<div class="col-xs-12" id="libraries-list">
<d... | apache-2.0 | C# | |
099b044f04c556aefe50db9ab9a40fe9dee06c12 | Add headless test ensuring correct cancelling download behaviour | peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,EVAST9919/osu,peppy/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,smoogipoo/osu,2yangk23/osu,EVAST9919/osu | osu.Game.Tests/Online/TestSceneBeatmapDownloading.cs | osu.Game.Tests/Online/TestSceneBeatmapDownloading.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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Overlays.Notifications;
using osu.Game.Tests.V... | mit | C# | |
fa5084bcae9a9740db12fa9798e2aa67f9cc7411 | Create new file | eatYOU/MyTool | CreatPrefab.cs | CreatPrefab.cs | #if UNITY_EDITOR
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
public class CreatPrefab : MonoBehaviour {
public GameObject targetObject;
public GameObject orginObject;
public Object saveFolder;
public string suffix = "_copy";
private Transform mapTran;
pri... | apache-2.0 | C# | |
4a94f9119b4d5e449a84839b90199e44f0c8c254 | Add CilLocalVariableCollection index consistency tests. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | test/AsmResolver.DotNet.Tests/Code/Cil/CilLocalVariableCollectionTest.cs | test/AsmResolver.DotNet.Tests/Code/Cil/CilLocalVariableCollectionTest.cs | using AsmResolver.DotNet.Code.Cil;
using Xunit;
namespace AsmResolver.DotNet.Tests.Code.Cil
{
public class CilLocalVariableCollectionTest
{
private readonly CilLocalVariableCollection _collection = new CilLocalVariableCollection();
private readonly ModuleDefinition _module = new ModuleDefinitio... | mit | C# | |
d32db5a99b17182b32a452ad9b6279449c0743cd | Update SharpRaven.CaptureTest/Program.cs | webaction/raven-csharp,xpicio/raven-csharp,xpicio/raven-csharp,getsentry/raven-csharp,getsentry/raven-csharp,getsentry/raven-csharp,asbjornu/raven-csharp | SharpRaven.CaptureTest/Program.cs | SharpRaven.CaptureTest/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SharpRaven.CaptureTest {
class Program {
static void Main(string[] args) {
Console.WriteLine("Initializing RavenClient.");
RavenClient rc = new RavenClient("https://7d6466e66155... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SharpRaven.CaptureTest {
class Program {
static void Main(string[] args) {
Console.WriteLine("Initializing RavenClient.");
RavenClient rc = new RavenClient("https://7d6466e66155... | bsd-3-clause | C# |
2252d308c8a67e82c81d6b76e116f00cf6f0ea95 | add OsuMarkdownTableCell | NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu | osu.Game/Graphics/Containers/Markdown/OsuMarkdownTableCell.cs | osu.Game/Graphics/Containers/Markdown/OsuMarkdownTableCell.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.Extensions.Tables;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Framework.Graph... | mit | C# | |
47540a5250d37b6cc14a125593c3f94ceefc3a37 | Add test | mavasani/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,jasonmalinowski/ro... | src/Features/LanguageServer/ProtocolUnitTests/Workspaces/LspWorkspaceRegistrationServiceTests.cs | src/Features/LanguageServer/ProtocolUnitTests/Workspaces/LspWorkspaceRegistrationServiceTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;... | mit | C# | |
2ea174cbc47f6325c05a839f39dce9cfa83522aa | Add thread safe event trigger | caronyan/CSharpRecipe | CSharpRecipe/Recipe.ThreadAndConcurrent/EventRaiseExtentions.cs | CSharpRecipe/Recipe.ThreadAndConcurrent/EventRaiseExtentions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Recipe.ThreadAndConcurrent
{
public static class EventRaiseExtentions
{
public static void Raise<TEventArgs>(this TEventArgs e, object sender,
... | mit | C# | |
78767e33a08d8fe437051858e01fd312bc1b8189 | add Endurance Test for StdVector<T> | takuya-takeuchi/DlibDotNet,takuya-takeuchi/DlibDotNet,takuya-takeuchi/DlibDotNet,takuya-takeuchi/DlibDotNet | test/DlibDotNet.Tests/StdLib/Vector/EnduranceTest.cs | test/DlibDotNet.Tests/StdLib/Vector/EnduranceTest.cs | using System;
using System.Linq;
using DlibDotNet.Extensions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DlibDotNet.Tests.StdLib.Vector
{
[TestClass]
public class EnduranceTest : TestBase
{
[TestMethod]
public void Primitive()
{
const... | mit | C# | |
2e945035fb5671c8dcee95d61c1c8b6cd5c87680 | Create ConnectionProvider.cs | fatihgurdal/CandyFramework | CandyFramework.Core/Concrete/Common/ConnectionProvider.cs | CandyFramework.Core/Concrete/Common/ConnectionProvider.cs | mit | C# | ||
29af33eb3edd09f0fe28836e8967cda5d7298db6 | Add secure request policy for server | zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblaze... | src/Glimpse.Server.Web/Framework/ISecureRequestPolicy.cs | src/Glimpse.Server.Web/Framework/ISecureRequestPolicy.cs | using System;
using Glimpse.Web;
namespace Glimpse.Server
{
public interface ISecureRequestPolicy
{
bool AllowUser(IHttpContext context);
}
} | mit | C# | |
771532bcb4bd8ef84a8742a789ad8b36f4979b8d | Add factory for the PathElement class for array like access | Domysee/Pather.CSharp | src/Pather.CSharp/PathElements/EnumerableAccessFactory.cs | src/Pather.CSharp/PathElements/EnumerableAccessFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Pather.CSharp.PathElements
{
public class EnumerableAccessFactory : IPathElementFactory
{
public IPathElement Create(string pathElement)
{
... | mit | C# | |
f6b21b0b5534e52d195a8429d4b9f3076228697d | bump version | FireHost/GitVersion,GitTools/GitVersion,GitTools/GitVersion,Philo/GitVersion,ParticularLabs/GitVersion,DanielRose/GitVersion,asbjornu/GitVersion,distantcam/GitVersion,Kantis/GitVersion,ermshiperete/GitVersion,ParticularLabs/GitVersion,Kantis/GitVersion,ermshiperete/GitVersion,distantcam/GitVersion,dpurge/GitVersion,ono... | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("GitFlowVersion")]
[assembly: AssemblyProduct("GitFlowVersion")]
[assembly: AssemblyVersion("0.1.3")]
[assembly: AssemblyFileVersion("0.1.3")]
| using System.Reflection;
[assembly: AssemblyTitle("GitFlowVersion")]
[assembly: AssemblyProduct("GitFlowVersion")]
[assembly: AssemblyVersion("0.1.2")]
[assembly: AssemblyFileVersion("0.1.2")]
| mit | C# |
2158d45174b791711fdbbb1a8f80691e62028f95 | bump version | anobleperson/GitVersion,distantcam/GitVersion,onovotny/GitVersion,FireHost/GitVersion,DanielRose/GitVersion,anobleperson/GitVersion,dpurge/GitVersion,asbjornu/GitVersion,dpurge/GitVersion,RaphHaddad/GitVersion,ermshiperete/GitVersion,ParticularLabs/GitVersion,Kantis/GitVersion,pascalberger/GitVersion,Philo/GitVersion,F... | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("GitFlowVersion")]
[assembly: AssemblyProduct("GitFlowVersion")]
[assembly: AssemblyVersion("0.10.0")]
[assembly: AssemblyFileVersion("0.10.0")]
[assembly: InternalsVisibleTo("Tests")]
| using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("GitFlowVersion")]
[assembly: AssemblyProduct("GitFlowVersion")]
[assembly: AssemblyVersion("0.9.0")]
[assembly: AssemblyFileVersion("0.9.0")]
[assembly: InternalsVisibleTo("Tests")]
| mit | C# |
a49e1f785aec69e6fe626d411495010176d186df | Add CustomDebugInformationRow structure. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.PE/DotNet/Metadata/Tables/Rows/CustomDebugInformationRow.cs | src/AsmResolver.PE/DotNet/Metadata/Tables/Rows/CustomDebugInformationRow.cs | using System;
using System.Collections;
using System.Collections.Generic;
using AsmResolver.IO;
namespace AsmResolver.PE.DotNet.Metadata.Tables.Rows
{
/// <summary>
/// Represents a single row in the Portable PDB custom debug information metadata table.
/// </summary>
public struct CustomDebugInformati... | mit | C# | |
c219cd4da027f5445c1aa697ab2f12f0493c2de9 | Add DefaultView RequestFilterAttribute to set a default view/template for attributed services/actions | nataren/NServiceKit,timba/NServiceKit,ZocDoc/ServiceStack,nataren/NServiceKit,MindTouch/NServiceKit,MindTouch/NServiceKit,MindTouch/NServiceKit,timba/NServiceKit,nataren/NServiceKit,ZocDoc/ServiceStack,NServiceKit/NServiceKit,NServiceKit/NServiceKit,NServiceKit/NServiceKit,ZocDoc/ServiceStack,ZocDoc/ServiceStack,NServi... | src/ServiceStack.ServiceInterface/DefaultViewAttribute.cs | src/ServiceStack.ServiceInterface/DefaultViewAttribute.cs | using ServiceStack.ServiceHost;
namespace ServiceStack.ServiceInterface
{
public class DefaultViewAttribute : RequestFilterAttribute
{
public string View { get; set; }
public string Template { get; set; }
public DefaultViewAttribute() { }
public DefaultViewAttribute(s... | bsd-3-clause | C# | |
dd0e44da256d4405e0c3bca8ed35a203b723980c | Create PhpSyntaxReference.cs | iolevel/peachpie-concept,iolevel/peachpie,iolevel/peachpie,peachpiecompiler/peachpie,iolevel/peachpie,iolevel/peachpie-concept,peachpiecompiler/peachpie,iolevel/peachpie-concept,peachpiecompiler/peachpie | src/Peachpie.CodeAnalysis/Syntax/PhpSyntaxReference.cs | src/Peachpie.CodeAnalysis/Syntax/PhpSyntaxReference.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using Devsense.PHP.Syntax.Ast;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
using Pchp.CodeAnalysis;
namespace Peachpie.CodeAnalysis.Syntax
{
/// <summary>
/// this is a basic do-nothing implementati... | apache-2.0 | C# | |
3d72ff28c3e09b1e1be93917ceaf2957e34d1adc | Add test scene for "Freeze Frame" mod | peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu | osu.Game.Rulesets.Osu.Tests/Mods/TestSceneOsuModFreezeFrame.cs | osu.Game.Rulesets.Osu.Tests/Mods/TestSceneOsuModFreezeFrame.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 NUnit.Framework;
using osu.Game.Rulesets.Osu.Mods;
namespace osu.Game.Rulesets.Osu.Tests.Mods
{
public class TestSceneOsuModFreezeFrame : OsuModTestScene
{... | mit | C# | |
9d7f4a8b1fde940857cc831bb8188f84acdf418c | Add fixed implementation for RequestProfilers provider | peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.... | src/Glimpse.Agent.Web/Framework/FixedRequestProfilerProvider.cs | src/Glimpse.Agent.Web/Framework/FixedRequestProfilerProvider.cs | using System.Collections.Generic;
using System.Linq;
namespace Glimpse.Agent.Web
{
public class FixedRequestProfilerProvider : IRequestProfilerProvider
{
public FixedRequestProfilerProvider()
: this(Enumerable.Empty<IRequestProfiler>())
{
}
public FixedRequestProfi... | mit | C# | |
8fe528420455b29936f1407b36a460f090407305 | add proxy extensions for ServiceContainerBuilder | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/Aspect/ServiceContainerBuilderExtensions.cs | src/WeihanLi.Common/Aspect/ServiceContainerBuilderExtensions.cs | using System;
using WeihanLi.Common.DependencyInjection;
namespace WeihanLi.Common.Aspect
{
public static class ServiceContainerBuilderExtensions
{
public static IServiceContainerBuilder AddFluentAspects(this IServiceContainerBuilder serviceCollection, Action<FluentAspectOptions> optionsAction)
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.