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
// *** 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...
45.84375
293
0.718473
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Inputs/RuleGroupRuleStatementNotStatementStatementNotStatementStatementXssMatchStatementTextTransformationArgs.cs
1,467
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This file was generated by Extensibility Tools v1.10.211 // </auto-generated> // ------------------------------------------------------------------------------ namespace DependinatorVse { static class Vsix {...
44.842105
168
0.588028
[ "MIT" ]
michael-reichenauer/Dependinator
DependinatorVse/source.extension.cs
852
C#
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; using Microsoft.CodeAnalysis.CSharp.Test.Utilities; using Microsoft.CodeAnalysis.Test.Utilities; using Roslyn.Test....
33.955945
228
0.571332
[ "Apache-2.0" ]
jdm7dv/Rosyln
Src/Compilers/CSharp/Test/Syntax/Parsing/ParserErrorMessageTests.cs
158,780
C#
/* The MIT License (MIT) Copyright (c) 2018 Helix Toolkit contributors */ using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using global::SharpDX; #if NETFX_CORE namespace HelixToolkit.UWP #else namespace HelixToolkit.Wpf.SharpDX #endif { using Utilities; u...
29.991803
110
0.525553
[ "MIT" ]
SiNeumann/helix-toolkit
Source/HelixToolkit.SharpDX.Shared/Model/Geometry/BoneSkinnedMeshGeometry3D.cs
3,661
C#
using Grasshopper.Kernel; using Grasshopper.Kernel.Parameters; using Grasshopper.Kernel.Types; using Rhino.Geometry; using System; using System.Collections.Generic; using Parametric_FEM_Toolbox.UIWidgets; using Parametric_FEM_Toolbox.Utilities; using Parametric_FEM_Toolbox.HelperLibraries; using Dlubal.RFEM5; using Pa...
36.38961
118
0.621342
[ "Apache-2.0" ]
diego-apellaniz/Parametric-FEM-Toolbox
Parametric_FEM_Toolbox/Parametric_FEM_Toolbox/GUI/SubComponent_RFLine_Disassemble_GUI.cs
2,807
C#
// https://github.com/meziantou/Meziantou.Framework #if NETCOREAPP namespace HandyControl.Tools; internal static class PendingEvent { public static PendingEvent<T> Add<T>(T item) => new PendingEvent<T>(PendingEventType.Add, item); public static PendingEvent<T> Insert<T>(int index, T item) => new PendingEven...
39
126
0.742369
[ "MIT" ]
Muzsor/HandyControls
src/Shared/HandyControl_Shared/HandyControls/Tools/Collection/ThreadSafe/PendingEvent.cs
821
C#
using System; using System.Diagnostics; using b2xtranslator.StructuredStorage.Reader; using b2xtranslator.Tools; namespace b2xtranslator.Spreadsheet.XlsFileFormat.Records { /// <summary> /// TABLESTYLE: Table Style (88Fh) /// /// This record is used for each custom Table style in use in the document....
30.039604
94
0.571852
[ "BSD-3-Clause" ]
EvolutionJobs/b2xtranslator
Xls/XlsFileFormat/Records/TableStyle.cs
3,034
C#
namespace HTTPServer.GameStoreApplication.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; public class Game { [Key] public int Id { get; set; } public string Title { get; set; } public string Trailer { get; set...
21.551724
60
0.6064
[ "MIT" ]
Steffkn/SoftUni
05.CSharpWeb/01.Basics/05.WebServer-CSS/WebServer/GameStoreApplication/Models/Game.cs
627
C#
using System; using System.Collections.Generic; using System.IO.Ports; using System.Linq; using Sharpduino.EventArguments; namespace Sharpduino.SerialProviders { public class ComPortProvider : ISerialProvider { private EnhancedSerialPort port; public ComPortProvider(string portName, ...
28.271739
139
0.509804
[ "MIT" ]
piccaso/sharpduino
Sharpduino/SerialProviders/ComPortProvider.cs
2,601
C#
using System.ComponentModel.DataAnnotations; namespace EntityG.Client.Models { public class LoginParamsType { [Required] public string UserName { get; set; } [Required] public string Password { get; set; } public string Mobile { get; set; } public string Captcha { get; set; ...
22.157895
55
0.624703
[ "MIT" ]
jackiesphan1996/EntityG-HRM
EntityG/Client/EntityG.Client/Models/LoginParamsType.cs
423
C#
namespace KaloPati.Entities.Model { public class Banner:BaseEntity { public string Bannername { get; set; } } }
16.625
46
0.639098
[ "MIT" ]
rbnprj/AspNetBoilerPlate
NetBoilerPlate.Entities/Model/Banner.cs
135
C#
using log4net.Util; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.DataStructures; using Terraria.ID; using Terraria.ModLoader; namespace PathOfModifiers.Projectiles { public class FrostPulse : ModProjectile, INonTriggerringProjectile { const int b...
32.731481
120
0.598868
[ "MIT" ]
Liburia/PathOfModifiers
Projectiles/FrostPulse.cs
3,535
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class PlayerText : MonoBehaviour { public GameObject textObject; public Text playerText; public float showTextSpeed; private bool displayText; private float hideAfter; void Start() { hideAfter ...
18.234043
77
0.736289
[ "MIT" ]
CaptainBulba/advanced-game-dev
Assets/Scripts/Player/PlayerText.cs
857
C#
using Plang.Compiler.Backend.ASTExt; using Plang.Compiler.TypeChecker; using Plang.Compiler.TypeChecker.AST; using Plang.Compiler.TypeChecker.AST.Declarations; using Plang.Compiler.TypeChecker.AST.Expressions; using Plang.Compiler.TypeChecker.AST.Statements; using Plang.Compiler.TypeChecker.AST.States; using Plang.Com...
43.504884
221
0.510181
[ "MIT" ]
HuaixiLu/P
Src/PCompiler/CompilerCore/Backend/CSharp/CSharpCodeGenerator.cs
71,263
C#
using System; public class StartUp { static void Main() { string firstDate = Console.ReadLine(); string secondDate = Console.ReadLine(); int days = DateModifier.DateDifference(firstDate, secondDate); Console.WriteLine(days); } }
17.375
70
0.633094
[ "MIT" ]
doba7a/SoftUni
CSharp Fundamentals/CSharp OOP Basics/2. Defining Classes - Exercise/5. DateModifier/StartUp.cs
280
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.902778
165
0.654545
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DataMigration/Outputs/ConnectToSourceOracleSyncTaskPropertiesResponse.cs
2,585
C#
namespace Havit.Data.EntityFrameworkCore.CodeGenerator.Services.SourceControl { public interface ISourceControlClient { void Add(string path); void Delete(string path); void Delete(string[] paths); } }
17.833333
78
0.766355
[ "MIT" ]
havit/HavitFramework
Havit.Data.EntityFrameworkCore.CodeGenerator/Services/SourceControl/ISourceControlClient.cs
216
C#
// ----------------------------------------------------------------------------------------- // <copyright file="TestLogListener.cs" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compli...
34.294118
122
0.588336
[ "Apache-2.0" ]
JoeLiang1983/Azure-Storage-Net
Test/WindowsRuntime/Core/TestLogListener.cs
2,334
C#
using Microsoft.Xna.Framework; using Pathoschild.Stardew.Automate.Framework; using SObject = StardewValley.Object; namespace Pathoschild.Stardew.Automate.Machines.Objects { /// <summary>A preserves jar that accepts input and provides output.</summary> internal class PreservesJarMachine : GenericMachine { ...
37.104478
128
0.555109
[ "MIT" ]
Denifia/Pathoschild-StardewMods
Automate/Machines/Objects/PreservesJarMachine.cs
2,488
C#
using NUnit.Framework; using static Appio.ObjectModel.Tests.ParameterResolverTest; namespace Appio.ObjectModel.Tests { public class ParameterResolverWithBooleanParametersShould { private enum Identifiers { Server, Client, Help } private ParameterResolver<Identifiers> _resolver; ...
37.136842
165
0.497449
[ "MPL-2.0" ]
dkaras88/APPIOframework
src/appio-objectmodel.tests/ParameterResolverWithBooleanParameters.Tests.cs
3,528
C#
using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace PuppeteerSharp.Tests.JSHandleTests { [Collection("PuppeteerLoaderFixture collection")] public class AsElementTests : PuppeteerPageBaseTest { public AsElementTests(ITestOutputHelper output) : base(output) { ...
32.8
115
0.63186
[ "MIT" ]
GarethWright/puppeteer-sharp
lib/PuppeteerSharp.Tests/JSHandleTests/AsElementTests.cs
1,314
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 Calculadora_POO { public partial class CalculadoraS : Form { public Calculador...
17.304348
44
0.680905
[ "Unlicense" ]
Dcendrette/projects-C--on-github
Calculadora POO/Calculadora POO/CalculadoraS.cs
400
C#
using System; using System.Collections.Generic; using System.Linq; namespace Nap.Html.Enum { /// <summary> /// Enumeration to describe the style of binding (InnerHtml, InnerText, etc). /// </summary> public enum BindingBehavior { /// <summary> /// Bind to the inner text (removing e...
27.372549
88
0.575215
[ "MIT" ]
forki/Nap
src/Nap.Html/Enum/BindingBehavior.cs
1,398
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 Xunit; namespace System.Data.Tests { public class TypedTableBaseExtensionsTests { [Fact] ...
37.081395
187
0.622452
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Data.DataSetExtensions/tests/System/Data/TypedTableBaseExtensionsTests.cs
3,189
C#
using AutoMat.Core.Constants; using System; using System.Collections.Generic; using System.Net.Http; using System.Text; namespace AutoMat.Core.Services { public sealed class FirebaseDatabaseHttpClient { private static HttpClient instance = null; private static readonly object padlock = new obj...
22.857143
108
0.5175
[ "MIT" ]
ASxCRO/AutoMat
AutoMat/AutoMat/AutoMat/Core/Services/FirebaseDatabaseHttpClient.cs
802
C#
/* Copyright (c) 2018-2021 Festo AG & Co. KG <https://www.festo.com/net/de_de/Forms/web/contact_international> Author: Michael Hoffmeister This source code is licensed under the Apache License 2.0 (see LICENSE.txt). This source code may use other Open Source software components (see LICENSE.txt). */ using System; u...
33.925
118
0.556466
[ "Apache-2.0" ]
bischof-keb/aasx-package-explorer
src/AasxWpfControlLibrary/PackageCentral/PackageContainerBase.cs
10,858
C#
/* [The "BSD licence"] Copyright (c) 2007-2008 Johannes Luber Copyright (c) 2005-2007 Kunle Odutola 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 MUST RETAIN the above...
23.370192
91
0.669204
[ "BSD-3-Clause" ]
beltrachi/antlr-3
runtime/CSharp/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/CommonTree.cs
4,861
C#
#region MIT License // The MIT License (MIT) // // Copyright © 2017-2019 Tobias Koch <t.koch@tk-software.de> // // 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, inc...
31.337662
113
0.658516
[ "MIT" ]
t081as/ScreenSaver
ScreenSaver/ScreenSaver.Test/ColorControl.cs
2,424
C#
using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; namespace moo.common.Models { [DebuggerDisplay("{Name}={(directory != null ? \"directory\" : value)} ({Type})")] public struct Property { public enum PropertyType ...
38.236364
176
0.547313
[ "MIT" ]
seanmcelroy/moo
moo.common/Models/Property.cs
8,412
C#
using UnityEngine; using UnityEngine.UI; // Display FPS on a Unity UGUI Text Panel // To use: Drag onto a game object with Text component // Press 'F' key to toggle show/hide public class VRFPSCounter : MonoBehaviour { public Text text; public bool show = true; private const int targetFPS = 60; ...
26.693548
73
0.481571
[ "MIT" ]
alexnaraghi/clash-of-clones
Assets/Plugins/VRFPSCounter.cs
1,655
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; public class MenuController : MonoBehaviour { public Slider PlayerSlider; public GameObject GameController; private GameController gameController; public Canvas Victor...
26.5
103
0.68501
[ "MIT" ]
jsuvanto/mighty-wings
Assets/Scripts/MenuController.cs
1,910
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.579365
190
0.637858
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/AppSync/Generated/Model/Internal/MarshallTransformations/GetApiCacheResponseUnmarshaller.cs
4,987
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; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks;...
40.869767
161
0.673723
[ "Apache-2.0" ]
0x53A/roslyn
src/Compilers/Core/CodeAnalysisTest/AssemblyUtilitiesTests.cs
8,789
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.Buffers; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Run...
34.9375
165
0.577014
[ "MIT" ]
Adam25T/corefx
src/System.IO.Pipelines/tests/PipeReaderWriterFacts.cs
27,391
C#
// SharpDevelop samples // Copyright (c) 2006, AlphaSierraPapa // 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 source code must retain the above copyright notice, th...
40.017241
101
0.761741
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
samples/Mono/Mono.Build.Tasks.Tests/MockMonoCSharpCompilerTask.cs
2,321
C#
// ----------------------------------------------------------------------- // Licensed to The .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // ----------------------------------------------------------------------- // This is a generated file. //...
32.517241
124
0.556204
[ "MIT" ]
AlexanderSemenyak/Kerberos.NET
Kerberos.NET/Entities/Krb/KrbPrincipalName.generated.cs
5,660
C#
namespace HappyThoughts.Services.Data.Votes { using System.Threading.Tasks; public interface IVotesService { Task<int> VoteTopicAsync(string topicId, string userId, bool isLike); } }
20.9
77
0.708134
[ "MIT" ]
ilkerBuguner/HappyThoughts
HappyThoghts/Services/HappyThoughts.Services.Data/Votes/IVotesService.cs
211
C#
using System; using BizHawk.Common; using BizHawk.Emulation.Common; using BizHawk.Emulation.Cores.Components.H6280; namespace BizHawk.Emulation.Cores.PCEngine { // ------------------------------------------------------ // HuC6202 Video Priority Controller // ------------------------------------------------------ ...
26.756806
103
0.591264
[ "MIT" ]
CognitiaAI/StreetFighterRL
emulator/Bizhawk/BizHawk-master/BizHawk.Emulation.Cores/Consoles/PC Engine/VPC.cs
14,745
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...
36.03
145
0.645296
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/Internal/MarshallTransformations/ListThingGroupsRequestMarshaller.cs
3,603
C#
using System.Collections; using UnityEngine; [AddComponentMenu("_Ground Objects/Active/Timer")] public class Timer : GroundObject { public WorkingObject workingObject; public float setTime = 5f; protected float timer = 0f; protected float step = Time.fixedDeltaTime; public override void Hit() ...
22.242424
50
0.577657
[ "MIT" ]
CookieNoir/Cloudy-Around
Assets/Scripts/Ground Objects/Active/Timer.cs
736
C#
using System; using System.Collections.Generic; using System.Linq; using Vip.DFe.Attributes; using Vip.DFe.Graphics; namespace Vip.DFe.Danfe.Elementos { /// <summary> /// Define uma pilha vertical de elementos, de forma que todos eles fiquem com a mesma largura. /// </summary> [AlturaFixa] int...
23.607595
103
0.506702
[ "MIT" ]
leandrovip/Vip.DFe
src/Vip.DFe/0-Domain/Danfe/Elementos/VerticalStack.cs
1,869
C#
using DSS.Architecture.Patterns.DotNet.Clean.Gateways; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IAR.Infrastructure { public class UnitOfWorkAsync : IUnitOfWorkAsync { private readonly Dictionary<Type, object> _reposit...
27.142857
94
0.619298
[ "MIT" ]
AlanBailie/nics-iar-api
IAR.Infrastructure/UnitOfWorkAsync.cs
1,142
C#
using CogniteSdk; using Microsoft.Extensions.Logging; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Cognite.Extractor.Utils { /// <summary> /// Base interface for upload queue /// </summary> public i...
35.981818
164
0.553815
[ "Apache-2.0" ]
cognitedata/dotnet-extractor-utils
ExtractorUtils/queues/BaseUploadQueue.cs
11,876
C#
namespace Spherus.Notifications.Mail { public enum DestinationType { To = 0, CC = 1, BCC = 2 } }
14.777778
37
0.511278
[ "MIT" ]
spherus/notifications
SourceCodes/Spherus.Notifications/Mail/DestinationType.cs
135
C#
using System; using System.Collections.Generic; using System.Text; using Lib.CharMappers; using Lib.CharsetGenerators; using Lib.Suppressors; namespace Lib.VariationGenerators { public sealed class ArbitraryVariationGenerator : VariationGeneratorBase { public ArbitraryVariationGenerator( s...
27.256944
101
0.515414
[ "MIT" ]
nabokov-ef/ForgottenPasswordGenerator
Lib/VariationGenerators/ArbitraryVariationGenerator.cs
3,927
C#
using CommonServiceLocator; using GalaSoft.MvvmLight.Ioc; namespace Chromatics.Controllers { /// <summary> /// This is a Service Locator to allow for loose coupling of components /// See https://martinfowler.com/articles/injection.html#UsingAServiceLocator for a description. /// </summary> ...
34.8
104
0.64751
[ "MIT" ]
Reylak/Chromatics
Chromatics/Controllers/Locator.cs
1,046
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 ...
18.611765
63
0.644753
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-iot/Iot/Model/V20180120/UpdateJobResponse.cs
1,582
C#
// Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information. namespace Remote.Linq { using Aqua.TypeSystem; using Remote.Linq.Expressions; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization;...
39.780992
183
0.597694
[ "MIT" ]
cosmintiru/Remote.Linq
src/Remote.Linq/Query.cs
9,629
C#
namespace Cosmetics { using Cosmetics.Engine; public class CosmeticsProgram { public static void Main() { CosmeticsEngine.Instance.Start(); } } }
15.384615
45
0.565
[ "MIT" ]
Valsinev/ComponentTestingWithC
WritedTestsForExams/OOP - 06 April 2015 - Evening/1/Solution/Cosmetics/CosmeticsProgram.cs
202
C#
using Harmony; using LmpClient.Events; // ReSharper disable All namespace LmpClient.ModuleStore.Harmony { [HarmonyPatch(typeof(ModuleScienceExperiment))] [HarmonyPatch("resetExperiment")] public class ModuleScienceExperiment_ResetExperiment { [HarmonyPostfix] private static void Postfi...
26.222222
86
0.726695
[ "MIT" ]
404inc/LunaMultiplayer
LmpClient/ModuleStore/Harmony/ModuleScienceExperiment_ResetExperiment.cs
474
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("Tea...
37.567568
84
0.747482
[ "MIT" ]
crhwebdev/TeamPowered
TeamPowered/TeamPowered/Properties/AssemblyInfo.cs
1,393
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Strategy { public class CashReturn : CashSuper { private double _moneyConditon=0.0d; private double _moneyReturn = 0.0d; public CashReturn(double moneyConditi...
23.354839
80
0.600829
[ "MIT" ]
Damon-Salvatore/design-patterns
Stragety/example01/CashReturn.cs
726
C#
using Microsoft.Maui.Controls; namespace Prism.Maui.Tests.Navigation.Mocks.Views; public class TabbedPageEmptyMock : TabbedPage { }
16.875
50
0.807407
[ "MIT" ]
jBijsterboschNL/Prism.Maui
tests/Prism.Maui.Tests/Mocks/Views/TabbedPageEmptyMock.cs
137
C#
// Copyright 2017, Institute for Artificial Intelligence - University of Bremen using UnrealBuildTool; public class UROSActorControl : ModuleRules { public UROSActorControl(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; PublicIncludePaths.AddRange( ...
20.552239
79
0.601307
[ "BSD-3-Clause" ]
bbferka/UROSActorControl
Source/UROSActorControl/UROSActorControl.Build.cs
1,377
C#
using Tida.Canvas.Shell.Contracts.ComponentModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static Tida.Canvas.Shell.Contracts.ComponentModel.Constants; namespace Tida.Canvas.Shell.ComponentModel { [ExportEditorDescriptor(EditorType =...
32.214286
104
0.813747
[ "MIT" ]
JanusTida/Tida.CAD
Tida.Canvas.Shell/ComponentModel/Ellipse2DEditorDescriptor.cs
453
C#
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace Haukcode.TaxifyDotNet.Models { public class Address { [JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] public string FirstName { get; set; } [JsonProperty(DefaultValue...
28.564103
74
0.671454
[ "MIT" ]
HakanL/TaxifyDotNet
TaxifyDotNet/Models/Address.cs
1,116
C#
using System.Net; using System.Web.Http; using DotJEM.Web.Host.Results; namespace DotJEM.Web.Host { public static class ApiControllerExtentions { public static NotFoundErrorMessageResult NotFound(this ApiController self, string message) { return new NotFoundErrorMessageResult(HttpS...
26.642857
98
0.715818
[ "MIT" ]
dotJEM/web-host
src/DotJEM.Web.Host/ApiControllerExtentions.cs
375
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Linq; using Elastic.Elasticsearch.Xunit.XunitPlumbing; using FluentAssertions; using N...
27.485714
157
0.646223
[ "Apache-2.0" ]
Brightspace/elasticsearch-net
tests/Tests/QueryDsl/Geo/GeoShape/GeoWKTTests.cs
8,660
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="RepositoryEF6InMemorySqlServerUnitTests.cs" company="DotnetScaffolder"> // MIT // </copyright> // -------------------------------------------------------------------------------...
31.288538
120
0.513138
[ "MIT" ]
laredoza/.NetScaffolder
Templates/Generated/Dotnet/Domain/Data/Tests/EF/Repository/In-Memory/RepositoryEF6InMemorySqlServerUnitTests.cs
7,918
C#
public class Rectangle { public double Length { get; set; } public double Width { get; set; } }
20.8
38
0.644231
[ "MIT" ]
donstany/Sand_Box
SandBox_Console_App/Rectangle.cs
106
C#
using Discord; using Discord.WebSocket; using System.Linq; using System.Threading.Tasks; namespace RavenBOT.Common { public static partial class Extensions { public static async Task<IMessage[]> GetFlattenedMessagesAsync(this ISocketMessageChannel channel, int count = 100) { var msg...
26.875
123
0.688372
[ "MIT" ]
PassiveModding/RavenBOT
RavenBOT.Common/Extensions/ChannelExtensions.cs
430
C#
// CS1508: The resource identifier `A' has already been used in this assembly // Line: 0 // Compiler options: -res:1,A -linkres:1,A
26.6
77
0.706767
[ "Apache-2.0" ]
121468615/mono
mcs/errors/cs1508-2.cs
133
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> //----------------------------------------...
35.005348
84
0.538955
[ "ECL-2.0", "Apache-2.0" ]
SysSurge/vera
WebPages/AccessControl/EditRole.aspx.designer.cs
6,548
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Eqstra.DataProvider.AX.SSModels { public class SupplierSelection { public String CaseNumber { get; set; } public Int64 CaseServiceRecID { get; set; } public L...
23
54
0.636267
[ "MIT" ]
pithline/FMS
Pithline.FMS.DataProvider.AX/SSModels/SupplierSelection.cs
945
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.Management.Network.M...
48.363095
203
0.626831
[ "MIT" ]
AbelHu/azure-sdk-for-net
sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/AzureFirewallFqdnTagsRestOperations.cs
8,125
C#
using CadEditor; using System; using System.Drawing; public class Data { public OffsetRec getScreensOffset() { return new OffsetRec(0x323f, 1 , 48*7, 48, 7); } public bool isBuildScreenFromSmallBlocks() { return true; } public bool isBigBlockEditorEnabled() { return false; } public bool isBlockEdito...
48.5
92
0.694845
[ "MIT" ]
spiiin/CadEditor
CadEditor/settings_nes/robocop_2/Settings_RoboCop2-bonus1.cs
1,455
C#
// *********************************************************************** // Assembly : ACBr.Net.DFe.Core // Author : RFTD // Created : 06-22-2018 // // Last Modified By : RFTD // Last Modified On : 06-22-2018 // *********************************************************************** // <cop...
50.149425
220
0.643135
[ "MIT" ]
ACBrNet/ACBr.Net.DFe.Core
src/ACBr.Net.DFe.Core/ACBrDFeValidationException.cs
4,363
C#
using System.Reflection; namespace Docu.IO { public interface IAssemblyLoader { Assembly LoadFrom(string assemblyPath); } }
16
47
0.694444
[ "BSD-3-Clause" ]
ChrisMissal/docu
src/Docu.Console/IO/IAssemblyLoader.cs
144
C#
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using System.IO.IsolatedStorage; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Threading; using accel; using dbg; using er; using er....
22.088235
52
0.805593
[ "Unlicense" ]
WanKerr/Sonic4Episode1
Sonic4Episode1/AppMain/Types/AME_HEADER.cs
751
C#
namespace SIFLess { partial class TestWindow { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param...
48.83871
107
0.612212
[ "MIT" ]
GuitarRich/sif-less
SIFLess/SIFLess/TestWindow.Designer.cs
13,628
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // O código foi gerado por uma ferramenta. // Versão de Tempo de Execução:4.0.30319.42000 // // As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas s...
31.78934
138
0.731934
[ "MIT" ]
igupansini/Programming-Mobile-FATEC
MarcadorTruco/MarcadorTruco/MarcadorTruco.Android/Resources/Resource.designer.cs
238,588
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 ...
39.817797
165
0.631372
[ "Apache-2.0" ]
QilongChan/Lean
Tests/Common/Securities/Futures/FuturesExpiryUtilityFunctionsTests.cs
9,399
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DebugUtility { static public void Assert(bool isTrue, string message = "") { if (!isTrue) Debug.LogError(message); } }
22.9
65
0.71179
[ "MIT" ]
wood9366/freecell
Assets/scripts/share/DebugUtility.cs
231
C#
using PX.Data; using PX.Objects.PM; using PX.SM; using System; using System.IO; using System.Net; using Newtonsoft.Json.Linq; using System.Text; using Newtonsoft.Json; using System.Security.Cryptography; using System.Collections.Generic; using PX.Data.DependencyInjection; using Microsoft.AspNet.SignalR.Infrastructure; ...
43.622951
168
0.617813
[ "MIT" ]
Acumatica/Acumatica-Smartsheet
PX.SmartSheetIntegration/SM/MyProfileMaintExt.cs
13,305
C#
#nullable enable using System; using System.IO; using System.Threading; using System.Threading.Tasks; using Android.App; using Android.Content; using Android.Graphics; using Android.Graphics.Drawables; using Android.Views; using Android.Widget; using Bumptech.Glide; using Xamarin.Forms; using Xamarin.Forms.Platform.An...
33.225806
160
0.68516
[ "MIT" ]
dimonovdd/glidex
glidex.forms/GlideExtensions.cs
7,212
C#
using System; namespace Inheritance { class BaseClass { public void Method() { Console.WriteLine("Method from BaseClass"); } } }
13.769231
55
0.536313
[ "MIT" ]
6e3veR6k/codewars-csharp
resources/csharp-essential-materials/003_Inheritance/003_Inheritance/Inheritance6/BaseClass.cs
181
C#
using System; namespace ELearning.Application.Assignments.Queries.GetPresentNotEvaluatedAssignmentsListById { public class PresentNotEvaluatedAssignmentLookupModel { public int AssignmentId { get; set; } public int UserId { get; set; } public string UserName { get; set; } publi...
28.823529
93
0.657143
[ "MIT" ]
MKafar/ELearning
ELearning.Application/Assignments/Queries/GetPresentNotEvaluatedAssignmentsListById/PresentNotEvaluatedAssignmentLookupModel.cs
492
C#
using Microsoft.Extensions.Options; using MongoDB.Driver; using System.Linq; using System; using System.Threading.Tasks; using Mongo=MongoDB.Driver; using MongoDB.Driver.Linq; using MongoDB.Driver.GridFS; using ImageWizard.MongoDB.Models; using System.IO; using ImageWizard.Caches; namespace ImageWizard.MongoDB { ...
40.509259
168
0.624229
[ "MIT" ]
haiduong87/ImageWizard
src/ImageWizard.MongoDB/Caches/MongoDBCache.cs
4,377
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.285714
285
0.697957
[ "Apache-2.0" ]
ermshiperete/aws-sdk-net
AWSSDK_DotNet35/Amazon.Route53/Model/UpdateHealthCheckResponse.cs
1,566
C#
// <copyright file="DirectoryInfoBaseAbstractionAdapter.cs" company="QutEcoacoustics"> // All code in this file and all associated files are the copyright and property of the QUT Ecoacoustics Research Group. // </copyright> namespace MetadataUtility.Utilities.FileSystem { using System.IO.Abstractions; /// <su...
41.262136
183
0.602353
[ "MIT" ]
JordanMercerECCC/emu
src/MetadataUtility/Utilities/FileSystem/DirectoryInfoBaseAbstractionAdapter.cs
4,250
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.485549
109
0.526148
[ "MIT" ]
Drizin/CodegenCS
src/CodegenCS.DbSchema.Templates/SimplePOCOGenerator/SampleOutput/ProductSubcategory.generated.cs
5,968
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class WorldManager : MonoBehaviour { [Header("Debug")] public BiomeSettings debugBiome; [Header("Settings")] private int biomeId = 0; public int[] biomeMeters = new int[4]; public LevelChunk introChunk; ...
25.613333
75
0.625195
[ "CC0-1.0" ]
snorbertas/starpath
Assets/_Jam/Scripts/Level/WorldManager.cs
1,923
C#
using System; using System.Collections.Generic; using System.Linq; using NestorHub.Sentinels.Domain.Class; using NestorHub.Sentinels.Domain.Interfaces; using NFluent; using NSubstitute; using Xunit; namespace NestorHub.SentinelsLibrary.Tests { public class PackagesInstancesShould { private readonly IPa...
49.151852
124
0.669957
[ "MIT" ]
NestorHub/NestorHubServer
SentinelsLibrary/SentinelsLibrary.Tests/PackagesInstancesShould.cs
13,271
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.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using Silk.NET.Core.Attr...
95.232
468
0.724924
[ "MIT" ]
HurricanKai/Silk.NET
src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.IBM/IbmMultimodeDrawArraysOverloads.gen.cs
23,808
C#
namespace Ploeh.AutoFixture { /// <summary> /// Encapsulates a customization of an <see cref="IFixture"/>. /// </summary> public interface ICustomization { /// <summary> /// Customizes the specified fixture. /// </summary> /// <param name="fixture">The fixt...
26.666667
68
0.565
[ "MIT" ]
TeaDrivenDev/AutoFixture
Src/AutoFixture/ICustomization.cs
402
C#
using Flamingo.Condiments; using Telegram.Bot.Types; namespace Flamingo.Filters.MessageFilters { /// <summary> /// Filter messages that are forwarded. /// </summary> public class ForwardedFilter : FilterBase<ICondiment<Message>> { /// <summary> /// Filter messages that are forwarde...
27.695652
66
0.565149
[ "Apache-2.0" ]
immmdreza/FlamingoFramework
Flamingo/Filters/MessageFilters/ForwardedFilter.cs
639
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
36.612903
77
0.770044
[ "MIT" ]
Andre0007/RoboWikiAppXamarin
RoboWikiAppXamarin/RoboWikiAppXamarin.Android/Properties/AssemblyInfo.cs
1,138
C#
namespace f { partial class DictionaryBlend { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param ...
52.420432
170
0.621767
[ "MIT" ]
easably/easy2learn
DictionaryBlend/DictionaryBlend.Designer.cs
26,684
C#
// <copyright file="ASCIISevenBitTruncatingEncodingTests.cs" company="Rnwood.SmtpServer project contributors"> // Copyright (c) Rnwood.SmtpServer project contributors. All rights reserved. // Licensed under the BSD license. See LICENSE.md file in the project root for full license information. // </copyright> namespac...
35.125
111
0.603648
[ "BSD-3-Clause" ]
fossabot/smtpserver
Rnwood.SmtpServer.Tests/ASCIISevenBitTruncatingEncodingTests.cs
2,250
C#
/* ==================================================================== Copyright (C) 2004-2008 fyiReporting Software, LLC Copyright (C) 2011 Peter Gill <peter@majorsilence.com> This file is part of the fyiReporting RDL project. Licensed under the Apache License, Version 2.0 (the "License"); you may...
31.041716
118
0.537705
[ "Apache-2.0" ]
Kernel-Klink/My-FyiReporting
RdlEngine/Runtime/PageTextHtml.cs
26,044
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NoCaml.UserProfiles { [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] public class ProfilePropertySourceLogAttribute : Attribute { public string LogPropertyName { get; set...
25.558824
71
0.596087
[ "MIT" ]
tqc/NoCaml
NoCaml/UserProfiles/ProfilePropertySourceLogAttribute.cs
871
C#
using System; using System.Collections.Generic; using System.Linq; namespace CinemaAPI.Core.CustomEntities { public class PagedList<T> : List<T> { public int CurrentPage { get; set; } public int TotalPages { get; set; } public int PageSize { get; set; } public int TotalCount {...
31.45
94
0.608108
[ "Apache-2.0" ]
FrankcoMiguel/CinemaAPI
CinemaAPI.Core/CustomEntities/PagedList.cs
1,260
C#
/* MIT License Copyright (c) 2011-2019 Markus Wendt (http://www.dodoni-project.net) All rights reserved. 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 li...
58.852632
241
0.63629
[ "MIT" ]
dodoni/dodoni.net
BasicMathLibrary/Miscellaneous/Regions/MultiDimRegion.Polynomial.cs
11,184
C#
//*******************************************************************************************// // // // Download Free Evaluation Version From: https://bytescout.com/download/web-installer // // ...
46.25
95
0.309653
[ "Apache-2.0" ]
jboddiford/ByteScout-SDK-SourceCode
BarCode SDK/C#/Print Barcode/Program.cs
1,296
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.user.agreement.sign.effect /// </summary> public class AlipayUserAgreementSignEffectRequest : IAopRequest<AlipayUserAgreementSignEffectResponse> ...
23.6
106
0.605932
[ "Apache-2.0" ]
Varorbc/alipay-sdk-net-all
AlipaySDKNet/Request/AlipayUserAgreementSignEffectRequest.cs
2,622
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.DotNet.UpgradeAssistant { public static class WellKnownStepIds { public const string BackupStepId = "Microsoft.DotNet.UpgradeAssistant.Steps.Back...
83.875
151
0.80924
[ "MIT" ]
kreghek/upgrade-assistant
src/common/Microsoft.DotNet.UpgradeAssistant.Abstractions/WellKnownStepIds.cs
2,015
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using Action; public class AnimatedGestureAbility : GestureAbility { [Tooltip("Mandatory field: How much energy this ability uses")] [SerializeField] private int energyCost; [Tooltip("Mandatory field: The name of the animation ...
36.554348
193
0.67975
[ "MIT" ]
669-Development-Team/Mecha-Fighter-VR
Mecha Fighter VR/Assets/Scripts/Action/AnimatedGestureAbility.cs
3,365
C#
namespace PacMan.GameComponents.Ghosts; /// Moves the ghosts while they are inside of the house public class GhostInsideHouseMover : GhostMover { readonly GhostHouseDoor _door; readonly Vector2[] _routeOut; readonly Vector2 _topPos; readonly Vector2 _bottomPos; Vector2 _cellToMoveFrom; Vector...
26.161017
112
0.574668
[ "MIT" ]
ScriptBox99/PacManBlazor
src/PacMan.GameComponents/Ghosts/GhostInsideHouseMover.cs
3,089
C#
using System; using System.Collections.Generic; using System.Text; namespace CQELight.Abstractions.IoC.Interfaces { /// <summary> /// Contract interface for type registration into Ioc container. /// </summary> public interface ITypeRegistration { /// <summary> /// Type of abstracti...
24.777778
71
0.656951
[ "MIT" ]
Thanouz/CQELight
src/CQELight/Abstractions/IoC/Interfaces/ITypeRegistration.cs
448
C#
namespace ZKWeb.Plugins.Shopping.Order.src.Domain.Enums { /// <summary> /// 买家或卖家留言 /// </summary> public enum OrderCommentSide { /// <summary> /// 买家留言 /// </summary> BuyerComment = 0, /// <summary> /// 卖家留言 /// </summary> SellerComment = 1 } }
17.6875
59
0.558304
[ "MIT" ]
303248153/ZKWeb.Plugins
src/ZKWeb.Plugins/Shopping.Order/src/Domain/Enums/OrderCommentSide.cs
315
C#