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 GrpcCodeFirstServer; using ProtoBuf.Grpc.Server; var builder = WebApplication.CreateBuilder(args); builder.Services.AddCodeFirstGrpc(); var app = builder.Build(); app.UseRouting(); app.UseEndpoints(enpoints => { enpoints.MapGrpcService<GreeterService>(); }); app.Run();
20.142857
49
0.762411
[ "MIT" ]
yuriy-mythical/GrpcCodefirstPlayground
GrpcCodeFirstServer/Program.cs
282
C#
using System; using Intersoft.Crosslight; using PropertyCross_Intersoft.ViewModels; using System.Reflection; namespace PropertyCross_Intersoft.Core { public class FavouriteListBindingProvider : BindingProvider { public FavouriteListBindingProvider() { ItemBindingDescription itemBin...
49.354839
153
0.711111
[ "MIT" ]
ColinEberhardt/PropertyCross
crosslight/PropertyCross_Intersoft.Core/BindingProviders/FavouriteListBindingProvider.cs
1,532
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 enable using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServic...
39.954774
195
0.60332
[ "MIT" ]
GroMaster1/coreclr
src/System.Private.CoreLib/src/System/Threading/Tasks/AsyncCausalityTracer.cs
7,951
C#
using RegisterAssemblyTypesConsole.Interfaces; using System; namespace RegisterAssemblyTypesConsole.Implementations { class Messenger : IMessenger { public void SendMessage() { Console.WriteLine("SendMessage is working!"); } } }
21.384615
57
0.672662
[ "Apache-2.0" ]
reyou/Ggg.Autofac
apps/app-docs-demo/RegisterAssemblyTypesConsole/Implementations/Messenger.cs
280
C#
namespace CustomSecurity { partial class MainForm { private System.Windows.Forms.ToolBarButton btnViewUsers; private System.Windows.Forms.ToolBarButton btnEditUsers; private System.Windows.Forms.ImageList toolBoxIcons; private System.Windows.Forms.ToolBar toolBar; private Sy...
45.468254
140
0.605865
[ "MIT" ]
Bullbushka/Lab10
Lab10/CustomSecurity/MainForm.Designer.cs
5,994
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 Microsoft.ML.Data; using Microsoft.ML.Runtime.Data; using Microsoft.ML.Runtime.Internal.Utilities; using Micro...
41.688735
163
0.522648
[ "MIT" ]
Zruty0/machinelearning
src/Microsoft.ML.Data/DataView/DataViewConstructionUtils.cs
42,189
C#
using System; namespace hiddenwasp_exploration { class Program { static void Main(string[] args) { if (args.Length < 2) { Console.WriteLine("Usage: <clean elf> <malicious elf>"); return; } ELFComparer.Compare(arg...
18.578947
72
0.470255
[ "MIT" ]
jcapellman/malware-research
hiddenwasp_exploration/Program.cs
355
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace SportUp.Migrations { public partial class AddMeetingTime : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<int>( name: "MeetingTime", tab...
25.916667
71
0.565916
[ "MIT" ]
toastmalone/SportUp
SportUp/Migrations/20200222004128_AddMeetingTime.cs
624
C#
namespace Microsoft.TemplateEngine.Core.Matching { public abstract class TerminalBase { protected TerminalBase(int tokenLength, int start, int end) { Start = start; End = end != -1 ? end : (tokenLength - 1); Length = tokenLength; } ...
24.210526
68
0.536957
[ "MIT" ]
ChadNedzlek/templating
src/Microsoft.TemplateEngine.Core/Matching/TerminalBase.cs
442
C#
namespace HDWallet.Core { public enum CoinType : uint { Bitcoin = 0, BitcoinTestnet = 1, CoinType1 = 1, Ethereum = 60, Tron = 195, Polkadot = 354, Kusama = 434, Cardano = 1815, Tezos = 1729, Avalanche = 9000, FileCoin = 461...
19.842105
32
0.477454
[ "MIT" ]
TurgutKanceltik/HDWallet
src/HDWallet.Core/CoinType.cs
377
C#
using System; using System.Configuration; using System.Windows.Forms; using DevExpress.ExpressApp; using DevExpress.ExpressApp.Security; using DevExpress.ExpressApp.Win; using DevExpress.Persistent.Base; using DevExpress.Persistent.BaseImpl; namespace LDS.Win { static class Program { /// <summary> ...
44.036364
180
0.687448
[ "Unlicense" ]
Nickautomatics/LDSXAF
LDS.Win/Program.cs
2,424
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Azure.Management.ResourceManager; using Microsoft.Azure.Management.ResourceManager.Models; using Microsoft.Azure.Management.Sql; using Microsoft....
47.867257
127
0.631355
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/sqlmanagement/Microsoft.Azure.Management.Sql/tests/ManagedInstanceCrudScenarioTests.cs
5,411
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3d12video.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Direc...
65.65
209
0.82559
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/DirectX/um/d3d12video/D3D12_FEATURE_DATA_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT.cs
1,315
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...
28.551724
102
0.649758
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Glue/Generated/Model/UpdateJobResponse.cs
1,656
C#
//------------------------------------------------------------ // Game Framework v3.x // Copyright © 2013-2018 Jiang Yin. All rights reserved. // Homepage: http://gameframework.cn/ // Feedback: mailto:jiangyin@gameframework.cn //------------------------------------------------------------ using GameFramework; using U...
26.581818
69
0.518468
[ "MIT" ]
Data-XiaoYu/UnityWorld
FlappyBird/Assets/GameFramework/Scripts/Runtime/Variable/VarTransform.cs
1,573
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; namespace Jurassic.Library { /// <summary> /// Represents a non-native CLR object instance. /// </summary> public class ClrInstanceWrapper : ObjectInstance { // INITIALIZAT...
38.738739
130
0.602558
[ "MIT" ]
kpreisser/jurassic
Jurassic/Library/ClrWrapper/ClrInstanceWrapper.cs
4,302
C#
using System; using UnityEngine; using UnityEngine.Playables; using UnityEngine.Timeline; using UnityEngine.AI; public class NavigationControlMixerBehaviour : PlayableBehaviour { public override void ProcessFrame(Playable playable, FrameData info, object playerData) { NavMeshAgent trackBinding = player...
31.342857
136
0.649043
[ "MIT" ]
JCx7/TSEiAVN
CustomTrack/NavigationControl/NavigationControlMixerBehaviour.cs
1,097
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Input; using Microsoft.MixedReality.Toolkit.Utilities; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Examp...
42.1
173
0.566678
[ "MIT" ]
BrettPyle/MapsSDK-Unity
SampleProject/Assets/MixedRealityToolkit.Examples/Demos/EyeTracking/General/Scripts/FollowEyeGaze.cs
2,949
C#
using Amw.RabbitMq.Client.Enums; using Amw.RabbitMq.Client.Model; using Amw.RabbitMq.Client.Producer; using RabbitMQ.Client; using System; using System.Collections.Generic; using System.Text; namespace Amw.RabbitMq.Client.Components { public class RabbitMQProducerFactory { /// <summary> /// 创建...
31.214286
129
0.583524
[ "MIT" ]
amwitx/Amw.Core
MessageQueue/Amw.RabbitMq.Client/Components/RabbitMQProducerFactory.cs
1,359
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Reflection; using Tensorflow; using Console = Colorful.Console; namespace TensorFlowNET.Examples { class Program { static void Main(string[] args) { var e...
37.042254
134
0.504183
[ "Apache-2.0" ]
AndreiDegtiarev/TensorFlow.NET
test/TensorFlowNET.Examples/Program.cs
2,632
C#
using System; using System.Diagnostics; using System.Text; namespace Confuser.Core.Project { internal class PatternTokenizer { private int index; private string rulePattern; public void Initialize(string pattern) { rulePattern = pattern; index = 0; } private void SkipWhitespace() { while (index...
23.052083
112
0.633077
[ "MIT" ]
codekgithub/ConfuserEx
Confuser.Core/Project/PatternTokenizer.cs
2,215
C#
/* -*- mode:CSharp; coding:utf-8-with-signature -*- */ using System.Collections; using System.Collections.Generic; using UnityEngine; [ExecuteInEditMode, RequireComponent(typeof(MeshFilter),typeof(MeshRenderer))] public class GeodegicDome : MonoBehaviour { Mesh mesh_; private Vector3[] normalize(Vector3[] verti...
23.960699
91
0.593767
[ "MIT" ]
aizwellenstan/WaveShooter
Assets/Scripts/GeodegicDome.cs
5,489
C#
using System; using System.Collections.Generic; using System.Text; using NAudio.Wave; using NAudio.Utils; using System.Diagnostics; using System.ComponentModel.Composition; namespace AudioFileInspector { [Export(typeof(IAudioFileInspector))] public class WaveFileInspector : IAudioFileInspector { p...
46.886667
156
0.56306
[ "MIT" ]
skor98/DtWPF
speechKit/NAudio-master/AudioFileInspector/FileInspectors/WaveFileInspector.cs
7,033
C#
using System; using Automated.Arca.Abstractions.Core; namespace Automated.Arca.Attributes.DependencyInjection { [AttributeUsage( validOn: AttributeTargets.Class, AllowMultiple = true )] public class InstantiatePerInjectionWithInterfaceAttribute : ProcessableWithInterfaceAttribute { public InstantiatePerInjection...
24.789474
95
0.806794
[ "MIT" ]
georgehara/Arca
Automated.Arca.Attributes.DependencyInjection/InstantiatePerInjectionWithInterfaceAttribute.cs
473
C#
#region License // // Copyright (c) 2013, Kooboo team // // Licensed under the BSD License // See the file LICENSE.txt for details. // #endregion using CookComputing.Blogger; using CookComputing.MetaWeblog; using CookComputing.XmlRpc; using Kooboo.CMS.Common.Persistence.Non_Relational; using Kooboo.CMS.Content.Mode...
38.90085
193
0.601588
[ "BSD-3-Clause" ]
ertan2002/CMS
Kooboo.CMS/Kooboo.CMS.Web/Interoperability/MetaWeblog/MetaWeblogAPIHandler.cs
13,734
C#
using Doublelives.Domain.Sys; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Doublelives.Persistence.TableBuilders { public class SysFileInfoBuilder : IEntityTypeConfiguration<SysFileInfo> { public void Configure(EntityTypeBuilder<SysFileInfo> bui...
31.446809
75
0.546008
[ "MIT" ]
lzw5399/dl-admin
dl-api-csharp/Doublelives.Persistence/TableBuilders/SysFileInfoBuilder.cs
1,544
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.AspNetCore.ApiAuthorization.IdentityServer { internal class ClientDefinition : ServiceDefinition { public string Re...
34.384615
111
0.711409
[ "Apache-2.0" ]
06b/AspNetCore
src/Identity/ApiAuthorization.IdentityServer/src/Configuration/ClientDefinition.cs
449
C#
using Microsoft.AspNetCore.Components; using PointOfSale.Model; using PointOfSale.Web.Services; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PointOfSale.Web.ComponentBaseClass { public class ListBarangBase : ComponentBase { [Inject] ...
24.956522
74
0.617596
[ "MIT" ]
pepega90/PointOfSaleBlazor
PointOfSale.Web/ComponentBaseClass/ListBarangBase.cs
1,150
C#
using System; using Xamarin.Forms.Platform.Tizen.Native; using EButton = ElmSharp.Button; using Specific = Xamarin.Forms.PlatformConfiguration.TizenSpecific.VisualElement; namespace Xamarin.Forms.Platform.Tizen { public class ButtonRenderer : ViewRenderer<Button, EButton> { public ButtonRenderer() { RegisterP...
22.797619
81
0.694256
[ "MIT" ]
AndreiMisiukevich/Xamarin.Forms
Xamarin.Forms.Platform.Tizen/Renderers/ButtonRenderer.cs
3,830
C#
using System; using XSharp; using XSharp.Assembler; using static XSharp.XSRegisters; namespace Cosmos.IL2CPU.X86.IL { /// <summary> /// Convert to unsigned int16, pushing int32 on stack. /// </summary> [OpCode(ILOpCode.Code.Conv_U2)] public class Conv_U2 : ILOp { public Conv_U2(Assembler aAsmblr) ...
30.670588
178
0.611814
[ "BSD-3-Clause" ]
xccoreco/IL2CPU
source/Cosmos.IL2CPU/IL/Conv_U2.cs
2,607
C#
// Licensed to the .NET Foundation under one or more agreements. // See the LICENSE file in the project root for more information. // // Copyright (C) 2006-2007 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated docum...
40.334795
145
0.544293
[ "MIT" ]
Drawaes/runtime
src/libraries/System.Drawing.Common/tests/Drawing2D/GraphicsPathTests.cs
110,356
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Swashbuckle.AspNetCore.Annotations; using Nmro.Security.IAM.Core.UseCases.Users.Queries; using Nmro.Security.IAM.Core.UseCases.Users.Commands; using Nmro.Security.IAM.Core.UseCases.Users.Dtos; namespace Nmro.Securit...
35.192308
118
0.670492
[ "MIT" ]
TamVoMinh/netmicro
business/security/IAM/Faces/Api/Controllers/UsersController.cs
1,830
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...
26.325
110
0.591168
[ "Apache-2.0" ]
rbx-rchall/aws-sdk-net
sdk/src/Services/CodeArtifact/Generated/AmazonCodeArtifactConfig.cs
2,106
C#
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef using NUnit.Framework; using NUnit.Framework.Interfaces; using NUnit.Framework.Internal; using NUnit.Framework.Internal.Commands; using System; using System.Diagnostics; namespace Beef.Test.NUnit { /// <summary> ///...
49.348148
201
0.613329
[ "MIT" ]
vishal-sharma/Beef
tools/Beef.Test.NUnit/TestSetUpAttribute.cs
6,664
C#
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. namespace EdFi.Ods.Admin.Services { public i...
31.133333
86
0.736617
[ "Apache-2.0" ]
gmcelhanon/Ed-Fi-ODS-1
Application/EdFi.Ods.Admin/Services/IRouteService.cs
469
C#
using System; namespace ExampleWebSite.Manage { public partial class Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) {} } }
21.625
58
0.716763
[ "BSD-2-Clause" ]
Letractively/securityswitch
ExampleWebSite/Manage/Default.aspx.cs
175
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using UnityEngine; using UnityEngine.VFX; namespace UnityEditor.VFX { class VFXUniformMapper { public VFXUniformMapper(VFXExpressionMapper mapper, bool filterOutConstants) { ...
40.792308
169
0.517254
[ "MIT" ]
jannabel/Galushi-vs-Balloons
Library/PackageCache/com.unity.visualeffectgraph@7.1.8/Editor/Compiler/VFXUniformMapper.cs
5,303
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...
31.188235
103
0.60298
[ "Apache-2.0" ]
playstudios/aws-sdk-net
sdk/src/Services/Chime/Generated/Model/CreateProxySessionRequest.cs
5,302
C#
using System; using System.IO; using Avalonia.Win32.Interop; using SharpDX.WIC; using APixelFormat = Avalonia.Platform.PixelFormat; using AlphaFormat = Avalonia.Platform.AlphaFormat; using D2DBitmap = SharpDX.Direct2D1.Bitmap; namespace Avalonia.Direct2D1.Media { /// <summary> /// A WIC implementation of a <se...
38.580808
158
0.592748
[ "MIT" ]
AU-tomata/Avalonia
src/Windows/Avalonia.Direct2D1/Media/Imaging/WicBitmapImpl.cs
7,639
C#
/* Copyright (c) 2019 Mezumona Kosaki Copyright (c) 2019 RyujuOrchestra This software is released under the MIT License. */ #if UNITY_ANDROID using System; using System.IO; using UnityEngine; namespace RyujuEngine.IO { using JavaActivity = IntPtr; using JavaAssetManager = IntPtr; using AAssetManager = IntPtr; usi...
30.128571
121
0.744903
[ "MIT" ]
mezum/RyujuEngine.IO
Runtime/AndroidAssetManager.cs
2,109
C#
using Okta.Xamarin.Demo.ViewModels; using Okta.Xamarin.Demo.Views; using System; using System.Collections.Generic; using Xamarin.Forms; namespace Okta.Xamarin.Demo { public partial class AppShell : Shell { public AppShell() { InitializeComponent(); Routing.RegisterRoute...
25.708333
82
0.654781
[ "Apache-2.0" ]
kensykora/samples-xamarin
Okta.Xamarin.Demo/AppShell.xaml.cs
619
C#
using System; using System.Data.SqlClient; using System.Reflection; using System.Linq; using System.Collections.Generic; namespace SqlMapper { [ServiceStack.DataAnnotations.Alias("Posts")] [Soma.Core.Table(Name = "Posts")] public class Post { [Soma.Core.Id(Soma.Core.IdKind.Identity)] ...
28.888199
134
0.523113
[ "Apache-2.0" ]
AdamRamdane/dapper-dot-net
Tests/Program.cs
4,653
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
38.85625
142
0.499598
[ "MIT" ]
SarensDev/squidex
src/Squidex.Domain.Apps.Core.Operations/HandleRules/Actions/AlgoliaActionHandler.cs
6,219
C#
using Microsoft.AspNetCore.Http; using System; namespace SolviaOcrMyPdf.Models { public class OcrModel { public string DestinationLanguage { get; set; } public IFormFile Image { get; set; } } }
18.666667
55
0.669643
[ "MIT" ]
itsChris/SolviaOcrMyPdf
SolviaOcrMyPdf/Models/OcrModel.cs
226
C#
using System.Collections.Generic; using System.Linq; namespace Lextm.ReStructuredText { public class Classifier { public IList<ITextArea> TextAreas; public Classifier(List<ITextArea> textAreas) { textAreas.Last().Content.RemoveEnd(); textAreas.First().Content.R...
24.615385
65
0.528125
[ "MIT" ]
lextm/restructuredtext-antlr
ReStructuredText/Classifier.cs
642
C#
using System; using System.Collections.Generic; using System.Linq; using SysAnalytics.Web.Core.ViewModels; namespace SysAnalytics.Web.ViewModels { public class GridViewModel<T> { public GridViewModel() { this.Data = new List<T>(); CreateColumns(); } pub...
39.229885
98
0.428948
[ "MIT" ]
kostyrin/SysAnalytics
SysAnalytics.Web/ViewModels/GridViewModel.cs
3,415
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Web.Mvc; using FluentValidation.Attributes; using SmartStore.Admin.Models.Stores; using SmartStore.Admin.Validators.Topics; using SmartStore.Web.Framework; using SmartStore.Web.Framework.Localization; using SmartStore.Web.Frame...
40.992188
95
0.690299
[ "MIT" ]
jenmcquade/csharp-snippets
SmartStoreNET-3.x/src/Presentation/SmartStore.Web/Administration/Models/Topics/TopicModel.cs
5,249
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Wall : MonoBehaviour { private float wallLength; private float wallAngleR; private Vector3 start; private Vector3 end; // Start is called before the first frame update void Start() { wallAn...
35.758065
100
0.633288
[ "MIT" ]
trinhthanhtrung/unity-pedestrian-rl
SocialForceModel/Wall.cs
2,219
C#
using System; using NetOffice; namespace NetOffice.ExcelApi.Enums { /// <summary> /// SupportByVersion Excel 9, 10, 11, 12, 14, 15, 16 /// </summary> ///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff196160.aspx </remarks> [SupportByVersionAttribute("Excel", 9,10,11...
29.888889
119
0.653036
[ "MIT" ]
Engineerumair/NetOffice
Source/Excel/Enums/XlAxisGroup.cs
807
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.Runtime.InteropServices; [StructLayout(LayoutKind.Explicit)] internal struct AA { [F...
23.607595
71
0.580161
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/Methodical/explicit/coverage/expl_byte_1.cs
1,865
C#
using System; using Equinor.ProCoSys.IPO.Domain.AggregateModels.PersonAggregate; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Equinor.ProCoSys.IPO.Domain.Tests.AggregateModels.PersonAggregate { [TestClass] public class SavedFilterTests { private const string TestPlant = "PCS$Plant...
34.587302
81
0.605782
[ "MIT" ]
equinor/procosys-call-for-punch-out-api
src/tests/Equinor.ProCoSys.IPO.Domain.Tests/AggregateModels/PersonAggregate/SavedFilterTests.cs
2,181
C#
// Developed by Softeq Development Corporation // http://www.softeq.com using System; using Softeq.XToolkit.Common.Disposables; using Xunit; namespace Softeq.XToolkit.Common.Tests.Disposables { public class DisposableTests { [Fact] public void Create() { var instance = Dis...
21.948718
81
0.556075
[ "MIT" ]
Softeq/XToolkit.WhiteLabel
Softeq.XToolkit.Common.Tests/Disposables/DisposableTests.cs
858
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006-2019, All rights reserved. // The software and associated documentation supplied hereunder are the // propri...
29.486486
157
0.601742
[ "BSD-3-Clause" ]
MarketingInternetOnlines/Krypton-NET-5.480
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Controls Visuals/VisualSimple.cs
4,367
C#
using System; using System.Windows; namespace ImageComparisonViewer.Common.Wpf { // http://proprogrammer.hatenadiary.jp/entry/2018/08/18/172739 public readonly struct ImmutableRect { public readonly double X; public readonly double Y; public readonly double Width; public re...
31.52
82
0.667513
[ "MIT" ]
hsytkm/ImageComparisonViewer
Source/ImageComparisonViewer.Common/Wpf/ImmutableRect.cs
790
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using VirtualLiveStudio; using VirtualLiveStudio.Shared.MessagePackObjects; public class Chat : MonoBehaviour { private ChatHub chatHub = new ChatHub(); private void Start() { chatHub.Connect(); chatHub.OnJoinA...
36.27451
129
0.680541
[ "MIT" ]
sh-akira/VirtualLiveStudio
VirtualLiveStudio-Client/Assets/Scripts/Chat.cs
1,852
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Globalization; #nullable enable namespace Microsoft.EntityFrameworkCore { /// <summary> /// <para> /// ...
43.628571
137
0.570181
[ "Apache-2.0" ]
Emill/efcore
src/EFCore/DbContextId.cs
4,581
C#
namespace Cars.Tests.JustMock.Fakes { using Cars.Models; public class FakeCar : Car { private string make; private int year; public virtual new int Id { get { return 0; } } public virtual new string Make ...
16.5625
38
0.343396
[ "MIT" ]
DragomirPetrov/TelerikAcademy
C #/QPC/01.Unit-Testing/03.Mocking/Cars/Cars.Tests.JustMock/Fakes/FakeCar.cs
797
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System.Collections.Generic; using System.Runtime.Serialization; namespace Nest { [DataContract] public cl...
26.65
76
0.757974
[ "Apache-2.0" ]
Atharvpatel21/elasticsearch-net
src/Nest/XPack/Watcher/Execution/Slack/SlackActionResult.cs
533
C#
using System; using System.Runtime.Serialization; using System.Security.Permissions; namespace Jannesen.PushNotification { [Serializable] public class PushNotificationConfigException: Exception { public PushNotificationConfigException(string message): base(message) ...
39.343137
198
0.611513
[ "Apache-2.0" ]
jannesen/Jannesen.PushNotification
Exceptions.cs
4,015
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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, co...
32.239669
105
0.753397
[ "MIT" ]
TetradogOther/SharpDevelop
src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/AssemblyInfo/AssemblyInfoPanel.xaml.cs
3,903
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
45.475806
202
0.534714
[ "MIT" ]
Philippe-Morin/azure-powershell
src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Commands/Synchronize-AzureASInstance.cs
22,063
C#
using Newtonsoft.Json; namespace AL.Data.Achievements { /// <summary> /// <inheritdoc /> /// </summary> /// <seealso cref="DatumBase{T}" /> public class AchievementsDatum : DatumBase<GAchievement> { /// <summary> /// Defeat 1,000 Bosses. /// </summary> [...
34.873418
97
0.501996
[ "MIT" ]
Sichii/ALClientCS
AL.Data/Achievements/AchievementsDatum.cs
2,757
C#
using System; using System.Security.Cryptography; using System.Text; using Amazon.DynamoDBv2.Model; using Amazon.Runtime; using Newtonsoft.Json; using OpenTracing; namespace Epsagon.Dotnet.Instrumentation.Handlers.DynamoDB.Operations { public class PutItemRequestHandler : IOperationHandler { public void...
34.405405
95
0.670071
[ "MIT" ]
epsagon/epsagon-dotnet
src/Epsagon.Dotnet.Instrumentation/Handlers/DynamoDB/Operations/PutItemRequestHandler.cs
1,273
C#
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using System.Linq.Expressions; using System.Globalization; namespace Nest { public class FilterDescriptor<T> : FilterContainer where T : class { internal IFilterContainer Self { get { return this; } } public FilterDescr...
36
187
0.72153
[ "Apache-2.0" ]
Tasteful/elasticsearch-net
src/Nest/DSL/Filter/FilterDescriptor.cs
33,230
C#
using System.Runtime.Serialization; using System.Text; using Newtonsoft.Json; namespace Frank.Libraries.Fiken.Models { /// <summary> /// /// </summary> public class InvoiceRequest { /// <summary> /// UUID are represented as 32 hexadecimal (base-16) digits, displayed in 5 groups sepa...
39.860963
223
0.556211
[ "MIT" ]
frankhaugen/Frank.Extensions
src/Frank.Libraries.Fiken/Models/InvoiceRequest.cs
7,454
C#
using MixERP.Net.FrontEnd.Base; using MixERP.Net.FrontEnd.Controls; using System; using System.Collections.Generic; using System.Collections.ObjectModel; namespace MixERP.Net.Core.Modules.Sales.Reports { public partial class SalesOrderReport : MixERPUserControl { public override void OnControlLoad(obj...
35.407407
111
0.64749
[ "MPL-2.0" ]
asine/mixerp
src/FrontEnd/Modules/Sales/Reports/SalesOrderReport.ascx.cs
958
C#
using System; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Logging; using NLog.Web; namespace RecipeBook.Api { public class Program { public static void Main(string[] args) { // NLog: setup the logger first to catch all errors ...
31.181818
127
0.539359
[ "MIT" ]
XardasLord/RecipeBook
RecipeBook.Api/Program.cs
1,374
C#
using Abp.Domain.Entities; using Abp.Events.Bus.Entities; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Abp.EntityHistory { [Table("AbpEntityChanges")] public class EntityChange : Entity<Guid>, IMayHav...
27.9
86
0.580133
[ "MIT" ]
aprognimak/aspnetboilerplate
src/Abp/EntityHistory/EntityChange.cs
1,955
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 ...
37.355263
118
0.587883
[ "Apache-2.0" ]
0xFireball/exascript2
Src/IronPython/Runtime/Types/PythonTypeWeakRefSlot.cs
2,839
C#
using HidApiSharp; namespace JoyConSharp { public sealed class JoyConManager : IDisposable { public readonly Dictionary<string, JoyCon> JoyCons = new(); public event Action<JoyCon> Connected = delegate { }; public event Action<JoyCon> Disconnected = delegate { }; readonly Canc...
33.766234
153
0.466923
[ "MIT" ]
chiepomme/NonDominant
JoyConSharp/Source/JoyCon/JoyConManager.cs
2,602
C#
//------------------------------------------------------------------------------ // <copyright file="ApplicationManager.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ namespace ...
51.460237
435
0.585035
[ "Apache-2.0" ]
Distrotech/mono
external/referencesource/System.Web/Hosting/ApplicationManager.cs
91,239
C#
#region using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Reflection; using System.Text.RegularExpressions; using System.Threading.Tasks; using Convex.Base.Calculator; using Convex.Core; using Convex.Core.Net; using Convex.Event; using Convex.Plugin; using Con...
43.217726
309
0.575613
[ "MIT" ]
SemiViral/Convex
Convex.Base/Base.cs
22,456
C#
using System.Text; using Util.Datas.Matedatas; using Util.Datas.Sql.Queries.Builders.Abstractions; using Util.Datas.Sql.Queries.Builders.Core; namespace Util.Datas.Dapper.MySql { /// <summary> /// MySql Sql生成器 /// </summary> public class MySqlBuilder : SqlBuilderBase { /// <summary> //...
31.983333
144
0.569567
[ "MIT" ]
VAllens/Util
src/Util.Datas/Dapper/MySql/MySqlBuilder.cs
2,007
C#
using System; using System.Collections.Generic; using System.Text; using MHUrho.Logic; using Urho; namespace MHUrho.PathFinding { public interface ITileNode : INode { ITile Tile { get; } /// <summary> /// Gets the position of the edge between this tile and the <paramref name="other"/> tile /// </summ...
24.952381
91
0.704198
[ "MIT" ]
MK4H/MHUrho
MHUrho/MHUrho/PathFinding/ITileNode.cs
526
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 09.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
26.70073
149
0.533898
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/Equal/Complete2__objs/NullableDouble/NullableSingle/TestSet_504__param__04__NN.cs
3,660
C#
using FilmWebAPI.Models; using Newtonsoft.Json.Linq; using System; using System.Linq; using System.Net.Http; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace FilmWebAPI.Requests.Get { public class GetBornTodayPersons : RequestBase<PersonBirthdate[]> { public Ge...
37.511628
112
0.536888
[ "MIT" ]
Sunnyline2/FilmWeb-API
src/FilmWebAPI/Requests/Get/GetBornTodayPersons.cs
1,615
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
27.358974
153
0.522024
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/model/WindowsInformationProtectionPinCharacterRequirements.cs
1,067
C#
using System.Numerics; namespace _14_CornellBoxONBScatterFunction { public class Ray { private Vector3 orig; private Vector3 dir; private float tm; public Vector3 Origin => this.orig; public Vector3 Direction => this.dir; public float Time => this.tm; ...
20.517241
60
0.517647
[ "MIT" ]
Jorgemagic/RaytracingTheRestOfYourLife
14-CornellBoxONBScatterFunction/Ray.cs
597
C#
// <auto-generated /> using System; using HealthPairDataAccess.DataModels; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Me...
40.94152
128
0.304353
[ "MIT" ]
2002-feb24-net/HealthPair-API
HealthPairService/HealthPairDataAccess/Migrations/20200512180753_migrationname.Designer.cs
63,015
C#
namespace Altairis.Services.Mailing.SendGrid { public class SendGridMailerServiceOptions : MailerServiceOptions { public string ApiKey { get; set; } } }
21.5
70
0.715116
[ "MIT" ]
ridercz/Altairis.Services.Mailing
Altairis.Services.Mailing.SendGrid/SendGridMailerServiceOptions.cs
174
C#
using System.Collections.Generic; using System.IO; using System.Net; using Arbor.KVConfiguration.Core; using Arbor.KVConfiguration.Microsoft.Extensions.Configuration.Urns; using Autofac; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Server.Kestrel.Core; using Microsoft.Extensions.Configuration; using M...
42.087379
123
0.562399
[ "MIT" ]
milou-se/milou.deployer.web
src/Milou.Deployer.Web.IisHost/AspNetCore/CustomWebHostBuilder.cs
4,335
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FlyingObject : GravityBody { PlayerController player; bool hasInteracted = false; protected override void Start() { base.Start(); player = GameObject.FindGameObjectWithTag("Player").GetComp...
27.285714
131
0.662827
[ "MIT" ]
celinehsieh68/Non_Eclidian_Geometry
Assets/_Script/FlyingObject.cs
957
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using static System.BitConverter; namespace Microsoft.Data.Encryption.Cryptography.Serializers { /// <inheritdoc/> public class DateTimeOffsetSerializer : Serializer<DateTimeOffset> { private static readonly Dat...
37.105263
97
0.652955
[ "MIT" ]
Xtrimmer/SqlClient
src/Microsoft.Data.Encryption/src/Microsoft/Data/Encryption/Cryptography/Serializers/StandardSerializers/DateTimeOffsetSerializer.cs
2,117
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using NetOffice; namespace NetOffice.MSHTMLApi { ///<summary> /// DispatchInterface DispHTMLAreaElement ...
26.163458
229
0.676458
[ "MIT" ]
Engineerumair/NetOffice
Source/MSHTML/DispatchInterfaces/DispHTMLAreaElement.cs
127,730
C#
using System; #nullable disable namespace IdentityServer.Domain.DataTransferObjects { public partial class TblApplicationLog { public long Id { get; set; } public long? AppId { get; set; } public short? Severity { get; set; } public string Message { get; set; } public ...
25.45
55
0.618861
[ "MIT" ]
kaizendevsio/XFramework
XFramework/XFramework.Subsystems/XFramework.IdentityServer/Server/IdentityServer.Domain/DataTransferObjects/TblApplicationLog.cs
511
C#
using System; using System.Runtime.InteropServices; namespace ShellProgressBar { public static class TaskbarProgress { public enum TaskbarStates { NoProgress = 0, Indeterminate = 0x1, Normal = 0x2, Error = 0x4, Paused = 0x8 } [ComImport()] [Guid("ea1afb91-9e28-4b86-90e9-9e9f8a5eefaf")] [...
23.626667
102
0.73702
[ "MIT" ]
Skippeh/Oxide.GettingOverItMP
GettingOverItMP.Updater/ShellProgressBar/TaskbarProgress.cs
1,774
C#
using XFramework.Domain.Generic.BusinessObjects; namespace Records.Api.Options { public class JwtOptions : JwtOptionsBO { } }
15.555556
49
0.728571
[ "MIT" ]
kaizendevsio/XFramework
XFramework/XFramework.Subsystems/XFramework.Records/Records.Api/Options/JwtOptions.cs
142
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <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 regenerate...
19.123894
115
0.606201
[ "MIT" ]
tiefenauer/MyStoryboardApp
MyStoryboardApp/MyStoryboardApp.Droid/Resources/Resource.designer.cs
2,161
C#
// Copyright (c) Edgardo Zoppi. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. using Backend.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Model.ThreeAddressCode.Instructions; using Model.ThreeAd...
24.619048
149
0.680045
[ "MIT" ]
garbervetsky/analysis-net
Backend/Analyses/ReachingDefinitionsAnalysis.cs
6,206
C#
namespace MassTransit.Tests.Initializers { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using InitializerTestMessages; using MassTransit.Initializers; using Metadata; using NUnit.Framework; using TestFramework...
33.316832
134
0.564636
[ "ECL-2.0", "Apache-2.0" ]
ArmyMedalMei/MassTransit
src/MassTransit.Tests/Initializers/MessageInitializer_Specs.cs
16,825
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RigidCharacterController : MonoBehaviour { [SerializeField] private float m_moveSpeed = 2; [SerializeField] private float m_turnSpeed = 200; [SerializeField] private float m_jumpForce = 4; [SerializeField] priv...
28.951724
112
0.602668
[ "MIT" ]
OGWChurchPuzzlers/OGWChurchPuzzler
Assets/Character/Scripts/RigidCharacterController.cs
4,200
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SoundPlayer : MonoBehaviour { public List<AudioClip> Audio1; public List<AudioClip> Audio2; void Start() { } // Update is called once per frame void Update() { } ...
18.78125
99
0.638935
[ "MIT" ]
popote1/LaJamDuLundi1
Assets/scripte/SoundPlayer.cs
601
C#
using AmbientSounds.Constants; using AmbientSounds.Models; using Microsoft.Toolkit.Diagnostics; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace AmbientSounds.Services { /// <summary> /// Class for deciphering url and performing /// its actions. /// </summ...
32.177778
100
0.560773
[ "MIT" ]
JUV-Studios/ambie
src/AmbientSounds/Services/LinkProcessor.cs
2,898
C#
using System.Text; using System.Diagnostics; using UnityEngine; namespace CommandTerminal { public static class BuiltinCommands { [RegisterCommand(Help = "Does nothing")] static void CommandNoop(CommandArg[] args) { } [RegisterCommand(Help = "Clears the Command Console", MaxArgCount = ...
31.621359
115
0.538839
[ "Apache-2.0" ]
MafiaHub/MafiaUnity
Assets/Third Party Assets/command_terminal-master/CommandTerminal/BuiltinCommands.cs
3,257
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
28.892857
99
0.699629
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Compute/V20150615/Outputs/WinRMConfigurationResponse.cs
809
C#
using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; using UnityEngine.SceneManagement; public class GameManager : MonoBehaviour { #region Properties /// <summary> /// Référence au GameManager /// </summary> private static GameManager _instance; /// <...
29.945946
156
0.602437
[ "MIT" ]
f1dhounk/Capitain-CVM-1
Assets/Scripts/GameManager.cs
4,443
C#
using FluentAssertions; using System; using Xunit; namespace Eris.Packets.Test.PacketReaderTests { public class ReadInt16Tests { private readonly byte[] _data = new byte[] { 1, 2, 3, 4 }; [Fact] public void Read_Int16_Should_Be_Of_Type_Short() { using (var reader =...
23.706897
66
0.488
[ "MIT" ]
wazowsk1/eris-packets
test/Eris.Packets.Test/PacketReaderTests/ReadInt16Tests.cs
1,377
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...
41
193
0.640297
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Lightsail/Generated/Model/Internal/MarshallTransformations/DeleteContainerImageResponseUnmarshaller.cs
4,715
C#
using System; namespace MSFSTouchPortalPlugin.Attributes { internal class TouchPortalActionMappingAttribute : Attribute { public string ActionId; public string[] Values; public TouchPortalActionMappingAttribute(string actionId, string value) { ActionId = actionId; Values = new [] { value };...
26.263158
87
0.689379
[ "MIT" ]
Touch-Portal-MSFS/MSFSTouchPortalPlugin
MSFSTouchPortalPlugin/Attributes/TouchPortalActionMappingAttribute.cs
501
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Formats.Red.Records.Enums; namespace GameEstate.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class CStorySceneOutputBlock : CStorySceneGraph...
33.2
134
0.742169
[ "MIT" ]
smorey2/GameEstate
src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/CStorySceneOutputBlock.cs
830
C#