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; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; namespace NetEscapades.AspNetCore.SecurityHeaders.Headers { /// <summary> /// The header value to use for Content-SecurityHeader /// </summary> public class ContentSecurityPolicyHeader : HtmlOnlyHeaderPolicyBase { ...
40.342105
120
0.631115
[ "MIT" ]
huan086/NetEscapades.AspNetCore.SecurityHeaders
src/NetEscapades.AspNetCore.SecurityHeaders/Headers/ContentSecurityPolicyHeader.cs
3,068
C#
using System; using LHGames.Helper; namespace LHGames.Navigation.Pathfinding { public class Edge { public Node Source { get; set; } public Node Destination { get; set; } public double Weight => WeightForTileType(Destination.Tile.TileType); public Edge(Node source, Node destinat...
28.125
90
0.494815
[ "MIT" ]
LHGames-2018/GLaDOS
LHGames/Navigation/Pathfinding/Edge.cs
1,350
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using GameEngine; namespace Troma { public struct TargetState { public bool State; public Entity Entity; } public class TargetManager { #region Fields ...
26.245098
95
0.548375
[ "MIT" ]
dethi/troma
src/Game/Troma/Troma/Game/TargetManager.cs
2,679
C#
/* * Copyright 2010-2013 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.066667
189
0.615962
[ "Apache-2.0" ]
jdluzen/aws-sdk-net-android
AWSSDK/Amazon.DirectConnect/Model/Internal/MarshallTransformations/CreateInterconnectResultUnmarshaller.cs
3,997
C#
public class Song { private string artist; private string songName; private int minutes; private int seconds; private string Artist { get { return this.artist; } set { if (value == null || value.Length < 3 || value.Length > 20) ...
19.280488
73
0.43074
[ "MIT" ]
MustafaAmish/All-Curses-in-SoftUni
04. C# OOP Basics/10. Inheritance - Exercise/OnlineRadioDatabase/Song.cs
1,583
C#
namespace NeoSharp.Core.Types { /// <summary> /// Define the behavior in case of exceeding the maximum /// </summary> public enum PoolMaxBehaviour : byte { /// <summary> /// Don't allow more items /// </summary> DontAllowMore, /// <summary> /// Remove...
22.705882
60
0.523316
[ "MIT" ]
BSathvik/neo-sharp
src/NeoSharp.Core/Types/PoolMaxBehaviour.cs
388
C#
using System.IO; namespace Apos.Content.Compile { /// <summary> /// A string content is simply a file with text. /// </summary> public class StringCompiler : Compiler<string, Settings<string>> { /// <summary> /// Builds a string content. /// </summary> public override v...
31.25
92
0.568
[ "MIT" ]
Apostolique/Apos.Content
Source/Compile/StringCompiler.cs
627
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using NLog; namespace NSW.StarCitizen.Tools.Lib.Helpers { public abstract class CfgRow {} public sealed class CfgDataRow : CfgRow { public ...
30.278689
140
0.514348
[ "MIT" ]
h0useRus/StarCitizen
SCTools/SCToolsLib/Helpers/CfgReader.cs
9,235
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; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; using JetBrains.Annotations; using Microsoft.En...
60.198718
143
0.629468
[ "Apache-2.0" ]
vadzimpm/EntityFramework
src/EFCore/Metadata/Builders/ReferenceOwnershipBuilder`.cs
28,175
C#
//----------------------------------------------------------------------- // <copyright file="SplitBase.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: https://cslanet.com // </copyright> // <summary>no summary</summary> //-----------------------------------------------...
25.737864
114
0.623916
[ "MIT" ]
Alstig/csla
Source/Csla.test/DataPortal/SplitBase.cs
2,651
C#
using System; using System.Collections.Generic; using DDDSample1.Domain.VehicleDuties; using DDDSample1.Domain.Shared; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Tests { [TestClass] public class VehicleDutyMapperTest { [TestMethod] public void testToDTO() { ...
43.353846
185
0.608233
[ "MIT" ]
TRibeiro94/ISEP-ARQSI-2020
Semester_Project/MDV/Tests/UnitTests/Domain/VehicleDuties/VehicleDutyMapper.cs
2,818
C#
using FluentValidation; using UnitsNet; using UnitsNet.NumberExtensions.NumberToRatio; using VCRC.Components; namespace VCRC.Validators; public class CompressorValidator : AbstractValidator<Compressor> { public CompressorValidator() { RuleFor(compressor => compressor.IsentropicEfficiency).ExclusiveBe...
30.2
106
0.754967
[ "MIT" ]
portyanikhin/VCRC
VCRC/Validators/CompressorValidator.cs
455
C#
using System; using Stringier.Patterns.Errors; using Stringier.Patterns.Debugging; namespace Stringier.Patterns.Nodes { /// <summary> /// Represents a <see cref="Ranger"/> which supports nesting of the range. /// </summary> internal sealed class NestedRanger : Ranger { /// <summary> /// The current nesting le...
31.413793
131
0.62404
[ "BSD-3-Clause" ]
HugoRoss/Stringier
Patterns/Nodes/NestedRanger.cs
1,824
C#
using DHwD_web.Data.Interfaces; using DHwD_web.Helpers; using Microsoft.EntityFrameworkCore; using Models.ModelsDB; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DHwD_web.Data { public class SqlUserRepo : IUserRepo { private readonly AppWebD...
26.547619
100
0.521076
[ "MIT" ]
MateuszLas421/DHwD_web
DHwD_web/Data/SqlUserRepo.cs
2,232
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Tanure.CalendarPOC.Models; using Xamarin.Forms; namespace Tanure.Calendar...
25.238095
153
0.596698
[ "MIT" ]
tanure/XFCalendar
Tanure.CalendarPOC/ViewModels/CalendarViewModel.cs
2,122
C#
using System; using System.Linq.Expressions; using Microsoft.AspNetCore.Html; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; using SFA.DAS.RoatpOversight.Web.Domain; namespace SFA.DAS.RoatpOversight.Web.Extensions { public static class HtmlHelperExtensions { ...
34.133333
118
0.68457
[ "MIT" ]
SkillsFundingAgency/das-roatp-oversight
src/SFA.DAS.RoatpOversight.Web/Extensions/HtmlHelperExtensions.cs
1,026
C#
namespace SkorubaIdentityServer4Admin.Admin.Api.ExceptionHandling { public class ApiError { public string Code { get; set; } public string Description { get; set; } } }
13.6
66
0.642157
[ "MIT" ]
1n5an1ty/IdentityServer4.Admin
templates/template-publish/content/src/SkorubaIdentityServer4Admin.Admin.Api/ExceptionHandling/ApiError.cs
206
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using Microsoft.VisualStudio.TestTools.UnitTesting; using myEcommerce.WebUI; using myEcommerce.WebUI.Controllers; namespace myEcommerce.WebUI.Tests.Controllers { [TestClass] public class HomeControllerT...
23.636364
90
0.576923
[ "MIT" ]
wchandler2018/ecommerceASP.NET
myEcommerce/myEcommerce.WebUI.Tests/Controllers/HomeControllerTest.cs
1,302
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TeamCitySharp.Fields { public class LastChangesField : IField { #region Properties public ChangeField ChangeField { get; private set; } public bool Count { get; private set; } #endregion #region ...
18.823529
96
0.652083
[ "MIT" ]
MVS-Telecom/TeamCitySharp
src/TeamCitySharp/Fields/LastChangesField.cs
962
C#
using System; using UnityEngine; using System.Collections; using System.Collections.Generic; namespace StateFunding { public static class KerbalHelper { public static Vessel GetVessel(ProtoCrewMember Kerb) { Vessel[] Vessels = (Vessel[])FlightGlobals.Vessels.ToArray(); ...
29.55
88
0.49021
[ "MIT" ]
Alohacajun/StateFundingContinued
Source/Helpers/KerbalHelper.cs
4,139
C#
using Microsoft.EntityFrameworkCore; using ProjectName.Core.Models; namespace ProjectName.DAL { public class DataContext : DbContext { public DataContext(DbContextOptions options) : base(options) { } public DbSet<Item> Items { get; set; } public DbSet<Article> Articles...
24.928571
69
0.583095
[ "MIT" ]
amularczyk/webapi-core-boilerplate
ProjectName/ProjectName.DAL/DataContext.cs
700
C#
using Microsoft.Win32; using System; using System.Configuration; using System.Drawing; using System.IO; using System.Net.Http; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows; using System.Xml; using Tesseract; namespace CopyTranslatePaste { class Utils ...
34.351351
208
0.503344
[ "MIT" ]
HanyuuFurude/CopyTranslatePaste
Utils.cs
5,220
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> //------------------------------------------...
53.979654
308
0.642004
[ "BSD-2-Clause" ]
xoofx/GitLib.NET
src/GitLib/generated/index.generated.cs
53,062
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("TP...
38.513514
84
0.750175
[ "MIT" ]
SQLYogi/.Net-Framework
TP01Configuration/Properties/AssemblyInfo.cs
1,428
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Exten...
30.568966
143
0.609701
[ "MIT" ]
ivanvenkov/SportsApp
SportsAppMS/SportsAppMS/Startup.cs
1,773
C#
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Domain { /// <summary> /// ParkingGoodsDetail Data Structure. /// </summary> public class ParkingGoodsDetail : AlipayObject { /// <summary> /// 1^2^3(表示周一、周二、周三),此时间与商品履约开始、结束时间取交集,如2019-01-01到2019-03-01期间的周一、...
27.516779
82
0.517073
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Domain/ParkingGoodsDetail.cs
4,778
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Globalization; using System.Runtime.ExceptionServices; using System.Security.Authentication; using System.Threading; using System.Threading.Tasks; using Azure.Core; using Azure.Core.Diagnostics; ...
49.339416
232
0.58758
[ "MIT" ]
Oleza1972/azure-sdk-for-net
sdk/eventhub/Azure.Messaging.EventHubs/src/Amqp/AmqpClient.cs
27,040
C#
// Generated by SharpKit.QooxDoo.Generator using System; using System.Collections.Generic; using SharpKit.Html; using SharpKit.JavaScript; namespace qx.data { /// <summary> /// <para>This interface defines a data structure compatible with the data binding /// controllers. /// It defines a minimum of functionali...
36.117647
110
0.678827
[ "MIT" ]
SharpKit/SharpKit-SDK
Defs/Qooxdoo/data/IListData.cs
3,070
C#
using Chart.ModelSpace; using System; using System.Collections.Generic; using System.Windows; namespace Chart.SeriesSpace { public class BarSeries : BaseSeries, ISeries { /// <summary> /// Render the shape /// </summary> /// <param name="position"></param> /// <param name="series">...
27.255319
91
0.591725
[ "MIT" ]
Indemos/Terminal
Chart/Series/BarSeries.cs
1,281
C#
using ChangeDresser.UI.DTO.SelectionWidgetDTOs; using ChangeDresser.UI.Enums; using Verse; using System.Collections.Generic; using System.Reflection; using UnityEngine; using RimWorld; using System.Linq; using static AlienRace.AlienPartGenerator; using AlienRace; using static AlienRace.ThingDef_AlienRace; using Sys...
46.054545
166
0.54017
[ "MIT" ]
KiameV/rimworld-changedresser
Source/UI/DTO/AlienDresserDTO.cs
10,134
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.Composition; using...
49.078669
246
0.638698
[ "MIT" ]
CXuesong/roslyn
src/Features/Core/Portable/EditAndContinue/EditAndContinueWorkspaceService.cs
32,443
C#
using System; using System.Linq; using System.ComponentModel; using NLua; using BizHawk.Emulation.Common; using BizHawk.Emulation.Common.IEmulatorExtensions; using BizHawk.Emulation.Cores.Nintendo.N64; namespace BizHawk.Client.Common { [Description("A library for registering lua functions to emulator events.\n All...
28.299419
217
0.686492
[ "MIT" ]
CognitiaAI/StreetFighterRL
emulator/Bizhawk/BizHawk-master/BizHawk.Client.Common/lua/EmuLuaLibrary.Events.cs
9,737
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Owin; using Owin; [assembly: OwinStartup(typeof(VehicleStatisticsApi.Startup))] namespace VehicleStatisticsApi { public partial class Startup { public void Configuration(IAppBuilder app) { Configure...
18.368421
61
0.690544
[ "Apache-2.0" ]
wizzardz/vehicle-statistics-india
src/VehicleStatisticsApi/VehicleStatisticsApi/Startup.cs
351
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Rnwood.Smtp4dev.Data; using Rnwood.Smtp4dev.DbModel; namespace Rnwood.Smtp4dev.Tests { internal class TestMessagesRepository : IMessagesRepository { public TestMessagesRepository(params Messag...
20.659091
71
0.722772
[ "BSD-3-Clause" ]
smchristensen/smtp4dev
Rnwood.Smtp4dev.Tests/TestMessagesRepository.cs
911
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 ...
36
86
0.759028
[ "Apache-2.0" ]
bitType/aliyun-openapi-net-sdk
aliyun-net-sdk-r-kvstore/R_kvstore/Transform/V20150101/VerifyPasswordResponseUnmarshaller.cs
1,440
C#
using System; using Microsoft.Azure.Search; using Microsoft.Azure.Search.Models; using Microsoft.Spatial; using Newtonsoft.Json; namespace Typeahead.Models { public partial class Hotel { [System.ComponentModel.DataAnnotations.Key] [IsFilterable] public string HotelId { get; set; } ...
27.62
63
0.643736
[ "MIT" ]
2012952877/Azure-Cognitive-Search-Demo
9 Reference/azure-search-dotnet-samples-master/create-first-app/v10/3-add-typeahead/Typeahead/Models/Hotel.cs
1,383
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class SetCharButtons : MonoBehaviour { public bool isSelect; public SetCharButtons button1; public SetCharButtons button2; public SpriteRenderer sr1; public SpriteRenderer sr2; public ...
22.488889
49
0.572134
[ "MIT" ]
WoobinMin/OSSProject
Assets/Script/2.CharSelScene/SetCharButtons.cs
1,014
C#
/* * SubSonic - http://subsonicproject.com * * The contents of this file are subject to the Mozilla Public * License Version 1.1 (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.mozilla.org/MPL/ * * Software distributed un...
31.965517
83
0.655879
[ "BSD-3-Clause" ]
BlackMael/SubSonic-2.0
SubSonic/SqlQuery/SqlGenerators/Sql2000Generator.cs
927
C#
namespace CFGToolkit.Lexer { public interface IMatch { string Value { get; set; } bool Success { get; set; } } }
15.777778
34
0.556338
[ "MIT" ]
CFGToolkit/CFGToolkit.Lexer
CFGToolkit.Lexer/IMatch.cs
144
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Data.Sqlite; using Microsoft.Extensions.Options; namespace TileServerCore.Controllers { [Route("api/[controller]")] public class TilesController : Controller { ...
32.673469
145
0.580262
[ "Unlicense" ]
rgwood/tile-server-core
TileServerCore/Controllers/TilesController.cs
1,603
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
29.61
83
0.564674
[ "Apache-2.0" ]
allenlooplee/tencentcloud-sdk-dotnet
TencentCloud/Cam/V20190116/Models/DetectStateResponse.cs
3,057
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.CodeAnalysis; using System.Runtime.InteropServices; using System.Reflection; using Internal.Runtime.CompilerServices; namespace System.Runtime.CompilerServi...
43.212121
209
0.639902
[ "MIT" ]
333fred/runtime
src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs
5,704
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace KS.Foundation { /// <summary> /// Long Extensions /// </summary> public static class LongExtensions { /// <summary> /// The numbers percentage /// </summary> /// <param name="number">Th...
29.985612
78
0.583973
[ "MIT" ]
kroll-software/KS.Foundation
Extensions/LongExtensions.cs
4,170
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace CalcSum { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application ...
18.777778
43
0.66568
[ "MIT" ]
DarshanKumarSivabalanS/PROG8560ContinuousIntegration
CalcSum/CalcSum/App.xaml.cs
340
C#
/* Copyright 2010-2014 MongoDB Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
30.204545
74
0.682468
[ "Apache-2.0" ]
KermitCoder/mongo-csharp-driver
tests/MongoDB.Bson.Tests/Serialization/Conventions/IgnoreIfDefaultConventionsTests.cs
1,331
C#
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using SFA.DAS.Location.Domain.Entities; using SFA.DAS.Location.Domain.Interfaces; namespace SFA.DAS.Location.Data.Repository { public class LocationImportRepository : ILocationImportRepository { private...
29.108108
83
0.677809
[ "MIT" ]
SkillsFundingAgency/das-location-api
src/SFA.DAS.Location.Data/Repository/LocationImportRepository.cs
1,077
C#
/* * Copyright 2006-2016 zorba.io * * 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 i...
31.963636
78
0.544084
[ "Apache-2.0" ]
markun/zorba
swig/csharp/tests/test07.cs
3,516
C#
using System.Collections.Generic; using System.Linq; namespace Models { public class UnitMemberResponse : Entity { /// The role of the person in this membership as part of the unit. public Role Role { get; set; } /// The permissions of the person in this membership as part of the unit. ...
46.967742
109
0.629808
[ "BSD-3-Clause" ]
indiana-university/itpeople-functions-v2
src/Models/DTO/UnitMemberResponse.cs
1,456
C#
// 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. namespace Mi...
74.254386
276
0.696869
[ "MIT" ]
imadan1996/azure-powershell
src/BotService/generated/api/Models/Api20180712/KikChannelProperties.json.cs
8,352
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.ExcelApi { /// <summary> /// Interface IWorkbookEvents /// SupportByVersion Excel, 9,10,11,12,14,15,16 /// </summary> [SupportByVersion("Excel", 9,10,11,12,14,15,16)] [EntityType(EntityTy...
35.744991
170
0.691602
[ "MIT" ]
DominikPalo/NetOffice
Source/Excel/Interfaces/IWorkbookEvents.cs
19,626
C#
using Dalamud.Game.Text.SeStringHandling; namespace PlayerTags.GameInterface.ContextMenus { /// <summary> /// An item in a context menu that with a specific game action. /// </summary> public class GameContextMenuItem : ContextMenuItem { /// <summary> /// The game action that will ...
31.666667
112
0.568421
[ "MIT" ]
r00telement/PlayerTags
PlayerTags/GameInterface/ContextMenus/GameContextMenuItem.cs
1,142
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.Text; using Internal.ReadyToRunConstants; namespace ...
40.304
136
0.58416
[ "MIT" ]
Davilink/runtime
src/coreclr/src/tools/crossgen2/ILCompiler.Reflection.ReadyToRun/ReadyToRunHeader.cs
5,040
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
55.752747
185
0.667242
[ "MIT" ]
peombwa/msgraph-sdk-dotnet
src/Microsoft.Graph/Models/Generated/AndroidGeneralDeviceConfiguration.cs
20,294
C#
/** Copyright 2019 Centrify 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://www.apache.org/licenses/LICENSE-2.0 Unless required...
43.504416
184
0.48659
[ "Apache-2.0" ]
ankitchandra18/centrifycli
Runner.cs
44,337
C#
using Microsoft.CodeAnalysis; using ScriptCs; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace OmniSharp.ScriptCs.Extensions { internal static class ScriptcsExtensions { private static readonly string BaseAssemblyPath = Path.Ge...
39
202
0.665934
[ "MIT" ]
aignas/omnisharp-roslyn
src/OmniSharp.ScriptCs/Extensions/ScriptcsExtensions.cs
1,367
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.IO; using System.Net; using System.Net.Http; using System.Net.Http.Formatting; using System.Text; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.ModelBinding; us...
44.221729
172
0.54826
[ "MIT" ]
DiogenesPolanco/Umbraco-CMS
src/Umbraco.Web/Editors/MediaController.cs
39,890
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.0 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut gen...
45.890411
173
0.611045
[ "MIT" ]
andre-hub/WinApp-Template
source/WinApp/Properties/Resources.Designer.cs
3,361
C#
using System; using System.Collections.Generic; using Solo.BinaryTree.Constructor.Core; using Solo.BinaryTree.Constructor.Infrastructure; namespace Solo.BinaryTree.Constructor.Parser.ChainedImplementation.Actions { public class CreateTreeFromParsedValues : BinaryTreeParseAction { public override void ...
36.16
132
0.6026
[ "Apache-2.0" ]
SergAtGitHub/Solo.BinaryTree
Solo.BinaryTree.Constructor/Parser/ChainedImplementation/Actions/CreateTreeFromParsedValues.cs
3,618
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...
35.533333
132
0.606004
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/WAFRegional/Generated/Model/Internal/MarshallTransformations/GetIPSetRequestMarshaller.cs
3,731
C#
using System; using System.Collections.Specialized; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Quartz; using Quartz.Impl; using Quartz.Spi; namespace ChannelX.Email { public static class QuartzService { public static void AddQuartz(this IServiceCollection sc) ...
37.173333
100
0.507532
[ "MIT" ]
lyzerk/ChannelX
src/Email/QuartzService.cs
2,792
C#
using System; using System.Linq; using CourierManagement.ApplicationService; using CourierManagement.Common.Enums; using CourierManagement.DomainService; using CourierManagement.Dto; using CourierManagement.Repository; using CourierManagement.RequestModels; using Moq; using NUnit.Framework; namespace UnitTest { [...
31.322222
153
0.509578
[ "Apache-2.0" ]
sachinmani/CourierManagement
UnitTest/CartApplicationServiceTest.cs
5,640
C#
global using HomeAssistantGenerated; global using NetDaemon.Extensions.Scheduler; global using NetDaemon.HassModel; global using NetDaemon.HassModel.Entities; global using System.Reactive.Linq; global using System; global using System.Linq; global using System.Collections.Generic; global using Microsoft.Extensions.Logg...
36.923077
45
0.852083
[ "MIT" ]
FrankBakkerNl/NetDaemonExample
globals.cs
480
C#
using System; using Nancy; namespace Starscream.Web.Api.Infrastructure.RestExceptions { public class BadRequestExceptionRepackager : IExceptionRepackager { #region IExceptionRepackager Members public ErrorResponse Repackage(Exception exception, NancyContext context, string contentType) ...
27.434783
101
0.673534
[ "MIT" ]
TMComayagua/WebSite
src/Starscream.Web/Api/Infrastructure/RestExceptions/BadRequestExceptionRepackager.cs
631
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("04....
37.675676
84
0.745337
[ "MIT" ]
bobo4aces/01.SoftUni-ProgramingBasics
99. Exams/2016.03.06/04. Histogram/Properties/AssemblyInfo.cs
1,397
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.Linq; using System.Threading; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis...
43.741935
122
0.653024
[ "MIT" ]
BertanAygun/roslyn
src/Features/CSharp/Portable/Structure/Providers/NamespaceDeclarationStructureProvider.cs
2,714
C#
using System; using System.Collections.Generic; using System.Composition; using System.Linq; using System.Threading; using System.Threading.Tasks; using MediatR; using OmniSharp.Extensions.JsonRpc; using OmniSharp.Extensions.LanguageServer.Protocol; using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities...
40.753012
165
0.630451
[ "MIT" ]
Samirat/omnisharp-roslyn
src/OmniSharp.LanguageServerProtocol/Handlers/OmniSharpTextDocumentSyncHandler.cs
6,765
C#
namespace BlueprintDeck.Instance.Factory { public interface IBlueprintFactory { IBlueprintInstance CreateBlueprint(Design.Blueprint design); } }
23.428571
68
0.75
[ "MIT" ]
MauriceH/BlueprintDeck
source/BlueprintDeck.Core/Instance/Factory/IBlueprintFactory.cs
164
C#
#region License /* MIT License Copyright(c) 2021 Petteri Kautonen 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, co...
41.929487
203
0.567192
[ "MIT" ]
VPKSoft/ScriptNotepad
ScriptNotepad/UtilityClasses/CodeDom/CSCodeDOMScriptRunnerLines.cs
6,543
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 the system level data associated with Enhanced Call Logs. /// The res...
33.25
131
0.733083
[ "MIT" ]
Rogn/broadworks-connector-net
BroadworksConnector/Ocip/Models/SystemEnhancedCallLogsGetRequest.cs
798
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. /****************************************************************************** * This file is auto-generated from ...
42.440075
187
0.58611
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/TransposeEven.Vector128.Int64.cs
22,663
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...
52.424547
181
0.667684
[ "Apache-2.0" ]
Singh400/aws-sdk-net
sdk/src/Services/CodeStarconnections/Generated/_bcl35/AmazonCodeStarconnectionsClient.cs
52,110
C#
using System.Net.Http; 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; namespace AzureFunctionsSample.DependencyInjection { public class ImportantFunction...
31.972973
143
0.64328
[ "MIT" ]
proxus-consulting/azure-function-samples
AzureFunctionsSample.DependencyInjection/ImportantFunctions.cs
1,183
C#
using System; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Maui.DeviceTests.Stubs; using Microsoft.Maui.Graphics; using Microsoft.Maui.Handlers; using Xunit; using AColor = Android.Graphics.Color; namespace Microsoft.Maui.DeviceTests { public partial class TimePickerH...
26.539474
85
0.757561
[ "MIT" ]
3DSX/maui
src/Core/tests/DeviceTests/Handlers/TimePicker/TimePickerHandlerTests.Android.cs
2,019
C#
namespace Rebus.SqlServer.Tests { public class Categories { public const string SqlServer = "sqlserver"; public const string Msmq = "msmq"; public const string Filesystem = "filesystem"; } }
25.222222
54
0.643172
[ "MIT" ]
DigitecGalaxus/Rebus.SqlServer
Rebus.SqlServer.Tests/Categories.cs
229
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace P03_FootballBetting.Data.Models { public class Color { public int ColorId { get; set; } public string Name { get; set; } [InverseProperty("PrimaryKitColor"...
26.809524
92
0.680284
[ "MIT" ]
aalishov/SoftUni
06-Entity-Framework-Core-June-2020/S10-Entity-Relations-Ex/P03_FootballBetting/Data/Models/Color.cs
565
C#
using System; using System.Collections.Generic; using System.Windows.Forms; using System.Drawing; namespace MaiSoft { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() {...
26.533333
77
0.48995
[ "MIT" ]
Raymai97/ThDanConfig
src/Code/Program.cs
1,594
C#
using AutoMapper; using IdentityUtils.Core.Contracts.Context; using IdentityUtils.Core.Services.Tests.Setup.DbModels; using IdentityUtils.Core.Services.Tests.Setup.DtoModels; using Microsoft.AspNetCore.Identity; namespace IdentityUtils.Core.Services.Tests.Setup.ServicesTyped { public class UsersService : Identity...
38.1875
162
0.767594
[ "MIT" ]
intellegens-hr/utils-identity
dotnetcore/IdentityUtils.Core.Services.Tests/Setup/ServicesTyped/UsersService.cs
613
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.17020 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
41.481481
161
0.635268
[ "Apache-2.0" ]
JonasSyrstad/Stardust
testClient/Service References/ServiceReference1/Reference.cs
2,242
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Input; using System.Collections; using Avalonia; using Avalonia.Animation; using Avalonia.Controls; using Avalonia.Layout; using Avalonia.Media; using Avalonia.Interactivity; using Avalonia.Input; using Avalonia.Controls....
31.757895
110
0.601591
[ "MIT" ]
adospace/reactorui-avalonia
src/AvaloniaReactorUI/RxGrid.partial.cs
6,034
C#
namespace Iridium.DB.Test { public class OrderItem { public int OrderItemID { get; set; } public int OrderID { get;set; } public short Qty { get; set; } public double Price { get; set; } [Column.Size(200)] public string Description { get; set; } ...
22.857143
47
0.541667
[ "MIT" ]
ArwinNL/iridium
src/Iridium.DB.Test/Model/Orders/OrderItem.cs
480
C#
using UnityEngine; using System.Collections; public class PooShooter : MonoBehaviour { float lastFired; float shootRate; // In seconds StreamCell currentTarget; public bool pooTime = false; public PooBullet pooBullet; void Awake () { } // Use this for initialization void Start () { lastFired = 0.0f; ...
17.733333
96
0.671679
[ "Artistic-2.0" ]
subrodrigues/PooPooCow
Assets/Scripts/PooShooter.cs
800
C#
//------------------------------------------------------------------------------ // <copyright file="QilUnary.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <owner current="true" primary="true">[....]</owner> //----------------------------------------------...
31.59322
101
0.419528
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/XmlUtils/System/Xml/Xsl/QIL/QilUnary.cs
1,864
C#
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using NSubstitute; using OpenSleigh.Core.Messaging; using OpenSleigh.Core.Persistence; using Xunit; namespace OpenSleigh.Core.Tests.Unit.Messaging { public class OutboxProcessorTests { [Fact] ...
39.056818
119
0.622054
[ "Apache-2.0" ]
adamralph/OpenSleigh
tests/OpenSleigh.Core.Tests/Unit/Messaging/OutboxProcessorTests.cs
3,439
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/dwrite_1.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { p...
58.483871
145
0.813017
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/dwrite_1/DWRITE_PANOSE_ARM_STYLE.cs
1,815
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using yachay.Models; namespace yachay.Controllers { [Route("api/[controller]")] public class StudentsController : Controller { priva...
25.893939
70
0.549444
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
gpuma/yachay
Controllers/StudentsController.cs
1,709
C#
using System; using System.Collections.Generic; using System.Text; namespace HGV.Basilius.Contants { public enum GameMode : int { None = 0, AllPick = 1, CaptainsMode = 2, RandomDraft = 3, SingleDraft = 4, AllRandom = 5, Intro = 6, TheDiretide = 7...
21.416667
35
0.521401
[ "MIT" ]
HighGroundVision/Basilius
src/Contants/GameModes.cs
773
C#
namespace RxBim.Nuke.Models { using global::Nuke.Common.ProjectModel; /// <summary> /// Pair of <see cref="Project"/> and <see cref="AssemblyType"/> /// </summary> public class ProjectWithAssemblyType { /// <summary> /// ctor /// </summary> /// <param name="proj...
26.181818
73
0.524306
[ "MIT" ]
AlexNik235/RxBim
src/RxBim.Nuke/Models/ProjectWithAssemblyType.cs
866
C#
using FluentAssertions; using LyricsBoard.Core; using LyricsBoard.Core.System; using Moq; using Newtonsoft.Json; using System; using System.Collections.Generic; using Xunit; namespace LyricsBoard.Test.Core { // Newtonsoft Json DLL included in BeatSaber game is modified to depend on UnityEngine. //...
41.187817
161
0.568893
[ "MIT" ]
kan8pachi/lyricsboard
LyricsBoardTest/Core/SongDefinitionLoaderTests.cs
8,116
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Spawner : MonoBehaviour { // Use this for initialization void Start () { InvokeRepeating("Spawn",3,2);//Call Spawn after 3 seconds and then every 2 seconds } // Update is called once per frame void Update () {...
19.807692
84
0.706796
[ "Unlicense" ]
UtarMantyke/CodeLab1-2019-HW1
CodeLabWeek1/Assets/Scripts/Spawner.cs
517
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Project_OLP_Rest.Data; using Project_OLP_Rest.Data.Interfaces; using Project_OLP_Rest.Domain; namespace Project_O...
29.073171
111
0.553971
[ "MIT" ]
dbnmur/Project_OLP_Rest
Project_OLP_Rest/Controllers/ModelControllers/ChatSessionsController.cs
3,578
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. /****************************************************************************** * This file is auto-generated from ...
42.933457
190
0.588109
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/AdvSimd/ShiftRightArithmeticRoundedAdd.Vector64.Int32.1.cs
23,227
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("bun...
37.891892
84
0.749643
[ "Unlicense" ]
FallingAnvils/MCSIM
bungeecordhandler/Properties/AssemblyInfo.cs
1,405
C#
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace FileSlynchy { public class DirectorySpec { public List<string> PathNameExcludes { get; set; } //Excludes any directory with this name public List<string> PathRelativeExcludes { get; set; } //Excludes this direc...
33.470588
151
0.704745
[ "MIT" ]
waltal/FileSlynchy
FileSlynchy/DirectorySpec.cs
1,140
C#
using System; using BowlingGame; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace BowlingGameTests { [TestClass] public class GameTest { Game g; [TestInitialize] public void Setup() { g = new Game(); } private void RollMany(int rol...
18.506849
54
0.449297
[ "MIT" ]
cjhnim/daily-kata
BowlingKata/day6/BowlingGame/BowlingGameTests/GameTest.cs
1,353
C#
/* * Original author: Nick Shulman <nicksh .at. u.washington.edu>, * MacCoss Lab, Department of Genome Sciences, UW * * Copyright 2013 University of Washington - Seattle, WA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complia...
41.827988
154
0.539067
[ "Apache-2.0" ]
CSi-Studio/pwiz
pwiz_tools/Skyline/Util/DataGridViewPasteHandler.cs
14,349
C#
using System; using System.Collections.Generic; using System.Text; using System.Xml; using System.Drawing; using SdlDotNet.Graphics; using SdlDotNet.Graphics.Sprites; using Moway.Project.GraphicProject.GraphLayout; using Moway.Project.GraphicProject.GraphLayout.Elements; namespace Moway.Project.GraphicProject.Actio...
33.960784
156
0.533776
[ "MIT" ]
Bizintek/mOway_SW_mOwayWorld
mOway_SW_mOwayWorld/MowayProject/GraphicProject/Actions/StartRf/StartRfGraphic.cs
3,466
C#
// Copyright © Conatus Creative, Inc. All rights reserved. // Licensed under the Apache 2.0 License. See LICENSE.md in the project root for license terms. using Lidgren.Network; namespace Pixel3D.P2P { public static class InputAssignmentExtensions { public const int MaxPlayerInputAssignments = 4; // There a b...
29.265306
132
0.717573
[ "Apache-2.0" ]
caogtaa/Pixel3D
src/Pixel3D.P2P/InputAssignmentExtensions.cs
1,437
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Moq.AutoMock; using PandaPlayer.Adviser; using PandaPlayer.Adviser...
32.666667
158
0.720711
[ "MIT" ]
CodeFuller/music-library
tests/PandaPlayer.UnitTests/Adviser/PlaylistAdvisers/FavoriteAdviseGroupsAdviserTests.cs
5,294
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("Js...
37.583333
84
0.746489
[ "MIT" ]
ballance/jsmate
JsMate.Api/Properties/AssemblyInfo.cs
1,356
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("Dr...
37.972222
84
0.749086
[ "Unlicense" ]
MacsDickinson/DoctorClockwork
DrClockwork/DrClockwork.Nancy/Properties/AssemblyInfo.cs
1,370
C#