content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.Text; using Game.Logic.AI; using Game.Logic.Phy.Object; using Game.Logic; using System.Drawing; using Game.Logic.Actions; using Bussiness; using Game.Logic.Effects; namespace GameServerScript.AI.NPC { public class FiveNormalThirdNpc2 : ABrain { ...
22.893617
95
0.494424
[ "MIT" ]
HuyTruong19x/DDTank4.1
Source Server/Game.Server.Scripts/AI/NPC/FiveNormalThirdNpc2.cs
2,154
C#
// Crest Ocean System // This file is subject to the MIT License as seen in the root of this folder structure (LICENSE) using UnityEditor; using UnityEngine; using UnityEngine.Experimental.Rendering; namespace Crest { [CreateAssetMenu(fileName = "SimSettingsAnimatedWaves", menuName = "Crest/Animated Waves Sim S...
45.389121
358
0.622972
[ "MIT" ]
Libertus-Lab/crest
crest/Assets/Crest/Crest/Scripts/LodData/Settings/SimSettingsAnimatedWaves.cs
10,850
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AbpAntDesignDemo.Permissions; using AutoMapper; using Microsoft.AspNetCore.Authorization; using Volo.Abp.Application.Dtos; using Volo.Abp.Domain.Repositories; namespace AbpAntDesignDemo.Authors { [Authorize(AbpA...
31.797872
99
0.619605
[ "MIT" ]
pauljohn21/AntDesignBlazorServer
demo/src/AbpAntDesignDemo.Application/Authors/AuthorAppService.cs
2,991
C#
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Npgsql; namespace Discount.API.Extensions { public static class HostExtensions { public static IHost MigrateDatabase<TContext>(this IH...
41.059701
144
0.520901
[ "MIT" ]
vpantea/AspnetMicroservices
src/Services/Discount/Discount.API/Extensions/HostExtensions.cs
2,753
C#
using NBi.Core.ResultSet; using NBi.Xml.Items.ResultSet; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace NBi.Xml.Items.Alteration.Projection { public abstract class AbstractProjectionXml : AlterationXml ...
26.222222
107
0.752119
[ "Apache-2.0" ]
TheAutomatingMrLynch/NBi
NBi.Xml/Items/Alteration/Projection/AbstractProjectionXml.cs
474
C#
using System; using System.Collections.Generic; using System.Linq; namespace Paillave.Etl.Core { public class JobDefinitionStructure { private class NodeDescription : INodeDescription { public NodeDescription(INodeDescription nodeContext) { this.NodeName...
43.12766
164
0.639862
[ "MIT" ]
paillave/Etl.Net
src/Paillave.Etl/Core/JobDefinitionStructure.cs
2,029
C#
using AspNetCoreTemplate.Data.Common.Repositories; using AspNetCoreTemplate.Data.Models; using AspNetCoreTemplate.Services.Data.Contracts; using AspNetCoreTemplate.Services.Mapping; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AspNet...
26.673077
58
0.563086
[ "MIT" ]
mirakis97/OnlineCosmeticSalon
OnlineCosmeticSalon.Web/Services/AspNetCoreTemplate.Services.Data/Services/CitiesService.cs
1,389
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; using Competitions.EntityModels; using Competitions.Mappers; using Competitions.Models; using Tennis.Mappers; namespace Competitions.Services { /// <summary> /// This represents the ser...
31.911392
124
0.605712
[ "MIT" ]
justinyoo/Tennis
src/Competitions.Services/DistrictService.cs
2,523
C#
/************************************************************************************ Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. Licensed under the Oculus Utilities SDK License Version 1.31 (the "License"); you may not use the Utilities SDK except in compliance wi...
30.646341
103
0.70772
[ "MIT" ]
S0leSurvivor/TemboVR
Assets/Oculus/VR/Scripts/OVRHeadsetEmulator.cs
5,026
C#
using KixPlay_Backend.Data.Entities; using KixPlay_Backend.Models; namespace KixPlay_Backend.Services.Repositories.Interfaces { public interface IMovieRepository : IMediaRepository<Movie, MovieDetailsModel> { } }
22.7
82
0.797357
[ "MIT" ]
fusedbloxxer/kixplay-backend
Services/Repositories/Interfaces/IMovieRepository.cs
229
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
39.666667
151
0.583567
[ "MIT" ]
thermofisherlsms/iapi
examples/exactive/SimpleGuiExample/Properties/Settings.Designer.cs
1,073
C#
using System.Collections.Generic; using System.Linq; using System.Net.Http; using HotChocolate; using StrawberryShake.CodeGeneration.CSharp.Builders; using StrawberryShake.CodeGeneration.CSharp.Extensions; using StrawberryShake.CodeGeneration.Descriptors; using StrawberryShake.CodeGeneration.Descriptors.Operations; usi...
45.237557
100
0.473868
[ "MIT" ]
dkapellusch/hotchocolate
src/StrawberryShake/CodeGeneration/src/CodeGeneration.CSharp/Generators/DependencyInjectionGenerator.cs
39,990
C#
using System; using UnityEngine; using UnityEditor.XR.ARSubsystems.InternalBridge; using UnityEngine.XR.ARSubsystems; namespace UnityEditor.XR.ARSubsystems { [CustomEditor(typeof(XRReferenceImageLibrary))] class XRReferenceImageLibraryEditor : Editor { static class Content { st...
40.485149
136
0.516997
[ "Unlicense" ]
23SAMY23/Meet-and-Greet-MR
Meet & Greet MR (AR)/Library/PackageCache/com.unity.xr.arsubsystems@4.1.7/Editor/XRReferenceImageLibraryEditor.cs
12,269
C#
using EasyML.Exceptions; using EasyML.Models; using Microsoft.ML; using Microsoft.ML.AutoML; using Microsoft.ML.Data; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace EasyML.Regression { /// <summary> /// Implements a machine learning system...
33.234568
168
0.710253
[ "MIT" ]
yeyopepe/EasyML
EasyML/Regression/RegressionSystem.cs
10,770
C#
namespace MyChess; public enum PieceRank { None = 0, Pawn = 1, Knight = 2, Bishop = 4, Rook = 8, Queen = 16, King = 32 }
12.538462
22
0.472393
[ "MIT" ]
JanneMattila/chess
src/MyChess/PieceRank.cs
165
C#
using System.Collections.Generic; using System.IO; using TriggersTools.CatSystem2; namespace Grisaia.Categories.Sprites { /// <summary> /// The class for a list of sprite parts for the specified type Id. (The number of padded 0's + 1) /// </summary> internal sealed class SpritePartList : SpriteElement<int, Sprit...
33.430769
100
0.665439
[ "MIT" ]
trigger-death/GrisaiaSpriteViewer
GrisaiaCategorization/Categories/Sprites/SpriteParts.cs
4,348
C#
// Copyright (c) 2007-2011 SlimDX Group // // 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, modify, merg...
38.90411
126
0.705986
[ "MIT" ]
SlimDX/SlimDX-v2
Source/Tools/Generator/Formatter/StringFormatter.cs
2,842
C#
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using SmartSql; using SmartSql.Abstractions.Config; using SmartSql.Logging; using SmartSql.Options; using System; using System.Collections.Generic; using System.Text; namespace Microsoft.Extensions.DependencyInjection { public static class Sm...
37.084746
103
0.596892
[ "Apache-2.0" ]
kuxingsheng/SmartSql
src/SmartSql.Options/SmartSqlOptionsExtensions.cs
2,190
C#
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using AutoMapper; using MediatR; using Microsoft.EntityFrameworkCore; using WizardWorld.Persistance; namespace WizardWorld.Application.Requests.Ingredients.Queries.GetIngredients { public class GetIngredient...
39.607143
121
0.706943
[ "MIT" ]
MossPiglets/WizardWorldAPI
WizardWorldApi/WizardWorld.Application/Requests/Ingredients/Queries/GetIngredients/GetIngredientsQueryHandler.cs
1,111
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. #nullable disable using System.ComponentModel; using System.Drawing; using System.Windows.Forms.Layout; namespace...
37.970181
154
0.603691
[ "MIT" ]
AndreRRR/winforms
src/System.Windows.Forms/src/System/Windows/Forms/ToolStripControlHost.cs
35,656
C#
// SlideEvent.cs // Script#/Libraries/jQuery/UI // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Runtime.CompilerServices; namespace jQueryApi.UI.Widgets { [Imported] [IgnoreNamespace] [ScriptName("Object")] public sealed class S...
18.795455
90
0.476421
[ "Apache-2.0" ]
doc22940/scriptsharp
src/Libraries/jQuery/jQuery.UI/Widgets/Slider/SlideEvent.cs
827
C#
namespace ForkingVirtualMachine { public static class Constants { public static readonly byte[] One = new byte[1] { 1 }; public static readonly byte[] Zero = new byte[1] { 0 }; public static readonly byte[] Empty = new byte[0]; public static readonly byte[] True = new byte[1]...
24.233333
75
0.620358
[ "Unlicense" ]
decoy/ForkingVirtualMachine
ForkingVirtualMachine/Constants.cs
729
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...
28.491525
110
0.581797
[ "Apache-2.0" ]
atpyatt/aws-sdk-net
sdk/src/Services/MediaPackage/Generated/Model/CreateChannelResponse.cs
3,362
C#
using UnityEngine; using System; using System.Collections.Generic; public static class EntityManager { public static Dictionary<string, Entity> all = new Dictionary<string, Entity>(1000); public static void RegisterEntity(Entity e) { all.Add(e.ID, e); } public static void UnRegisterEnt...
21.804878
95
0.604027
[ "MIT" ]
pointcache/uECS
uECS/Assets/uECS/uECS/Core/Entity/EntityManager.cs
896
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 ...
42.266667
120
0.636909
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Dialogflow.Cx.V3/Google.Cloud.Dialogflow.Cx.V3.GeneratedSnippets/ChangelogsClient.ListChangelogsResourceNamesSnippet.g.cs
3,170
C#
using MediatR; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Core.Domain.Notifications { public class DomainNotificationHandler : INotificationHandler<DomainNotification> { private List<DomainNotification> _notifications; ...
24.155556
91
0.624655
[ "MIT" ]
alexandrebeato/bankflix
server/src/Core.Domain/Notifications/DomainNotificationHandler.cs
1,089
C#
#Tue Nov 30 21:55:12 EST 2021 lib/features/com.ibm.websphere.appserver.org.eclipse.microprofile.faulttolerance-2.0.mf=a0b7ab247cfbff932bfb16dd65bcbb26 dev/api/stable/com.ibm.websphere.org.eclipse.microprofile.faulttolerance.2.0_1.0.59.jar=82a3a85574dfd3841cbef20a8db5c4c0
68
120
0.856618
[ "MIT" ]
johnojacob99/CSC480-21F
frontend/target/liberty/wlp/lib/features/checksums/com.ibm.websphere.appserver.org.eclipse.microprofile.faulttolerance-2.0.cs
272
C#
using Grasshopper.Kernel; using Rhino.Geometry; using System; using System.Collections.Generic; namespace ThreePlus.Components.Geometry { public class GH_GeoCylinder : GH_GeoPreview { /// <summary> /// Initializes a new instance of the GH_GeoCapsule class. /// </summary> public...
35.15534
118
0.567799
[ "MIT" ]
interopxyz/ThreePlus
ThreePlus/Components/Geometry/GH_GeoCylinder.cs
3,623
C#
using System; using Xunit; using System.Collections.Generic; namespace q3_LongestNonRepSubstring { public class TestLongestNonRepeatingSubstring { [Theory] [InlineData("pwwkew", 3)] [InlineData("abcabcbb", 3)] [InlineData("bbbbbbbbbbbbbbbbbbbbbbbbbbb", 1)] [I...
31.957746
118
0.498457
[ "MIT" ]
hyha/algo-csharp
q3-LongestNonRepSubstring/UnitTest1.cs
2,269
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 { using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell; /// <summary> /// A PowerShell PSTypeConverter to support converting to an instance of <see cref="Operation" /> /// </summary> public partial cla...
50.816901
249
0.577467
[ "MIT" ]
3quanfeng/azure-powershell
src/Functions/generated/api/Models/Api20190801/Operation.TypeConverter.cs
7,075
C#
namespace Skybrud.Social.LinkedIn { public class LinkedInConstants { /// <summary> /// The default fields used when fetching basic profile info. /// </summary> /// <see cref="https://developer.linkedin.com/docs/fields/basic-profile" /> public static readonly string...
29.333333
83
0.505682
[ "MIT" ]
abjerner/Skybrud.Social.LinkedIn
src/Skybrud.Social.LinkedIn/LinkedInConstants.cs
1,234
C#
using System.Xml.Linq; namespace TinyDSL.Xml { public static class XDC { public static dynamic New(string name, object attributes = null) { var element = new XElement(name); if (attributes != null) { SetAttributes(element, attributes); ...
24.264706
79
0.541818
[ "MIT" ]
personball/TinyDSL
src/TinyDSL.Xml/Xml/XDC.cs
827
C#
using DapperExtensions.Mapper; using NUnit.Framework; using System; using System.Diagnostics.CodeAnalysis; using System.Linq; namespace DapperExtensions.Test.Mapper { [TestFixture] [Parallelizable(ParallelScope.All)] public static class AutoClassMapperFixture { [TestFixture] public cla...
29.985185
92
0.502717
[ "Apache-2.0" ]
balchen/Dapper-Extensions
DapperExtensions.Test/Mapper/AutoClassMapperFixture.cs
4,050
C#
// Copyright (c) DotSpatial Team. All rights reserved. // Licensed under the MIT license. See License.txt file in the project root for full license information. using System.ComponentModel.Composition; using System.Globalization; namespace DotSpatial.Extensions { /// <summary> /// The IExtension inte...
26.829268
121
0.52
[ "MIT" ]
melofranco/DotSpatial
Source/DotSpatial.Extensions/IExtension.cs
2,200
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; using System.ComponentModel; using System.Data.SqlTypes; using System.Data.Common; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using Sy...
40.532449
217
0.501904
[ "MIT" ]
Maximys/runtime
src/libraries/System.Data.Common/src/System/Data/xmlsaver.cs
143,647
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; 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;...
24.225806
108
0.703063
[ "MIT" ]
jtrinklein/LiveSplitX
LiveSplitX/LiveSplitX.Skia.Wpf.Host/MainWindow.xaml.cs
753
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("Pr...
37.918919
84
0.746258
[ "MIT" ]
rhubinak/ProjectEuler
ProjectEulerLib/Properties/AssemblyInfo.cs
1,406
C#
// <auto-generated /> namespace Reverb.Data.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.0-30225")] public sealed partial class A...
28.5
107
0.636257
[ "MIT" ]
Xenoleth/Reverb-MVC
Reverb/Reverb.Data/Migrations/201710142015305_AddUserCollectionInSongs.Designer.cs
855
C#
using System; namespace ShareThings.Domain { public sealed class BorrowScore { private BorrowScore() { } public BorrowScore(Score score, User owner, Borrow borrow) : this() { this.Punctuation = score ?? throw new ArgumentNullException(nameof(owner)); ...
30.033333
87
0.596004
[ "Apache-2.0" ]
MasterCloudApps-Projects/RUP-Arquitecturas-Agiles
src/ShareThings.Domain/BorrowScore.cs
903
C#
using System; using System.ComponentModel.DataAnnotations; namespace WebApplication.Models { public class IntegrationRuntime { public int IntegrationRuntimeId { get; set; } [Required(AllowEmptyStrings = false, ErrorMessage = "Please input valid Name")] public string IntegrationRuntimeN...
29.833333
87
0.668529
[ "MIT" ]
G-arj/azure-data-services-go-fast-codebase
solution/WebApplication/WebApplication.DataAccess/Models/IntegrationRuntime.cs
539
C#
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class ATCSVLogger : ModuleRules { public ATCSVLogger(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; PublicIncludePaths.AddRange( new string[] { // ... a...
19.407407
79
0.639313
[ "MIT" ]
AlekseiTepljakov/csv-ue4-plugin
ATCSVLogger/Source/ATCSVLogger/ATCSVLogger.Build.cs
1,048
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Reflection; using System.Text; namespace PartialityLauncher { public static class DebugLogger { private static StringBuilder sb = new StringBuilder(); public static void Log(object obj) { ...
31.481481
88
0.662353
[ "MIT" ]
EFLFE/PartialityLauncher
PartialityLauncher/PartialityLauncher/Debugging/DebugLogger.cs
852
C#
//------------------------------------------------------------------------------ // <copyright file="PrologCompiler.cs" company="Axiom"> // // Copyright (c) 2006 Axiom, Inc. All rights reserved. // // The use and distribution terms for this source code are contained in the file // named licens...
40.829684
167
0.592694
[ "MIT" ]
FacticiusVir/prologdotnet
Prolog.Compiler/Framework/PrologCompiler.cs
16,781
C#
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class BTTaskRotateOnRotateEvent : IBehTreeTask { public BTTaskRotateOnRot...
30.956522
137
0.748596
[ "MIT" ]
DerinHalil/CP77Tools
CP77.CR2W/Types/W3/RTTIConvert/BTTaskRotateOnRotateEvent.cs
690
C#
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If * ...
32.464286
97
0.60066
[ "MIT" ]
202006233011/PowerShell
src/System.Management.Automation/engine/interpreter/ILightCallSiteBinder.cs
909
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
65.927536
314
0.699384
[ "MIT" ]
Agazoth/azure-powershell
src/Compute/Compute.Autorest/generated/api/Models/Api20210701/RunCommandInputParameter.PowerShell.cs
8,961
C#
using SS14.Client.Graphics.Drawing; using SS14.Client.Graphics.Overlays; using SS14.Client.Graphics.Shaders; using SS14.Client.Interfaces.Graphics.ClientEye; using SS14.Client.Interfaces.Graphics.Overlays; using SS14.Shared.IoC; using SS14.Shared.Maths; using SS14.Shared.Prototypes; namespace Content.Client.Graphics....
32.485714
87
0.716799
[ "MIT" ]
praisenarsie/space-station-14-content
Content.Client/Graphics/Overlays/CircleMaskOverlay.cs
1,139
C#
using System.Net.Http; using System.Net.Http.Formatting; using System.Threading.Tasks; using Umbraco.Core.Models; namespace Umbraco.Core.Persistence.Repositories.Implement { internal class InstallationRepository : IInstallationRepository { private static HttpClient _httpClient; private const s...
30.482759
108
0.643665
[ "MIT" ]
AaronSadlerUK/Umbraco-CMS
src/Umbraco.Core/Persistence/Repositories/Implement/InstallationRepository.cs
886
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("ReferenceEvaluationAddon")] [assembly: As...
39.666667
84
0.751401
[ "MIT" ]
Citavi/C6-Add-Ons-and-Online-Sources
src/ReferenceEvaluation/Properties/AssemblyInfo.cs
1,431
C#
using System; using System.Windows.Forms; namespace Main_RBS { internal static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] private static void Main() { Application.EnableVisualSt...
24.210526
66
0.558696
[ "MIT" ]
Avinch/RoomBookingSystem
RBS/Main-RBS/Program.cs
462
C#
using System; using System.Collections.Generic; using System.Web.Mvc; using YNDIY.API.Models; namespace YNDIY.Admin.Controllers { /// <summary> /// 管理员管理商家,面料商,衣服加工厂商 /// </summary> public class AdminController : ParentController { /// <summary> /// 工厂店铺关系 /// </summary> ...
45.229947
159
0.57417
[ "MIT" ]
hqqshe/JIAJU
YNDIY.Admin/Controllers/AdminController.cs
26,398
C#
using System; using System.Linq; using System.Reflection; using System.Threading.Tasks; using NSubstitute; using Sentry.Extensibility; using Sentry.Protocol; using Sentry.Testing; using Xunit; using static Sentry.Internal.Constants; using static Sentry.Protocol.Constants; using static Sentry.DsnSamples; namespace Sent...
31.762376
145
0.543875
[ "MIT" ]
lucas-zimerman/sentry-dotnet-xamsample
test/Sentry.Tests/SentrySdkTests.cs
12,832
C#
#if NETFX_CORE using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Documents; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Media.Imaging; using Windows.UI.Xaml.Shapes; #else using System.Windows; using System.Windows.Controls; using...
28.714286
150
0.532807
[ "MIT" ]
neurospeech/ui-atoms-wpf-silverlight
MAIN/Source/WPF/Controls/Calculator/AtomCalculator.cs
17,085
C#
using System.Collections.Generic; using System.Linq; using Denik.DQEmulation.Repository; using UniRx; using UnityEngine; namespace Denik.DQEmulation.Service { [RequireComponent(typeof(AudioSource))] public class BGMPlayer : MonoBehaviour, IBGMPlayer { private AudioSource _audioSource; priva...
30.770833
106
0.565335
[ "MIT" ]
shiena/Three-Sacred-Treasures-Hands-on
Assets/DQEmulation/Scripts/00_Domain/Service/BGMPlayer.cs
2,954
C#
namespace Remact.Net.Bms1Serializer.Internal { using System; using System.IO; using System.Collections.Generic; internal class InternalReader : IBms1InternalReader, IMessageReader { internal BinaryReader Stream; // set by TestSerializer for testing purpose. private TagRead...
30.695925
237
0.468852
[ "MIT" ]
steforster/Remact.Net.Bms1Serializer
src/Remact.Net.Bms1Serializer/Internal/InternalReader.cs
9,476
C#
namespace Lucene.Net.Benchmarks.ByTask.Stats { /* * 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 Yo...
33.169492
79
0.607052
[ "Apache-2.0" ]
Ref12/lucenenet
src/Lucene.Net.Benchmark/ByTask/Stats/Report.cs
1,959
C#
using System; using System.Linq; using System.Security.Claims; using System.Security.Principal; using KinaUna.Data.Models; namespace KinaUnaWeb.Services { public class IdentityParser : IIdentityParser<ApplicationUser> { public ApplicationUser Parse(IPrincipal principal) { // Patter...
46.136364
122
0.539409
[ "MIT" ]
KinaUna/KinaUnaCom
KinaUnaWeb/Services/IdentityParser.cs
2,032
C#
#if UNITY_EDITOR || UNITY_ANDROID using System; using System.Runtime.InteropServices; using UnityEngine.Experimental.Input.Plugins.Android.LowLevel; using UnityEngine.Experimental.Input.Utilities; using UnityEngine.Experimental.Input.Controls; using UnityEngine.Experimental.Input.Layouts; using UnityEngine.Experimental...
40.437931
293
0.645519
[ "MIT" ]
ToadsworthLP/Millenium
Library/PackageCache/com.unity.inputsystem@0.2.6-preview/InputSystem/Plugins/Android/AndroidSensors.cs
11,727
C#
/* * Copyright 2007 ZXing 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 required by applicable law or agreed to in wri...
47.590244
318
0.565088
[ "MIT" ]
SpacePassport/unity-algorand-sdk
Runtime/zxing.unity/Source/lib/common/GridSampler.cs
9,756
C#
using System; using Autofac; using GitTrends.Shared; using Shiny.Notifications; namespace GitTrends { public static class ContainerService { readonly static Lazy<IContainer> _containerHolder = new Lazy<IContainer>(CreateContainer); public static IContainer Container => _containerHolder.Value...
47.703704
148
0.68323
[ "MIT" ]
GillCleeren/GitTrends
GitTrends/Services/ContainerService.cs
2,578
C#
singleton Material(TerrainFX_ter_sand_bumpy_01) { mapTo = "ter_sand_bumpy_01_B"; footstepSoundId = "1"; terrainMaterials = "1"; ShowDust = "1"; showFootprints = "1"; materialTag0 = "Terrain_Sand"; specularPower[0] = "1"; effectColor[0] = "0.803922 0.780392 0.6352...
29.58042
57
0.650591
[ "Unlicense" ]
fossabot/Uebergame
art/terrains/sand/materials.cs
4,230
C#
namespace DAL.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("AdminClaim")] public partial class AdminClaim { public int Id { get;...
22
55
0.634615
[ "Apache-2.0" ]
eletol/Goo-App-Architecture
DAL/Models/AdminClaim.cs
572
C#
using Models.DB; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using System.Collections.Generic; using System.Threading.Tasks; namespace API.Controllers { [Route("api/[controller]")] //[Authorize] [ApiController] public class TrunTimessController : Controller { ...
24.944444
85
0.69265
[ "Apache-2.0" ]
LightosLimited/RailML
v3.1/API/Controllers/TrunTimesController.cs
1,347
C#
using FluentValidation.Attributes; using Newtonsoft.Json; using Nop.Plugin.Api.Validators; namespace Nop.Plugin.Api.DTOs.ProductAttributes { [JsonObject(Title = "product_attribute")] [Validator(typeof(ProductAttributeDtoValidator))] public class ProductAttributeDto { /// <summary> /// ...
26.355556
54
0.520236
[ "MIT" ]
DiogenesPolanco/api-plugin-for-nopcommerce
Nop.Plugin.Api/DTOs/ProductAttributes/ProductAttributeDto.cs
1,188
C#
// ***************************************************************************** // // © Component Factory Pty Ltd 2012. All rights reserved. // The software and associated documentation supplied hereunder are the // proprietary information of Component Factory Pty Ltd, 17/267 Nepean Hwy, // Seaford, Vic 3198, A...
31.65625
81
0.551086
[ "BSD-3-Clause" ]
ElektroStudios/Krypton
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/ButtonSpec/ButtonSpecCalendar.cs
4,055
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace Faksistent.Migrations { public partial class Upgraded_To_ABP_6_0 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<string>( name: "NewValueHash", ...
30.954545
71
0.552129
[ "MIT" ]
bayo04/Faksistent
aspnet-core/src/Faksistent.EntityFrameworkCore/Migrations/20201112121732_Upgraded_To_ABP_6_0.cs
1,364
C#
using System; using System.Windows.Forms; namespace Media_Sorter { public partial class FDateTimePicker : Form { bool dtpChecked = true; public FDateTimePicker() { InitializeComponent(); } private void FDateTimePicker_Load(object sender, Even...
27.447761
164
0.508972
[ "MIT" ]
stroev-ao/MediaSorter
Media Sorter/FDateTimePicker.cs
1,841
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...
27.089744
112
0.595362
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/IoTEventsData/Generated/Model/Variable.cs
2,113
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace AlibabaCloud.SDK.ROS.CDK.Waf { /// <summary>A ROS resource type: `ALIYUN::WAF::DomainConfig`.</summary> [JsiiClass(nativeType: typeof(AlibabaCloud.SDK.ROS.CDK.Waf.DomainConfig), fullyQualifiedName: "@alicloud/ros-cdk-waf...
59.48
475
0.677875
[ "Apache-2.0" ]
aliyun/Resource-Orchestration-Service-Cloud-Development-K
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Waf/AlibabaCloud/SDK/ROS/CDK/Waf/DomainConfig.cs
2,974
C#
using Microsoft.Win32; using Playnite.SDK; using Playnite.SDK.Models; using Playnite.SDK.Plugins; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; namespace UplayLib...
34.175966
125
0.477082
[ "MIT" ]
1gjunior/Playnite
source/Plugins/UplayLibrary/UplayLibrary.cs
7,965
C#
#if SQLServer using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.Entity; using System.Linq.Expressions; using System.Reflection; namespace SecureUserAccess { static class Ext { public static IQueryable<TSource> Search<T...
37.857143
156
0.615385
[ "MIT" ]
AmirOfir/SecureUserAccess
SqlServerUserEnctyptionStore.cs
3,447
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; using System.Data.SqlClient; using System.Text.RegularExpressions; namespace InventoryManagementSystem { class mainclass { priv...
32.575893
144
0.381527
[ "MIT" ]
Pro-procrastinator/CheckOut
InventoryManagementSystem/mainclass.cs
7,299
C#
namespace BlazorBoilerplate.Shared.Extensions { public static class DateTimeExtensions { /// <summary> /// Gets the 12:00:00 instance of a DateTime /// </summary> public static DateTime AbsoluteStart(this DateTime dateTime) { return dateTime.Date; } ...
35.017544
71
0.511523
[ "MIT" ]
IamFlashUser/blazorboilerplate
src/Shared/BlazorBoilerplate.Shared/Extensions/DateTimeExtensions.cs
1,998
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace Winforms._4._0.Full { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { ...
22.181818
65
0.598361
[ "MIT" ]
AndrewK2/html-agility-pack
src/Tests/NugetReferenceTests/Winforms.4.0.Full/Program.cs
490
C#
namespace Tagger { partial class FrmUpload { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param n...
49.149254
160
0.61236
[ "MIT" ]
graphnode/imgtagger
Tagger/FrmUpload.Designer.cs
6,588
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.EntityFrameworkCor...
35.56962
143
0.63879
[ "MIT" ]
abhilashpullelil/winterwood
Winterwood.Inventory/Winterwood.Inventory.Web/Startup.cs
2,810
C#
using ETLBox.Connection; using ETLBox.Helper; namespace ETLBox.ControlFlow.Tasks { /// <summary> /// Creates or alters a view. /// </summary> /// <example> /// <code> /// CreateViewTask.CreateOrAlter("viewname","SELECT value FROM table"); /// </code> /// </example> public class Cre...
34.859813
211
0.563003
[ "MIT" ]
gjvanvuuren/etlbox
ETLBox/src/Toolbox/Database/CreateViewTask.cs
3,732
C#
using System; namespace Solitons { /// <summary> /// Represents a point in time, typically expressed as a date and time of day, relative to Coordinated Universal Time (UTC). /// </summary> public partial interface IClock { /// <summary> /// /// </summary> DateTimeO...
23.266667
128
0.493792
[ "MIT" ]
AlexeyEvlampiev/Solitons.Core
src/Solitons.Core/IClock.cs
1,049
C#
//------------------------------------------------------------------------------ // <copyright file="ErrorEventHandler.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------...
42
97
0.477273
[ "Unlicense" ]
bestbat/Windows-Server
com/netfx/src/framework/services/io/system/io/erroreventhandler.cs
924
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
30.043478
81
0.649783
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Vod/V20180717/Models/HeadTailConfigureInfoForUpdate.cs
1,480
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using P01_HospitalDatabase.Data; names...
37.096257
125
0.501081
[ "MIT" ]
kalintsenkov/SoftUni-Software-Engineering
CSharp-DB/Databases-Advanced/Homeworks/04Code-First/P01_HospitalDatabase/Data/Migrations/20191101115813_DoctorTable.Designer.cs
6,939
C#
using CharacterGen.Domain.Generators.Randomizers.CharacterClasses.ClassNames; using CharacterGen.Domain.Tables; using NUnit.Framework; namespace CharacterGen.Tests.Unit.Generators.Randomizers.CharacterClasses.ClassNames { [TestFixture] public class NonSpellcasterClassNameRandomizerTests : ClassNameRandomizerT...
32.222222
143
0.653793
[ "MIT" ]
DnDGen/CharacterGen
CharacterGen.Tests.Unit/Generators/Randomizers/CharacterClasses/ClassNames/NonSpellcasterClassNameRandomizerTests.cs
1,452
C#
//------------------------------------------------------------------------------ //-------1---------2---------3---------4---------5---------6---------7---------8 // 01234567890123456789012345678901234567890123456789012345678901234567890 //-------+---------+---------+---------+---------+---------+---------+-----...
38.864486
144
0.531682
[ "CC0-1.0" ]
USGS-WiM/STNServices2
STNServices2/Handlers/Site_HousingHandler.cs
8,319
C#
namespace Twitch.Net.Api.Client { public class ApiClientFactory { public IApiClient CreateClient() => new ApiClient(); } }
19.375
40
0.606452
[ "MIT" ]
Twitch-Net/Twitch.Net
Twitch.Net.Api/Client/ApiClientFactory.cs
157
C#
using Entity.Tools; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Entity.DBEntities { [Index(propertyNames: "Email", IsUnique = true, Name = "IX_EntUser_Email")] [I...
40.722892
126
0.665089
[ "Unlicense" ]
rezaamooee/SimpleWebSite
Entity/DBEntities/EntUser.cs
3,593
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using MovieStoreWebApi.Data; namespace MovieStoreWebApi.Migrations { [DbContext(ty...
46.139241
389
0.408285
[ "MIT" ]
konstapascal/MovieStoreWebApi
MovieStoreWebApi/Migrations/MovieStoreDbContextModelSnapshot.cs
18,230
C#
/* * Copyright 2017-2020 Wouter Huysentruit * * See LICENSE file. */ using System; using System.Linq; using System.Reflection; using EntityFrameworkCoreMock.Shared.KeyFactoryBuilders; namespace EntityFrameworkCoreMock { public sealed class ConventionBasedKeyFactoryBuilder : KeyFactoryBuilderBase { ...
36.928571
170
0.687621
[ "MIT" ]
alvarollmenezes/entity-framework-core-mock
src/EntityFrameworkCoreMock.Shared/KeyFactoryBuilders/ConventionBasedKeyFactoryBuilder.cs
1,036
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace ContosoUniversity.Models { public class Student : Person { [Required(ErrorMessage = "Enrollment date is required.")] [DisplayFormat(DataFormatString = "{0:d}", ApplyFormatInEditMode ...
32.125
82
0.673152
[ "MIT" ]
Kymeric/specbind
examples/FullDemo/ContosoUniversity/Models/Student.cs
516
C#
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE #if ENTERPRISE using System; using Nuke.Common; using Nuke.Common.CI.AppVeyor; using Nuke.Common.CI.GitHubActions; using Nuke.Common.Execution; using Nuke.Common.Git; using Nuke.Ente...
41.155172
117
0.699204
[ "MIT" ]
chaquotay/nuke
build/Build.Enterprise.cs
2,389
C#
namespace Frank.Libraries.Ubl; /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:...
53.75
180
0.823256
[ "MIT" ]
frankhaugen/Frank.Extensions
src/Frank.Libraries.Ubl/UBL/ParentDocumentLineReferenceIDType.cs
645
C#
#region Copyright and License // Copyright (c) 2013-2014 The Khronos Group Inc. // Copyright (c) of C# port 2014 by Shinta <shintadono@googlemail.com> // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and/or associated documentation files (the // "Materials"), to de...
35.47486
118
0.704882
[ "MIT" ]
shintadono/OpenGL.Core
Defines/glProgramParameter.cs
6,352
C#
using System; using System.Runtime.Serialization; namespace BcGov.Malt.Web { [Serializable] public class UserNotFoundException : Exception { public string Username { get; } public UserNotFoundException() { } public UserNotFoundException(string usernam...
22.483871
93
0.571019
[ "Apache-2.0" ]
bcgov/maltd
api/src/BcGov.Malt.Web/UserNotFoundException.cs
697
C#
#region license // Copyright (c) 2007-2010 Mauricio Scheffer // // 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 // // Unle...
34.904762
96
0.599818
[ "Apache-2.0" ]
Denis-Vlassenko/SolrNet
SolrNet.Tests/SolrQueryInListTests.cs
2,201
C#
using SvgXml.Svg.Attributes; using SvgXml.Xml.Attributes; namespace SvgXml.Svg.Text { [Element("glyph")] public class SvgGlyph : SvgStylableElement, ISvgCommonAttributes, ISvgPresentationAttributes, ISvgStylableAttributes { [Attribute("d", SvgNamespace)] public stri...
30.933884
75
0.481432
[ "MIT" ]
benjaminZale/Svg.Skia
experimental/SvgXml.Svg/Text/SvgGlyph.cs
3,745
C#
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Mvc; using Zephyr.Core; using ERP.Web.Models; using ERP.Web; namespace ERP.Web.Areas.Erp.Controllers { public class SupplierController : Control...
31.724138
192
0.479348
[ "MIT" ]
zhupangithub/WEBERP
Code/ERP.Web/Areas/Erp/Controllers/SupplierController.cs
2,798
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
32.214286
112
0.68459
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/CloudDirectory/Generated/Model/AttachObjectResponse.cs
1,804
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Diagnostics; using osu.Framework.Input.StateChanges; using osu.Framework.Logging; using osu.Framewor...
37.617391
116
0.500578
[ "MIT" ]
Aergwyn/osu-framework
osu.Framework/Input/Handlers/Joystick/OsuTKJoystickHandler.cs
8,425
C#
/* * Change phone number token bridge. * * @author Michel Megens * @email michel.megens@sonatolabs.com */ using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace SensateIoT.API.Common.Data.Models { [Table("PhoneNumberTokens")] pub...
23.64
52
0.697124
[ "Apache-2.0" ]
sensate-iot/platform-api
SensateIoT.API/SensateIoT.API.Common.Data/Models/ChangePhoneNumberToken.cs
593
C#
/******************************************************************************* * Copyright 2012-2019 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...
45.864542
282
0.615445
[ "Apache-2.0" ]
5u5hma/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/DirectoryService/Basic/New-DSAlias-Cmdlet.cs
11,512
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3dtypes.h(1547,9) using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential, Pack = 4)] public partial struct _D3DSTATE { public _D3DSTATE__union_0 __union_0; public _D3DSTATE__union_1 __...
25.923077
85
0.715134
[ "MIT" ]
bbday/DirectN
DirectN/DirectN/Generated/_D3DSTATE.cs
339
C#