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 System.Collections.Generic; using System.ComponentModel; using System.Globalization; namespace PathLib { /// <summary> /// Pure paths do not implement any IO operations and may be /// used cross-platform. /// </summary> [TypeConverter(typeof(PurePathFactoryConverter)...
35.696658
80
0.535503
[ "MIT" ]
nemec/pathlib
PathLib/IPurePath.cs
13,888
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/shellapi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows...
41.809524
145
0.720957
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/shellapi/NC_ADDRESS.cs
880
C#
using UnityEngine; public class SensorManager : MonoBehaviour { public DistanceSensor m_DistanceSensorPrefab; public int m_Number = 8; private DistanceSensor[] m_Sensors; public void Start() { float angle = 360 / (float)m_Number; for (int i = 0; i < m_Number; i++) { ...
25.588235
74
0.606897
[ "MIT" ]
kleberandrade/evolve-asteroids
Assets/Scripts/SensorManager.cs
872
C#
/* This code is derived from jgit (http://eclipse.org/jgit). Copyright owners are documented in jgit's IP log. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, is reproduced below, and is available at http://www...
30.594286
86
0.688831
[ "BSD-3-Clause" ]
Kavisha90/IIT-4th-year
NGit/NGit.Revwalk/FooterLine.cs
5,354
C#
using System; namespace Microsoft.Maui.Controls { public sealed class RowDefinition : BindableObject, IDefinition { public static readonly BindableProperty HeightProperty = BindableProperty.Create("Height", typeof(GridLength), typeof(RowDefinition), new GridLength(1, GridUnitType.Star), propertyChanged: (bindab...
24.676471
173
0.72348
[ "MIT" ]
JanNepras/maui
src/Controls/src/Core/RowDefinition.cs
839
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Host.Executors; using Microsoft.Azure.WebJobs.Host.TestComm...
34.282609
114
0.564204
[ "MIT" ]
Bjakes1950/azure-webjobs-sdk
test/Microsoft.Azure.WebJobs.Host.UnitTests/Executors/TaskMethodInvokerTests.cs
6,310
C#
using System; using System.Linq; using System.Threading.Tasks; using GoApi; using GoApi.Core; using GoApi.Core.Global; using GoApi.Import; using GoApi.Party; using GoApi.Products; using GoApi.SalesOrders; namespace ImportDemo { public class SalesOrderImport { /// <summary> /// ...
39.386139
171
0.546757
[ "MIT" ]
PowerOffice/go-api
Examples/ImportDemo/SalesOrderImport.cs
7,958
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Dynamic; namespace ConnectionFactory { public static class CfExtensions { public static dynamic ToExpando(this IDataReader reader) { var dictionary = new ExpandoObject() as IDi...
33.384615
96
0.571889
[ "MIT" ]
afernandes/ConnectionFactory.NetCore
src/CfExtensions.cs
2,172
C#
namespace Demo.OAuth2.WebApi.Areas.HelpPage { /// <summary> /// Indicates whether the sample is used for request or response /// </summary> public enum SampleDirection { Request = 0, Response } }
21.363636
68
0.612766
[ "Apache-2.0" ]
bluedoctor/PWMIS.OAuth2.0
Demo.OAuth2.WebApi/Areas/HelpPage/SampleGeneration/SampleDirection.cs
235
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace geniikw.DataRenderer2D { /// <summary> /// no render line. /// </summary> public class GizmoLine : MonoBehaviour { public Spline line; public Color color = Color.white; public bool isO...
27.873016
115
0.503986
[ "MIT" ]
Lanboost/LanboostPathfindingSharp
UnityExample/PathFinderExample/Assets/DataRenderer2D/Line/Scripts/Component/GizmoLine.cs
1,758
C#
using System; using System.Collections.Generic; using System.Data.Common; using Abp.Data; using Abp.Dependency; using Abp.Domain.Repositories; using Abp.Domain.Uow; using Abp.Extensions; using Abp.MultiTenancy; using Abp.Runtime.Security; using Abp.Pdnf.EntityFrameworkCore; using Abp.Pdnf.EntityFrameworkCore.Seed; usin...
38.151515
163
0.540707
[ "MIT" ]
wenzhongxu/DotNetCorePro
aspnet-core/src/Abp.Pdnf.Migrator/MultiTenantMigrateExecuter.cs
5,036
C#
using System; using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Serilog; using Serilog.Events; using Serilog.Sinks.Elasticsearch; namespace InternalGateway.Host { public class Program { public static int Main(string...
26.883721
79
0.538927
[ "MIT" ]
nbnbnb/official-abp-samples
MicroserviceDemo/gateways/InternalGateway.Host/Program.cs
1,158
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> //-----------------------------------------...
24.722222
81
0.417978
[ "MIT" ]
mitchdenny/tfsdeployer
src/TfsDeployer.Web/Views/UptimeView.ascx.designer.cs
447
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Magnesium.Wpf")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [asse...
27.910714
91
0.658349
[ "MIT" ]
KureFM/Magnesium
Magnesium.Wpf/Properties/AssemblyInfo.cs
2,206
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://...
35.026316
172
0.52592
[ "MIT" ]
KinaMarie/azure-powershell
src/ResourceManager/AzureBatch/Commands.Batch/Models.Generated/PSTaskConstraints.cs
2,613
C#
using Abp.Domain.Entities; using Abp.Domain.Repositories; using Abp.EntityFrameworkCore; using Abp.EntityFrameworkCore.Repositories; namespace MySuperStats.EntityFrameworkCore.Repositories { /// <summary> /// Base class for custom repositories of the application. /// </summary> /// <typeparam name="TE...
39.65
142
0.708071
[ "MIT" ]
ykirkanahtar/MySuperStats
aspnet-core/src/MySuperStats.EntityFrameworkCore/EntityFrameworkCore/Repositories/MySuperStatsRepositoryBase.cs
1,588
C#
namespace Microsoft.ApplicationInsights.Metrics.Extensibility { using System; using System.Collections.Generic; /// <summary>@ToDo: Complete documentation before stable release. {390}</summary> /// @PublicExposureCandidate internal class AggregationPeriodSummary { /// <summary>@ToDo: C...
48.692308
148
0.721959
[ "MIT" ]
armanik11/ApplicationInsights-dotnet
src/Microsoft.ApplicationInsights/Metrics/Extensibility/AggregationPeriodSummary.cs
1,268
C#
// Copyright (C) 2012 Winterleaf Entertainment L,L,C. // // THE SOFTW ARE IS PROVIDED ON AN “ AS IS” BASIS, WITHOUT W ARRANTY OF ANY KIND, // INCLUDING WITHOUT LIMIT ATION THE W ARRANTIES OF MERCHANT ABILITY, FITNESS // FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT . THE ENTIRE RISK AS TO THE // QUALITY AND PERFO...
46.782609
136
0.590813
[ "Unlicense" ]
Winterleaf/DNT-Torque3D-V1.1-MIT-3.0
Templates/Full/DNT FPS Demo Dll No Core/Scripts/Client/Enviroment/Lighting/Basic/init.cs
7,392
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...
40.213333
137
0.593833
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/MachineLearning/Generated/Model/CreateDataSourceFromRDSRequest.cs
9,048
C#
//----------------------------------------------------------------------------- // FILE: NodeDefinition.cs // CONTRIBUTOR: Jeff Lill // COPYRIGHT: Copyright (c) 2005-2022 by neonFORGE LLC. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file excep...
39.317757
201
0.58266
[ "Apache-2.0" ]
jefflill/neonKUBE
Lib/Neon.Kube/Model/ClusterDefinition/Node/NodeDefinition.cs
16,830
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> //-----------------------------------------...
34.81203
84
0.536285
[ "BSD-3-Clause" ]
Alirexaa/SolidCP
SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/SettingsPackageSummaryLetter.ascx.designer.cs
4,630
C#
namespace Xamarin.Forms.Controls.GalleryPages.VisualStateManagerGalleries { public partial class DeviceStateTriggerGallery : ContentPage { public DeviceStateTriggerGallery() { InitializeComponent(); } } }
21.7
74
0.792627
[ "MIT" ]
Alan-love/Xamarin.Forms
Xamarin.Forms.Controls/GalleryPages/VisualStateManagerGalleries/DeviceStateTriggerGallery.xaml.cs
219
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace Alza.Web { /// <summary> /// Program class. /// </...
27.461538
70
0.582633
[ "MIT" ]
petrnejedly/AlzaCz
Alza/Presentation/Alza.Web/Program.cs
1,071
C#
using System; using NHibernate; namespace MaterialCMS.DbConfiguration { public class PublishedFilterDisabler : IDisposable { private readonly ISession _session; private readonly bool _filterEnabled; public PublishedFilterDisabler(ISession session) { _session = sess...
23.8
82
0.568627
[ "MIT" ]
DucThanhNguyen/MaterialCMS
MaterialCMS/DbConfiguration/PublishedFilterDisabler.cs
716
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.TextAnalytics.Tests { public class RecognizeHe...
41.098947
327
0.619762
[ "MIT" ]
xaliciayang/azure-sdk-for-ne
sdk/textanalytics/Azure.AI.TextAnalytics/tests/RecognizeHealthcareEntitiesTests.cs
19,524
C#
using EmploymentsShared; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using ContactsShared; namespace SoftwareManagementMongoDbCoreRepository { [BsonIgnoreExtra...
36.658537
108
0.618097
[ "MIT" ]
niwrA/Software-Management-Core
SoftwareManagementMongoDbCoreRepository/EmploymentStateRepository.cs
6,014
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ContainerExtensionsTest.cs"> // Copyright (c) 2017. All rights reserved. Licensed under the MIT license. See LICENSE file in // the project root for full license informati...
31.275362
120
0.542169
[ "MIT" ]
spritely/Foundations.WebApi
Foundations.WebApi.Test/AppBuilder/ContainerExtensionsTest.cs
2,160
C#
using System; using System.ComponentModel; namespace QF.GraphDesigner { public static class ViewModelExtensions { public static System.Action SubscribeToProperty<TViewModel>(this TViewModel vm, string propertyName, Action<TViewModel> action) where TViewModel : ViewModel { PropertyCh...
29.631579
164
0.623446
[ "MIT" ]
GameAnt/QFramework
Assets/QFramework/Framework/6.EditorToolKit/Editor/uFrame.Editor/Systems/GraphUI/ViewModels/ViewModelExtensions.cs
563
C#
// =========== // DO NOT EDIT - this file is automatically regenerated. // =========== using Improbable.Gdk.Core; using Improbable.Worker.CInterop; namespace Improbable.Gdk.Tests.ComponentsWithNoFields { public partial class ComponentWithNoFields { public class DiffComponentDeserializer : IComponentDi...
35.982759
163
0.601342
[ "MIT" ]
gdk-for-unity-bot/gdk-for-unity
test-project/Assets/Generated/Source/improbable/gdk/tests/componentswithnofields/ComponentWithNoFieldsComponentDiffDeserializer.cs
2,087
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data; using System.Data.Entity; using System.Data.Entity.ModelConfiguration; using System.Data.Entity.ModelConfiguration.Conventions; using System.Linq; using Sy...
36.269663
109
0.568463
[ "MIT" ]
arinsuga/posup
APPBASE/BASEMST/Month/ModelsServices/MonthCRUD_Services.cs
3,230
C#
#nullable enable using Content.Server.GameObjects.Components.Items.Storage; using Content.Server.Interfaces.Chat; using Content.Server.Interfaces.GameObjects; using Content.Server.Utility; using Content.Shared.GameObjects.Components.Morgue; using Content.Shared.GameObjects.EntitySystems; using Content.Shared.GameObjec...
33.662722
129
0.582703
[ "MIT" ]
GraniteSidewalk/space-station-14
Content.Server/GameObjects/Components/Morgue/CrematoriumEntityStorageComponent.cs
5,691
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.Text; namespace NuGet { /// <summary> /// Provides a resource pool that enables re...
42.364706
114
0.613163
[ "Apache-2.0" ]
AntonC9018/NuGet.Client
build/Shared/StringBuilderPool.cs
3,601
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.Signer")] [assembly: AssemblyDescri...
50.71875
351
0.752927
[ "Apache-2.0" ]
SVemulapalli/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/Signer/Properties/AssemblyInfo.cs
1,623
C#
using System; using System.Collections.Generic; namespace Memoria { internal sealed class CmdInfoEqualityComparer : IEqualityComparer<CMD_INFO> { public static readonly CmdInfoEqualityComparer Instance = new CmdInfoEqualityComparer(); public Boolean Equals(CMD_INFO x, CMD_INFO y) { ...
42.457143
214
0.570659
[ "MIT" ]
BigDWilly73/FFIX
Memoria/Resources/Grahpics/Export/Battle/CmdInfoEqualityComparer.cs
1,486
C#
using AutoFixture; using AutoFixture.Xunit2; using FluentAssertions; using NHibernate.Linq; using NHibernate.UserTypes.NodaTime.Test.Infrastructure; using NodaTime; using Xunit; namespace NHibernate.UserTypes.NodaTime.Test.WithNormalMappings { [Collection("Database collection")] public class NodaTimeOffsetDat...
34.586538
118
0.624409
[ "MIT" ]
jmojiwat/NHibernate.UserTypes.NodaTime
src/NHibernate.UserTypes.NodaTime.Test/WithNormalMappings/NodaTimeOffsetDateTimeTest.cs
3,599
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Threading.Tasks; using System.Web; namespace CommunityTraining.Presentation.Blazor.Helpers { public class Video { public static string Preview(string id) => $"https://img.youtube.com/v...
31.949153
104
0.491247
[ "Unlicense" ]
drualcman/CommunityTraining
CommunityTraining.Presentation.Blazor/Helpers/Video.cs
1,887
C#
using Microsoft.Extensions.CommandLineUtils; using System; namespace DotNetVersioningTool { class Program { static int Main(string[] args) { var app = new CommandLineApplication(); var listCommand = app.Command("list", config => { }); ...
22.692308
104
0.465537
[ "MIT" ]
leecow/DotNetVersioningTool
src/dotnet-package-versions/Program.cs
887
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MainGameManager_Contra : SingletonBehaviour<MainGameManager_Contra> { private int sectionSpawned = 0; private void OnEnable() { EventManager.OnSectionSpawned += OnSectionSpawned; } priva...
20.828571
81
0.626886
[ "Apache-2.0" ]
finalspace/LD46
LilFire/Assets/Scripts/Prototype/Contra/MainGameManager_Contra.cs
731
C#
using IoTSharp.Data; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace IoTSharp.Extensions { public static class DeviceExtension { /// <summary> /// When creating a device, all the things that need to be done here are done /// </...
36.081081
107
0.56779
[ "MIT" ]
masterchen/IoTSharp
IoTSharp/Extensions/DeviceExtension.cs
1,337
C#
namespace gpmrw { partial class wstgOptimizations { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
43.396396
171
0.567366
[ "Apache-2.0" ]
MohawkMEDIC/everest
gpmr/gpmrw/wstgOptimizations.Designer.cs
4,819
C#
using Domain.Context.Entities; using Domain.Repositories; using Infra.Data; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Infra.Repositories { public class UsuariosRepository : IUsuariosRepository ...
28.171053
77
0.55348
[ "Apache-2.0" ]
ThalyaMedeiros/DesafioTODO
Infra/Repositories/UsuariosRepository.cs
2,143
C#
using System.Collections.Generic; using System.Linq; namespace AutomatedLab { /// <summary> /// New external switch has a name collision with an already exisitng private or internal one. /// </summary> public class DuplicateAddressAssigned : LabValidator, IValidate { public DuplicateAddres...
34.315789
114
0.555215
[ "MIT" ]
AutomatedLab/AutomatedLab
LabXml/Validator/Network/DuplicateAddressAssigned.cs
1,306
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using OpenQA.Selenium.Support.UI; namespace WebAddressbookTests { [TestFixture] public class GroupModificationTests :...
27.803571
73
0.567759
[ "Apache-2.0" ]
anastasiyaburaya/charp_training
addressbook-web-tests/addressbook-web-tests/tests/GroupModificationTests.cs
1,559
C#
using Verse; using RimWorld; using System.Collections.Generic; namespace TorannMagic { [StaticConstructorOnStartup] public class Building_TMHeater : Building_WorkTable { private int nextSearch = 0; private bool initialized = false; public bool defensive = false; public boo...
38.761905
127
0.435811
[ "BSD-3-Clause" ]
Evyatar108/TMagic-Optimized
Source/TMagic/TMagic/Building_TMHeater.cs
3,258
C#
using System; using System.Threading.Tasks; using Windows.Storage; using Windows.System; using Windows.UI.Xaml.Controls; namespace DysproseTwo.Helpers { public static class ReviewHelper { const string launchCountSettingsValue = "launchCount"; const string noMorePromptsSettingsValue = "noMorePr...
32.180328
152
0.547631
[ "MIT" ]
colinkiama/DysproseTwo
DysproseTwo/Helpers/ReviewHelper.cs
3,931
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. // // Revision history: // // BD - June 2013 - Created this file. // using System; using System.Linq.Expressions; ...
37.288136
127
0.688182
[ "MIT" ]
Botcoin-com/reaqtor
Reaqtor/Core/Service/Reaqtor.Service/Reaqtor/ReactiveMetadata.cs
2,202
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FiguresLi { class Point { } }
13.076923
33
0.723529
[ "MIT" ]
adrskw/zgadywanka-lab4n
zajecia/lab3/FiguresLab/FiguresLi/Point.cs
172
C#
using CharlieBackend.Panel.Models.Homework; using CharlieBackend.Core.DTO.Homework; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CharlieBackend.Panel.Services.Interfaces { public interface IHomeworkService { Task<IList<HomeworkViewModel>> G...
29.5
70
0.768362
[ "MIT" ]
ita-social-projects/WhatBackend
CharlieBackend.Panel/Services/Interfaces/IHomeworkService.cs
533
C#
using Car.DAL.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Car.DAL.EntityConfigurations { internal class UserPreferencesConfiguration : IEntityTypeConfiguration<UserPreferences> { public void Configure(EntityTypeBuilder<UserPreferences...
33
91
0.709729
[ "MIT" ]
UMuryn/car-back
CarBackEnd/Car.DAL/EntityConfigurations/UserPreferencesConfiguration.cs
629
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace Inixe.InixDialogs.Demo { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { } }
17.666667
39
0.748428
[ "MIT" ]
Arsenico95/InixDialogs
Source/Inixe.InixDialogs.Demo/App.xaml.cs
320
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Assets.JusticeFramework.UI.Components { class ListButton { } }
18.090909
49
0.768844
[ "MIT" ]
RobertStivanson/Justice-Framework
UI/Components/ListButton.cs
201
C#
// Copyright (C) 2015 Google, 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 ...
32.101563
90
0.584327
[ "MIT" ]
AaqeelorShahid/Clone-of-AA-game---Unity
Assets/GoogleMobileAds/Api/AdRequest.cs
4,109
C#
using System.Collections.Generic; using System.Linq; using MailCheck.Dmarc.Contracts.SharedDomain; using MailCheck.DomainStatus.Contracts; using Message = MailCheck.Dmarc.Contracts.SharedDomain.Message; namespace MailCheck.Dmarc.Entity.Entity.DomainStatus { public interface IDomainStatusEvaluator { St...
26.840909
93
0.570703
[ "Apache-2.0" ]
ukncsc/MailCheck.Public.Dmarc
src/MailCheck.Dmarc.Entity/Entity/DomainStatus/DomainStatusEvaluator.cs
1,183
C#
using UppsalaApi.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Security.Claims; namespace UppsalaApi.Services { public interface IUserService { Task<PagedResults<UserResource>> GetUsersAsync( Pa...
28.964286
80
0.72873
[ "MIT" ]
mimustafa/UppsalaApi
UppsalaApi/Services/IUserService.cs
813
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // asso...
41.392857
94
0.722606
[ "Apache-2.0" ]
PValgento/Connect-4
Connect4/Connect4/Properties/AssemblyInfo.cs
2,321
C#
namespace TaskManager.Migrations { using System; using System.Collections.Generic; using System.Data.Entity.Infrastructure.Annotations; using System.Data.Entity.Migrations; public partial class InitialMigrations : DbMigration { public override void Up() { CreateT...
53.529582
141
0.499137
[ "MIT" ]
lucaslsilva/vanhackaton
src/TaskManager.EntityFramework/Migrations/201809270654064_InitialMigrations.cs
37,096
C#
using HarmonyLib; using System.Reflection; namespace SpaceMonke.HarmonyPatches { /// <summary> /// Apply and remove all of our Harmony patches through this class /// </summary> public class SpaceMonkePatches { private static Harmony instance; public static bool IsPatched { get; pr...
25.794872
81
0.527833
[ "MIT" ]
Graicc/SpaceMonke
SpaceMonke/HarmonyPatches/SpaceMonkePatches.cs
1,008
C#
using System; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using NosCore.Packets; using NosCore.Packets.Enumerations; using NosCore.Packets.ServerPackets.Login; using NosCore.ReverseProxy.Conf...
43.115385
209
0.65165
[ "MIT" ]
NosCoreIO/NosCore.ReverseProxy
src/NosCore.ReverseProxy/TcpProxy/TcpProxy.cs
4,486
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
34.236364
153
0.565587
[ "MIT" ]
Dakoni4400/MSGraph-SDK-Code-Generator
test/Typewriter.Test/TestDataCSharp/com/microsoft/graph2/callrecords/requests/OptionRequestBuilder.cs
1,883
C#
using System.ComponentModel.DataAnnotations; namespace MyDiet.Models.Dtos { public class ProductCategoryDto { public int Id { get; set; } [Required] [MinLength(5)] public string Description { get; set; } } }
18.214286
47
0.619608
[ "MIT" ]
FrancescoRepo/MyDiet
MyDiet/Models/Dtos/ProductCategoryDto.cs
257
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.ComponentModel.Composition; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.Co...
42.290698
117
0.708001
[ "MIT" ]
belav/roslyn
src/VisualStudio/Xaml/Impl/Implementation/LanguageClient/XamlInProcLanguageClientDisableUX.cs
3,639
C#
using System; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; namespace LinqToDB.Linq { using SqlQuery; using Mapping; using Common.Internal.Cache; static partial class QueryRunner { public static class Insert<T> { static Query<int> CreateQuery(IDataCon...
39.36
163
0.693598
[ "MIT" ]
FrancisChung/linq2db
Source/LinqToDB/Linq/QueryRunner.Insert.cs
3,839
C#
using System; using System.Threading; using System.Collections.Generic; namespace c_sharp { class Program { static void Main(string[] args) { Random aleatorio = new Random(); int teste; List<string> listaAnimais = new List<string>(){"ABELHA", "AGUIA", "ARANHA...
34.62069
200
0.417729
[ "MIT" ]
RedneyMonteiro15/Quebra_Cabeca_game
c sharp/Program.cs
5,030
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Commands.AnalysisServices")] [ass...
35.410256
85
0.727009
[ "MIT" ]
3quanfeng/azure-powershell
src/AnalysisServices/AnalysisServices/Properties/AssemblyInfo.cs
1,344
C#
#if UNITY_EDITOR using System; using System.Collections.Generic; using System.Linq; using UnityEditor; #endif using UnityEngine; #if UNITY_EDITOR // taken from: https://gamedev.stackexchange.com/a/140799 static class CanDestroyExtension { private static bool Requires(Type obj, Type req) { retur...
32.823944
98
0.579275
[ "MIT" ]
phobos2077/unity-hierarchy-folders
Runtime/Folder.cs
4,523
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Study.Utility { public class SublistEnumeration { public static IEnumerable<List<T>> EnumerateSublists<T>(List<T> list) { int n = list.Count; fo...
26.54023
90
0.422477
[ "MIT" ]
landon/InterviewStudy
Study/Utility/SublistEnumeration.cs
4,620
C#
using System.Windows; using Microsoft.Practices.ServiceLocation; using Prism.Modularity; using Prism.Regions; using Prism.Unity; using StatTrack.UI.Services; using StatTrack.UI.ViewModels; using StatTrack.UI.Views; using Syncfusion.Windows.Tools.Controls; namespace StatTrack.UI { public class Bootstrapper : Unity...
34.377049
120
0.660944
[ "MIT" ]
RedbackThomson/StatTrack
UI/Bootstrapper.cs
2,099
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.XR.MagicLeap; public class FingersColliderDetector : MonoBehaviour { [SerializeField] private GameEvent moveObjectWithPinchEvent; [SerializeField] private GameEvent dropObjectWithEvent; private int colldersCou...
25.837838
74
0.67364
[ "Apache-2.0" ]
shrma21294/MagicLeapAdvance
Assets/Script/FingersColliderDetector.cs
958
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.ApplicationModel { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class LimitedAccessFeatureReq...
46.377778
165
0.761859
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.ApplicationModel/LimitedAccessFeatureRequestResult.cs
2,087
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.IO; using System.Runtime.Serialization; using System.Text; using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Jso...
20.3
81
0.783251
[ "Apache-2.0" ]
AvePoint/cloud-governance-client
csharp-netstandard/src/Cloud.Governance.Client/Model/ExtendType.cs
609
C#
using System; using GitTools.Testing; using LibGit2Sharp; using NUnit.Framework; using Shouldly; using GitVersionExe.Tests.Helpers; namespace GitVersionExe.Tests { [TestFixture] public class PullRequestInTeamCityTest { [TestCase("refs/pull-requests/5/merge")] [TestCase("refs...
46.272727
158
0.610609
[ "MIT" ]
Thaoden/GitVersion
src/GitVersionExe.Tests/PullRequestInTeamCityTest.cs
2,493
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WeatherService { public struct ApiConstants { public const string BaseUrl = "http://api.openweathermap.org"; public const string ImageEndpoint = BaseUrl + "/img"; ...
26.909091
80
0.689189
[ "Apache-2.0" ]
Codecamv/AlloyDemoKit
src/WeatherService/ApiConstants.cs
594
C#
using System.Reflection; public class SolutionChecker { public virtual bool CheckAnswer(Assembly program) { return true; } }
15.6
54
0.641026
[ "MIT" ]
richardkopelow/OperationPegasus
Assets/Code/Missions/SolutionChecker.cs
158
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...
30.096774
105
0.655949
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Glacier/Generated/Model/_bcl45+netstandard/GlacierPaginatorFactory.cs
1,866
C#
using Cindi.Application.Interfaces; using Cindi.Application.Results; using Cindi.Application.Services; using Cindi.Domain.Entities.Metrics; using Cindi.Domain.Entities.States; using ConsensusCore.Node; using MediatR; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq;...
35.8
196
0.707821
[ "MIT" ]
xucito/cindi
Cindi.Application/Metrics/Queries/GetMetrics/GetMetricsQueryHandler.cs
1,792
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> //--...
41.904762
179
0.594034
[ "MIT" ]
sfellowes/SocketMeister
src/SocketMeister.MiniTestServer/Properties/Resources.Designer.cs
3,522
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Azure.Management.Compute; using Microsoft.Azure.Management....
48.424915
272
0.552032
[ "MIT" ]
Lusitanian/azure-sdk-for-net
src/SDKs/Compute/Compute.Tests/VMScaleSetTests/VMScaleSetTestsBase.cs
28,379
C#
namespace ParentLoadRO.Business.ERLevel { public partial class A09_Region_Child { #region OnDeserialized actions /*/// <summary> /// This method is called on a newly deserialized object /// after deserialization is complete. /// </summary> /// <para...
26
102
0.59324
[ "MIT" ]
CslaGenFork/CslaGenFork
trunk/Samples/DeepLoad/DAL-DR/ParentLoadRO.Business/ERLevel/A09_Region_Child.cs
858
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; 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; using System.Windo...
37.934911
124
0.455701
[ "MIT" ]
Chriscolm/WriteableBitmapEx
Source/WriteableBitmapExShapeSample.Wpf/MainWindow.xaml.cs
12,824
C#
using System; namespace MVCMovieCore.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
19.090909
70
0.671429
[ "MIT" ]
vilsonmoro/curso-csharp
MVcMovie/MVCMovieCore/Models/ErrorViewModel.cs
210
C#
using Newtonsoft.Json; namespace TwitchLib.Api.V5.Models.Videos { public class VideoPreview { #region Large [JsonProperty(PropertyName = "large")] public string Large { get; protected set; } #endregion #region Medium [JsonProperty(PropertyName = "medium")] ...
27.36
54
0.603801
[ "MIT" ]
Teravus/RebootTechChatBot
TwitchLib.Api/TwitchLib.Api.V5.Models/Videos/VideoPreview.cs
686
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...
41.261538
195
0.644295
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CodeArtifact/Generated/Model/Internal/MarshallTransformations/DescribePackageVersionResponseUnmarshaller.cs
5,364
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...
32.05641
107
0.577988
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/GameLift/Generated/Model/UpdateGameSessionRequest.cs
6,251
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using Unity.MLAgents; using Unity.MLAgents.Sensors; public class DroneAgent : Agent { // public variables [Header("Propeller motors")] /// <summary> /// Propeller component of front left propeller of the drone /// </su...
31.393103
95
0.585457
[ "MPL-2.0" ]
Hemanth759/Path-Finder-Drone
Autonomous Drone/Assets/Autonomous Drone/Scripts/AutonomousDrone/DroneAgent.cs
9,106
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using System.Web; using System.Web.Script.Serialization; using System.Xml.Serialization; using N...
36.153025
451
0.564327
[ "MIT" ]
qaz734913414/X
XUnitTest.XCode/Code/entity_user_normal_biz.cs
11,479
C#
using System; using System.Collections.Generic; using NUnit.Framework; using Google.Maps.StreetView; using FluentAssertions.Collections; using FluentAssertions; using Google.Maps.Test; namespace Google.Maps.StreetView { [TestFixture] public class StreetView_uribuilding_Tests { Uri gmapsBaseUri = new Uri("http:/...
21.829268
111
0.689385
[ "Apache-2.0" ]
AlexSkarbo/gmaps-api-net
src/Google.Maps.Test/StreetView/StreetView_uribuilding_Tests.cs
1,792
C#
namespace ClassLib086 { public class Class037 { public static string Property => "ClassLib086"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib086/Class037.cs
120
C#
using System.Collections.ObjectModel; namespace PaginaInicial.Areas.HelpPage.ModelDescriptions { public class ComplexTypeModelDescription : ModelDescription { public ComplexTypeModelDescription() { Properties = new Collection<ParameterDescription>(); } public Collec...
27.642857
80
0.70801
[ "MIT" ]
esteban1991/TestAsp
PaginaInicial/Areas/HelpPage/ModelDescriptions/ComplexTypeModelDescription.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: AssemblyTitle("Ra...
38.675676
84
0.749825
[ "Apache-2.0" ]
code-attic/Symbiote
demo/Rabbit/RabbitDemo.Publisher/Properties/AssemblyInfo.cs
1,434
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace TickClock.Models.AccountViewModels { public class LoginWithRecoveryCodeViewModel { [Required] [DataType(DataType.Text)] [Display(Name ...
23.352941
48
0.712846
[ "Apache-2.0" ]
sonia1013/TickClock
TickClock/Models/AccountViewModels/LoginWithRecoveryCodeViewModel.cs
399
C#
using Foundation; using UIKit; namespace TexturedCubeiOS { [Register ("AppDelegate")] public class AppDelegate : UIApplicationDelegate { public override UIWindow Window { get; set; } } }
16.166667
49
0.747423
[ "Apache-2.0" ]
G3r3rd/mobile-samples
TexturedCubeES30/TexturedCubeiOS/AppDelegate.cs
194
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. namespace FunctionalTests.Model { using System; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel.DataAnnota...
33.458897
144
0.460378
[ "MIT" ]
dotnet/ef6tools
test/EntityFramework/FunctionalTests.Transitional/TestModels/StoreModel/Product.cs
32,154
C#
using Microsoft.EntityFrameworkCore.Scaffolding.Metadata; using NUnit.Framework; using RevEng.Core; using RevEng.Shared; using System.Collections.Generic; using System.Reflection; namespace UnitTests.Services { [TestFixture] public class ReplacingCandidateNamingServiceTests { [Test] public...
33.151445
142
0.443751
[ "MIT" ]
Manu06D/EFCorePowerTools
src/GUI/NUnitTestCore/ReplacingCandidateNamingServiceTests.cs
28,678
C#
namespace LaptopListingSystem.Web.Areas.Administration.Controllers { using LaptopListingSystem.Services.Administration.Contracts; using LaptopListingSystem.Services.Data.Contracts; using LaptopListingSystem.Web.Controllers; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; ...
33.846154
85
0.720455
[ "MIT" ]
KristianMariyanov/LaptopListingSystem
Web/LaptopListingSystem.Web/Areas/Administration/Controllers/BaseAdministrationController.cs
882
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SimpleWorkfloorManagementSuite.Controls { /// <summary> /// Class defining a checklist item fot the checklist control. /// </summary> public class CheckListItem { #region -_ Public Properties _- /// <summary> ...
23.578947
74
0.653274
[ "Unlicense" ]
Djohnnie/SwmSuite-Original
SimpleWorkfloorManagementSuite/Controls/CheckListItem.cs
1,346
C#
using System.Collections.Immutable; using System.Text; namespace Biohazrd.Transformation { public ref struct TypeTransformationResult { public TypeReference TypeReference { get; init; } public ImmutableArray<TranslationDiagnostic> Diagnostics { get; init; } public bool IsChange(TypeRe...
36.7125
123
0.659176
[ "MIT" ]
InfectedLibraries/Biohazrd
Biohazrd.Transformation/TypeTransformationResult.cs
2,939
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; using Orleans; using Orleans.AzureUtils; using Orleans.Runtime; using Orleans.Runtime.Configuration; using UnitTests.StorageTests; using Xunit; namespace UnitTests.RemindersTest { public abstract...
39.892216
115
0.631192
[ "MIT" ]
Drawaes/orleans
test/TesterInternal/RemindersTest/ReminderTableTestsBase.cs
6,662
C#
using System; using Nakov.IO; // See http://www.nakov.com/tags/cin public class CinExample { static void Main() { Console.Write("Enter your name: "); string name = Console.ReadLine(); Console.Write("Enter two integers x and y separated by whitespace: "); // cin >> x >> y; ...
31.177778
78
0.548824
[ "MIT" ]
nakov/Nakov.io.cin
Examples/CinExample.cs
1,405
C#
using System; using System.Collections.Generic; using System.Text; using System.IO; namespace Genode.Audio { /// <summary> /// Represents a decoder to decode specific audio format. /// </summary> public abstract class SoundReader : IDisposable { /// <summary> /// Check if current <...
42.229167
161
0.619142
[ "MIT" ]
SirusDoma/Genode
Source/Genode/Audio/Reader/SoundReader.cs
2,029
C#
using DevExpress.Mvvm.UI; using DevExpress.Mvvm.UI.Interactivity; using DevExpress.Mvvm.POCO; using System.Windows.Controls; using System.Threading; using System; using System.Windows; using System.Linq; using NUnit.Framework; using System.Collections.Generic; using DevExpress.Mvvm.Native; namespace DevExpress.Mvvm.Te...
53.256911
236
0.652215
[ "MIT" ]
CentralLaserFacility/DevExpress.Mvvm
DevExpress.Mvvm.Tests/Services/ServiceContainerBaseTests.cs
32,753
C#