content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
#pragma warning disable 1591
using System;
using System.Collections.Generic;
using System.Text;
namespace Braintree
{
public class WebhookTestingGateway : IWebhookTestingGateway
{
private readonly BraintreeService service;
protected internal WebhookTestingGateway(BraintreeGateway gateway)
... | 45.231193 | 226 | 0.489879 | [
"MIT"
] | Ethernodes-org/braintree_dotnet | src/Braintree/WebhookTestingGateway.cs | 24,651 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace UltimateOrb.Buffers {
public struct MemorySpanRecord {
public MemoryReferenceRecord Reference;
public object? Manager {
get => Reference.Manager;
set => Reference.Manager = value;
}
... | 17.535714 | 48 | 0.596741 | [
"MIT"
] | LEI-Hongfaan/UltimateOrb.Core.v2 | UltimateOrb.Core/Buffers/MemorySpanRecord.cs | 493 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.KeyVault.Models
{
/// <summary> Parameters for patching a secret. </summary>
public parti... | 29.607143 | 83 | 0.670688 | [
"MIT"
] | AntonioVT/azure-sdk-for-net | sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/SecretUpdateOptions.cs | 829 | C# |
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace AlibabaCloud.SDK.ROS.CDK.Polardb
{
/// <summary>Properties for defining a `ALIYUN::POLARDB::DBNodes`.</summary>
[JsiiInterface(nativeType: typeof(IRosDBNodesProps), fullyQualifiedName: "@alicloud/ros-cdk-polardb.RosDBNode... | 42.438596 | 162 | 0.575444 | [
"Apache-2.0"
] | aliyun/Resource-Orchestration-Service-Cloud-Development-K | multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Polardb/AlibabaCloud/SDK/ROS/CDK/Polardb/IRosDBNodesProps.cs | 2,419 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using EventStore.Common.Log;
using EventStore.Core.Messages;
using EventStore.Core.Messaging;
using EventStore.Core.Tests.Helpers;
using EventStore.Core.Tests.ClientAPI.Helpers;
using EventStore.Core.Services;
using EventStore.Co... | 33.58427 | 112 | 0.757444 | [
"Apache-2.0",
"CC0-1.0"
] | JasonKStevens/EventStoreRx | src/EventStore.Core.Tests/Services/Storage/Scavenge/when_running_a_scavenge_from_storage_scavenger.cs | 2,989 | C# |
// *** WARNING: this file was generated by pulumigen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Kubernetes.Types.Ou... | 31.56 | 179 | 0.63308 | [
"Apache-2.0"
] | Teshel/pulumi-kubernetes | sdk/dotnet/Core/V1/Outputs/VsphereVirtualDiskVolumeSource.cs | 1,578 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DynamicProgramming
{
public class Fibonacci
{
public long[] FibonacciNumbers(int n)
{
long[] fibo = new long[n + 1];
fibo[0] = 0;
fi... | 21.409091 | 52 | 0.509554 | [
"MIT"
] | lizhen325/MIT-Data-Structures-And-Algorithms | MIT/DynamicProgramming/DynamicProgramming/Fibonacci.cs | 473 | C# |
namespace MegaBuild
{
#region Using Directives
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using Menees;
using Menees.Windows.Forms;
#endregion
internal sealed partial class SoundStepCtrl : St... | 21.682432 | 128 | 0.686818 | [
"MIT"
] | menees/MegaBuild | src/MegaBuildSdk/Controls/SoundStepCtrl.cs | 3,209 | C# |
#if UNITY_2017_2_OR_NEWER
//-----------------------------------------------------------------------
// <copyright file="VectorIntDrawer.cs" company="Sirenix IVS">
// Copyright (c) Sirenix IVS. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Sir... | 49.921986 | 185 | 0.596676 | [
"MIT"
] | alexandrejanin/TrafficJam | Assets/Plugins/Sirenix/Odin Inspector/Scripts/Editor/VectorIntDrawers.cs | 7,041 | C# |
using System;
using System.ComponentModel;
namespace SkiaSharp
{
public unsafe class GRContext : SKObject, ISKReferenceCounted
{
[Preserve]
internal GRContext (IntPtr h, bool owns)
: base (h, owns)
{
}
protected override void Dispose (bool disposing) =>
base.Dispose (disposing);
// Create
pub... | 31.633028 | 116 | 0.742749 | [
"MIT"
] | silvrwolfboy/SkiaSharp | binding/Binding/GRContext.cs | 3,450 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UmShop : EventObject
{
public override void Trigger()
{
CloseTrigger();
var umbera = Umbera.Get();
umbera.transform.SetParent(Player.Me.transform);
umbera.transform.localPosition = Vecto... | 24.6875 | 57 | 0.688608 | [
"MIT"
] | pineapplle/HomeTemptation | HomeTemptation/Assets/_script/Event/UmShop.cs | 397 | C# |
using System;
namespace Microsoft.Marketplace.SaasKit.Client.DataAccess.Entities
{
public partial class OfferAttributes
{
public int Id { get; set; }
public string ParameterId { get; set; }
public string DisplayName { get; set; }
public string Description { get; set; }
... | 34.192308 | 66 | 0.587177 | [
"MIT"
] | Azure/Commercial-Marketplace-SaaS-Accelerator | src/SaaS.SDK.Client.DataAccess/Entities/OfferAttributes.cs | 891 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="OrSpecification.cs" company="MCode">
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by... | 38.59322 | 119 | 0.551603 | [
"MIT"
] | RoyGI/Interview | csharp/src/common/Epic.Common/Query/OrSpecification.cs | 2,277 | C# |
using System.IO;
using System;
using Serilog;
using System.Reflection;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace FasterQuant.StrategyLogger
{
public class LoggerFactory
{
private readonly LogConfiguration _logConfig;
private readonly string _logPath;
private re... | 38.748092 | 207 | 0.629827 | [
"MIT"
] | fasterquant/StrategyLogger | Source/FasterQuant.StrategyLogger/LoggerFactory.cs | 5,078 | C# |
using System.Collections.Generic;
namespace MistrzowieWynajmu.Models.Interfaces
{
public interface IPropertyRepository
{
List<Property> GetAllProperties();
Property GetProperty(int propertyId);
int AddProperty(Property property, Address address, Owner owner);
int UpdateProperty... | 30.5 | 77 | 0.725995 | [
"MIT"
] | KropkaTest/mistrzowiewynajmu | MistrzowieWynajmu/MistrzowieWynajmu/Models/Interfaces/IPropertyRepository.cs | 429 | C# |
using IntelligentMemoryScavenger.Logger;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IntelligentMemoryScavenger
{
public class MemoryScavenger
{
private ILogger _logger;
public Memor... | 37.15873 | 142 | 0.491243 | [
"Apache-2.0"
] | yogakce/TempMemoryCleaner | MemoryScavenger.cs | 2,343 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace XSel
{
public class BrowserSize
{
public static BrowserSize Parse(string format)
{
if (string.IsNullOrWhiteSpace(format))
throw new ArgumentNullException("format");
var invaria... | 26.021739 | 101 | 0.539683 | [
"MIT"
] | wulfland/XSel | src/XSel/BrowserSize.cs | 1,199 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// non-local exits in a catch handler nested in another catch handler
using System;
namespace hello
{
class Class1
{
private static TestUtil.TestLog t... | 32.588608 | 101 | 0.322198 | [
"MIT"
] | corefan/coreclr | tests/src/JIT/Methodical/eh/nested/general/cascadedcatch.cs | 5,149 | C# |
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("BeatSaberDiscordPresence")]
[assembly: As... | 39.685714 | 84 | 0.74802 | [
"MIT"
] | Slaynash/BeatSaberDiscordPresence | BeatSaberDiscordPresence/Properties/AssemblyInfo.cs | 1,392 | C# |
using System;
using System.Collections.Generic;
using ErikEJ.SqlCeScripting;
using System.Data;
using System.Linq;
namespace ErikEJ.SqlCeToolbox.Helpers
{
internal class DescriptionHelper
{
private const string TableName = "__ExtendedProperties";
private const string CreateScript =
@"CREATE T... | 33.208633 | 146 | 0.544194 | [
"Apache-2.0"
] | BekoSan/SqlCeToolbox | src/GUI/SqlCe35Toolbox/Helpers/DescriptionHelper.cs | 4,618 | C# |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics.OpenGL.Vertices;
using osuTK.Graphics.ES30;
using osu.Framework.Statistics;
using osu.Framework.Development;
namespa... | 27.474453 | 150 | 0.549947 | [
"MIT"
] | GurovRoman/osu-framework | osu.Framework/Graphics/OpenGL/Buffers/VertexBuffer.cs | 3,630 | C# |
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens;
using System.Linq;
using System.Security.Claims;
using System.Web;
using System.Web.Security;
namespace SimpleInjectorWeb
{
public class ClaimsTransformer : ClaimsAuthenticationManager
{
//public override ClaimsPrincipa... | 33.589286 | 119 | 0.639553 | [
"MIT"
] | cloudstrifebro/mySamples | SimpleInjectorSample/SimpleInjectorConsole/SimpleInjectorWeb/ClaimsTransformer.cs | 1,883 | C# |
/*
* Copyright 2008 ZXing authors
*
* 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 wri... | 29.30303 | 74 | 0.707342 | [
"Apache-2.0"
] | DigitalPlatform/dp2 | zxing_lib/client/result/ISBNParsedResult.cs | 967 | C# |
using System;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Xml;
using System.Xml.Serialization;
using SubSonic;
using SubSonic.Utilities;... | 29.036403 | 188 | 0.653909 | [
"MIT"
] | saludnqn/prosane | RIS_Publico/RIS_Publico/generated/PnCredito.cs | 13,560 | C# |
using System;
using System.Collections.Generic;
namespace Wellcome.Dds.AssetDomain.Workflow
{
public class WorkflowCallStats
{
public int TotalJobs { get; set; }
public int FinishedJobs { get; set; }
public float FinishedPercent { get; set; }
public decimal WordCount { get; set;... | 33.666667 | 65 | 0.651815 | [
"MIT"
] | wellcomecollection/iiif-builder | src/Wellcome.Dds/Wellcome.Dds.AssetDomain/Workflow/WorkflowCallStats.cs | 606 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 38.739726 | 182 | 0.60785 | [
"Apache-2.0"
] | masaaki-yoshida-dev/myoshidan.WallpaperChanger.Activities | WallpaperChanger/WallpaperChanger/WallpaperChanger/Properties/Resources.Designer.cs | 2,830 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.Data.Tables.Models;
using Azure.Data.Tables.Sa... | 50.90942 | 234 | 0.62113 | [
"MIT"
] | Aishwarya-C-S/azure-sdk-for-net | sdk/tables/Azure.Data.Tables/src/TableServiceClient.cs | 28,102 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AdTool.Core
{
public enum LoginType
{
Default, GOV
}
}
| 14.5 | 33 | 0.704433 | [
"Apache-2.0"
] | NaverCloudPlatform/ActiveDirectoryTool | AdTool.Core/DataModel/LoginType.cs | 205 | C# |
// License text here
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ZigBeeNet.DAO;
using ZigBeeNet.ZCL.Protocol;
using ZigBeeNet.ZCL.Field;
using ZigBeeNet.ZCL.Clusters.Commissioning... | 30.312775 | 99 | 0.606598 | [
"MIT"
] | lehn85/ZigbeeNet | src/ZigBeeNet/ZCL/Clusters/ZclCommissioningCluster.cs | 6,883 | C# |
using LETS.Models;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Handlers;
using Orchard.Data;
using Orchard.Localization;
namespace LETS.Handlers
{
public class LETSSettingsPartHandler: ContentHandler {
public Localizer T { get; set; }
public LETSSettingsPartHandler(IRepositor... | 32 | 86 | 0.671296 | [
"BSD-3-Clause"
] | planetClaire/Orchard-LETS | src/Orchard.Web/Modules/LETS/Handlers/LETSSettingsPartHandler.cs | 866 | C# |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | 45.402948 | 281 | 0.52281 | [
"Apache-2.0"
] | CAH-FlyChen/WeiXinMPSDK | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/GroupMessage/GroupMessageApi.cs | 62,921 | C# |
using System;
using System.Collections.Generic;
using Gaze.Utilities;
namespace Gaze.MVVM.ReadOnly
{
public interface IReactiveQueue<T> : IReactiveProperty<Queue<T>>
{
int Count { get; }
T Peek();
void SafeBindOnEnqueueAction(IDestroyable destroyable, Action<T> action);
void Saf... | 29.4375 | 81 | 0.717622 | [
"MIT"
] | RenanDresch/GazePackages | src/Gaze/Assets/UPM/GazeMVVM/Runtime/ReadOnly/ReactiveProperties/IReactiveQueue.cs | 471 | C# |
using System;
namespace Simple.Scheduler
{
/// <summary>
/// Represents the recurring working item task.
/// Recurring task schedules self for the repeating execution, based on the specified parameters.
/// Recalculation of next time period is done in local time.
/// </summary>
/// <seealso cr... | 36.873239 | 110 | 0.551184 | [
"MIT"
] | georgemcz/SimpleScheduler | Scheduling/Internals/LocalTimeRecurringWorkingItem.cs | 2,618 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 25.5 | 81 | 0.675716 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Migrate/Inputs/MigrateProjectTagsArgs.cs | 663 | C# |
/*
* Copyright 2020 Sage Intacct, 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
*
* or in the "LICENSE" file accompanying t... | 29.857143 | 80 | 0.69697 | [
"Apache-2.0"
] | Intacct/intacct-sdk-net | Intacct.SDK.Tests/Functions/DataDeliveryService/DdsObjectListTest.cs | 1,256 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace Shortcut.Demo.WPF
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
... | 18.388889 | 42 | 0.703927 | [
"MIT"
] | AlexArchive/Shortcut | Demos/Shortcut.Demo.WPF/App.xaml.cs | 333 | C# |
using System;
using Vector2 = DeusaldSharp.Vector2;
using System.Runtime.CompilerServices;
namespace Box2DSharp.Common
{
/// Rotation
internal struct Rotation
{
/// Sine and cosine
public float Sin;
public float Cos;
public Rotation(float sin, float cos)
... | 24.442623 | 60 | 0.496311 | [
"MIT"
] | Deusald/DeusaldPhysics2D | DeusaldPhysics2D/Box2dCSharp/Common/Rotation.cs | 1,431 | C# |
using Fixatic.Services.Types;
using Fixatic.Types;
namespace Fixatic.Services
{
/// <summary>
/// Interface - CustomProperty service
/// </summary>
public interface ICustomPropertiesService
{
/// <summary>
/// Creates the or update CustomProperty.
/// </summary>
/// <param name="entry">The entry.</param>... | 25.820513 | 75 | 0.670308 | [
"MIT"
] | Fjarik/Fixatic | src/Fixatic/Services/Fixatic.Services/ICustomPropertiesService.cs | 1,009 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Reinforced.Tecture.Commands;
using Reinforced.Tecture.Testing.Checks;
using Reinforced.Tecture.Testing.Checks.... | 37.026549 | 128 | 0.570268 | [
"MIT"
] | ForNeVeR/Reinforced.Tecture | Testing/Reinforced.Tecture.Testing/Validation/Interpolator.Arguments.cs | 4,186 | C# |
using Microsoft.Azure.WebJobs.Host.Bindings;
using System.Reflection;
using System.Threading.Tasks;
namespace FuncInjector
{
/// <summary>
/// The factory for InjectBinding.
/// </summary>
public class InjectBindingProvider : IBindingProvider
{
private readonly RegisterServicesTrigger conf... | 33 | 116 | 0.707879 | [
"MIT"
] | MV10/Azure.Functions.Dependency.Injection | FuncInjector/Injection/InjectBindingProvider.cs | 827 | C# |
// <copyright file="IFtpUser.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
using System;
namespace FubarDev.FtpServer.AccountManagement
{
/// <summary>
/// A basic FTP user interface.
/// </summary>
[Obsolete("Use ClaimsPrincipa... | 28 | 104 | 0.577922 | [
"MIT"
] | alexandrius007/FtpServer | src/FubarDev.FtpServer.Abstractions/AccountManagement/IFtpUser.cs | 924 | C# |
//************************************************************************************************
// Copyright © 2021 Steven M Cohn. All rights reserved.
//************************************************************************************************
namespace River.OneMoreAddIn.Models
{
using System.Xml.Linq;
... | 25.865672 | 99 | 0.579342 | [
"MPL-2.0"
] | HarthTuwist/OneMore | OneMore/Models/Meta.cs | 1,736 | C# |
#region Using directives
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
#endregion
namespace Blazorise
{
/// <summary>
/// Base component for all the input component types.
/// </summary>
public abstract class Bas... | 28.116822 | 142 | 0.527838 | [
"MIT"
] | 8VAid8/Blazorise | Source/Blazorise/BaseInputComponent.razor.cs | 6,021 | C# |
using Microsoft.Xrm.Tooling.Connector;
using System;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Messages;
using Microsoft.Xrm.Sdk.Query;
using Microsoft.Crm.Sdk.Messages;
namespace PowerApps.Samples
{
public partial class SampleProgram
{
[STAThread] // Required to support the interactive login e... | 54.473684 | 135 | 0.525455 | [
"MIT"
] | Bhaskers-Blu-Org2/Dynamics365-Apps-Samples | sales/AddProductsBundle/AddProductsBundle/SampleProgram.cs | 13,457 | C# |
using System.Text.RegularExpressions;
namespace Microsoft.Recognizers.Text.DateTime.Utilities
{
public interface IDateTimeUtilityConfiguration
{
Regex AgoRegex { get; }
Regex LaterRegex { get; }
Regex InConnectorRegex { get; }
Regex SinceYearSuffixRegex { get; }
... | 20.916667 | 56 | 0.590969 | [
"MIT"
] | 7i77an/Recognizers-Text | .NET/Microsoft.Recognizers.Text.DateTime/Utilities/IDateTimeUtilityConfiguration.cs | 755 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Microsoft.Bot.Builder.Skills
{
/// <summary>
/// Registration for a BotFrameworkHttpProtocol based Skill endpoint.
/// </summary>
public class BotFrameworkSkill
{
/// <s... | 25.342105 | 73 | 0.524403 | [
"MIT"
] | Acidburn0zzz/botbuilder-dotnet | libraries/Microsoft.Bot.Builder/Skills/BotFrameworkSkill.cs | 965 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
// 이러한 특성 값을 변경하세요.
[assembly: AssemblyTitle("Reflection")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: Assembly... | 28.378378 | 56 | 0.698095 | [
"MIT"
] | c3nb/Reflection | Reflection/Properties/AssemblyInfo.cs | 1,483 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Magic.Framework.Schools;
using Magic.Framework.Spells;
namespace Magic.Framework
{
/// <summary>Manages the available spells.</summary>
internal static class SpellManager
{
/*********
** Fields
*********/
... | 35.423077 | 143 | 0.602606 | [
"MIT"
] | ChulkyBow/StardewValleyMods | Magic/Framework/SpellManager.cs | 2,763 | C# |
// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved.
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory(ActionCategory.StateMachine)]
[Tooltip("Sends the next event on the state each totalTimeInSeconds the state is entered.")]
public class SequenceEvent : FsmStateAction
{
[HasFloatSlider(0, 1... | 20.390625 | 133 | 0.633716 | [
"Unlicense"
] | rachel2386/Studio2Game | Assets/PlayMaker/Actions/StateMachine/SequenceEvent.cs | 1,305 | C# |
// 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.
#nullable disable
using static Interop;
namespace System.Windows.Forms
{
internal partial class ToolStripGrip... | 28.666667 | 86 | 0.522572 | [
"MIT"
] | Amy-Li03/winforms | src/System.Windows.Forms/src/System/Windows/Forms/ToolStripGrip.ToolStripGripAccessibleObject.cs | 1,464 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace V308CMS.Admin
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{... | 25.217391 | 99 | 0.587931 | [
"Unlicense"
] | giaiphapictcom/mamoo.vn | V308CMS.Admin/App_Start/RouteConfig.cs | 582 | C# |
using UnityEngine;
namespace KartGame.KartSystems
{
/// <summary>
/// Should be implemented by MonoBehaviours which are on objects with which a kart can collide.
/// </summary>
public interface IKartCollider
{
/// <summary>
/// Should be used to change the velocity of a kart when i... | 40.111111 | 101 | 0.66759 | [
"BSD-3-Clause"
] | ServiceStack/script-unity | MyFirstGame/Assets/UTech/MG-Karting/BasicAssets/Scripts/KartSystems/KartColliders/IKartCollider.cs | 724 | C# |
using System.Collections.Generic;
namespace HS.Farm.Authentication.External
{
public interface IExternalAuthConfiguration
{
List<ExternalLoginProviderInfo> Providers { get; }
}
}
| 20.1 | 58 | 0.736318 | [
"MIT"
] | tranthebao/HS.Farm | aspnet-core/src/HS.Farm.Web.Core/Authentication/External/IExternalAuthConfiguration.cs | 203 | C# |
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace BehaviourInject.Internal
{
#if UNITY_EDITOR
[CanEditMultipleObjects]
[CustomEditor(typeof(Injector))]
public class ChooseContextProperyDrawer : Editor
{
private Settings _settings;
private bool _isDropped;
private SerializedProperty _choose... | 24.859649 | 110 | 0.705716 | [
"MIT"
] | sergeysychov/behaviour_inject | Assets/BInject/Scripts/BehaviourInject/Editor/ChooseContextProperyDrawer.cs | 1,419 | C# |
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenu : MonoBehaviour {
public void OnClickPlay()
{
SceneManager.LoadScene (1);
}
public void OnClickExit()
{
Application.Quit ();
}
public void OnClickHelp()
{
SceneManager.LoadScene(3);
}
}
| 14.095238 | 39 | 0.679054 | [
"Unlicense"
] | Z3uS11/Rusty-the-Balloon | Assets/Scripts/MainMenu.cs | 296 | C# |
/*
Copyright (c) 2011 Steve Revill and Shane Woolcock
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, copy, modify, merge, publi... | 30.465753 | 460 | 0.752248 | [
"MIT"
] | denise-amiga/diddy | src/diddy/native/diddy.pss.cs | 2,224 | C# |
using System.Collections.Generic;
using System.Linq;
using Perpetuum.Data;
using Perpetuum.Log;
using Perpetuum.Network;
using Perpetuum.Services.Sessions;
namespace Perpetuum.Services.Relay
{
public class ServerInfo
{
public static readonly ServerInfo None = new ServerInfo();
public string N... | 33.705882 | 87 | 0.580861 | [
"MIT"
] | OpenPerpetuum/PerpetuumServer | src/Perpetuum/Services/Relay/ServerStateInfo.cs | 3,440 | C# |
namespace Schema.NET
{
using System;
using System.Runtime.Serialization;
using Newtonsoft.Json;
/// <summary>
/// A radio station.
/// </summary>
[DataContract]
public partial class RadioStation : LocalBusiness
{
/// <summary>
/// Gets the name of the type as specifi... | 23.6 | 65 | 0.586864 | [
"MIT"
] | AndreSteenbergen/Schema.ORG | Source/Schema.NET/core/RadioStation.cs | 472 | C# |
// <copyright file="CharacterClientReadyPacketHandlerPlugIn.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.GameServer.MessageHandler.Character
{
using System;
using System.Runtime.InteropServ... | 37.125 | 143 | 0.693603 | [
"MIT"
] | And3rsL/OpenMU | src/GameServer/MessageHandler/Character/CharacterClientReadyPacketHandlerPlugIn.cs | 1,190 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/winioctl.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop
{
p... | 28.333333 | 145 | 0.699346 | [
"MIT"
] | Ethereal77/terrafx.interop.windows | sources/Interop/Windows/um/winioctl/STORAGE_CRYPTO_CAPABILITY.cs | 767 | C# |
//----------------------------------------------------------------------------
//
// Copyright (C) Jason Graham. All rights reserved.
//
// 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 Soft... | 41.528302 | 96 | 0.630168 | [
"MIT"
] | CSharpLabs/GlobalizedNumericTextBox | GlobalizedNumericTextBox/Windows/Forms/GlobalizedNumericTextBoxDisplayFormat.cs | 2,203 | C# |
using CoronaDeployments.Core.Build;
using CoronaDeployments.Core.Models;
using CoronaDeployments.Core.Runner;
using Serilog;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace CoronaDeployments.Core.RepositoryImporte... | 38.563025 | 198 | 0.483766 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | SherifRefaat/CoronaDeployments | Source/CoronaDeployments.Core/RepositoryImporter/SvnRepositoryStrategy.cs | 4,591 | C# |
using Microsoft.Ajax.Utilities;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Veracity.Common.OAuth.Providers;
using Veracity.Services.Api;
using Veracity.Services.Api.Models;
namespace HelloWorldVanilla.Controllers
{
public class Home... | 27.45 | 85 | 0.548877 | [
"Apache-2.0"
] | tony-dnvgl/Veracity-Identity-and-Services-Api | src/Samples/HelloWorldVanilla/Controllers/HomeController.cs | 1,649 | C# |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Gov.Lclb.Cllb.Interfaces
{
using Microsoft.Rest;
using Models;
using Newtonsoft.Json;
using System.Colle... | 41.802817 | 346 | 0.569856 | [
"Apache-2.0"
] | BrendanBeachBC/jag-lcrb-carla-public | cllc-interfaces/Dynamics-Autorest/Parentaccount.cs | 8,904 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src... | 44.32963 | 214 | 0.601053 | [
"MIT"
] | 2m0nd/runtime | src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/MultiplyDoublingWideningSaturateLowerBySelectedScalar.Vector64.Int32.Vector128.Int32.3.cs | 23,938 | C# |
using AtividadesVeiculoColeta.Views;
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace AtividadesVeiculoColeta
{
public partial class App : Application
{
public App()
{
InitializeComponent();
MainPage = new MainPage();
}
protected ... | 19.060606 | 43 | 0.553259 | [
"MIT"
] | perfeito/AtividadesVeiculoColeta | src/AtividadesVeiculoColeta/AtividadesVeiculoColeta/App.xaml.cs | 631 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Session;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
usi... | 34.04918 | 130 | 0.66105 | [
"MIT"
] | davidikin45/Autofac.AspNetCore.Extensions | src/Autofac.AspNetCore.Extensions/Middleware/MultitenantSessionMiddleware.cs | 2,079 | C# |
namespace MassTransit.Containers.Tests.DependencyInjection_Tests
{
using System;
using Common_Tests;
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
using Saga;
[TestFixture]
public class DependencyInjection_Saga :
Common_Saga
{
readonly IServiceP... | 27.339623 | 103 | 0.652864 | [
"ECL-2.0",
"Apache-2.0"
] | DamirAinullin/MassTransit | src/Containers/MassTransit.Containers.Tests/DependencyInjection_Tests/DependencyInjection_Saga.cs | 1,449 | C# |
namespace GameEngine
{
public class HealingPotion : Item
{
public int AmountToHeal { get; set; }
public HealingPotion(int id, string name, string namePlural, int amountToHeal)
: base(id, name, namePlural)
{
AmountToHeal = amountToHeal;
}
}
}
| 20.933333 | 87 | 0.582803 | [
"MIT"
] | IchimGabriel/Game-Engine | GameEngine/Classes/HealingPotion.cs | 316 | C# |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2021 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | 30.083333 | 90 | 0.619806 | [
"Apache-2.0"
] | YaChengMu/WeiXinMPSDK | src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Code/CodeJson/GetPageResultJson.cs | 1,500 | C# |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 20.038674 | 128 | 0.641026 | [
"Apache-2.0"
] | brightness007/unofficial-aliyun-openapi-net-sdk | aliyun-net-sdk-jarvis/Jarvis/Model/V20180206/DescribeAccessWhiteListGroupRequest.cs | 3,627 | C# |
// Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using Stride.Core.Mathematics;
namespace Stride.TextureConverter.Requests
{
/// <summary>
... | 32.241379 | 118 | 0.62246 | [
"MIT"
] | Aggror/Stride | sources/tools/Stride.TextureConverter/Backend/Requests/ColorKeyRequest.cs | 935 | C# |
using System.Text;
using NLog;
using NLog.LayoutRenderers;
namespace Nlog.DocumentDBTarget.Renderes
{
[LayoutRenderer("entity")]
public class Entity : LayoutRenderer
{
protected override void Append(StringBuilder builder, LogEventInfo logEvent)
{
var entity = logEvent.P... | 24 | 84 | 0.585526 | [
"MIT"
] | Bistech/NLog.DocumentDB | NLog.DocumentDBTarget/Renderes/Entity.cs | 458 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) 2014 Microsoft Corporation
//
// 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 ... | 36.835526 | 120 | 0.541436 | [
"MIT"
] | TheWhiteEagle/LiveSDK-for-Windows | src/WP8/Source/Public/LiveAuthClient.cs | 11,198 | C# |
namespace BSim
{
public interface IRobotController
{
void ExecuteRobotCommand(RobotCommand command, IBehavior behavior);
}
}
| 18.25 | 75 | 0.705479 | [
"MIT"
] | danroth27/BSim | Assets/IRobotController.cs | 148 | C# |
using Nimbus.MessageContracts;
namespace Nimbus.UnitTests.InfrastructureTests.MessageContracts
{
public class MyEventWithALongName : IBusEvent
{
}
} | 19.111111 | 63 | 0.732558 | [
"MIT"
] | sbalkum/Nimbus | src/Tests/Nimbus.UnitTests/InfrastructureTests/MessageContracts/MyEventWithALongName.cs | 174 | C# |
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Unity.RenderPipelines.HighDefinition.Editor")]
[assembly: InternalsVisibleTo("Unity.RenderPipelines.HighDefinition.Editor.Tests")]
[assembly: InternalsVisibleTo("Unity.RenderPipelines.HighDefinition.Runtime.Tests")]
[assembly: InternalsVisibleTo("HD... | 49.5 | 84 | 0.838384 | [
"MIT"
] | ACBGZM/JasonMaToonRenderPipeline | Packages/com.unity.render-pipelines.high-definition@10.5.0/Runtime/AssemblyInfo.cs | 396 | C# |
public class Solution {
public int LengthOfLongestSubstring(string s) {
var n = s.Length;
var map = new int[128];
int l = 0, r = 0, res = 0;
while(r < n){
var c = s[r];
l = Math.Max(map[c], l);
res = Math.Max(res, r-l+1);
... | 24.1875 | 51 | 0.392765 | [
"MIT"
] | Igorium/Leetcode | medium/3. Longest Substring Without Repeating Characters.txt.cs | 387 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SeaQuail.Schema;
namespace SeaQuail.SchemaQuery
{
public class SQRemoveForeignKey : SQSchemaQueryBase
{
public SQTable FromTable { get; set; }
public string FromColumnName { get; set; }
public S... | 25.388889 | 55 | 0.680525 | [
"MIT"
] | gjcampbell/seaquail-legacy | sourceCode/SeaQuail/SchemaQuery/SQRemoveForeignKey.cs | 459 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace A... | 38.941741 | 274 | 0.570684 | [
"MIT"
] | ansiboy/ALinq | ALinq/Resources/ALinq.SqlClient.Designer.cs | 60,886 | C# |
namespace System.Web.Mvc {
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Web.Mvc.Razor;
using System.Web.Mvc.Resources;
using System.Web.WebPages;
public class RazorView : BuildManagerCompiledView {
public RazorV... | 39.72973 | 204 | 0.638095 | [
"Apache-2.0"
] | 121468615/mono | mcs/class/System.Web.Mvc3/Mvc/RazorView.cs | 2,942 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
namespace ShapesMVC.Generator
{
public abstract class ShapeGenerator
{
/// <summary>
/// Generates a shape and returns it as a string.
/// </summary>
/// <param name="shapePara... | 38.905263 | 107 | 0.588745 | [
"MIT"
] | goldsam/shapes | ShapesMVC/Generator/ShapeGenerator.cs | 3,698 | C# |
namespace DevNots.Domain
{
public interface IUserRepository: IAsyncRepository<User>
{
}
}
| 12.875 | 60 | 0.699029 | [
"MIT"
] | devnots/devnots-backend | src/DevNots.Domain/User/IUserRepository.cs | 103 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Text;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Infrastructure;
namespace Microsoft.EntityFrameworkCore.Metadata
{
... | 34.086957 | 111 | 0.560799 | [
"Apache-2.0"
] | Potapy4/EntityFrameworkCore | src/EFCore.Relational/Metadata/FunctionColumnExtensions.cs | 2,352 | C# |
// Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 41.866667 | 115 | 0.665207 | [
"Apache-2.0"
] | AlexandrTrf/google-cloud-dotnet | apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/InstancesClient.ResumeSnippet.g.cs | 2,512 | C# |
using UnityEngine;
using System.Collections;
public class CotsbGameObjectDeserialiser
{
public static CotsbGameObject Deserialise()
{
var result = CotsbGameObjectManager.Create<CotsbGameObject>();
return result;
}
}
| 20.5 | 70 | 0.723577 | [
"MIT"
] | astrellon/cotsb_unity_client | Assets/Scripts/Serialisers/CotsbGameObjectDeserialiser.cs | 248 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace TicketSystem.DatabaseRepository.Model
{
class User
{
}
}
| 13.454545 | 47 | 0.72973 | [
"MIT"
] | TeknikhogskolanGothenburg/ticketSystem-teamticknet | src/DatabaseRepository/Model/User.cs | 150 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace Simplicity.IdentityServer.WebHost.Models
{
// Add profile data for application users by adding properties to the ApplicationUser class
public clas... | 26.214286 | 95 | 0.792916 | [
"Apache-2.0"
] | Simplicity-Alpha/Simplicity.IdentityServer | src/Simplicity.IdentityServer.WebHost/Models/ApplicationUser.cs | 369 | C# |
/* Great Circle Calculator
*
* This program calculayes various pieces of information about the "Great Circle" based on the Latitude and Longitude
* provided by the user. A Great Circle is the shortest distance between two points on a sphere - the Earth in this case.
* Coordinates are entered in the form ... | 43.645349 | 253 | 0.539052 | [
"MIT"
] | NeilRichmond/GreatCircle | Form1.cs | 22,525 | C# |
// <copyright file="BlankSpan.cs" company="OpenTelemetry Authors">
// Copyright 2018, OpenTelemetry Authors
//
// 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.or... | 25.482353 | 81 | 0.49723 | [
"Apache-2.0"
] | gibletto/opentelemetry-dotnet | src/OpenTelemetry.Abstractions/Internal/BlankSpan.cs | 4,334 | C# |
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("11... | 38.243243 | 84 | 0.746996 | [
"MIT"
] | TemplarRei/TelerikAcademy | CSharpOne/06.Loops/11.RandNumsInGivenRng/Properties/AssemblyInfo.cs | 1,418 | C# |
using System.Collections.Generic;
using System;
using System.Text.RegularExpressions;
namespace CarDealership.Models
{
public class Car
{
private string _makeModel;
private int _price;
private int _miles;
private static List<Car> _instances = new List<Car> {};
public Car (string MakeModel, st... | 19.555556 | 66 | 0.603693 | [
"MIT"
] | TheBigTaco/car-dealership | Models/Car.cs | 1,408 | C# |
/* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice... | 39.493976 | 220 | 0.588774 | [
"BSD-2-Clause"
] | jijiang/xenadmin | XenModel/XenAPI-Extensions/Session.cs | 9,836 | C# |
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Utilities;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace CodyzeVSPlugin.Highlighting
{
... | 28.107143 | 80 | 0.730623 | [
"Apache-2.0"
] | Fraunhofer-AISEC/codyze-vs-plugin | CodyzeVSPlugin/Highlighting/HighlightWordWarningFormatDefinition.cs | 789 | C# |
// Copyright 2015 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using NodaTime.Utility;
static class TestHelper
{
internal static void AssertConversions<T>(T value, string expectedJson, JsonConverter converter)
... | 38 | 122 | 0.716108 | [
"MIT"
] | SimonCropp/Argon | src/Tests/NodaTime/TestHelper.cs | 1,256 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Lab9.Models
{
public partial class CourseOffering
{
public Course CourseOffered { get; set; }
public int CompareTo(CourseOffering other) => other == null ? 1 : Year.CompareTo(other.Year);
p... | 24.894737 | 101 | 0.630021 | [
"MIT"
] | egnsh93/CST8256 | Lab9/Lab9/Models/CourseOffering.partial.cs | 475 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using GeneticSharp.Domain;
using GeneticSharp.Domain.Chromosomes;
using GeneticSharp.Domain.Fitnesses;
using GeneticSharp.Extensions.Ghostwriter;
using GeneticSharp.Infrastructure.Framework.Texts;
using GeneticSharp.Infrast... | 30.52381 | 102 | 0.51196 | [
"MIT"
] | raminrahimzada/GeneticSharp | src/GeneticSharp.Runner.ConsoleApp/Samples/GhostwriterSampleController.cs | 3,848 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Tasks
{
public class C
{
static void Main(string[] args)
{
var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
Console.SetOu... | 34.90566 | 150 | 0.474595 | [
"CC0-1.0"
] | AconCavy/AtCoder.Tasks.CS | ABC/ABC158/Tasks/C.cs | 1,850 | C# |
using Autofac;
using CleanArchitecture.Core.Aggregates;
using CleanArchitecture.Core.Aggregates.ToDoAggregate;
using CleanArchitecture.Infrastructure;
using CleanArchitecture.Infrastructure.DomainEvents;
using Xunit;
namespace CleanArchitecture.UnitTests.Core.DomainEvents
{
public class DomainEventDispatcherShould... | 33.25 | 100 | 0.732546 | [
"MIT"
] | miklen/CleanArchitecture | tests/CleanArchitecture.UnitTests/Core/DomainEvents/DomainEventDispatcherShould.cs | 931 | C# |
// 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.Collections.Generic;
using Roslyn.Utilities;
namespace StarkPlatform.Compiler
{
internal sealed class CommonDiagnosticComparer : IEqualityC... | 26.238095 | 161 | 0.567151 | [
"BSD-2-Clause",
"MIT"
] | encrypt0r/stark | src/compiler/StarkPlatform.Compiler/Diagnostic/CommonDiagnosticComparer.cs | 1,104 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.