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 |
|---|---|---|---|---|---|---|---|---|
using System;
namespace WebApplication.Controls.ShoppingCart
{
public partial class AddToCartButton : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e)... | 24.864865 | 96 | 0.566304 | [
"Apache-2.0"
] | MacdonaldRobinson/FlexDotnetCMS | WebApplication/Controls/ShoppingCart/AddToCartButton.ascx.cs | 922 | C# |
using EngineLayer;
using IO.Mgf;
using IO.MzML;
using IO.ThermoRawFileReader;
using MassSpectrometry;
using mzPlot;
using OxyPlot;
using OxyPlot.Wpf;
using Proteomics.Fragmentation;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using... | 42.621188 | 222 | 0.555154 | [
"MIT"
] | Alexander-Sol/MetaMorpheus | GuiFunctions/MetaDraw/MetaDrawLogic.cs | 26,555 | C# |
namespace LoyaltyProgramServiceTests.Mocks
{
using Microsoft.AspNetCore.Mvc;
public class SpecialOffersMock : ControllerBase
{
[HttpGet("/specialoffers/events")]
public ActionResult<object[]> GetEvents([FromQuery] int start, [FromQuery] int end) =>
new[]
{
new
{
Sequ... | 22.583333 | 90 | 0.527675 | [
"MIT"
] | horsdal/microservices-in-dotnet-book-second-edition | Chapter08/LoyaltyProgramServiceTests/Mocks/SpecialOffersMock.cs | 542 | C# |
using System.Collections.Generic;
using BrotliLib.Markers.Types;
namespace BrotliLib.Markers.Builders{
public class MarkerRootBuilder : IMarkerBuilder{
public MarkerRoot Root { get; }
private readonly Stack<MarkerNode> nodes = new Stack<MarkerNode>();
private readonly Stack<int> starts = ... | 27.588235 | 75 | 0.570362 | [
"MIT"
] | chylex/Brotli-Builder | BrotliLib/Markers/Builders/MarkerRootBuilder.cs | 940 | C# |
using System.Linq;
using Abp.Configuration;
using Abp.Localization;
using Abp.Net.Mail;
using Myproject.EntityFramework;
namespace Myproject.Migrations.SeedData
{
public class DefaultSettingsCreator
{
private readonly MyprojectDbContext _context;
public DefaultSettingsCreator(MyprojectDbConte... | 28.825 | 105 | 0.627927 | [
"MIT"
] | ahmetkursatesim/ASPNETProject | src/Myproject.EntityFramework/Migrations/SeedData/DefaultSettingsCreator.cs | 1,155 | C# |
namespace Hexalith.Application.Queries
{
using System.Threading;
using System.Threading.Tasks;
using Hexalith.Application.Messages;
using Microsoft.Extensions.Options;
public abstract class SettingsQueryHandler<TQuery, TSettings>
: QueryHandler<TQuery, TSettings>
where TQuery : Q... | 27.962963 | 120 | 0.674172 | [
"MIT"
] | Hexalith/Hexalith | src/Core/Application/Hexalith.Application/Queries/SettingsQueryHandler.cs | 757 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WeaponEventHandler : MonoBehaviour
{
public void SetAttackingBool(int state)
{
GetComponentInParent<Animator>().SetBool("isAttacking", Convert.ToBoolean(state));
}
//where the actual attac... | 25.315789 | 112 | 0.611227 | [
"CC0-1.0"
] | MufasaDoodle/GMD-Project | Assets/Scripts/Player/WeaponEventHandler.cs | 962 | C# |
using System;
using System.Diagnostics;
using Cirrious.CrossCore.Platform;
namespace Kunicardus.Touch
{
public class DebugTrace : IMvxTrace
{
public void Trace(MvxTraceLevel level, string tag, Func<string> message)
{
Debug.WriteLine(tag + ":" + level + ":" + message());
}
... | 28.21875 | 101 | 0.542636 | [
"MIT"
] | nininea2/unicard_app_base | Kunicardus.Touch/DebugTrace.cs | 903 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.Psi.Common.Interpolators
{
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// Implements a greedy interpolator that selects the first value from a ... | 50.761062 | 187 | 0.620293 | [
"MIT"
] | Microsoft/psi | Sources/Runtime/Microsoft.Psi/Common/Interpolators/FirstAvailableInterpolator.cs | 5,738 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace GameFramework
{
// Die eigentliche "Intelligenz" des Spiels.
// Ausführliche Erklärung in c't 10/14, S. 176ff
public class MinimaxBrain<TMove> : Brain<TMove>
{
protecte... | 32.543353 | 135 | 0.575666 | [
"Unlicense"
] | MartinNiemllerSchule/lk1314 | othello/1410-176/cthello/cthello/GameFramework/MinimaxBrain.cs | 5,640 | C# |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.CSharp10.Lightup
{
using StyleCop.Analyzers.Test.CSharp9.Lightup;
public class AccessorDeclar... | 29.928571 | 115 | 0.794749 | [
"MIT"
] | RogerHowellDfE/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp10/Lightup/AccessorDeclarationSyntaxExtensionsTestsCSharp10.cs | 421 | C# |
/* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*
* Licensed to Elasticsearch B.V. unde... | 34.564516 | 123 | 0.752683 | [
"Apache-2.0"
] | opensearch-project/opensearch-net | tests/Tests/Document/Multiple/MultiTermVectors/MultiTermVectorsIdsApiTests.cs | 4,286 | C# |
using System.Collections.Generic;
namespace _535_EncodeAndDecodeTinyURL
{
internal class Codec
{
private IDictionary<string, string> UrlMap = new Dictionary<string, string>();
// Encodes a URL to a shortened URL
public string encode(string longUrl)
{
return encodeU... | 24.0625 | 86 | 0.571429 | [
"MIT"
] | kodoftw/LeetCode | LeetCode/535-EncodeAndDecodeTinyURL/Codec.cs | 772 | C# |
namespace EA.Weee.RequestHandlers.AatfReturn.Specification
{
using EA.Weee.Domain.AatfReturn;
using System;
using System.Linq.Expressions;
public class ReturnReportOnByReturnIdSpecification : Specification<ReturnReportOn>
{
public Guid ReturnId { get; private set; }
public ReturnR... | 27.363636 | 86 | 0.667774 | [
"Unlicense"
] | DEFRA/prsd-weee | src/EA.Weee.RequestHandlers/AatfReturn/Specification/ReturnReportOnByReturnIdSpecification.cs | 604 | C# |
using Microsoft.EntityFrameworkCore;
namespace RestWithAspNet.Model.Context
{
public class MySqlContext : DbContext
{
public MySqlContext(){}
public MySqlContext(DbContextOptions<MySqlContext> options) : base(options)
{
}
public DbSet<Person> People { get; set; }
... | 17.210526 | 83 | 0.64526 | [
"Apache-2.0"
] | PRicardo/RestWithAsp-Net5 | RestWithAspNet/RestWithAspNet/RestWithAspNet/Model/Context/MySqlContext.cs | 329 | 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 Xunit;
using Xunit.NetCore.Extensions;
namespace System.IO.Tests
{
public class Directory_Delete_str : Fi... | 37.373585 | 144 | 0.631462 | [
"MIT"
] | cydhaselton/cfx-android | src/System.IO.FileSystem/tests/Directory/Delete.cs | 9,904 | C# |
namespace dp2Circulation
{
partial class RotateControl
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,... | 37.567164 | 145 | 0.59118 | [
"Apache-2.0"
] | DigitalPlatform/dp2 | dp2Circulation/Label/RotateControl.Designer.cs | 2,669 | C# |
using System;
using System.Linq;
namespace equalArrays
{
class Program
{
static void Main(string[] args)
{
int[] firstArray = Console.ReadLine()
.Split(' ')
.Select(int.Parse)
.ToArray();
int[] secondArray = Console.ReadL... | 24.447368 | 98 | 0.401507 | [
"MIT"
] | BorislavVladimirov/C-Software-University | C# TechModule January 2019/Arrays 2019/Arrays/equalArrays/Program.cs | 931 | 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 ... | 37.352941 | 135 | 0.698425 | [
"Apache-2.0"
] | GraphikaPS/google-ads-dotnet | src/V6/Services/CustomerManagerLinkServiceResourceNames.g.cs | 1,270 | 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.Collections.Generic;
using System.Globalization;
using System.Speech.Synthesis;
using System.Speech.Synthesis.TtsEngine;
using System.Xml;
namespace System.Speech.Inter... | 40.146789 | 169 | 0.688071 | [
"MIT"
] | 333fred/runtime | src/libraries/System.Speech/src/Internal/Synthesis/ISSmlParser.cs | 4,376 | C# |
using System;
using System.IO;
using System.Linq;
using System.Threading;
using System.Collections.Generic;
using NUnit.Framework;
using Xamarin.MacDev;
using Xamarin.MacDev.Tasks;
using Xamarin.Utils;
namespace Xamarin.iOS.Tasks
{
[TestFixture]
public class UtilityTests
{
[Test]
public void TestAbsoluteToRe... | 18.785714 | 112 | 0.737643 | [
"BSD-3-Clause"
] | Therzok/xamarin-macios | tests/msbuild/Xamarin.MacDev.Tasks.Tests/UtilityTests.cs | 528 | C# |
using CharacterGen.CharacterClasses;
using CharacterGen.Domain.Tables;
using NUnit.Framework;
using System.Linq;
namespace CharacterGen.Tests.Integration.Tables.Magics.Spells.Known.Sorcerers
{
[TestFixture]
public class Level13SorcererKnownSpellsTests : AdjustmentsTests
{
protected override string... | 27.282051 | 142 | 0.601504 | [
"MIT"
] | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/Magics/Spells/Known/Sorcerers/Level13SorcererKnownSpellsTests.cs | 1,066 | 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-generate... | 36.2 | 152 | 0.563536 | [
"Apache-2.0"
] | netstat133/Antenna-Length-Calculator | Ant/Ant/Properties/Settings.Designer.cs | 1,088 | C# |
using System;
namespace GCSample
{
class Program
{
static void Main(string[] args)
{
var gc = new StandardDispose();
gc.Close();
gc.Dispose();
gc.PublicMethod(); // 会抛出以释放资源的异常
Console.WriteLine("Hello World!");
}
}
}
| 18.588235 | 46 | 0.487342 | [
"MIT"
] | jinjupeng/CodingTutorials | CSharpTutorials/GCSample/Program.cs | 340 | C# |
namespace UiMetadataFramework.Basic.Input
{
using UiMetadataFramework.Core.Binding;
public class StringInputFieldBinding : InputFieldBinding
{
public const string ControlName = "text";
public StringInputFieldBinding() : base(typeof(string), ControlName)
{
}
}
} | 21.230769 | 70 | 0.768116 | [
"MIT"
] | UNOPS/UiMetadataFramework | UiMetadataFramework.Basic/Input/StringInputFieldBinding.cs | 278 | C# |
/*
* virusapi
*
* The Cloudmersive Virus Scan API lets you scan files and content for viruses and identify security issues with content.
*
* OpenAPI spec version: v1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Reflection;
using System.Collections.Concurr... | 34.385463 | 130 | 0.542886 | [
"Apache-2.0"
] | CloudmersiveSupport/Cloudmersive.APIClient.NETCore.VirusScan | client/src/Cloudmersive.APIClient.NETCore.VirusScan/Client/Configuration.cs | 15,611 | C# |
using System.Collections;
using System.Collections.Generic;
using Unity.Mathematics;
using UnityEngine;
/**
* Look up for where an entity is in the world of the game board
*/
public static class Board
{
// maximum z value
public static float SpikeZone = 0f;
public static float TrenchZone = -170f;
pu... | 24.333333 | 76 | 0.719178 | [
"MIT"
] | DennisSSDev/CastleStorm | Assets/Mono/GameStatics/Board.cs | 440 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 40.060606 | 153 | 0.606657 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/IDeviceMemberOfCollectionReferencesRequestBuilder.cs | 1,322 | C# |
// Copyright 1998-2012 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class AudiokineticTools : ModuleRules
{
#if WITH_FORWARDED_MODULE_RULES_CTOR
public AudiokineticTools(ReadOnlyTargetRules Target) : base(Target)
#else
public AudiokineticTools(TargetInfo Target)
#endif
{
PCHUsage ... | 24.538462 | 71 | 0.517868 | [
"MIT"
] | BeatItOtaku/Eclair3 | Plugins/Wwise/Source/AudiokineticTools/AudiokineticTools.Build.cs | 1,595 | C# |
namespace JohnLBevan.EventApp.BaseInterfaces
{
public interface IVenue
{
long? Id { get; set; }
bool? IsBoxOffice { get; set; }
bool? IsVenue { get; set; }
long? LocationId { get; set; }
string Name { get; set; }
string UniqueName { get; set; }
}
} | 22.142857 | 44 | 0.548387 | [
"MIT"
] | JohnLBevan/EdinburghFringe | WebApplication/JohnLBevan.EventApp.BaseInterfaces/IVenue.cs | 310 | C# |
// -----------------------------------------------------------------------
// <copyright file="ScenarioSettingsSection.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Micros... | 26.531963 | 90 | 0.482489 | [
"MIT"
] | FrankieTF/Partner-Center-DotNet-Samples | sdk/SdkSamples/Configuration/ScenarioSettingsSection.cs | 11,623 | 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.
//
// Generated on 2020 October 09 06:00:43 UTC
// </auto-generated>
//--------------... | 34.283784 | 159 | 0.579819 | [
"MIT"
] | GridProtectionAlliance/go2cs | src/go-src-converted/cmd/vendor/golang.org/x/sys/unix/ztypes_netbsd_386_BpfHdrStruct.cs | 2,537 | 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 ... | 60.514484 | 242 | 0.636872 | [
"Apache-2.0"
] | AlexandrTrf/google-cloud-dotnet | apis/Google.Cloud.Dialogflow.Cx.V3/Google.Cloud.Dialogflow.Cx.V3.Tests/TestCasesClientTest.g.cs | 52,224 | C# |
using System;
namespace ProcessorCSV.API
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string Summary { get; set; }
}
}
| 18.5625 | 69 | 0.606061 | [
"MIT"
] | sinspeel/ProcessorCSV | ProcessorCSV.API/WeatherForecast.cs | 297 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InterractionManager : MonoBehaviour {
public static InterractionManager instance;
/*
public delegate void acteurInScene();
protected static event acteurInScene OnActeurInScene;
*/
public bool actorIs... | 14.722222 | 57 | 0.631447 | [
"Apache-2.0"
] | thomasjl/Contes_RVTeam | Unity/Contes_RVTeam/Assets/Props/InterractionManager.cs | 797 | C# |
namespace _04AddMinion
{
using System;
using System.Data.SqlClient;
using System.Linq;
using _01InitialSetup;
public class StartUp
{
public static void Main()
{
var minionInfo = Console.ReadLine()
.Split(new string[] { "Minion: ", " " }, StringSplit... | 34.726496 | 113 | 0.602757 | [
"MIT"
] | kalintsenkov/SoftUni-Software-Engineering | CSharp-DB/Databases-Advanced/Homeworks/01AdoNetIntroduction/04AddMinion/StartUp.cs | 4,065 | C# |
// Copyright 2013-2019 Automatak, LLC
//
// Licensed to Green Energy Corp (www.greenenergycorp.com) and Automatak
// LLC (www.automatak.com) under one or more contributor license agreements.
// See the NOTICE file distributed with this work for additional information
// regarding copyright ownership. Green Energy Corp... | 45.74026 | 145 | 0.681147 | [
"Apache-2.0"
] | JakeChow/DNP | dotnet/CLRInterface/src/IChannel.cs | 3,522 | C# |
using Meadow;
using System.Threading;
namespace ICs.IOExpanders.Pca9685_Sample
{
class Program
{
static IApp app;
public static void Main(string[] args)
{
if (args.Length > 0 && args[0] == "--exitOnDebug") return;
// instantiate and run new meadow app
... | 20.45 | 70 | 0.557457 | [
"Apache-2.0"
] | WildernessLabs/Meadow.Foundation | Source/Meadow.Foundation.Peripherals/ICs.IOExpanders.Pca9685/Samples/ICs.IOExpanders.Pca9685_Sample/Program.cs | 411 | C# |
using System;
using UnityEngine;
namespace HeathenEngineering.Scriptable
{
[Serializable]
public class CameraReference : VariableReference<Camera>
{
public CameraPointerVariable Variable;
public override IDataVariable<Camera> m_variable => Variable;
public CameraReference(Camera v... | 22.5 | 69 | 0.7 | [
"MIT"
] | TH3UNKN0WN-1337/Heathen-System-Core | Assets/_Heathen Engineering/SystemsCore/Framework/Scriptable/Data Types/Camera/CameraReference.cs | 362 | C# |
using System;
using System.Collections.Generic;
using Hl7.Fhir.Introspection;
using Hl7.Fhir.Validation;
using System.Linq;
using System.Runtime.Serialization;
using Hl7.Fhir.Utility;
/*
Copyright (c) 2011+, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without mod... | 45.417279 | 177 | 0.577387 | [
"BSD-3-Clause"
] | amitpuri/fhir-net-api | src/Hl7.Fhir.Core/Model/Generated/MedicationOrder.cs | 49,416 | C# |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using MTF_Services.Model;
using MTF_Services.WinForms.Data;
using MTF_Services.WinForms.Extentions;
using MTF_Services.WinForms.Properties;
namespace MTF_Services.WinForms.Forms.SysAdmin.Services.Dictionary... | 37.528662 | 169 | 0.541158 | [
"MIT"
] | NorthRebel/MTF_Services | Main/Source/MTF_Services.WinForms/Forms/SysAdmin/Services/Dictionary/EditServiceTypeForm.cs | 13,552 | C# |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
using System.Collections.Generic;
namespace VsChromium.Core.Files.PatternMatching {
public class OpIsNoMatch : BaseOperator, IPrePassWontMatch ... | 32.227273 | 156 | 0.708039 | [
"BSD-3-Clause"
] | C-EO/vs-chromium | src/Core/Files/PatternMatching/OpIsNoMatch.cs | 711 | C# |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using Microsoft.WindowsAzure.MobileServices;
using Microsoft.WindowsAzure.MobileServices.Query;
u... | 39.08441 | 194 | 0.523701 | [
"Apache-2.0"
] | Atlas-LiftTech/azure-mobile-apps-net-client | unittests/MobileClient.Tests/Table/ZumoQuery.Test.cs | 45,379 | C# |
using System.Text;
using System.Net.Http;
using Newtonsoft.Json;
using System.Threading.Tasks;
using DiscordBoats.Internal;
using DiscordBoats.Models;
namespace DiscordBoats
{
public class BoatClient : BaseBoatClient
{
public BoatClient(ulong botId, string token)
{
BotId = botId;
... | 28.891304 | 89 | 0.635816 | [
"MIT"
] | DiscordBoats/Boats.NET | DiscordBoats/BoatClient.cs | 1,329 | C# |
// -------------------------------------------------------------------------------------------------
// <copyright file="ElementGroupingType.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this fi... | 46.944444 | 160 | 0.619527 | [
"Apache-2.0"
] | RHEAGROUP/Kalliope | Kalliope/Core/ElementGroupingType.cs | 1,692 | C# |
using Commun;
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 InterfaceGraphique
{
public partial class OpenCard : Form
{
priv... | 40.745562 | 158 | 0.476038 | [
"MIT"
] | samirov78/MultiplayerRobotSimulator | ClientLourd/Code/Sources/InterfaceGraphique/Forms/OpenCard.cs | 6,889 | C# |
namespace MultipleDbContextDemo.MigrationsSecond
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<MultipleDbContextDemo.EntityFramework.MySecondDbContext>
{
public Configurat... | 29.56 | 124 | 0.645467 | [
"MIT"
] | Jimmey-Jiang/aspnetboilerplate-samples | MultipleDbContextDemo/MultipleDbContextDemo.EntityFramework/MigrationsSecond/Configuration.cs | 739 | C# |
using System;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Nyan.Core.Settings;
namespace Nyan.Modules.Web.REST.tools
{
[RoutePrefix("stack/proxy")]
public class ProxyController : ApiController
{
[Route("")]
[HttpGet]
public object Search([FromUri] string ur... | 24.542857 | 96 | 0.50291 | [
"MIT"
] | bucknellu/Nyan | Modules/Web/REST/tools/Proxy.cs | 861 | C# |
#nullable enable
using System;
using Content.Server.Holiday.Celebrate;
using Content.Server.Holiday.Greet;
using Content.Server.Holiday.Interfaces;
using Content.Server.Holiday.ShouldCelebrate;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization;
using Robust.Shared.ViewVariables;
using YamlDotNet.Represe... | 37.189873 | 111 | 0.63887 | [
"MIT"
] | TheOneAndMightyRed/space-station-14 | Content.Server/Holiday/HolidayPrototype.cs | 2,938 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SharpGLTF.Animations
{
/// <summary>
/// Wraps a collection of samplers split over time to speed up key retrieval.
/// </summary>
/// <typeparam name="T">The value sampled at any offset</typeparam... | 37.122807 | 147 | 0.587429 | [
"MIT"
] | ptasev/SharpGLTF | src/SharpGLTF.Core/Animations/FastCurveSampler.cs | 2,118 | C# |
#nullable enable
using System;
using System.IO;
using System.Threading.Tasks;
using GovUk.Education.ExploreEducationStatistics.Common.Cache.Interfaces;
using GovUk.Education.ExploreEducationStatistics.Common.Model;
using GovUk.Education.ExploreEducationStatistics.Common.Services.Interfaces;
using Microsoft.AspNetCore.... | 33.588235 | 115 | 0.588004 | [
"MIT"
] | dfe-analytical-services/explore-education-statistics | src/GovUk.Education.ExploreEducationStatistics.Common/Services/BlobCacheService.cs | 4,570 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Windows;
using GenshinPlayerQuery.View;
namespace GenshinPlayerQuery.Core
{
internal static class MessageBus
{
... | 33.766917 | 117 | 0.586284 | [
"Apache-2.0"
] | GengGode/GenshinPlayerQuery | src/Core/MessageBus.cs | 4,575 | C# |
namespace Serenity.Data
{
using System;
using System.Text;
/// <summary>
/// An object that is used to create criterias by employing operator overloading
/// features of C# language, instead of using string based criterias.</summary>
#if !COREFX
[Serializable]
#endif
public class Crit... | 35.597015 | 93 | 0.559888 | [
"MIT"
] | davidzhang9990/SimpleProject | Serenity.Data/Criteria/Criteria.cs | 7,260 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... | 41 | 157 | 0.623102 | [
"BSD-3-Clause"
] | Carko/Krypton-Toolkit-Suite-NET-Core | Source/Truncated Namespaces/Source/Krypton Components/Krypton.Docking/Event Args/AutoHiddenGroupPanelEventArgs.cs | 2,176 | C# |
using YAF.Lucene.Net.Analysis.TokenAttributes;
namespace YAF.Lucene.Net.Analysis.Ckb
{
/*
* 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.
... | 38.737705 | 107 | 0.617435 | [
"Apache-2.0"
] | AlbertoP57/YAFNET | yafsrc/Lucene.Net/Lucene.Net.Analysis.Common/Analysis/Ckb/SoraniStemFilter.cs | 2,305 | C# |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Xunit.Abstractions;
namespace Xunit
{
internal class SerializedList<T> : List<T>, IXunitSerializable
{
private const string CountField = "Count";
private const string ItemTypeFieldPrefix = "ItemType";
private const string ItemFieldPr... | 26.733333 | 100 | 0.705736 | [
"MIT"
] | davidwengier/Xunit.SerializedTheoryData | src/SerializedList.cs | 1,205 | C# |
using UnityEngine;
using System.Collections;
public class GoalGOB
{
public string name;
public float value;
public float change;
public virtual float GetDiscontentment(float newValue)
{
return newValue * newValue;
}
public virtual float GetChange()
{
return 0f;
... | 16.3 | 58 | 0.644172 | [
"MIT"
] | PacktPublishing/Complete-Unity-2018-Game-Development | UAIPC/Assets/_UnityAIPC/Scripts/Ch03DecisionMaking/GoalGOB.cs | 328 | C# |
// Copyright 2020 Andreas Atteneder
//
// 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... | 33.69697 | 85 | 0.695144 | [
"Apache-2.0"
] | Gfi-Innovation/UMI3D-Desktop-Browser | UMI3D-Browser-Desktop/Assets/UMI3D SDK/Dependencies/Runtime/GltFast/Runtime/Scripts/IMaterialGenerator.cs | 1,114 | C# |
using System;
using System.Reactive.Linq;
using System.Threading.Tasks;
using GitHub.Api;
using GitHub.Factories;
using GitHub.Models;
using GitHub.Primitives;
using GitHub.Services;
using GitHub.ViewModels;
using GitHub.ViewModels.GitHubPane;
using NSubstitute;
using Octokit;
using UnitTests;
using NUnit.Framework;
u... | 49.018779 | 185 | 0.685567 | [
"MIT"
] | eladsnacj/VisualStudio | test/UnitTests/GitHub.App/ViewModels/Dialog/PullRequestCreationViewModelTests.cs | 10,443 | C# |
using System;
using System.Diagnostics;
using Lucene.Net.Documents;
namespace Lucene.Net.Search
{
using Lucene.Net.Index;
using NUnit.Framework;
using AtomicReaderContext = Lucene.Net.Index.AtomicReaderContext;
using BytesRef = Lucene.Net.Util.BytesRef;
using Directory = Lucene.Net.Store.Directory;... | 45.921429 | 402 | 0.588676 | [
"Apache-2.0"
] | CerebralMischief/lucenenet | src/Lucene.Net.Tests/core/Search/TestNumericRangeQuery32.cs | 32,145 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace YoukaiFox.Audio
{
public class AudioSettingsMenu : MonoBehaviour
{
#region Actions
#endregion
#region Serialized fields
[SerializeField]
private Slider _music... | 24.11215 | 97 | 0.585271 | [
"MIT"
] | YoukaiFox/YoukaiAudioManager | AudioSettingsMenu.cs | 2,582 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KryptPadCSApp.Collections
{
class RefreshableCollection<T> : ObservableCollection<T>
{
public void RefreshItem(T item)
{
... | 20.72 | 60 | 0.608108 | [
"MIT"
] | KryptPad/KryptPad | KryptPadCSApp/Collections/RefreshableCollection.cs | 520 | C# |
using PNN.Entities;
public class Battleground_OnEntityDespawnedArgs
{
public readonly Entity affectedEntity;
public Battleground_OnEntityDespawnedArgs(Entity affectedEntity)
{
this.affectedEntity = affectedEntity;
}
}
| 20.416667 | 68 | 0.763265 | [
"MIT"
] | Kalystee/TacticalTurnedBase | Assets/Scripts/Game/Battleground/Events/Battleground_OnEntityDespawnedArgs.cs | 247 | C# |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | 31.080645 | 98 | 0.616502 | [
"MIT"
] | SpyRefused/chthonianex | backend/src/Squidex.Domain.Apps.Core.Operations/IUrlGenerator.cs | 1,929 | C# |
using System;
using System.Windows.Forms;
namespace ArchiveIntegrityChecker
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
... | 22.05 | 65 | 0.582766 | [
"MIT"
] | GridProtectionAlliance/openHistorian | Source/Tools/ArchiveIntegrityChecker/Program.cs | 443 | C# |
using System;
using System.Collections.Generic;
using System.Reflection.Emit;
using Inception.Proxying.Metadata;
namespace Inception.Proxying.Generators
{
internal class FieldMetadataFieldBuilderMap : Dictionary<FieldMetadata, FieldBuilder>
{
public FieldMetadataFieldBuilderMap(int capacity)
... | 22.411765 | 89 | 0.692913 | [
"BSD-2-Clause"
] | bradleyjford/inception | src/Inception/Proxying/Generators/FieldMetadataFieldBuilderMap.cs | 383 | C# |
namespace Bloom.TeamCollection
{
/// <summary>
/// Arguments for the DeleteRepoBookFile event in TeamCollection.
/// </summary>
/// <remarks>Don't confuse with the higher-level BookDeletedEventArgs. No new
/// behavior in this class, but we do need to be able to distinguish them</remarks>
public class DeleteRepo... | 31 | 84 | 0.752688 | [
"MIT"
] | BloomBooks/BloomDesktop | src/BloomExe/TeamCollection/DeleteRepoBookFileEventArgs.cs | 374 | C# |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
using RentApp.Models.Entities;
using RentApp.Persistance;
using Ren... | 30.163265 | 108 | 0.584574 | [
"MIT"
] | ognjengt/PUSGS2018-SOM | initialApp-master/RentApp/Controllers/AppUsersController.cs | 2,958 | C# |
#nullable enable
using Microsoft;
using Microsoft.VisualStudio.Shell;
using System;
using System.Windows.Input;
using Task = System.Threading.Tasks.Task;
namespace CopyGitLink.CodeLens.ViewModels
{
public sealed class ActionCommand : ICommand
{
private readonly Action _execute;
public event ... | 21.37931 | 77 | 0.542742 | [
"MIT"
] | GrahamTheCoder/CopyGitLink | src/Impl/CopyGitLink/CodeLens/ViewModels/ActionCommand.cs | 1,242 | C# |
using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Reflection;
using System.Collections.Generic;
using System.Collections;
using NetOffice;
namespace NetOffice.ExcelApi
{
///<summary>
/// Interface IFil... | 31.511211 | 216 | 0.69603 | [
"MIT"
] | brunobola/NetOffice | Source/Excel/Interfaces/IFileExportConverters.cs | 7,029 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using Palaso.UI.WindowsForms.Keyboarding;
using Palaso.WritingSystems;
namespace Palaso.UI.WindowsForms.WritingSystems
{
public partial class WSFontContr... | 24.725225 | 105 | 0.707779 | [
"MIT"
] | darcywong00/libpalaso | PalasoUIWindowsForms/WritingSystems/WSFontControl.cs | 5,489 | C# |
#region License
/* **********************************************************************************
* Copyright (c) Roman Ivantsov
* This source code is subject to terms and conditions of the MIT License
* for Irony. A copy of the license can be found in the License.txt file
* at the root of this distribution.
... | 34.592593 | 126 | 0.672377 | [
"MIT"
] | Aggror/Stride | sources/shaders/Irony.GrammarExplorer/Highlighter/RichTextBoxHighlighter.cs | 8,409 | 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... | 47.532258 | 179 | 0.662029 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/KeyManagementService/Generated/Model/DisabledException.cs | 5,894 | C# |
/*
* Copyright 2002-2020 Raphael Mudge
* Copyrigth 2020 Sebastian Ritter
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of
... | 36.27027 | 112 | 0.747019 | [
"BSD-3-Clause"
] | bastie/sleep-vampire | csharp/src/sleep/taint/TaintModeGeneratedSteps.cs | 2,684 | C# |
using System;
using Elmish.WPF.Samples.FileDialogs;
using static Elmish.WPF.Samples.FileDialogs.Program;
namespace FileDialogs.Views {
public static class Program {
[STAThread]
public static void Main() =>
main(new MainWindow());
}
}
| 21.166667 | 52 | 0.720472 | [
"Apache-2.0"
] | MicaelMor/Elmish.WPF | src/Samples/FileDialogs.Views/Program.cs | 256 | 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 System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Securi... | 41.46696 | 181 | 0.505152 | [
"MIT"
] | 2E0PGS/corefx | src/System.Net.Security/src/System/Net/Security/SslSessionsCache.cs | 9,413 | 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>
//----------------------------------------... | 30.44 | 84 | 0.465177 | [
"Apache-2.0"
] | noopman/RemoteDebuggingDemo | RemoteDebuggingDemo/Default.aspx.designer.cs | 763 | C# |
/*
https://www.codewars.com/kata/56c2acc8c44a3ad6e400050a/csharp
7 kyu
Monkey's MATH 01: How many "ZERO"s?
Gigi is a clever monkey, living in the zoo, his teacher (animal keeper) recently taught him some knowledge of "0".
In Gigi's eyes, "0" is a character contains some circle(maybe one, maybe two).
So, a is a "0"... | 32.361702 | 125 | 0.619987 | [
"MIT"
] | a-kozhanov/codewars-csharp | CodeWars/7kyu/MonkeysMATH01.cs | 1,529 | C# |
namespace Jopalesha.CheckWhenDoIt.Conditions
{
public class BoolCondition : ICondition
{
public BoolCondition(bool value)
{
IsTrue = value;
}
public bool IsTrue { get; }
}
}
| 17.846154 | 45 | 0.573276 | [
"MIT"
] | jopalesha/CheckWhenDoIt | src/CheckWhenDoIt/Conditions/BoolCondition.cs | 234 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Amaranth.Util
{
/// <summary>
/// Extension methods on <c>string</c>.
/// </summary>
public static class StringExtensions
{
public static string FormatNames(this string format, IDict... | 28.955556 | 101 | 0.433615 | [
"MIT"
] | LambdaSix/Amaranth | Amaranth.Util/Extension Classes/StringExtensions.cs | 2,608 | 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("Fy... | 38.837838 | 84 | 0.752262 | [
"MIT"
] | fatihyildizhan/csharp-2010-older-projects | FyDoxaDelegeEventUcakSimulasyonu/FyDoxaDelegeEventUcakSimulasyonu/Properties/AssemblyInfo.cs | 1,440 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// ------------------------------------------------------------
using System;
using Microsoft.O... | 30.911111 | 95 | 0.570812 | [
"MIT"
] | Bhaskers-Blu-Org2/OpenAPI.NET.OData | test/Microsoft.OpenAPI.OData.Reader.Tests/Generator/OpenApiComponentsGeneratorTests.cs | 1,393 | C# |
namespace Oddin.OddsFeedSdk
{
internal static class SdkDefaults
{
internal const string ProductionHost = "mq.oddin.gg";
internal const string ProductionApiHost = "api-mq.oddin.gg";
internal const string IntegrationHost = "mq.integration.oddin.gg";
internal const string I... | 36.785714 | 82 | 0.68932 | [
"BSD-3-Clause"
] | oddin-gg/netcoresdk | src/Oddin.OddsFeedSdk/Oddin.OddsFeedSdk/SdkDefaults.cs | 1,030 | C# |
using UnityEngine.Assertions;
using UnityEngine.Rendering;
#if HAS_URP
using UnityEngine.Rendering.Universal;
#elif HAS_HDRP
using UnityEngine.Rendering.HighDefinition;
#endif
namespace ImGuiNET.Unity
{
static class RenderUtils
{
public enum RenderType
{
Mesh = 0,
Proce... | 26.140845 | 115 | 0.574892 | [
"MIT"
] | Ethan13310/dear-imgui-unity | ImGuiNET.Unity/Renderer/RenderUtils.cs | 1,858 | C# |
using NServiceBus;
public class BookingChangePolicyData :
ContainSagaData
{
public string BookingReferenceId { get; set; }
public bool IsCancelled { get; set; }
public bool IsFlightChanged { get; set; }
public bool CanCompleteSaga()
{
return IsCancelled && IsFlightCha... | 19.705882 | 51 | 0.644776 | [
"MIT"
] | indualagarsamy/Presentations | practical-ddd-bounded-contexts-events-microservices/src/first-model/AircraftTypeChangePolicy/BookingChangePolicyData.cs | 337 | 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... | 38.348387 | 168 | 0.604307 | [
"Apache-2.0"
] | TallyUpTeam/aws-sdk-net | sdk/src/Services/IdentityManagement/Generated/Model/CreatePolicyVersionRequest.cs | 5,944 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using ByteBank.Modelos;
using ByteBank.SistemaAgencia.Comparadores;
using ByteBank.SistemaAgencia.Extensoes;
namespace ByteBank.SistemaAgencia
{
class Program
{
static void Main(string[] args)
{
// "Que dahora cara kkkkkk".AsConsoleE... | 25.012987 | 97 | 0.595275 | [
"MIT"
] | angeloevangelista/alura | csharp/orientacao-objetos/08-list-lambda-linq/ByteBank.SistemaAgencia/Program.cs | 3,863 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Atma.Math.Members;
using Atma.Math.Tests;
namespace Atma.Math.Types
{
abstract class AbstractType
{
/// <summary>
/// true iff test generation is active
/// </summary>
... | 38.836425 | 173 | 0.480373 | [
"MIT"
] | xposure/Atma.Math | generator/Types/AbstractType.cs | 23,032 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input.Touch;
namespace PhonePong.GameScreens
{
class SinglePlayerTitleScreen : TitleScreen
{
public override ... | 36.615385 | 152 | 0.690336 | [
"Apache-2.0"
] | davidov541/WP7Pong | PhonePong/PhonePong/SinglePlayerTitleScreen.cs | 2,380 | C# |
using Waf.NewsReader.Applications.Views;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Waf.NewsReader.Presentation.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class SettingsView : TabbedPage, ISettingsView
{
public SettingsView()
{
Initia... | 23.238095 | 65 | 0.631148 | [
"MIT"
] | jbe2277/waf | src/NewsReader/NewsReader.Presentation/Views/SettingsView.xaml.cs | 490 | C# |
namespace Asp
{
using System.Threading.Tasks;
public class ASPV_testfiles_input_injectwithmodel_cshtml : Microsoft.AspNet.Mvc.Razor.RazorPage<MyModel>
{
private static object @__o;
private void @__RazorDesignTimeHelpers__()
{
#pragma warning disable 219
#line 1 "testfile... | 30.054545 | 108 | 0.676951 | [
"Apache-2.0"
] | VGGeorgiev/Mvc | test/Microsoft.AspNet.Mvc.Razor.Host.Test/TestFiles/Output/DesignTime/InjectWithModel.cs | 1,653 | C# |
using EF.ComponentData.Services;
using SimpleInjector;
namespace ComputerComponentsWeb.DI
{
public static class CompDIRegistration
{
public static void Register(Container container)
{
container.Register<IComponentCategoryService, ComponentCategoryService>();
... | 29.571429 | 86 | 0.676329 | [
"MIT"
] | dimitad/MvcComputerComponents | ComputerComponents/DI/CompDIRegistration.cs | 416 | 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>
//--... | 39.888889 | 151 | 0.58403 | [
"MIT"
] | hflexgrig/CSharpMath | CSharpMath.Utils.NuGet/Properties/Settings.Designer.cs | 1,079 | C# |
// // Copyright (c) Microsoft. All rights reserved.
// // Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Markup;
using System.Windows.Media;
namespace ControlsA... | 30.213483 | 104 | 0.523615 | [
"MIT"
] | 21pages/WPF-Samples | Getting Started/ControlsAndLayout/ControlsAndLayout/Scene.xaml.cs | 2,691 | C# |
using System;
namespace IoT.Solutions.SmartIndustrialApplications.CrackDetection
{
class ModelInput
{
public byte[] Image { get; set; }
public UInt32 LabelAsKey { get; set; }
public string ImagePath { get; set; }
public string Label { get; set; }
}
}
| 22.846154 | 66 | 0.62963 | [
"MIT"
] | Apress/designing-iot-solutions-ms-azure | Nirnay_Ch07_SourceCode/CrackDetection/DataView/ModelInput.cs | 299 | C# |
using Hamakaze;
using SharpChat.Sessions;
using SharpChat.Users;
using SharpChat.Users.Bump;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text.Json;
namespace SharpChat.DataProvider.Misuzu.Users.Bump {
public class MisuzuUserBumpClient : IUserBumpClient {
... | 37.260274 | 115 | 0.542647 | [
"MIT"
] | hnjm/sharp-chat | SharpChat.DataProvider.Misuzu/Users/Bump/MisuzuUserBumpClient.cs | 2,722 | 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 System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using... | 38.679612 | 144 | 0.492442 | [
"MIT"
] | belav/roslyn | src/ExpressionEvaluator/Core/Source/ExpressionCompiler/PDB/MethodDebugInfo.Native.cs | 35,858 | C# |
using System;
using System.Web;
using Kudu.Core.Test;
using Kudu.Services.ServiceHookHandlers;
using Moq;
using Newtonsoft.Json.Linq;
using Xunit;
namespace Kudu.Services.Test
{
public class KilnHgHandlerFacts
{
[Fact]
public void KilnHgHandlerIgnoresNonKilnPayloads()
{
// ... | 56.166667 | 373 | 0.630776 | [
"Apache-2.0"
] | DiogenesPolanco/kudu | Kudu.Services.Test/KilnHgHandlerFacts.cs | 14,156 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace CleanArch.Infra.Data.Migrations
{
public partial class InitialMigration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Courses",
... | 32.5 | 71 | 0.516346 | [
"Apache-2.0"
] | maxchn/CleanArchitectureDemo | CleanArch/CleanArch.Infra.Data/Migrations/20200823172949_InitialMigration.cs | 1,042 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using System.Text;
using Newtonsoft.Json;
namespace Adyen.Model.MarketPay
{
/// <summary>
/// AccountContainer
/// </summary>
[DataContract]
public partial ... | 31.981982 | 141 | 0.530704 | [
"MIT"
] | Ganesh-Chavan/adyen-dotnet-api-library | Adyen/Model/MarketPay/GetAccountHolderStatusResponse.cs | 3,552 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.