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 Content.Shared.Traitor.Uplink; using Robust.Shared.GameObjects; using Robust.Shared.Serialization; using System; namespace Content.Shared.PDA { [Serializable, NetSerializable] public sealed class PDAUpdateState : BoundUserInterfaceState { public bool FlashlightEnabled; public bool Ha...
26.176471
118
0.673034
[ "MIT" ]
A-Box-12/space-station-14
Content.Shared/PDA/PDAUpdateState.cs
890
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Xml; using ClosedXML.Excel; using DigitalPlatform.IO; using DigitalPlatform.Xml; namespace dp2Circulation.OperLog { public static class OperLogReport { ...
29.892857
116
0.48865
[ "Apache-2.0" ]
donsllon/dp2
dp2Circulation/OperLog/OperLogReport.cs
7,955
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Dawn; using Microsoft.Azure.EventHubs; namespace Take.Elephant.Azure { /// <summary> /// TODO: Incomplete implementation, should remain internal. /// </summary>...
38.385135
142
0.619081
[ "Apache-2.0" ]
DanielCouto/elephant
src/Take.Elephant.Azure/AzureEventHubReceiverQueue.cs
5,681
C#
using Terraria.ID; using Terraria.ModLoader; using static Terraria.ModLoader.ModContent; namespace Comenzo.Items.Placeable.Ore.MagmaOre { public class MagmaOre : ModItem { public override void SetStaticDefaults() { ItemID.Sets.SortingPriorityMaterials[item.type] = 58; } public override void SetDefaults(...
21.866667
61
0.707317
[ "MIT" ]
nscornia/Comenzo
Items/Placeable/Ore/MagmaOre/MagmaOre.cs
658
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
46.009804
579
0.572839
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/monitor/Microsoft.Azure.Management.Monitor/src/Generated/BaselinesOperations.cs
14,135
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 may ...
54.165563
131
0.629434
[ "CC0-1.0" ]
bratwurzt/ignite
modules/platforms/dotnet/Apache.Ignite.Core/Cache/ICache.cs
57,253
C#
using System; namespace XtermSharp { /// <summary> /// Represents a circular list; a list with a maximum size that wraps around when push is called overriding values at the start of the list. /// </summary> public class CircularList<T> { int length; T [] array; int startIndex; /// <summary> /// Initiali...
28.333333
141
0.612418
[ "MIT" ]
Therzok/XtermSharp
XtermSharp/Utils/CircularList.cs
6,122
C#
using UnityEngine; using System.Collections.Generic; using WaterBuoyancy.Collections; namespace WaterBuoyancy { [RequireComponent(typeof(BoxCollider))] [RequireComponent(typeof(MeshFilter))] public class WaterVolume : MonoBehaviour { public const string TAG = "Water Volume"; [Serializ...
32.920792
166
0.506967
[ "MIT" ]
AkihiroNunome/WaterBuoyancy
Assets/Water Buoyancy/Scripts/WaterVolume.cs
9,977
C#
/** * Copyright 2018 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
35.333333
89
0.637017
[ "Apache-2.0" ]
johnpisg/dotnet-standard-sdk
src/IBM.WatsonDeveloperCloud.NaturalLanguageUnderstanding.v1/Model/RelationsResult.cs
2,226
C#
using Architecture.CrossCutting; using Architecture.CrossCutting.Enums; using DotNetCore.Domain; using System; namespace Architecture.Domain { public class UserLogEntity : Entity<long> { public UserLogEntity(long userId, LogType logType) : base(default) { UserId = userId; ...
22.076923
74
0.623693
[ "MIT" ]
mramra3004/Architecture
source/Domain/UserLogEntity.cs
574
C#
using NUnit.Framework; public class GeneratedTest217 { [Test] public void Test1() { } [Test] public void Test2() { } [Test] public void Test3() { } [Test] public void Test4() { } [Test] public void Test5() { } [Test] public void Test6() { } [Test] public void Test7() { } [Test] public vo...
33.066667
35
0.5625
[ "MIT" ]
aolszowka/nunit3-vs-adapter.issues
Issue497/GeneratedTest217.cs
1,488
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using...
44.240194
194
0.578178
[ "MIT" ]
Kuinox/roslyn
src/Features/Core/Portable/EmbeddedLanguages/RegularExpressions/RegexParser.cs
91,358
C#
using Trowel.BspEditor.Primitives.MapObjects; using Trowel.Common.Threading; using Trowel.DataStructures.Geometric; using System.Collections.Generic; using System.Linq; namespace Trowel.BspEditor.Tools.Vertex.Selection { public class MutableSolid { public IList<MutableFace> Faces { get; } publ...
30.368421
101
0.694974
[ "BSD-3-Clause" ]
mattiascibien/trowel
Trowel.BspEditor.Tools/Vertex/Selection/MutableSolid.cs
579
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Management.Automation; namespace Microsoft.PowerShell.ScheduledJob { /// <summary> /// Base class for NewScheduledJobOption, SetScheduledJobOption cmdlet...
37.56701
106
0.629391
[ "MIT" ]
Francisco-Gamino/PowerShell
src/Microsoft.PowerShell.ScheduledJob/commands/ScheduledJobOptionCmdletBase.cs
7,288
C#
using System.Net; using System.Threading.Tasks; using Newtonsoft.Json; using Promitor.Agents.Core; using Promitor.Agents.Core.Contracts; using Promitor.Tests.Integration.Clients; using Promitor.Tests.Integration.Extensions; using Xunit; using Xunit.Abstractions; namespace Promitor.Tests.Integration.Services.Scraper {...
32.97561
115
0.681213
[ "MIT" ]
3lvia/promitor
src/Promitor.Tests.Integration/Services/Scraper/SystemTests.cs
1,354
C#
using ICSharpCode.SharpZipLib.Core; using ICSharpCode.SharpZipLib.Zip; using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.OpenSsl; using Org.BouncyCastle.Security; using Renci.SshNet; using System; using System.IO; using System.Security.Cryptography; using System.Text; usin...
39.110465
218
0.580497
[ "MIT" ]
Xeinaemm/AesRsa
source/AesRsa/Program.cs
6,729
C#
/* Copyright (c) 2019, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
37
128
0.739981
[ "BSD-2-Clause" ]
jingliang2005/MatterControl
MatterControl.Printing/PrinterCommunication/Leveling/LevelWizardMesh.cs
3,221
C#
namespace TddShop.Cli.Order.Models { public class ItemModel { public string Name { get; set; } public string Category { get; set; } public decimal Price { get; set; } public int Quantity { get; set; } } }
22.727273
44
0.58
[ "MIT" ]
MDhouse/TDD
TddShop/TddShop.Cli/Order/Models/ItemModel.cs
252
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 kubiaaspnet { public class Program { public st...
25.666667
70
0.645022
[ "MIT" ]
AnturGyffrous/kubernetes-in-action
Second Edition/Chapter 2/kubiaaspnet/kubiaaspnet/Program.cs
693
C#
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace DiscordPipeImpersonator.Payload { public class EnumValueAttribute : Attribute { public string Value ...
33.776243
124
0.560972
[ "Apache-2.0" ]
UWPCommunity/Quarrel
src/_Libs/NamedPipeServer/Payload/IPayload.cs
12,229
C#
namespace WindowsServiceClient { partial class Form1 { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 tr...
39.335714
78
0.556746
[ "Apache-2.0" ]
ggwhsd/CSharpStudy
OtherProjects/DemoService1/WindowsServiceClient/Form1.Designer.cs
5,699
C#
public class Vector2 { public int X; public int Y; public Vector2(int x, int y) { this.X = x; this.Y = y; } public void Add(Vector2 value) { this.X += value.X; this.Y += value.Y; } public bool IsColliding(Vector2 value, int length) { if...
17.259259
80
0.476395
[ "MIT" ]
Bullsized/Zariba-Game-Academy
01 Introduction to Programming with Games/01-12 The Spaghetti Meteor Frenzy/MeteorFrenzy/MeteorFrenzy/Classes/Vector2.cs
468
C#
/* * Copyright (c) Contributors, http://vision-sim.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * For an explanation of the license of each contributor and the content it * covers please see the Licenses directory. * * Redistribution and use in source and binary forms, with or without ...
40.725664
102
0.629509
[ "MIT" ]
VisionSim/Vision-Sim
Vision/Framework/Utilities/GenericAccountCache.cs
4,602
C#
using Hik.DataAccess.Metadata; using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Hik.DataAccess.Data { [Table(Tables.MediaFile)] public class MediaFile { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] ...
27.342105
125
0.661213
[ "MIT" ]
vov4uk/HikConsole
src/Hik.DataAccess/Data/MediaFile.cs
1,041
C#
using System.Collections.Generic; using System.Threading.Tasks; namespace BotsDotNet.WebExTeams.SparkDotNet { public partial class Spark { private string membershipsBase = "/v1/memberships"; /// <summary> /// Lists all room memberships. By default, lists memberships for rooms...
44.782609
151
0.604854
[ "MIT" ]
JTOne123/botsdotnet
BotsDotNet.WebExTeams/SparkDotNet/APIPartials/SparkMemberships.cs
4,120
C#
/* New BSD License ------------------------------------------------------------------------------- Copyright (c) 2006-2012, EntitySpaces, LLC All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redist...
38.690909
79
0.710056
[ "Unlicense" ]
EntitySpaces/EntitySpaces-CompleteSource
CodeGeneration/ClassLibraries/EntitySpaces.MetadataEngine/MySql/Parameters.cs
2,128
C#
/* INFINITY CODE 2013-2019 */ /* http://www.infinity-code.com */ using UnityEngine; namespace InfinityCode.RealWorldTerrain.Tools { public static class RealWorldTerrainUpdateNeighbors { public static void Update(RealWorldTerrainContainer container) { RealWorldTerrainVe...
41
107
0.562602
[ "MIT" ]
zFz0000/UnitySimulasiGerakParabola
Assets/Infinity Code/Real World Terrain/Scripts/Editor/Tools/RealWorldTerrainUpdateNeighbors.cs
1,230
C#
namespace WebApi.Modules.Common.FeatureFlags { /// <summary> /// Features Flags Enum. /// </summary> public enum CustomFeature { /// <summary> /// Product /// </summary> CreateProduct, /// <summary> /// Get Product. /// </summary> ...
19.37037
44
0.413958
[ "Apache-2.0" ]
satishchatap/zellar
WebApi/Modules/Common/FeatureFlags/CustomFeature.cs
1,046
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20200601 { using static Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Runtime.Extensions; /// <summary>Properties of a private endpoint connection.</summary> public partial class PrivateEndpointConnectionProperties { ...
78.816514
429
0.717379
[ "MIT" ]
3quanfeng/azure-powershell
src/AppConfiguration/generated/api/Models/Api20200601/PrivateEndpointConnectionProperties.json.cs
8,483
C#
/****************************************************************************** * Spine Runtimes License Agreement * Last updated January 1, 2020. Replaces all prior versions. * * Copyright (c) 2013-2020, Esoteric Software LLC * * Integration of the Spine Runtimes into software or otherwise creating * derivative...
32.262911
244
0.682064
[ "MIT" ]
BaekNothing/Dalpangyeekiwoogi
Assets/Spine/Editor/spine-unity/Editor/Windows/SkeletonBaker.cs
48,104
C#
namespace XenAdmin.Controls.Wlb { partial class WlbReportSubscriptionView { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
51.409302
158
0.63286
[ "BSD-2-Clause" ]
ChrisH4rding/xenadmin
XenAdmin/Controls/Wlb/WlbReportSubscriptionView.Designer.cs
11,053
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.1433 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----...
27.130435
80
0.445513
[ "MIT" ]
Episerver-trainning/episerver6r2_sso
Templates/AlloyTech/Forum/Pages/Post.aspx.designer.cs
624
C#
using System; using System.Collections.Generic; using System.ComponentModel.Design; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; using ChangeLanguageV...
66.620253
223
0.527646
[ "MIT" ]
conwid/ChangeLanguageVersionExtension
ChangeLanguageVersionExtension/ChangeLanguageVersionCommandPackage.cs
5,265
C#
using AMaaS.Core.Sdk.Models.Utils; using AMaaS.Core.Sdk.Transactions.Enums; using AMaaS.Core.Sdk.Transactions.Models; using System; using System.Collections.Generic; using System.Text; using Xunit; namespace AMaaS.Core.Sdk.Transactions.Tests { public class ModelTests { [Fact] publ...
41.319444
124
0.58084
[ "Apache-2.0" ]
amaas-fintech/amaas-core-sdk-dotnet
Tests/AMaaS.Core.Sdk.Transactions.Tests/ModelTests.cs
2,977
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...
36.760684
177
0.614508
[ "Apache-2.0" ]
mahanthbeeraka/dataservices-sdk-dotnet
AWSSDK/Amazon.RDS/Model/AddTagsToResourceRequest.cs
4,301
C#
namespace flier268.Win32API { public struct LDT_ENTRY { public short LimitLow; public short BaseLow; public int HighWord; } }
14.818182
30
0.613497
[ "MIT" ]
flier268/Win32API
flier268.Win32API.Kernel32/LDT_ENTRY.cs
163
C#
#pragma checksum "..\..\PositionForm.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "C938A01CB87334E5F35351F436B9C0AF" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes ...
38.040359
141
0.620771
[ "MIT" ]
BadJukeBox/Application-Manager
App_Manager/App_Manager/obj/Debug/PositionForm.g.cs
8,485
C#
/* * DocuSign REST API * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using Syste...
41.928571
420
0.536542
[ "MIT" ]
MaxMood96/docusign-esign-csharp-client
sdk/src/DocuSign.eSign/Model/Filter.cs
11,740
C#
using System.Text.RegularExpressions; namespace AmplaData.Display { public static class DisplayStringExtensions { private static readonly Regex SeparateWordsRegex = new Regex("([A-Z][a-z])", RegexOptions.Compiled); public static string ToSeparatedWords(this string value) { ...
28.142857
108
0.670051
[ "MIT" ]
Ampla/Ampla-Data
src/AmplaData/Display/DisplayStringExtensions.cs
396
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using V308CMS.Data.Metadata; using V308CMS.Data.Models; namespace V308CMS.Data.Models { [Table("role")] [MetadataType(typeof(RoleMetadata))] public class Role { pu...
28.038462
73
0.651578
[ "Unlicense" ]
giaiphapictcom/mamoo.vn
V308CMS.Data/Models/Role.cs
731
C#
// // Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net> // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of source code must retain the above co...
37.762295
96
0.602344
[ "BSD-3-Clause" ]
SNBnani/NLog
tests/NLog.UnitTests/Config/CaseSensitivityTests.cs
4,607
C#
using EawXBuild.Core; namespace EawXBuild.Configuration.Lua.v1 { public class LuaProject { private readonly IBuildComponentFactory _factory; public LuaProject(string name, IBuildComponentFactory factory) { _factory = factory; Project = factory.MakeProject(); ...
23.64
70
0.583756
[ "MIT" ]
AlamoEngine-Tools/eaw-ci
eawx-build/Configuration/Lua/v1/LuaProject.cs
591
C#
using Machine.Specifications; using PlainElastic.Net.IndexSettings; using PlainElastic.Net.Utils; namespace PlainElastic.Net.Tests.Builders.IndexSettings { [Subject(typeof(NGramTokenizer))] class When_empty_NGramTokenizer_built { Because of = () => result = new NGramTokenizer() ...
31.833333
109
0.589878
[ "MIT" ]
AAATechGuy/PlainElastic.Net
src/PlainElastic.Net.Tests/Builders/Analysis/Tokenizers/NGram/When_empty_NGramTokenizer_built.cs
575
C#
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
41.710843
125
0.63056
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Memcache.V1Beta2/Google.Cloud.Memcache.V1Beta2.GeneratedSnippets/CloudMemcacheClient.ListInstancesRequestObjectAsyncSnippet.g.cs
3,462
C#
using System.Threading.Tasks; using Abp.Dependency; using Castle.Core.Logging; namespace Afonsoft.Ranking.Net.Sms { public class SmsSender : ISmsSender, ITransientDependency { public ILogger Logger { get; set; } public SmsSender() { Logger = NullLogger.Instance; } ...
25.785714
96
0.596953
[ "MIT" ]
afonsoft/Ranking
src/Afonsoft.Ranking.Core/Net/Sms/SmsSender.cs
724
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.305882
130
0.647118
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ConfigService/Generated/Model/Internal/MarshallTransformations/ValidationExceptionUnmarshaller.cs
3,001
C#
using Microsoft.VisualBasic.Activities; using OpenRPA.Interfaces; using OpenRPA.Interfaces.Selector; using System; using System.Activities; using System.Activities.Expressions; using System.Activities.Presentation.Model; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Thr...
26.825
99
0.707363
[ "MPL-2.0" ]
igaisin/openrpa
OpenRPA/Activities/DetectorDesigner.xaml.cs
1,075
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { private const float zeroF = 0.0f; [SerializeField] public LaserController currentLaserSelected; [SerializeField] private LaserController lastLaserSelected; [SerializeF...
27.125
97
0.558525
[ "MIT" ]
Xamdes/Electrogen
Assets/Scripts/PlayerController.cs
3,257
C#
// Copyright 2013 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml.Linq; namespace DocumentVersions { /// <summary>...
44.166667
176
0.571599
[ "Apache-2.0" ]
ivandrofly/nodatime
build/DocumentVersions/Program.cs
5,037
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.Reflection.PortableExecutable; using System.Threading; using System.Threading.Tasks; namespace Micros...
41
155
0.754573
[ "MIT" ]
AlexanderSemenyak/roslyn
src/Features/Core/Portable/PdbSourceDocument/ISourceLinkService.cs
1,314
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.IO; using System.L...
48.902174
169
0.60858
[ "MIT" ]
Acidburn0zzz/roslyn
src/EditorFeatures/Test/EditAndContinue/EmitSolutionUpdateResultsTests.cs
4,501
C#
// Copyright (c) @asmichi (https://github.com/asmichi). Licensed under the MIT License. See LICENCE in the project root for details. using System; using System.Collections.Generic; using System.Linq; using Asmichi.Utilities; using Xunit; using Xunit.Sdk; using static Asmichi.ProcessManagement.ChildProcessExecutionTest...
37.80315
160
0.595084
[ "MIT" ]
asmichi/ChildProcess
src/ChildProcess.Test/ProcessManagement/ChildProcessTest_EnvironmentVariables.cs
4,801
C#
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. 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 ...
34.25
90
0.66357
[ "Apache-2.0" ]
007008aabb/WeiXinMPSDK
src/Senparc.Weixin.MP/Senparc.Weixin.MP.Test/Entities/Request/PostModelTest.cs
1,509
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Azure.Functions.Cli.Common; using Colors.Net; using static Azure.Functions.Cli.Common.OutputTheme; using static Colors.Net.StringStaticMethods; namespace ...
49.770574
194
0.610632
[ "MIT" ]
kashimiz/azure-functions-core-tools
src/Azure.Functions.Cli/Helpers/PythonHelpers.cs
19,960
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.Owin.Security; using EmpleoDotNet.Models; namespace E...
34.257908
147
0.54098
[ "Unlicense" ]
gavilanch/empleo-dot-net
EmpleoDotNet/Controllers/AccountController.cs
14,082
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...
29.914286
153
0.641834
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Storage/V20210201/Inputs/DeleteRetentionPolicyArgs.cs
1,047
C#
using System; using Microsoft.AspNetCore.Components.Rendering; using Microsoft.AspNetCore.Components; using Microsoft.JSInterop; namespace StableCube.Bulzor.Components.MediaPlayer { public class BulMediaTrack : BulComponentBase { [Parameter] public Uri SrcUri { get; set; } ...
27.547619
75
0.569576
[ "MIT" ]
StableCube/Bulzor
Components.MediaPlayer/src/Components/BulMediaTrack.cs
1,159
C#
// Copyright (c) Microsoft. 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.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.T...
49.854305
162
0.64373
[ "Apache-2.0" ]
Atrejoe/roslyn-analyzers
src/NetAnalyzers/Core/Microsoft.NetCore.Analyzers/Performance/DoNotUseCountWhenAnyCanBeUsed.Fixer.cs
7,530
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace Data.Models { public class SigninToken { [Key] public Guid Token { get; set; } public Guid UserId { get; set; }...
21.961538
78
0.65324
[ "Apache-2.0" ]
elmurphy/WebAPISeed
Data/Models/SigninToken.cs
573
C#
using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Threading; namespace Episerver.Labs.Divvy.Webhooks { public class DivvyWebhookManager : Queue<DivvyWebhook> { private System.Timers.Timer timer; pri...
29.5
146
0.558018
[ "MIT" ]
episerver/episerver-divvy
src/Webhooks/DivvyWebhookManager.cs
2,303
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Microsoft.UI.Xaml; using Microsoft.UI...
39.932692
113
0.625813
[ "MIT" ]
Joey35233/OBRVisualizer
App.xaml.cs
4,155
C#
// // ManagerTest.cs // // Author: // Zachary Gramana <zack@xamarin.com> // // Copyright (c) 2014 Xamarin Inc // Copyright (c) 2014 .NET Foundation // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal ...
46.10101
144
0.570004
[ "Apache-2.0" ]
APXLabs/couchbase-lite-net
src/Couchbase.Lite.Tests.Shared/ManagerTest.cs
18,256
C#
using System; using System.Security.Cryptography; namespace StupidFirewallManager.Common.Encryption { public static class EncryptionUtils { public const Int32 saltSize = 8; public static byte[] GenerateRandomSalt() { using var csp = new RNGCryptoServiceProvider(...
29.243902
69
0.546289
[ "MIT" ]
AlkampferOpenSource/StupidFirewallManager
src/StupidFirewallManager.Common/Encryption/EncryptionUtils.cs
1,201
C#
using CodeWars; using NUnit.Framework; namespace CodeWarsTests { [TestFixture] public class ConvertIntegerToBinaryTests { [Test] public void BasicTests() { Assert.AreEqual("10", ConvertIntegerToBinary.ToBinary(2)); Assert.AreEqual("11", ConvertIntegerToBinar...
27.611111
71
0.637827
[ "MIT" ]
a-kozhanov/codewars-csharp
CodeWarsTests/7kyu/ConvertIntegerToBinaryTests.cs
499
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Locust.Collections { public class CharBuffer { private int bufferSize; private char[] buffer; private int position; public CharBuffer(): this(16) ...
21.04
69
0.465779
[ "MIT" ]
mansoor-omrani/Locust.NET
Library/Locust.Collections/CharBuffer.cs
1,580
C#
#region License // // Copyright 2002-2019 Drew Noakes // Ported from Java to C# by Yakov Danilov for Imazen LLC in 2014 // // 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 // // ...
39.120996
152
0.625125
[ "Apache-2.0" ]
XelaNimed/metadata-extractor-dotnet
MetadataExtractor/Formats/Jpeg/JpegSegmentType.cs
10,993
C#
namespace TestNetCore.Microsoft.Extensions.DependencyInjection.Helpers { public class Class : IInterface { } }
19.833333
72
0.764706
[ "Apache-2.0" ]
DrunkRussianGun/CSharpTests
TestAspNetCore/Microsoft/Extensions/DependencyInjection/Helpers/Service.cs
121
C#
using QuanLyNhaSach.Objects; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QuanLyNhaSach.Bus { public class DeleteData { public static void DeleteOldBill(Bill bill) { if (bill.ID > 0) { ...
29.340909
104
0.529822
[ "MIT" ]
HCB2-NPT/QuanLyNhaSach
QuanLyNhaSach/Bus/DeleteData.cs
1,293
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.W...
48.933806
229
0.590657
[ "MIT" ]
TimMurphy/debug-http-post
source/Hooker.WebApi/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs
20,699
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using ILRuntime.CLR.TypeSystem; using ILRuntime.CLR.Method; using ILRuntime.Runtime.Enviorment; using ILRuntime.Runtime.Intepreter; using ILRuntime.Runtime.Stack; using ILRuntime.Reflection...
34.134615
192
0.710423
[ "MIT" ]
13294029724/ET
Unity/Assets/Model/ILBinding/ETModel_EventAttribute_Binding.cs
1,775
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...
32.30742
196
0.54457
[ "Apache-2.0" ]
altso/aws-sdk-net
sdk/src/Services/CodeArtifact/Generated/Model/DisposePackageVersionsRequest.cs
9,143
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
37.2
128
0.58871
[ "MIT" ]
mhmtlger12/MVC_Stok_Takibi
MVCStokTakibi/Models/Entity/TBLKATEGORILER.cs
1,116
C#
using System; using System.Web.Http; using System.Web.Mvc; using NetFxWithDITest.Areas.HelpPage.ModelDescriptions; using NetFxWithDITest.Areas.HelpPage.Models; namespace NetFxWithDITest.Areas.HelpPage.Controllers { /// <summary> /// The controller that will handle requests for the help page. /// </summary>...
30.222222
115
0.600315
[ "Apache-2.0" ]
JonasSyrstad/Stardust.Rest
NetFxWithDITest/Areas/HelpPage/Controllers/HelpController.cs
1,904
C#
using AltV.Net; using AltV.Net.Data; using AltV.Net.Enums; using altvtutorial.Database; using altvtutorial.MyEntitys; using System.Text.RegularExpressions; namespace altvtutorial { class PlayerEvents : IScript { //[ScriptEvent(ScriptEventType.EventName)] -> ServerEvent //Alt.Emit() -> Server to S...
37.362903
116
0.58774
[ "Unlicense" ]
Flashrex/altv-tutorial
altv-tutorial/altvtutorial/altvtutorial/PlayerEvents.cs
4,636
C#
namespace Mistletoe.Dispatcher { using NLog; class Helper { internal static Logger LoggerInstance; } }
12.9
46
0.635659
[ "MIT" ]
mossandlichens/Mistletoe
Mistletoe.Dispatcher/Helper.cs
131
C#
// // Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // namespace System { using Runtime.CompilerServices; /// <summary> /// Represents a time interval. /// </sum...
54.188295
427
0.627958
[ "MIT" ]
Eclo/lib-CoreLibrary
nanoFramework.CoreLibrary/System/TimeSpan.cs
21,296
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace WebResume.Models { public class StringItem { [Key] public int Id { get; set; } [Required] public string Name { get; set; } public string Description...
20.176471
47
0.638484
[ "MIT" ]
adamrebacz/WebResume
WebResume.Models/StringItem.cs
345
C#
namespace Nager.Country.CountryInfo { /// <summary> /// Lesotho /// </summary> public class LesothoInfo : ICountryInfo { public string CommonName => "Lesotho"; public string OfficialName => "Kingdom of Lesotho"; public Translation[] Translations => new [] { ...
45.103896
68
0.600346
[ "MIT" ]
MrGrabazu/Nager.Country
src/Nager.Country/CountryInfo/LesothoInfo.cs
3,596
C#
using System; using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; using GraphQL.Language.AST; using GraphQL.Resolvers; using GraphQL.Types; using static GraphQL.Execution.ExecutionHelper; namespace GraphQL.Execution { public abstract class ExecutionStrategy : IExecutionStrateg...
36.949102
160
0.535775
[ "MIT" ]
MikeyFriedChicken/graphql-dotnet
src/GraphQL/Execution/ExecutionStrategy.cs
12,341
C#
using System; using System.Collections.Generic; using System.Data; namespace SVFileMapper.Extensions { public class FailedColumnConversion { public DataColumn? Column { get; set; } public string? Reason { get; set; } = ""; } public class UnmatchedResult { public DataRow? R...
32.585714
110
0.624288
[ "MIT" ]
simon-curtis/SVFileMapper
SVFileMapper/Extensions/Extensions.cs
2,283
C#
// (C) Copyright 2021 by // using System; using Autodesk.AutoCAD.Runtime; using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.Geometry; using Autodesk.AutoCAD.EditorInput; using System.Collections; using System.Linq; using System.Text.RegularExpressions; using ...
40.848485
170
0.463093
[ "MIT" ]
sonicg83/AutoCad.net
SetViewPort/SetViewPort/myCommands.cs
16,990
C#
using System; using System.Collections.Generic; using System.Text; using NUnit.Framework; using Transloadit; using Transloadit.Assembly; namespace Tests { [TestFixture] class OptionalSettingTests { [Test] public void InvokeAssemblyWithNotifyUrl() { ITransloadit transl...
28.53125
134
0.650602
[ "MIT" ]
igofed/transloadit-csharp-sdk
test/OptionalSettingsTests.cs
915
C#
using Entities; using System.Threading.Tasks; namespace DataAccess.Interfaces { public interface IUserRepository { Task<bool> ExistsUser(string email); Task<User> GetUserByEmail(string email); } }
18.916667
48
0.700441
[ "MIT" ]
BootcampTeamNet/ApiRestaurants
ApiRestaurants/DataAccess/Interfaces/IUserRepository.cs
229
C#
using BenchmarkDotNet.Running; namespace DotNet.Glob.Benchmarks { public class Program { public static void Main(string[] args) { BenchmarkRunner.Run<BaselineRegexGlobCompileBenchmarks>(); BenchmarkRunner.Run<BaselineRegexIsMatchTrueBenchmarks>(); BenchmarkR...
27.5625
71
0.664399
[ "MIT" ]
Alanoll/DotNet.Glob
src/DotNet.Glob.Benchmarks/Program.cs
443
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("AppDomainTest")] [assembly: AssemblyDescri...
38.685714
84
0.745199
[ "Unlicense" ]
jingyiliu/MEFInAnAppDomain
AppDomainTest/Properties/AssemblyInfo.cs
1,357
C#
using System.Reflection; using System.Runtime.CompilerServices; using Android.App; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Refit")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("...
41.208333
82
0.747219
[ "MIT" ]
balauru/refit
Refit-Tests/Properties/AssemblyInfo.cs
989
C#
// <auto-generated/> // MIT License // // Copyright(c) 2020 Jordan Peck (jordan.me2@gmail.com) // Copyright(c) 2020 Contributors // // 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 ...
41.295652
140
0.472561
[ "MIT" ]
XalacRlyeh/Aster
src/Aster.Client/World/Noise.cs
123,476
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http.Authentication; using Microsoft.AspNetCore.Identity; namespace <%= namespace %>.Models.ManageViewModels { public class ManageLoginsViewModel { public IList<UserLoginInfo> Cu...
25.235294
73
0.750583
[ "Apache-2.0" ]
OmniSharp/generator-aspnet
templates/projects/mvc/Models/ManageViewModels/ManageLoginsViewModel.cs
431
C#
// Auto Generated, do not edit. using EosSharp.Core; using EosSharp.Core.Api.v1; using EosSharp.Core.Providers; using EosSharp.Unity3D; using Newtonsoft.Json; using System; using System.Threading.Tasks; namespace EosSharp.UnitTests.Unity3D { public class ApiUnitTests { ApiUnitTestCases ApiUnitTestCase...
27.924051
110
0.530523
[ "MIT" ]
BTCTrader/eos-sharp
EosSharp/EosSharp.UnitTests.Unity3D/ApiUnitTests.cs
13,238
C#
using System; namespace Bridge.Contract { public interface IAbstractEmitterBlock { string AddLocal(string name, ICSharpCode.NRefactory.CSharp.AstType type); void AddLocals(System.Collections.Generic.IEnumerable<ICSharpCode.NRefactory.CSharp.ParameterDeclaration> declarations, ICSharpCode.NRefac...
40.461538
177
0.663815
[ "MIT" ]
Oaz/bridgedotnet_Builder
Contract/IAbstractEmitterBlock.cs
3,158
C#
using Application.Filters; using Application.Interfaces.Repositories; using Application.Wrappers; using AutoMapper; using MediatR; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Application.Features { public class GetAllAdlerCardsB...
48.836735
177
0.751358
[ "MIT" ]
Devsquares/AdlerZentrum-BackEnd
Application/Features/AdlerCardsBundle/Queries/GetAllAdlerCardsBundles/GetAllAdlerCardsBundlesQuery.cs
2,393
C#
/* * Copyright(c) 2021 Samsung Electronics Co., Ltd. * * 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...
32.711864
116
0.660622
[ "Apache-2.0", "MIT" ]
kimcinoo/TizenFX
src/Tizen.NUI/src/internal/EXaml/Operation/AddEvent.cs
1,932
C#
using System.Collections.Generic; namespace Ladybug.Core { /// <summary> /// Represents a snapshot of a context of a thread that is running in a debuggee process. /// </summary> public interface IThreadContext { /// <summary> /// Gets a collection of all top level registers and the...
32.617647
109
0.579802
[ "MIT" ]
Washi1337/Ladybug
src/Core/Ladybug.Core/IThreadContext.cs
1,111
C#
using System; namespace WebApiUtil.Areas.HelpPage.ModelDescriptions { /// <summary> /// Use this attribute to change the name of the <see cref="ModelDescription"/> generated for a type. /// </summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, AllowMultipl...
31.166667
136
0.666667
[ "MIT" ]
Ericmas001/WebApiUtil
WebApiUtil/Areas/HelpPage/ModelDescriptions/ModelNameAttribute.cs
561
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...
32.088235
114
0.644821
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/IVS/Generated/Model/DeleteChannelRequest.cs
2,182
C#
namespace GroupDocs.Demo.Annotation.Mvc.Options { public enum TextSelectionMode { ByWords = 0, ByChars } }
16.875
48
0.622222
[ "MIT" ]
atirtahirgroupdocs/GroupDocs.Annotation-for-.NET
Plugins/GroupDocs_Annotation_SharePointPlugin/GroupDocs.Demo.Annotation.Mvc/Options/TextSelectionMode.cs
137
C#
 using System; using System.Globalization; using System.Resources; using System.Windows.Forms; using TestPlatform.Views.MainForms; using TestPlatform.Models; namespace TestPlatform.Views.SidebarUserControls { public partial class ReactionControl : DefaultUserControl { private ResourceManager LocRM = n...
39.341615
208
0.517682
[ "MIT" ]
lab-neuro-comp/Test-Plataform
StroopTest/Views/SidebarUserControls/ReactionControl.cs
6,336
C#
using DG.Tweening; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace GuiBaseUI { public class IconMove { static Transform root; static GameObject prefab; static List<IconItem> pool = new List<IconItem>(); public static void Move(Vector3 start, ...
30.695652
106
0.495279
[ "MIT" ]
410998623/Taiwu_mods
GuiBaseUI/IconMove.cs
2,118
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ProvaBlazor.Data { public class Operatore { public int Id { get; set; } public string Name { get; set; } public string Surname { get; set; } } public class Metereologo : ...
19.56
46
0.619632
[ "MIT" ]
FITSTIC/Hackathon_SampleCode_19_21
ProvaBlazor/ProvaBlazor/Data/Operatore.cs
491
C#
namespace BehaviourTree.Decorators { public sealed class UntilFailed<TContext> : DecoratorBehaviour<TContext> { public UntilFailed(IBehaviour<TContext> child) : this("UntilFailed", child) { } public UntilFailed(string name, IBehaviour<TContext> child) : base(name, child...
29.285714
112
0.62439
[ "MIT" ]
muscla87/wordle-telegram-bot
BehaviourTree/Decorators/UntilFailed.cs
617
C#