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
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt. using System; using System.ComponentModel; namespace Sce.Atf.Controls.PropertyEditing { /// <summary> /// TypeConverter for use with enum editors where enum is stored as int. /// It converts int to string and string to ...
37.711268
151
0.548459
[ "Apache-2.0" ]
HaKDMoDz/ATF
Framework/Atf.Gui/Controls/PropertyEditing/IntEnumTypeConverter.cs
5,217
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace TestApp { /// <summary> /// Interaktionslogik für "App.xaml" /// </summary> public partial class App : Application { }...
17.944444
42
0.69969
[ "MIT" ]
C9Glax/Graf
Graf/TestApp/App.xaml.cs
326
C#
/* Win3mu - Windows 3 Emulator Copyright (C) 2017 Topten Software. Win3mu is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Win3mu is distri...
29.578947
105
0.607206
[ "MIT" ]
mediaexplorer74/Win3Mu
Win3muCore/Windowing/WindowCreationFilter.cs
2,250
C#
using System.Runtime.Serialization; using Gherkin.Events.Args; using Gherkin.Events.Args.Ast; namespace Gherkin.Events { public class GherkinDocumentEvent : IEvent { public GherkinDocumentEvent(GherkinDocumentEventArgs eventArgs) { EventArgs = eventArgs; } public GherkinDocumentEvent()...
21.190476
68
0.705618
[ "MIT" ]
Corristo/cucumber
gherkin/dotnet/Gherkin/Events/GherkinDocumentEvent.cs
447
C#
using System.IO; namespace Framework.Installer.Behaviour { /// <summary> /// Defines filters to exclude files from msi /// </summary> public static class FileFilters { /// <summary></summary> public static bool ExcludePackagesConfig(string filename) { ...
31.225806
97
0.568182
[ "MIT" ]
Luxoft/BSSFramework
src.other/Framework.Installer/Behaviour/FileFilters.cs
940
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ActiveLogin.Authentication.BankId.Api.Models; namespace ActiveLogin.Authentication.BankId.Api { /// <summary> /// Dummy implementation that can be used for development and testing purposes. /// </summary...
37.066038
188
0.622168
[ "MIT" ]
hematmedhelp/ActiveLogin.Authentication
src/ActiveLogin.Authentication.BankId.Api/BankIdDevelopmentApiClient.cs
7,860
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
51.18
463
0.765924
[ "MIT" ]
Acidburn0zzz/CodeContracts
Demo/SilverlightApplication.Web/Properties/AssemblyInfo.cs
2,560
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...
35.319444
146
0.628785
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/DataFactory/Outputs/JsonSourceResponse.cs
2,543
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Backoffice.Models.ManageViewModels { public class TwoFactorAuthenticationViewModel { public bool HasAuthenticator { get; set; } public int Re...
22.555556
50
0.729064
[ "MIT" ]
jorgemht/HospitalCore
Backoffice/Models/ManageViewModels/TwoFactorAuthenticationViewModel.cs
408
C#
// The MIT License (MIT) // Copyright (c) <year> <copyright holders> // 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...
52.05
189
0.713256
[ "MIT" ]
jasper22/Angular2Playground
Controllers/HomeController.cs
2,084
C#
using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace MobileConsole.UI { public class GenericTreeView : BaseView, IRecycleScrollViewDelegate { [SerializeField] protected AssetConfig _config; [SerializeField] protected UIBridge _title; [SerializeField] prote...
22.877133
100
0.686111
[ "MIT" ]
brunomikoski/MobileConsoleKit
Internal/Scripts/Views/GenericTreeView.cs
6,705
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Engine { public class VirtualFileInfo { internal VirtualFileInfo(String name, String directoryName, String fullName, String realLocation, Int64 compressedSize, Int64 uncompressedSize) { ...
28.333333
152
0.624599
[ "MIT" ]
AnomalousMedical/Adventure
Engine/Resources/Filesystem/VirtualFileInfo.cs
937
C#
using Core.Entities; using System; using System.Collections.Generic; using System.Text; namespace Entities.Concrete { public class Rental : IEntity { public int Id { get; set; } public int CarId { get; set; } public int CustomerId { get; set; } public DateTime RentDate { get; s...
21.333333
48
0.627604
[ "MIT" ]
hamdidamar/Step-by-Step-Bootcamp
day-10/Homework/ReCap/Entities/Concrete/Rental.cs
386
C#
using System; using System.Reactive.Disposables; using Avalonia; using Avalonia.Data; namespace TemplatedDataGrid.Internal { internal static class AvaloniaObjectExtensions { public static void OneWayBind( this IAvaloniaObject target, AvaloniaProperty targetProperty, ...
36.022222
101
0.658853
[ "MIT" ]
wieslawsoltes/DataGrid
src/TemplatedDataGrid/Internal/AvaloniaObjectExtensions.cs
1,623
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class PlayerMovement : MonoBehaviour { public static Vector2 pos; private Rigidbody2D player; private Vector2 dir; private Vector2 mousePos; private Stats stats; private void Awake() ...
25.116279
76
0.636111
[ "MIT" ]
iLigonis/Space-Shooter
UnitySource/Space Shooter/Assets/Scripts/PlayerMovement.cs
1,082
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using log4net.Unity.Config; using UnityEditor; using UnityEngine; namespace log4net.Unity { [InitializeOnLoad] public class EditorLogInitializer: AssetPostprocessor { private class Holder { priva...
33.504673
121
0.517434
[ "Apache-2.0" ]
Toxic2k/log4uni
log4uni.editor/log4net/Unity/EditorLogInitializer.cs
3,585
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.Communication.PhoneNumbers.Models { public partial class LocationOptions : IUtf8JsonS...
34.443038
98
0.519662
[ "MIT" ]
MahmoudYounes/azure-sdk-for-net
sdk/communication/Azure.Communication.PhoneNumbers/src/Generated/Models/LocationOptions.Serialization.cs
2,721
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 dotnet_new_template_react_ts { public class Progr...
24.92
76
0.70305
[ "MIT" ]
ltwlf/dotnet-new-template-react-ts
templates/content/Program.cs
623
C#
namespace CSharpier.SyntaxPrinter.SyntaxNodePrinters; internal static class AttributeList { public static Doc Print(AttributeListSyntax node, FormattingContext context) { var docs = new List<Doc>(); if ( node.Parent is CompilationUnitSyntax compilationUnitSyntax && compi...
36.511905
89
0.431692
[ "MIT" ]
belav/prettier-plugin-csharpier
Src/CSharpier/SyntaxPrinter/SyntaxNodePrinters/AttributeList.cs
3,067
C#
namespace LiveSplit.Mgs3LoadRemover { public class ImageFeatures { public int MaxColorIntensity { get; } public int MinColorIntensity { get; } public ImageFeatures(int maxColorIntensity, int minColorIntensity) { MaxColorIntensity = maxColorIntensity; Min...
26.642857
74
0.648794
[ "MIT" ]
makotocchi/LiveSplit.BlackScreenDetector
ImageFeatures.cs
375
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DotNetNinja.TypeFiltering.Tests { public class BaseClass { } }
15.333333
41
0.75
[ "MIT" ]
ninjah187/DotNetNinja
DotNetNinja.TypeFiltering/DotNetNinja.TypeFiltering.Tests/Data/BaseClass.cs
186
C#
using Com.Danliris.Service.Packing.Inventory.Application.ToBeRefactored.GarmentShipping.GarmentPackingList; using Com.Danliris.Service.Packing.Inventory.Application.ToBeRefactored.Utilities; using Com.Danliris.Service.Packing.Inventory.Data.Models.Garmentshipping.GarmentPackingList; using Com.Danliris.Service.Packing....
42.1
119
0.692399
[ "MIT" ]
kuswandanu-moonlay/com-danliris-service-packing-inventory
src/Com.Danliris.Service.Packing.Inventory.Test/Controllers/GarmentShipping/GarmentPackingList/GarmentPackingListControllerSetRevisedMdTest.cs
2,528
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Accord.Statistics; namespace PLImg_V2 { public class AFCalc { public double CalcAFV(byte[] input) { try { double output = 0; ...
22.052632
127
0.5
[ "MIT" ]
pimier15/AcsController
PLImg_V3/PLImg_V2/Function/AFCalc.cs
840
C#
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Linx.Tasks; namespace Linx.Timing { /// <summary> /// Access to current time. /// </summary> public static class Time { /// <summary> /// Gets the real <see cref="ITime"/>. /...
35.827586
122
0.448989
[ "MIT" ]
tinudu/Linx
src/Linx/Timing/Time.cs
6,236
C#
namespace SiCo.Utilities.Helper.Test { using System.ComponentModel.DataAnnotations; using SiCo.Utilities.Helper.Attributes; using Xunit; public class ValidateCountryIsoAttributeTest { private static readonly ValidationContext s_testValidationContext = new ValidationContext(new object()); ...
34.133333
113
0.595982
[ "MIT" ]
Silver-Connection/sico-net-utilities
test/SiCo.Utilities.Helper.Test/ValidateCountryIsoAttributeTest.cs
3,586
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable #if !NET472 #pragma warning disable IDE0055 // Fix formatting #endif #if NET472 using Microsof...
31.338082
359
0.553555
[ "MIT" ]
belav/roslyn
src/Compilers/CSharp/Test/Emit/Emit/NoPiaEmbedTypes.cs
246,382
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; using UnityEngine.Events; using UnityEngine.UI; using FantomLib; //Get External Storage folder information and Storage Access Framework demo public class ExternalStorageTest : MonoBehaviour { public Text...
42.274648
197
0.675329
[ "MIT" ]
Devin0xFFFFFF/comp4020project
VolunteeringProject/Assets/FantomPlugin/Demo/Scripts/ExternalStorageTest.cs
6,499
C#
// ---------------------------------------------------------------------------- // The MIT License // Simple Entity Component System framework https://github.com/Leopotam/ecs // Copyright (c) 2017-2019 Leopotam <leopotam@gmail.com> // ---------------------------------------------------------------------------- using S...
43.576667
128
0.599174
[ "MIT" ]
ralreegorganon/RoadTrip
ecs-20191022/src/EcsEntity.cs
13,073
C#
using System; using System.Collections.Generic; using System.Text; using NPOI.HSSF.Record.Formula.Eval; using NPOI.HSSF.Record.Formula.Functions; namespace NPOI.SS.Formula { public class UserDefinedFunction : FreeRefFunction { public static FreeRefFunction instance = new UserDefinedFunction(); ...
31.907407
91
0.567615
[ "MIT" ]
cschen1205/myob-accounting-plugin
NPOI/main/SS/Formula/UserDefinedFunction.cs
1,725
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
31.411765
81
0.644195
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet-intl-en
TencentCloud/Es/V20180416/Models/CosBackup.cs
1,602
C#
using GAPPSF.Commands; using GAPPSF.Core.Data; using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Window...
37.341346
216
0.544419
[ "MIT" ]
GlobalcachingEU/GAPP
GAPPSF/UIControls/CacheList/CacheList.xaml.cs
15,536
C#
// <auto-generated /> namespace DotNetAppSqlDb.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed partial clas...
27.5
96
0.624242
[ "MIT" ]
jojojen/TodoListDotnet
DotNetAppSqlDb/Migrations/201707311501229_InitialCreate.Designer.cs
825
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.Win32.SafeHandles; using System.Diagnostics; using System.Runtime.InteropServices; using System.Secu...
50.893855
126
0.597475
[ "MIT" ]
benjamin-bader/corefx
src/System.IO.MemoryMappedFiles/src/System/IO/MemoryMappedFiles/MemoryMappedView.Windows.cs
9,110
C#
// // Copyright (c) 2004-2021 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of ...
43.153846
134
0.665648
[ "BSD-3-Clause" ]
aTiKhan/NLog
src/NLog/Attributes/LogLevelTypeConverter.cs
3,929
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using Orbit.Core.Client; using System.Windows.Media; using Orbit.Core.Helpers; using System.Windows.Media.Effects; namespace Orbit.Core.Scene.Entities.HeavyWeight { class HeavyweightLine : Line, IHeavyWeigh...
31.826087
146
0.58561
[ "MIT" ]
ecl1ps/orbital-devastation
Application/Core/Scene/Entities/HeavyWeight/HeavyweightLine.cs
2,198
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...
43.68
175
0.664103
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/Lightsail/Generated/Model/Internal/MarshallTransformations/GetInstanceStateResponseUnmarshaller.cs
5,460
C#
#if UNITY_EDITOR || RUNTIME_CSG using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Sabresaurus.SabreCSG { [ExecuteInEditMode] public class TrimBrush : CompoundBrush { /// <summary> /// The size of the trim. /// </summary> [Serializ...
35.792271
143
0.635848
[ "MIT" ]
CloudDevStudios/SabreCSG
Scripts/Brushes/CompoundBrushes/TrimBrush.cs
7,411
C#
namespace CodeFirstExistingDatabase { using System; using System.Data.Entity; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; public partial class PlutoContext : DbContext { public PlutoContext() : base("name=PlutoContext") { } ...
28.705882
76
0.563525
[ "MIT" ]
georgetour/Entity-Framework
Chapter 4 Code-first workflow/CodeFirstExistingDatabase/CodeFirstExistingDatabase/PlutoContext.cs
976
C#
namespace Examples.FirstAutomappedProject.Entities { public class Employee { public virtual int Id { get; protected set; } public virtual string FirstName { get; set; } public virtual string LastName { get; set; } public virtual Store Store { get; set; } } }
31.1
54
0.62701
[ "BSD-3-Clause" ]
BrunoJuchli/fluent-nhibernate
src/Examples.FirstAutomappedProject/Entities/Employee.cs
311
C#
using Elizabeth; using System; namespace mogate { public class Attack : IBehavior { public Type Behavior { get { return typeof(Attack); } } public int Damage { get; set; } public int Distance { get; set; } public int ArchetypeID { get; set; } public Attack (int damage, int distance, int id = 0) { ...
17.130435
57
0.64467
[ "MIT" ]
rustamserg/mogate
mogate.Shared/Behaviors/Attack.cs
394
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 Microsoft.AspNetCore.Blazor.Shared; using Microsoft.AspNetCore.Razor.Language; using System; namespace Microsoft.AspNetCore.Blazor.Razor { i...
37.809524
125
0.623426
[ "Apache-2.0" ]
BickelLukas/Blazor
src/Microsoft.AspNetCore.Blazor.Razor.Extensions/RefTagHelperDescriptorProvider.cs
2,384
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Baseline; using Marten.Internal.Operations; using Marten.Linq; using Marten.Linq.Fields; using Marten.Linq.Filters; using Marten.Linq.Parsing; using Marten.Linq.QueryHandlers; using Marten.Linq...
30.948339
119
0.617384
[ "MIT" ]
barclayadam/marten
src/Marten/Internal/Storage/SubClassDocumentStorage.cs
8,387
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
35.454545
153
0.585128
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/WorkbookFormatProtectionRequestBuilder.cs
1,950
C#
using ItLank.CleanArchitecture.Core.Entities; using ItLank.CleanArchitecture.SharedKernel; namespace ItLank.CleanArchitecture.Core.Events { public class ToDoItemCompletedEvent : BaseDomainEvent { public ToDoItem CompletedItem { get; set; } public ToDoItemCompletedEvent(ToDoItem completedItem)...
26.066667
61
0.710997
[ "MIT" ]
ShabanGomaa/CleanArchitecture
src/ItLank.CleanArchitecture.Core/Events/ToDoItemCompletedEvent.cs
393
C#
namespace Rcon { public enum PacketType { ServerdataAuth = 3, ServerdataAuthResponse = 2, ServerdataExeccommand = 2, ServerdataResponseValue = 0 } }
17.636364
35
0.603093
[ "MIT" ]
Psychoboy/AtlasChatRelay
Rcon/PacketType.cs
196
C#
using System; using NHapi.Base; using NHapi.Base.Parser; using NHapi.Base.Model; using NHapi.Model.V24.Datatype; using NHapi.Base.Log; namespace NHapi.Model.V24.Segment{ ///<summary> /// Represents an HL7 QRF message segment. /// This segment has the following fields:<ol> ///<li>QRF-1: Where Subject Filt...
36.927419
122
0.644409
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
afaonline/nHapi
src/NHapi.Model.V24/Segment/QRF.cs
18,316
C#
using System.Collections.Generic; using tezcat.Framework.Database; using UnityEngine; namespace tezcat.Framework.UI { /// <summary> /// 浮动Tip /// </summary> public class TezFloatingTip : TezUIWidget , ITezSinglePrefab { [SerializeField] protected RectTransform m_Con...
24.39823
68
0.451941
[ "MIT" ]
tzkt623/TezcatFramework-Unity
UI/TezFloatingTip.cs
2,775
C#
using System.Diagnostics.CodeAnalysis; using NUnit.Framework; using SharpGEDParser.Parser; // TODO valid symbol namespace SharpGEDParser.Tests { [ExcludeFromCodeCoverage] [TestFixture] public class DateToken { [Test] public void Test() { string val = "13 Apr 1964"...
32.365079
90
0.518391
[ "Apache-2.0" ]
ennoborg/YAGP
SharpGEDParse/SharpGEDParser/Tests/DateToken.cs
4,080
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE.md file or at * https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.480/blob/master/LICENSE * */ #endregion using System; using System.Drawing; using System.Drawing.Drawing2D; using ...
32.086957
176
0.461382
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-Extended-NET-5.480
Source/Krypton Toolkit Suite Extended/Full Toolkit/Extended Controls/ExtendedToolkit/Ribbon/RibbonRoundButton.cs
14,762
C#
namespace MaSiRoProject { namespace Format { /// <summary> /// VMD フォーマットの構造 /// </summary> public partial class VMD_Format_Struct { /// <summary> /// X軸とY軸をまとめたクラス /// </summary> public class MotionInterpolation_Rectangle<...
33.305085
117
0.347176
[ "Apache-2.0" ]
MaSiRo-Project-OSS/VMDtoJSON
src/CS/Format/VMD_Format_Struct_Expansion.cs
10,677
C#
using IdentityModel; using IdentityServer4; using IdentityServer4.Models; using System.Collections.Generic; using System.Security.Claims; namespace IdentityServer { public static class Config { // User Role Mapping private static IdentityResource RoleResource = new IdentityResource { ...
34.5
86
0.507673
[ "MIT" ]
houseofcat/Authentication
AspNetCore3.x_IS4.1/IS01_IdentityServer4.1_AspNetIdentity/IdentityServer/Config.cs
2,348
C#
using System.Collections.Generic; using NBitcoin; namespace Stratis.Features.SQLiteWalletRepository.External { public interface IWalletTransactionReadOnlyLookup { /// <summary> /// Determines if the outpoint has been added to this collection. /// </summary> /// <param name="out...
38
102
0.685759
[ "MIT" ]
AYCHPay/AYCHPayGenesisFullnode
src/Stratis.Features.SQLiteWalletRepository/External/IWalletTransactionReadOnlyLookup.cs
648
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace AoC.Advent2016.Test { [TestCategory("2016")] [TestClass] public class Day12Test { string input = Util.GetInput<Day12>(); [TestCategory("Regression")] [DataTestMethod] public void Part1_Regression() { ...
22.115385
57
0.591304
[ "MIT" ]
benjymous/AdventOfCode
test/Advent2016/Day12Test.cs
575
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Documents; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Media; // The Templated Control...
25.208333
102
0.73719
[ "Apache-2.0" ]
Korhog/rMind.Home
rMind.Server/Libs/NodeEngine/rMind.BaseControls/Buttons/HeaderButton.cs
607
C#
/* * Marketplace * * API Cloud Loyalty LTM - Webpremios * * OpenAPI spec version: 1.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collection...
32.245902
152
0.509744
[ "MIT" ]
ltm-arquitetura/webpremios-csharp-sdks
src/IO.Swagger/Models/Sections.cs
5,928
C#
/* * DocuSign REST API * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * * OpenAPI spec version: v2.1 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using Syste...
54.24967
2,249
0.599265
[ "MIT" ]
MaxMood96/docusign-esign-csharp-client
sdk/src/DocuSign.eSign/Model/LocalePolicy.cs
41,067
C#
namespace Xamarin.Forms.Controls.GalleryPages.AppThemeGalleries { public class AppThemeGallery : ContentPage { public AppThemeGallery() { var descriptionLabel = new Label { Text = "AppTheme Galleries", Margin = new Thickness(2, 2, 2, 2) }; Title = "AppTheme Galleries"; var button = new Button ...
23.404255
85
0.648182
[ "MIT" ]
AlleSchonWeg/Xamarin.Forms
Xamarin.Forms.Controls/GalleryPages/AppThemeGalleries/AppThemeGallery.cs
1,102
C#
namespace MoogleEngine { public class WordWeigther { public char Operator { get; set;} public string Word { get; set; } public float Weigth { get; set; } public WordWeigther(string word, float weigth, char operators) { Word = word; Weigth = weigt...
23.375
70
0.540107
[ "MIT" ]
davidalba2001/First_project_moogle-2021-main
MoogleEngine/WordWeigther.cs
374
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace jabbR.Services { public class IChatService { } }
14.166667
33
0.735294
[ "Apache-2.0" ]
BrennanConroy/jabbR
src/Services/IChatService.cs
172
C#
namespace Unity.MARS.Companion.Core { /// <summary> /// Delegate used by the IssueHandling framework when an issue is requested. /// Implementers of <see cref="IUsesIssueHandling"/> must subscribe and handle /// how the request is presented to the user. /// </summary> /// <param name="re...
44.882353
121
0.695937
[ "Apache-2.0" ]
bsides44/MARSGeofencing
MARS geofencing/Library/PackageCache/com.unity.mars-companion-core@0.3.11-preview/Runtime/Scripts/IssueHandling/IssueHandlingCallbacks.cs
765
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security; using System.Text; using System.Threading.Tasks; #if nope namespace CitizenFX.Core { public class RageFileStream : Stream { private IntPtr m_handle; [SecuritySafeCritical]...
23.707071
97
0.504474
[ "MIT" ]
0x965/fivem
code/client/clrcore/RageFileStream.cs
2,349
C#
// Generated on 03/23/2022 09:50:13 using System; using System.Collections.Generic; using System.Linq; using AmaknaProxy.API.Protocol.Types; using AmaknaProxy.API.IO; using AmaknaProxy.API.Network; namespace AmaknaProxy.API.Protocol.Messages { public class ReloginTokenRequestMessage : NetworkMessage { ...
19.756757
60
0.588235
[ "MIT" ]
ImNotARobot742/DofusProtocol
DofusProtocol/D2Parser/Protocol/Messages/game/approach/ReloginTokenRequestMessage.cs
731
C#
namespace ElectronicElections.Data.Models { public enum ElectionTypeId { NationalAssembly = 0, PresidentalElections = 1, EuropeanParliament = 2 } }
18.5
42
0.643243
[ "MIT" ]
siderisltd/ElectronicElections
src/ElectronicElections.Data/Models/ElectionTypeId.cs
187
C#
using Lucene.Net.Index; using Lucene.Net.Util.Mutable; using System; namespace Lucene.Net.Queries.Function.DocValues { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional informati...
31.737179
148
0.551808
[ "Apache-2.0" ]
sreejukg/lucenenet
src/Lucene.Net.Queries/Function/DocValues/LongDocValues.cs
4,953
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...
35.438776
179
0.640656
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/AppMesh/Generated/Model/Internal/MarshallTransformations/ListenerTlsCertificateUnmarshaller.cs
3,473
C#
namespace ResourcesCalculator.Models { public class BuildingItem { public long Id { get; set; } public string Name { get; set; } public string Resource { get; set; } } }
22.777778
44
0.6
[ "MIT" ]
Tierbolg/ResourcesCalculator
ResourcesCalculator/Models/BuildingItem.cs
205
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; namespace NBi.Testing.Acceptance.Resources { /// <summary> /// This class is only used for acceptance testing purpose /// </summary> class AssemblyClass ...
32.677419
141
0.538335
[ "Apache-2.0" ]
CoolsJoris/NBi
NBi.Testing/Acceptance/Resources/AssemblyClass.cs
3,041
C#
using System; using System.IO; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using UnityEngine; using HarmonyLib; namespace DysonSphereProgram.Modding.Blackbox { public class BlackboxSelection { public readonly int factoryIndex; public readonly WeakReference<Plane...
34.378173
142
0.640162
[ "MIT" ]
Velociraptor115/DSPMods_Blackbox
Blackbox/BlackboxSelection.cs
13,545
C#
namespace TestSchoolApp { using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using SchoolApplication; using System.Linq; [TestClass] public class TestCourse { private const string ValidCourse = "Programing"; private const string StudentValid = "Petar"; ...
32.609195
85
0.607332
[ "MIT" ]
VVoev/Telerik-Academy
07.Unit Testing with C#/01. Unit Testing/Homework/TestSchoolUnitTesting/TestSchoolApp/TestCourse.cs
2,839
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
34.704225
84
0.534903
[ "Apache-2.0" ]
richa615/PatanHospital
PatanHospital/DeletePatient.aspx.designer.cs
4,930
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Target : MonoBehaviour { public float health = 50f; public void TakeDamage(float amount){ health -= amount; if(health <= 0f){ Die(); } } void Die(){ Destroy(gameObject); } }
14.409091
41
0.621451
[ "MIT" ]
DanielYang432/SDD-Task-2-Assessment
Assets/Scripts/Target.cs
317
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> //--...
35.7
151
0.5845
[ "Apache-2.0" ]
daoxuanhung/TVAutoFakeServer2
TVAutoFakeServer2/Properties/Settings.Designer.cs
1,073
C#
namespace Movies.Web.ViewModels.Account { using System.ComponentModel.DataAnnotations; public class LoginViewModel { [Required] [Display(Name = "Email")] [EmailAddress] public string Email { get; set; } [Required] [DataType(DataType.Password)] [Disp...
24.15
48
0.585921
[ "MIT" ]
puhabg/Template
Movies/Web/Movies.Web/ViewModels/Account/LoginViewModel.cs
485
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
38.786885
146
0.53973
[ "Apache-2.0" ]
AsquaredXIV/Lean
Algorithm.CSharp/DelistedIndexOptionDivestedRegression.cs
7,098
C#
// <auto-generated /> // Built from: hl7.fhir.r4b.core version: 4.1.0 // Option: "NAMESPACE" = "fhirCsR4" using fhirCsR4.Models; namespace fhirCsR4.ValueSets { /// <summary> /// The value set to instantiate this attribute should be drawn from a terminologically robust code system that consists of or contains co...
28.857143
311
0.653465
[ "MIT" ]
GinoCanessa/Subscription-CS-Endpoint
src/Fhir/R4B/ValueSets/ImmunizationRecommendationReason.cs
1,212
C#
using System; namespace BarcodeLib.Symbologies { /// <summary> /// Pharmacode encoding /// Written by: Brad Barnhill /// </summary> class Pharmacode: BarcodeCommon, IBarcode { string _thinBar = "1"; string _gap = "00"; string _thickBar = "111"; /// <summary> ...
25.195122
94
0.424976
[ "Apache-2.0" ]
9200237/barcodelib
BarcodeStandard/Symbologies/Pharmacode.cs
2,068
C#
/* * Elemental Annotations <https://github.com/takeshik/ElementalAnnotations> * Copyright © 2015 Takeshi KIRIYA (aka takeshik) <takeshik@tksk.io> * Licensed under the zlib License; for details, see the website. */ using System; using System.Diagnostics; // ReSharper disable CheckNamespace #if ELEMENTAL_ANNOTATION...
22.611111
75
0.767813
[ "MIT" ]
CirnoV/BattleInfoPlugin
BattleInfoPlugin/Annotations/LightAttribute.cs
815
C#
// // PackedByteArrayTests.cs // // Author: Jeffrey Stedfast <jestedfa@microsoft.com> // // Copyright (c) 2013-2018 Xamarin Inc. (www.xamarin.com) // // 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 th...
29.833333
87
0.675978
[ "MIT" ]
humayun-ahmed/MimeKit
UnitTests/Utils/PackedByteArrayTests.cs
2,329
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...
37.522124
115
0.623349
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/RoboMaker/Generated/Model/ListDeploymentJobsRequest.cs
4,240
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.Security.Principal; using Xunit; namespace System.Security.AccessControl.Tests { public class CommonSecurityDescript...
44.590909
100
0.519062
[ "MIT" ]
belav/runtime
src/libraries/System.Security.AccessControl/tests/CommonSecurityDescriptor/CommonSecurityDescriptor_Owner.cs
4,905
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...
39.39759
138
0.651376
[ "ECL-2.0", "Apache-2.0" ]
la3mmchen/pulumi-gcp
sdk/dotnet/Compute/Outputs/URLMapPathMatcherPathRuleRouteActionCorsPolicy.cs
3,270
C#
namespace ATF.Repository.ExpressionConverters { using System; using System.Linq.Expressions; public static class SimpleAggregationExpressionConverter { internal static ExpressionMetadata Convert(MethodCallExpression expression, ExpressionModelMetadata modelMetadata) { var body = ExpressionConverterUtilities....
34.947368
118
0.808735
[ "MIT" ]
Advance-Technologies-Foundation/repository
ATF.Repository/ExpressionConverters/SimpleAggregationExpressionConverter.cs
666
C#
namespace Hybrid.Zero.IdentityServer4.Services.Dtos { public class ApiResourcePropertyDto { public int Id { get; set; } public string Key { get; set; } public string Value { get; set; } } }
22.7
52
0.61674
[ "Apache-2.0" ]
ArcherTrister/ESoftor
src/Hybrid.Zero.IdentityServer4/Services/Dtos/ApiResourcePropertyDto.cs
229
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; /* Euler Problem 19 Keith Fletcher Jun 2017 This file is Unlicensed. See the foot of the file, or refer to <http://unlicense.org> */ namespace HisRoyalRedness.com...
30.508772
71
0.751006
[ "Unlicense" ]
HisRoyalRedness/ProjectEuler
EulerProblems/1 to 100/1 to 25/Problem019.cs
1,741
C#
// <auto-generated /> using DataStructureOfTheDay.Server.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using System; namespace DataStructureOfTheDay.Server.Data.Mi...
37.410615
125
0.458224
[ "MIT" ]
dkintop/DataStructureOfTheDay
DataStructureOfTheDay/Server/Data/Migrations/ApplicationDbContextModelSnapshot.cs
13,393
C#
using System; namespace FireflySoft.RateLimit.Core { /// <summary> /// The type of statistics start time /// </summary> public enum StartTimeType { /// <summary> /// From the current time. /// </summary> FromCurrent = 1, /// <summary> /// From the be...
25.333333
114
0.577068
[ "Apache-2.0" ]
Neos-Metaverse/FireflySoft.RateLimit
FireflySoft.RateLimit.Core/Rule/StartTimeType.cs
534
C#
using System; using System.Collections.Generic; using System.Text; namespace Zeph.Core.Questing { public class QuestingSystem { //public static bool ObjectiveProgressed(Classes.PlayerQuestObjective pqo, int progress) { // //Progress the playerQuestObjective object // pqo.pqo_Progress...
42.817708
218
0.521226
[ "Apache-2.0" ]
the-kings-man/Zeph
Zeph/ZephCore/Questing/QuestingSystem.cs
8,223
C#
namespace Views { partial class frmFuncionario { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <par...
44.810976
172
0.591509
[ "MIT" ]
lidia-freitas/zurne
zurne/Views/frmFuncionario.Designer.cs
7,352
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Sep.Git.Tfs.Commands; using Sep.Git.Tfs.Core.TfsInterop; namespace Sep.Git.Tfs.Core { public class TfsWorkspace : ITfsWorkspace { private readonly IWorkspace _workspace; private readonly string _localDirec...
42.426396
239
0.625508
[ "Apache-2.0" ]
spraints/git-tfs
GitTfs/Core/TfsWorkspace.cs
8,358
C#
using System; using System.Windows; using System.Windows.Data; using Squiggle.Client; using Squiggle.Core.Presence; using Squiggle.UI.Resources; namespace Squiggle.UI.Converters { public class StatusConverter: IValueConverter { #region IValueConverter Members public object Convert(object valu...
33.959184
124
0.564904
[ "MIT" ]
minhduystg1999/Squiggle-developed
Squiggle.UI/Converters/StatusConverter.cs
1,666
C#
/*************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. This code is licensed under the Visual Studio SDK license terms. THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARR...
45.267606
112
0.735843
[ "BSD-3-Clause" ]
aaron-hardin/M-Files-SDK
Libs/Microsoft.VisualStudio.Project/ProjectFileConstants.cs
6,428
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Windows.Forms; using System.Xml; using VideoOS.Platform; using VideoOS.Platform.Admin; using VideoOS.Platform.Back...
34.763021
189
0.594277
[ "MIT" ]
Silex/mipsdk-samples-plugin
SensorMonitor/Admin/SensorMonitorSensorItemManager.cs
13,349
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GDEngine3.Event { /// <summary> /// Class that defines an interface for objects that handle event dispatching /// </summary> public interface IEventHandler { /// <summary> /// Clears all...
38.363636
111
0.651066
[ "MIT" ]
LuizZak/GDEngine
GDEngine3/Event/IEventHandler.cs
1,690
C#
using SFA.DAS.Activities.Configuration; namespace SFA.DAS.Activities.IntegrationTests { public class ActivitiesIntegrationTestsConfiguration : IMessageServiceBusConfiguration, ICosmosConfiguration, IAzureBlobStorageConfiguration { public string ElasticUrl { get; set; } public string ElasticUse...
43.941176
144
0.714859
[ "MIT" ]
SkillsFundingAgency/das-activities
src/SFA.DAS.Activities.IntegrationTests/ElasticBackupTests/ActivitiesIntegrationTestsConfiguration.cs
749
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. namespace Microsoft.CodeAnalysis.ChangeSignature { internal abstract class ChangeSignatureAnalyzedContext {...
33.772727
98
0.711306
[ "MIT" ]
belav/roslyn
src/Features/Core/Portable/ChangeSignature/ChangeSignatureAnalyzedContext.cs
1,488
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace FlightManager.Web { public class Program { pub...
25.888889
70
0.646638
[ "MIT" ]
aalishov/SimpleApps
FlightManager/FlightManager.Web/Program.cs
699
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("Gen...
39.567568
84
0.756148
[ "MIT" ]
mikejr83/GenericDotNetSupportLibrary
GenericDotNetSupportLibrary.NET40/Properties/AssemblyInfo.cs
1,465
C#
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/) // // 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.apa...
55.663317
1,311
0.63194
[ "Apache-2.0" ]
AhmerRaza/Google-Dotnet-Samples
Samples/Compute Engine API/beta/ZoneOperationsSample.cs
11,079
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 JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.Extensions.DependencyInjection; namespace Microsoft.En...
45.317073
121
0.642088
[ "Apache-2.0" ]
BionStt/EntityFrameworkCore
src/EFCore/Storage/IDatabaseProvider.cs
1,858
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using CompoundInterestCalculator.Web.Models; using CompoundInterestCalculator.Web.Services; using Microsoft.AspNetCore.Components; using Microsoft.JSInterop; namespace CompoundInterestCalculator.Web.Pages { public class IndexBase : Comp...
35.708333
115
0.634189
[ "MIT" ]
davidtimovski/compound-interest-calculator
Source/CompoundInterestCalculator.Web/Pages/IndexBase.cs
1,716
C#