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 |
|---|---|---|---|---|---|---|---|---|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespac... | 42.791367 | 748 | 0.628447 | [
"MIT"
] | MarzWorldLit/azure-sdk-for-net | src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HDInsightPigActivity.cs | 5,948 | C# |
using System;
using System.Diagnostics;
using System.Text;
using NUnit.Framework;
namespace Disruptor.PerfTests.Runner
{
public sealed class LatencyTestRun : TestRun
{
private readonly LatencyPerfTest _latencyPerfTest;
public LatencyTestRun(LatencyPerfTest latencyPerfTest, int run, int availa... | 33.539683 | 168 | 0.58495 | [
"Apache-2.0"
] | gmanny/Disruptor-net | Disruptor.PerfTests/Runner/LatencyTestRun.cs | 2,115 | C# |
using System.Collections.Generic;
using Volo.Abp.Localization;
namespace LINGYUN.Abp.Localization.Dynamic
{
public class LanguageInfoComparer : IEqualityComparer<LanguageInfo>
{
public bool Equals(LanguageInfo x, LanguageInfo y)
{
if (x == null || y == null)
{
... | 23.666667 | 71 | 0.579225 | [
"MIT"
] | ZhaoYis/abp-next-admin | aspnet-core/modules/common/LINGYUN.Abp.Localization.Dynamic/LINGYUN/Abp/Localization/Dynamic/LanguageInfoComparer.cs | 570 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Simple.Data.Commands
{
using System.Dynamic;
using Extensions;
internal static class ArgumentHelper
{
internal static void CheckFindArgs(object[] args, InvokeMemberBinder binder)
... | 38.980392 | 166 | 0.570423 | [
"MIT"
] | SimonH/Simple.Data | Simple.Data/Commands/ArgumentHelper.cs | 1,990 | C# |
namespace ContosoUniversityData.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class AddedFavoriteColor : DbMigration
{
public override void Up()
{
AddColumn("dbo.Student", "FavoriteColor", c => c.String(maxLength: 50));
}
... | 23.210526 | 84 | 0.578231 | [
"MIT"
] | apprenda/ApplicationSamples | datatierplugin/src/sample/V2/ContosoUniversityData/Migrations/201712152123053_AddedFavoriteColor.cs | 441 | 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/Psapi.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.CompilerService... | 34.161943 | 155 | 0.527021 | [
"MIT"
] | IngmarBitter/terrafx.interop.windows | sources/Interop/Windows/Windows/um/Psapi/PSAPI_WORKING_SET_EX_BLOCK.cs | 16,878 | C# |
using System.Collections.Generic;
using DataCore.Adapter.Example;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
namespace DataCore.Adapter.NetFxExample {
public class Startup {
// This method gets cal... | 43.240741 | 132 | 0.613704 | [
"Apache-2.0",
"MIT"
] | intelligentplant/AppStoreConnect.Adapters | examples/DataCore.Adapter.NetFxExample/Startup.cs | 2,337 | C# |
using Playnite.SDK;
using CommonPluginsShared.Collections;
namespace CheckDlc.Models
{
public class CheckDlcCollection : PluginItemCollection<GameDlc>
{
public CheckDlcCollection(string path, GameDatabaseCollection type = GameDatabaseCollection.Uknown) : base(path, type)
{
}
}
}
| 24.461538 | 126 | 0.72327 | [
"MIT"
] | Lacro59/playnite-checkdlc-plugin | source/Models/CheckDlcCollection.cs | 320 | C# |
/*
Tic Tac Toe game.
Author: HugeBrain16
Project URL: https://github.com/HugeBrain16/tic-tac-toe
*/
using System;
namespace main {
class main {
static int check_win(int[,] board, int player) {
int match;
int[,] win_patterns = new int[8, 3] {
// horizontal
{board[0, 0], board[0, 1], board[0, 2]},
... | 21.67364 | 84 | 0.50444 | [
"MIT"
] | HugeBrain16/tic-tac-toe | src/main.cs | 5,180 | C# |
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x100d_f462-3281dd26")]
public void Method_100d_f462()
{
ii(0x100d_f462, 5); push(0x48); ... | 78.631068 | 114 | 0.45734 | [
"Apache-2.0"
] | mikhail-khalizev/max | source/MikhailKhalizev.Max/source/Program/Auto/z-100d-f462.cs | 8,114 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MediaBazar
{
public partial class RemoveManager : Form
{
public RemoveManager(... | 18.333333 | 45 | 0.696104 | [
"MIT"
] | karinakozarova/MediaBazaar | WindowsFormsApp1/MediaBazar/RemoveManager.cs | 387 | 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: AssemblyTi... | 37.911765 | 85 | 0.723041 | [
"MIT"
] | Calabaraburus/WitsParser | src/NUnit.DataTests/Properties/AssemblyInfo.cs | 1,292 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("MockAllTheThings.RhinoMocks")]
[assembly: AssemblyDescription("RhinoMocks support for Mock All The... | 45.913043 | 81 | 0.756629 | [
"MIT"
] | plmwong/mock-all-the-things | MockAllTheThings.RhinoMocks/Properties/AssemblyInfo.cs | 1,058 | C# |
using FrazzApps.Xamarin.Geolocator;
using FrazzApps.Xamarin.Geolocator.Abstractions;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using FrazzApps.Xamarin.Geolocator.WinPhone;
using Xamarin.Forms;
[assembly: Dependency(typeof(FrazzApps.Xamarin... | 39.509317 | 217 | 0.58167 | [
"MIT"
] | FrazzApps/Xamarin.Plugins | Geolocator/Geolocator/FrazzApps.Xamarin.Geolocator.WinPhone/Geolocator.cs | 6,363 | C# |
#region Using Statements
using System;
using WaveEngine.Common;
using WaveEngine.Common.Graphics;
using WaveEngine.Common.Math;
using WaveEngine.Components.Cameras;
using WaveEngine.Components.Graphics2D;
using WaveEngine.Components.Graphics3D;
using WaveEngine.Framework;
using WaveEngine.Framework.Graphics;
using Wave... | 38.01676 | 176 | 0.542248 | [
"MIT"
] | starostin13/Samples | Physics2D/RevoluteJoint2DSample/RevoluteJoint2DSample/RevoluteJoint2DSampleProject/MyScene.cs | 6,805 | C# |
#region Copyright 2010 by Apache Harmony, Licensed under the Apache License, Version 2.0
/* 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 l... | 45.689394 | 206 | 0.58028 | [
"Apache-2.0"
] | NightOwl888/J2N | src/J2N/DoubleExtensions.cs | 18,095 | C# |
using UnityEditor.IMGUI.Controls;
using UnityEditor.Networking.PlayerConnection;
using UnityEngine;
using UnityEngine.Networking.PlayerConnection;
using UnityEngine.XR.OpenXR;
using UnityEngine.XR.OpenXR.Features.RuntimeDebugger;
namespace UnityEditor.XR.OpenXR.Features.RuntimeDebugger
{
internal class DebuggerTr... | 34.386935 | 229 | 0.556481 | [
"MIT"
] | BigMeatBaoZi/SDM5002 | Unity/vr_arm_ctrl/Library/PackageCache/com.unity.xr.openxr@1.3.1/RuntimeDebugger/Editor/RuntimeDebuggerWindow.cs | 6,843 | C# |
using EvilFarmingGame.Objects.Farm.Plants;
using Godot;
namespace EvilFarmingGame.Items
{
public class Item
{
public string Name;
public string Description;
public string ID;
public Texture Icon;
public int MaxStackAmount;
public bool IsSellable;
public float BuyingPrice;
public float SellingPrice;
... | 27.857143 | 202 | 0.732991 | [
"MIT"
] | ComLarsic/EFG-open-source | src/Items/Item.cs | 2,925 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ExitMenu : MonoBehaviour
{
// Start is called before the first frame update
public GameObject settingCanvas;
// Update is called once per frame
void Update()
{
if (Input.GetKeyUp(KeyCode.Escape))
... | 30.085714 | 85 | 0.567901 | [
"MIT"
] | WangberlinT/CodingWorld | CodingWorld_Unity/Assets/Script/GamingScence/Camera/ExitMenu.cs | 1,055 | C# |
using UnityEngine;
using UnityEngine.UI;
public class DEMOInterfaceManager : InterfaceManager
{
public override void Initialize()
{
gameManager = GameObject.Find("GameManager").GetComponent<GameManager>();
grupos = new Animator[NUMGROUPS-1];
grupos[BACK] = backgroundGrou... | 27.684211 | 82 | 0.645437 | [
"MIT"
] | XenMoros/ProjectAlpaca | Assets/Scripts/Managers/DEMOInterfaceManager.cs | 1,054 | C# |
/*
* Copyright (c) 2006-2016, openmetaverse.co
* 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, this
* lis... | 35.057769 | 129 | 0.557929 | [
"BSD-3-Clause"
] | BigManzai/libopenmetaverse | OpenMetaverse/Voice/VoiceControl.cs | 35,198 | 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("Skl... | 37.783784 | 84 | 0.747496 | [
"MIT"
] | Flexberry/automated-testing-course-2020 | 2 Unit testing CSharp/Sklad/Sklad.UnitTests/Properties/AssemblyInfo.cs | 1,401 | C# |
using CocosSharp;
namespace CocosSharpSamples.CCDrawNode.UWP
{
public class GameDelegate : CCApplicationDelegate
{
public override void ApplicationDidFinishLaunching (CCApplication application, CCWindow mainWindow)
{
application.PreferMultiSampling = false;
application.ContentRootDirectory = "Content";
... | 31.596491 | 101 | 0.734037 | [
"MIT"
] | iivchenko/Learning-CocosSharp | src/CocosSharpSamples/CCDrawNode/CocosSharpSamples.CCDrawNode.UWP/GameDelegate.cs | 1,803 | 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("Uni... | 38.216216 | 84 | 0.751768 | [
"BSD-2-Clause",
"Unlicense"
] | Diedinium/Community | Support/UnifiedLogViewer/UnifiedLogViewer/UnifiedLogViewerPlugins/Properties/AssemblyInfo.cs | 1,417 | 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... | 40.990099 | 265 | 0.608213 | [
"Apache-2.0"
] | test-wiz-sec/pulumi-azure-nextgen | sdk/dotnet/Network/V20160901/Inputs/SecurityRuleArgs.cs | 4,140 | C# |
using Xunit;
using Sellix.Net;
namespace Tests
{
public class OrderTest
{
[Fact]
public void Test()
{
Sellix.Net.Sellix sellix = new Sellix.Net.Sellix(Token.Get, new System.Net.Http.HttpClient());
var orders = sellix.Orders.GetOrders();
Assert.Equal(... | 21.117647 | 106 | 0.571031 | [
"Unlicense"
] | Speedo69/Sellix.net | Tests/OrderTest.cs | 361 | 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.
namespace System.Security.Policy
{
public abstract partial class CodeGroup
{
protected CodeGroup(Sy... | 64.911765 | 143 | 0.733122 | [
"MIT"
] | robertmclaws/corefx | src/System.Security.Permissions/src/System/Security/Policy/CodeGroup.cs | 2,209 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using static MimeDetective.Utilities.TypeComparisions;
namespace MimeDetective.Tests.Documents
{
public class OpenDocFormats
{
public const string DocsPath = "./Data/Documents/";
[The... | 26.27907 | 63 | 0.626549 | [
"MIT"
] | HenricObjektvision/Mime-Detective | test/Mime-Detective.Tests/Tests/Documents/OpenDocFormats.cs | 1,132 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace FilterExample {
public class Program {
p... | 27.318182 | 76 | 0.703827 | [
"CC0-1.0"
] | SamuelGuerin/420-GEJ-HY | FilterExample/FilterExample/Program.cs | 603 | C# |
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Integration.AspNet.Core;
using Microsoft.Bot.Connector.Authentication;
using Microsoft.Extensions.Logging;
using StarterBot.Middleware;
using System;
namespace StarterBot.Adapters
{
public class AdapterWithErrorHandler : BotFrameworkHttpAdapter
{
... | 36.782609 | 117 | 0.570528 | [
"MIT"
] | daltskin/Bot-Starter-Template | src/Adapters/AdapterWithErrorHandler.cs | 2,540 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 41.969072 | 146 | 0.568779 | [
"Apache-2.0"
] | PureKrome/aws-sdk-net | sdk/src/Services/GameLift/Generated/Model/Internal/MarshallTransformations/GameSessionUnmarshaller.cs | 8,142 | C# |
using Countdown_ASP.NET.Data;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Swashbuckle.AspNetCore.Annotations;
using Countdown_ASP.NET.Models;
namespace Countdown_ASP.NET.Controllers
{
[A... | 34.175439 | 110 | 0.608316 | [
"MIT"
] | LaunchCodeLiftoffProjects/CountDown | countDownBackEnd/Countdown ASP.NET/Controllers/ProductController.cs | 3,898 | 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 ... | 15.727457 | 96 | 0.497713 | [
"Apache-2.0"
] | bitType/aliyun-openapi-net-sdk | aliyun-net-sdk-ccc/CCC/Model/V20170705/ListAgentSummaryReportsSinceMidnightResponse.cs | 15,523 | C# |
// Copyright 2020 Jon Skeet. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System.Collections.Generic;
using System.Linq;
using VDrumExplorer.Utility;
namespace VDrumExplorer.Model.Schema.Physical
{
/// <summary>
/// A contai... | 33.552632 | 154 | 0.639216 | [
"Apache-2.0"
] | fredatgithub/DemoCode | Drums/VDrumExplorer.Model/Schema/Physical/ContainerContainer.cs | 1,277 | C# |
// <auto-generated />
// Built from: hl7.fhir.r5.core version: 4.6.0
// Option: "NAMESPACE" = "fhirCsR5"
using fhirCsR5.Models;
namespace fhirCsR5.ValueSets
{
/// <summary>
/// The current status of the task.
/// </summary>
public static class TaskStatusCodes
{
/// <summary>
/// The potential perf... | 28.940217 | 182 | 0.600751 | [
"MIT"
] | microsoft-healthcare-madison/argonaut-subscription-server-proxy | argonaut-subscription-server-proxy/Fhir/R5/ValueSets/TaskStatus.cs | 5,325 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SpartanX.Services
{
public interface IReadService<T, TSearch> where T: class where TSearch: class
{
IEnumerable<T> Get(TSearch search = null);
public T GetById(int id);
}
}
| 22.142857 | 81 | 0.706452 | [
"MIT"
] | 6en6ar/SpartanX_RS2_Seminarski | SpartanX/SpartanX/Services/IReadService.cs | 312 | C# |
using UnityEngine;
using System.Collections;
public class gazMove : MonoBehaviour {
private int saveNum;
private float maxWidth = -2.1f;
private float minWidth = -2.7f;
void Start()
{
saveNum = Random.Range(1, 3);
}
void Update()
{
transform.position -= new Ve... | 26.085714 | 120 | 0.535597 | [
"Unlicense"
] | iidan/Android2D-game-developed-in-unity3D | gazMove.cs | 915 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class FPS : MonoBehaviour
{
public float avgFrameRate;
public Text texto;
public void Update()
{
avgFrameRate = Time.frameCount / Time.time;
texto.text = "FPS : " + avgFrameRate;... | 19.352941 | 51 | 0.680851 | [
"MIT"
] | AdrianN17/Proyecto_Robot_IA | Assets/Scripts/FPS.cs | 329 | C# |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WinAuth.ViewComponents
{
public class RandomNumberViewComponent : ViewComponent
{
private readonly Random _rnd;
public RandomNumberViewCompone... | 22.346154 | 87 | 0.611015 | [
"MIT"
] | faddiv/Misc | AspPlay/WinAuth/ViewComponents/RandomNumberViewComponent.cs | 558 | C# |
// Copyright © 2015 - Present RealDimensions Software, 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requ... | 40.863636 | 309 | 0.647386 | [
"Apache-2.0"
] | chocolatey/package-validator | src/chocolatey.package.validator/infrastructure.app/rules/PackageIdUsesDotsNote.cs | 1,801 | 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("Mer... | 37.567568 | 84 | 0.747482 | [
"MIT"
] | balintn22/MetaDependencies | MergeGraphs/Properties/AssemblyInfo.cs | 1,393 | C# |
namespace SimpleMVC.Framework.Routers
{
using SimpleMVC.Framework.Attributes.Methods;
using SimpleMVC.Framework.Controllers;
using SimpleMVC.Framework.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using WebServer.Contracts;
u... | 35.782383 | 145 | 0.572401 | [
"MIT"
] | Steffkn/SoftUni | 05.CSharpWeb/01.Basics/06.SimpleMVC/SimpleMVC.Framework/Routers/ControllerRouter.cs | 6,908 | C# |
namespace DDictionary.Domain.Entities
{
public enum WordGroup: byte
{
E_TotallyUnknown = 10,
D_NeedToMemorize = 20,
C_KindaKnown = 30,
B_WellKnown = 40,
A_DefinitelyKnown = 50
}
}
| 18 | 37 | 0.594017 | [
"Apache-2.0"
] | Alex-D-Green/DDictionary | Domain/Entities/WordGroup.cs | 236 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using System.Xml;
using System.IO;
namespace VcProjectSerialize
{
public class ProjectSerializer : IProjSerializer
{
private XmlSerializer Serializer;
... | 30.115385 | 89 | 0.614943 | [
"MIT"
] | CylonWarrior/UnrealIncludesFix | ProjectSerializer/ProjectSerializer.cs | 1,568 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ---------------------------------------... | 33.952381 | 144 | 0.693548 | [
"Apache-2.0"
] | JetBrains/space-dotnet-sdk | src/JetBrains.Space.Client/Generated/Partials/M2PollContentPartialBuilder.generated.cs | 1,426 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
namespace Pronto
{
public static class StringExtensions
{
public static IEnumerable<XObject> NewLinesToBr(this string s)
{
var lines = s.Split(new[] { '\r', '\n'... | 31.397059 | 108 | 0.346136 | [
"MIT"
] | Saeed-munir/prontocms | Source/Pronto/StringExtensions.cs | 2,137 | 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.
using Microsoft.Toolkit.Uwp.Deferred;
namespace Microsoft.Toolkit.Uwp.UI.Controls
{
/// <summary>
/// Even... | 36.2 | 99 | 0.632202 | [
"MIT"
] | Difegue/WindowsCommunityToolkit | Microsoft.Toolkit.Uwp.UI.Controls/TokenizingTextBox/TokenItemRemovingEventArgs.cs | 1,269 | C# |
#if RAZENSOFT_FUNCTIONAL_UNITASK_SUPPORT
using System;
using Cysharp.Threading.Tasks;
namespace Razensoft.Functional
{
public static partial class AsyncResultExtensionsBothOperands
{
public static UniTask<Result<T>> CheckIf<T>(this UniTask<Result<T>> resultUniTask, bool condition, Func<T, UniTask<Resul... | 34.757576 | 170 | 0.578901 | [
"MIT"
] | Razenpok/Razensoft.Functional | src/Razensoft.Functional/Runtime/Result/UniTask/CheckIfAsyncBoth.cs | 2,294 | C# |
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Xml.Linq;
using BrightstarDB.Client;
using BrightstarDB.Rdf;
using BrightstarDB.Storage;
using NUnit.Framework;
namespace BrightstarDB.Server.IntegrationTests
{
[TestFixture]
public class ClientTests : C... | 48.119216 | 1,201 | 0.581513 | [
"MIT"
] | rajcybage/BrightstarDB | src/core/BrightstarDB.Server.IntegrationTests/ClientTests.cs | 61,354 | C# |
namespace EA.Weee.Core.Tests.Unit.Helpers
{
public class SimpleObject
{
public string MyString { get; set; }
}
}
| 16.75 | 44 | 0.626866 | [
"Unlicense"
] | DEFRA/prsd-weee | src/EA.Weee.Core.Tests.Unit/Helpers/SimpleObject.cs | 136 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace ProgressBarTest... | 31.238095 | 136 | 0.735264 | [
"MIT"
] | ABEMBARKA/monoUI | MoonAtkBridge/tests/assets/ProgressBarTest/App.xaml.cs | 1,970 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
public interface IAssetFactory
{
GameObject LoadSoldier(string name);
GameObject LoadEnemy(string name);
GameObject LoadWeapon(string name);
GameObject LoadEffect(string name);
AudioClip LoadAudioClip(string nam... | 21.352941 | 41 | 0.763085 | [
"MIT"
] | WithoutUmbrella-Boy/Design-patterns-in-game-development | RedAlertProject/Assets/Scripts/Factory/Asset/IAssetFactory.cs | 365 | C# |
using System.Threading;
using System.Threading.Tasks;
using AgreementService;
using LBHTenancyAPI.Infrastructure.V1.UseCase.Execution;
namespace LBHTenancyAPI.Gateways.V1.Arrears
{
public interface IArrearsAgreementGateway
{
Task<IExecuteWrapper<ArrearsAgreementResponse>> CreateArrearsAgreementAsync(Ar... | 30.538462 | 154 | 0.826196 | [
"MIT"
] | cob16/LBHTenancyAPI | LBHTenancyAPI/Gateways/V1/Arrears/IArrearsAgreementGateway.cs | 397 | C# |
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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 ... | 40.244186 | 148 | 0.670615 | [
"Apache-2.0"
] | lsfera/MassTransit | src/MassTransit/Pipeline/Filters/MoveExceptionToTransportFilter.cs | 3,461 | C# |
using System;
namespace Quartz
{
internal sealed class TriggerConfigurator : ITriggerConfigurator
{
private readonly TriggerBuilder triggerBuilder = new TriggerBuilder();
public ITriggerConfigurator WithIdentity(string name)
{
triggerBuilder.WithIdentity(name);
... | 27.6 | 82 | 0.593268 | [
"Apache-2.0"
] | BearerPipelineTest/quartznet | src/Quartz.Extensions.DependencyInjection/TriggerConfigurator.cs | 4,278 | C# |
// Copyright (c) 2015 manu-silicon
// This file is distributed under the MIT License. See LICENSE.md for details.
namespace WCL.Enums
{
/// <summary>
/// Constants used to control how a window is shown.
/// See https://msdn.microsoft.com/en-us/library/windows/desktop/ms633548(v=vs.85).aspx for more details.
/... | 31.377778 | 107 | 0.654037 | [
"MIT"
] | manu-silicon/wcl | Sources/enums/ShowWindowCommands.cs | 2,826 | C# |
using System;
using System.Net;
namespace Roadie.Dlna.Server
{
internal sealed class UpnpDevice
{
public readonly IPAddress Address;
public readonly Uri Descriptor;
public readonly string Type;
public readonly string USN;
public readonly Guid UUID;
public U... | 21.111111 | 67 | 0.509211 | [
"MIT"
] | sphildreth/roadie | Roadie.Dlna/Server/Types/UpnpDevice.cs | 762 | C# |
using System;
using System.IO.Abstractions;
using System.Threading.Tasks;
using McMaster.Extensions.CommandLineUtils;
using Mt.MediaFiles.AppEngine.Cataloging;
using Mt.MediaFiles.AppEngine.Video.Tasks;
using Mt.MediaFiles.ClientApp.Cli.Core;
namespace Mt.MediaFiles.ClientApp.Cli.Commands
{
/// <summary>
/// Walks... | 32.878049 | 107 | 0.747033 | [
"MIT"
] | mtebenev/mediafiles | ClientApp.Cli/Commands/CommandUpdate.cs | 1,348 | C# |
using Newtonsoft.Json.Linq;
using Skybrud.Essentials.Json.Extensions;
using Skybrud.Social.GitHub.Extensions;
using Skybrud.Social.GitHub.Models.Common;
namespace Skybrud.Social.GitHub.Models.Teams {
/// <summary>
/// Class representing a GitHub team.
/// </summary>
public class GitHubTeamItem : GitH... | 32.175824 | 106 | 0.568306 | [
"MIT"
] | abjerner/Skybrud.Social.GitHub | src/Skybrud.Social.GitHub/Models/Teams/GitHubTeamItem.cs | 2,930 | C# |
// Developed by Softeq Development Corporation
// http://www.softeq.com
using Softeq.XToolkit.RemoteData;
using Softeq.XToolkit.RemoteData.HttpClient;
namespace Softeq.XToolkit.Chat.HttpClient.Requests
{
internal class GetMembersRequest : BaseRestRequest
{
public GetMembersRequest(
string... | 28.933333 | 62 | 0.614055 | [
"MIT"
] | Softeq/XToolkit.Chat | Softeq.XToolkit.Chat.HttpClient/Requests/GetMembersRequest.cs | 870 | C# |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Numerics;
using System.Windows.Media;
namespace Microsoft.Maui.Graphics.Xaml
{
public static class XamlGraphicsExtensions
{
public static System.Windows.Media.Color AsWpfColor(this Color target)
{
return System.Windows.Media.Color.FromArgb(
... | 28.288591 | 120 | 0.659075 | [
"MIT"
] | Mohsens22/Microsoft.Maui.Graphics | src/Microsoft.Maui.Graphics.Xaml.WPF/XamlGraphicsExtensions.cs | 4,215 | C# |
// Copyright (c) All contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Utf8Json.Internal;
namespace Utf8Json.Resolvers
{
public sealed partial class BuiltinResolver : IFormatterResolver
{
... | 32.823529 | 150 | 0.63871 | [
"MIT"
] | pCYSl5EDgo/Utf8JsonV2 | Utf8Json.UnityClient/Assets/Scripts/Utf8Json/Resolvers/BuiltinResolver.cs | 2,792 | C# |
using UnityEngine;
public interface ICreepSender
{
void CreepSent(GameObject obj);
}
| 13 | 35 | 0.758242 | [
"MIT"
] | ddark1990/3DMultiplayerMobileLineTowerDefense | Assets/_3DMultiplayerTowerDefense/_Scripts/Interfaces/ICreepSender.cs | 93 | C# |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using UnityEditor.Rendering;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEditor.ShaderGraph.Internal;
using UnityEditor.Graphing;
namespace UnityEditor.ShaderGraph.Serialization
{
static class MultiJsonIntern... | 37.315934 | 173 | 0.513105 | [
"MIT"
] | PULSAR2105/Boids-Bug | Library/PackageCache/com.unity.shadergraph@12.1.1/Editor/Serialization/MultiJsonInternal.cs | 27,166 | C# |
//
// EditableTorrent.cs
//
// Authors:
// Alan McGovern alan.mcgovern@gmail.com
//
// Copyright (C) 2006 Alan McGovern
//
// 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 restric... | 33.534694 | 140 | 0.59871 | [
"MIT"
] | OneFingerCodingWarrior/monotorrent | src/MonoTorrent/MonoTorrent/EditableTorrent.cs | 8,216 | C# |
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Drawing;
using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices... | 38.111111 | 97 | 0.566764 | [
"MIT"
] | CamperSamu/PowerToys | src/modules/previewpane/UnitTests-PdfPreviewHandler/PdfPreviewHandlerTest.cs | 3,343 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "li... | 30.9375 | 108 | 0.592256 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/RoboMaker/Generated/Model/FinishedWorldsSummary.cs | 2,970 | C# |
#nullable disable
using System.Linq;
using VocaDb.Model.Domain.Albums;
using VocaDb.Model.Domain.Globalization;
namespace VocaDb.Model.DataContracts.Albums
{
public class AlbumWithArchivedVersionsContract : AlbumContract
{
public AlbumWithArchivedVersionsContract(Album album, ContentLanguagePreference l... | 28.545455 | 121 | 0.767516 | [
"MIT"
] | Pyther99/vocadb | VocaDbModel/DataContracts/Albums/AlbumWithArchivedVersions.cs | 628 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 24.666667 | 68 | 0.697789 | [
"MIT"
] | liangminhua/PrintBrowser | PrintBrowser/MainWindow.xaml.cs | 826 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System;
using Microsoft.Practices.Unity.Configuration.Tests.ConfigFiles;
using Microsoft.Practices.Unity.TestSupport;
using Microsoft.Practices.Unity.TestSupport.Configuration;
using Microso... | 36.050847 | 122 | 0.693935 | [
"Apache-2.0",
"MIT"
] | drcarver/unity | source/Unity.Configuration/Tests/Unity.Configuration.Tests/When_ConfiguringContainerForPropertyInjection.cs | 2,129 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("XCLCMS.Data.BLL")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("XCLCMS.Data.BLL... | 26.628571 | 59 | 0.713519 | [
"Apache-2.0"
] | jiangnanwoniu/XCLCMS_asp.net | XCLCMS.Data/XCLCMS.Data.BLL/Properties/AssemblyInfo.cs | 1,291 | C# |
namespace BattleCards.Data
{
using Microsoft.EntityFrameworkCore;
public class ApplicationDbContext : DbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
base.OnConfiguring(optionsBuilder);
optionsBuilder.UseSqlServer(Databa... | 25.85 | 85 | 0.682785 | [
"MIT"
] | villdimova/SoftUni-WEB | ExamPreparation/BattleCards/Battle Cards_Skeleton/BattleCards/Data/ApplicationDbContext.cs | 519 | C# |
// ReSharper disable InconsistentNaming
using System;
using System.Threading;
using EasyNetQ.Producer;
using Xunit;
namespace EasyNetQ.Tests.Integration
{
[Explicit("Requires a local RabbitMQ instance to work")]
public class PolymorphicRpc : IDisposable
{
private IBus bus;
public Polymor... | 25.755814 | 76 | 0.46772 | [
"MIT"
] | Eu-JinOoi/EasyNetQ | Source/EasyNetQ.Tests/Integration/PolymorphicRpc.cs | 2,217 | C# |
using System;
using System.Dynamic;
namespace Ams.Data
{
internal class UpdateBuilderDynamic : BaseUpdateBuilder, IUpdateBuilderDynamic, IInsertUpdateBuilderDynamic
{
public dynamic Item { get; private set; }
internal UpdateBuilderDynamic(IDbProvider dbProvider, IDbCommand command, string name, ExpandoObject i... | 30.253731 | 132 | 0.775037 | [
"MIT"
] | SkyGrass/hippos_api_vm | Ams.Data/Builders/Update/UpdateBuilderDynamic.cs | 2,029 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using AJS.Data.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
... | 34.904255 | 176 | 0.618714 | [
"Apache-2.0"
] | Valentin9003/AJS | AJS.Web/Areas/Identity/Pages/Account/LoginWithRecoveryCode.cshtml.cs | 3,283 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
public partial class Default2 : System.Web.UI.Page
{
SqlConnection conn = new SqlConnection(ConfigurationManager.Conne... | 25.166667 | 129 | 0.785872 | [
"MIT"
] | Silight/MaintenanceLog | Maintenence/RequestForm/ManagerComplete.aspx.cs | 455 | C# |
using Clr2Ts.Transpiler.Configuration;
namespace Clr2Ts.Transpiler.Output
{
/// <summary>
/// Represents the configuration that specifies how the code should be written to individual files.
/// </summary>
public sealed class OutputFilesConfiguration
{
/// <summary>
/// Creates an <... | 42.757576 | 159 | 0.672573 | [
"MIT"
] | Chips100/clr2ts | src/Clr2Ts.Transpiler/Output/OutputFilesConfiguration.cs | 1,413 | C# |
using System.Data.Entity.ModelConfiguration;
namespace Siege.Security.SQL.Mappings
{
public class UserMapper : DbContextMapper<User>
{
public override void Build(EntityTypeConfiguration<User> configuration)
{
configuration.HasKey(x => x.ID);
configuration.Property(x => ... | 39.12766 | 111 | 0.519304 | [
"Apache-2.0"
] | lokalan/Siege | Siege.Security/Siege.Security.SQL/Mappings/UserMapper.cs | 1,841 | C# |
using System.Runtime.Serialization;
namespace Service.BackofficeCreds.Grpc.Models
{
[DataContract]
public class RemoveRoleRequest
{
[DataMember(Order = 1)] public string RoleName { get; set; }
}
} | 22.1 | 68 | 0.696833 | [
"MIT"
] | MyJetWallet/Service.BackofficeCreds | src/Service.BackofficeCreds.Grpc/Models/RemoveRoleRequest.cs | 221 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Dynamic.Utils;
using System.Runtime.CompilerServices;
using static System.Linq.Expressions.CachedReflectionInfo;
namespace System.Linq.Express... | 42.583333 | 323 | 0.583376 | [
"MIT"
] | belav/runtime | src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/TypeBinaryExpression.cs | 9,709 | C# |
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Azure.EventGrid.Models;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Host;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace DeadLetterSample
{
... | 51.596154 | 189 | 0.689899 | [
"MIT"
] | Azure-Samples/event-grid-dotnet-handle-deadlettered-events | function-app/WebhookSubscriptionFunction.cs | 2,683 | C# |
using System.Windows;
using NHM.Wpf.ViewModels.Models;
using NHM.Wpf.ViewModels.Plugins;
using NHM.Wpf.Views.Common;
namespace NHM.Wpf.Views.Plugins
{
/// <summary>
/// Interaction logic for PluginWindow.xaml
/// </summary>
public partial class PluginWindow : Window
{
private readonly Plug... | 24.102564 | 81 | 0.617021 | [
"MIT"
] | ARAisling/NiceHashMiner | src/NHM.Wpf/Views/Plugins/PluginWindow.xaml.cs | 942 | C# |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Request to get all the information of a flexible seating host instance.
/// T... | 31.860465 | 129 | 0.662044 | [
"MIT"
] | Rogn/broadworks-connector-net | BroadworksConnector/Ocip/Models/GroupFlexibleSeatingHostGetInstanceRequest22.cs | 1,370 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.AspNetCore.Mvc.Re... | 27.988636 | 103 | 0.637028 | [
"MIT"
] | AndrewTriesToCode/aspnetcore | src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentActivatorTests.cs | 4,926 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("FileSystem")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: ... | 26.405405 | 57 | 0.686796 | [
"Apache-2.0"
] | kcykkk/SimulativeFileSystem | FileSystem/Properties/AssemblyInfo.cs | 1,328 | C# |
// Copyright 2021 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 ... | 52.317202 | 200 | 0.633131 | [
"Apache-2.0"
] | DanFTRX/google-api-dotnet-client | Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.cs | 109,186 | C# |
using SerializedObjectTest;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//Testing the serialized object (armor class)
public class SerializedObjectDropdownTestPlayer : MonoBehaviour
{
public SerializedObjectDatabaseTest database;
//Testing Primitive type
[Dropdown("dat... | 34.955556 | 183 | 0.687858 | [
"MIT"
] | SilvinWillemsen/ModularPhysModVR | Assets/DropdownAttributes/Example (Remove this)/Scripts/SerializedObjectTest/SerializedObjectDropdownTestPlayer.cs | 1,575 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 42.137681 | 161 | 0.656406 | [
"Apache-2.0"
] | SaschaHaertel/AmazonAWS | sdk/test/UnitTests/Generated/Marshalling/CloudSearchDomainMarshallingTests.cs | 5,815 | C# |
// Copyright 2004-2021 Castle Project - http://www.castleproject.org/
//
// 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 req... | 36.625 | 87 | 0.745165 | [
"Apache-2.0"
] | belav/Core | src/Castle.Core.Tests/DynamicProxy.Tests/GenClasses/ClassWithMethodWithArrayOfListOfT.cs | 879 | C# |
/// This code was generated by
/// \ / _ _ _| _ _
/// | (_)\/(_)(_|\/| |(/_ v1.0.0
/// / /
using System;
using System.Collections.Generic;
using Twilio.Base;
using Twilio.Converters;
namespace Twilio.Rest.Studio.V1.Flow.Engagement
{
/// <summary>
/// Retrieve a list of all Steps for an E... | 30.231579 | 93 | 0.546657 | [
"MIT"
] | BrimmingDev/twilio-csharp | src/Twilio/Rest/Studio/V1/Flow/Engagement/StepOptions.cs | 2,872 | C# |
using System.Collections.Generic;
using System.Xml.Serialization;
using Niue.Alipay.Domain;
namespace Niue.Alipay.Response
{
/// <summary>
/// MybankFinanceYulibaoPriceQueryResponse.
/// </summary>
public class MybankFinanceYulibaoPriceQueryResponse : AopResponse
{
/// <summary>
//... | 26.6 | 73 | 0.671053 | [
"MIT"
] | P79N6A/abp-ant-design-pro-vue | Niue.Alipay/Response/MybankFinanceYulibaoPriceQueryResponse.cs | 552 | C# |
namespace AssassinsCreedApp.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Genre")]
public partial class Genre
{
[System.Diagnosti... | 29.892857 | 128 | 0.673835 | [
"Apache-2.0"
] | GeorgeCimpoies/OOP-Repo | Assignments/AssassinsCreedApp/AssassinsCreedApp/Models/Genre.cs | 837 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.FindUsages;
using Microsoft.CodeAnalysis.Host;
namespace Microsoft.CodeAnalysis.Editor.FindUsages... | 41.125 | 161 | 0.715299 | [
"Apache-2.0"
] | 20chan/roslyn | src/EditorFeatures/Core/FindUsages/IFindUsagesService.cs | 989 | C# |
using BenchmarkDotNet.Attributes;
using static Suckless.Asserts.Assertions;
using Code = Seterlund.CodeGuard;
using Seterlund.CodeGuard;
using Dawn;
using ArgumentAssertions.Generic;
namespace Suckless.Asserts.Benchmark
{
public class CompareToOtherLibrieresTest
{
[Benchmark]
public void DawnGu... | 21.614679 | 71 | 0.514007 | [
"MIT"
] | Ja-rek/Suckless.Assert | Suckless.Asserts.Benchmark/CompareToOtherLibriaresTest.cs | 2,356 | C# |
using Loop54.User;
using System;
using System.Collections.Generic;
namespace Loop54
{
/// <summary>
/// A client info that returns null values for all user-specific metadata such as Id, Referrer, etc.
/// Useful for implementing engine requests where there is no context, such as batch jobs.
/// </summ... | 28.156863 | 131 | 0.614206 | [
"BSD-3-Clause"
] | LoopFiftyFour/.NET-Connector | Loop54.Shared/NullClientInfo.cs | 1,436 | C# |
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using BetfairNG;
using BetfairNG.Data;
using Sys... | 35.673913 | 235 | 0.68312 | [
"MIT"
] | gareth-reid/BetsFriends | BF_API/SearchApi/BFMarketBook.cs | 1,641 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Configuration;
namespace KeepWifiConnected
{
class Program
{
... | 31.04 | 101 | 0.439249 | [
"Apache-2.0"
] | And96/KeepWifiConnected | KeepWifiConnected/Program.cs | 5,434 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 42.441176 | 157 | 0.675676 | [
"Apache-2.0"
] | ermshiperete/aws-sdk-net | AWSSDK_WinRT/Amazon.CloudSearchDomain/IAmazonCloudSearchDomain.cs | 4,329 | C# |
using System;
using System.Text;
using JetBrains.Annotations;
using RestSharp.Extensions.MonoHttp;
namespace WebsitePoller.FormRegistrator
{
public static class StringBuilderExtensions
{
[NotNull]
public static StringBuilder AppendParameter(
[NotNull]this StringBuilder builder,
... | 36.184211 | 119 | 0.617455 | [
"MIT"
] | MovGP0/WebsitePoller | WebsitePoller/FormRegistrator/StringBuilderExtensions.cs | 1,377 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://ww... | 52.857143 | 413 | 0.732432 | [
"MIT"
] | fgasperij/azure-powershell | src/ResourceManager/NotificationHubs/Commands.NotificationHubs/Properties/AssemblyInfo.cs | 1,817 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.