content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using Boformer.Redirection; using ColossalFramework; using System; using UnityEngine; namespace WG_CitizenEdit { [TargetType(typeof(OutsideConnectionAI))] public class NewOutsideConnectionAI : OutsideConnectionAI { [RedirectMethod] // Copied from game code. Ugh.... // OutsideConne...
61.345257
256
0.481607
[ "Apache-2.0" ]
WhitefangGreytail/WG_CitizenEdit
WG_CitizenEdit/Code/AI/NewOutsideConnectionAI.cs
39,447
C#
using Newtonsoft.Json; namespace BaiduBce.CFC.Demo { public class InvokeEvent { [JsonProperty(PropertyName = "event")] public string Event { get; set; } } }
23.625
49
0.619048
[ "Apache-2.0" ]
bcelabs/bce-sam-cli
bsamcli/local/init/templates/cookiecutter-aws-sam-hello-dotnet/{{cookiecutter.project_name}}/src/InvokeEvent.cs
189
C#
using GraphQLParser.AST; using Shouldly; using Xunit; namespace GraphQLParser.Tests { public class Issue82 { private readonly string _query = @"query($username: String) { Person(uname: $username, firstName: ""Pete"") { id, email } } "; [Theory] [InlineData(IgnoreOptions.None)...
36.378378
115
0.677563
[ "MIT" ]
graphql-dotnet/parser
src/GraphQLParser.Tests/Issue82.cs
1,346
C#
using System; using System.Windows; using System.Windows.Input; using System.Windows.Interactivity; using Plainion.Flames.Presentation; using Plainion.Flames.Controls; namespace Plainion.Flames.Behaviors { public class ZoomOnMouseWheelBehavior : Behavior<FlameView> { public TimelineViewport...
36.039216
154
0.633297
[ "BSD-3-Clause" ]
plainionist/Plainion.Flames
src/Plainion.Flames/Behaviors/ZoomOnMouseWheelBehavior.cs
1,840
C#
using System.Security.Claims; using Microsoft.Extensions.Logging; using TNO.Entities; namespace TNO.DAL.Services; public class SourceActionService : BaseService<SourceAction, int>, ISourceActionService { #region Properties #endregion #region Constructors public SourceActionService(TNOContext dbContex...
27.92
204
0.747851
[ "Apache-2.0" ]
Fosol/TNO
libs/net/dal/Services/SourceActionService.cs
698
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.IO; using System.Reflection; using System.Runtime.InteropServices; using Microsoft.Common.Core; using Microsoft.Common.Core.IO; namespace Microsoft.R.P...
36.704918
124
0.623493
[ "MIT" ]
M3Supreme45/vscode-r
src/R/Platform/Impl/Host/BrokerExecutableLocator.cs
2,241
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Oracle.DataAccess.Client; namespace OrionEscritorio { class TTest { public int ingresarTest(Test test) { int resp = 0; OracleConnection conexion = C...
33.302632
146
0.568155
[ "MIT" ]
Portafolio-titulo2017-Grupo3/Sistema_escritorio_NET
OrionEscritorio/OrionEscritorio/TTest.cs
2,533
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Clarity.Native.Linux")] [assembly: Assemb...
38.166667
84
0.74163
[ "MIT" ]
Zulkir/ClarityWorlds
Source/Clarity.Native.Linux/Properties/AssemblyInfo.cs
1,377
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("Fr...
38.081081
84
0.747339
[ "Apache-2.0" ]
kibmcz/SharpIRC
SharpIRC/plugins/FryQuotes/Properties/AssemblyInfo.cs
1,412
C#
namespace ShoppingCartStore.Services.DataServices { using ShoppingCartStore.Models; using System.Threading.Tasks; public interface ICustomerService { Task SubtractBalance(decimal amount, Customer customer); } }
21.909091
64
0.738589
[ "MIT" ]
raulerivassanz/ShoppingCartStore
src/Services/ShoppingCartStore.Services.DataServices/ICustomerService.cs
243
C#
using System; using System.Threading.Tasks; namespace Razensoft.Functional { public static partial class AsyncResultExtensionsBothOperands { /// <summary> /// Executes the given action if the calling result is a success and condition is true. Returns the calling result. /// </summar...
39.560345
139
0.570495
[ "MIT" ]
Razenpok/Razensoft.Functional
src/Razensoft.Functional/Runtime/Result/Extensions/TapIfAsyncBoth.cs
4,589
C#
namespace SharpHook.Internal; using System; using System.Runtime.CompilerServices; internal static class HashCodeUtil { #if !NETCOREAPP3_0_OR_GREATER private const int HashStart = unchecked((int)2166136261); private const int HashMultiplier = 16777619; #endif [MethodImpl(MethodImplOptions.AggressiveInlin...
34.284211
110
0.594412
[ "MIT" ]
Luxusio/SharpHook
SharpHook/Internal/HashCodeUtil.cs
3,257
C#
using System; using System.Reflection; using Terraria; namespace TerrariaOverhaul.Common.Seasons { // Replaces rain with snow public sealed class SnowSeasonComponent : SeasonComponent { private static Action<SceneMetrics, int> snowTileCountSetter; public override void Load() { base.Load(); snowTileCo...
23.033898
122
0.700515
[ "MIT" ]
JaksonD/TerrariaOverhaul
Common/Seasons/_Components/SnowSeasonComponent.cs
1,361
C#
//Copyright (C) 2005 Richard J. Northedge // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // T...
29.824742
92
0.659523
[ "MIT" ]
arghyabiswas/bnlp
DBNLP/OpenNLP/Tools/Util/Pair.cs
2,893
C#
/* * Copyright © 2017-2018 Cloudveil Technology Inc. * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ using System; namespace CloudVeil.IPC.Messages { /// <summ...
31.034483
148
0.575185
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
cloudveiltech/Filter-Windows
Filter.Platform.Common/IPC/Messages/ServerUpdateQueryMessage.cs
2,703
C#
namespace Learning.Portfolio { public class Fund { public string Id { get; private set; } public string Name { get; private set; } public string Code { get; private set; } public Fund(string id, string name, string code) { Id = id; Name = name; C...
24.928571
58
0.527221
[ "Unlicense" ]
alex-piccione/learning.AWS
src/Functions/Portfolio/Entities/Fund.cs
349
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.Collections.Immutable; using System.Linq; using System.Threading; using System.Threading.Tasks; using ...
49.653465
162
0.647458
[ "MIT" ]
IanKemp/roslyn
src/Features/Core/Portable/GenerateConstructorFromMembers/AbstractGenerateConstructorFromMembersCodeRefactoringProvider.State.cs
5,017
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Cofoundry.Domain.Data; namespace Cofoundry.Domain { /// <summary> /// Simple mapper for mapping to RoleDetails objects. /// </summary> public interface IRoleDetailsMapper { ...
26.782609
71
0.652597
[ "MIT" ]
BOBO41/cofoundry
src/Cofoundry.Domain/Domain/Roles/Mapping/IRoleDetailsMapper.cs
618
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...
41.938053
174
0.67145
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/IoTEventsData/Generated/Model/Internal/MarshallTransformations/BatchPutMessageResponseUnmarshaller.cs
4,739
C#
// Copyright 2014 The Rector & Visitors of the University of Virginia // // 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 re...
38.403846
144
0.639459
[ "Apache-2.0" ]
MatthewGerber/sensus
Sensus.Shared.NuGet/Adaptation/SensingAgentState.cs
1,999
C#
using System.Web; using System.Web.Mvc; namespace api_loja0001 { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
18.928571
80
0.656604
[ "MIT" ]
wesley2018/api_loja0001
api_loja0001/api_loja0001/App_Start/FilterConfig.cs
267
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: Asse...
47.385965
207
0.768974
[ "Apache-2.0" ]
GitGaby/aws-sdk-net
sdk/src/Services/ResourceGroups/Properties/AssemblyInfo.cs
2,701
C#
// Copyright 2010-2011 Green Code LLC // All rights reserved. // // The copyright holders license this file under the New (3-clause) BSD // License (the "License"). You may not use this file except in // compliance with the License. A copy of the License is available at // // http://www.opensource.org/lice...
37.6
109
0.488095
[ "Apache-2.0" ]
LANDIS-II-Foundation/Landis-Spatial-Modeling-Library
src/RasterIO.Gdal/RasterFactory.cs
3,948
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using NuKeeper.Abstractions.CollaborationModels; using NuKeeper.Abstractions.CollaborationPlatform; using NuKeeper.Abstractions.Configuration; using NuKeeper.Abstractions.Logging; using NuKeeper.BitBu...
35.136
116
0.589481
[ "Apache-2.0" ]
markkemper1/NuKeeper
NuKeeper.BitBucket/BitbucketPlatform.cs
4,392
C#
using System; using System.ComponentModel.Composition; using System.Diagnostics; using System.Runtime.InteropServices; using Microsoft.VisualStudio; using Microsoft.VisualStudio.Editor; using Microsoft.VisualStudio.Language.Intellisense; using Microsoft.VisualStudio.OLE.Interop; using Microsoft.VisualStudio.Text; usin...
34.219917
112
0.573057
[ "MIT" ]
KinNeko-De/Paket.VisualStudio
src/Paket.VisualStudio/IntelliSense/PaketCompletionController.cs
8,249
C#
namespace Mapsui.Providers.ArcGIS.Dynamic { public class ArcGISLayer { public int id { get; set; } public string name { get; set; } public int parentLayerId { get; set; } public bool defaultVisibility { get; set; } public double minScale { get; set; } public doubl...
28.571429
51
0.5925
[ "MIT" ]
rgn/stellar-playground
Vendor/Mapsui/Providers/ArcGIS/Dynamic/ArcGISLayer.cs
400
C#
//author: P. Oscar Boykin <boykin@pobox.com> //There is no license on this file because it is so trivial //it can be considered public domain, MIT-X11, or GPLv2 or later if //that is convienient for licensing. using System.Collections.Generic; namespace Brunet.Collections { /** A simple readonly pair class similar ...
33.727273
82
0.576819
[ "MIT" ]
hseom/brunet-1
src/Brunet/Collections/Tuple.cs
2,968
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.083333
80
0.651485
[ "MIT" ]
Zandervds/codeGem
Parser/Mechanoid.Parser.CSV/obj/Debug/netcoreapp3.1/Mechanoid.Parser.CSV.AssemblyInfo.cs
1,010
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/urlmon.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System; namespace TerraFX.In...
26
145
0.694139
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/urlmon/CONFIRMSAFETY.cs
548
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...
30.291262
109
0.628205
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/IoTWireless/Generated/Model/LoRaWANMulticastGet.cs
3,120
C#
using System; using NUnit.Framework; namespace UnityEditor.ProjectAuditor.EditorTests { class ProjectAuditorTests { [Test] public void ProjectAuditor_IsInstantiated() { Activator.CreateInstance(typeof(Unity.ProjectAuditor.Editor.ProjectAuditor)); } } }
20.666667
89
0.677419
[ "MIT" ]
MikkoHimanka/farmasia-vr
UnityPackages/ProjectAuditor-master/Tests/Editor/ProjectAuditorTests.cs
310
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using HuaweiCloud.SDK.Core; namespace HuaweiCloud.SDK.RocketMQ.V2.Model { /// <summary> /// Request Object /// </summary> pu...
31.400763
98
0.467424
[ "Apache-2.0" ]
huaweicloud/huaweicloud-sdk-net
Services/RocketMQ/V2/Model/ListInstancesRequest.cs
17,224
C#
using System.Reflection; using Microsoft.Extensions.DependencyInjection; using Orleans; using Orleans.Runtime; using Tester.StorageFacet.Abstractions; namespace Tester.StorageFacet.Infrastructure { public class ExampleStorageAttributeMapper : IAttributeToFactoryMapper<ExampleStorageAttribute> { privat...
43.088235
127
0.70785
[ "MIT" ]
Allen-Xiao/orleans
test/Tester/StorageFacet/Feature.Infrastructure/ExampleStorageAttributeMapper.cs
1,467
C#
namespace MetroDev.Boilerplate.Authorization.Roles { public static class StaticRoleNames { public static class Host { public const string Admin = "Admin"; } public static class Tenants { public const string Admin = "Admin"; } } }
19.6875
50
0.561905
[ "MIT" ]
juanwfer/MetroDev-AbpTest
src/MetroDev.Boilerplate.Core/Authorization/Roles/StaticRoleNames.cs
315
C#
namespace LabCSharp.Resources.Forms { partial class CreateStudent { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed...
33.292929
158
0.698726
[ "MIT" ]
renteadan/map
LabCSharp/Resources/Forms/CreateStudent.Designer.cs
3,298
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (http://www.specflow.org/). // SpecFlow Version:1.9.0.77 // SpecFlow Generator Version:1.9.0.0 // Runtime Version:4.0.30319.17929 // // Changes to this...
39.41573
265
0.624287
[ "Apache-2.0" ]
marcusoftnet/pickles
src/Pickles/Pickles.Example/Features/01TestRunner/TestRunnerIsNotImportant1.feature.cs
3,510
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Cors; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using TGIS.Web.Entities; using IMIS.Web.DAL; using Atlassian.Connect; // For more information on enabling Web API for e...
33.960526
116
0.582332
[ "MIT" ]
jpwits/HorseBetting
Agile/API/PmProjectController.cs
2,583
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
42.785714
98
0.707429
[ "MIT" ]
PFC-acl-amg/GamaPFC
GamaPFC/Gama.Cooperacion.Wpf/Properties/AssemblyInfo.cs
2,399
C#
using System.Collections.Generic; namespace SuperRocket.AspNetCoreVue.Authentication.External { public interface IExternalAuthConfiguration { List<ExternalLoginProviderInfo> Providers { get; } } }
21.9
59
0.757991
[ "MIT" ]
dystudio/SuperRocket.AspNetCoreVue
aspnet-core/src/SuperRocket.AspNetCoreVue.Web.Core/Authentication/External/IExternalAuthConfiguration.cs
221
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...
38.902439
171
0.638245
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/CloudFront/Generated/Model/Internal/MarshallTransformations/ListInvalidationsResponseUnmarshaller.cs
4,785
C#
using UnityEngine; using System.Collections; public class CollectibleController : MonoBehaviour { public float speed = 1.0f; private GameObject pickUpFX; void Start() { pickUpFX = transform.FindChild("MagicEffect1").gameObject; } void Update() { transform.FindChild("Diamond").transform.Rotate (new Vect...
22.583333
99
0.731857
[ "MIT" ]
aornelas/Tiny-Planets
Assets/Scripts/CollectibleController.cs
815
C#
using RiotCaller.Api.Cache; using RiotCaller.StatusEndPoints.Shards; using System.Collections.Generic; namespace RiotCaller.Api { public interface IStatusApi { ApiCache Cache { get; } List<Shards> GetShards(); } }
18.769231
40
0.696721
[ "MIT" ]
MSAlih1/RiotApiCaller
RiotCaller/Api/IStatusApi.cs
246
C#
// Copyright (c) Microsoft Corporation.// Licensed under the MIT license. namespace Microsoft.SCIM.WebHostSample.Provider { using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.SCIM; using Microsoft.SCIM.WebHostSample.Resources; public class InMemoryPro...
35.393548
149
0.626322
[ "MIT" ]
MiguelCaldasMS/SCIM
Microsoft.SCIM.WebHostSample/Provider/InMemoryProvider.cs
5,486
C#
// -------------------------------------------------------------------------------------------- // <copyright file="DataLoaderConfigurationKey.cs" company="Effort Team"> // Copyright (C) Effort Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and a...
39.451327
96
0.56236
[ "MIT" ]
JonathanMagnan/effort
Main/Source/Effort.Shared/Internal/Caching/DataLoaderConfigurationKey.cs
4,460
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 Elastic.Elasticsearch.Ephemeral; using Elastic.Elasticsearch.Xunit.XunitPlumbing; using Ela...
36.605634
129
0.783378
[ "Apache-2.0" ]
Brightspace/elasticsearch-net
tests/Tests/XPack/Security/Authenticate/AuthenticateApiTests.cs
2,601
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.42
235
0.645116
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Synapse/GetIntegrationRuntimeConnectionInfo.cs
3,542
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace R5T.Frisia.Standard.Testing { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { } } }
17
52
0.584034
[ "MIT" ]
MinexAutomation/R5T.Frisia.Standard
source/R5T.Frisia.Standard.Testing/UnitTest1.cs
238
C#
using System.Runtime.InteropServices; namespace EarTrumpet.Interop.MMDeviceAPI { [ComImport] [Guid("BCDE0395-E52F-467C-8E3D-C4579291692E")] class MMDeviceEnumerator { } }
23.875
51
0.722513
[ "MIT" ]
Remixninja/EarTrumpet
EarTrumpet/Interop/MMDeviceAPI/MMDeviceEnumerator.cs
186
C#
using System; using GroorineCore.DataModel; using GroorineCore.Helpers; namespace GroorineCore.Synth { public class Mssf : IAudioSource { /// <summary> /// 波形データを取得します. /// </summary> public short[] Wave { get; } /// <summary> /// エンベロープデータを取得します. /// </summary> public Envelope En...
23.246753
93
0.584358
[ "MIT" ]
Citringo/Groorine_1
GroorineCore/Synth/Mssf.cs
1,922
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.W...
47.207207
229
0.58645
[ "MIT" ]
brzozasr/AppMongoDB
AppMongoDB/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs
20,960
C#
using Content.Server.Access.Components; using Content.Server.Light.Components; using Content.Server.Light.EntitySystems; using Content.Server.Light.Events; using Content.Server.Traitor.Uplink; using Content.Server.Traitor.Uplink.Components; using Content.Server.Traitor.Uplink.Systems; using Content.Server.UserInterface...
37.251366
109
0.59381
[ "MIT" ]
Day-OS/space-station-14
Content.Server/PDA/PDASystem.cs
6,817
C#
using System; using System.IO; namespace Microsoft.Build.MSBuildLocator { /// <summary> /// Represents an installed .NET SDK instance (on any OS platform) /// </summary> public class DotNetSdkInstance : MSBuildInstance { public DotNetSdkInstance(Version version, string path, DiscoveryType ...
28.35
93
0.620811
[ "MIT" ]
dlitty/MSBuildLocator
src/MSBuildLocator/DotNetSdkInstance.cs
569
C#
#pragma checksum "/Volumes/HDD/macOs/Faculdade/Programação Web/blazor_DB/Shared/MainLayout.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8837edcfa5b03aa0567fc3c7aad751f1a30b065a" // <auto-generated/> #pragma warning disable 1591 namespace blazor_DB.Shared { #line hidden using System; using System.Colle...
33.396694
267
0.721356
[ "MIT" ]
yuriqpaiva/CRUD-Blazor
obj/Debug/net5.0/Razor/Shared/MainLayout.razor.g.cs
4,065
C#
namespace JKang.IpcServiceFramework.Core.Tests.Fixtures { public interface IComplexType { int Int32Value { get; } string StringValue { get; } } }
19.444444
56
0.645714
[ "MIT" ]
BryanMThomas/FactoryOrchestrator
oss/IpcFramework/JKang.IpcServiceFramework.Core.Tests/Fixtures/IComplexType.cs
177
C#
using System; using System.Security.Cryptography; namespace CryptoBase.SymmetricCryptos.BlockCryptos.AES; public sealed class AESECBCrypto : DefaultAESCrypto { protected override ICryptoTransform Encryptor { get; } protected override ICryptoTransform Decryptor { get; } public AESECBCrypto(ReadOnlySpan<byte> key) ...
28
67
0.787815
[ "MIT" ]
HMBSbige/CryptoBase
CryptoBase/SymmetricCryptos/BlockCryptos/AES/AESECBCrypto.cs
476
C#
using System; using System.Collections.Generic; using System.IO; using System.Reflection; namespace DiBK.RuleValidator.Config { public sealed class ValidationOptions { internal List<Type> SkippedRules { get; } = new(); internal List<string> SkippedGroups { get; } = new(); internal List...
31.482759
112
0.610624
[ "MIT" ]
Arkitektum/DiBK.RuleValidator
DiBK.RuleValidator/Models/Config/ValidationOptions.cs
1,828
C#
using System; using System.Runtime.InteropServices; namespace KeraLua { /// <summary> /// Structure for lua debug information /// </summary> /// <remarks> /// Do not change this struct because it must match the lua structure lua_Debug /// </remarks> /// <author>Reinhard Ostermeier</author>...
38.397849
245
0.58275
[ "MIT" ]
Missingreference/KeraLua
src/LuaDebug.cs
3,573
C#
namespace NTMY.Web.ViewModels.Users { public class RemoveUserIncomingWeddingViewModel { public int No { get; set; } } }
20
51
0.664286
[ "MIT" ]
SebastianTyr/wsei-projektowanie-profesjonalnej-aplikacji
be/NiceToMeetYou/NTMY.Web/ViewModels/Users/RemoveUserIncomingWeddingViewModel.cs
142
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class GoToLevel : MonoBehaviour { public void Continue() { //SceneFader sceneFader = GameObject.Find("SceneFader").GetComponent<SceneFader>(); //GameStatus gameStatus = Game...
26.85
92
0.707635
[ "MIT" ]
gameholics-usc/DefendTommyTrojan
Assets/Scripts/UI/GoToLevel.cs
539
C#
using UnityEngine; [CreateAssetMenuAttribute(fileName="Character", menuName="Character/Info")] public class CharacterInfo : ScriptableObject { public string Name; public float Speed; public float Accuracy; public int HP; public GameObject Weapon; //prefab public ActiveSkill ActiveSkill; ...
21.058824
75
0.743017
[ "MIT" ]
Zammy/Project42
Assets/Game/Crew/_ScriptableObjs/CharacterInfo.cs
360
C#
using System; namespace AspectCore.APM.AspNetCore.Sample.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
20.909091
70
0.686957
[ "MIT" ]
AspectCore/AspectCore-APM
sample/AspectCore.APM.AspNetCore.Sample/Models/ErrorViewModel.cs
230
C#
using System; using System.Windows.Forms; using System.Drawing; namespace Zbx1425.BveCSRegistry { public static class DebugInputBox { public static string ShowInputBox(string title, string promptText, string currentValue) { var form = InputBox(title, promptText, currentValue); DialogResult ...
30.403226
92
0.685411
[ "MIT" ]
BVEContentService/BVEPackMan
source/Plugins/BveCSRegistry/Winform/DebugInputBox.cs
1,887
C#
// *********************************************************************** // Copyright (c) 2017 Dominik Lachance // // 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, i...
30.078704
75
0.508542
[ "MIT" ]
domtheluck/yellowjacket
YellowJacket/src/YellowJacket.Core/NUnitWrapper/Models/TestSuite.cs
6,499
C#
using UnityEngine; using System.Collections; public class NewItemText : MonoBehaviour { private bool fading = false; private TextMesh textMesh; private static float scaleFactor = 0.002f; #pragma warning disable 0414 private Vector3 scaleVector = new Vector3(scaleFactor, scaleFactor, scaleFactor); ...
20.756757
85
0.578125
[ "MIT" ]
sd-f/orbi
Orbi-App/Assets/Resources/Prefabs/NewItemText/NewItemText.cs
770
C#
// Project: Daggerfall Tools For Unity // Copyright: Copyright (C) 2009-2018 Daggerfall Workshop // Web Site: http://www.dfworkshop.net // License: MIT License (http://www.opensource.org/licenses/mit-license.php) // Source Code: https://github.com/Interkarma/daggerfall-unity // Origina...
21.32
84
0.532833
[ "MIT" ]
ChristianBasiga/daggerfall-unity
Assets/Scripts/API/DFSize.cs
1,068
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class AnaMenuKontrol : MonoBehaviour { //GameObject level1, level2, level3; (!!! for döngülerini yazınca gerek kalmadı) GameObject levellar, kilitler; void Start ()...
37.408451
151
0.625753
[ "MIT" ]
Avodhel/Unity_Learn_Projects
Red Java/Assets/Kodlar/AnaMenuKontrol.cs
2,716
C#
//------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Runtime Version:2.0.50727.42 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </autogenerated> //-------...
28.028169
123
0.651256
[ "MIT" ]
bstollnitz/old-wpf-blog
20-InsertingSeparators/InsertingSeparators/Properties/Resources.cs
1,992
C#
using System.IO; using System.Text; namespace Mages.Script.Tokens { public class TextToken : Token { public string Value; public TextToken(Reader reader) : base(TokenType.TextMask) { var sb = new StringBuilder(); while (true) { ...
28.595745
131
0.401786
[ "MIT" ]
wetor/MagesTools
MagesLib/Script/Tokens/TextToken.cs
1,346
C#
using EFCore.Sharding; namespace Demo.DI { public interface IMyRepository : IRepository { } }
10.9
48
0.669725
[ "Apache-2.0" ]
chengxulvtu/EFCore.Sharding
examples/Demo.DI/IMyRepository.cs
111
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-generate...
38.027907
152
0.539384
[ "MIT" ]
enachos71/EDEngineer
EDEngineer/Properties/Settings.Designer.cs
16,354
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.280488
196
0.601961
[ "MIT" ]
BiancoRoyal/OPC-UA-OOI
Configuration/Networking/Properties/Resources.Designer.cs
3,469
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.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Text.Encodings.Web; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetC...
42.28866
130
0.650049
[ "MIT" ]
Aezura/aspnetcore
src/Identity/UI/src/Areas/Identity/Pages/V4/Account/Register.cshtml.cs
8,204
C#
using SignalR.Hubs; namespace DescribeMe.Web.Hubs { public class StatisticsHub : Hub { } }
11.666667
36
0.657143
[ "MIT" ]
museumsvictoria/describe-me
src/DescribeMe.Web/Hubs/StatisticsHub.cs
107
C#
using Robust.Shared.Input; namespace Content.Shared.Input { [KeyFunctions] public static class ContentKeyFunctions { public static readonly BoundKeyFunction UseItemInHand = "ActivateItemInHand"; public static readonly BoundKeyFunction AltUseItemInHand = "AltActivateItemInHand"; publ...
70.406977
102
0.754748
[ "MIT" ]
arcadia-station/space-station-14
Content.Shared/Input/ContentKeyFunctions.cs
6,055
C#
using AbhsChinese.Admin.Models.Question; using AbhsChinese.Bll; using AbhsChinese.Domain.Entity.Subject; using AbhsChinese.Domain.JsonEntity.Subject; using AbhsChinese.Domain.JsonTranslator; using System; namespace AbhsChinese.Admin.Models.Common { public class FillInBlankContentFetcher : ContentFetcher { ...
35.765957
70
0.610946
[ "Apache-2.0" ]
GuoQqizz/SmartChinese
AbhsChinese.Admin/Models/Common/FillInBlankContentFetcher.cs
1,683
C#
/* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF REVIVAL PRODUCTIONS, LLC ("REVIVAL"). REVIVAL, IN DISTRIBUTING THE CODE TO END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS IN USING, DISPLAYING, AND CRE...
38.265487
164
0.691489
[ "MIT" ]
SiriusTR/OverloadLevelEditor
Editor/Common/Mathfx.cs
4,326
C#
using System.Windows.Controls; namespace moddingSuite.View.Ndfbin.ValueEditing { /// <summary> /// Interaction logic for TransTableReferenceEditingTemplate.xaml /// </summary> public partial class TransTableReferenceEditingTemplate : UserControl { public TransTableReferenceEditingTemplate(...
24.0625
73
0.680519
[ "MIT" ]
RemiGC/moddingSuite
moddingSuite/View/Ndfbin/ValueEditing/TransTableReferenceEditingTemplate.xaml.cs
387
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Modules.RootComposition.PokemonGoScriptableObjs { public class M1Behaviour : MonoBehaviour { public void Log() { Debug.Log("I'm M1Behaviour 1"); } } }
19.333333
57
0.658621
[ "MIT" ]
Dechichi01/DependencyInjection
Assets/Modules/RootComposition/PokemonGo_ScriptableObjs/Behaviours/M1Behaviour.cs
292
C#
using System; using System.Collections.ObjectModel; using System.Linq; using Xalendar.Api.Interfaces; using Xamarin.Forms; namespace Xalendar.Sample { public partial class MainPage : ContentPage { public MainPage() { InitializeComponent(); BindingContext = new MainPageV...
29.783019
118
0.56351
[ "MIT" ]
brendonbarreto/Xalendar
src/Xalendar.Sample/Xalendar.Sample/MainPage.xaml.cs
3,159
C#
// Licensed to the .NET Foundation under one or more agreements. // See the LICENSE file in the project root for more information. // // Copyright (C) 2006-2007 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated docu...
39.987983
145
0.542716
[ "MIT" ]
Mattlk13/corefx
src/System.Drawing.Common/tests/Drawing2D/GraphicsPathTests.cs
109,809
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: Asse...
101.525424
723
0.809516
[ "Apache-2.0" ]
hyandell/aws-sdk-net
sdk/src/Services/EKS/Properties/AssemblyInfo.cs
5,990
C#
using Newtonsoft.Json; using Paystack.Net.SDK.Models.Subaccounts.CreateSubAccount; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Paystack.Net.SDK.Subaccounts { public class PaystackSubaccounts : ISubA...
41.704225
349
0.635596
[ "MIT" ]
Ezeji/Paystack.Net.SDK
Paystack.Net.SDK/Subaccounts/PaystackSubaccounts.cs
5,924
C#
using System.Web; using System.Web.Optimization; namespace WebConsumeAPI { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new Scr...
38.8125
112
0.574074
[ "Unlicense" ]
ernestoaguaysol/WebConsumeAPI
WebConsumeAPI/App_Start/BundleConfig.cs
1,244
C#
using System; using Xunit; namespace Jsonyte.Tests { public class ValidationTests { [Fact(Skip = "These tests are still to be written")] public void CheckValidation() { throw new Exception(); } } }
17.066667
60
0.574219
[ "MIT" ]
jsonyte/jsonyte
src/Jsonyte.Tests/ValidationTests.cs
258
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Health : MonoBehaviour { public int health; public int heartsCount; public Image[] hearts; public Sprite fullHeart; public Sprite noHeart; // Update is called once per frame ...
19.463415
47
0.469925
[ "MIT" ]
mguib/GamePlataforma2D
GamePlataforma2D/Assets/Scripts/Health.cs
798
C#
#pragma warning disable CS0672,CS0809,CS1591 namespace AlibabaCloud.SDK.ROS.CDK.Emr.Internal.DependencyResolution { public sealed class Anchor { public Anchor() { new AlibabaCloud.SDK.ROS.CDK.Core.Internal.DependencyResolution.Anchor(); new Constructs.Internal.Dependency...
25.642857
85
0.67688
[ "Apache-2.0" ]
aliyun/Resource-Orchestration-Service-Cloud-Development-K
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Emr/AlibabaCloud/SDK/ROS/CDK/Emr/Internal/DependencyResolution/Anchor.cs
359
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> //-----------------------------------------...
24.333333
81
0.408676
[ "Apache-2.0" ]
chenkai/DropNet
DropNet.Samples/DropNet.Samples.Web/About.aspx.designer.cs
440
C#
using System; using System.Collections; using Server; using Server.Items; namespace Server.Mobiles { [CorpseName( "a glowing yomotsu corpse" )] public class YomotsuPriest : BaseCreature { public override WeaponAbility GetWeaponAbility() { return WeaponAbility.DoubleStrike; } [Constructable] public Yom...
23.587413
212
0.657278
[ "BSD-2-Clause" ]
greeduomacro/vivre-uo
Scripts/Mobiles/Monsters/SE/YomotsuPriest.cs
3,373
C#
using EdjCase.ICP.Candid.Crypto; using EdjCase.ICP.Candid.Utilities; using System; using System.Linq; namespace EdjCase.ICP.Candid.Models { public class Principal : IHashable, IEquatable<Principal> { private const byte anonymousSuffix = 4; private const byte selfAuthenticatingSuffix = 2; public...
28.163121
97
0.528834
[ "MIT" ]
Gekctek/ICP.NET
src/Candid/Models/Principal.cs
3,971
C#
//{[{ using System.Threading.Tasks; using Param_RootNamespace.Core.Services; //}]} namespace Param_RootNamespace.Core.Tests.XUnit { public class Tests { //^^ //{[{ // TODO WTS: Remove or update this once your app is using real data and not the SampleDataService. /...
26.24
107
0.605183
[ "MIT" ]
Alfian878787/WindowsTemplateStudio
templates/Uwp/_comp/_shared/Test.UnitTests.Core.SampleData.Grids.xUnit/Param_ProjectName.Core.Tests.xUnit/Tests_postaction.cs
634
C#
using System; using System.Collections.Generic; using System.Data; using JetBrains.Annotations; namespace Backend.Fx.EfCorePersistence.Tests { public static class DbConnectionEx { public static void ExecuteNonQuery(this IDbConnection openConnection, string cmd) { using (IDbCommand c...
34.658537
140
0.599578
[ "MIT" ]
marcwittke/Backend.Fx
tests/Backend.Fx.EfCorePersistence.Tests/DbConnectionEx.cs
1,421
C#
using FluentNHibernate.Mapping; using EasyLOB.Security.Data; namespace EasyLOB.Security.Persistence { public class RoleMap : ClassMap<Role> { public RoleMap() { #region Class Table("AspNetRoles"); Id(x => x.Id) .Column("Id") ...
24.307692
63
0.443829
[ "MIT" ]
EasyLOB/EasyLOB-1
EasyLOB.Security/EasyLOB.Security.PersistenceNHibernate/Maps/RoleMap.cs
1,264
C#
// Copyright (C) Dmitry Yakimenko (detunized@gmail.com). // Licensed under the terms of the MIT license. See LICENCE for details. using System; using System.ComponentModel; using Newtonsoft.Json; namespace PasswordManagerAccess.ZohoVault.Response { internal struct ResponseEnvelope<T> { [JsonProperty(...
25.475556
92
0.636602
[ "MIT" ]
detunized/password-manager-access
src/ZohoVault/Response.cs
5,732
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.CodeDom.Compiler; using Microsoft.CSharp; namespace WindowsFormsApp2 { pu...
26.736842
134
0.597769
[ "MIT" ]
Brenden2008/c-ide
Form1.cs
1,526
C#
using CafeLib.Data.Persistence; using CafeLib.Data.Sources; namespace CafeLib.Data.UnitTest.Identity { public class IdentityStorage : Storage<IdentityDomain> { public IdentityStorage(string connectionUri, IConnectionOptions options) : base(connectionUri, options) { } } ...
24.692308
80
0.691589
[ "MIT" ]
chrissolutions/CafeLib
Data/CafeLib.Data.UnitTest.Identity/IdentityStorage.cs
323
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace ZombieApocalypse { public class Car { public static string carName = string.Empty; public static double carFuel; public static double carDeffence; public static int carType = n...
26.109091
60
0.374652
[ "MIT" ]
georgidelchev/Zombie-Apocalypse-Console-Game
[Zombie-Apocalypse Console-Game]/Car.cs
1,438
C#
using System.Collections.Generic; using NHamcrest.Core; namespace NHamcrest { public static class Matches { public static IMatcher<T> AllOf<T>(IEnumerable<IMatcher<T>> matchers) { return new AllOfMatcher<T>(matchers); } public static IMatcher<T> AllOf<T>(params IMat...
30.94
94
0.56755
[ "MIT" ]
Lashas83/NHamcrest
src/NHamcrest/Matches.cs
1,547
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.Encodings.Web; using System.Threading.Tasks; using SimpleBlogEngine.Services; namespace SimpleBlogEngine.Services { public static class EmailSenderExtensions { public static Task SendEmailConfirmationAsync(this IEmailS...
31.315789
125
0.721008
[ "Apache-2.0" ]
c-sharpcommunity/SimpleBlogEngine
SimpleBlogEngine/SimpleBlogEngine/Extensions/EmailSenderExtensions.cs
595
C#
using System.Threading; namespace Novell.Directory.Ldap { public interface IDebugIdentifier { DebugId DebugId { get; } } public struct DebugId { private static int _id; private static int GetNextId() { // Rollover is OK in case we somehow end up with mo...
24.818182
98
0.534799
[ "MIT" ]
dogguts/Novell.Directory.Ldap.NETStandard
src/Novell.Directory.Ldap.NETStandard/IDebugIdentifier.cs
1,094
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Newtonsoft.Json.Serialization; namespace RemoteInspector.Server { public class IgnorePropertiesContractResolver : DefaultContractResolver { protected override List<MemberInfo> GetSerializableMembers( Type...
29.8125
115
0.742138
[ "MIT" ]
sebtoun/UnityRemoteInspector
Assets/RemoteInspector/Server/IgnorePropertiesContractResolver.cs
479
C#