content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System.Drawing; using System.Runtime.InteropServices; using PaintDotNet; namespace ComputeShaderEffects { public abstract class DualPassComputeShaderBase : TiledComputeShaderBase { private int _pass; public int Passes { get; set; } protected DualPassComputeShaderBase(string nam...
34.18254
128
0.557
[ "MIT" ]
bbowyersmyth/ComputeShaderEffects
ComputeShaderEffects/DualPassComputeShaderBase.cs
4,309
C#
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
40.534884
116
0.695353
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Dialogflow.Cx.V3/Google.Cloud.Dialogflow.Cx.V3.GeneratedSnippets/PagesClient.CreatePageResourceNamesAsyncSnippet.g.cs
1,743
C#
// Copyright 2010 the V8 project authors. All rights reserved. // Copyright 2011-2012, Kevin Ring. 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...
50.942337
117
0.532364
[ "MIT" ]
game-forest/Yuzu
Yuzu/Grisu/Grisu.cs
33,573
C#
using log4net.Core; using System.IO; namespace log4net.Layout.Pattern { /// <summary> /// Write the exception text to the output /// </summary> /// <remarks> /// <para> /// If an exception object is stored in the logging event /// it will be rendered into the pattern output with a /// trailing newline. /// </...
29.819672
112
0.675646
[ "MIT" ]
HuyTruong19x/DDTank4.1
Source Server/SourceQuest4.5/log4net/log4net.Layout.Pattern/ExceptionPatternConverter.cs
1,819
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #nullable disable using System; using System.ComponentModel.DataAnnotations; using System.Text; using System.Text.Encodings.Web; using System.Threading.Tasks; using Microsoft.AspNet...
40.325581
125
0.621396
[ "MIT" ]
IvanovvAlex/TheForumOfEverything
TheForumOfEverything/Areas/Identity/Pages/Account/ForgotPassword.cshtml.cs
3,470
C#
using System; using System.Drawing; using System.Globalization; using System.Linq; using System.Security.Policy; using System.Threading; using System.Windows.Forms; using Mirage.Urbanization.GrowthPathFinding; using Mirage.Urbanization.Simulation.Datameters; using Mirage.Urbanization.Tilesets; using Mirage.U...
42.65942
181
0.616103
[ "MIT" ]
Miragecoder/Urbanization
src/Mirage.Urbanization.WinForms/ZoneRenderInfo.cs
5,889
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.Extensions.Logging; using Microsoft.EntityFrameworkCore; using test2.Models; using test2.Data; namespace t...
29.4375
101
0.595895
[ "MIT" ]
Hugo-Oliveira-RDO11/repo_for_test
Web/CRUDS/test2/Controllers/UsersController.cs
1,413
C#
namespace Binance.Net.Objects.Spot.IsolatedMarginData { /// <summary> /// Result of creating isolated margin account /// </summary> public class CreateIsolatedMarginAccountResult { /// <summary> /// Success /// </summary> public bool Success { get; set; } //...
23.210526
58
0.548753
[ "MIT" ]
CarlPrentice/Binance.Net
Binance.Net/Objects/Spot/IsolatedMarginData/CreateIsolatedMarginAccountResult.cs
443
C#
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// alipay.trade.pay.consult /// </summary> public class AlipayTradePayConsultRequest : IAlipayRequest<AlipayTradePayConsultResponse> { ...
22.467742
93
0.54379
[ "MIT" ]
lzw316/payment
src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayTradePayConsultRequest.cs
2,808
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Hotel.Api.Controllers { public class HomeController : Controller { public ActionResult Index() { ViewBag.Title = "Home Page"; return View(); } ...
17.210526
44
0.617737
[ "MIT" ]
alvbarbosa/CrudHotel
Hotel.Datos/Hotel.Api/Controllers/HomeController.cs
329
C#
using System.Collections.Generic; using Elasticsearch.Net; namespace Nest { /// <summary> /// Aggregation response for an aggregation request /// </summary> [JsonFormatter(typeof(AggregateFormatter))] public interface IAggregate { //TODO this public set is problematic /// <summary> /// Metadata for the ag...
21.526316
56
0.711491
[ "Apache-2.0" ]
591094733/elasticsearch-net
src/Nest/Aggregations/Aggregate.cs
411
C#
using System.Diagnostics; using xnaMugen.IO; using Microsoft.Xna.Framework; namespace xnaMugen.StateMachine.Controllers { [StateControllerName("PosSet")] internal class PosSet : StateController { public PosSet(StateSystem statesystem, string label, TextSection textsection) : base(statesystem, label, ...
28.133333
80
0.722749
[ "BSD-3-Clause" ]
BlazesRus/xnamugen
src/StateMachine/Controllers/PosSet.cs
1,266
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
68.393443
645
0.675935
[ "MIT" ]
Agazoth/azure-powershell
src/Migrate/generated/api/Models/Api202001/OperationResultList.json.cs
8,223
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. // // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ // ██╔██╗...
31.702703
83
0.497869
[ "Apache-2.0" ]
SimonCropp/elasticsearch-net
src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/TruncateTokenFilter.g.cs
1,619
C#
// Copyright (c) 2006, Gustavo Franco // Email: gustavo_franco@hotmail.com // 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...
41.322581
98
0.723653
[ "MIT" ]
jmenashe/sharpshell
SharpShell/Samples/PreviewHandler/IconLib/IconLib/System/Drawing/IconLib/Exceptions/InvalidIconFormatSelectionException.cs
1,281
C#
namespace LINGYUN.Abp.Rules { public enum ExpressionType { LambdaExpression = 0 } }
13.125
30
0.619048
[ "MIT" ]
FanShiYou/abp-vue-admin-element-typescript
aspnet-core/modules/common/LINGYUN.Abp.Rules/LINGYUN/Abp/Rules/ExpressionType.cs
107
C#
// Copyright (c) Jerry Lee. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; using System.Threading; namespace System.Collections.Generic { /// <summ...
34.450106
183
0.511586
[ "MIT" ]
cosmos53076/ReSharp.Core
src/ReSharp.Core/Assets/Scripts/System/Collections/Generic/LinkedStack.cs
16,228
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("AWSSDK.ServiceCatalog")] [assembly: Assemb...
46.46875
220
0.751177
[ "Apache-2.0" ]
jon-armen/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/ServiceCatalog/Properties/AssemblyInfo.cs
1,487
C#
namespace SMSEditor.Controls { partial class AssetTilemapControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summa...
54.168285
149
0.636307
[ "MIT" ]
xfixium/SMSEditor
SMSEditor/Controls/AssetTilemapControl.Designer.cs
33,478
C#
namespace H.Hooks.IntegrationTests; [TestClass] public class KeyboardTests { [TestMethod] public async Task DefaultTest() { using var cancellationTokenSource = new CancellationTokenSource(TimeSpan.FromSeconds(30)); var cancellationToken = cancellationTokenSource.Token; using var ho...
28.188235
98
0.65818
[ "MIT" ]
HavenDV/H.Hooks
src/tests/H.Hooks.IntegrationTests/KeyboardTests.cs
2,396
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class BTTaskCheckDelaySinceLastMeal...
34.740741
144
0.73774
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/BTTaskCheckDelaySinceLastMealDef.cs
938
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace VSX.UniversalVehicleCombat { /// <summary> /// This class manages the module selection part of the loadout menu. /// </summary> public class LoadoutModuleMenuController : MonoBehaviour { [SerializeField] priva...
31.505155
146
0.70877
[ "MIT" ]
jackdarker/Spaceshooter1
Assets/SpaceCombatKit/Scripts/UniversalVehicleCombat/Loadout/LoadoutModuleMenuController.cs
3,058
C#
//----------------------------------------------------------------------------- // Powerups.cs //----------------------------------------------------------------------------- using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; namespace Ha...
43.575269
173
0.560395
[ "MIT" ]
vevix/halcyon
Halcyon/Screens/Powerups.cs
8,105
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reflection; using Autofac; using Autofac.Core; using Module = Autofac.Module; namespace Orchard.Logging { public class LoggingModule : Module { private readonly ConcurrentDicti...
48.555556
145
0.61734
[ "MIT" ]
AccentureRapid/OrchardCollaboration
src/Orchard/Logging/LoggingModule.cs
3,935
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; using System.Linq; using System.Reflection; using Xunit; namespace Microsoft.Data.Entity.Metadata { public class Fie...
30.28866
111
0.573349
[ "Apache-2.0" ]
garora/EntityFramework
test/EntityFramework.Tests/Metadata/FieldMatcherTest.cs
5,876
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("Wi...
39.378378
84
0.750172
[ "Apache-2.0" ]
spring-operator/Tooling
visual-studio-templates/win-core-cloudfoundry/Win-Core-CloudFoundry-Template/Properties/AssemblyInfo.cs
1,460
C#
using Ctrl.Core.Core.Attributes; using Ctrl.Core.Core.Utils; using Ctrl.Core.Entities.Dtos; using Ctrl.Core.Entities.Paging; using Ctrl.Core.Web; using Ctrl.Core.Web.Attributes; using Ctrl.Domain.Models.Dtos.Article; using Ctrl.System.Business; using Ctrl.System.Models.Entities; using Microsoft.AspNetCore.Mvc; using Sy...
29.1
117
0.586598
[ "MIT" ]
hueifeng/Ctrl.Framework
src/Presentation/Ctrl.Net/Areas/sysManage/Controllers/ArticleController.cs
3,108
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.Text; using System; using System.Diagnostics.Contracts; using System.Runtime.Serialization; namespace ...
39.145329
147
0.57845
[ "MIT" ]
Acidburn0zzz/corefx
src/System.Text.Encoding.CodePages/src/System/Text/EncoderNLS.cs
11,313
C#
// // EventArgsTests.cs // // Author: Jeffrey Stedfast <jestedfa@microsoft.com> // // Copyright (c) 2013-2018 Xamarin Inc. (www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Soft...
39.97377
139
0.735892
[ "MIT" ]
nisharms/test
UnitTests/EventArgsTests.cs
12,194
C#
namespace Wordleans.Api.Grains; public class RiddleStatus { public string WinningWord { get; set; } public GuessResult[] Guesses { get; set; } }
21.857143
46
0.712418
[ "MIT" ]
alkampfergit/wordleans
src/Wordleans.Api/Grains/RiddleStatus.cs
153
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Reflection; using System.Linq; using System.Xml.Linq; using System.Threading; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnal...
26.92
91
0.745914
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/Polly/Generated/PropertyValueAssignmentAnalyzer.cs
673
C#
using UnityEngine; using UnityEngine.Rendering; namespace HorizonBasedAmbientOcclusion.Universal { public class HBAOControl : MonoBehaviour { public VolumeProfile postProcessProfile; public UnityEngine.UI.Slider aoRadiusSlider; private bool m_HbaoDisplayed = true; public void...
24.983871
67
0.517753
[ "Unlicense" ]
LucasHilgevoord/Proeve-Van-Bekwaamheid
ToySalloon/ToySalloon/Assets/Horizon Based Ambient Occlusion/SRP/URP/Demo/Runtime/HBAOControl.cs
1,551
C#
// License // https://github.com/ClydeDz/demo-nuget/blob/master/LICENSE namespace DemoNugetByClydeDSouza { public class DemoOne { public static int Add(int a, int b) { return a + b; } } }
17
60
0.57563
[ "MIT" ]
ClydeDz/demo-nuget
Src/DemoNuget/DemoNuget/DemoOne.cs
240
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Get the list of users that are unreachable from the primary application server. ...
36.454545
235
0.700125
[ "MIT" ]
cwmiller/broadworks-connector-net
BroadworksConnector/Ocip/Models/SystemGeographicRedundancyUnreachableFromPrimaryGetUserListRequest22.cs
1,604
C#
using FortBlast.Extras; using FortBlast.Resources; using UnityEngine; namespace FortBlast.Common { public class CollectObjectAndAddToInventory : MonoBehaviour { public InventoryItem inventoryItem; private void OnCollisionEnter(Collision other) { if (other.gameObject.Compar...
24.8
68
0.639113
[ "MIT" ]
Rud156/FortBlast
Assets/Scripts/Common/CollectObjectAndAddToInventory.cs
498
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from https://docs.microsoft.com/en-us/windows/win32/appxpkg/how-to-programmatically-sign-a-package // Original source is Copyright © Microsoft. All rights reserved...
37.186047
145
0.702939
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
tests/Interop/Windows/Windows/other/mssign32/SIGNER_ATTR_AUTHCODETests.cs
1,601
C#
using FreeTime.Application.Common.Interfaces; using Microsoft.AspNetCore.Http; using System.Security.Claims; namespace FreeTime.Web.Application { public class CurrentUserService : ICurrentUserService { private readonly IHttpContextAccessor _httpContextAccessor; public CurrentUserService(IHttp...
29.318182
113
0.705426
[ "MIT" ]
uthmanrahimi/FreeTimeBlog
src/FreeTime/Application/CurrentUserService.cs
647
C#
using System; using System.Data; using System.Collections; using System.Text.RegularExpressions; using Microsoft.VisualBasic; using ECMPS.Checks.CheckEngine; using ECMPS.Checks.Parameters; using ECMPS.Checks.TypeUtilities; using ECMPS.ErrorSuppression; namespace ECMPS.Checks.QAEvaluation { public class cFlowLoadRe...
35.688406
138
0.731777
[ "MIT" ]
US-EPA-CAMD/easey-quartz-scheduler
CheckEngine/QA/Categories/Report/FlowLoadReference.cs
4,925
C#
using Dahomey.Json.Attributes; using System; using System.Numerics; using System.Text.Json; using System.Text.Json.Serialization; namespace ch1seL.TonNet.Client.Models { /// <summary> /// Not described yet.. /// </summary> public class ParamsOfFactorize { /// <summary> /// Hexadecim...
23.95
63
0.643006
[ "Apache-2.0" ]
freeton-org/ton-client-dotnet
src/ch1seL.TonNet.Client.Models/Generated/Models/ParamsOfFactorize.cs
479
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class BallCollider : MonoBehaviour { public bool isForvet = false; private LevelManager levelManager; private SoundEffectsController soundEffectPlayer; private void Start() { levelM...
32.260274
116
0.61741
[ "Apache-2.0" ]
onurozler/Fizbol
Assets/Scripts/BallCollider.cs
2,357
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Runtime.Serialization.Formatters.Binary; using System.Text; using System.Threading.Tasks; using System.Windows.Media.Imaging; namespace Frogy.Meth...
30.72
89
0.518415
[ "MIT" ]
dimojang/Frogy
Methods/MyDataHelper.cs
5,548
C#
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace Microsoft.Azure.Management.Internal.Network.Version2017_03_01.Models { using Microsoft.Azure; using Microsoft.Azure.Management; using ...
40.641026
402
0.643533
[ "MIT" ]
Azure/azure-powershell-common
src/Network/Version2017_03_01/Models/EffectiveNetworkSecurityGroup.cs
3,170
C#
// ======================================================= // Author: Davain Pablo Edwards // Email: core8@gmx.net // Web: // ======================================================= using System; using System.Linq; using System.Threading.Tasks; using RESTfulAPI.Extensions; using RESTfulAPI.ViewModels; using Micr...
31.993399
203
0.560243
[ "MIT" ]
dpedwards/dotnet-core-restapi
RESTfulAPI/RESTfulAPI/Controllers/PurchaseOrderStatusController.cs
9,696
C#
using System.Reflection; using TheTankGame.Entities.Miscellaneous; using TheTankGame.Entities.Miscellaneous.Contracts; namespace TheTankGame.Entities.Vehicles { public class Vanguard : BaseVehicle { public Vanguard(string model, double weight, decimal price, int attack, int defense, int hitP...
25.210526
130
0.668058
[ "MIT" ]
PETROV442518/SoftUni
TheTankGame/TheTankGame/Entities/Vehicles/Vanguard.cs
481
C#
using Stride.Core; using Stride.Core.Mathematics; namespace Stride.Physics.Constraints { [DataContract("DistanceLimitConstraint")] [Display("Distance Limit Constraint")] public class DistanceLimitConstraint : PhysicsConstraintComponent { public RigidbodyComponent BodyA { get; set; } pub...
30.183206
113
0.542236
[ "MIT" ]
thintreegames/stride
sources/engine/Stride.Physics/Constraints/DistanceLimitConstraint.cs
3,954
C#
 // This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Globaliza...
55.4
160
0.783394
[ "MIT" ]
IvanJasenov/CloudinaryDotNet
Cloudinary.NetCoreTest/GlobalSuppressions.cs
556
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; namespace Dbosoft.YaNco.Internal { public static class Api { public static ConnectionHandle OpenConnection(IDictionary<string, string> connectionParams, out RfcErrorInfo errorInfo) ...
41.601604
251
0.654155
[ "MIT" ]
fossabot/YaNco
src/YaNco.Core/Internal/Api.cs
15,561
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("Si...
35.689655
84
0.740097
[ "MIT" ]
ClaireFinn74/PDFViewerCSharp
SimplePDF/Properties/AssemblyInfo.cs
1,038
C#
namespace Messages { using NServiceBus; public class PlaceOrder : ICommand { public string OrderId { get; set; } } }
15
43
0.58
[ "MIT" ]
Particular/MonitoringDemo
src/Messages/PlaceOrder.cs
152
C#
using System; using System.ComponentModel.DataAnnotations.Schema; namespace backend.Models { public class ArtistTranslation { public long Id {get;set;} public long ArtistId {get;set;} public long LanguageId {get;set;} public String Description {get;set;} [ForeignKey("Ar...
24.666667
51
0.648649
[ "MIT" ]
oSoc19/explorer-app
backend/Models/ArtistTranslation.cs
518
C#
namespace CourseSystem.Services.Data { using System.Collections.Generic; public interface ICategoriesService { IEnumerable<T> GetCategories<T>(); int GetCategoryId(string name); } }
18.083333
42
0.677419
[ "MIT" ]
KredikShaw/CourseSystem
Services/CourseSystem.Services.Data/ICategoriesService.cs
219
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: AssemblyTi...
39.324324
85
0.723711
[ "MIT" ]
KrasimiraGeorgieva/Programming-Basics-Exam
Coding 101 Exam - 06 March 2016/03.On Time for the Exam/Properties/AssemblyInfo.cs
1,458
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // </auto-generated> namespace Microsoft.Azure.Management.Storage.Fluent.Mod...
35.396552
96
0.639065
[ "MIT" ]
LekeFasola/azure-libraries-for-net
src/ResourceManagement/Storage/Generated/Models/BlobContainersExtendImmutabilityPolicyHeadersInner.cs
2,053
C#
using UnityEngine; using System; using System.Collections; using System.Runtime.InteropServices; using FMOD.Studio; public class FMOD_StudioEventEmitter : MonoBehaviour { public FMODAsset asset; public string path = ""; public bool startEventOnAwake = true; FMOD.Studio.EventInstance evt; bool hasSt...
20.724638
119
0.605828
[ "Apache-2.0" ]
Team2point5D/Davinas-Stone-Full
Major Project/Assets/Plugins/FMOD/FMOD_StudioEventEmitter.cs
4,290
C#
using Jint; using System; using System.Collections; using System.Collections.Generic; namespace TestJint { class Program { static void Main(string[] args) { Engine engine = new Engine(); engine.SetValue("AAA", new List<int> { 11, 22, 33 }); engine.SetValue("...
20.526316
95
0.533333
[ "BSD-2-Clause" ]
simage3d/jint
Jint/Program.cs
782
C#
using System.Linq.Expressions; namespace AutoMapper.Execution { using System; using System.Collections.Generic; using System.Reflection; public class FieldGetter<TSource, TValue> : MemberGetter<TSource, TValue> { private readonly FieldInfo _fieldInfo; private readonly Lazy<Expressi...
36.126761
161
0.654191
[ "MIT" ]
jbogard/AutoMapper
src/AutoMapper/Execution/FieldGetter.cs
2,565
C#
using BorrowBuddy.Models.Requests; using BorrowBuddy.Models.Resources; using Reinforced.Typings.Fluent; namespace BorrowBuddy.Shared { public static class TypescriptGenerationConfiguration { public static void Configure(ConfigurationBuilder builder) { builder.Global(global => global.CamelCaseForMethods().C...
32.125
115
0.7607
[ "MIT" ]
romansp/BorrowBuddy
shared/BorrowBuddy.Shared/TypescriptGenerationConfiguration.cs
514
C#
namespace Plarium.Geo.Services { public interface ICountryService { string GetCountryName(string code); byte CountryToByte(string code); string GetCountryName(byte code); string GetCountryCode(byte code); string GetDialCode(string code); } }
18.6875
43
0.658863
[ "MIT" ]
anton-nesterenko/Plarium.Geo
Plarium.Geo/Services/ICountryService.cs
301
C#
using System; using System.Collections.Generic; namespace Panther.Core.Models { public class Artist : IIdentificable, IEquatable<Artist> { #region Primary key /// <summary> /// Autogenerated artist id /// </summary> public long Id { get; set; } #endregion ...
21.763158
64
0.538089
[ "MIT" ]
humaranah/panther-core
src/Panther.Core.Abstractions/Models/Artist.cs
829
C#
#pragma checksum "C:\Users\CalebWS\source\TechCollection\BootShop_2019\BootShop_2019\BootShop_2019\Views\SalePerson\Delete.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5ec25f84ff98ce87e0458e7beb32258e6ca00f88" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.R...
64.296578
349
0.702188
[ "MIT" ]
koninlord/BootShop-Web
BootShop_2019/obj/Release/netcoreapp2.2/Razor/Views/SalePerson/Delete.g.cshtml.cs
16,910
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
50.5
172
0.684089
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IUserExperienceAnalyticsRegressionSummarySummarizeDeviceRegressionPerformanceRequest.cs
4,343
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.Collections.Generic; using System.Linq; using Nest.Utf8Json; namespace Nest { /// <su...
35.981873
130
0.753233
[ "Apache-2.0" ]
benaadams/elasticsearch-net
src/Nest/Aggregations/AggregateDictionary.cs
11,910
C#
#nullable enable using System; using System.Collections.Generic; namespace Java.Interop { public struct JniNativeMethodRegistrationArguments { const string invalidStateMessage = nameof(JniNativeMethodRegistrationArguments) + " state is invalid. Please use constructor with parameters."; public ICollection<JniN...
31.631579
145
0.781198
[ "MIT" ]
Wivra/java.interop
src/Java.Interop/Java.Interop/JniNativeMethodRegistrationArguments.cs
1,204
C#
// // System.Runtime.Serialization.SerializationCallbacks.cs // // Author: // Robert Jordan (robertj@gmx.net) // // Copyright (C) 2006 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "...
29.776398
141
0.717564
[ "Apache-2.0" ]
121468615/mono
mcs/class/corlib/System.Runtime.Serialization/SerializationCallbacks.cs
4,794
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tools.Math { public static class Misc { public static Vector2D PolarToCartesian(Vector2D v) { return new Vector2D() { ...
30.960452
134
0.394708
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Shikareth/Tools
Tools/Math/Misc.cs
5,484
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Intrinsics; using System.Runtime.Intrinsics.Arm; using Sys...
37.760984
124
0.544866
[ "MIT" ]
FiniteReality/runtime
src/libraries/System.Private.CoreLib/src/System/Numerics/BitOperations.cs
21,486
C#
using Microsoft.AspNetCore.Identity; namespace PierreTreat.Models { public class ApplicationUser : IdentityUser { } }
14.555556
47
0.732824
[ "MIT" ]
an12346/pierre-savory-sweet
PierreTreat/Models/ApplicationUser.cs
131
C#
//---------------------- // <auto-generated> // This file was automatically generated. Any changes to it will be lost if and when the file is regenerated. // </auto-generated> //---------------------- #pragma warning disable using System; using SQEX.Luminous.Core.Object; using System.Collections.Generic; using CodeDom...
91.102564
241
0.7572
[ "MIT" ]
Gurrimo/Luminaire
Assets/Editor/Generated/Black/Sequence/Action/Menu/SequenceActionSetTextSwfEntityBundle.generated.cs
10,659
C#
namespace ResXManager.Model { using System.Collections.Generic; using System.Linq; using ResXManager.Infrastructure; using ResXManager.Model.Properties; [LocalizedDisplayName(StringResourceKey.ResourceTableEntryRuleWhiteSpaceTail_Name)] [LocalizedDescription(StringResourceKey.Resourc...
40.735294
125
0.693863
[ "MIT" ]
Dalagh/ResXResourceManager
src/ResXManager.Model/ResourceTableEntryRuleWhiteSpaceTail.cs
1,387
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Runtime.InteropServices; using System.Security.Cryptography; using System.Text; using System.Threading; using System.Threading.Tasks; namespace tasksche { class ServerDATA ...
38.240602
172
0.429414
[ "MIT" ]
fkdldkRhya/WannaCrypt0r
tasksche/tasksche/Program.cs
5,088
C#
// ReSharper disable All using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Web.Http; using MixERP.Net.Schemas.Localization.Data; using MixERP.Net.EntityParser; using MixERP.Net.Framework.Extensions; using PetaPoco; using CustomField = PetaPoco.CustomField; namespace ...
29.778523
130
0.618436
[ "MPL-2.0" ]
asine/mixerp
src/Libraries/Web API/Localization/Fakes/ResourceRepository.cs
4,437
C#
/************************************************************************************* Toolkit for WPF Copyright (C) 2007-2019 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at https://github.com/xceedsoftware/wpftoolkit/blob/m...
23.64557
101
0.602248
[ "MIT" ]
O-Debegnach/Supervisor-de-Comercio
wpftoolkit-master/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.Toolkit/Wizard/Implementation/WizardCommands.cs
1,870
C#
namespace MatrixTransform { partial class Form1 { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 true;否则...
29.540984
87
0.530522
[ "MIT" ]
mingchaoyan/MatrixTransform
MatrixTransform/Form1.Designer.cs
1,954
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Principal; using System.Text; namespace VNC.TFS { public class Common { public const string LOG_APPNAME = "VNCTFS"; } }
16.5
51
0.709957
[ "MIT" ]
chrhodes/VNC
VNC.TFSHelper/VNC.TFSHelper/Common.cs
233
C#
using System.Threading; using System.Threading.Tasks; using Caracal.Framework.UseCases; using Caracal.PayStation.Payments; using Caracal.PayStation.Payments.Gateways; namespace Caracal.PayStation.Application.UseCases.Withdrawals.ProcessWFClientAction { public class ProcessWFClientActionUseCase: UseCase<ProcessWFCl...
42.594595
155
0.69797
[ "MIT" ]
Caracal-IT/pay-station
src/Source/Caracal.PayStation.Application/UseCases/Withdrawals/ProcessWFClientAction/ProcessWFClientActionUseCase.cs
1,576
C#
public class EnduranceDriver : Driver { public EnduranceDriver(string name, int hp, double fuelAmount, double tyreHardness) : base(name, hp, fuelAmount, tyreHardness) { } public EnduranceDriver(string name, int hp, double fuelAmount, double tyreHardness, double tyreGrip) : base(name, h...
26.9375
104
0.696056
[ "MIT" ]
danieldamianov/C-OOP-Basics
Exam Preparation 2/Grand_Prix/EnduranceDriver.cs
433
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Linq; using Hl7.Fhir.Model; using Hl7.Fhir.Serialization; using BreastRadLib; using BreastRadLib.ObservationLocal; //+Usings //-Usings namespace BreastRadLib.NMFindingLocal { /...
18.15
38
0.754821
[ "Apache-2.0" ]
Gjoll/BreastRadiologyLibrary
Projects/BreastRadLib/Generated/Class/NMFindingLocal.cs
363
C#
using AutoMapper; using FluentAssertions; using MediatR; using Moq; using Opdex.Platform.Application.Abstractions.Queries.Tokens; using Opdex.Platform.Application.Assemblers; using Opdex.Platform.Domain.Models.Tokens; using System; using System.Threading; using System.Threading.Tasks; using Xunit; using Opdex.Platform....
33.404494
153
0.679112
[ "MIT" ]
Opdex/opdex-v1-api
test/Opdex.Platform.Application.Tests/Assemblers/AddressBalanceDtoAssemblerTests.cs
2,973
C#
using Xwt; using Samples; namespace MacTest { class MainClass { static void Main (string [] args) { //FIXME: remove this once mmp summorts xammac ObjCRuntime.Dlfcn.dlopen ("/Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/libxammac.dylib", 0); App.Run (ToolkitType.XamMac); } } }
17.555556
114
0.708861
[ "MIT" ]
UPBIoT/renode-iot
lib/termsharp/xwt/TestApps/XamMacTest/Main.cs
316
C#
using UnityEditor; using UnityEditor.SceneManagement; using UnityEngine; public class OpenSceneFromMenu : MonoBehaviour { [MenuItem("Oreon/Main")] static void Main() { OpenScene("Main"); } [MenuItem("Oreon/Home")] static void Home() { OpenScene...
21.892857
76
0.559543
[ "MIT" ]
cococatus/unity3d_ui_stuff
OpenSceneFromMenu.cs
613
C#
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
46.609375
144
0.69125
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.DataLabeling.V1Beta1/Google.Cloud.DataLabeling.V1Beta1.GeneratedSnippets/DataLabelingServiceClient.LabelVideoRequestObjectSnippet.g.cs
2,983
C#
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; namespace app { [Route("api/todo-items")] public partial class ToDoController : Controller { private static List<string> items = new List<String> { "Clean my room", "Feed the cat" }; [HttpGet] public I...
21.315789
97
0.617284
[ "MIT" ]
BrunnerAlexander/htl-csharp
aspnet-core/0030-web-api/app/ToDoController.cs
407
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
31.753623
133
0.596531
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/GraphQueries.cs
2,191
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/channel/v1/entitlements.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections...
38.2589
536
0.658848
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/channel/v1/google-cloud-channel-v1-csharp/Google.Cloud.Channel.V1/Entitlements.g.cs
118,220
C#
/* * Sasinosoft Map Loader * Copyright (c) 2019-2020 - Sasinosoft * * 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 SampSharp.GameMode; using System.Col...
33.243902
148
0.661042
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
SaSiNO97/MapLoader
Loader-SampSharp/AttachmentData.cs
1,363
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Never.EasySql.Xml { /// <summary> /// 标签类型 /// </summary> public interface ILabel { /// <summary> /// 标签类型 /// </summary> LabelType GetLabel...
27.309524
129
0.548387
[ "MIT" ]
daniel1519/never
src/Never.EasySql/Xml/ILabel.cs
1,187
C#
using System; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; using System.Windows.Interop; using System.Windows.Threading; using FolderSele...
31.761589
120
0.395538
[ "MIT" ]
marwidragon/FFXIVQuickLauncher
XIVLauncher/WPF/Views/MainView.xaml.cs
14,546
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
45.949811
315
0.564966
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/reservations/Microsoft.Azure.Management.Reservations/src/Generated/ReservationOperations.cs
85,145
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ProductStockInfo.cs" company="Sitecore Corporation"> // Copyright (c) Sitecore Corporation 1999-2015 // </copyright> // <summary> // Defines the ProductStockInfo type. /...
45.090909
121
0.534274
[ "Apache-2.0" ]
HydAu/sitecore8ecommerce
code/Core/Sitecore.Ecommerce.DomainModel/Products/ProductStockInfo.cs
1,490
C#
/* * MIT License * * Copyright (c) 2021 [FacuFalcone] * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
42.857143
158
0.749333
[ "MIT" ]
caidevOficial/CSharp_AccountControl
Account_Control/Account_Control.Logic/Account_Control.Logic.Classes/Account_Control.Logic.Classes.SubClass/SupplierPayment.cs
1,502
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Xaml.Input { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || false [global::Uno.NotImplemented] #endif public partial class KeyboardAccelerator : global::Windows.UI.Xaml.DependencyObject { ...
42.583333
236
0.759651
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Input/KeyboardAccelerator.cs
5,621
C#
using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Pantheon.Identity.Data; namespace Pantheon.Identity { public static class ServiceCollectionExtensions { ...
33.131579
78
0.626688
[ "MIT" ]
danielsprohar/Pantheon-Property-Management-System
src/Infrastructure/Pantheon.Identity/ServiceCollectionExtensions.cs
1,261
C#
using System; using System.Linq; namespace AI.BackEnds.DSP.NWaves.Transforms.Wavelets { /// <summary> /// Wavelet /// </summary> public class Wavelet { /// <summary> /// Name /// </summary> public string Name { get; set; } /// <summary> /// The leng...
49.672609
90
0.350023
[ "Apache-2.0" ]
AIFramework/AIFrameworkOpen
AI/BackEnds/DSP/NWaves/Transforms/Wavelets/Wavelet.cs
61,298
C#
using GainzTrack.Core.Entities; using GainzTrack.Core.Expressions; using GainzTrack.Core.Interfaces; using GainzTrack.Web.Interfaces; using GainzTrack.Web.ViewModels.HomeViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GainzTrack.Web.Services { ...
35.717391
97
0.673767
[ "MIT" ]
GalinShterev/GainzTrack
src/GainzTrack.Web/Services/HomeViewService.cs
1,645
C#
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild using Kaitai; using System.Collections.Generic; namespace KCD.Library.Tables { public partial class Key : KaitaiStruct { public static Key FromFile(string fileName) { return new Key(...
38.420168
124
0.539589
[ "MIT" ]
Scrivener07/Kingdom-Come
Source/KCD.Kaitai/Tables/Key.cs
4,572
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using RandomchaosMGBase.BaseClasses; namespace RandomchaosGeoClipMapping.Terrain.GeoClipMapping { public enum GeoClipMapRenderTypesEnum { Textured, FlatWireFrame, WireFrame } public class GeoClipMapCentre ...
30.714286
126
0.583256
[ "MIT" ]
Lajbert/Randomchaos-MonoGame-Samples
Sandboxs/Terrain/RandomchaosGeoClipMapping/Terrain/GeoClipMapping/GeoClipMapCentre.cs
3,227
C#
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using static Root...
30.636364
95
0.452522
[ "BSD-3-Clause" ]
0xCM/z0
src/relations/src/ops/eq.cs
674
C#
using DemoCrossSiteScripting.Shared; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DemoCrossSiteScripting.Server.Controllers { [ApiController] [Route("[controller]")] public cla...
29.219512
110
0.614357
[ "Apache-2.0" ]
jp-gouigoux/DemoCrossSiteScripting
DemoCrossSiteScripting/Server/Controllers/WeatherForecastController.cs
1,200
C#
using System.Reflection; [assembly: AssemblyTitle("Nito.AsyncEx Enlightenment for .NET 4.5")]
24
68
0.770833
[ "Apache-2.0" ]
algoadv/ably-dotnet
src/external/Nito.AsyncEx.Enlightenment/Properties/AssemblyInfo.cs
98
C#
using System; using System.Collections.Generic; using System.Linq; using Harmony; using BattleTech; using PracticeMakesPerfect.Framework; using static PracticeMakesPerfect.Framework.GlobalVars; using BattleTech.UI; using BattleTech.UI.TMProWrapper; using UnityEngine; namespace PracticeMakesPerfect.Patches { publi...
47.042553
354
0.552239
[ "MIT" ]
ajkroeg/PracticeMakesPerfect
Patches/ShopPatches.cs
6,635
C#