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; using System.Collections.Generic; using System.Runtime.Serialization; namespace Cisco.DnaCenter.Api.Data { /// <summary> /// VlanListResult /// </summary> [DataContract] public class VlanListResult { /// <summary> /// Initializes a new instance of the <see cref="VlanListResult" /> class. ...
26.980392
100
0.663517
[ "MIT" ]
panoramicdata/Cisco.DnaCenter.Api
Cisco.DnaCenter.Api/Data/VlanListResult.cs
1,376
C#
using DDaikore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace DDaikontin { public class InputMappings { public readonly int enterKey; public readonly int upArrowKey; public reado...
32
89
0.635216
[ "MIT" ]
ChaseMelvin/DDaikore
DDaikontin/InputMappings.cs
1,666
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.Goog...
28.128205
102
0.639927
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/Spanner/V1/Outputs/RestoreInfoResponse.cs
1,097
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.Collections.Generic; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; using System.Text; namespace Iot.Device.Ft4222 { ...
34.908397
122
0.520227
[ "MIT" ]
DazFahy/iot
src/devices/Ft4222/FtCommon.cs
4,575
C#
using Sanakan.DAL.Models; using Sanakan.Game.Extensions; namespace Sanakan.Game.Models { public enum FightWinner : byte { Card1 = 0, Card2 = 1, Draw = 2, } public static class FightWinnerExtensions { public static FightWinner GetFightWinner(Card card1, Card card2) ...
24.3
72
0.532922
[ "MPL-2.0" ]
Jozpod/sanakan
Game/Models/FightWinner.cs
974
C#
using System; using System.Collections.Generic; namespace AspNetCoreOData.Service.Database { public partial class AddressType { public AddressType() { BusinessEntityAddress = new HashSet<BusinessEntityAddress>(); } public int AddressTypeId { get; set; }...
26.952381
94
0.625442
[ "MIT" ]
CloudBloq/AspNetCoreOData
AspNetCoreOData.Client/Database/AddressType.cs
568
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Immutable; using Bicep.Core.Parser; using Bicep.Core.SemanticModel; using Bicep.Core.Syntax; namespace Bicep.LanguageServer.CompilationManager { public class CompilationContext { public CompilationContex...
28.166667
102
0.736686
[ "MIT" ]
bhummerstone/bicep
src/Bicep.LangServer/CompilationManager/CompilationContext.cs
676
C#
 namespace SeeSharper.Northwind.Scripts { using Serenity.ComponentModel; using Serenity.Data; using Serenity.Web; [LookupScript("Northwind.SupplierCountry")] public class SupplierCountryLookup : RowLookupScript<Entities.SupplierRow> { public SupplierCountryLookup() { ...
26.433333
78
0.576293
[ "MIT" ]
kingajay007/SeeSharper-Master
SeeSharper.Web/Modules/Northwind/Supplier/SupplierCountryLookup.cs
795
C#
namespace Alibi.Plugins.API { /// <summary> /// Represents the protocol state of a client. /// </summary> public enum ClientState { /// <summary> /// Brand new client: Has not sent any packets yet /// </summary> NewClient, /// <summary> /// Has sent t...
29.44
89
0.547554
[ "MIT" ]
ElijahZAwesome/AO2Sharp
Alibi.Plugins.API/ClientState.cs
738
C#
using System; using System.Collections.Generic; namespace hb.SbsdbServer.Model.Entities { public partial class Hwkonfig { public Hwkonfig() { Aussond = new HashSet<Aussond>(); Hw = new HashSet<Hw>(); } public long Id { get; set; } public string ...
28.413793
65
0.572816
[ "MIT" ]
hb42/sbsdb-server
SbsdbServer/Model/Entities/Hwkonfig.cs
826
C#
using System.Net.Http; using System.Reflection; using System.Threading.Tasks; using Common; using Common.Exception; using Common.Messages; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; u...
44.512931
225
0.663165
[ "MIT" ]
awaisali88/WebApi-Server
WebAPI-Server/Controllers/v1/AccountController.cs
20,656
C#
using System; using UnityEngine; namespace UnityEditor.MeshSync { /// <summary> /// Basic information about DCCTool /// </summary> [Serializable] public class DCCToolInfo { internal DCCToolInfo(DCCToolType type, string dccToolVersion) { Type = type; DCCToolVersion = dccToolVersion; } in...
24.026667
124
0.456715
[ "Apache-2.0" ]
artigee/MeshSync
Editor/Scripts/ProjectSettings/Data/DCCToolInfo.cs
1,804
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
35.637363
463
0.703361
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/MsCorlib/System.StringComparer.cs
3,243
C#
 using it.example.dotnetcore5.dal.ef.sqlite.EfModels; using System; using System.Collections.Generic; using System.Linq; using ModelPost = it.example.dotnetcore5.domain.Models.Post; namespace it.example.dotnetcore5.dal.ef.sqlite.Factories { /// <summary> /// Convert Post model domain into a Post Ef entity ...
27.702381
80
0.462828
[ "MIT" ]
Magicianred/dotnet-core5-webapi-example
it.example.dotnetcore5/it.example.dotnetcore5.dal.ef.sqlite/Factories/PostFactory.cs
2,329
C#
#region Copyright and license information // Copyright 2001-2009 Stephen Colebourne // Copyright 2009-2011 Jon Skeet // // 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 // // h...
33.507937
115
0.570109
[ "Apache-2.0" ]
haf/NodaTime
src/NodaTime.Testing/StubClock.cs
4,224
C#
using Chloe.Infrastructure; using Chloe.SqlServer; using Database; using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ChloeDemo { public static class RegisterMapping...
28.571618
211
0.502994
[ "MIT" ]
1059444127/QueueSystem
Chloe-master/src/DotNet/ChloeDemo/RegisterMappingTypeDemo.cs
22,141
C#
using Kingmaker.Blueprints.Items.Ecnchantments; using Kingmaker.PubSubSystem; using Kingmaker.RuleSystem.Rules; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DarkCodex.Components { public class ModifyWeaponSize : WeaponEnchantmentLogi...
28.517241
198
0.719468
[ "MIT" ]
TheGreatFox1/DarkCodex
DarkCodex/Components/ModifyWeaponSize.cs
829
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using NLog; using NLog.Web; namespace Dukkantek.API { public class Program { public static void Main(string[] args) { var logger = LogManager.Setup() ...
31.04
127
0.511598
[ "MIT" ]
AladienSaleh/Dukkantek
Dukkantek.API/Program.cs
1,552
C#
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Domain { /// <summary> /// AlipayEbppIndustryGovHealthcodeQueryModel Data Structure. /// </summary> public class AlipayEbppIndustryGovHealthcodeQueryModel : AlipayObject { /// <summary> /// json格式的业务相关信息, 因健康码...
27.827586
73
0.60223
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Domain/AlipayEbppIndustryGovHealthcodeQueryModel.cs
933
C#
using AutoMapper; using Landmarks.Common.Models.Admin.BindingModels; using Landmarks.Interfaces.Admin; using Landmarks.Web.Common.Constants; using Landmarks.Web.Common.Extensions; using Landmarks.Web.Common.Messages; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mv...
30.383333
105
0.629731
[ "MIT" ]
stefkavasileva/Project
Landmarks/Landmarks.Web/Areas/Admin/Pages/Region/Edit.cshtml.cs
1,823
C#
using UnityEngine; using Knockback.Utility; using UnityStandardAssets.CrossPlatformInput; namespace Knockback.Helpers { /// <summary> /// This class handles all the inputs from the user /// </summary> [System.Serializable] public class KB_InputSettings { //** --ATTRIBUTES-- //*...
31.940594
147
0.601364
[ "MIT" ]
HemanthRj96/Repos-Knockback_version_3
Knockback/Assets/Internal/Scripts/Helpers/KB_InputSettings.cs
3,228
C#
using System; using System.Collections.Generic; using System.Linq; using KERBALISM; namespace KerbalismFFT { class FFTRadioactiveEngine : PartModule { [KSPField(isPersistant = true)] public bool FirstLoad = true; [KSPField(isPersistant = true)] public string engineID1; [KSPField(isPersistant = true...
31.072398
293
0.678025
[ "Unlicense", "MIT" ]
judicator/KerbalismFFT
src/Modules/RadioactiveEngine.cs
6,869
C#
namespace BinanceExchange.API.Models.Response.Error { /// <summary> /// This exception is used when malformed requests are sent to the server. Please review the request object /// </summary> public class BinanceBadRequestException : BinanceException { public BinanceBadRequestException(BinanceEr...
43.727273
184
0.719335
[ "MIT" ]
1Konto/BinanceDotNet
BinanceExchange.API/Models/Response/Error/BinanceBadRequestException.cs
483
C#
namespace Zsharp.Elysium.Tests { using System; using System.Buffers; using System.Buffers.Binary; static class SerializationTesting { public static ArrayBufferWriter<byte> CreateWriter(int id, int version) { var writer = new ArrayBufferWriter<byte>(); Binary...
29.484848
96
0.642343
[ "MIT" ]
firoorg/zsharp
src/Zsharp.Elysium.Tests/SerializationTesting.cs
973
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Threading.Tasks; using Microsoft.Coyote.Specifications; using Xunit; using Xunit.Abstractions; namespace Microsoft.Coyote.SystematicTesting.Tests.Tasks { public class TaskRunConfigureAwaitTrueTests : BaseSystematicTest { ...
34.045564
86
0.47348
[ "MIT" ]
arunt1204/coyote
Tests/Tests.SystematicTesting/Tasks/ConfigureAwait/TaskRunConfigureAwaitTrueTests.cs
14,199
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...
36.723404
147
0.662804
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/NetworkManager/Generated/Model/Internal/MarshallTransformations/DisassociateLinkRequestMarshaller.cs
3,452
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 GameManagerUi.Models; namespace GameManagerUi.Pages.Players { public class IndexModel : PageModel ...
23.965517
69
0.692086
[ "Apache-2.0" ]
Hex-Zero/GaMa
GameManagerUi/Pages/Players/Index.cshtml.cs
697
C#
using System; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// DashboardParam Data Structure. /// </summary> [Serializable] public class DashboardParam : AlipayObject { /// <summary> /// 仪表盘中的字段列名称 /// </summary> [J...
24.516129
109
0.546053
[ "MIT" ]
gebiWangshushu/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/DashboardParam.cs
856
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Configuration; using Microsoft.Azure.Documents.Client; using Microsoft.Azure.Documents.Linq; using Newtonsoft.Json; using Microsoft.Azure.Documents; using UrlNotes.Models; using Microsoft.Extensions.Configurat...
54.725191
274
0.605663
[ "Apache-2.0" ]
AzureAdvocateBit/AzureSample-UrlNotes-1
DocumentDBRepository.cs
14,340
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace FinalPoint.Data.Migrations { public partial class UserProtocolsNavigationalPropertyfix : Migration { protected override void Up(MigrationBuilder migrationBuilder) { } protected override void Down(MigrationBuilder migra...
20.111111
73
0.69337
[ "MIT" ]
nikolaynikolaev013/FinalPoint
Data/FinalPoint.Data/Migrations/20210605105249_UserProtocolsNavigationalPropertyfix.cs
364
C#
using System; using System.Linq.Expressions; using LinqToDB.SqlQuery; namespace LinqToDB.Linq.Builder { using SqlProvider; class ContextParser : ISequenceBuilder { public int BuildCounter { get; set; } public bool CanBuild(ExpressionBuilder builder, BuildInfo buildInfo) { var call = buildI...
27.862069
115
0.717203
[ "MIT" ]
Arithmomaniac/linq2db
Source/LinqToDB/Linq/Builder/ContextParser.cs
1,618
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.Diagnostics.Runtime; using Shared; namespace Lab3 { class Program { static void Main(string[] args) { // args[0] is supposed to be the dump filename if (args.Length != 1...
36.437209
130
0.436048
[ "MIT" ]
chrisnas/EffectiveDebugging
Labs/ClrMD/Labs-Completed/Lab3 - List Timers/Solution/Lab3/Program.cs
7,836
C#
using OfficeDevPnP.Core.Framework.Provisioning.Model; using OfficeDevPnP.Core.Utilities; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml; using System.Xml.Linq; using System.Xml.Schema; using System.Xml.Serialization; using OfficeDevPnP.Core.Framework.Provisioning.P...
49.990418
273
0.495365
[ "MIT" ]
danielabbuildingi/PnP-Sites-Core
Core/OfficeDevPnP.Core/Framework/Provisioning/Providers/Xml/XMLPnPSchemaV201605Formatter.cs
130,427
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Linq; using Spectre.Console.Rendering; namespace Spectre.Console.Cli { [Description("Displays diagnostics about CLI configurations")] [SuppressMessage("Performance", "CA1812: Avoid ...
38.595588
158
0.537721
[ "MIT" ]
gordonkratz/spectre.console
src/Spectre.Console/Cli/Internal/Commands/ExplainCommand.cs
10,500
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace AvatarSnow { public class UIManager : MonoBehaviour { [SerializeField] private EffectManager effectManager; public void TappedEffectButton(int index) {...
22.578947
90
0.689977
[ "MIT" ]
YoHana19/AvatarSnow
Assets/Scripts/UIManager.cs
431
C#
using System; using System.Collections.Generic; using System.Text; namespace Entities.Models { public class ChartDto { public string Label { get; set; } public int Value { get; set; } } }
16.769231
41
0.642202
[ "MIT" ]
CodeMazeBlog/blazor-wasm-signalr-charts
End/BlazorProducts.Server/Entities/Models/ChartDto.cs
220
C#
using System; using System.Drawing; namespace BaSta.Game { public class Game { private int _id = -1; private int _gamekind_id = -1; private DateTime _date_time = DateTime.Now; private int _period = 1; private int _home_team_id = -1; private string _home_team_nam...
19.144737
55
0.350172
[ "MIT" ]
christianduerselen/BaSta
src/BaSta.Game/Game.cs
2,912
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using GW2EIParser.EIData; using GW2EIParser.Parser; using GW2EIParser.Parser.ParsedData; using Newtonsoft.Json.Serialization; using static GW2EIParser.Parser.ParseEnum.TrashIDS; namespace GW2EIP...
48.879484
107
0.52831
[ "MIT" ]
Flomix/GW2-Elite-Insights-Parser
GW2EIParser/GeneralHelper.cs
34,071
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.IO; using System.Threading.Tasks; namespace Microsoft.DotNet.Interactive.Extensions { public interface IExtensibleKernel ...
31.333333
101
0.742553
[ "MIT" ]
AngelusGi/interactive
src/Microsoft.DotNet.Interactive/Extensions/IExtensibleKernel.cs
472
C#
using System; using Vlc.DotNet.Core.Interops.Signatures; namespace Vlc.DotNet.Core.Interops { public sealed partial class VlcManager { public MediaStates GetMediaState(VlcMediaInstance mediaInstance) { if (mediaInstance == IntPtr.Zero) throw new ArgumentException("M...
29.3125
93
0.682303
[ "MIT" ]
HumJ0218/Vlc.DotNet
src/Vlc.DotNet.Core.Interops/VlcManager.GetMediaState.cs
471
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace PersonalBlog.Migrations { public partial class InitialCreate : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "CategoryModel", ...
34.46
76
0.502612
[ "MIT" ]
thuydotp/personal-blog
PersonalBlog/Migrations/20180715153131_InitialCreate.cs
1,725
C#
// <auto-generated /> using System; using Car.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace Car....
37.251082
108
0.458571
[ "MIT" ]
buibup/Car
Car.Data/Migrations/20190408095905_add_CreatedDate.Designer.cs
17,212
C#
using Entidades.Entidades; using System.Collections.Generic; namespace Entidades.Dto { public class ItemAchadoDto : ItemDto { public bool Devolvido { get; set; } public List<long> ItensPerdidoMatchId { get; set; } } }
20.666667
59
0.677419
[ "MIT" ]
lgmagalhaes88/Achei
backend/Entidades/Dto/ItemAchadoDto.cs
250
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 ...
16.625899
63
0.615751
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-cms/Cms/Model/V20180308/ProfileGetResponse.cs
2,311
C#
// This file isn't generated, but this comment is necessary to exclude it from StyleCop analysis. // <auto-generated/> /* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ usi...
21.592593
97
0.578902
[ "MIT" ]
Arithmomaniac/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/src/OSS/Antlr/Dfa/IEdgeMap.cs
1,166
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Snippy.Services; namespace Snippy.Models { public class Manifest { public const string FileName = "manifest.yaml"; public static Manifest Load(string workspaceDirectory) { var seriali...
31.565217
151
0.608815
[ "MIT" ]
refactorsaurusrex/snippy
src/Snippy/Models/Manifest.cs
1,454
C#
// ***************************************************************************** // // © Component Factory Pty Ltd 2017. All rights reserved. // The software and associated documentation supplied hereunder are the // proprietary information of Component Factory Pty Ltd, 13 Swallows Close, // Mornington, Vic 3931...
36.881188
98
0.57396
[ "BSD-3-Clause" ]
ALMMa/Krypton
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/View Draw/ViewDrawMenuColorColumn.cs
3,728
C#
// WARNING // // This file has been generated automatically by Xamarin Studio from the outlets and // actions declared in your storyboard file. // Manual changes to this file will not be maintained. // using Foundation; using System; using System.CodeDom.Compiler; using UIKit; namespace ManualCameraControls { [Regist...
21.222222
84
0.661431
[ "MIT" ]
Art-Lav/ios-samples
ManualCameraControls/ManualCameraControls/BracketedViewController.designer.cs
1,146
C#
using System; using System.Collections.Generic; using System.Text; namespace Confluent.Kafka.Examples.SimpleConsumer { public class LocationCheckinData { public Guid Id { get; set; } public MemberData Member { get; set; } public LocationData Location { get; set; } public DateTi...
27.956522
103
0.5521
[ "Apache-2.0" ]
sstaton/daxko-kafka-etl
examples/SimpleConsumer/LocationCheckinData.cs
1,288
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\ksmedia.h(1166,9) using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct KSDS3D_LISTENER_ORIENTATION { public _DS3DVECTOR Front; public _DS3DVECTOR Top; ...
24.923077
88
0.719136
[ "MIT" ]
bbday/DirectN
DirectN/DirectN/Generated/KSDS3D_LISTENER_ORIENTATION.cs
326
C#
// <auto-generated /> using System; using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; using Repositories.Database; namespace Repos...
34.124378
120
0.46377
[ "MIT" ]
Elevator-CI/elevator-api
Repositories/Migrations/DatabaseContextModelSnapshot.cs
6,861
C#
namespace MeetingSystem { partial class FileChooseForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
54.570776
157
0.646306
[ "MIT" ]
peteryu54089/android-meeting
MeetingServer/MeetingSystem/File/FileChooseForm.Designer.cs
11,973
C#
using System; using System.Linq; using System.Net.Http; using System.Security.Cryptography.X509Certificates; using System.Threading; using System.Threading.Tasks; using NUnit.Framework; namespace Fhi.HelseId.Altinn.Tests { [Ignore("Requires setup")] public class AltinnServiceOwnerClientTests { // ...
38.551724
118
0.64347
[ "MIT" ]
folkehelseinstituttet/fhi.helseid
Fhi.HelseId.Altinn.Tests/AltinnServiceOwnerClientTests.cs
5,592
C#
using System; using Grasshopper.Kernel; using Grasshopper.Kernel.Parameters; namespace RhinoInside.Revit.GH.Components.Categories { public class CategoryObjectStyle : TransactionalChainComponent { public override Guid ComponentGuid => new Guid("CA3C1CF9-BF5D-4B20-ADCE-3307943A1A51"); public CategoryObject...
46.819549
147
0.707564
[ "MIT" ]
ishanshah4343/rhino.inside-revit
src/RhinoInside.Revit.GH/Components/Category/ObjectStyle.cs
6,227
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.Tracing; using System.Linq; using System.Net.Http.Headers; u...
49.413444
227
0.562548
[ "MIT" ]
333fred/runtime
src/libraries/System.Net.Http/tests/FunctionalTests/DiagnosticsTests.cs
53,663
C#
using NUnit.Framework; using System.IO; namespace FftSharp.Tests { internal class Readme { public static string OUTPUT_FOLDER = Path.GetFullPath(Path.Combine(TestContext.CurrentContext.TestDirectory, "../../../../../dev/quickstart/")); [Test] public void Test_Readme_Quickstart() ...
32.590909
152
0.557183
[ "MIT" ]
swharden/FftSharp
src/FftSharp.Tests/Readme.cs
2,871
C#
using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace OpenLaMulana.Entities { public class RectangleSprite { static Texture2D _pointTexture; public static void DrawRectangle(SpriteBatch spriteBatch, Rectangle rectangle, Color color, int lineWidth) ...
44.178571
148
0.656427
[ "MIT" ]
mysterypaint/OpenLaMulana
Graphics/RectangleSprite.cs
1,239
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Adeotek.DevToolbox.Models { public class AppTask { public Guid Guid { get; set; } public string Name { get; set; } public string Type { get; set; } public bool IsActive { get; set; } public...
30.178571
118
0.6
[ "MIT" ]
adeotek/dev-toolbox
src/Models/AppTask.cs
847
C#
using System; using System.Collections.Generic; using System.Text; namespace SageOne.Entities { public class AccountOpeningBalance : Entity<AccountOpeningBalance> { } }
18.2
70
0.758242
[ "MIT" ]
gvanderberg/sageone-dotnet
src/SageOne/Entities/AccountOpeningBalance.cs
184
C#
using Newtonsoft.Json; namespace SimilarWeb.Api.Connector.Models.Other { /// <summary> /// Базовый класс запроса из метаданных. /// </summary> public abstract class BaseRequest { #region Свойства [JsonProperty("domain")] public string Domain { get; set; } [JsonPro...
19.428571
47
0.595588
[ "MIT" ]
wm-russia-software/SimilarWeb.Api.Connector
SimilarWeb.Api.Connector/SimilarWeb.Api.Connector/Models/Other/BaseRequest.cs
449
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using WMPLib; namespace ARApp1 { public partial class VideoForm : Form { public string VideoLink { get; set; } ...
25.323529
80
0.656214
[ "Apache-2.0" ]
sankarvema/AIM
archieve/AppMain/ARApp1/VideoForm.cs
863
C#
namespace _05.ExtractAllSongsWithXmlReader { using System; using System.Collections.Generic; using System.Linq; using System.Xml; /// <summary> /// Write a program, which using XmlReader extracts all song titles from catalog.xml /// </summary> public class Program { public ...
26.314286
102
0.479913
[ "Apache-2.0" ]
iliantrifonov/TelerikAcademy
Databases/14.XmlProcessingIn.NET/05.ExtractAllSongsWithXmlReader/Program.cs
923
C#
namespace Sport.Domain.Enums.Tournament { public enum TournamentType { Charity = 1, PrizeMoney = 2 } }
14.666667
40
0.590909
[ "MIT" ]
TodorNikolov89/Sport
Sport/Sport.Domain/Enums/Tournament/TournamentType.cs
134
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Xml; using System.Xml.Serialization; namespace JetBrains.TeamCity.NuGet.Tests { public class NuGetRunner_ListPackagesCommandTestBase { [XmlRoot("nuget-packages")] public class Nu...
30.925234
112
0.593835
[ "ECL-2.0", "Apache-2.0", "BSD-3-Clause" ]
JetBrains/teamcity-nuget-support
nuget-extensions/nuget-tests/src/NuGetRunner_ListPackagesCommandTestBase.cs
3,309
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("Wa...
38.459459
84
0.748419
[ "Unlicense" ]
DEFRA/license-and-permitting-dynamics
Crm/WastePermits/Defra.Lp.WastePermits/UIAutomation/Properties/AssemblyInfo.cs
1,426
C#
using Ef5TipsTricks.DataAccess.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Ef5TipsTricks.DataAccess.Configurations { public class PersonConfiguration : IEntityTypeConfiguration<Person> { public void Configure(EntityTypeBuilder<Person>...
32.75
77
0.682443
[ "MIT" ]
marcominerva/EntityFrameworkCoreTipsTricks
Ef5TipsTricks/DataAccess/Configurations/PersonConfiguration.cs
657
C#
/* * _____ ______ * /_ / ____ ____ ____ _________ / __/ /_ * / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/ * / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_ * /____/\____/_/ /_/\__ /____/\____/_/ \__/ * /____/ * * Authors: * 钟峰(Popeye Zhong) <95558...
30.789474
115
0.682621
[ "Apache-2.0" ]
Zongsoft/Zongsoft.Community
src/api/Http/Controllers/MessageController.cs
1,777
C#
// <auto-generated/> #pragma warning disable 1591 namespace Test { #line hidden using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase ...
34.162162
200
0.701741
[ "Apache-2.0" ]
0xced/AspNetCore
src/Components/test/Microsoft.AspNetCore.Components.Build.Test/TestFiles/RuntimeCodeGenerationTest/ChildComponent_GenericWeaklyTypedAttribute_TypeInference/TestComponent.codegen.cs
1,264
C#
using System; using System.Reflection; namespace HelloCoreClrApp { public static class NetCoreHelper { public static string GetNetCoreVersion() { var assembly = typeof(System.Runtime.Versioning.FrameworkName).GetTypeInfo().Assembly; var assemblyPath = assembly.Location....
32.95
115
0.644917
[ "MIT" ]
jp7677/hellocoreclr
src/HelloCoreClrApp/NetCoreHelper.cs
661
C#
using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace EncompassRest.Loans { /// <summary> /// ElliUCDDetail /// </summary> public sealed partial class ElliUCDDetail : DirtyExtensibleObject, IIdentifiable { private DirtyDictionary<string, string?>? _cDFields; ...
32.423077
127
0.638197
[ "MIT" ]
EncompassRest/EncompassREST
src/EncompassRest/Loans/ElliUCDDetail.cs
843
C#
namespace RelaxAndSport.Application.Identity { public interface IUser { string Id { get; set; } } }
15.125
45
0.619835
[ "MIT" ]
kriskok95/RelaxAndSport
src/Server/RelaxAndSport.Application/Identity/IUser.cs
123
C#
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.4 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
33.483146
108
0.687562
[ "Apache-2.0" ]
0u812/roadrunner
third_party/libSBML-5.9.0-Source/src/bindings/csharp/csharp-files/Unit.cs
44,700
C#
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; namespace IoTSharp.Data { public static class IoTSharpClaimTypes { public const string Customer = "ht...
25.578947
114
0.642433
[ "MIT" ]
NanoFabricFX/IoTSharp
IoTSharp.Data/Enums.cs
4,376
C#
#region License // Copyright 2004-2010 Castle Project - http://www.castleproject.org/ // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/L...
30.882353
89
0.687143
[ "Apache-2.0" ]
ByteDecoder/Castle.Facilities.NHibernateIntegration
src/Castle.Facilities.NHibernateIntegration/Util/ReflectionUtility.cs
2,102
C#
using Buildersoft.Andy.X.Data.Model; using System; using System.Collections.Generic; using System.Text; namespace Buildersoft.Andy.X.Logic.Interfaces.Components { public interface IComponentLogic { Component CreateComponent(string name); Component GetComponent(string name); List<Compon...
23.533333
56
0.733711
[ "Apache-2.0" ]
buildersoftdev/andyx
src/Buildersoft.Andy.X.Logic/Repositories/Interfaces/Components/IComponentLogic.cs
355
C#
#nullable enable using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Maui.Animations; using Microsoft.Maui.Graphics; namespace Microsoft.Maui.Controls { /// <include file="../../docs/Microsoft.Maui.Controls/ViewExtensions.xml" p...
34.548387
146
0.695017
[ "MIT" ]
AlexanderSemenyak/maui
src/Controls/src/Core/ViewExtensions.cs
11,781
C#
using System.Net; using System.Threading; namespace Softfire.MonoGame.NTWK { public class NetPeerConfiguration { #region MTU /// <summary> /// Default MTU. /// </summary> public const int DefaultMtu = 1408; /// <summary> /// Maximum MTU. /// </...
30.53527
156
0.515559
[ "MIT" ]
Softfire/softfire-monogame-libraries
Softfire.MonoGame.NTWK/NetPeerConfiguration.cs
14,720
C#
using System; namespace NetTopologySuite.IO.VectorTiles.Tiles.WebMercator { public static class WebMercatorHandler { // https://gist.github.com/nagasudhirpulla/9b5a192ccaca3c5992e5d4af0d1e6dc4 private const int EarthRadius = 6378137; private const double OriginShift = 2 * Math....
39.711864
120
0.567222
[ "MIT" ]
FObermaier/NetTopologySuite.IO.VectorTiles
src/NetTopologySuite.IO.VectorTiles/Tiles/WebMercator/WebMercatorHandler.cs
2,343
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ApplicationModels; namespace ApplicationModelWebSite; public class ActionDescriptionAttribute : Attribute, IActionModelConvention { private read...
23.26087
75
0.734579
[ "MIT" ]
Aezura/aspnetcore
src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ActionDescriptionAttribute.cs
535
C#
#region License /* Authors: * Sebastien Lambla (seb@serialseb.com) * Copyright: * (C) 2007-2009 Caffeine IT & naughtyProd Ltd (http://www.caffeine-it.com) * License: * This file is distributed under the terms of the MIT License found at the end of this file. */ #endregion // Copyright (c)...
34.473118
120
0.61884
[ "MIT" ]
openrasta/openrasta-core
src/OpenRasta/Reflection/ScopedDictionary.cs
3,208
C#
namespace ConventionTest_ { using FluentAssertions; using System; using TimeWarp.Blazor.Testing; public class LifecycleExamples { public static void AlwaysPass() => true.Should().BeTrue(); [Input(5, 3, 2)] [Input(8, 5, 3)] public static void Subtract(int aX, int aY, int aExpectedDifference)...
25.166667
72
0.665563
[ "Unlicense" ]
TimeWarpEngineering/timewarp-templates
Source/TimeWarp.Blazor.Template/templates/TimeWarp.Blazor/Tests/TimeWarp.Blazor.Testing/ConventionTests/LifecycleExamples.cs
606
C#
// // Copyright (C) 2012-2014 DataStax 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 app...
36.9
86
0.724932
[ "Apache-2.0" ]
902Software/csharp-driver
src/Cassandra/CassandraEventHandler.cs
738
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
33.410256
88
0.706063
[ "Apache-2.0" ]
aricooperman/jLean
orig-src/Tests/Indicators/AbsolutePriceOscillatorTests.cs
1,305
C#
namespace CEvery.Migrations { using System; using System.Data.Entity.Migrations; public partial class added_fields1 : DbMigration { public override void Up() { } public override void Down() { } } }
16.470588
52
0.539286
[ "Apache-2.0" ]
bharathkumarms/subscriptionmanager
CEvery/Migrations/201410051424442_added_fields1.cs
280
C#
using ShakerGames.Base.Helpers.Animations; using TMPro; namespace ShakerGames.Base.Component { using UnityEngine; using UnityEngine.UI; using DG.Tweening; public class AnimationComponent : MonoBehaviour, IComponent { public delegate void AnimationComponentDelegate(); public event ...
32.235294
119
0.592153
[ "MIT" ]
ilkinmammadzada220/shaker-games-base-setup
Assets/GameAssets/Base/Components/Scripts/AnimationComponent.cs
2,192
C#
using System.Windows; using System.Windows.Input; using System.Windows.Interactivity; namespace Mystique.Views.Behaviors.Actions { public class InvokePassThruCommandAction : TriggerAction<DependencyObject> { public ICommand Command { get { return (ICommand)GetValue(CommandProperty...
32.555556
136
0.67463
[ "MIT" ]
fin-alice/Mystique
Mystique/Views/Behaviors/Actions/InvokePassThruCommandAction.cs
881
C#
using Coderingen.Pattern; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Coderingen { public class Helper { /// <summary> /// Hulpmethode om meerdere coderingen na elkaar uit te voeren op een gegeven component ...
29.705882
119
0.558416
[ "MIT" ]
LorenzoDeBie/SoftwareOntwikkelingII
Reeks07/FieldValidation/Coderingen/Helper.cs
1,517
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace entrepot_pharmacie { public class Entrepot { Caisse caisse; Article article; private static int idEntrepot = 1; public static int IdEntrepot { get { retu...
18.788732
55
0.471514
[ "MIT" ]
Arizona-dev/entrepot-pharmacie
Pharma-stock/Data/Entrepot.cs
1,336
C#
#region License /* Copyright (c) 2010-2020 dxFeed Solutions DE GmbH This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #endregion using System; using System.R...
26.575
108
0.630292
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
ttldtor/dxfeed-net-api
dxf_native/src/NativeDxException.cs
1,065
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("Se...
39.896552
127
0.752809
[ "MIT" ]
wgraham17/serialportnet
SerialPortNet.UWP/Properties/AssemblyInfo.cs
1,160
C#
using AutoMapper; using CiSeCase.Core.Interfaces.Manager; namespace CiSeCase.Infrastructure.Managers.Map { public class AutoMapperMapManager : IMapManager { private readonly IMapper _mapper; public AutoMapperMapManager(IMapper mapper) { _mapper = mapper; } p...
24.368421
70
0.650108
[ "MIT" ]
efqanZ/cs-case
src/CiSeCase.Infrastructure/Managers/Map/AutoMapperMapManager.cs
463
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
30.762712
130
0.544904
[ "MIT" ]
niklasise/squidex
src/Squidex.Domain.Apps.Core.Model/Schemas/AssetsFieldProperties.cs
1,818
C#
using System; namespace _07.SumSeconds { class Sum_Second { static void Main() { var firstTime = int.Parse(Console.ReadLine()); var secondTime = int.Parse(Console.ReadLine()); var thirdTime = int.Parse(Console.ReadLine()); int result...
22.631579
68
0.532558
[ "MIT" ]
adeto/Simple-Conditions
Sum_Second.cs
432
C#
namespace Vote.Model.DbEntity { public class WxAuthorization : EntityExtend { /// <summary> /// 微信OpenId /// </summary> public string ExOpenId { get; set; } /// <summary> /// 用户Id 可空 /// </summary> public string MemberId { get; set; } //...
21.3
47
0.478873
[ "Apache-2.0" ]
MichealFex/vote
src/model/Vote.Model/DbEntity/Members/WxAuthorization.cs
442
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Castle.DynamicProxy; using Orchard.DisplayManagement.Descriptors; using Orchard.DisplayManagement.Shapes; using Orchard.DisplayManagement.Theming; namespace Orchard.DisplayManagement.Implementation { public class Def...
32.618605
129
0.54841
[ "BSD-3-Clause" ]
CityOfAuburnAL/orchard2
src/Orchard.DisplayManagement/Implementation/DefaultShapeFactory.cs
7,015
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/ctffunc.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syste...
38.346154
145
0.649448
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/ctffunc/IEnumTfLatticeElementsTests.cs
1,996
C#
#region Copyright notice and license // Copyright 2019 The gRPC Authors // // 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...
33.810127
124
0.607638
[ "Apache-2.0" ]
ManickaP/grpc-dotnet
test/Grpc.AspNetCore.Server.Tests/Web/GrpcWebProtocolHelpersTests.cs
5,344
C#
using Microsoft.AspNetCore.Mvc.Testing; using Store; using Store.Contracts.V1; using Store.Contracts.V1.Responses; using System; using System.Collections; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Xunit; namespace storeIntegrationTests { public c...
24.16
80
0.721854
[ "MIT" ]
Remigiusz-Ruszkiewicz/Store-masterv3
storeIntegrationTests/ProductControllerTests.cs
604
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace addressbook_web_tests { class Figure { private bool colored = false; public bool Colored { get { return colored; ...
15.703704
37
0.488208
[ "Apache-2.0" ]
kamlia/csharp_training
addressbook-web-tests/addressbook-web-tests/Figure.cs
426
C#
namespace WebAPI.Migrations { using System; using System.Data.Entity.Migrations; public partial class AddBookPageCount : DbMigration { public override void Up() { AddColumn("public.Books", "PageCount", c => c.Int(nullable: false)); } public overr...
21.947368
80
0.553957
[ "MIT" ]
M1nified/SOA
Zadania6/Library/WebAPI/Migrations/201705021621061_AddBookPageCount.cs
417
C#