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.Linq; using System.Text; using System.Threading.Tasks; namespace BorsukSoftware.ObjectGraph.ObjectBuilders { /// <summary> /// Standard implementation of <see cref="IDependency{T}"/> /// </summary> /// <typeparam name="TAddress">The type of the address<...
28.702128
106
0.716086
[ "MIT" ]
borsuksoftware/ObjectGraph
ObjectGraph.Core/ObjectBuilders/Dependency.cs
1,351
C#
namespace Qooba.Framework.Abstractions { public interface IModuleProvider { IModule GetModule(string name); } }
16.625
39
0.684211
[ "MIT" ]
qooba/Qooba.Framework
src/Qooba.Framework.Abstractions/IModuleProvider.cs
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 ...
14.10728
63
0.543726
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-outboundbot/OutboundBot/Model/V20191226/ListTagsResponse.cs
3,682
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
36.4
150
0.57808
[ "ECL-2.0", "Apache-2.0" ]
wgarcia79/pulumi-aws
sdk/dotnet/Schemas/Registry.cs
6,916
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace ServiceStack.OrmLite.Dapper { public static partial class SqlMapper { private sealed class DapperRow : System.Dynamic.IDynamicMetaObjectProvider , IDictionary<string, object> ...
35.34
119
0.479457
[ "MIT" ]
DimChumHaul/TingRUI.PCV3
Src/Lib/Orm/ServiceStack.OrmLite-V5.5/Dapper/SqlMapper.DapperRow.cs
8,837
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace LoRaWan.Tests.E2E { using System; using System.Globalization; using System.Threading.Tasks; using LoRaWan.Tests.Common; using Xunit; u...
50.084362
356
0.655561
[ "MIT" ]
Mandur/iotedge-lorawan-starterk
Tests/E2E/ABPTest.cs
24,341
C#
 using Contensive.Models.Db; using Contensive.Processor; using Contensive.Processor.Controllers; using Contensive.Processor.Models.Domain; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Linq; using static Tests.TestConstants; namespace Tests { [TestClass] public class EmailCont...
55.86014
214
0.581685
[ "Apache-2.0" ]
contensive/Contensive5
source/ProcessorTests/Email/emailControllerTests.cs
15,978
C#
using RayTracingTutorial05.Structs; using System; using System.Threading; using Vortice.Direct3D12; using Vortice.Direct3D12.Debug; using Vortice.DXGI; using Vortice.Mathematics; namespace RayTracingTutorial05.RTX { public class D3D12GraphicsContext { public int kDefaultSwapChainBuffers = 2; ...
43.452381
242
0.663196
[ "MIT" ]
Jorgemagic/CSharpDirectXRaytracing
05-ShaderTable/RTX/D3D12GraphicsContext.cs
5,477
C#
using AutoMapper; using Microsoft.EntityFrameworkCore; using MyDiet.Business.IRepository; using MyDiet.Data; using MyDiet.Models; using MyDiet.Models.Dtos; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MyDiet.Business { public class MealRepository : IMe...
30.15873
138
0.561579
[ "MIT" ]
FrancescoRepo/MyDiet
MyDiet/Business/MealRepository.cs
3,802
C#
/************************************************************************* * Copyright 2010-2013 Eucalyptus Systems, Inc. * * Redistribution and use of this software in source and binary forms, * with or without modification, are permitted provided that the following * conditions are met: * * Redistrib...
44.675
76
0.68047
[ "BSD-2-Clause" ]
sjones4/windows-integration
EucaCommon/Utility/IManagedThread.cs
1,789
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 regenerat...
37.436404
360
0.557319
[ "MIT" ]
ErrCode/Zyan.Core.LocalIPC
branches/withoutremoting/Zyan.Tests.InterLinq/Artefacts/EntityFramework4/Company.Designer.cs
34,144
C#
using System; namespace SSA { class Test { static void empty () { } static int ret_int () { return 1; } static int simple_add (int a) { int b = 5; return a + b; } static int cmov (int a) { return a >= 10? 1: 2; } static int many_shifts (int a, int b, int c) { return a << b << c << ...
23.641834
49
0.315841
[ "Apache-2.0" ]
121468615/mono
mono/mini/test.cs
8,251
C#
using kadynsWOTRMods.Config; using kadynsWOTRMods.Extensions; using kadynsWOTRMods.Utilities; using Kingmaker.Blueprints; using Kingmaker.Blueprints.Classes; using Kingmaker.Blueprints.Classes.Prerequisites; using Kingmaker.Blueprints.Items; using Kingmaker.Designers.Mechanics.Facts; using Kingmaker.UnitLogic.Alignmen...
56.927711
161
0.673228
[ "MIT" ]
factubsio/kadynsWoTRMods
kadynsWOTRMods/Tweaks/Deities/Apsu.cs
9,452
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ #pragma war...
47.046218
159
0.647495
[ "MIT" ]
Himmelt/VassAddIn
VassAddIn/ThisAddIn.Designer.cs
11,305
C#
using PimApi.ConsoleApp.Renderers.Property; using PimApi.Entities; using System.ComponentModel.DataAnnotations; using System.Net.Http; namespace PimApi.ConsoleApp.Queries.Property { [Display( GroupName = nameof(Property), Order = 300, Description = "Shows properties")] public class Get...
32.068966
110
0.650538
[ "Apache-2.0" ]
episerver/pim-api
src/PimApi.ConsoleApp/Queries/Property/GetProperties.cs
932
C#
using Framework.Core.Common.Models; using Framework.Core.Exceptions; using System; namespace Framework.Core.Extensions { public static class ValidationExtensions { public static void IsNotNotOrEmpty<TException>(this string str, string errorMessage) where TException : AggregateValidationException ...
38.848485
159
0.682527
[ "MIT" ]
RezaPouya/ModularMonolithApp
0_frameworks/Framework.Core/Extensions/ValidationExtensions.cs
1,284
C#
/*The MIT License (MIT) Copyright (c) 2014 PMU Staff 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, merge, pub...
40.085911
169
0.490527
[ "MIT" ]
PMUniverse/PMU-Client
Client/Menus/mnuMoveRecall.cs
11,667
C#
using System; using System.Collections.Generic; using System.Text; using FlubuCore.Context; using FlubuCore.Tasks; using FlubuCore.Tasks.Process; namespace FlubuCore.Azure.Tasks.Ad { public partial class AzureAdGroupCreateTask : ExternalProcessTaskBase<AzureAdGroupCreateTask> { /// <summary...
25.105263
98
0.60587
[ "MIT" ]
flubu-core/FlubuCore.Azure
FlubuCore.Azure/Tasks/Ad/AzureAdGroupCreateTask.cs
954
C#
namespace PhotoShare.Client.Core.Commands { using System; using System.Linq; using PhotoShare.Client.Utilities; using PhotoShare.Data; using PhotoShare.Models; public class CreateAlbumCommand : ICommand { public string Execute(string[] data) { var username = dat...
30.928571
99
0.443803
[ "MIT" ]
vpaleshnikov/SoftUni-CSharpDBFundamentalsModule
Databases Advanced - Entity Framework/07. Best Practices and Architecture/PhotoShare/PhotoShare.Client/Core/Commands/CreateAlbumCommand.cs
2,600
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Lpp.Dns.DataMart.Client { public partial class OutputPathSelectionForm : Form { ...
31.675
171
0.587609
[ "Apache-2.0" ]
Missouri-BMI/popmednet
Lpp.Adapters/Lpp.Dns.DataMart.Client/Forms/OutputPathSelectionForm.cs
2,536
C#
using Alex.Networking.Java.Packets.Play; using Alex.Worlds; using ConcreteMC.MolangSharp.Attributes; namespace Alex.Entities.Passive { public abstract class ChestedHorse : AbstractHorse { /// <inheritdoc /> [MoProperty("is_chested")] public override bool IsChested { get { return base.IsChested; ...
19.391304
61
0.656951
[ "MPL-2.0" ]
ConcreteMC/Alex
src/Alex/Entities/Passive/ChestedHorse.cs
892
C#
namespace SiteConstructor.Framework.Table { public class Sort { public string Predicate { get; set; } public bool Reverse { get; set; } } }
17
45
0.605882
[ "MIT" ]
LeshaOrlov/SiteConstructor
SiteConstructor.Framework/SmartTable/Sort.cs
172
C#
using Extensions.Enums; using Extensions.ListViewHelp; using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; namespace Extensions { /// ...
51.323432
185
0.534178
[ "MIT" ]
pfthroaway/Backup
Extensions/Functions.cs
15,553
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: AssemblyTi...
39.486486
85
0.730322
[ "BSD-3-Clause" ]
TellagoDevLabs/Hermes
src/RestService.Tests/Properties/AssemblyInfo.cs
1,464
C#
namespace Blog.Data.Repositories.MailLists { using Models.Emails; using DataAccess; using Data.Base; public interface IMailListRepository : IRepository<MailList>, ITransientRepository { } }
19.636364
86
0.722222
[ "MIT" ]
KaloyanIT/BlogSystem
src/Blog.Data.Repositories/MailLists/IMailListRepository.cs
218
C#
using System; using System.Buffers; using System.Runtime.CompilerServices; #if NETCOREAPP using System.Runtime.Intrinsics.X86; #endif using Quickenshtein.Internal; namespace Quickenshtein { /// <summary> /// Quick Levenshtein Distance Calculator /// </summary> public static partial class Levenshtein { #if NETSTA...
30.959538
154
0.722741
[ "MIT" ]
Daniel-Svensson/Quickenshtein
src/Quickenshtein/Levenshtein.cs
5,358
C#
using System.Runtime.InteropServices; namespace X86Sharp { [StructLayout(LayoutKind.Sequential)] public struct GDT { private ushort _limit1; private ushort _base1; private byte _base2; private sbyte _access; private sbyte _limit2AndFlags; private byte _base3...
25.27451
72
0.496509
[ "MIT" ]
20chan/X86Sharp
X86Sharp/GDT.cs
2,580
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text.Json.Serialization; using EntityConfiguration.Entities.Base; using EntityConfiguration.Entities.Owned; namespace EntityConfiguration.Entities { [Table("Products", Sche...
35.828571
79
0.739234
[ "BSD-3-Clause", "MIT" ]
RomitMehta/presentations
DOTNETCORE/Channel9_EFCoreShows/EntityFrameworkCoreExamples/DbContextConfiguration/Entities/Product.cs
1,256
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// alipay.ins.data.dsb.estimate.sync /// </summary> public class AlipayInsDataDsbEstimateSyncRequest : IAlipayRequest<AlipayInsDataDsbEstimateSyncResponse> { ...
23.507246
107
0.537916
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Request/AlipayInsDataDsbEstimateSyncRequest.cs
3,266
C#
using System; using System.Collections.Generic; public static class ArmstrongNumbers { public static bool IsArmstrongNumber(int number) { string numberString = number.ToString(); double sum = 0; foreach (char n in numberString) { sum += (int)Math.Pow((int)char.GetN...
22.555556
84
0.62069
[ "MIT" ]
jjkeyser/exercism
csharp/armstrong-numbers/ArmstrongNumbers.cs
408
C#
// Copyright (c) 2022 TrakHound Inc., All Rights Reserved. // This file is subject to the terms and conditions defined in // file 'LICENSE', which is part of this source code package. using MTConnect.Devices.References; namespace MTConnect.Devices.Xml { /// <summary> /// DataItemRef XML element is a pointer ...
32.666667
168
0.640306
[ "Apache-2.0" ]
TrakHound/MTConnect
src/MTConnect.NET-XML/Devices/Xml/XmlDataItemReference.cs
1,176
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...
53.656915
224
0.671772
[ "Apache-2.0" ]
DalavanCloud/aws-sdk-net
sdk/src/Services/Batch/Generated/_bcl45/AmazonBatchClient.cs
60,525
C#
/** * The MIT License * Copyright (c) 2016 Population Register Centre (VRK) * * 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 right...
42.372093
152
0.751921
[ "MIT" ]
MikkoVirenius/ptv-1.7
src/PTV.Database.DataAccess/EntityCloners/ServiceLawCloner.cs
1,822
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Microsoft.Speech.Recognition; // namespace usado pra o reconhecimento de voz, Microsoft Speech Serv...
27.863636
120
0.588907
[ "MIT" ]
mobassistente/MOB
MOB/MOB/Form1.cs
2,456
C#
using System.Linq; using Xunit; namespace Tests { public class Array { [Fact] public void Test() { char[] characters = new char[5]; char[] characters1 = new char[] { 'a', 'b', 'c' }; char[] characters2 = { 'a', 'b', 'c' }; Ass...
23.458333
62
0.440497
[ "MIT" ]
orlicekm/CsharpCourse
Lectures/Lecture01/Assets/sln/Tests/Array.cs
563
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("Asp...
38.324324
84
0.749647
[ "MIT" ]
bbishwokarma/AspNet.Mvc.ReturnUrl
AspNet.Mvc.RedirectAssist/Properties/AssemblyInfo.cs
1,421
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using System.IO; using System.Xml.Linq; using AdamsLair.WinForms.ItemModels; using Duality; using Duality.IO; using Duality.Resources; using TextRenderer = Duality.Components.Renderers.TextRenderer; using Duality.Editor; u...
29.953975
107
0.711971
[ "MIT" ]
Barsonax/duality
Source/Plugins/EditorBase/EditorBasePlugin.cs
7,161
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.Security.Cryptography; using Duende.IdentityServer.Configuration; using Duende.IdentityServer.Services; using Duende.IdentityServer.Stores; using Microsoft.AspNetCore.Ap...
40.772152
152
0.678982
[ "MIT" ]
Akarachudra/kontur-aspnetcore-fork
src/Identity/ApiAuthorization.IdentityServer/test/Authentication/IdentityServerJwtBearerConfigurationTest.cs
6,442
C#
using System.Collections.Generic; using System; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace AndroidExplorer { internal class RootNode : TreeNode { private static Regex _device_list_pattern; private DateTime _expred_date_time; ...
39.71
266
0.47998
[ "MIT" ]
rougemeilland/androidexplorer
AndroidExplorer/RootNode.cs
3,973
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; using System.Text; public class ComboText : MonoBehaviour { [SerializeField] AnimationClip animClip; TextMeshPro comboText; [HideInInspector] public Transform myTransform; [HideInInspector] public GameObject my...
24.027027
67
0.685039
[ "MIT" ]
ansohxxn/tidy_mommy_3
Assets/Script/UI/Text/ComboText.cs
891
C#
using Prism.Mvvm; using System; using System.Collections.Generic; using System.Text; namespace JacksonVeroneze.Shopping.ViewModels { public class ViewModelState : BindableBase { private bool _hasNetworkAccess = false; public bool HasNetworkAccess { get => _hasNe...
25.758621
62
0.47568
[ "MIT" ]
dorisoy/Shopping
JacksonVeroneze.Shopping/JacksonVeroneze.Shopping/ViewModels/ViewModelState.cs
2,243
C#
using Protocol; using View.UI.Wins; namespace View.Net { public static class PResultUtils { public static string GetErrorMsg( PResult result ) { return result.ToString();//todo } public static void ShowAlter( PResult result ) { if ( result != PResult.SUCCESS ) Windows.ALERT_WIN.Open( GetErrorMs...
18.052632
52
0.688047
[ "MIT" ]
niuniuzhu/Lockstep
Project/View/Net/PResultUtils.cs
345
C#
using System; using FarseerPhysics.Dynamics; using FarseerPhysics.Factories; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; namespace app.Desktop { public class Game1 : Game { private GraphicsDeviceManager graphics; private InputHelper inputHelpe...
36.992063
155
0.663162
[ "MIT" ]
Alemkin/monogame-platformer
app/Game1.cs
9,324
C#
using System.Threading.Tasks; namespace Pathfinder.Application.BuildingTools { /// <summary> /// Represents an abstract code runner /// </summary> public interface IRunner { /// <summary> /// Executes <paramref name="compiledAssembly"/> with the <paramref name="arguments"/> and...
43.294118
102
0.639946
[ "MIT" ]
RomanEmreis/pathfinder
Pathfinder/Application/BuildingTools/IRunner.cs
738
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.Runtime.CompilerServices; namespace System.Reflection.Metadata.Ecma335 { internal static class HasConstantTag { internal const int NumberOfBits = 2; ...
35.754386
142
0.604024
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/Internal/HasConstantTag.cs
2,038
C#
using System; using System.Collections.Generic; using System.Text; namespace BapesTwitterBot.Domain.Models { public class TwitterAppSettings { public TwitterAppSettings(string key, string secret) { Key = key; Secret = secret; } public string Key { get; ...
18.095238
60
0.6
[ "MIT" ]
BillChirico/BapesTwitterBot
src/BapesTwitterBot.Domain/Models/TwitterAppSettings.cs
382
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...
35.140704
177
0.590162
[ "Apache-2.0" ]
mahanthbeeraka/dataservices-sdk-dotnet
AWSSDK/Amazon.Redshift/Model/ClusterSubnetGroup.cs
6,993
C#
using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Dfinity.Blazor.SampleApp.Pages { public partial class Index { [Inject] public DfinityService DfinityService { get; set; } = default!; publi...
26.752577
79
0.549904
[ "MIT" ]
michielpost/Dfinity.Blazor
src/Dfinity.Blazor.SampleApp/Pages/Index.razor.cs
2,597
C#
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using System; using System.Threading.Tasks; using Localist.Server.Services; using Localist.Shared; namespace Localist.Server.Controllers { [Route("api/[controller]")] [ApiController] public clas...
34.341463
127
0.612216
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
mark-rafter/Localist
Server/Controllers/AccountController.cs
2,818
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Resources; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Ruler.NetCore { public sealed class MainForm : Form { ...
29.683406
131
0.443031
[ "MIT" ]
EdiWang/Ruler
src/Ruler.NetCore/MainForm.cs
13,597
C#
using System; using System.Collections.Generic; namespace KubeSampleApi.Models { public partial class ProductModel { public ProductModel() { Products = new HashSet<Product>(); ProductModelProductDescriptions = new HashSet<ProductModelProductDescription>(); } ...
30.333333
104
0.653846
[ "MIT" ]
comfycoder/azure-kubernetes-sample
KubeSampleApi/Models/ProductModel.cs
730
C#
using IvmpDotNet.SDK; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IvmpDotNet.Imports; namespace IvmpDotNet.Wrappings { public class ScriptManager : IScriptManager { public bool LoadScript(string szScript) { return Sc...
29.958333
68
0.680111
[ "MIT" ]
purm/IvmpDotNet
IvmpDotNet.Core/Wrappings/ScriptManager.cs
1,440
C#
using System.Reflection; using System.Text; namespace Classes.Models { internal class GSM { private static GSM iPhone4S; private string model; private string manufacturer; private string owner; private Battery battery; private Display display; public s...
20.594828
136
0.405609
[ "MIT" ]
orlindraganov/TAADefiningClasses
Classes/Models/GSM.cs
2,391
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bbt.Campaign.Core.DbEntities { public class CustomerReportDetailEntity { public string? CampaignCode { get; set; } //"campaignCode": "1", public string? CampaignName { ...
53.205882
103
0.640133
[ "MIT" ]
hub-burgan-com-tr/bbt.loyalty
src/Bbt.Campaign.Api/Bbt.Campaign.Core/DbEntities/CustomerReportDetailEntity.cs
1,811
C#
using System; using System.ComponentModel; using Tizen.NUI.Binding; using Tizen.NUI.Binding.Internals; namespace Tizen.NUI.Xaml { /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] [ContentProperty("Key")] ...
43.771429
121
0.686684
[ "Apache-2.0", "MIT" ]
Ali-Alzyoud/TizenFX
src/Tizen.NUI/src/public/Xaml/MarkupExtensions/DynamicResourceExtension.cs
1,532
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; namespace KubeClient.Models { /// <summary> /// Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling. /// </summary> public partial class HostPathVolumeSourceV1 ...
33.44
145
0.619617
[ "MIT" ]
AndreasBieber/dotnet-kube-client
src/KubeClient/Models/HostPathVolumeSourceV1.cs
836
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using playground.Data; namespace playground.Migrations { [DbContext(typeof(Datab...
32.022388
75
0.451876
[ "MIT" ]
MTokarev/playground
playground/Migrations/20210203115418_AddindUserActionKeys.Designer.cs
4,293
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4beta1/filters.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections;...
40.486427
517
0.677223
[ "Apache-2.0" ]
mikelehen/google-cloud-dotnet
apis/Google.Cloud.Talent.V4Beta1/Google.Cloud.Talent.V4Beta1/Filters.cs
184,942
C#
using DG.Tweening; using TMPro; using UnityEngine; [RequireComponent(typeof(CanvasGroup))] public class StatsLine : MonoBehaviour { [SerializeField] FadeZoom fadeZoom; [SerializeField] TMP_Text valueText; [SerializeField] float textTransitionDuration = 1f; public Tween Transiti...
27.595238
82
0.531493
[ "MIT" ]
maksmaisak/Saxion_Y2Q2_Indie_Game
Assets/_Own/Scripts/HUD/StatsLine.cs
1,159
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BookListRazor.Model; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using...
32.301587
143
0.638821
[ "Apache-2.0" ]
DevinDai13/Book-List-Razor
BookListRazor/Startup.cs
2,035
C#
using System; using HdrHistogram.Utilities; namespace HdrHistogram { /// <summary> /// Exposes methods to write values to a <see cref="ByteBuffer"/> with ZigZag LEB-128 encoding. /// </summary> public static class ZigZagEncoding { /// <summary> /// Writes a 64 bit integer (<see cre...
40.257576
115
0.262514
[ "CC0-1.0" ]
LeeCampbell/HdrHistogram.NET
src/HdrHistogram/ZigZagEncoding.cs
5,316
C#
using Domain.Enums; using DomainBase; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; namespace Domain.Entities { /// <summary> /// 账号领域实体 /// </summary> public class Account : Entity, IAggregateRoot { ...
30.036036
135
0.494901
[ "MIT" ]
dorisoy/EshopSample
Services/AccountService/Domain/Entities/Account.cs
3,558
C#
// Doc/Reference/Reset-Management.md #if !(UNITY_EDITOR || DEBUG) #define AL_OPTIMIZE #endif namespace Active.Core.Details{ public readonly struct Reckoning{ #if !AL_OPTIMIZE internal readonly CallInfo callInfo; #endif internal readonly ReCon.Context context; public Reckoning(bool arg, ReCon stac...
21.447368
58
0.61227
[ "MIT" ]
eelstork/PuP
Assets/ActiveLogic/Src/Core/Details/Reckoning.cs
815
C#
using System; using System.Threading.Tasks; namespace SharpRemote.Attributes { /// <summary> /// This attribute can be applied to methods with a return type of <see cref="Void"/> /// in order to indicate that it should behave exactly like a method that returns <see cref="Task"/>: /// The method is dispatched asyn...
36.647059
102
0.741573
[ "MIT" ]
JTOne123/SharpRemote
SharpRemote/Attributes/AsyncRemoteAttribute.cs
625
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Metadata.Internal; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage; ...
30.66443
117
0.481506
[ "Unlicense" ]
Mujtaba-Biyabani/Research
ASP.Net/ASPNetCoreGraphQL/src/backend/NHLStats.Data/Migrations/20180422144312_InitDB_20182204_214306.Designer.cs
4,571
C#
using System; using System.Collections.Generic; using CanvasApi.Client.Assignments.Models; using CanvasApi.Client.Assignments.Models.Concretes; using CanvasApi.Client.Courses.Models; using CanvasApi.Client.Users.Models; using CanvasApi.Client.Users.Models.Concretes; namespace CanvasApi.Client.Submissions.Models.Concr...
37.290909
98
0.649439
[ "MIT" ]
dbagnoli/CanvasApi
CanvasApi.Client/Submissions/Models/Concretes/Submission.cs
2,053
C#
#region Copyright //======================================================================================= // Microsoft Azure Customer Advisory Team // // This sample is supplemental to the technical guidance published on my personal // blog at http://blogs.msdn.com/b/paolos/. // // Author: Paolo Salvatori //=====...
63.005587
165
0.633534
[ "Apache-2.0" ]
MaximPopov/ServiceBusExplorer
src/ServiceBusExplorer/Forms/CollectionEditorForm.Designer.cs
11,280
C#
using AppDynamics.Dexter.ReportObjects; using CsvHelper.Configuration; namespace AppDynamics.Dexter.ReportObjectMaps { public class HealthCheckRuleResultReportMap : ClassMap<HealthCheckRuleResult> { public HealthCheckRuleResultReportMap() { int i = 0; Map(m => m.Control...
32.84375
85
0.50999
[ "Apache-2.0" ]
Appdynamics/AppDynamics.DEXTER
ReportObjects/HealthCheck/Maps/HealthCheckRuleResultReportMap.cs
1,053
C#
using VerifyTests; partial class InnerVerifier : IDisposable { VerifySettings settings; internal GetFileNames GetFileNames { get; } internal GetIndexedFileNames GetIndexedFileNames { get; } internal List<string> VerifiedFiles { get; } internal List<string> ReceivedFiles { get; } ...
34.09434
103
0.645268
[ "MIT" ]
andrewlock/Verify
src/Verify/Verifier/InnerVerifier.cs
1,757
C#
using System.ComponentModel.DataAnnotations; namespace ParkingSystem.Data.Models { public class Car { [Required] public string CarMake { get; set; } [Required] public string PlateNumber { get; set; } } }
17.928571
47
0.621514
[ "MIT" ]
akdimitrov/CSharp-Fundamentals
11.BasicWebProject/ParkingSystem/Data/Models/Car.cs
253
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Threading.Tasks; using Windows.Data.Json; using Windows.Storage; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Media.Imaging; // The data model defined by this file serves as a representative exa...
41.339869
132
0.587984
[ "MIT" ]
ghuntley/starter-mobile
src/StarterMobile.WPA81/DataModel/SampleDataSource.cs
6,327
C#
using System; using System.Collections.Generic; using System.Text; namespace OpenCvSharp.CPlusPlus { #if LANG_JP /// <summary> /// GrabCutの処理フラグ /// </summary> #else /// <summary> /// GrabCut algorithm flags /// </summary> #endif [Flags] public enum GrabCutFlag : int { #if LANG_JP ...
25.720588
95
0.587764
[ "BSD-3-Clause" ]
0sv/opencvsharp
src/OpenCvSharp.CPlusPlus/modules/imgproc/Enum/GrabCutFlag.cs
2,055
C#
// // Copyright 2015 Blu Age Corporation - Plano, Texas // // 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 requ...
40.915493
113
0.67883
[ "Apache-2.0" ]
SummerBatch/SummerBatchCore
Summer.Batch.Infrastructure/Item/ItemStreamException.cs
2,907
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....
38.954545
85
0.549008
[ "Apache-2.0" ]
HaloImageEngine/EmpowerClaim-hotfix-1.25.1
EmpowerBusiness/CMS_Man_Select_AdjusterAssignmentAttributes_Result.cs
1,714
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("Cir...
38.837838
84
0.75087
[ "BSD-3-Clause" ]
Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.460
Source/Krypton Toolkit Suite Extended Demos/Circular PictureBox Example/Properties/AssemblyInfo.cs
1,440
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Net; using System.Text.Regu...
42.70596
666
0.527277
[ "MIT" ]
yugangw-msft/AutoRest
src/generator/AutoRest.Python/Model/MethodPy.cs
32,245
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.444444
151
0.581221
[ "MIT" ]
paulcalcraft/jms-weight-injector
Properties/Settings.Designer.cs
1,067
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Game.MenuString.cs"> // Copyright (c) Nathan Bowman. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full lic...
68.428571
121
0.329854
[ "MIT" ]
NateBowman/Blackjack
Blackjack/Game/Game.MenuString.cs
481
C#
using System.IO; using DeltaEngine.Content; using DeltaEngine.Datatypes; using SharpDX; using SharpDX.DXGI; using SharpDX.Direct3D11; using MapFlags = SharpDX.Direct3D11.MapFlags; using Resource = SharpDX.Direct3D11.Resource; namespace DeltaEngine.Graphics.SharpDX { /// <summary> /// Images under SharpD...
28.926316
98
0.717977
[ "Apache-2.0" ]
DeltaEngine/DeltaEngine.SharpDX
Graphics/SharpDX/SharpDXImage.cs
2,750
C#
/* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license */ using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Specialized; using Thinktecture.IdentityServer.Core; using Thinktecture.IdentityServer.Core.Services; using UnitTests.Plumbing; namespace UnitTests { ...
46.55615
106
0.682977
[ "BSD-3-Clause" ]
dmorosinotto/Thinktecture.IdentityServer.v3
source/Tests/UnitTests/Validation Tests/AuthorizeRequest Validation/Authorize_ProtocolValidation_Valid.cs
8,708
C#
/* * SimScale API * * The version of the OpenAPI document: 0.0.0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; usi...
31.850877
105
0.593225
[ "MIT" ]
SimScaleGmbH/simscale-csharp-sdk
src/SimScale.Sdk/Model/SolidElementTechnology.cs
3,631
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// alipay.iservice.ccm.agent.query /// </summary> public class AlipayIserviceCcmAgentQueryRequest : IAlipayRequest<AlipayIserviceCcmAgentQueryResponse> { /...
23.427536
105
0.537272
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Request/AlipayIserviceCcmAgentQueryRequest.cs
3,247
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("Dot...
38.864865
84
0.753129
[ "MIT" ]
rodrigo-campero/DotnetWebApiDemo
src/DotnetWebApiDemo.Infra.CrossCutting/Properties/AssemblyInfo.cs
1,441
C#
using System; using System.Linq; using BenchmarkDotNet.Attributes; using FluentAssertions; using Super.Model.Selection; using Super.Model.Sequences; using Super.Testing.Objects; using Xunit; namespace Super.Testing.Application.Model.Sequences { public sealed class ArraysTests { public class Benchmarks { read...
23.614035
69
0.606984
[ "MIT" ]
SuperDotNet/Super.NET
Super.Testing.Application/Model/Sequences/ArraysTests.cs
1,348
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. // This code was generated by an automated template. namespace Mosa.Compiler.Framework.IR { /// <summary> /// ConvertR8ToI32 /// </summary> /// <seealso cref="Mosa.Compiler.Framework.IR.BaseIRInstruction" /> public sealed class ConvertR8ToI32 : B...
20.789474
68
0.698734
[ "BSD-3-Clause" ]
AnErrupTion/MOSA-Project
Source/Mosa.Compiler.Framework/IR/ConvertR8ToI32.cs
395
C#
using MissingLinq; using NUnit.Framework; namespace MissingLinqTests { [TestFixture] public class ConcatenationExtensionTests { [Test] public void Prepend_single() { Assert.That( new[] {5, 6, 10, 1}.Prepend(500), Is.EquivalentTo(new[] {50...
24.487805
65
0.426295
[ "Apache-2.0" ]
jayotterbein/MissingLinq
MissingLinqTests/ConcatenationExtensionTests.cs
1,006
C#
/**************************************************************************** * Copyright (c) 2020.10 liangxie * * https://qframework.cn * https://github.com/liangxiegame/QFramework * https://gitee.com/liangxiegame/QFramework * * Permission is hereby granted, free of charge, to any person obtaining a copy * ...
43.289474
80
0.669909
[ "MIT" ]
JiYangJi/QFramework
Unity2018Main/Assets/QFramework/Framework/Plugins/Editor/PackageKit/Login/Command/OpenRegisterWebsiteCommand.cs
1,647
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step...
49.480663
381
0.639292
[ "MIT" ]
ajf2/UnitsNet
UnitsNet/GeneratedCode/Quantities/Temperature.NetFramework.g.cs
17,914
C#
using System.Threading.Tasks; using PlaywrightSharp.Tests.BaseTests; using Xunit; using Xunit.Abstractions; namespace PlaywrightSharp.Tests.BrowserContext { /// <playwright-file>cookies.spec.js</playwright-file> /// <playwright-describe>BrowserContext.setCookies</playwright-describe> public class ...
43.094955
147
0.552641
[ "MIT" ]
slang25/playwright-sharp
src/PlaywrightSharp.Tests/BrowserContext/SetCookiesTests.cs
14,523
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.Immutable; using System.Diagnostics; using System.Threading; namespace Microsoft.CodeAnalysis.CSharp.Symbols { internal sealed ...
35.246377
179
0.617804
[ "Apache-2.0" ]
Ashera138/roslyn
src/Compilers/CSharp/Portable/Symbols/SubstitutedEventSymbol.cs
4,866
C#
using System; using System.Diagnostics; using System.IO; using System.Linq; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using NUnit.Framework; using QboxNext.Core.Extensions; using QboxNext.Core.Utils; using QboxNext.Logging; using QboxNext.Model.Classes; using QboxNext.Qserver.Core.Statist...
39.357143
143
0.555801
[ "MIT" ]
StefH/QboxNext
dependencies/dotnetcore-minimal/test/QboxNext.Storage.Qbx.Tests/KWhStorageTest.cs
38,021
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using BuildXL.Native.IO; ...
46.028884
392
0.574665
[ "MIT" ]
kant/BuildXL
Public/Src/Engine/UnitTests/Processes/SandboxedProcessTest.cs
58,974
C#
using Nop.Web.Areas.Admin.Models.Catalog; using Nop.Web.Framework.Models; namespace Nop.Plugin.Widgets.UserManuals.Models { #if !NOP_ASYNC public partial class #else public partial record #endif AddProductToUserManualListModel : BasePagedListModel<ProductModel> { } }
19.4
70
0.756014
[ "MIT" ]
biggik/Nop.Plugin.Widgets.UserManuals
Common/Models/AddProductToUserManualListModel.cs
293
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...
34.285714
142
0.683333
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/ApiManagement/Latest/Inputs/BackendTlsPropertiesArgs.cs
1,200
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AtCoder.Temp.Lib { public static class StringAlgorithm { public class StringComparator : IComparer<string> { int IComparer<string>.Compare(string a, string b) { int length = Math.Min(a.Length, ...
22.185075
108
0.45479
[ "MIT" ]
takytank/KyoPro
projects/AtCoder.Temp/Lib/StringAlgorithm.cs
7,434
C#
using System.Collections.Generic; using System.IO; using Xe.BinaryMapper; namespace OpenKh.Kh2.Battle { public class Enmp { [Data] public ushort Id { get; set; } [Data] public ushort Level { get; set; } [Data(Count = 32)] public short[] Health { get; set; } [Data] public ushort ...
38.096774
85
0.616427
[ "Apache-2.0" ]
1234567890num/OpenKh
OpenKh.Kh2/Battle/Enmp.cs
1,181
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...
38.492308
132
0.557554
[ "MIT" ]
Peter-Schneider/azure-powershell
src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Subscriptions/Subscriptions/NewManagedSubscription.cs
4,877
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConnectedComponents { internal class SubObjectConnComps { private ClosestPatches cp = null; internal SubObjectConnComps(ClosestPatches cp) { ...
35.63964
129
0.520222
[ "MIT" ]
garrethmartin/HSC_UML
graph_clustering/code/dotnetcore/ConnComponents/ConnectedComponents/SubObjectConnComps.cs
3,958
C#
using System.CodeDom; using System.Collections.Generic; using System.Linq; using BoDi; using TechTalk.SpecFlow.Generator.CodeDom; namespace TechTalk.SpecFlow.Generator.UnitTestProvider { public class NUnit3TestGeneratorProvider : IUnitTestGeneratorProvider { protected internal const string TE...
56.151515
232
0.715057
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
dannyBies/SpecFlow
TechTalk.SpecFlow.Generator/UnitTestProvider/NUnit3TestGeneratorProvider.cs
9,265
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
33.05
151
0.782148
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Inputs/RuleGroupRuleStatementAndStatementStatementNotStatementStatementByteMatchStatementFieldToMatchUriPathArgs.cs
661
C#