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.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("AWSSDK.SQS")] [assembly: AssemblyDescripti...
48.71875
302
0.751764
[ "Apache-2.0" ]
augustoproiete-forks/aws--aws-sdk-net
sdk/code-analysis/ServiceAnalysis/SQS/Properties/AssemblyInfo.cs
1,559
C#
namespace BenneIO.GreenMobility.Models { public class VehicleStatus { public VehicleStatus(int? energyLevel) { EnergyLevel = energyLevel; } public int? EnergyLevel { get; } } }
19.5
46
0.58547
[ "MIT" ]
benne/greenmobility
src/Models/VehicleStatus.cs
236
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("ar...
39.486486
84
0.756331
[ "Apache-2.0" ]
Esri/military-planner-application-csharp
source/arcgis-pro-import-feature-templates/arcgis-pro-import-feature-templates/Properties/AssemblyInfo.cs
1,464
C#
namespace SeleniumScript.Interfaces { using SeleniumScript.Implementation.DataModel; using SeleniumScript.Interpreter.Enums; public interface IStackFrameHandler { void AddVariable(string name, ReturnType type, string value = null); bool SetVariable(string name, string value); void AddFunction(stri...
29.4
72
0.770975
[ "MIT" ]
karisigurd4/SeleniumScript
SeleniumScript/Interfaces/IStackFrameHandler.cs
443
C#
/* SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * * Licensed to Elasticsearch B.V. unde...
32.20339
97
0.760526
[ "Apache-2.0" ]
Bit-Quill/opensearch-net
tests/Tests/CodeStandards/Serialization/GeoLocationTests.cs
1,900
C#
using BuildingBlocks; using BuildingBlocks.Types; using Microsoft.AspNetCore.Builder; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using University.Instructors.Application.Services; using University.Instructors.Infrastructure.EfCore; usi...
33.362069
93
0.658398
[ "MIT" ]
meysamhadeli/University-Microservices
src/Services/Instructors/University.Instructors.Infrastructure/Extensions.cs
1,937
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("Ma...
37.068966
84
0.747907
[ "Apache-2.0" ]
NoleHealth/xamarin-forms-book-preview-2
Chapter20/MandelbrotProgress/MandelbrotProgress/MandelbrotProgress.WinPhone81/Properties/AssemblyInfo.cs
1,078
C#
using DaHo.Chip8.Cpu; using SFML.Graphics; using SFML.Window; using System; using System.Collections.Generic; using System.IO; using System.Threading; using SFML.System; using System.Diagnostics; namespace DaHo.Chip8.Sfml { public class Program { private readonly Chip8Emu _cpu; private readonl...
31.108108
133
0.52954
[ "MIT" ]
Davee02/DaHo.Chip8
src/DaHo.Chip8.Sfml/Program.cs
4,606
C#
using Melanchall.DryWetMidi.Common; using Melanchall.DryWetMidi.Core; namespace Melanchall.DryWetMidi.Devices { public sealed class TickGeneratorException : MidiException { #region Constructor public TickGeneratorException(string message, int errorCode) : base(message) { ...
19.16
68
0.63048
[ "MIT" ]
olejorgensen/drywetmidi
DryWetMidi/Devices/Clock/TickGenerator/TickGeneratorException.cs
481
C#
namespace Joint.Docs.Swagger.Options { public class SwaggerOptions { public bool Enabled { get; set; } public string Name { get; set; } public string Title { get; set; } public string Version { get; set; } public string RoutePrefix { get; set; } public bool Includ...
32.071429
49
0.599109
[ "MIT" ]
flapek/Joint.Docs.Swagger
Joint.Docs.Swagger/Options/SwaggerOptions.cs
449
C#
/* * MonoBehaviourExt Unity Component * (c) Copyright 2017, Warwick Molloy * GitHub repo WazzaMo/UnityComponents * Provided under the terms of the MIT License. */ using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Tools.Common { using UnityEngine; pub...
42.097561
159
0.568946
[ "MIT" ]
WazzaMo/UnityComponents
ActorKit/Scripts/Tools.Common/MonoBehaviourExt.cs
6,906
C#
using System; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using MxWeiXinPF.Common; namespace MxWeiXinPF.Web.admin.channel { public partial class category_edit : Web.UI.ManagePage { private string action = MXEnums.ActionEnum.Add.ToString(); ...
34.76875
167
0.490023
[ "MIT" ]
herrylau/wwzkushop
MxWeiXinPF.Web/admin/channel/category_edit.aspx.cs
5,853
C#
using System.Windows.Forms; namespace DataGridViewHeaderCheckbox { public class DataGridViewDisableButtonColumn : DataGridViewButtonColumn { public DataGridViewDisableButtonColumn() { this.CellTemplate = new DataGridViewDisableButtonCell(); } } }
21.285714
75
0.701342
[ "MIT" ]
hanamizuki10/DataGridViewHeaderCheckbox
DataGridViewHeaderCheckbox/DataGridViewDisableButtonColumn.cs
300
C#
using Excel2Json; using Idevgame.GameState.DialogState; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class RoleSelectDialogState : CommonDialogState<RoleSelectDialog> { public override string DialogName { get { return "RoleSelectDialog"; } } publi...
28.271605
116
0.603057
[ "Apache-2.0" ]
365082218/meteor_original_ios
Assets/Code/Idevgame/GUI/Dialog/RoleSelectDialog.cs
2,292
C#
// Copyright (c) 2015-2017, Saritasa. All rights reserved. // Licensed under the BSD license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Saritasa.Tools.Messages...
38.147287
128
0.554562
[ "BSD-2-Clause" ]
jzabroski/SaritasaTools
src/Saritasa.Tools.Messages/Events/PipelineMiddlewares/EventHandlerExecutorMiddleware.cs
4,923
C#
// Copyright (c) Microsoft Corporation. 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.Diagnostics.Contracts; using System.Linq; using Microsoft.VisualStudio.TestPlatform.ObjectMode...
39.502809
159
0.663585
[ "MIT" ]
Evangelink/vstest
src/vstest.console/Processors/Utilities/ArgumentProcessorFactory.cs
14,063
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using...
47.210656
309
0.616386
[ "MIT" ]
SolidAlloy/OpenSesame
roslyn/src/Compilers/CSharp/Portable/Symbols/Source/SourceMethodSymbolWithAttributes.cs
57,599
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mercurio.Core { public class PasswordChange { public string NovaSenha { get; set; } public string ConfirmarSenha { get; set; } public string SenhaAntiga { get;...
26.62963
90
0.623088
[ "Apache-2.0" ]
lrsolano/ProjetoMercurio
ProjectMercurio/Mercurio.Core/Models/Entities/PasswordChange.cs
721
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...
45.582298
113
0.683268
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/test/Services/Redshift/UnitTests/Generated/Marshalling/RedshiftMarshallingTests.cs
88,065
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using AzureGems.CosmosDB; using MagicBus.AdminPortal.Application.Models; using MagicBus.Messages.Common; using MediatR; namespace MagicBus.AdminPortal.Application.Messages { public class GetMessag...
32.010753
118
0.75613
[ "Apache-2.0" ]
EnterpriseBusWorkshop/MagicBus
src/MagicBus.AdminPortal/Application/Messages/GetMessages.cs
2,979
C#
/* --------------------------- * SharePoint Manager 2010 v2 * Created by Carsten Keutmann * --------------------------- */ using System; using Microsoft.SharePoint; using Microsoft.SharePoint.Administration; using SPM2.Framework; using System.Collections; namespace SPM2.SharePoint.Model { [Icon(Small = "icon...
23.829787
109
0.605357
[ "MIT" ]
keutmann/SPM
SharePoint Manager 2010 v2/Src/Main/SPM2.SharePoint/Model/Custom/SPPropertyBagNode.cs
1,120
C#
using ons; using System.Threading.Tasks; namespace Distributed.MessageQueue.Providers.Aliyun { public sealed class AliyunMessageQueueFactory : IMessageQueueFactory { #region Field private readonly ONSFactory _factory; private readonly ONSFactoryAPI _factoryInstance; private re...
34.942857
116
0.681112
[ "Apache-2.0" ]
RabbitTeam/Distributed
Distributed/Distributed.MessageQueue/Providers/Aliyun/AliyunMessageQueueFactory.cs
2,448
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/mfidl.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtime.C...
50.036232
235
0.681535
[ "MIT" ]
manju-summoner/terrafx.interop.windows
sources/Interop/Windows/um/mfidl/IMFMediaSource2.cs
6,907
C#
using Unity.Entities; using UnityEngine; namespace Main.ECS.Provider.Hybrid { // ECSからMonoBehaviourへのヒット通知(Hybridで処理) [UpdateInGroup(typeof(InitializationEventGroup))] sealed class HitEventDispatcherSystem : ComponentSystem { EntityQuery _playerHybridQuery; EntityQuery _playerHitEventQu...
30.481481
98
0.548603
[ "MIT" ]
mao-test-h/DOTS-Jungle
Assets/_Contents/Main/Scripts/Main.ECS.Provider/Main.ECS.Provider.Hybrid/_Internal/ComponentSystem/HitEventDispatcherSystem.cs
1,670
C#
using System.Linq; using CleverCrow.Fluid.Dialogues.Editors.NodeDisplays; using CleverCrow.Fluid.Dialogues.Nodes; using UnityEditor; using UnityEngine; namespace CleverCrow.Fluid.Dialogues.Editors { public class RightClickHandler { private readonly DialogueWindow _window; private readonly NodeSelec...
34.099338
86
0.50301
[ "MIT" ]
DarkSeth/Dialogue-Sistem
Assets/com.fluid.dialogue/Editor/Windows/UserInput/RightClickHandler.cs
5,149
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("Ar...
38.189189
84
0.746638
[ "MIT" ]
iliyaST/TelericAcademy
High-Quality-Code-Unit-Testing/3-Exams/06-April-2015-Evening/02.ArmyOfCreatures/Source/ArmyOfCreatures.Test/Properties/AssemblyInfo.cs
1,416
C#
// Copyright (c) 2011-2020 Roland Pheasant. All rights reserved. // Roland Pheasant licenses this file to you under the MIT license. // See the LICENSE file in the project root for full license information. using System; using System.Reactive.Disposables; using System.Reactive.Linq; using DynamicData.Kernel; namespa...
43.110236
229
0.505753
[ "MIT" ]
reactiveui/DynamicData
src/DynamicData/Cache/Internal/RightJoin.cs
5,475
C#
using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; using LibraryBuddy.Mobile.Models; using LibraryBuddy.Mobile.ViewModels; namespace LibraryBuddy.Mobile.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class ItemDetailPage : ContentPage { ItemDetailViewModel vie...
22.972973
60
0.605882
[ "Apache-2.0" ]
dannymyers/LibraryBuddy
LibraryBuddy.Mobile/LibraryBuddy.Mobile/Views/ItemDetailPage.xaml.cs
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 Microsoft.Extensions.Configuration; namespace Microsoft.AspNetCore.Hosting.Internal { public class WebHostUtilities { ...
34.166667
111
0.715447
[ "Apache-2.0" ]
00mjk/Hosting
src/Microsoft.AspNetCore.Hosting/Internal/WebHostUtilities.cs
617
C#
namespace Swan.Net.Dns { using Swan.Formatters; using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Runtime.InteropServices; using System.Text.Json.Serialization; /// <summary> /// DnsClient public methods. /// </summary> internal...
33.721649
112
0.516356
[ "MIT" ]
unosquare/swan
src/Swan.Net/Dns/DnsClient.ResourceRecords.cs
13,086
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
123
0.551839
[ "MIT" ]
Joseph7695/BusBooking
BusBooking/BusBooking/obj/Debug/BusBooking.Pages.View1.xaml.g.cs
897
C#
 using Xunit; namespace Amazon.Elb.Tests { public class DeleteRuleRequestTests { [Fact] public void Construct() { var request = new DeleteRuleRequest("arn"); Assert.Equal("arn", request.RuleArn); } } }
17
56
0.519031
[ "MIT" ]
alexandercamps/Amazon
src/Amazon.Elb.Tests/DeleteRuleRequestTests.cs
291
C#
using System; using System.Reflection; namespace Confuser.Runtime { internal static class Resource { private static Assembly c; // Hmm... Too lazy. private static void Initialize() { var l = (uint)Mutation.KeyI0; uint[] q = Mutation.Placeholder(new uint[Mutation.KeyI0]); var k = new uint[0x10]; ...
21.663366
73
0.521481
[ "MIT" ]
heroboy/ConfuserEx
Confuser.Runtime/Resource.cs
2,190
C#
/* * [The "BSD license"] * Copyright (c) 2013 Terence Parr * Copyright (c) 2013 Sam Harwell * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code...
35.195592
151
0.563009
[ "MIT" ]
EvgeniyKo/antlr4cs
runtime/CSharp/Antlr4.Runtime/Dfa/DFA.cs
12,776
C#
// <auto-generated /> using Abp.Authorization; using Abp.BackgroundJobs; using Abp.Events.Bus.Entities; using Abp.Notifications; using AISPharmacy.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.E...
35.495726
117
0.432236
[ "MIT" ]
SyedIbtahajAhmed/AISPharmacy-POS
aspnet-core/src/AISPharmacy.EntityFrameworkCore/Migrations/20180320131229_Upgraded_To_Abp_v3_5_0.Designer.cs
53,989
C#
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/openiddict/openiddict-core for more information concerning * the license and the contributors participating to this project. */ using System.Data.Entity; using Microsoft.Extensions.Caching.Mem...
41.09434
132
0.729798
[ "Apache-2.0" ]
OrgAE/OrgAE-Openiddict
test/OpenIddict.EntityFramework.Tests/Resolvers/OpenIddictEntityFrameworkApplicationStoreResolverTests.cs
4,358
C#
using System; using System.Collections.Generic; namespace Edison.Common.Messages.Interfaces { public interface IIoTDevicesDirectMethodLaunched : IMessage { List<Guid> DeviceIds { get; set; } } }
19.727273
63
0.718894
[ "MIT" ]
Mahesh1998/ProjectEdison
Edison.Web/Edison.Common.MassTransit/Messages/Interfaces/IoTHubController/IIoTDevicesDirectMethodLaunched.cs
219
C#
using System; namespace HybridDb { public interface ISerializer { byte[] Serialize(object obj); object Deserialize(byte[] data, Type type); } }
18.2
52
0.598901
[ "Unlicense" ]
mookid8000/HybridDb
src/HybridDb/ISerializer.cs
184
C#
// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("Glob...
117.818182
351
0.805556
[ "MIT" ]
georgend/msgraph-sdk-raptor
ApplicationPermissionsUpdater/GlobalSuppressions.cs
1,298
C#
using System; using Xunit; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Model4You.Data; using Model4You.Data.Common.Repositories; using Model4You.Data.Models; using Model4You.Data.Models.Enums; using Model4You.Data.Repositories; using Mod...
47.179811
167
0.64819
[ "MIT" ]
yanmariomenev/Model4You
Tests/Model4You.Services.Data.Tests/Model/ModelServiceTests.cs
44,870
C#
namespace FactsGreet.Data.Models { using System; using System.ComponentModel.DataAnnotations; using FactsGreet.Data.Common.Models; using FactsGreet.Data.Models.Enums; public class ArticleDeletionRequest : BaseDeletableModel<Guid>, IDeletableEntity, IAuditInfo { public Guid ArticleId {...
26.217391
96
0.658375
[ "MIT" ]
p-dim-popov/FactsGreet
Data/FactsGreet.Data.Models/ArticleDeletionRequest.cs
605
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.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System...
44.364721
233
0.601389
[ "MIT" ]
AUTOMATE-2001/runtime
src/libraries/System.Private.CoreLib/src/System/DateTime.cs
70,673
C#
using System.Collections.Generic; namespace Zios.Extensions.Convert{ public static class ConvertDictionary{ public static SortedList<TKey,TValue> ToSortedList<TKey,TValue>(this Dictionary<TKey,TValue> current){ return new SortedList<TKey,TValue>(current); } } }
33.75
104
0.792593
[ "MIT" ]
z3nth10n/unity-themes
Codebase/Runtime/Extensions/Convert/Dictionary.cs
270
C#
// Copyright 2019 Florian Gather <florian.gather@tngtech.com> // Copyright 2019 Paula Ruiz <paularuiz22@gmail.com> // Copyright 2019 Fritz Brandhuber <fritz.brandhuber@tngtech.com> // // SPDX-License-Identifier: Apache-2.0 using System; using System.Collections.Generic; using ArchUnitNET.Domain; using static Arc...
46.593496
118
0.725877
[ "Apache-2.0" ]
GeorgKreuzmayr/ArchUnitNET
ArchUnitNET/Fluent/Syntax/Elements/Members/ShouldRelateToMembersThat.cs
5,733
C#
using GVFS.Common; using GVFS.Common.Database; using GVFS.Common.FileSystem; using GVFS.Common.Tracing; using GVFS.DiskLayoutUpgrades; using Microsoft.Windows.ProjFS; using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace GVFS.Platform.Windows.DiskLayoutUpgrades { ...
41.274194
142
0.526182
[ "MIT" ]
50Wliu/VFSForGit
GVFS/GVFS.Platform.Windows/DiskLayoutUpgrades/DiskLayout12to13Upgrade_FolderPlaceholder.cs
5,120
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace Microsoft.Data.Entity.Design.VisualStudio.Data.Sql { using System; using System.Data; using Microsoft.Data.Entity.Design.Model.Database; using Microsoft.Visual...
27.147436
133
0.490673
[ "Apache-2.0" ]
mrward/entityframework-sharpdevelop
src/EFTools/EntityDesign/VisualStudio/Data/Sql/DataSchemaColumn.cs
4,237
C#
using bv.common.Resources; using bv.common.Core; namespace eidss.model.Resources { public class EidssFields : BaseStringsStorage { private volatile static EidssFields m_Instance; private static readonly object m_SyncRoot = new object(); private EidssFields() { } publi...
32.611111
143
0.505395
[ "BSD-2-Clause" ]
EIDSS/EIDSS-Legacy
EIDSS v5/eidss.core/Resources/EidssFields.cs
1,763
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2021 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file...
35.214286
123
0.476543
[ "Apache-2.0" ]
10by10pixel/YAFNET
yafsrc/YAF.Core/Helpers/StaticDataHelper.cs
14,853
C#
//Problem 3. Variable in Hexadecimal Format // 1. Declare an integer variable and assign it with the value 254 in hexadecimal format (0x##). // 2. Use Windows Calculator to find its hexadecimal representation. // 3. Print the variable and ensure that the result is 254. using System; class printHexValue { ...
20.95
99
0.673031
[ "MIT" ]
zdzdz/Primitive-Data-Types-and-Variables-HW
PrimitiveDataTypesAndVariables/VariableInHexadecimalFormat/printHexValue.cs
421
C#
using System.Collections.Generic; using System.Linq; using AdventOfCode.Common; using JetBrains.Annotations; namespace AdventOfCode.Solutions._2016._6; [UsedImplicitly] public class Year2016Day06 : ISolution { public object Part1(IEnumerable<string> input) { char MostCommonCharacter(string r) => ...
31.102564
77
0.629843
[ "MIT" ]
PDmatrix/advent-of-code
CSharp/Solutions/2016/6/Year2016Day06.cs
1,213
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft...
37.567901
178
0.550115
[ "MIT" ]
Demonslyr/blog-examples
FrameworkDependentVsSelfContainedDeployments/Program.cs
3,045
C#
using System; using RomanticWeb.Linq.Model.Navigators; namespace RomanticWeb.Linq.Model { /// <summary>Provides details about filter.</summary> [QueryComponentNavigator(typeof(FilterNavigator))] public class Filter : QueryElement { #region Fields private IExpression _expressi...
37.234568
144
0.562997
[ "BSD-3-Clause" ]
alien-mcl/RomanticWeb
RomanticWeb/Linq/Model/Filter.cs
3,018
C#
using System; using System.Globalization; public class DateTimeParseExact2 { private const int c_MIN_STRING_LEN = 1; private const int c_MAX_STRING_LEN = 2048; private const int c_NUM_LOOPS = 100; private static DateTimeStyles[] c_STYLES = new DateTimeStyles[7] {DateTimeStyles.AdjustToUniversal...
31.992933
298
0.4926
[ "MIT" ]
CyberSys/coreclr-mono
tests/src/CoreMangLib/cti/system/datetime/datetimeparseexact2.cs
9,054
C#
namespace EXIFGeotagger { partial class ProgressForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> //...
39.57
107
0.570382
[ "MIT" ]
mattwynyard/EXIFGeotaggerv1.0
EXIFGeotaggerv1.0/ProgressForm.Designer.cs
3,959
C#
using System.Threading.Tasks; using Crosschat.Client.Droid.Infrastructure; using Crosschat.Client.Model.Contracts; using Xamarin.Forms; [assembly: Dependency(typeof(DeviceInfo))] namespace Crosschat.Client.Droid.Infrastructure { public class DeviceInfo : IDeviceInfo { public Task InitAsync() ...
23.52381
57
0.674089
[ "Apache-2.0" ]
CodeFork/CrossChat-Xamarin.Forms
Client/Crosschat.Client.Android/Infrastructure/DeviceInfo.cs
496
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; // 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("Microsoft Graph C...
53.882353
386
0.81441
[ "MIT" ]
MIchaelMainer/GraphAPI
src/Microsoft.Graph/Properties/AssemblyInfo.cs
1,835
C#
// Copyright (C) 2003-2010 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: Alex Ilyin // Created: 2009.09.08 using System; using Xtensive.Orm.Validation; namespace Xtensive.Orm.Tests.ObjectModel.Cms { [Serializable] [HierarchyRoot] public class Web...
23.804348
83
0.599087
[ "MIT" ]
DataObjects-NET/dataobjects-net
Orm/Xtensive.Orm.Tests/ObjectModel/Cms/WebSiteUrl.cs
1,095
C#
namespace MassTransit.Payloads { using System; using System.Collections.Generic; public class ListPayloadCache : IPayloadCache { IList<object>? _cache; public ListPayloadCache() { } public ListPayloadCache(object[] payloads) { _cach...
24.875
107
0.365494
[ "ECL-2.0", "Apache-2.0" ]
AlexanderMeier/MassTransit
src/MassTransit.Abstractions/Middleware/Payloads/ListPayloadCache.cs
2,985
C#
//------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программой. // Исполняемая версия:4.0.30319.42000 // // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае // повторной генерации кода. // </auto-gen...
41.208333
92
0.655207
[ "Apache-2.0" ]
NoskovEugene/Screensaver
obj/Debug/netcoreapp3.0/Screensaver.AssemblyInfo.cs
1,137
C#
using System; using NUnit.Framework; using TauCode.Extensions; using TauCode.Testing.Tests.Core; using TauCode.Testing.Tests.Core.Features.Quotes.SetWatcherQuote; namespace TauCode.Testing.Tests.Quotes { [TestFixture] public class SetWatcherQuoteCommandValidatorTests : ValidatorTestBase< SetWatcherQuo...
32.133641
132
0.535351
[ "Apache-2.0" ]
taucode/taucode.testing
test/TauCode.Testing.Tests/Quotes/SetWatcherQuoteCommandValidatorTests.cs
6,975
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; namespace LibraryWebsite.Identity { [Authorize] [Route("api/[cont...
25.488372
71
0.613139
[ "MIT" ]
Euphoric/LibraryWebsite
LibraryWebsite/Identity/UserController.cs
1,098
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace _02.Worm_Ipsum { public class Worm_Ipsum { public static void Main() { var inputString = Console.ReadLine(); while (inputString != "Worm Ipsum") { ...
28.833333
97
0.398844
[ "MIT" ]
IvanKirov/SoftUni
02. Tech Module/01.Programming_Fundamentals/EXAM 30.04.2017/02. Worm Ipsum/Worm Ipsum.cs
2,597
C#
namespace SimpleObjectFiller.Generators.Primitives { public class ByteGenerator : NumericGenerator<byte> { public ByteGenerator() { MinValue = byte.MinValue; MaxValue = byte.MaxValue; } protected override byte Generate() { if (hasDefa...
23.315789
57
0.564334
[ "MIT" ]
GuimoBear/SimpleObjectFiller
SimpleObjectFiller/Generators/Primitives/ByteGenerator.cs
445
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.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; using...
35.721311
121
0.610984
[ "Apache-2.0" ]
IndigoShock/EntityFrameworkCore
test/EFCore.Tests/ModelSourceTest.cs
6,539
C#
using Microsoft.Maui.Controls.CustomAttributes; using Microsoft.Maui.Controls.Internals; namespace Microsoft.Maui.Controls.ControlGallery.Issues { #if UITEST [NUnit.Framework.Category(Core.UITests.UITestCategories.Bugzilla)] #endif [Preserve(AllMembers = true)] [Issue(IssueTracker.Bugzilla, 40073, "Toolbar items ar...
27.157895
119
0.715116
[ "MIT" ]
jongalloway/maui
src/ControlGallery/src/Xamarin.Forms.Controls.Issues.Shared/Bugzilla40073.cs
1,032
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace JoaoCarlosRezendeJunior.MVC { public class Progr...
24.92
76
0.699839
[ "MIT" ]
DS342017/JoaoCRJunior
JoaoCarlosRezendeJunior.MVC/Program.cs
625
C#
using Castle.DynamicProxy; using Coldairarrow.Util; using System.Collections.Generic; using System.Linq; using System.Linq.Dynamic.Core; namespace Coldairarrow.Business { public class DataDeleteLogAttribute : WriteDataLogAttribute { public DataDeleteLogAttribute(LogType logType, string nameField, stri...
35.771429
153
0.648562
[ "MIT" ]
2644783865/Colder.Admin.AntdVue
src/Coldairarrow.Business/01Filter/DataDeleteLogAttribute.cs
1,258
C#
/* Copyright 2014-2016 Zumero, 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
28.738931
264
0.606832
[ "Apache-2.0" ]
soeminnminn/EngMyanDictionary-WIN
EngMyanDict/SQLite/SQLitePCL/sqlite3_bait.cs
18,825
C#
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace AGXUnity.Utils { public class MeshMerger { public static MeshMerger Merge( Transform transform, Mesh[] meshes ) { var merger = new MeshMerger( transform ); foreach ( var mesh in meshes ) { ...
30.29703
98
0.570915
[ "Apache-2.0" ]
Algoryx/AGXUnity
AGXUnity/Utils/MeshMerger.cs
3,062
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Script; using Microsoft.Azure.WebJobs.Script.Tests; using Microsoft.Extensions.DependencyInj...
40.777778
164
0.791553
[ "Apache-2.0", "MIT" ]
Angr1st/azure-functions-host
test/WebJobs.Script.Tests.Shared/TestWebHostBuilderExtensions.cs
736
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Completion; using Microsoft.CodeAnalysis.Completion.Providers; u...
30.469249
408
0.608627
[ "Apache-2.0" ]
JeremyKuhne/roslyn
src/EditorFeatures/CSharpTest/Completion/CompletionProviders/SymbolCompletionProviderTests.cs
314,605
C#
/* * Dragonfly Model Schema * * Documentation for Dragonfly model schema * * Contact: info@ladybug.tools * 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; ...
49.214521
308
0.611253
[ "MIT" ]
chriswmackey/dragonfly-schema-dotnet
src/DragonflySchema/Model/Room2DEnergyPropertiesAbridged.cs
14,912
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using System; using System.Configuration; using System.IO; using System.Reflection; using System.Threading; using SeleniumExtras.WaitHelpers; using ExpectedConditions = OpenQA.Selenium.Support.UI.ExpectedConditions...
32.831169
140
0.686709
[ "MIT" ]
AbuLawiQA/AzureDevops_SeleniumTests_OnlineShoePortal
Tests/TS01_UserRegistration.cs
2,530
C#
using System; using System.Collections.Generic; using System.Text; namespace MxNet.AutoGluon.Contrib { class ENAS_Sequential { } }
13.181818
33
0.724138
[ "Apache-2.0" ]
AnshMittal1811/MxNet.Sharp
src/MxNet.AutoGluon/Contrib/ENAS_Sequential.cs
147
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensio...
29.491525
106
0.612644
[ "MIT" ]
mhdaxif/ProWriter
src/ProWriter.Web/Startup.cs
1,740
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using SuperSocket.Common; using SuperSocket.SocketBase.Logging; using SuperSocket.SocketBase.Command; using SuperSocket.SocketBase.Config; using SuperSocket.SocketBase.Protocol; using SuperSocket.WebSocket.Co...
35.952978
153
0.596826
[ "Apache-2.0" ]
Snailos/SuperSocket
Protocols/WebSocket/SubProtocol/BasicSubProtocol.cs
11,471
C#
namespace Sushi.Mediakiwi.Framework { /// <summary> /// /// </summary> public enum ListDataContentType { /// <summary> /// This is a default content /// </summary> Default, /// <summary> /// This is a internal page Key; when applied a deeplink is cre...
29.894737
117
0.541373
[ "MIT" ]
Supershift/Sushi.Mediakiwi
src/Sushi.Mediakiwi/Framework/ListDataContentType.cs
1,138
C#
using System; using System.IO; using System.Web; using System.Collections.Generic; using System.Text; namespace SilentOrbit.Parsing { public class Tag { /// <summary> /// Namespace of the current tag /// </summary> /// <value>The namespace.</value> public TagNamespace Namespace { get; set; } public stri...
21.445652
90
0.603903
[ "Apache-2.0" ]
hultqvist/WebTools
WebTools/Parsing/Tag.cs
3,946
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...
39.752577
155
0.670902
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/Schemas/Generated/Model/Internal/MarshallTransformations/GetCodeBindingSourceRequestMarshaller.cs
3,856
C#
using System; using System.Xml; using System.Xml.Serialization; namespace grendgine_collada { [Serializable, XmlType(AnonymousType = true)] public partial class Grendgine_Collada_Circle { [XmlElement(ElementName = "radius")] public float Radius; [XmlElement(ElementName = "extra")]...
44.048193
115
0.702407
[ "MIT" ]
WildGenie/game-estates
src/Formats/Collada/src/Gamer.Format.Collada/Collada/Collada_B_Rep/Curves.cs
3,656
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...
51.591837
241
0.588476
[ "MIT" ]
Agazoth/azure-powershell
src/MySql/generated/api/Models/Api20171201/ServerProperties.TypeConverter.cs
7,438
C#
// <auto-generated /> using System; using ImageGallery.API.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; names...
47.163399
117
0.428354
[ "MIT" ]
Alex-Torres/LearnIdentityServer4PS
Finished sample/src/ImageGallery.API/Migrations/SeedDatabaseMigration.Designer.cs
7,218
C#
using System; using UnityEngine; using UnityEditor; using RustMapEditor.Variables; using static AreaManager; using static TerrainManager; namespace RustMapEditor.UI { public static class Functions { #region MainMenu public static void EditorIO(string mapName = "custommap") { ...
48.318987
275
0.639788
[ "MIT" ]
Adsito/RustMapEditor
Assets/MapEditor/Editor/API/Functions.cs
38,174
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Concurrent; using System.Composition; using System.Linq; using System.Thread...
39.603175
169
0.644088
[ "MIT" ]
missymessa/roslyn
src/Features/Core/Portable/Notification/SemanticChangeNotificationService.cs
4,992
C#
namespace Reservation { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("Reservation")] public partial class Reservation { public ...
25.382353
57
0.593279
[ "MIT" ]
alishov/ProjectIT
Reservation/Models/Reservation.cs
863
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks...
41.179724
150
0.551925
[ "MIT" ]
DevSplash/runtime
src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.ThreadPoolValueTaskSource.cs
8,938
C#
namespace AppFullStackDemo.Domain.Results.User { //This is a Model to Join the Token and the Refresh Token (class will be filled and send to Serialize on JsonSerializer) public class TokenResult { public string Token { get; set; } public bool LoggedSuccessful { get; set; } public s...
27.9375
124
0.651007
[ "Apache-2.0" ]
basharbme/app_fullstackdemo
src/BackEnd/AppFullStackDemo.Domain/Results/User/TokenResult.cs
447
C#
using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime { public interface IFullDateTimeParserConfiguration : IOptionsConfiguration { int TwoNumYear { get; } string LastWeekDayToken { g...
25.35
78
0.617357
[ "MIT" ]
LionbridgeCSII/Recognizers-Text
.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IFullDateTimeParserConfiguration.cs
2,030
C#
/*Copyright 2022 Guillaume Spalla 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 writing, software...
28.731707
72
0.76146
[ "Apache-2.0" ]
limvi-licef/Mouse
Assets/Scripts/MouseAssistanceAbstract.cs
1,178
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"); yo...
39
83
0.687179
[ "Apache-2.0" ]
dkm2110/contextstacking
lang/cs/Org.Apache.REEF.Wake/Remote/IEncoder.cs
1,331
C#
// <auto-generated /> using System; using Comunicazione.Infrastructure.EF; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; ...
35.942387
125
0.474697
[ "MIT" ]
dmmitrenko/comunicazione
src/Comunicazione.Infrastructure/Migrations/20211017153930_FollowersMigration.Designer.cs
8,736
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Threading; using System.Threading.Tasks; using Azure.Core.TestFramework; using Azure.Quantum.Jobs.Models; using Azu...
40.354497
150
0.574013
[ "MIT" ]
AntonioVT/azure-sdk-for-net
sdk/quantum/Azure.Quantum.Jobs/tests/QuantumJobClientLiveTests.cs
7,629
C#
using System; namespace BufferTest { class Test { const byte TotalLength = 32; public static byte Expected(byte dest, byte src, int len, byte i) { if (i >= dest && i < dest + len) return (byte)(src + (i - dest)); else return i; ...
30.984127
94
0.371926
[ "MIT" ]
belav/runtime
src/mono/mono/tests/bug-705140.cs
1,952
C#
using UnityEngine; using ColossalFramework.UI; namespace CurbHeightAdjuster.MessageBox { /// <summary> /// Simple message box with separate pargaraphs and/or lists of dot points. /// </summary> public class ListMessageBox : MessageBoxBase { // Components. private UIButton closeBut...
31.890909
139
0.517864
[ "MIT" ]
algernon-A/CurbHeightAdjuster
Code/Notifications/ListMessageBox.cs
5,264
C#
using System; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using Entities.Users; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace WebApp.Areas.Identity.Pages.Account.Manage { ...
32.117647
116
0.594139
[ "MIT" ]
MassoudKargar/ideal-memory
Src/WebApp/Areas/Identity/Pages/Account/Manage/DeletePersonalData.cshtml.cs
2,732
C#
/* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
32.411765
100
0.743194
[ "Apache-2.0" ]
BratislavDimitrov/monodroid-samples
ApiDemo/View/TableLayout03.cs
1,102
C#
using System.Threading.Tasks; namespace forgit.Interfaces { public interface IBaseCommand { Task Execute(IOptions options); } }
15
39
0.686667
[ "MIT" ]
emagers/forgit
forgit/Interfaces/IBaseCommand.cs
152
C#
using Microsoft.Identity.Client; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Xamarin.Forms; namespace UserDetailsClient { public partial class MainPage : ContentPage { public MainPage() ...
37.242105
119
0.524873
[ "MIT" ]
customerqueries/active-directory-xamarin-native-v2
UserDetailsClient/UserDetailsClient/MainPage.xaml.cs
3,540
C#
using UnityEngine; using System.Collections; //Manage health and damage receiving calculations public class HealthManager : MonoBehaviour { #region Fields public enum StatusEffect { NORMAL, CONFUSED, BURNED, FROZE, SHOCKED, SLOWED, OTHER }; //Adjustable public float hitPoints; public float armorValue, statusRes...
28.988235
123
0.729708
[ "Apache-2.0" ]
HELZ47/TestingCode
Unity_Networking_Test/Assets/Scripts/HealthManager.cs
2,466
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace QLTV { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main()...
22.130435
65
0.611002
[ "MIT" ]
Hieunv1996/QuanLyThuVien
QLTV/Program.cs
511
C#