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
// // Unit tests for DoNotRecurseInEqualityRule // // Authors: // Jesse Jones <jesjones@mindspring.com> // // Copyright (C) 2008 Jesse Jones // // 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 Softw...
27.903955
95
0.689411
[ "MIT" ]
JAD-SVK/Gendarme
rules/Gendarme.Rules.Correctness/Test/DoNotRecurseInEqualityTest.cs
4,939
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.Linq; using Microsoft.ML.Internal.Utilities; namespac...
37.376404
167
0.563806
[ "MIT" ]
cluesblues/machinelearning
src/Microsoft.ML.Data/DataView/ZipDataView.cs
6,655
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; public enum EnemyState { PATROL, CHASE, ATTACK } public class EnemyController : MonoBehaviour { private EnemyAnimator enemy_Anim; private NavMeshAgent navAgent; private EnemyState enemy_Stat...
23.210084
91
0.608979
[ "MIT" ]
Youngermaster/Unity-FPS
Assets/Scripts/Enemy Scripts/EnemyController.cs
5,526
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Windows.Forms; using AryuwatSystem.DerClass; using Entity; using WeifenLuo.WinFormsUI.Docking; namespace A...
38.067138
246
0.482688
[ "Unlicense" ]
Krailit/Aryuwat_Nurse
AryuwatSystem/Forms/FrmDoctorSchedule.cs
10,809
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Le informazioni generali relative a un assembly sono controllate dal seguente // set di attributi. Per modificare le informazioni associate a un assembly // occorre quindi modificare i valori di questi attributi....
43.324324
128
0.763568
[ "MIT" ]
Draxent/CompressingWebPages
CompressingWebPages/Properties/AssemblyInfo.cs
1,609
C#
using BenchmarkDotNet.Attributes; using LibraryTests.Tests.BaseClasses; namespace LibraryTests.Tests { public class StackAllocVsNew : TestBaseClass { [Benchmark(Description = "New")] public unsafe void NewTest() { int[] Data = new int[Count]; fixed (i...
29.679245
71
0.439288
[ "Apache-2.0" ]
JaCraig/I-Got-Bored
LibraryTests/Tests/StackAllocVsNew.cs
1,575
C#
using Solnet.KeyStore.Model; namespace Solnet.KeyStore.Serialization { public static class JsonKeyStoreScryptSerializer { public static string SerializeScrypt(KeyStore<ScryptParams> scryptKeyStore) { return System.Text.Json.JsonSerializer.Serialize(scryptKeyStore); } ...
30.058824
93
0.69863
[ "MIT" ]
BAISGame/Solnet-lib-for-BAIS
src/Solnet.KeyStore/Serialization/JsonKeyStoreScryptSerializer.cs
511
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...
42.589506
164
0.646677
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/FMS/Generated/ServiceEnumerations.cs
27,598
C#
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------- namespace System.Activities.Expressions { using System.Activities; using System.Activities.Statements; using S...
34.347368
147
0.567882
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/cdf/src/NetFx40/System.Activities/System/Activities/Expressions/Subtract.cs
3,265
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.Diagnostics; using System.Runtime.CompilerServices; namespace Iot.Device { /// <summary> /// Common code for Sensirion devices. /// </summary...
46.901408
127
0.577477
[ "MIT" ]
CodedBeard/iot
src/devices/Shared/Sensirion.cs
3,332
C#
using Cdy.Spider; using System; namespace Cdy.Api.SpiderTcp.Develop { public class SpiderTcpDevelop : Cdy.Spider.ApiDevelopBase { #region ... Variables ... private TcpApiData mData; #endregion ...Variables... #region ... Events ... #endregion ...Events... ...
23.666667
181
0.514671
[ "Apache-2.0" ]
bingwang12/Spider
Develop/Api/Cdy.Api.SpiderTcp.Develop/SpiderTcpDevelop.cs
1,704
C#
namespace Ryujinx.Graphics.Gpu.State { /// <summary> /// Stencil test masks for back tests. /// </summary> struct StencilBackMasks { #pragma warning disable CS0649 public int FuncRef; public int Mask; public int FuncMask; #pragma warning restore CS0649 } }
20.333333
42
0.636066
[ "MIT" ]
0MrDarn0/Ryujinx
Ryujinx.Graphics.Gpu/State/StencilBackMasks.cs
305
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. //-------------------------------------------------------------------------------------- // QueryEvent.cs // // Event structure returned from queries // // Advanced Technology Group (ATG) // Copyright (C) Microsoft Corporation. All right...
26.544262
89
0.409091
[ "MIT" ]
Bhaskers-Blu-Org2/UnityTelemetryVisualizer
Plugins/GameTelemetry/QueryEvents.cs
8,096
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...
55.75
908
0.695441
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Media/V20200501/Inputs/MultiBitrateFormatArgs.cs
2,676
C#
/* Copyright 2007-2017 The NGenerics Team (https://github.com/ngenerics/ngenerics/wiki/Team) This program is licensed under the MIT License. You should have received a copy of the license along with the source code. If not, an online copy of the license can be found at https://opensource.org/licenses/MIT. *...
26.341137
92
0.530853
[ "MIT" ]
ngenerics/ngenerics
src/NGenerics.Examples/DataStructures/General/SortedListExamples.cs
7,876
C#
/** * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. */ using TeamCloud.Model.Commands.Core; using TeamCloud.Model.Data; namespace TeamCloud.Model.Commands { public sealed class OrganizationDeployCommandResult : CommandResult<Organization> { } }
19.333333
85
0.737931
[ "MIT" ]
Chongruiyuan893/TeamCloud
src/TeamCloud.Model/Commands/OrganizationDeployCommandResult.cs
292
C#
using Entitas; public class MoveSystem : ISystem { }
9.333333
35
0.714286
[ "MIT" ]
Mwimwii/Entitas-CSharp
Tests/Tests/Entitas.Migration/Fixtures/M0180/SubFolder/MoveSystem.cs
58
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...
32.028571
81
0.660125
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/CustomerInsights/Latest/Inputs/RelationshipTypeFieldMappingArgs.cs
1,121
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor.Experimental.U2D.Layout; namespace UnityEditor.Experimental.U2D.Animation { internal class SkeletonToolWrapper : BaseTool { private SkeletonTool m_SkeletonTool; private Skel...
27.097222
110
0.561251
[ "MIT" ]
MandyMY/HalloweenCandies
Code/Library/PackageCache/com.unity.2d.animation@2.2.1-preview.2/Editor/SkinningModule/SkeletonTool/SkeletonToolWrapper.cs
1,951
C#
using Microsoft.EntityFrameworkCore; using PatientRecordSystem.Domain.Models; using PatientRecordSystem.Domain.Repositories; using PatientRecordSystem.Extensions; using PatientRecordSystem.Helpers; using PatientRecordSystem.Persistence.Contexts; using PatientRecordSystem.Resources; using System; using System.Collectio...
41.87
172
0.580845
[ "MIT" ]
amiqat/Patient-Record-System
PatientRecordSystem/Persistence/Repositories/PatientRepository.cs
4,189
C#
#region BSD License /* BSD License Copyright (c) 2002, Randy Ridge, The CsGL Development Team http://csgl.sourceforge.net/ 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 c...
36.85782
119
0.707856
[ "MIT" ]
lvendrame/p-atack
Usings/CsGLExamples/src/RedbookExamples/src/RedbookScenebamb.cs
7,777
C#
using Avalonia; using Avalonia.Controls; using Avalonia.Markup.Xaml; using Avalonia.Threading; using System; namespace roxy_tool.UserControls { public class DeviceControl : UserControl { ConfigOption flagsCheck; ConfigOption svre9Left; ConfigOption svre9Right; byte[] mapping = ...
31.013699
100
0.586572
[ "BSD-2-Clause" ]
veroxzik/roxy-tool
roxy-tool/UserControls/DeviceControl.axaml.cs
2,266
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. // This code was generated by an automated template. using Mosa.Compiler.Framework; namespace Mosa.Platform.x64.Instructions { /// <summary> /// BranchLessThan /// </summary> /// <seealso cref="Mosa.Platform.x64.X64Instruction" /> public sealed ...
26.369565
91
0.728772
[ "BSD-3-Clause" ]
kthompson/MOSA-Project
Source/Mosa.Platform.x64/Instructions/BranchLessThan.cs
1,213
C#
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Resony.Server")]
29
47
0.827586
[ "MIT" ]
ikebig/auralsys-audio
src/Resony.Server.Abstractions/AssemblyInfo.cs
87
C#
using System; using System.Collections.Generic; using System.Collections; using System.Linq; using System.Text; using System.Diagnostics.Contracts; namespace Exolutio.CodeContracts.Support { /// <summary> /// OCL Bag implementation. Collection with unordered, not unique elements. /// /// </...
30.750742
139
0.503619
[ "BSD-2-Clause" ]
mff-uk/exolutio
CodeContractsSupport/OclBag.cs
10,365
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
38.055976
157
0.515842
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.451
Source/Krypton Components/ComponentFactory.Krypton.Ribbon/View Draw/ViewDrawRibbonGroupTextBox.cs
25,158
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.AspNetCore.Mvc.RazorPages; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Confi...
35.337838
102
0.637476
[ "MIT" ]
ZombieFleshEaters/mtgdm
mtgdm/Pages/Admin/User/Delete.cshtml.cs
2,615
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; namespace InnovatorAdmin.Documentation { public class List : IElement { public ListType Type { get; set; } public ListItem Header { get; set; } public List<ListIte...
26.457143
105
0.665227
[ "MIT" ]
GCAE/InnovatorAdmin
InnovatorAdmin.Api/Documentation/List.cs
928
C#
// <auto-generated /> using System; using Core; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Core.Migrations { [DbContext(typeof(AppDbContext))...
35.445205
126
0.49256
[ "MIT" ]
github-123456/DynamicForm
src/Core/Migrations/AppDbContextModelSnapshot.cs
5,177
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.AccessApi { #region Delegates #pragma warning disable public delegate void SubReport_EnterEventHandler(); public delegate void SubReport_ExitEventHandler(ref Int16 cancel); #pragma warning...
26.295455
107
0.740709
[ "MIT" ]
igoreksiz/NetOffice
Source/Access/Classes/SubReport.cs
1,159
C#
#Tue Nov 30 21:55:21 EST 2021 lib/com.ibm.ws.cdi.web_1.0.59.jar=2a3b1d88da836f2e16f16ed66e39ec63 dev/api/spec/com.ibm.websphere.javaee.jsp.2.3_1.0.59.jar=1986d83a3a75ecc98c30d075e80e25bd lib/com.ibm.ws.cdi.1.2.web_1.0.59.jar=57b210267d5ef6abc7d552b58d15b96e lib/features/com.ibm.websphere.appserver.cdi1.2-servlet3.1.mf=...
58.833333
94
0.838527
[ "MIT" ]
johnojacob99/CSC480-21F
frontend/target/liberty/wlp/lib/features/checksums/com.ibm.websphere.appserver.cdi1.2-servlet3.1.cs
353
C#
using Cemig.Gecipa.CoreBusiness.Domain.Models.ReuniaoAggregate; using MediatR; using System; namespace Cemig.Gecipa.CoreBusiness.Domain.Commands.ReuniaoCommands { public class AtualizarAtaDeReuniaoCommand : IRequest { public Reuniao Reuniao { get; set; } public Guid AtaId { get; set; } ...
30.2
67
0.684327
[ "MIT" ]
tonihenriques/cemig-gecipa
src/Cemig.Gecipa.CoreBusiness.Domain/Commands/ReuniaoCommands/AtualizarAtaDeReuniaoCommand.cs
455
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.857143
128
0.695341
[ "ECL-2.0", "Apache-2.0" ]
la3mmchen/pulumi-gcp
sdk/dotnet/AccessContextManager/Outputs/ServicePerimetersServicePerimeterStatusEgressPolicyEgressTo.cs
1,674
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 using System.Collections.Immutable; using System.Composition; using System.Diagnostics.CodeAnaly...
51.764706
198
0.725852
[ "MIT" ]
AlexanderSemenyak/roslyn
src/Features/CSharp/Portable/GenerateVariable/CSharpGenerateVariableCodeFixProvider.cs
3,522
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.Linq; using System.Reflection; using Microsoft.AspNet.Mvc.Razor; using Microsoft.AspNet.Mvc.Razor.Compilation; using Microsof...
37.920792
111
0.610705
[ "Apache-2.0" ]
VGGeorgiev/Mvc
src/Microsoft.AspNet.Mvc.Razor/DependencyInjection/MvcRazorMvcBuilderExtensions.cs
3,830
C#
using System; using SLua; using System.Collections.Generic; [UnityEngine.Scripting.Preserve] public class Lua_UnityEngine_RenderBuffer : LuaObject { [SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] [UnityEngine.Scripting.Preserve] static public int constructor(IntPtr l) { try { UnityEngine.RenderBuff...
26.5
96
0.745732
[ "MIT" ]
MonkeyKingMKY/luaide-lite
test/slua/Assets/Slua/LuaObject/Unity/Lua_UnityEngine_RenderBuffer.cs
1,115
C#
using Blockcore.Explorer.Models.ApiModels; using Blockcore.Explorer.Settings; using Microsoft.Extensions.Options; namespace Blockcore.Explorer.Services { public class BlockIndexService : ServiceBase { private readonly ExplorerSettings settings; public BlockIndexService() : base(string.Empty) {...
28.09434
106
0.676293
[ "MIT" ]
block-core/blockcore-explorer-legacy
src/Blockcore.Explorer/Services/BlockIndexService.cs
1,489
C#
using System; namespace ToroChallenge.Application.Interfaces { public interface ISensibilizaContaCorrenteApp { } }
14.333333
49
0.751938
[ "MIT" ]
nelson1987/ToroChallenge
src/ToroChallenge.Application.Interfaces/ISensibilizaContaCorrente.cs
131
C#
namespace RecepiesProject.Data.Common.Models { using System; using System.ComponentModel.DataAnnotations; public abstract class BaseModel<TKey> : IAuditInfo { [Key] public TKey Id { get; set; } public DateTime CreatedOn { get; set; } public DateTime? ModifiedOn { get;...
21
54
0.633929
[ "Apache-2.0" ]
AKermanov/recipes-project
src/Data/RecepiesProject.Data.Common/Models/BaseModel.cs
338
C#
using System; using System.Runtime.CompilerServices; namespace YAF.Lucene.Net.Store { /* * 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 own...
43.43038
96
0.62081
[ "Apache-2.0" ]
AlbertoP57/YAFNET
yafsrc/Lucene.Net/Lucene.Net/Store/IndexOutput.cs
3,353
C#
using System; using System.Collections.Generic; using System.Linq; using Toe.SPIRV.Instructions; using Toe.SPIRV.Reflection.Types; using Toe.SPIRV.Spv; namespace Toe.SPIRV.Reflection.Nodes { public partial class String : Node { public String() { } public String(string value, st...
25.862069
91
0.584667
[ "MIT" ]
gleblebedev/Toe.SPIRV
src/Toe.SPIRV/Reflection/Nodes/String.cs
1,500
C#
using BlogService.Features.Core; using MediatR; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Description; namespace BlogService.Features.Authors { [Authorize] [RoutePrefix("api/author")] public class AuthorController : ApiController { public AuthorControll...
34.615385
110
0.663111
[ "MIT" ]
QuinntyneBrown/BlogService
src/BlogService/Features/Authors/AuthorController.cs
2,250
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace ODataValidator.Rule { #region Namespace. using System; using System.ComponentModel.Composition; using System.Linq; using System.Net...
34.932836
147
0.571459
[ "MIT" ]
OData/ValidationTool
src/CodeRules/ServiceImplementation/ServiceImpl_SystemQueryOptionFilter_Maxdatetime.cs
4,683
C#
using PlatinDashboard.Domain.Farmacia.Entities; using PlatinDashboard.Domain.Farmacia.Interfaces.Repositories; using PlatinDashboard.Infra.Data.Farmacia.Context; using System.Collections.Generic; using System.Data.Common; using System.Linq; namespace PlatinDashboard.Infra.Data.Farmacia.Repositories { public class...
37.142857
107
0.661538
[ "Apache-2.0" ]
TcavalcantiDesenv/RepasseApcd
src/APCD/src/PlatinDashboard.Infra.Data.Farmacia/Repositories/VendaLojaPorHoraRepository.cs
1,043
C#
using System; using UnityEngine; using UnityEngine.Advertisements; namespace Controller { public class Advertising : MonoBehaviour { public void ShowAd() { #if UNITY_IOS || UNITY_ANDROID if (!Advertisement.IsReady()) return; var options = new ShowOptions {resultCallback...
28.619048
91
0.572379
[ "MIT" ]
tvhees/NumberPanic
Assets/_scripts/Controller/Advertising.cs
1,204
C#
using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace XamEasyControl { public partial class App : Application { public App() { InitializeComponent(); MainPage = new MainPage(); } protected override void OnStart() { } protected override void OnSleep() { } protected over...
12.241379
42
0.664789
[ "MIT" ]
tannlee/XamEasyControl
XamEasyControl/XamEasyControl/XamEasyControl/App.xaml.cs
357
C#
// ----------------------------------------------------------------------------------------- // <copyright file="CloudBlobClientTest.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 co...
44.365348
220
0.591901
[ "Apache-2.0" ]
SaschaDittmann/azure-storage-net
Test/WindowsRuntime/Blob/CloudBlobClientTest.cs
23,560
C#
#if UNITY_EDITOR using System.Collections; using ModestTree; using UnityEngine.TestTools; #pragma warning disable 219 namespace Zenject.Tests.Bindings { public class TestMemoryPool1 : ZenjectIntegrationTestFixture { [UnityTest] public IEnumerator TestFactoryProperties() { ...
25.540541
75
0.519841
[ "MIT" ]
NRatel/Zenject
UnityProject/Assets/Plugins/Zenject/OptionalExtras/IntegrationTests/Tests/Factories/TestMemoryPools/TestMemoryPool1.cs
3,780
C#
/* * Copyright (c) 2021 Samsung Electronics Co., Ltd. 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 * * Unless ...
34.5
119
0.577852
[ "Apache-2.0" ]
abhimanyu1dots/Tizen-CSharp-Samples
Mobile/Xamarin.Forms/Weather/Weather/Weather/Utils/UnitFormatter.cs
2,695
C#
namespace PublicApi.Areas.HelpPage.ModelDescriptions { public class KeyValuePairModelDescription : ModelDescription { public ModelDescription KeyModelDescription { get; set; } public ModelDescription ValueModelDescription { get; set; } } }
29.777778
67
0.742537
[ "Apache-2.0" ]
AnalogIO/Analog-ShiftPlanner
API/PublicApi/Areas/HelpPage/ModelDescriptions/KeyValuePairModelDescription.cs
268
C#
using System; namespace cs_smallpt { static class SmallPT { static void Main(string[] args) { RNG rng = new RNG(); int nb_samples = (args.Length > 0) ? int.Parse(args[0]) / 4 : 1; const int w = 1024; const int h = 768; Vector3 eye = new Vector3(50, 52, 295.6); Vector3 gaze = new Vector3(0, -0....
35.321918
143
0.561567
[ "MIT" ]
matt77hias/cs-smallpt
cs-smallpt/core/SmallPT.cs
5,157
C#
using OpenParser.Enums; namespace OpenParser.EventResults.Chat { public class Say : ChatMessage { public Say(LogEntry entry, SayOrigins origin, string from, string message) : base(entry, from, message) { Origin = origin; } public SayOrigins Origin { get; } } }
22.785714
111
0.62069
[ "MIT" ]
thesmallbang/EverquestOpenParser
OpenParser/EventResults/Chat/Say.cs
321
C#
namespace Merchello.Web.Models.ContentEditing { using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using Merchello.Core; using Merchello.Core.Configuration; using Merchello.Core.Models; using Newtonsoft.Json; using Newtonsoft.Json.Converters; /// <summary> ...
30.664
202
0.551004
[ "MIT" ]
HiteshMah-Jan/Merchello
src/Merchello.Web/Models/ContentEditing/AddressDisplay.cs
3,835
C#
#pragma checksum "C:\Users\Rolando\Desktop\BTCPAY\banexcoinpay-master-github\banexcoinpay\BTCPayServer\Views\PaymentRequest\MinimalPaymentRequest.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "cdc7b697e4134cfd8799dac319b13b54d2dde5b1" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.Asp...
59.154098
378
0.540406
[ "MIT" ]
CristianBanexcoin/banexcoinpay
BTCPayServer/obj/Release/netcoreapp2.1/Razor/Views/PaymentRequest/MinimalPaymentRequest.g.cshtml.cs
36,087
C#
using System; using System.Windows.Media.Media3D; using System.Windows.Media; using System.Collections.Generic; using System.Collections; using System.Linq; using System.Dynamic; using ESAPIX.Extensions; using VMS.TPS.Common.Model.Types; using XC = ESAPIX.Common.AppComThread; using V = VMS.TPS.Common.Model.API; using T...
28.393443
106
0.331409
[ "MIT" ]
avalgoma/ESAPIX
ESAPIX/Facade/API11.0/StructureSet.cs
5,196
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Web.Http.Controllers; namespace System.Web.Http.Description { /// <summary> /// Describes a parameter on the API defined by relative URI path and HTTP method. ...
29.311111
133
0.55345
[ "Apache-2.0" ]
Icenium/aspnetwebstack
src/System.Web.Http/Description/ApiParameterDescription.cs
1,321
C#
namespace GildedRose.InventoryManagement.QualityCalculators { public class IncreasingQualityCalculator : QualityCalculatorBase { public override bool CanDegrade => false; public override uint CalculateQuality(int sellInValue, uint quality) { return ++quality; } } }
21.692308
70
0.780142
[ "MIT" ]
scousedave/GildedRoseKata
InventoryManagement/QualityCalculators/IncreasingQualityCalculator.cs
284
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace HELLDIVERS.UI { [RequireComponent(typeof(UITweenCanvasAlpha))] public class UIMissionTitle : MonoBehaviour { public UITweenCanvasAlpha CanavasTween { get { return m_CanvasTween; } } ...
24.333333
80
0.58406
[ "MIT" ]
IvanCKP/HELLDIVERS_Like
HellDivers_UnityProject/Assets/Scripts/UI/Reward/UIMissionTitle.cs
805
C#
using System; using System.Collections.Generic; using System.IO; using System.Runtime.CompilerServices; using Newtonsoft.Json; using SmartTaskbar.Core.Helpers; using static SmartTaskbar.Core.InvokeMethods; namespace SmartTaskbar.Core.UserConfig { public static class SettingsHelper { private static rea...
43.069767
115
0.611771
[ "MIT" ]
F8889212/SmartTaskbar
SmartTaskbar.Core/UserConfig/SettingsHelper.cs
3,706
C#
using Model.Dao; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using TDMU.Common; namespace TDMU.Controllers { public class SearchController : Controller { // GET: Search [HttpGet] [CompressContent] public ActionResul...
23.810811
120
0.587968
[ "Apache-2.0" ]
huydoan95/aspnet_mvc5_tdmu
TDMU/TDMU/Controllers/SearchController.cs
883
C#
namespace Flyweight.Tea { public class TeaMaker { private Dictionary<string, KarakTea> mAvailableTea = new Dictionary<string, KarakTea>(); public KarakTea Make(string preference) { if (!mAvailableTea.ContainsKey(preference)) { mAvailableTea[prefe...
23.555556
96
0.575472
[ "MIT" ]
sebash1992/DesignPatterns
Structural/Flyweight/Tea/TeaMaker.cs
426
C#
using System.ComponentModel.DataAnnotations; namespace Phonebook.Data.Models { public class Contact { [Required] public string Name { get; set; } [Required] public string Number { get; set; } } }
17.928571
45
0.589641
[ "Apache-2.0" ]
vencislav-viktorov/VS-Console-App
Tech Module New one/27.Basic Web C# ASP.NET Core-Lab/Phonebook/Data/Models/Contact.cs
253
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Nv { [Serializable] [NvItemId(772)] [Attributes(9)] public class DcsTxBurstRampUpIndex02 { [ElementsCount(30)] [ElementType("uint...
19.952381
44
0.606205
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Nv/DcsTxBurstRampUpIndex02I.cs
419
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.Text; using Microsoft.TemplateEngine.Abstractions; using Microsoft.TemplateEngine.Abstractions.TemplatePackage; using Microsoft.TemplateEngine.Cli.Commands; using Micros...
51.445513
226
0.619151
[ "MIT" ]
Lucifer990046/templating
src/Microsoft.TemplateEngine.Cli/TemplateSearch/CliTemplateSearchCoordinator.cs
16,051
C#
using HL7Data.Contracts.Segments.Provider.Facility; using HL7Data.Models.Base; using HL7Data.Models.Types; namespace HL7Data.Models.Segments.Provider.Facility { public class LocationCharacteristicSegment : BaseSegment, ILocationCharacteristicSegment { public override SegmentTypes SegmentType => Segment...
30.727273
92
0.795858
[ "MIT" ]
amenkes/HL7Parser
Models/Segments/Provider/Facility/LocationCharacteristicSegment.cs
338
C#
// Copyright (C) 2012 Winterleaf Entertainment L,L,C. // // THE SOFTW ARE IS PROVIDED ON AN “ AS IS” BASIS, WITHOUT W ARRANTY OF ANY KIND, // INCLUDING WITHOUT LIMIT ATION THE W ARRANTIES OF MERCHANT ABILITY, FITNESS // FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT . THE ENTIRE RISK AS TO THE // QUALITY AND PERF...
35.423729
131
0.522129
[ "Unlicense" ]
Winterleaf/DNT-Torque3D-V1.1-MIT-3.0
Engine/lib/DNT/tsObjects/coGuiConsole.cs
8,143
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Model.DataEntity; using Model.Locale; using System.Linq.Expressions; namespace eIVOGo.Module.UI { public partial class GovPlatformNotification : System.Web.UI.UserContro...
31.911111
169
0.655989
[ "MIT" ]
uxb2bralph/IFS-EIVO03
eIVOGo/Module/UI/GovPlatformNotification.ascx.cs
1,438
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Scree.Syn.Client")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [as...
26.459459
59
0.720123
[ "Apache-2.0" ]
winal/Scree
Src/Scree.Syn.Client/Properties/AssemblyInfo.cs
1,346
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; namespace Azure.AI.FormRecogn...
43.592857
168
0.660823
[ "MIT" ]
XiangyuL-Microsoft/azure-sdk-for-net
sdk/formrecognizer/Azure.AI.FormRecognizer/src/RecognizeContentOperation.cs
6,105
C#
using System; using System.Collections.Generic; using System.Text; namespace TimeSpanParserUtil { class TimeSpanToken : ParserToken { public TimeSpan? timespan; public Units smallest = Units.None; public bool initialNegative = false; public override bool IsInitialNegative() { ...
23.746032
53
0.529412
[ "MIT" ]
floydpink/TimeSpanParser
TimeParser/TimeParser/Tokens/TimeSpanToken.cs
1,498
C#
using System; using DDD.SimpleExample.Common.Events; using NEventStore; using NEventStore.Dispatcher; namespace DDD.SimpleExample.WriteSide { public class InternalDispatcher : IDispatchCommits { private readonly IEventPublisher _publisher; public InternalDispatcher(IEventPublisher publisher) ...
23.064516
60
0.587413
[ "MIT" ]
Szer/DDD.SimpleExample
DDD.SimpleExample.WriteSide/InternalDispatcher.cs
717
C#
//Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Diagnostics; using System.Runtime.InteropServices; namespace Microsoft.WindowsAPI.Shell { /// <summary> /// Represents a registered non file system Known Folder /// </summary> public class NonFileSystemKnownFolder...
32.565371
128
0.546007
[ "MIT" ]
shellscape/Shellscape.Common
Microsoft/Windows API/Shell/KnownFolders/NonFileSystemKnownFolder.cs
9,218
C#
namespace AndroMDA.VS80AddIn.Dialogs { partial class AboutOptionsPage { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </s...
51.527157
169
0.62407
[ "BSD-3-Clause" ]
ojmakhura/andromda
andromda-etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/OptionsPages/AboutOptionsPage.designer.cs
16,128
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using System; using System.Collections.Generic; using System.Linq; using System.Th...
30.689655
143
0.610112
[ "MIT" ]
ellorenz2/MySql.Tutorial
MySql.Tutorial.Mvc/Startup.cs
1,780
C#
using Jamiras.Components; using NUnit.Framework; using RATools.Parser.Internal; using RATools.Test.Data; using System.Text; namespace RATools.Test.Parser.Internal { [TestFixture] class FloatConstantExpressionTests { [Test] [TestCase("2.0", 2.0f)] [TestCase("3.14", 3.14f)] [...
34.19403
107
0.583151
[ "MIT" ]
soopercool101/RATools
Tests/Parser/Internal/FloatConstantExpressionTests.cs
2,293
C#
using CupCake.Command; using CupCake.Command.Source; using CupCake.Messages.Blocks; using CupCake.Permissions; namespace CupCake.DefaultCommands.Commands.Utility { public class BlueCommand : UtilityCommandBase { [MinGroup(Group.Moderator)] [Label("blue")] [CorrectUsage("")] pro...
26.947368
80
0.662109
[ "MIT" ]
KylerM/CupCake
CupCake.DefaultCommands/Commands/Utility/BlueCommand.cs
514
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> //---...
42.541667
81
0.661117
[ "MIT" ]
wuweisage/Softuni-Svetlina-Projects-and-Code
C#/OOP/06.Implementing-Stack-Exercises/Lab_ImplementingStack/ImplementingCustomStack/obj/Release/netcoreapp3.1/ImplementingCustomStack.AssemblyInfo.cs
1,021
C#
using System.Reflection; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: AssemblyTitle("Wexflow.Tasks.MailsSender")] [...
41.777778
103
0.75133
[ "MIT" ]
weirdyang/Wexflow
src/net/Wexflow.Tasks.MailsSender/Properties/AssemblyInfo.cs
1,529
C#
//-------------------------------------------------------------------------------------------- // Copyright 2015 Sitecore Corporation A/S // 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 // ...
35.540984
106
0.612546
[ "Apache-2.0" ]
STDGA/experience-extractor
src/ExperienceExtractor/Api/Http/Controllers/ExperienceExtractorJobResultsController.cs
2,170
C#
// The MIT License (MIT) // // Copyright (c) 2014-2017, Institute for Software & Systems Engineering // // 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...
46.504854
146
0.758455
[ "MIT" ]
isse-augsburg/ssharp
Source/SafetyChecking/StateGraphModel/StateGraphBackend.cs
4,790
C#
using System; using System.Collections.Generic; using System.Text; namespace NCsvLib { public class SchemaOptions { public string FieldSeparator; public bool LastFieldSeparator; private string _Eol; public string Eol { get { return _Eol; } ...
31.049383
81
0.433797
[ "MIT" ]
franksl/ncsvlib
NCsvLib/schema/SchemaOptions.cs
2,515
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...
31.088608
122
0.611156
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/DataFactory/Outputs/ExecutePipelineActivityResponse.cs
2,456
C#
// Copyright (c) 2001-2021 Aspose Pty Ltd. All Rights Reserved. // // This file is part of Aspose.Words. The source code in this file // is only intended as a supplement to the documentation, and is provided // "as is", without warranty of any kind, either expressed or implied. ////////////////////////////////////////...
50.735247
152
0.648266
[ "MIT" ]
aspose-words/Aspose.Words-for-.NET
Examples/ApiExamples/ApiExamples/ExFontSettings.cs
63,624
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.314286
84
0.756098
[ "Apache-2.0" ]
Hitcents/monodroid-bindings
SamsungAdHub/Properties/AssemblyInfo.cs
1,274
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { public Rigidbody rb; public Transform cameraTransform; public GameManager gameManager; void Update() { float moveHorizontal = Input.GetAxis("Horizontal"); ...
27.076923
77
0.636364
[ "MIT" ]
JayFiraja/JayShaders
LearningShaders/LearningShaders/Assets/BunnyBallAssets/Scripts/Player.cs
706
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.037594
230
0.625437
[ "Apache-2.0" ]
ermshiperete/aws-sdk-net
AWSSDK_DotNet35/Amazon.SimpleWorkflow/Model/Internal/MarshallTransformations/WorkflowExecutionStartedEventAttributesUnmarshaller.cs
5,724
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
63.252336
202
0.682329
[ "MIT" ]
msebragge/iomt-fhir
test/Microsoft.Health.Extensions.Fhir.R4.UnitTests/FhirServiceExceptionProcessorTests.cs
6,770
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.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; usi...
40.849057
221
0.60933
[ "Apache-2.0" ]
h0wXD/EntityFrameworkCore
test/EFCore.SqlServer.Tests/SqlServerSequenceValueGeneratorTest.cs
10,825
C#
using System; using System.Linq; using Microsoft.Maui.Controls.CustomAttributes; using Microsoft.Maui.Controls.Internals; #if UITEST using Xamarin.UITest; using NUnit.Framework; using Microsoft.Maui.Controls.Compatibility.UITests; #endif namespace Microsoft.Maui.Controls.Compatibility.ControlGallery.Issues { #if UITE...
23.79661
140
0.712963
[ "MIT" ]
Eilon/maui
src/Compatibility/ControlGallery/src/Issues.Shared/Bugzilla39668.cs
1,406
C#
using BusterWood.Linq; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace BusterWood.Goodies { public static class TextExtensions { public static bool IsLetter(this char c) => char.IsLetter(c); public static bool IsWhiteSpace(this char c...
52.109091
159
0.664689
[ "Apache-2.0" ]
SammyEnigma/Goodies
Goodies/Goodies/TextExtensions.cs
2,868
C#
using APM.WebApi.Models; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Web.Hosting; namespace APM.WebAPI.Models { /// <summary> /// Stores the data in a json file so that no database is required for this /// sample application /// </summary> ...
27.127451
86
0.522588
[ "MIT" ]
supercoja/angularJS-Sandbox
APM/APM.WebApi/Models/ProductRepository.cs
2,769
C#
using Nfantom.JsonRpc.Client; using Nfantom.RPC.Infrastructure; namespace Nfantom.RPC.Net { /// <Summary> /// net_version /// Returns the current network protocol version. /// Parameters /// none /// Returns /// String - The current network protocol version /// ...
27.793103
94
0.538462
[ "MIT" ]
PeaStew/Nfantom
Nfantom.RPC/Net/NetVersion.cs
806
C#
using System.Web.Mvc; using Alloy.Sample.Models.Media; using Alloy.Sample.Models.ViewModels; using EPiServer.Web.Mvc; using EPiServer.Web.Routing; using System; using EPiServer.Core; namespace Alloy.Sample.Controllers { /// <summary> /// Controller for the video file. /// </summary> public class VideoF...
30.871795
160
0.654485
[ "Apache-2.0" ]
advanced-cms/assets-download
src/Alloy.Sample/Controllers/VideoFileController.cs
1,204
C#
using System; using System.Collections.Generic; using System.Text; namespace ItsEarth.Models { public class Disasters { public string Id { get; set; } public string Name { get; set; } public string Description { get; set; } public Bag BagPattern { get; set; } public Li...
23.529412
47
0.6075
[ "MIT" ]
ItsEarth/ItsEarth
ItsEarth/ItsEarth/ItsEarth/Models/Disasters.cs
402
C#
using System; using System.Runtime.Serialization; namespace ImportOMatic3000 { class OutputFieldException : RowException { private string OutputFieldName; public OutputFieldException(string name, IRow row, string message) : base(message, row) { } public OutputFieldEx...
27.095238
113
0.653779
[ "MIT" ]
rottedfrog/importomatic
ImportOMatic3000/OutputFieldException.cs
571
C#
using Microsoft.CodeAnalysis; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; namespace NetFabric.Hyperlinq.SourceGenerator { static class TypeSymbolExtensions { public static bool IsInterface(this ITypeSymbol typeSymbol) => typeSymbol...
42.351351
201
0.603489
[ "MIT" ]
ualehosaini/NetFabric.Hyperlinq
NetFabric.Hyperlinq.SourceGenerator/Utils/TypeSymbolExtensions.cs
4,703
C#
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; using System.Collections.Generic; public class DoomVRTarget : TargetRules { public DoomVRTarget(TargetInfo Target) { Type = TargetType.Game; } // // TargetRules interface. // public override void SetupBinaries( TargetInfo...
18.692308
68
0.759259
[ "MIT" ]
EvanJuV/DoomVR
Source/DoomVR.Target.cs
486
C#
 using Guppy.DependencyInjection; using Guppy.Events.Delegates; using Guppy.Extensions.System.Collections; using Guppy.Extensions.DependencyInjection; using Guppy.Interfaces; using Guppy.Lists; using Guppy.Lists.Interfaces; using Guppy.UI.Enums; using Guppy.UI.Interfaces; using Guppy.UI.Lists; using Guppy.UI.Utilities...
33.857143
209
0.596022
[ "MIT" ]
rettoph/Guppy
src/Guppy.UI/Elements/Container.cs
8,297
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; using System.Web.OData.Builder; using System.Web.OData.Builder.TestModels; using System.Web.OData.Query.Validators; using System.Web...
44.663968
160
0.60814
[ "Apache-2.0" ]
Darth-Fx/AspNetMvcStack
OData/test/System.Web.OData.Test/OData/Query/OrderByQueryOptionTest.cs
22,066
C#
using BlogPessoal.Web.Models; using System.Data.Entity.ModelConfiguration; namespace BlogPessoal.Web.Data.Mapeamento { public class AutorMap : EntityTypeConfiguration<Autor> { public AutorMap() { ToTable("autor"); HasKey(t => t.Id); Property(x => x.Nome).I...
35.428571
89
0.634409
[ "MIT" ]
fgarcia-fg/asp.net-mvc-blog-pessoal-2
BlogPessoal/BlogPessoal.Web/Data/Mapeamento/AutorMap.cs
746
C#