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; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace FastReportCore.MVC.Models { [Table("orderdetails")] public partial class Orderdetails { public long Id { get; set; } [Column("OrderID",...
31.304348
55
0.630556
[ "MIT" ]
8VAid8/FastReport
Demos/Core/FastReportCore.MVC/Models/Orderdetails.cs
722
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BrownPlatform : MonoBehaviour { Animator animator; // Start is called before the first frame update void Start() { animator = gameObject.GetComponent<Animator>(); } // Update is called once pe...
17.5
55
0.611765
[ "MIT" ]
TheMagnat/Doodle-Jump
Unity/DoodleJumpGM/Assets/Scripts/BrownPlatform.cs
595
C#
using Arragro.Common.BusinessRules; using Arragro.Common.Repository; using System.Linq; namespace Arragro.Common.ServiceBase { public abstract class Service<TRepository, TModel, TKeyType> : BusinessRulesBase<TRepository, TModel, TKeyType> where TModel : class where TRepository : IRepository<TModel...
28.076923
115
0.646575
[ "BSD-3-Clause" ]
Arragro/Arragro
src/Arragro.Common/ServiceBase/Service.cs
1,097
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using SoftJail.Data; namespace SoftJai...
34.403061
125
0.481536
[ "Apache-2.0" ]
KostadinovK/CSharp-DB
02-Entity Framework Core/13-Past Exams/Exam 12.08.2018/SoftJail/Migrations/20191205084427_Initial.Designer.cs
6,745
C#
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "87F72F0F8B2C4F3FA76FEB8F4AF6FF2927740B032E0B288EE768E3671819B7FA" //------------------------------------------------------------------------------ // <auto-generated> // Ce code a été généré par un outil. // Version du runti...
38.79402
150
0.584482
[ "MIT" ]
Axel82/MediaPlayer
MediaPlayer/MediaPlayer/obj/Debug/MainWindow.g.cs
11,690
C#
namespace AgileObjects.ReadableExpressions.Translations { using System; using System.Linq; using System.Reflection; using Interfaces; #if NET35 using Microsoft.Scripting.Ast; #else using System.Linq.Expressions; #endif using NetStandardPolyfills; internal static class TypeEqualTranslat...
34.247706
113
0.577284
[ "MIT" ]
rikimaru0345/ReadableExpressions
ReadableExpressions/Translations/TypeEqualTranslation.cs
3,735
C#
using System; using System.Collections.Generic; using System.Text; namespace BreakinIn.Messages { class PlusWho : AbstractMessage { public override string _Name { get => "+who"; } public string I { get; set; } public string N { get; set; } public string M { get; set; } ...
27.958333
55
0.540984
[ "Apache-2.0" ]
Blayer98/Breakin-In
BreakinIn/Messages/PlusWho.cs
673
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: AssemblyConfigurat...
41.25
84
0.781818
[ "MIT" ]
grapoza/DotNetCSS
src/DotNetCSS.Tests/Properties/AssemblyInfo.cs
827
C#
using Jw.Winform.Ctrls; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Jw.Winform.Forms { public class JwNotify { private static JwNotify manager = null; private Di...
38.873239
115
0.602899
[ "MIT" ]
wuqinchao/JwControls
Jw.Winform.Forms/JwNotify/JwNotify.cs
2,762
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.DataProtection; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Localization; using Microsoft.Extensions.Logging; using OrchardCore.Data;...
37.501976
152
0.574831
[ "BSD-3-Clause" ]
ArieGato/OrchardCore
src/OrchardCore.Modules/OrchardCore.Setup/Controllers/SetupController.cs
9,488
C#
using System; using System.Collections.Generic; namespace ApartmentsLilly.Server.Infrastructure.Extensions { public static class EnumExtensions { public static List<EnumValue> GetValues<T>() { var values = new List<EnumValue>(); foreach (var itemType in Enum.GetValues(t...
24.333333
63
0.50137
[ "MIT" ]
yotkoKanchev/ApartmentsLilly
Server/ApartmentsLilly.Server/Infrastructure/Extensions/EnumExtensions.cs
732
C#
namespace VTMap.Core.Primitives { /// <summary> /// Context for which the style should be evaluated /// </summary> public class EvaluationContext { public float? Zoom { get; set; } public float Scale { get; set; } public TagsCollection Tags { get; set; } public Ev...
29.034483
158
0.577197
[ "MIT" ]
charlenni/VTMap
Source/VTMap.Core/Primitives/EvaluationContext.cs
844
C#
// Copyright 2021 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.484375
140
0.632188
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/spanner/v1/google-cloud-spanner-v1-csharp/Google.Cloud.Spanner.V1.StandaloneSnippets/SpannerClient.StreamingReadRequestObjectSnippet.g.cs
2,591
C#
using System; using NUnit.Framework; namespace PostalCodes.UnitTests { internal class IsoCountryCodeValidatorTests { private static readonly IIsoCountryCodeValidator IsoValidator = new IsoCountryCodeValidator(); [Test] public void Validate_ValidCountryCode_ReturnsTrue() ...
35.934426
119
0.62135
[ "Apache-2.0" ]
twiho2/PostalCodes.Net
src/PostalCodes.UnitTests/IsoCountryCodeValidatorTests.cs
2,134
C#
using HK.Nanka.RobotSystems; using UnityEngine; using UnityEngine.Assertions; namespace HK.Nanka { public sealed class GameController : MonoBehaviour { [SerializeField] private ItemSpecs itemSpecs; [SerializeField] private Recipes recipes; [SerializeField] pri...
23.947368
87
0.617582
[ "MIT" ]
hiroki-kitahara/Nanka
Assets/Scripts/System/GameController.cs
912
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; #pragma warning disable RCS1016, RCS1067, RCS1095, RCS1163 namespace Roslynator.CSharp.Analyzers.Test { internal stati...
22.637681
160
0.40589
[ "Apache-2.0" ]
TechnoridersForks/Roslynator
source/Test/AnalyzersTest/FormatInitializerWithSingleExpressionOnSingleLine.cs
1,564
C#
using System; using System.Data.SQLite; using System.Reflection; using System.Text; namespace InfrastructureLayer.DataAccess { public class WolSqliteDatabase { public SQLiteConnection Connection { private set; get; } public string FilePath { get; private set; } public bool Valid { get;...
29.515723
133
0.528873
[ "MIT" ]
nski27/WOLsignal
src/InfrastructureLayer/DataAccess/WolSqliteDatabase.cs
4,695
C#
// <auto-generated /> using System; using evitoriav2.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace evitoriav2.Migrations { [DbContext...
35.515658
106
0.429491
[ "MIT" ]
ntgentil/evitoria
aspnet-core/src/evitoriav2.EntityFrameworkCore/Migrations/evitoriav2DbContextModelSnapshot.cs
68,050
C#
using System; using System.IO; using System.Text; using Xunit; namespace GildedRoseKata { public class CharacterizationTest { [Fact] public void DoesWhatItDoes() { var sb = new StringBuilder(); Console.SetOut(new StringWriter(sb)); Console.SetIn(new ...
23.56
78
0.584041
[ "MIT" ]
vaughn-bloomerang/GildedRoseStarter
GildedRoseKata/CharacterizationTest.cs
591
C#
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using Plus.Data; using System; using System.Collections.Generic; namespace Plus.EntityFrameworkCore.DependencyInjection { public static class DbContextOptionsFactory { public static ...
39.092784
161
0.642669
[ "MIT" ]
Meowv/Plus.Core
Plus.Core/Plus/EntityFrameworkCore/DependencyInjection/DbContextOptionsFactory.cs
3,792
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. namespace System.Data.Entity.Core.Mapping { // This file contains an enum for the errors generated by StorageMappingItemCollection // There is almost a one-to-one co...
35.011152
163
0.622478
[ "MIT" ]
dotnet/ef6tools
src/EntityFramework/Core/Mapping/MappingErrorCode.cs
18,836
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.Diagnostics; using System.Linq; using System.Linq.Expressions; using System.Reflection; usi...
49.632653
140
0.540855
[ "Apache-2.0" ]
FriendsTmCo/efcore
src/EFCore/Query/Internal/NavigationExpandingExpressionVisitor.ExpressionVisitors.cs
60,800
C#
using JT808.Protocol.Enums; using JT808.Protocol.Extensions; using JT808.Protocol.Formatters; using JT808.Protocol.Interfaces; using JT808.Protocol.MessagePack; using System; using System.Buffers.Binary; using System.Collections.Generic; using System.Text; using System.Text.Json; namespace JT808.Protocol.MessageBody....
42.046729
192
0.623916
[ "MIT" ]
DonPangPang/JT808
src/JT808.Protocol/MessageBody/CarDVR/JT808_CarDVR_Up_0x14.cs
4,853
C#
using System; using System.Collections.Generic; using System.IO; using System.Net; using MiscUtil.Conversion; namespace BitTorent { public enum TrackerEvent { Started, Paused, Stopped } public class Tracker { public event EventHandler<List<IPEndPoint>> PeerListUpdat...
31.649123
244
0.560698
[ "MIT" ]
LightOstrich/bittorent-research
Torrent/ConsoleApp1/BitTorrent/Tracker.cs
3,608
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("ConsoleApplication2")] [assembly: Assemb...
35.25641
84
0.742545
[ "Apache-2.0" ]
GallantChar/minecraft-worldedit-bedrock
src/WorldEdit/Properties/AssemblyInfo.cs
1,378
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/d2d1_1.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtime....
64.692308
299
0.724138
[ "MIT" ]
Ethereal77/terrafx.interop.windows
sources/Interop/Windows/um/d2d1_1/Windows.cs
5,048
C#
// Copyright (c) Six Labors and contributors. // Licensed under the GNU Affero General Public License, Version 3. using System; using SixLabors.ImageSharp.Processing; namespace SixLabors.ImageSharp { /// <summary> /// Adds extensions that allow the processing of images to the <see cref="Image{TPixel}"/> type....
45.613861
142
0.650098
[ "Apache-2.0" ]
fahadabdulaziz/ImageSharp
src/ImageSharp/GraphicOptionsDefaultsExtensions.cs
4,607
C#
using System; using System.Collections.Generic; using JetBrains.Annotations; using JetBrains.Collections.Viewable; using JetBrains.Diagnostics; using JetBrains.Lifetimes; using JetBrains.Rd.Base; namespace JetBrains.Rd.Impl { public class Protocol : IProtocol { public static readonly ILog Logger = Log.GetLog("...
40.472527
191
0.71735
[ "Apache-2.0" ]
denis417/rd
rd-net/RdFramework/Impl/Protocol.cs
3,683
C#
using ContosoUniversity.Models; using System.Data.Entity; using System.Data.Entity.ModelConfiguration.Conventions; namespace ContosoUniversity.DAL { public partial class SchoolDbContext //SchoolDbContext2.cs { protected override void OnModelCreating(DbModelBuilder modelBuilder) { m...
32.92
78
0.620899
[ "MIT" ]
bgoodearl/ContosoUniversity_dnc31_MVC
ContosoUniversity.DAL/SchoolDbContext2.cs
825
C#
using Chloe; using Chloe.Core; using Chloe.Descriptors; using Chloe.Infrastructure; using Chloe.SqlServer; using Chloe.Reflection; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using Chloe.SqlServer....
52.99187
207
0.59911
[ "MIT" ]
shuxinqin/Chloe
src/ChloeDemo/MsSqlDemo.cs
6,540
C#
// Copyright (c) 2015 - 2019 Doozy Entertainment. All Rights Reserved. // This code can only be used under the standard Unity Asset Store End User License Agreement // A Copy of the EULA APPENDIX 1 is available at http://unity3d.com/company/legal/as_terms using System; using UnityEngine; namespace Doozy.Editor { ...
34.727273
147
0.563482
[ "MIT" ]
Galaxyben/FixMeArmor
Assets/Doozy/Editor/GUI/Scripts/DGUI/Tab.cs
1,528
C#
using System.Collections.Generic; using System.Globalization; using System.IO; using System.IO.Compression; using System.Linq; using System.Text; using System.Xml; using System.Xml.Linq; using BlackOps2SoundStudio.Properties; #if BUILD_XML using System.IO; using System.Xml; using System.Linq; #endif #if BUILD_BO3 us...
32.081967
139
0.547266
[ "MIT" ]
master131/Black-Ops-II-Sound-Studio
Format/SndAliasNameDatabase.cs
3,916
C#
using System; using System.IO; using UnityEngine; public class KGFDocumentation : global::UnityEngine.MonoBehaviour { public void OpenDocumentation() { string text = global::UnityEngine.Application.dataPath; text = global::System.IO.Path.Combine(text, "kolmich"); text = global::System.IO.Path.Combine(text, "d...
32.368421
67
0.736585
[ "CC0-1.0" ]
FreyaFreed/mordheim
Assembly-CSharp/KGFDocumentation.cs
617
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace GeneratorUtils.Samples.Api { public class Startup { public Startup(IConfiguration configuratio...
28.754717
106
0.653543
[ "MIT" ]
KuraiAndras/GeneratorUtils
samples/GeneratorUtils.Samples.Api/Startup.cs
1,526
C#
/****************************************************************************** * Spine Runtimes License Agreement * Last updated May 1, 2019. Replaces all prior versions. * * Copyright (c) 2013-2019, Esoteric Software LLC * * Integration of the Spine Runtimes into software or otherwise creating * derivative wor...
42.903169
438
0.730395
[ "MIT" ]
daonq/unity_game
Assets/Spine/Runtime/spine-unity/Modules/AttachmentTools/AttachmentTools.cs
48,738
C#
using Marten.Services; using Marten.Testing.Documents; using Marten.Testing.Harness; using Xunit; namespace DocumentDbTests.Bugs { public class Bug_237_duplicate_indexing_Tests: BugIntegrationContext { [Fact] public void save() { StoreOptions(_ => { ...
21.615385
72
0.551601
[ "MIT" ]
Rob89/marten
src/DocumentDbTests/Bugs/Bug_237_duplicate_indexing_Tests.cs
562
C#
using System.Threading.Tasks; using Disqord.Gateway.Api; using Disqord.Gateway.Api.Models; namespace Disqord.Gateway.Default.Dispatcher { public class MessageReactionAddHandler : Handler<MessageReactionAddJsonModel, ReactionAddedEventArgs> { public override ValueTask<ReactionAddedEventArgs> Ha...
38.057143
176
0.60961
[ "MIT" ]
Neuheit/Diqnod
src/Disqord.Gateway/Default/Dispatcher/Dispatches/Reaction/MESSAGE_REACTION_ADD.cs
1,334
C#
using BPP.Core.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPP.Data.Seeds { class ProductSeed : IEntityTypeConfiguration<Product> ...
38.34375
131
0.597392
[ "MIT" ]
tunahanaydinoglu/BPPattern-Core5-API
BPP.Data/Seeds/ProductSeed.cs
1,232
C#
// This file is part of YamlDotNet - A .NET library for YAML. // Copyright (c) Antoine Aubry and contributors // 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, in...
30.254446
163
0.540423
[ "BSD-2-Clause" ]
ostadnik/evdEn
Yaml/Helpers/Portability.cs
22,118
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace MacKay.Game { public class CelestialSatellite : CelestialObjects { [SerializeField] private bool isTidalLocked; [SerializeField] private GameObject parentCelestailObject; } }
22
54
0.717532
[ "MIT" ]
mikebmac/VR-Local-Solar-System-for-Master-s-Thesis
Scripts/Runtime/Objects/CelestialSatellite.cs
308
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Duende.IdentityServer.Events; using Duende.IdentityServer.Extensions; using Duende.IdentityServer.Models; using Duende.IdentityServer.Services; using Duende.IdentityServer.Validation; using IdentityModel; using Micros...
36.633188
225
0.627727
[ "Apache-2.0" ]
onassisb/microservices-dotnet6
GeekShooping/Duente/Pages/Consent/Index.cshtml.cs
8,389
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace WikiHeroApp.iOS { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // if you want to use a different ...
23
91
0.63354
[ "MIT" ]
RafaelFernandez0512/WikiHeroApp
WikiHeroApp/WikiHeroApp.iOS/Main.cs
485
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyAttackRanged : FSMState, IGameEntity { [SerializeField] [Range(0f, 2f)] private float minReactionTime = 1f; [SerializeField] [Range(0f, 5f)] private float maxReactionTime = 2f; [SerializeField] private EnemyFlee...
19.68932
100
0.733235
[ "MIT" ]
Bobbsify/Blade-Dancer
Assets/Scripts/AI/Mobs/EnemyAttackRanged.cs
2,030
C#
/* © Siemens AG, 2017-2018 Author: Dr. Martin Bischoff (martin.bischoff@siemens.com) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at <http://www.apache.org/licenses/LICENSE-2.0>. Unless required by...
26.842105
78
0.622549
[ "Apache-2.0" ]
forbiddenname/ros-sharp
Libraries/RosBridgeClient/Protocols/WebSocketSharpProtocol.cs
2,043
C#
using System; using System.Collections.Generic; using System.Text; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using umbraco.BusinessLogic; using umbraco.editorControls; namespace umbraco.editorControls.relatedlinks { ...
29.394231
171
0.561662
[ "MIT" ]
Abhith/Umbraco-CMS
src/umbraco.editorControls/relatedlinks/RelatedLinksPrevalueEditor.cs
3,059
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 ...
47.7
169
0.708595
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.VMMigration.V1/Google.Cloud.VMMigration.V1.GeneratedSnippets/VmMigrationClient.DeleteUtilizationReportResourceNamesAsyncSnippet.g.cs
2,862
C#
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using WebApi.Entities; namespace WebApi.Helpers { public class DataContext : DbContext { protected readonly IConfiguration Configuration; public DataContext(IConfiguration configuration) { Config...
27.666667
102
0.679217
[ "MIT" ]
cornflourblue/dotnet-5-crud-api
Helpers/DataContext.cs
664
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Amazon.EC2.Model; namespace CloudStudio.SharedLibrary.Services.AWSServices { /// <summary> /// Response for detaching volumes from instances. /// </summary> public class DetachVol...
19.736842
58
0.712
[ "Apache-2.0" ]
jzonthemtn/cloud-studio
Cloud Studio Shared Library/Services/AWSServices/DetachVolumeResponse.cs
377
C#
namespace Microsoft.TemplateEngine.Core.UnitTests { public class EncodingTests { } }
14.857143
51
0.663462
[ "MIT" ]
ChadNedzlek/templating
test/Microsoft.TemplateEngine.Core.UnitTests/EncodingTests.cs
100
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace IdentitySample.Models { [Table("Multa")] public class Multa { [Key] [Display(Name = "Código")] ...
31.560976
105
0.636012
[ "MIT" ]
RodrigoErnandes/TCC
IdentitySample/Models/Multa.cs
1,304
C#
using HITUOISR.Toolkit.PluginBase; using System; namespace HITUOISR.Toolkit.SimpleHost.PluginTools { /// <summary> /// 插件构造器。 /// </summary> public interface IPluginBuilder { /// <summary> /// 添加插件搜索模式。 /// </summary> /// <param name="pattern">插件搜索模式。</param> ...
25.513514
75
0.549788
[ "MIT" ]
HIT-UOI-SR/HITUOISR.Toolkit
HITUOISR.Toolkit.SimpleHost/src/PluginTools/IPluginBuilder.cs
1,098
C#
using UnityEngine; using System.Collections; public class Car : MonoBehaviour, ICar { public WheelCollider[] wheelColliders; public Transform[] wheelMeshes; public float maxTorque = 50f; public float maxSpeed = 10f; public Transform centrOfMass; public float requestTorque = 0f; public float requestBrake = ...
17.828179
93
0.69121
[ "BSD-3-Clause" ]
helios57/sdsandbox
sdsim/Assets/Scripts/Car.cs
5,188
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.10 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead....
53.114943
363
0.7533
[ "MIT" ]
4dpocket/Unitytest1
DesignLabs_Unity/Assets/HoloToolkit/Sharing/Scripts/SDK/DiscoveryClientListener.cs
4,621
C#
/* ==================================================================== Licensed to the Apache Software Foundation (ASF) Under one or more contributor license agreements. See the NOTICE file distributed with this work for Additional information regarding copyright ownership. The ASF licenses this fil...
32.394737
83
0.569456
[ "Apache-2.0" ]
sunshinele/npoi
main/HSSF/Record/HeaderRecord.cs
2,462
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Data.Xml.Dom { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ [global::Uno.NotImplemented] #endif public partial class XmlAttribute : global::Windows.Data.Xml.Dom.IXmlNode,global::Windows.Data.Xml...
38.255521
172
0.738765
[ "Apache-2.0" ]
nv-ksavaria/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Data.Xml.Dom/XmlAttribute.cs
12,127
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ManageNotification.Models { public class SearchHuyenEntity { public string Tinh_Id{ get; set; } } }
18.916667
43
0.682819
[ "Apache-2.0" ]
kakada/epihack-vn-notification
ManageNotification/ManageNotification/Models/SearchHuyenEntity.cs
229
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 Microsoft.EntityFrameworkCore.Diagnostics; using Xunit; namespace Microsoft.EntityFrameworkCore { public class SqlServerDatabaseFacadeTest { [Con...
37.06701
89
0.613823
[ "MIT" ]
CameronAavik/efcore
test/EFCore.SqlServer.Tests/SqlServerDatabaseFacadeTest.cs
7,191
C#
using System.Threading.Tasks; using NServiceBus; using NServiceBus.Persistence.ServiceFabric; [ServiceFabricSaga(CollectionName = "candidate-votes")] public class CandidateVotesSaga : Saga<CandidateVotesSaga.CandidateVoteData>, IAmStartedByMessages<VotePlaced>, IHandleMessages<CloseElectio...
31.096774
167
0.626037
[ "Apache-2.0" ]
Cogax/docs.particular.net
samples/azure/azure-service-fabric-routing/Core_7/CandidateVoteCount/CandidateVotesSaga.cs
1,869
C#
using System; using System.Globalization; namespace CacheManager.Core.Logging { #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member public static class LoggerExtensions { //// Critical public static void LogCritical(this ILogger logger, string message, pa...
33.295775
131
0.564404
[ "ECL-2.0", "Apache-2.0" ]
Arch/CacheManager
src/CacheManager.Core/Logging/LoggerExtensions.cs
9,458
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 ...
47.2
147
0.705508
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.AIPlatform.V1/Google.Cloud.AIPlatform.V1.GeneratedSnippets/MetadataServiceClient.DeleteArtifactResourceNamesAsyncSnippet.g.cs
2,832
C#
// Decompiled with JetBrains decompiler // Type: SynapseGaming.LightingSystem.Core.IPreferences // Assembly: SynapseGaming-SunBurn-Pro, Version=1.3.2.8, Culture=neutral, PublicKeyToken=c23c60523565dbfd // MVID: A5F03349-72AC-4BAA-AEEE-9AB9B77E0A39 // Assembly location: C:\Projects\BlackBox\StarDrive\SynapseGaming-...
36.782609
106
0.712766
[ "MIT" ]
UnGaucho/StarDrive
SynapseGaming-SunBurn-Pro/SynapseGaming/LightingSystem/Core/IPreferences.cs
848
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Formatters; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Redmanmale.TelegramToRss.DAL; namespace Redmanmale.TelegramToRss { public class Startup { p...
32.710526
109
0.678198
[ "MIT" ]
redmanmale/TelegramToRss
TelegramToRss/Startup.cs
1,245
C#
using System; using System.Runtime.InteropServices; namespace OBSMidiRemote.Lib.PureMidi.Data { [StructLayout(LayoutKind.Sequential)] internal struct MidiHeader { public IntPtr data; public int bufferLength; public int bytesRecorded; public int user; public int flag...
23.227273
58
0.655577
[ "Apache-2.0" ]
TechFactoryHU/OBSMidiRemote
OBSMidiRemote/Lib/PureMidi/Data/MidiHeader.cs
513
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BootShop_2019.Models.Services; using BootShop_2019.Models.ViewModels; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace BootProduct_2019.Controllers { public class ProductController : Co...
25.216216
87
0.482047
[ "MIT" ]
koninlord/BootShop-Web
BootShop_2019/Controllers/ProductController.cs
3,734
C#
namespace OnlyT.AnalogueClock { // ReSharper disable UnusedMember.Global using System; using System.ComponentModel; using System.Globalization; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using System.Windows.Media.E...
34.687011
495
0.550011
[ "MIT" ]
diagdave1/OnlyT-1
OnlyT.AnalogueClock/ClockControl.cs
22,167
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...
51.918367
249
0.591064
[ "MIT" ]
Agazoth/azure-powershell
src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.TypeConverter.cs
7,486
C#
// Copyright (c) Microsoft Corporation // 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 // // THIS CODE IS PROVIDED *...
32.113208
84
0.650999
[ "Apache-2.0" ]
Tchami/hbase-sdk-for-net
Microsoft.HBase.Client.Tests/Utilities/ContextSpecification.cs
1,704
C#
// SPDX-FileCopyrightText: 2021 smdn <smdn@smdn.jp> // SPDX-License-Identifier: MIT using System; using System.Buffers; using System.Runtime.CompilerServices; namespace Smdn.Formats; public static class Hexadecimal { private const string UpperCaseHexCharsInString = "0123456789ABCDEF"; private const string LowerCa...
36.970779
154
0.721437
[ "MIT" ]
smdn/Smdn.Fundamentals
src/Smdn.Fundamental.PrintableEncoding.Hexadecimal/Smdn.Formats/Hexadecimal.cs
11,387
C#
// Copyright 2015-2020 Serilog Contributors // // 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 required by applicable law o...
34.24
109
0.5919
[ "Apache-2.0" ]
vaibhavepatel/serilog-sinks-http
src/Serilog.Sinks.Http/Sinks/Http/Private/Durable/BookmarkFile.cs
2,570
C#
using System; using System.Collections.Generic; using System.Text; namespace System.Net.Http.Json { public sealed partial class JsonContent : System.Net.Http.HttpContent { protected override System.Threading.Tasks.Task SerializeToStreamAsync(System.IO.Stream stream, System.Net.TransportContext? contex...
33.416667
210
0.780549
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Net.Http.Json/ref/System.Net.Http.Json.netcoreapp.cs
403
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class size : MonoBehaviour { private ParticleSystem ps; public float hSliderValue = 1.0F; public Slider particle_size; void Start() { ps = GetComponent<ParticleSystem>(); } ...
19.137931
100
0.636036
[ "MIT" ]
Gonzo717/A-Random-Act-Generative-Graphics
Generative Graphics/Assets/scripts/size.cs
557
C#
namespace MovieCatalogAspNetCore.Data.Seeding { using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; public class ApplicationDbContextSeeder : ISeeder { public async Task S...
31.585366
119
0.565251
[ "MIT" ]
d1ma1/Movie-Catalog-AspNet-Core
Data/MovieCatalogAspNetCore.Data/Seeding/ApplicationDbContextSeeder.cs
1,297
C#
// Copyright 2017-2020 Elringus (Artyom Sovetnikov). All Rights Reserved. using System.Collections.Generic; using System.Linq; using UnityEditor; using UnityEditor.Experimental.GraphView; using UnityEditor.UIElements; using UnityEngine; using UnityEngine.UIElements; namespace Naninovel { /// <summary> /// Al...
39.225131
138
0.577549
[ "MIT" ]
BSK-Baesick/Partita
Assets/Naninovel/Editor/ScriptGraph/ScriptGraphView.cs
7,494
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PureCloudPlatform.Client.V2.Client; namespace PureClo...
32.800699
152
0.492485
[ "MIT" ]
MyPureCloud/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/UserState.cs
9,381
C#
using System.Linq; namespace RayCarrot.RCP.Metro { /// <summary> /// View model for a file extension selection dialog /// </summary> public class FileExtensionSelectionDialogViewModel : UserInputViewModel { /// <summary> /// Default constructor /// </summary> /// <p...
29.341463
89
0.571904
[ "MIT" ]
RayCarrot/RayCarrot.RCP.Metro
src/RayCarrot.RCP.Metro/UI/Dialogs/FileExtensionSelection/FileExtensionSelectionDialogViewModel.cs
1,205
C#
namespace BreakPoint.Models.ViewModels.ManageViewModels { public class TwoFactorAuthenticationViewModel { public bool HasAuthenticator { get; set; } public int RecoveryCodesLeft { get; set; } public bool Is2faEnabled { get; set; } } }
22.833333
56
0.678832
[ "MIT" ]
StoychoMihaylov/BreakPoint_APS.NET_Core_MVC
BreakPoint.Models/ViewModels/ManageViewModels/TwoFactorAuthenticationViewModel.cs
276
C#
// Copyright © 2010 onwards, Andrew Whewell // All rights reserved. // // Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright notice, th...
46.878378
750
0.662871
[ "BSD-3-Clause" ]
AlexAX135/vrs
Test/Test.VirtualRadar.Library/Presenter/DownloadDataPresenterTests.cs
6,941
C#
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using RestSharp; namespace PillowSharp.Helper { public static class MimeMapping { private static Dictionary<string,string> mappings = new Dictionary<string,string> (); static MimeMapping() ...
60.427419
115
0.526313
[ "Apache-2.0" ]
Dev-Owl/pillowsharp
src/libary/Helper/MimeMapping.cs
22,479
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FoundationColumn : Column { [SerializeField] private Card.CardSuit suit = Card.CardSuit.SPADES; public override bool CanAddTo(Card card) { if (_cards.Count <= 0 && card.Suit == suit && card.Rank == Card.Car...
22.25
85
0.588015
[ "MIT" ]
Nova-Victoriae/Chet-and-Josh-Play-Solitaire
Chet and Josh Play Solitaire/Assets/Scripts/FoundationColumn.cs
534
C#
using System; using System.Globalization; using Newtonsoft.Json.Linq; using Ripple.Core.Binary; namespace Ripple.Core.Types { public abstract class Uint<T> : ISerializedType where T: struct, IConvertible { public readonly T Value; protected Uint(T value) { Value = value; ...
25.64
81
0.630265
[ "ISC" ]
CASL-AE/ripple-netcore
src/Ripple.Core/Types/Uint.cs
641
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using HProject.Application; using HProject.Infrastructure; using Microsoft.AspNet.Identity; using HProject.Domain; using System.Security.Principal; namespace HProject.Controllers { public class HomeControlle...
24.207547
93
0.587685
[ "MIT" ]
airfoot/HProject
HProject/Controllers/HomeController.cs
1,285
C#
using System.Collections; using DCL; using DCL.Helpers; using NUnit.Framework; using UnityEngine.TestTools; public class WithPbrMaterial_SceneMetricsCounterShould : IntegrationTestSuite_SceneMetricsCounter { [UnityTest] public IEnumerator NotCountWhenAttachedToIgnoredEntities() { var material = Cr...
33.026316
97
0.684861
[ "Apache-2.0" ]
CarlosPolygonalMind/unity-renderer
unity-renderer/Assets/Scripts/MainScripts/DCL/WorldRuntime/Tests/WithPbrMaterial_SceneMetricsCounterShould.cs
2,512
C#
using System; using System.Collections.Generic; using System.Linq; using RimWorld; using AbilityUser; using Verse; using UnityEngine; namespace TorannMagic { public class Verb_CureDisease : Verb_UseAbility { private int verVal; private int pwrVal; private float arcaneDmg = 1f; ...
54.697436
188
0.379617
[ "BSD-3-Clause" ]
Sn1p3rr3c0n/RWoM
RimWorldOfMagic/RimWorldOfMagic/Verb_CureDisease.cs
10,668
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
84
1,358
0.757228
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/POII_MT000001UK01PertinentInformation6TemplateIdExtension.cs
2,352
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. namespace Microsoft.Bing.Commerce.Connectors.Core.Serializers { using System.Collections.Generic; using Microsoft.Bing.Commerce.Connectors.Core.Config; /// <summary> /// A utility to serialize the batch of records in ...
44.384615
158
0.633276
[ "MIT" ]
microsoft/bing-commerce-connectors
src/Core/Serializers/FormatSerializer.cs
2,887
C#
 namespace GMap.NET.MapProviders { using System; using GMap.NET.Projections; using System.Security.Cryptography; using System.Diagnostics; using System.Net; using System.IO; using System.Text.RegularExpressions; using System.Threading; using GMap.NET.Internals; using System.Coll...
49.039206
2,873
0.385827
[ "MIT" ]
azprofe/marianMaps
mapas/lib/GMap.NET.Core/GMap.NET.MapProviders/Google/GoogleMapProvider.cs
103,834
C#
using Microsoft.Data.SqlClient; public class TestBase : IDisposable { public TestBase() { SqlConnection = Connection.OpenConnection(); } public SqlConnection SqlConnection; public virtual void Dispose() { SqlConnection?.Dispose(); } }
15.944444
52
0.641115
[ "MIT" ]
NServiceBusExtensions/NServiceBus.SqlNative
src/SqlServer.Native.Tests/TestHelpers/TestBase.cs
289
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum AnimTriggers { Idle, Happy, Angry, Sit}; public class PikachuController : MonoBehaviour { [SerializeField] private Animator m_PikachuAnimator; [SerializeField] private PikachuFacialExpressionController m_Pikach...
36.648649
88
0.774336
[ "MIT" ]
hferoze/Unity-Projects
Pikachu/Assets/Scripts/PikachuController.cs
1,358
C#
#pragma checksum "D:\Kurslar\ASP.NET_MVC_CORE\FullStackDotNetCore-Lessons\DbFirst\DbFirst\Views\Home\Privacy.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d8ddb6bffa5a9b264bf8f89038bf03c234083fd3" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompile...
45.4875
201
0.730146
[ "MIT" ]
firatalcin/CSharp-.NetCore-Works
FullStackDotNetCore-Lessons/DbFirst/DbFirst/obj/Debug/net5.0/Razor/Views/Home/Privacy.cshtml.g.cs
3,639
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 CAIArachasDEBUGLogic : CAIMon...
32.565217
132
0.751669
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/CAIArachasDEBUGLogic.cs
749
C#
 using UnityEngine; [RequireComponent(typeof(BoxCollider2D))] public class logic_swipe : MonoBehaviour { // Settings public float minSwipeMovement; private Vector2 swipeStartPos = Vector2.zero; private BoxCollider2D _collison; private Camera _camera; private float tapCD; public void Awa...
29.580645
103
0.537077
[ "Apache-2.0" ]
edunad/tempus
Assets/Scripts/Entities/logic_swipe.cs
1,836
C#
using System; using Avalonia.Controls; using Avalonia.Controls.Primitives; using Avalonia.Controls.Shapes; using Avalonia.Styling; using DataBox.Primitives; namespace DataBox; public class DataBoxRow : ListBoxItem, IStyleable { private Rectangle? _bottomGridLine; Type IStyleable.StyleKey => typeof(DataBoxRow...
27.185185
88
0.650545
[ "MIT" ]
wieslawsoltes/CellPanelDemo
src/DataBox/DataBoxRow.cs
1,468
C#
using System; using System.Collections.Generic; using static DR.Networking.Configuration; namespace DR.Networking.Core.Extensions { internal static class List { /// <summary> /// Find an uri in the SiteSpecific list. /// </summary> /// <param name="list">List containing the si...
32.270833
117
0.511298
[ "Apache-2.0" ]
DatReki/DR.Networking
DR.Networking/Core/Extensions/List.cs
1,551
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...
26.025
105
0.585495
[ "Apache-2.0" ]
damianh/aws-sdk-net
sdk/src/Services/AppSync/Generated/AmazonAppSyncConfig.cs
2,082
C#
#if !NETSTANDARD13 /* * 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 ...
33.075
110
0.66969
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Rekognition/Generated/Model/_bcl45+netstandard/IListCollectionsPaginator.cs
1,323
C#
// *************************************************************************** // This is free and unencumbered software released into the public domain. // // Anyone is free to copy, modify, publish, use, compile, sell, or // distribute this software, either in source code form or as a compiled // binary, for any pu...
37.776119
90
0.697748
[ "Unlicense" ]
UnterrainerInformatik/Nexus
NexusClient/NexusClient/Nexus/Apis/HanderTargetApi.cs
2,533
C#
using System; using System.Collections.Generic; using System.IO; using System.Runtime.Serialization; using System.ServiceModel.Channels; using System.Xml; using System.Xml.Serialization; namespace SoapCore { public class ServiceBodyWriter : BodyWriter { private readonly SoapSerializer _serializer; private reado...
30.617021
197
0.695969
[ "MIT" ]
gktech/SoapCore
src/SoapCore/ServiceBodyWriter.cs
2,880
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...
29.721649
107
0.610128
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/SageMaker/Generated/Model/DesiredWeightAndCapacity.cs
2,883
C#
#if REACTIVE_VARIABLE_RX_ENABLED using UniRx; #endif using System; using UnityEngine.Assertions; // ReSharper disable once CheckNamespace namespace STRV.Variables { /// Generic base variable reference that all other variable references inherit /// Can (should) only be used for getting values, not setting them...
25.728395
109
0.485125
[ "MIT" ]
strvcom/rxscriptablevariables-unity
Source/Variables/Reference.cs
2,086
C#
using NUnit.Framework; using Swagger.Net.Dummy.Controllers; using System.Linq; namespace Swagger.Net.Tests.Swagger { [TestFixture] public class SchemaTestsWithCustomAuthorizeAttribute : SwaggerTestBase { public SchemaTestsWithCustomAuthorizeAttribute() : base("swagger/docs/{apiVersion}") {} ...
29.53125
95
0.646561
[ "BSD-3-Clause" ]
SiCoe/Swagger-Net
Tests/Swagger.Net.Tests/Swagger/SchemaTestsWithCustomAuthorizeAttribute.cs
947
C#