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.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Response { /// <summary> /// KoubeiMarketingCampaignCrowdBatchqueryResponse. /// </summary> public class KoubeiMarketingCampaignCrowdBatchqueryResponse : AlipayResponse { /// <summary> /// 人群组的基本信息,id表示人群分组的ID...
29.652174
105
0.655425
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Response/KoubeiMarketingCampaignCrowdBatchqueryResponse.cs
820
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #nullable disable using System; using System.Diagnostics; using System.Globalization; using System.Text; using Microsoft.AspNetCore.Razor.Language.Syntax.InternalSyntax; using Xunit...
39.72973
155
0.57619
[ "MIT" ]
dotnet/razor-compiler
src/Microsoft.AspNetCore.Razor.Language/test/Legacy/TokenizerTestBase.cs
2,940
C#
// © XIV-Tools. // Licensed under the MIT license. namespace XivToolsWpf.Converters { using System; using System.Globalization; using System.Windows.Data; [ValueConversion(typeof(bool), typeof(bool))] public class BoolInversionConverter : IValueConverter { public object Convert(object value, Type targetType,...
21.461538
97
0.724014
[ "MIT" ]
0x0ade/XivToolsWpf
Converters/BoolInversionConverter.cs
561
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
28.537037
81
0.585334
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/MachineLearningServices/V20200301/Inputs/AKSArgs.cs
1,541
C#
using System.Collections.Generic; namespace Notion.Client { public class PagesCreateParameters : IPagesCreateBodyParameters, IPagesCreateQueryParameters { public IPageParentInput Parent { get; set; } public IDictionary<string, PropertyValue> Properties { get; set; } public IList<Block>...
31.571429
96
0.68552
[ "MIT" ]
hognevevle/notion-sdk-net
Src/Notion.Client/Api/Pages/RequestParams/PagesCreateParameters/PagesCreateParameters.cs
444
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace proyectv.Models { public class Carrito { public int id { get; set; } public int codigo_producto_carrito { get; set; } public int cantidad_producto { get; set; } ...
27.894737
57
0.630189
[ "MIT" ]
DanielClavijoGonzalez/tienda-el-vecino-aspnc
proyectv/Models/Carrito.cs
532
C#
using System.Collections.Generic; using System; using Addresses.Models; namespace Streets.Models { public class Street { private string _line1; private string _line2; private string _city; private string _state; private int _zipCode; private int _streetId; private int ...
23.8
98
0.630252
[ "Unlicense" ]
LeeMellon/Review5
Models/Streets.cs
714
C#
using Orchard.ContentManagement; using Orchard.ContentManagement.Drivers; using Orchard.ContentManagement.Handlers; using Piedone.Facebook.Suite.Models; namespace Piedone.Facebook.Suite.Drivers { public class FacebookSuiteSettingsPartDriver : ContentPartDriver<FacebookSuiteSettingsPart> { pro...
35.636364
122
0.630952
[ "BSD-3-Clause" ]
Lombiq/Orchard-Facebook-Suite
Drivers/FacebookSuiteSettingsPartDriver.cs
1,178
C#
using ImageCircle.Forms.Plugin.Abstractions; using Xamarin.Forms; namespace TicketToTalk { /// <summary> /// Invitation cell. /// </summary> public class InvitationCell : ViewCell { CircleImage personProfileImage; Label nameLabel; Label relation; public InvitationCell() { personProfileImage = new...
22.519481
96
0.672434
[ "BSD-3-Clause" ]
digitalinteraction/ticket-to-talk-client
TicketToTalk/ViewModels/InvitationCell.cs
1,736
C#
/* *************************************************************************** * This file is part of SharpNEAT - Evolution of Neural Networks. * * Copyright 2004-2006, 2009-2010 Colin Green (sharpneat@gmail.com) * * SharpNEAT is free software: you can redistribute it and/or modify * it under the terms of the GN...
37.885057
144
0.557342
[ "MIT" ]
FrozenSonar/Fencing3DNEAT
Assets/UnitySharpNEAT/SharpNEAT/Utility/Utilities.cs
6,592
C#
#region Copyright /////////////////////////////////////////////////////////////////////////////// // // Copyright (c) Phoenix Contact GmbH & Co KG // This software is licensed under Apache-2.0 // /////////////////////////////////////////////////////////////////////////////// #endregion using System; nam...
28.6
80
0.516084
[ "Apache-2.0" ]
PLCnext/PLCnext_CLI
src/PlcNext.Common/Tools/UI/IProgressNotifier.cs
717
C#
// ReSharper disable All using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using MixERP.Net.Core.Modules.HRM.Data; using MixERP.Net.EntityParser; using PetaPoco; using CustomField = PetaPoco.CustomField; namespace MixERP.Net.Api.HRM.Fakes { public class ResignationScrudViewRe...
31.149254
133
0.662674
[ "MPL-2.0" ]
asine/mixerp
src/FrontEnd/Modules/HRM.API/Fakes/ResignationScrudViewRepository.cs
2,087
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.SqlClient; using System.Data; namespace Lab03 { public partial class Persona : For...
27.708861
64
0.531293
[ "MIT" ]
Michael-C914/DAEA-2021-2-A
lab04/Persona.cs
2,191
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="BufferTests.cs" company="Email Hippo Ltd"> // © Email Hippo Ltd // </copyright> // ----------------------------------------------------------------------------------------------...
36.607595
120
0.595436
[ "MIT" ]
Furysoft/Queuing-AuzreStorage
src/Tests/Furysoft.Queuing.AzureStorage.Tests/Integration/Buffer/BufferTests.cs
2,895
C#
/* * Copyright 2020 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 "licens...
35.802198
139
0.657152
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Kafka/Generated/Model/Internal/MarshallTransformations/TooManyRequestsExceptionUnmarshaller.cs
3,258
C#
// Copyright © 2020 Dmitry Sikorsky. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; using ExtCore.Infrastructure; using Microsoft.AspNetCore.Http; namespace Platformus.Core.Backe...
32.7
111
0.75841
[ "Apache-2.0" ]
Platformus/Platformus
src/Platformus.Core.Backend/Metadata/Providers/DefaultStyleSheetsProvider.cs
657
C#
using System; namespace Amns.GreyFox.People { /// <summary> /// Summary description for AddressParser. /// </summary> public class AddressParser { string _fullAddress; public AddressParser() { // // TODO: Add constructor logic here // } public void Parse(string address) { bool caps = tr...
18.354545
70
0.497276
[ "MIT" ]
rahodges/Amns
Amns.GreyFox/People/AddressParser.cs
2,019
C#
using System; class MethodArray { static void Main() { int[] arry1 = new int[5]; int[] arry2 = new int[5]; int[] arry3 = new int[5]; int[,] matriz = { { 11, 22, 00, 44, 55 }, { 66, 77, 88, 99, 00 } }; // método Random sorteamos 5 valores entre 1 e 60 e preenchemos o arr...
38.609375
147
0.534197
[ "MIT" ]
AlamoVinicius/cSharp-pratice
pratices/14-metodos/MethodArray.cs
4,966
C#
namespace FocLauncher { public enum ApplicationType { Stable, Beta, //Alpha, Test } }
13
31
0.492308
[ "MIT" ]
AnakinSklavenwalker/FoC-Mod-Launcher
src/FocLauncher.Core/Information/ApplicationType.cs
132
C#
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Discord.Net.Audio")] [assembly: AssemblyDescription("A Discord.Net extension adding voice support.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("RogueException")] [assembly: AssemblyProduct("Discord.Net.Mod...
32.421053
80
0.766234
[ "MIT" ]
Asian-Demon-Blast/KitDiscord
src/Discord.Net.Audio.Net45/Properties/AssemblyInfo.cs
619
C#
//--------------------------------------------------------------------------- // // <copyright file="CollectionSynchronizationCallback.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. // </copyright> // // Description: Delegate used to synchronize access to multi-threaded collec...
46.020833
104
0.63694
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/wpf/src/Framework/System/Windows/Data/CollectionSynchronizationCallback.cs
2,209
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.EntityFrameworkCore; using ASPEntityCore_05_Movie.Models; using SPEntityCore_05_Movie.Models; namespace ASPEntityCore_05_Movie.Pag...
25.116667
95
0.572661
[ "MIT" ]
philanderson888/c-sharp
ASP_Core_Movie_05/Pages/Models/Delete.cshtml.cs
1,509
C#
using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_FairyGUI_ColliderHitTest : LuaObject { [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static public int SetArea(IntPtr l) { try { FairyGUI.ColliderHitTest self=(FairyGUI.ColliderHitTest)checkSelf(l); Syste...
25.16129
72
0.708547
[ "MIT" ]
zhangjie0072/FairyGUILearn
Assets/Slua/LuaObject/Custom/Lua_FairyGUI_ColliderHitTest.cs
2,342
C#
namespace YuGiOhCollectionSupporter { partial class CardForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
48.956204
159
0.600194
[ "MIT" ]
SorabaneSAI/YuGiOhCollectionSupporter
YuGiOhCollectionSupporter/YuGiOhCollectionSupporter/UI/CardForm.Designer.cs
13,750
C#
using System; namespace ExternalA { class MainClass { public static void Main (string[] args) { Console.WriteLine ("Hello {0}!", typeof(Microsoft.CodeAnalysis.SyntaxNode)); } } }
14.846154
79
0.683938
[ "MIT" ]
kzu/UltimateNuGetRestore
External/ExternalA/ExternalA/Program.cs
195
C#
namespace Neuralm.Services.Common.Patterns { /// <summary> /// Represents the <see cref="IFactory{TResult}"/> interface for the Factory pattern. /// </summary> /// <typeparam name="TResult">Factory output result.</typeparam> public interface IFactory<out TResult> { /// <summary> ...
42
134
0.626488
[ "MIT" ]
neuralm/Neuralm-Server
src/Neuralm.Services/Neuralm.Services.Common/Patterns/IFactory.cs
2,018
C#
using Ao.SavableConfig.Binder; using BenchmarkDotNet.Attributes; using Microsoft.Extensions.Configuration; using System.Collections.Generic; namespace Ao.SavableConfig.Benchmark { [MemoryDiagnoser] public class ConfigBind { private IConfiguration config; [GlobalSetup] public void ...
26.518072
87
0.410268
[ "Apache-2.0" ]
Cricle/Ao.SavableConfig
test/Ao.SavableConfig.Benchmark/ConfigBind.cs
2,203
C#
namespace AspNetCoreTemplate.Web.Areas.Identity.Pages.Account { using System; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using AspNetCoreTemplate.Data.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.Asp...
35.042553
131
0.611111
[ "MIT" ]
Abhinavchamallamudi/ASP.NET-MVC-Template
ASP.NET Core/Web/AspNetCoreTemplate.Web/Areas/Identity/Pages/Account/LoginWithRecoveryCode.cshtml.cs
3,296
C#
using System; using System.Data.SqlClient; using CommonFiles; namespace Add_Minion { public class StartUp { public static void Main() { var minionTokens = Console.ReadLine().Split(); var villainName = Console.ReadLine().Split()[1]; var minionName = minionT...
38.884058
119
0.559448
[ "MIT" ]
DimoDD/Databases
Entity-Framework/01.Fetching Results With AdoNet/04.Add Minion/StartUp.cs
2,685
C#
#region Disclaimer/Info /////////////////////////////////////////////////////////////////////////////////////////////////// // Subtext WebLog // // Subtext is an open source weblog system that is a fork of the .TEXT // weblog system. // // For updated news and information please visit http://subtextproject.com/ // Su...
32.791667
99
0.545108
[ "MIT", "BSD-3-Clause" ]
Dashboard-X/SubText-2.5.2.0.src
Subtext.Framework/Services/Email/ITextTemplate.cs
787
C#
using Microsoft.AspNetCore.Identity; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Core.Access.Identity.DB.EntitySets { public class ClientTokenRequest : IEntity { [Key] public long Id { get; set; } public string ClientId { ...
23.551724
51
0.633968
[ "MIT" ]
GitAyanC/SecurityTokenService
Core.Access/Identity/DB/EntitySets/ClientTokenRequest.cs
685
C#
using System.Reflection; using Abp.Localization.Dictionaries; using Abp.Localization.Dictionaries.Xml; using Abp.Modules; using Abp.Zero; using Abp.Zero.Configuration; using Demo.Authorization; using Demo.Authorization.Roles; using Demo.Authorization.Users; using Demo.Configuration; using Demo.MultiTenancy; namespace...
33.814815
85
0.654984
[ "MIT" ]
vinhtuanpham/ivs
src/Demo.Core/DemoCoreModule.cs
1,828
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Moq; using NUnit.Framework; using VkNet.Enums; using VkNet.Model; using VkNet.Tests.Infrastructure; using VkNet.Utils; namespace VkNet.Tests { [TestFixture] public class VkApiTest : BaseTest { [Test] public v...
23.434066
117
0.680188
[ "MIT" ]
f0xeri/vk
VkNet.Tests/VkApiTest.cs
4,265
C#
// <auto-generated /> using BooklistApp.Model; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace BooklistApp.Migra...
35.088889
125
0.60608
[ "Unlicense" ]
Ivan-Marquez/net-core
BooklistApp/Migrations/20200316210301_AddBookToDb.Designer.cs
1,581
C#
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modif...
43.142857
159
0.727005
[ "MIT" ]
Altair7610/SharpDX
Source/SharpDX.XInput/XInput14.cs
2,718
C#
// Copyright © 2017 - 2021 Chocolatey Software, Inc // Copyright © 2011 - 2017 RealDimensions Software, LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // // You may obtain a copy of the License at // // http://ww...
41.177778
152
0.656233
[ "Apache-2.0" ]
AdmiringWorm/choco
src/chocolatey/infrastructure/services/IEventSubscriptionManagerService.cs
1,857
C#
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt. using System.ComponentModel.Composition; using System.Windows.Forms; using Sce.Atf; using Sce.Atf.Dom; using Sce.Atf.Adaptation; using LevelEditorCore; namespace LevelEditor.PickFilters { /// <summary> /// P...
29.386364
113
0.570379
[ "Apache-2.0" ]
T-rvw/LevelEditor
LevelEditor/PickFilters/GobPickFilter.cs
2,500
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using QuidMind.CloRoFeel.RoboardService; namespace QuidMind.CloRoFeel.RobotServiceModule { class ServoMotorDriver { const int PwmPulseRightForwardMax = 1400; const int PwmP...
37.967532
123
0.482128
[ "MIT" ]
flyingoverclouds/Clorofeel
ClorofeelSource/EmbedV2/QuidMind.CloRoFeel.RobotServiceModule/ServoMotorDriver.cs
5,849
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; using System.Xml.Serialization; namespace Core.Pipeline { public class Target { [XmlAttribute] public String Name; [XmlAttribute] public Single Weight; } }
16.157895
33
0.674267
[ "MIT" ]
greymind/AnimationCustomData
importer/Target.cs
309
C#
using System; using Xunit; namespace Fluxor.UnitTests.DisposableCallbackTests { public class Constructor { [Theory] [InlineData(null)] [InlineData("")] [InlineData(" ")] public void WhenIdIsNullOrWhitespace_ThenThrowsArgumentNullException(string id) { Assert.Throws<ArgumentNullException>(()...
22.875
92
0.710383
[ "MIT" ]
BlazorHub/Fluxor
Tests/Fluxor.UnitTests/DisposableCallbackTests/Constructor.cs
551
C#
 #region Comment /* * Project: FineUI * * FileName: WindowPosition.cs * CreatedOn: 2008-06-17 * CreatedBy: 30372245@qq.com * * * Description: * -> * * History: * -> * * * * */ #endregion using System; using System.Collections.Generic; using Sy...
13.978261
34
0.461897
[ "Apache-2.0" ]
JesterWang/FineUI
FineUI/Business/Enums/WindowPosition.cs
707
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SQLServer2Dictionary { public class DatabaseColumn { public string Name { get; set; } public Type Type { get; set; } public int Length { get; set; } } }
19.8125
40
0.66877
[ "Unlicense" ]
csprousers/SQLServer2CSpro
SQLServer2Dictionary/DatabaseColumn.cs
319
C#
using CodeBlaze.Library.Collections.Pools; using UnityEngine; namespace CodeBlaze.Examples.Library { public class ObjectPoolExample : MonoBehaviour { private LazyObjectPool<string> _pool; private void Start() { _pool = new LazyObjectPool<string>(5, index => $"Hello : {index...
20.789474
79
0.6
[ "MIT" ]
BLaZeKiLL/CodeBlazeLibrary
Assets/Examples/Scripts/Library/ObjectPoolExample.cs
397
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 // associated w...
46.137931
206
0.720105
[ "MIT" ]
AnessZurba/DS4Windows
DS4Windows/Properties/AssemblyInfo.cs
2,679
C#
/**************************************************************************** Copyright (c) 2013-2015 scutgame.com http://www.scutgame.com 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 ...
33.901235
98
0.598325
[ "Unlicense" ]
2823896/Scut
Source/Middleware/GameWebServer/Script/CsScript/Action/Action1000.cs
2,746
C#
using BoSSS.Application.XNSE_Solver; using BoSSS.Foundation.Grid; using BoSSS.Foundation.Grid.Classic; using BoSSS.Platform.LinAlg; using BoSSS.Solution.Control; using BoSSS.Solution.LevelSetTools; using BoSSS.Solution.NSECommon; using BoSSS.Solution.Timestepping; using BoSSS.Solution.XdgTimestepping; using i...
34.889655
150
0.48758
[ "Apache-2.0" ]
FDYdarmstadt/BoSSS
src/L4-application/XNSE_Solver/PhysicalBasedTestcases/BasicControls.cs
29,487
C#
using Microsoft.Extensions.DependencyInjection; using Midgard.Hosting; using System; using System.Runtime.Loader; using System.Threading.Tasks; namespace Midgard.Bootstrapper { class Program { static async Task Main(string[] args) { using var host = Host.CreateDefaultBuilder(args) ...
27.074074
101
0.504104
[ "MIT" ]
kaep7n/midgard
src/Midgard.Bootstrapper/Program.cs
1,464
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; public class Drone3Move : EnemyMove { private Vector3 diff; private float rotationZ; private Transform myGun; private float gunX,gunY,gunRadian,gunRotateDegree; [SerializeField] private Transform ba...
28.901639
75
0.649461
[ "MIT" ]
pqowp90/The-jet-man
Assets/netmaCode/Drone3Move.cs
1,763
C#
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyDescription("MSBuild Tasks for Octopus Deploy")] [assembly: AssemblyCompany("Octopus Deploy")] [assembly: AssemblyProduct("Octopus, an opinionated deployment solution for .NET applications")] [assembly: AssemblyCopyright("...
33.470588
96
0.794376
[ "Apache-2.0" ]
OctopusDeploy/OctoPack
source/Solution Items/SolutionInfo.cs
572
C#
using Microsoft.AspNetCore.Mvc.RazorPages; namespace SmartBreadcrumbs.UnitTests.Features.FeatureOne { public class SubFeatureModel : PageModel { } }
20.25
56
0.765432
[ "MIT" ]
Magicianred/SmartBreadcrumbs
tests/SmartBreadcrumbs.UnitTests/Features/FeatureOne/SubFeatureModel.cs
164
C#
using SSDCPortal.Constants; using SSDCPortal.Infrastructure.AuthorizationDefinitions; using SSDCPortal.Shared.Dto.Db; using SSDCPortal.Shared.Interfaces; using SSDCPortal.Shared.Localizer; using SSDCPortal.Theme.Material.Admin.Shared.Layouts; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Compone...
34.493671
155
0.605505
[ "MIT" ]
slicksys/blazorboilerplate
src/Shared/Modules/SSDCPortal.Theme.Material.Admin/Pages/Admin/Settings/SettingsBase.cs
2,727
C#
using VRM; namespace VRMViewer { public enum LANGUAGES { Japanese, English, Chinese, Korean, } }
11.833333
25
0.514085
[ "MIT" ]
MoorDev/UniVRMTest
Assets/VRMViewer/Scripts/Languages.cs
144
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace BurialPlots.DAL { public class PartnerPlanRepository:GenericRepository<PartnerPlan> { } }
18
69
0.767677
[ "MIT" ]
neocodejack/burial-plots
burialplots/DAL/PartnerPlanRepository.cs
200
C#
/* Copyright 2021-present 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 wr...
46.329305
212
0.652299
[ "Apache-2.0" ]
JamesKovacs/mongo-csharp-driver
tests/MongoDB.Driver.Core.Tests/Jira/CSharp3302Tests.cs
15,337
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.177419
133
0.677671
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SageMaker/Generated/Model/Internal/MarshallTransformations/NotebookInstanceLifecycleHookMarshaller.cs
2,181
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Calculadora { public partial class formCalc : Form { public form...
27.077419
85
0.498213
[ "MIT" ]
hugobraganca/Calculadora-CSharp
Form1.cs
4,211
C#
/* * This file is automatically generated; any changes will be lost. */ #nullable enable using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Beef; using Beef.Business; using Beef.Entities; using Beef.Validation; using Beef.Demo.Common.Entities; using Beef.Demo.Bus...
44.071429
129
0.644362
[ "MIT" ]
edjo23/Beef
samples/Demo/Beef.Demo.Business/Generated/ProductManager.cs
4,319
C#
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy,...
34.320896
190
0.619845
[ "MIT" ]
G-P-S/JSON.net-x.y.z
Source/Src/Newtonsoft.Json.Tests/Serialization/DynamicTests.cs
13,799
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/d3d12video.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { ...
28.473684
145
0.702403
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/d3d12video/D3D12_VIDEO_SAMPLE.cs
543
C#
using System; using System.Collections.Concurrent; using System.Diagnostics; using System.IO; using System.Net; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Threading.Tasks; using Es.ToolsCommon; using ICSharpCode.SharpZipLib.Zip; using Newtonsoft.Json; using Newtonsoft....
34.84878
124
0.449328
[ "MIT" ]
EnokiSolutions/es-workflow
Es.Dpo/DpoServer.cs
14,288
C#
namespace Wingman.Tests.ServiceFactory { using System; using Moq; using Wingman.Container; using Wingman.ServiceFactory; using Wingman.ServiceFactory.Strategies; using Xunit; public class ServiceFactoryRegistrarTests { private readonly Mock<IServiceRetrievalStrategy> _fromRe...
34.707143
124
0.641902
[ "MIT" ]
Aleksbgbg/Wingman
Wingman.Tests/ServiceFactory/ServiceFactoryRegistrarTests.cs
4,861
C#
using System.Collections.Generic; using UnityEngine; namespace Skattergy.Core { public struct WorldPosition { public Vector2 Position { get; } public Dictionary<Resource, int> ResourceValues { get; } } }
21.181818
64
0.686695
[ "Apache-2.0" ]
kyranet/skattergy
Skattergy/Assets/Scripts/Skattergy/Core/WorldPosition.cs
235
C#
using System; using System.Collections.Generic; using System.Data; using System.Text.RegularExpressions; using ServiceStack.Common; using ServiceStack.OrmLite; using ServiceStack.Text; namespace ServiceStack.ServiceInterface.Auth { public class OrmLiteAuthRepository : IUserAuthRepository, IClearable { ...
29.103604
109
0.684105
[ "BSD-3-Clause" ]
xamarin/ServiceStack
src/ServiceStack.ServiceInterface/Auth/OrmLiteAuthRepository.cs
6,463
C#
namespace Votify.Api.ApiModels { public class TokenInfo { public string ClientId { get; set; } public string Scope { get; set; } } }
18.888889
45
0.564706
[ "MIT" ]
villor/votify
Votify/Votify.Api/ApiModels/TokenInfo.cs
172
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("03_...
37.837838
84
0.749286
[ "MIT" ]
MrPIvanov/SoftUni
13-Algorithms/08_DYNAMIC PROGRAMMING/DynamicProgrammingPart01Lab/03_MoveDownRight/Properties/AssemblyInfo.cs
1,403
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // using System; using System.Runtime.CompilerServices; public class BringUpTest { const int Pass = 100; const int Fail = -1; // This test method returns: // 1 i...
25.285714
71
0.516949
[ "MIT" ]
belav/runtime
src/tests/JIT/CodeGenBringUpTests/JTrueLtInt1.cs
1,770
C#
/* This source file is under MIT License (MIT) Copyright (c) 2019 Ian Schlarman https://opensource.org/licenses/MIT */ using Newtonsoft.Json.Linq; using System.Collections.Generic; namespace Epilog.Extractor.Models { public class Usage { /// <summary> /// Paragraph Label /// </summar...
18.111111
44
0.584867
[ "MIT" ]
kaylerich/epilexi-mwcollegiate
Epilog.MWC/Epilog.Dictionary.Extractor.MWCollegiate/Models/Usage.cs
491
C#
// Copyright: ZhongShan KPP Technology Co // Date: 2018-02-26 // Time: 16:22 // Author: Karsion using UnityEditor; using UnityEngine; namespace UnrealM { [CustomEditor(typeof(ActionSequenceSystem))] public class ActionSequenceSystemInspector : Editor { public override void OnInspectorGUI() ...
44.659091
153
0.636132
[ "MIT" ]
Unreal-M/ActionSequenceSystem
Assets/Tools/ActionSequenceSystem/Editor/ActionSequenceSystemInspector.cs
1,967
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using Xunit; namespace ComponentImporterUnitTests { public class ImportZipFixture : IDisposable { public ImportZipFixture() { // First, copy BlankInputModel/InputModel.xme into th...
25.769231
106
0.646269
[ "MIT" ]
lefevre-fraser/openmeta-mms
test/InterchangeTest/ComponentInterchangeTest/ImportTestUnits/ImportZipFixture.cs
672
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...
30.806452
112
0.718325
[ "Apache-2.0" ]
mahanthbeeraka/dataservices-sdk-dotnet
AWSSDK/Amazon.SimpleEmail/Model/DeleteIdentityResult.cs
955
C#
using System.Threading; using Content.Shared.Actions.ActionTypes; using Robust.Shared.Utility; namespace Content.Server.Medical.Components { /// <summary> /// Adds an innate verb when equipped to use a stethoscope. /// </summary> [RegisterComponent] public sealed class StethoscopeComponent : Compon...
27.413793
112
0.640252
[ "MIT" ]
EmoGarbage404/space-station-14
Content.Server/Medical/Stethoscope/Components/StethoscopeComponent.cs
795
C#
// ---------------------------------------------------------------------------- // <copyright file="PhotonAnimatorView.cs" company="Exit Games GmbH"> // PhotonNetwork Framework for Unity - Copyright (C) 2016 Exit Games GmbH // </copyright> // <summary> // Component to synchronize Mecanim animations via PUN. ...
34.229779
162
0.558456
[ "Unlicense" ]
FaizanHZaidi/alternate-realities
10_photon_networking/Networking_Basics/Assets/Photon Unity Networking/Plugins/PhotonNetwork/Views/PhotonAnimatorView.cs
18,623
C#
namespace ReportsService.Areas.HelpPage.ModelDescriptions { public class DictionaryModelDescription : KeyValuePairModelDescription { } }
24.666667
74
0.797297
[ "MIT" ]
AlejandroIbarraC/Pandemica
API/SecondWaveAPIs/ReportsService/Areas/HelpPage/ModelDescriptions/DictionaryModelDescription.cs
148
C#
using System; namespace FasterQuant.PositionTracker { public class PositionInfo { public int PositionId { get; internal set; } public double AverageEntryPrice { get; internal set; } public long PortfolioDateTime { get; } public double CurrentPrice { get; internal set; } ...
42.082474
283
0.626899
[ "MIT" ]
fasterquant/strategy-addons
source/FasterQuant.PositionTracker/PositionInfo.cs
4,084
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace Keas.Core.Domain { public class PersonNotification { public PersonNotification() { Pending = true; ActionDate = DateTime.UtcNow; ...
29.339623
80
0.560772
[ "MIT" ]
ucdavis/Keas
Keas.Core/Domain/PersonNotification.cs
1,555
C#
using Scalar.Tests.Should; using System; using System.Collections.Generic; using System.Linq; using System.Threading; namespace Scalar.FunctionalTests.Tools { public static class GitHelpers { private const string WindowsPathSeparator = "\\"; private const string GitPathSeparator = "/"; ...
41.03125
138
0.615765
[ "MIT" ]
parkerbxyz/scalar
Scalar.FunctionalTests/Tools/GitHelpers.cs
5,252
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CommandTest.UserCommand.Service { /// <summary> /// Interface defining a command session context. /// </summary> public interface IUserCommandContext { #region Prop...
25.770642
79
0.559274
[ "MIT" ]
mastertnt/XRay
XCommand.TestApp/UserCommand/Service/IUserCommandContext.cs
2,811
C#
using System; using System.ComponentModel; using EfsTools.Attributes; namespace EfsTools.Items.Efs { [Serializable] [EfsFile("/nv/item_files/ims/qipcall_1xsmsandvoice", true, 0xE1FF)] [Attributes(9)] public class QipCall1xSmsAndVoice { [ElementsCount(1)] [ElementType("ui...
23.764706
72
0.626238
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Efs/QipCall1xSmsAndVoice.cs
404
C#
using System; using System.Diagnostics; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Orleans; using Orleans.Runtime; using Orleans.TestingHost.Utils; using TestExtensions; using UnitTests.GrainInterfaces; using Xunit; namespace DefaultCluster.Tests.General { /// <summary> /// Summary...
42.098551
167
0.629923
[ "MIT" ]
Cloud33/orleans
test/DefaultCluster.Tests/ObserverTests.cs
14,524
C#
using System; using System.Collections.Generic; using System.Text; namespace AuthorProblem { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)] public class AuthorAttribute : Attribute { public AuthorAttribute(string name) { Name = name; ...
22.176471
92
0.655172
[ "MIT" ]
IvanIvTodorov/SoftUniEducation
C#OOP/Reflection/ReflectionAndAttributes-Lab/AuthorProblem/AuthorAttribute.cs
379
C#
using System; using AppKit; using Foundation; namespace Author.macOS { [Register("AppDelegate")] public class AppDelegate : Xamarin.Forms.Platform.MacOS.FormsApplicationDelegate { private bool FinishedInitializing; private Uri StartupUri; private readonly NSWindow window; ...
31.822785
84
0.520684
[ "Apache-2.0", "BSD-3-Clause" ]
danielga/Author
Author.macOS/AppDelegate.cs
2,516
C#
using System; namespace Kunicardus.Touch.Helpers.UI { public static class Styles { public static readonly nfloat RegistrationFormSubHeadingTop = 100f; // - 64f; public static class Colors { public static readonly string HeaderGreen = "#8dbd3b"; public static readonly string LoginScreenBackGroundGreen =...
26.5
77
0.7303
[ "MIT" ]
nininea2/unicard_app_base
Kunicardus.Touch/Helpers/UI/Styles.cs
903
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Element { public enum ElementType { EMPTY, FIRE, WATER, ICE, GRASS, DARK, HOLY } public static class ElementTypeToInt { public ...
21.901961
71
0.402865
[ "MIT" ]
HongCFull/Comp4971C
Assets/Scripts/Gameplay/Combat/Element/ElementType.cs
1,117
C#
using NetOffice.Attributes; using System; using System.ComponentModel; using NetRuntimeSystem = System; namespace NetOffice.WordApi { /// <summary> /// DispatchInterface Browser /// SupportByVersion Word, 9,10,11,12,14,15,16 /// </summary> /// <remarks> MSDN Online: http://msdn.microsoft.com/en-u...
35.447761
173
0.590456
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
ehsan2022002/VirastarE
Office/Word/DispatchInterfaces/Browser.cs
7,127
C#
using MTT; using System; using System.Collections.Generic; using System.IO; using Microsoft.Build.Framework; using MSBuildTask = Microsoft.Build.Utilities.Task; using System.Text.RegularExpressions; namespace MSBuildTasks { public class ConvertMain : MSBuildTask { /// <summary> /// The current ...
30.25
130
0.639542
[ "MIT" ]
BlueBasher/MTT
Source/MTT/ConvertMain.cs
1,573
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProjectDiary { public class DiarySearchData { public DateTime BeginDate { get; set; } public DateTime EndDate { get; set; } public string DayOfWeek { get; set; ...
22
47
0.668449
[ "MIT" ]
jkwchunjae/HelloJkwCore
HelloJkwCore/ProjectDiary/Search/DiarySearchData.cs
376
C#
using System; using System.Collections.Generic; using System.Text; namespace Naruto.WebSocket.Object.Enums { /// <summary> /// 张海波 /// 2020-04-05 /// 消息的发送类型 /// </summary> public enum MessageSendTypeEnum { /// <summary> /// 指定连接 /// </summary> Current, ...
16.98
41
0.421673
[ "MIT" ]
zhanghaiboshiwo/Naruto.WebSocket
src/Naruto.WebSocket/Object/Enums/MessageSendTypeEnum.cs
943
C#
// Copyright (c) 2021 homuler // // Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. using System; using System.Collections.Generic; namespace Mediapipe { public class LandmarkListVectorPacket : Packet<List<LandmarkLis...
27.44186
106
0.707627
[ "Apache-2.0" ]
SeedV/SeedAvatarStudio
Packages/com.github.homuler.mediapipe/Runtime/Scripts/Framework/Packet/LandmarkListVectorPacket.cs
1,180
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.Windows.Navigati...
24.393939
52
0.662112
[ "MIT" ]
collab-uniba/SocialCDE-proxy-server
SocialCDE_v0.23/It.Uniba.Di.Cdg.SocialTfs.Client/Popups/UILoading.xaml.cs
807
C#
using System; using System.Globalization; using System.Text; using System.Text.RegularExpressions; using Newtonsoft.Json; namespace Kore.Web { public static class StringExtensions { public static T JsonDeserialize<T>(this string json) { if (string.IsNullOrWhiteSpace(jso...
33.572816
99
0.433488
[ "MIT" ]
artinite21/KoreCMS
Kore.Web/Core/StringExtensions.cs
3,460
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.Runtime.InteropServices; namespace Microsoft.Diagnostics.Tools.RuntimeClient { /// <summary> ...
28.076923
82
0.647945
[ "Apache-2.0" ]
Bhekinkosi12/Benchmarks
src/BenchmarksServer/Microsoft.Diagnostics.Tools.RuntimeClient/Eventing/MessageHeader.cs
732
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; public struct NetStatInfo { public DateTime Timestamp; public ulong MessageLength; } public static class NetStatTracker { public static List<NetStatInfo> MessagesReceived = new List<NetStatInfo>...
32.22807
148
0.667392
[ "MIT" ]
BladeBreaker/circles-and-squares
Assets/Scripts/NetStats.cs
3,674
C#
 namespace HealthSdkPrototype { internal static partial class AppSettingsExtensionsArgs { private enum State { ExpectOption, GetClientSecret, } public static AppSettings FromArgs(this AppSettings result, string[] args) { var state = S...
30.14
83
0.323822
[ "MIT" ]
jim-dale/MicrosoftBand
src/DownloadData/Utility/AppSettingsExtensions_FromArgs.cs
1,509
C#
using Furiza.Base.Core.Exceptions; using System; using System.Runtime.Serialization; namespace Cemig.Gecipa.CoreBusiness.Domain.Exceptions { [Serializable] public class NomeNaoPodeSerNuloException : CoreException { public override string Key => "NomeNaoPodeSerNulo"; public override string ...
28.47619
117
0.69398
[ "MIT" ]
tonihenriques/cemig-gecipa
src/Cemig.Gecipa.CoreBusiness.Domain/Exceptions/NomeNaoPodeSerNuloException.cs
601
C#
using myFunctions; using System; using System.Collections.Generic; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using GContacts; using System.Xml.Linq; namespace Katalog { #region Enum Defines [Flags] public enum ...
41.512582
406
0.502222
[ "MIT" ]
fialot/Catalog
global.cs
169,913
C#
using System; using System.IO; using System.Windows; using System.Windows.Input; using System.Windows.Media; using System.Windows.Controls; using SharpVectors.Renderers.Wpf; using SharpVectors.Converters; namespace WpfTestSvgSample { /// <summary> /// Interaction logic for DrawingPage.xaml ...
30.135881
111
0.487389
[ "BSD-3-Clause" ]
johncao158/SharpVectors
Samples/WpfTestSvgSample/DrawingPage.xaml.cs
14,196
C#
using System; using System.Collections.Generic; namespace Codestellation.Statsd.Builder { internal static class UriParseExtensions { public const string Background = "background"; public const string IgnoreExceptions = "ignore_exceptions"; public const string Prefix = "prefix"; ...
37.142857
137
0.565385
[ "MIT" ]
Codestellation/statsd
src/Statsd/Builder/UriParseExtensions.cs
2,602
C#
using DGP.Genshin.DataModel.Promotion; namespace DGP.Genshin.Service.Abstraction { public interface IMaterialListService { MaterialList Load(); void Save(MaterialList? materialList); } }
19.727273
46
0.705069
[ "MIT" ]
CzHUV/Snap.Genshin
DGP.Genshin/Service/Abstraction/IMaterialListService.cs
219
C#
using System; using System.Collections; using System.Collections.Generic; namespace SharpCircuit { public class SwitchSPDT : SwitchSPST { public Circuit.Lead leadC { get { return lead1; } } public SwitchSPDT() : base() { posCount = 3; } public override int getLeadCount() { return posCount; } p...
22.272727
80
0.663265
[ "MIT" ]
741645596/Lab
Assets/Scripts/CircuitCom/Engine/elements/SwitchSPDT.cs
982
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace DogsIRL.Models { public class DeviceInstallation { [JsonProperty("installationId")] public string InstallationId { get; set; } [JsonProperty("platform")] public string Platform ...
23.043478
68
0.633962
[ "MIT" ]
401FinalProjectOrg/DogsIRL
DogsIRL/DogsIRL/Models/DeviceInstallation.cs
532
C#