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
// Copyright (c) 2021 Maxim Kuzmin. All rights reserved. Licensed under the MIT License. using Makc2021.Layer3.Sample.Entities.UserRole; using Makc2021.Layer3.Sample.Mappers.EF.Entities.Role; using Makc2021.Layer3.Sample.Mappers.EF.Entities.User; namespace Makc2021.Layer3.Sample.Mappers.EF.Entities.UserRole { //...
29.172414
89
0.666667
[ "MIT" ]
maxim-kuzmin/Makc2021
server/src/Makc2021.Layer3.Sample.Mappers.EF/Entities/UserRole/MapperUserRoleEntityObject.cs
903
C#
 namespace OzgeErsu.Models { public class Video { public string id { get; set; } public string priority { get; set; } public string video { get; set; } public string splash { get; set; } public string link { get; set; } public string active { ...
18.052632
45
0.51895
[ "MIT" ]
onurcelikeng/OzgeErsu
OzgeErsu/Models/Video.cs
345
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...
36.726316
155
0.657782
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/APIGateway/Generated/Model/Internal/MarshallTransformations/GetRequestValidatorsRequestMarshaller.cs
3,489
C#
// RetrieveMetadataChangesRequest.cs // using System; using System.Collections.Generic; using Xrm.Sdk.Metadata.Query; namespace Xrm.Sdk.Messages { public class RetrieveMetadataChangesRequest : OrganizationRequest { // Summary: // Gets or sets a timestamp value representing when the la...
35.42623
130
0.598797
[ "MIT" ]
jatinrai06/sparkle
SparkleXrmSource/SparkleXrm/Sdk/Messages/RetrieveMetadataChangesRequest.cs
2,161
C#
namespace Emarketing.Authorization.Accounts.Dto { public enum TenantAvailabilityState { Available = 1, InActive, NotFound } }
16.3
48
0.625767
[ "MIT" ]
farazahmed879/Emarketing
aspnet-core/src/Emarketing.Application/Authorization/Accounts/Dto/TenantAvailabilityState.cs
165
C#
namespace StudentSystem.Services.Models.Web.Students { using System; using System.Runtime.Serialization; [DataContract] public class StudentRequestModel { [DataMember] public string FirstName { get; set; } [DataMember] public string LastName { get; set; } ...
21.619048
53
0.612335
[ "MIT" ]
itplamen/StudentSystem
StudentSystem/Services/StudentSystem.Services.Models.Web/Students/StudentRequestModel.cs
456
C#
// // KinoFog - Deferred fog effect // // Copyright (C) 2015 Keijiro Takahashi // // 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 rig...
34.84127
83
0.581321
[ "Unlicense" ]
Marwan0/KvantGrass
Assets/Kino/Fog/Fog.cs
6,587
C#
/* CloudGenix Controller SDK (c) 2018 CloudGenix, Inc. All Rights Reserved https://www.cloudgenix.com This SDK is released under the MIT license. For support, please contact us on: NetworkToCode Slack channel #cloudgenix: http://slack.networktocode.com Email: developers@clou...
43.296636
3,631
0.623111
[ "MIT" ]
CloudGenix/sdk-csharp
CloudGenixSdk/Classes/FlowResponse.cs
14,160
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //------------------------------------------------------------------------------ using System; using System.Data....
25.973684
130
0.525498
[ "MIT" ]
2E0PGS/corefx
src/System.Data.SqlClient/src/Microsoft/SqlServer/Server/SmiSettersStream.cs
2,961
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("Pr...
37.648649
84
0.743001
[ "MIT" ]
jasarsoft/examples
cs/jlp4/Poglavlje 21/Primjer 01/Properties/AssemblyInfo.cs
1,396
C#
// <copyright file="TranscriptionToHtml.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE.md file in the project root for full license information. // </copyright> namespace Connector { using System; using System.Lin...
54.573034
397
0.554457
[ "MIT" ]
ArcherAZ/cognitive-services-speech-sdk
samples/ingestion/ingestion-client/Connector/TranscriptionToHtml.cs
4,857
C#
#region License // Distributed under the BSD License // ================================= // // Copyright (c) 2010, Hadi Hariri // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redist...
38.207048
123
0.629886
[ "BSD-3-Clause" ]
ChrisMcKee/EasyHttp
src/EasyHttp/Http/HttpResponse.cs
8,675
C#
using System; using System.Collections.Generic; using System.Text; namespace StronglyTypedIds { internal static class SourceGenerationHelper { public static string CreateId( string idNamespace, string idName, ParentClass? parentClass, StronglyTypedIdConve...
33.765
146
0.558567
[ "MIT" ]
Khitiara/StronglyTypedId
src/StronglyTypedIds/SourceGenerationHelper.cs
6,753
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 Time_Sheet_Buddy.Data; namespace...
37.415816
125
0.463489
[ "MIT" ]
kostadinmarkov99/Time_Sheet_Buddy
Time_Sheet_Buddy/Migrations/20210812204006_List instead of IEnumerable of the Issues in the Backlog.Designer.cs
14,669
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Runtime.InteropServices; internal static partial class Interop { internal static uns...
47.486301
188
0.632338
[ "MIT" ]
85331479/coreclr
src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Globalization.cs
6,933
C#
using System; using System.IO; using System.Text; using Itage.MimeHtml2Html; using McMaster.Extensions.CommandLineUtils; using Microsoft.Extensions.Logging; namespace Mime2Html { internal class Program { [Argument(0)] private string Source { get; } = null!; private static void Main(string[] ar...
36.825
122
0.622539
[ "MIT" ]
itage-biz/MimeHtml2Html
src/Mime2Html/Program.cs
1,475
C#
// Copyright (c) 2018 Siegfried Pammer // // 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, modify, merge, // pub...
31.478571
193
0.700749
[ "MIT" ]
CreateAndInject/ILSpy
ICSharpCode.Decompiler/Metadata/UniversalAssemblyResolver.cs
22,037
C#
// ************************************************************************ // // * Copyright 2017 OSIsoft, 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 // * // * <http://ww...
32.333333
77
0.592315
[ "Apache-2.0" ]
jdryden-osi/PI-Web-API-Client-VBA
src/PIWebApiWrapper/PIWebApiWrapper/Client/ExtensionMethods.cs
1,069
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("06...
38.405405
84
0.748065
[ "MIT" ]
vassildinev/Data-Structures-and-Algorithms
02.LinearDataStructuresHomework/06.RemoveNumbersOddCount/Properties/AssemblyInfo.cs
1,424
C#
//#define SHOW_TDP_SETTINGS using System; using System.Diagnostics; using System.Drawing; using System.Globalization; using System.Linq; using System.Threading; using System.Windows.Forms; using Logger = NHM.Common.Logger; using NHMCore; using NHMCore.Configs; using NHMCore.Interfaces.DataVisualizer; using NHMCore.Mi...
43.286479
356
0.606216
[ "MIT" ]
hichamnimz80/NiceHashMiner
src/NiceHashMiner/Forms/Form_Main.cs
32,335
C#
using System; using System.Collections.Generic; using System.Windows.Forms; using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Messages; using Microsoft.Xrm.Sdk.Metadata; using XrmToolBox.Extensibility; using XrmToolBox.Extensibility.Interfaces; namespace DLaB.XrmToolBoxCommon { public partial class DialogBase : Fo...
32.224299
144
0.612529
[ "MIT" ]
Bhawk90/DLaB.Xrm.XrmToolBoxTools
DLaB.XrmToolBoxCommon/DialogBase.cs
3,450
C#
using DiExtension.SimpleInject; using JohnLambe.Tests.JLUtilsTest; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Test.DiExtensionTest { [TestClass] public class ChainableContextT...
33.164286
181
0.597243
[ "MIT" ]
JohnLambe/JLCSUtils
JLCSUtils/DiExtensionTest/ChainableContextTest.cs
4,645
C#
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. using System; using System.ComponentModel.Design; using System.Runtime.InteropServices; namespace Microsoft.VisualStudio.FSharp.ProjectSystem { internal sealed class VSProjectConstants ...
76.903226
214
0.794883
[ "MIT" ]
0x6a62/fsharp
vsintegration/src/FSharp.ProjectSystem.Base/Project/VSProjectConstants.cs
2,384
C#
using System.Drawing; namespace MathematicalSetViewer { public class ImageLocation { public Bitmap image { get; set; } public XY BotLeft { get; set; } public XY TopRight { get; set; } public ImageLocation(/*XY bl, XY tr, */Bitmap img) { //this.BotLeft = bl;...
20.947368
58
0.525126
[ "MIT" ]
Noah-Jaffe/MathematicalSetViewer
ImageLocation.cs
400
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
41.137324
170
0.574168
[ "ECL-2.0", "Apache-2.0" ]
michael-golden/pulumi-aws
sdk/dotnet/AutoScaling/Schedule.cs
11,683
C#
using System; using System.Collections.Generic; namespace TorshiaWebApp.Models { public class Task { public Task() { this.TaskSectors = new HashSet<TaskSector>(); this.DueDate = DateTime.UtcNow; } public int Id { get; set; } public string Title ...
22.035714
72
0.585089
[ "MIT" ]
svetlimladenov/C-Sharp-Web-Development-Basics
10.Exam Preparation 2/SIS/src/TorshiaWebApp/Models/Task.cs
619
C#
private enum GateController.GateEnemyState // TypeDefIndex: 8059 { // Fields public int value__; // 0x0 public const GateController.GateEnemyState None = 0; public const GateController.GateEnemyState NotExist = 1; public const GateController.GateEnemyState Alive = 2; public const GateController.GateEnemyState Dea...
31.916667
64
0.793734
[ "MIT" ]
SinsofSloth/RF5-global-metadata
_no_namespace/GateController.GateEnemyState.cs
383
C#
namespace DatingApp.API.Dtos { public class UserForUpdateDto { public string Introduction { get; set; } public string LookingFor { get; set; } public string Interests { get; set; } public string City { get; set; } public string Country { get; set; } } }
20.6
48
0.595469
[ "MIT" ]
pavanbadempet/Dating-App
DatingApp.API/Dtos/UserForUpdateDto.cs
309
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Collections; using System.Threading.Tasks; using System.Windows.Forms; using AH.ModuleController.OPRMSSR; using AH.DUtility; namespace AH.ModuleCont...
48.457976
263
0.49377
[ "Apache-2.0" ]
atiq-shumon/DotNetProjects
Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/OPR/Forms/frmOTCalender.cs
56,504
C#
using System; using System.Collections.Generic; using System.Text; namespace Kata.CustomTypes.Gamependium { public abstract class GameBase { protected List<PieceSetBase> Sets { get; } protected IResetter Board { get; set; } public GameBase(IPlayerService playerService) { ...
23.580645
55
0.563611
[ "MIT" ]
contino/dotnet-training-course
Kata/CustomTypes/AdHoc/Gamependium/GameBase.cs
733
C#
using AConfig; using NeoCortexApi.Entities; using NeoCortexApi; using NeoCortexApi.Network; using NeoCortexApi.Utility; using Daenet.ImageBinarizerLib; using Daenet.ImageBinarizerLib.Entities; namespace ConsoleApp { internal class Experiment { HtmConfig htmConfig; ArgsConfig expConfig; ...
48.725552
230
0.564353
[ "Apache-2.0" ]
VeenaAlphonsa/neocortexapi-classification
ImageClassification/ImageClassification/Experiment.cs
15,448
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using NBitcoin; using Stratis.Bitcoin.Connection; using Stratis.Bitcoin.P2P.Peer; using Stratis.Bitcoin.Utilities; using Stratis.FederatedPeg.Features.FederationGateway.Interfaces; using...
39.236364
150
0.634847
[ "MIT" ]
quantumagi/FederatedSidechains
src/Stratis.FederatedPeg.Features.FederationGateway/TargetChain/PartialTransactionRequester.cs
4,318
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core.Testing; using NUnit.Framework; using System; using System.Collections.Generic; using System.Diagnostics; namespace Azure.AI.TextAnalytics.Samples { [LiveOnly] public partial class TextAnalyticsSa...
41.156627
150
0.565574
[ "MIT" ]
Kishp01/azure-sdk-for-net
sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatch.cs
3,418
C#
/* * Copyright (c) 2019-2021 Angouri. * AngouriMath is licensed under MIT. * Details: https://github.com/asc-community/AngouriMath/blob/master/LICENSE.md. * Website: https://am.angouri.org. */ using AngouriMath.Core; namespace AngouriMath { partial record Entity { partial record Number ...
28.52994
115
0.508868
[ "MIT" ]
Suchiman/AngouriMath
Sources/AngouriMath/Core/Domains.Classes.cs
9,531
C#
#region License // Copyright (c) 2007 James Newton-King // // 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, ...
34.142487
168
0.421732
[ "MIT" ]
2947721120/json
Src/Newtonsoft.Json/Linq/JsonPath/JPath.cs
26,358
C#
using System.Threading.Tasks; using Cosmos.Serialization.Toml.Nett; // ReSharper disable once CheckNamespace namespace Cosmos.Serialization.Toml { /// <summary> /// TomlDotNet extensions /// </summary> public static partial class Extensions { /// <summary> /// To Toml /// </...
25.823529
59
0.53303
[ "Apache-2.0" ]
alexinea/dotnet-static-pages
src/Cosmos.Serialization.Nett/Cosmos/Serialization/Toml/Extensions/Extensions.Nett.Object.cs
878
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...
26.2875
110
0.589158
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/WAFRegional/Generated/AmazonWAFRegionalConfig.cs
2,103
C#
using System.Reflection; using Unity.Entities; namespace EntitiesBT.Entities { [UpdateBefore(typeof(VirtualMachineSystem))] public class BehaviorTreeLifeCycleSystem : SystemBase { struct LastTargetComponent : ISystemStateComponentData { public Entity Target; public ...
43.837398
214
0.54822
[ "MIT" ]
r2d2m/EntitiesBT
Packages/essential/Runtime/Entities/BehaviorTreeLifeCycleSystem.cs
5,394
C#
namespace PrimeFuncPack; partial class Dependency<T1, T2, T3, T4, T5> { public Dependency<T1, T2, T3, T4, T5, T6> With<T6>( T6 sixth) => new( firstResolver, secondResolver, thirdResolver, fourthResolver, fifthResolver, ...
22.266667
55
0.511976
[ "MIT" ]
pfpack/early-dependency
src/dependency-core/Core/Dependency.05/With.06/With.06.cs
334
C#
using FatturaElettronica.FatturaElettronicaHeader.CedentePrestatore; using FatturaElettronica.Tabelle; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Tests { [TestClass] public class IscrizioneREAValidator : BaseClass<IscrizioneREA, FatturaElettronica.Validators.IscrizioneREAValidator>...
28.810345
88
0.60383
[ "BSD-3-Clause" ]
MassimoLinossi/FatturaElettronica.NET
Test/IscrizioneREAValidator.cs
1,673
C#
using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using YesSpa.Common.Configuration; namespace YesSpa.AspNetCore { public static class ApplicationBuilderExtensions { /// <summary> /// Use in Startup.Configure() to enable SPA routing. Use at the end of middleware chain. ...
31.473684
111
0.765886
[ "MIT" ]
mtebenev/YesSpa
YesSpa.AspNetCore/ApplicationBuilderExtensions.cs
598
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class MainMenu : MonoBehaviour { public GameObject mainMenu; public GameObject optionsMenu; public GameObject creditsMenu; IEnumerator LoadingAsync(int index) { yield r...
20.966102
70
0.623282
[ "MIT" ]
JoanStark/GlobalGameJam-2021
GlobalGameJam2021/Assets/Scripts/Menu/MainMenu.cs
1,239
C#
using System; using System.Web.Hosting; using CurrencyChart.Server; using CurrencyChart.Server.Hubs; using CurrencyChart.Server.Services; using LiteDB; using Microsoft.AspNet.SignalR; using Microsoft.Owin; using Microsoft.Owin.Cors; using Microsoft.Owin.FileSystems; using Microsoft.Owin.Hosting; using Microsoft.Owin.St...
34.175676
105
0.599051
[ "MIT" ]
alldevic/CurrencyChart
CurrencyChart.Server/Startup.cs
2,529
C#
//MIT, 2015-2017, WinterDev using System; using System.Runtime.InteropServices; namespace LayoutFarm.CefBridge { public enum CefBwCallMsg { //custom msg CefBw_MyCef_EnableKeyIntercept = 11, CefBw_SetSize = 25, CefBw_PostData = 27, CefBw_CloseBw = 28, CefBw_GetM...
34.428571
118
0.567816
[ "BSD-3-Clause" ]
prepare/CefBridge
CefBridge/Cef3Binder_Auto.cs
7,714
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Travelling.OpenApiEntity.Ctrip.Hotel.Module; namespace Travelling.OpenApiEntity.Ctrip.Hotel { [Serializable] public class OTA_HotelCacheChangeReturnEntity:CtripBaseAPIReturnEntity { private List<HotelCacheC...
24.066667
91
0.605263
[ "MIT" ]
binlyzhuo/travel
src/Travelling.OpenApiEntity/Ctrip/Hotel/OTA_HotelCacheChangeReturnEntity.cs
738
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...
27.903226
82
0.680925
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/DataBoxEdge/V20210201Preview/Outputs/AuthenticationResponse.cs
865
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Effekseer.Utl; namespace Effekseer.Binary { class GenerationLocationValues { public static byte[] GetBytes(Data.GenerationLocationValues value, Data.ParentEffectType parentEffectType, SortedDictionary<string, int> model_an...
31.852713
245
0.663665
[ "Apache-2.0", "BSD-3-Clause" ]
Shockblast/Effekseer
Dev/Editor/EffekseerCore/Binary/GenerationLocationValues.cs
4,111
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/ProcessSnapshot.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System...
43.451613
145
0.751299
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/ProcessSnapshot/PSS_HANDLE_FLAGS.cs
1,349
C#
using System.Collections.Generic; namespace Trowel.Common.Shell.Settings { /// <summary> /// Represents a class that holds settings /// </summary> public interface ISettingsContainer { /// <summary> /// The unique name of the settings container /// </summary> string...
32.628571
75
0.595447
[ "BSD-3-Clause" ]
mattiascibien/trowel
Trowel.Common/Shell/Settings/ISettingsContainer.cs
1,144
C#
// Project: Daggerfall Tools For Unity // Copyright: Copyright (C) 2009-2020 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 // Original...
37.945035
143
0.568431
[ "MIT" ]
Aelthien/daggerfall-unity
Assets/Scripts/Game/Player/PlayerHeightChanger.cs
21,401
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team // // 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, m...
29.952459
213
0.762903
[ "MIT" ]
BMBH/ILSpy
ICSharpCode.Decompiler.Tests/PrettyTestRunner.cs
18,273
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace Grid___WPF { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { ...
18
42
0.703704
[ "MIT" ]
TruyenLam/C-WPF
Grid___WPF/Grid___WPF/App.xaml.cs
326
C#
namespace Ucrs.Data.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Ucrs.Common; using Ucrs.Data.Common.Models; public class Course : BaseDeletableModel<int> { public Course() { this.ApplicationUsersInCourses = new Hash...
27.37037
97
0.67253
[ "MIT" ]
YanaSlavcheva/UcrsApp
Data/Ucrs.Data.Models/Course.cs
741
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // ------------------------------------------------------------...
48.272
288
0.696387
[ "MIT" ]
ardavanhashemzadeh/fhir-server
src/Microsoft.Health.Fhir.Core/Extensions/FhirMediatorExtensions.cs
6,034
C#
using System.Linq; using Mindscape.Raygun4Net.Storage; using NUnit.Framework; namespace Mindscape.Raygun4Net.Tests.Storage { [TestFixture] public class RaygunOfflineStorageTests { private IRaygunOfflineStorage _storageOne; private IRaygunOfflineStorage _storageTwo; private const string TestApiKey = ...
30.714286
88
0.687563
[ "MIT" ]
Havunen/raygun4net
Mindscape.Raygun4Net.Tests/Storage/RaygunOfflineStorageTests.cs
4,945
C#
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers * for more information concerning the license and the contributors participating to this project. */ using System.Security.Claims; using System.T...
34.183673
101
0.673433
[ "Apache-2.0" ]
couven92/AspNet.Security.OAuth.Providers
test/AspNet.Security.OAuth.Providers.Tests/EVEOnline/EVEOnlineTests.cs
1,677
C#
using Dotnet9.Application.Contracts.Blogs; namespace Dotnet9.Web.ViewModels.Blogs; public class BlogPostListViewModel { public string Name { get; set; } = null!; public List<BlogPostBriefDto>? Items { get; set; } }
25
54
0.737778
[ "MIT" ]
dotnet9/Dotnet9
src/Dotnet9.Web/ViewModels/Blogs/BlogPostListViewModel.cs
227
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("Fi...
37.861111
84
0.749817
[ "Apache-2.0" ]
463-archaic-codebase/Fire-Alarm-System
FireAlarmSystem/FireAlarmSystem/Properties/AssemblyInfo.cs
1,366
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace ContosoPizza { public class Program { public s...
25.703704
70
0.645533
[ "MIT" ]
WashinRibeiro/ContosoPizza
Program.cs
694
C#
namespace HotChocolate.ApolloFederation; internal static class WellKnownArgumentNames { public const string Fields = "fields"; public const string Representations = "representations"; }
24.375
60
0.789744
[ "MIT" ]
ScriptBox99/hotchocolate
src/HotChocolate/ApolloFederation/src/ApolloFederation/WellKnownArgumentNames.cs
195
C#
using Logic; using System.ComponentModel; using System.Runtime.CompilerServices; namespace Model { //This class copes with visual representation of spheres. public class PresentationSphere: ISphere { //Meant for string representation of color we pick. public string Color { get; set; } ...
27.741379
99
0.53325
[ "Apache-2.0" ]
KacperKuchciak/Prog_Wspolbiezne_2022
GeneralSolution/Model/PresentationSphere.cs
1,611
C#
using System; using System.Collections.Generic; using System.Text; using UniversalProcessor.SDD.Common; namespace UniversalProcessor.SDD.IT { public class SDDUrl : SDDDataViewDefinition { public readonly static Guid UrlIdentifier = new Guid("e737eea1-9198-44e9-8f02-5e020fe9a916"); private con...
46.26
130
0.671422
[ "MIT" ]
Jones-Adam/UniversalProcessor
UniversalProcessor/SDD.IT/SDDUrl.cs
2,315
C#
using System.Threading.Tasks; using Daniel15.SimpleIdentity; using Daniel15.Web.ViewModels.Account; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; namespace Daniel15.Web.Controllers { /// <summary> /// Handles logging in and out /// </summary> [Route("account")] public partial class AccountC...
27.578947
136
0.69895
[ "MIT", "Unlicense" ]
DLN-India/Website
Daniel15.Web/Controllers/AccountController.cs
2,096
C#
namespace RP_Server_Scripts.Network { public interface IScriptMessageHandlerSelector { bool TryGetMessageHandler(RP_Shared_Script.ScriptMessages message, out IScriptMessageHandler handler); } }
26.875
110
0.786047
[ "BSD-2-Clause" ]
JulianVo/SumpfkrautOnline-Khorinis
RP_Server_Scripts/Network/IScriptMessageHandlerSelector.cs
217
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Autodesk.DesignScript.Interfaces; using System.Collections; using Autodesk.DesignScript.Geometry; namespace DSGeometry { /* class MeshTopologyEntity : ITopologyEntity, IBRepEntity { private ISu...
24.981707
82
0.492067
[ "Apache-2.0" ]
DynamoDS/designscript-archive
Libraries/DSGeometry/MeshEntity.cs
4,099
C#
using System; using Content.Server.Cloning; using Content.Server.Mind.Components; using Content.Server.Power.Components; using Content.Server.Preferences.Managers; using Content.Server.UserInterface; using Content.Shared.ActionBlocker; using Content.Shared.Acts; using Content.Shared.Damage; using Content.Shared.DragDro...
34.289683
136
0.582456
[ "MIT" ]
Day-OS/space-station-14
Content.Server/Medical/Components/MedicalScannerComponent.cs
8,641
C#
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /* ReadRecordCommand.cs -- * Ars Magna project, http://arsmagna.ru * ------------------------------------------------------- * Status: poor */ #region Us...
28.5
84
0.46727
[ "MIT" ]
amironov73/ManagedClient.45
Source/Classic/Libs/ManagedIrbis/Source/Server/Commands/ReadRecordCommand.cs
5,469
C#
using System.Threading.Tasks; namespace KartURL.Common { public interface IFileDialog { Task<string> ShowAsync(); } }
15.444444
33
0.661871
[ "MIT" ]
QuantumToasted/KartURL
Common/IFileDialog.cs
141
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using JetBrains.Annotations; using Microsoft.EntityFramew...
48.8
160
0.651639
[ "Apache-2.0" ]
CygnusBill/EntityFrameworkCore
src/EFCore/Update/UpdateEntryExtensions.cs
2,196
C#
using System; using System.Data.Common; using System.Diagnostics; using System.Net; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; namespace PlatformRacing3.Common.Server { public class ServerDetails : IXmlSerializable { public uint Id { get; } public strin...
30.023256
174
0.59024
[ "MIT" ]
CoralCOasa/PlatformRacing3
PlatformRacing3.Common/Server/ServerDetails.cs
2,584
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 ...
56.031211
218
0.556999
[ "Apache-2.0" ]
ScriptBox99/google-api-dotnet-client
Src/Generated/Google.Apis.CertificateAuthorityService.v1/Google.Apis.CertificateAuthorityService.v1.cs
317,753
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006-2019, All rights reserved. // The software and associated documentation supplied hereunder are the // propri...
41.909836
157
0.624291
[ "BSD-3-Clause" ]
Smurf-IV/Krypton-Toolkit-Suite-NET-Core
Source/Krypton Components/ComponentFactory.Krypton.Ribbon/Palette/RibbonRecentDocsEntryToContent.cs
5,116
C#
// Licensed to the .NET Foundation under one or more agreements. // See the LICENSE file in the project root for more information. // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documenta...
39.592953
176
0.540954
[ "MIT" ]
Mattlk13/corefx
src/System.Data.Common/tests/System/Data/DataSetReadXmlTest.cs
32,585
C#
using System.Windows.Media.Effects; namespace Paint.Effects { public class ReflectEffect : BlendEffect { static PixelShader pixelShader = new PixelShader(); static ReflectEffect() { pixelShader.UriSource = Resource(nameof(ReflectEffect)); } public ReflectEffect(...
19
68
0.618421
[ "BSD-2-Clause" ]
lwFace/Imagin.NET
Apps.Paint/Effects/Blend/ReflectEffect.cs
382
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Media.Playback { #if false || false || NET461 || __WASM__ || false [global::Uno.NotImplemented] #endif public partial class MediaPlaybackSession { #if __ANDROID__ || __IOS__ || NET461 || __WASM...
48.587209
233
0.787164
[ "Apache-2.0" ]
jabak/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Media.Playback/MediaPlaybackSession.cs
25,071
C#
using System.Collections; using System.Collections.Generic; using System.IO; using UnityEditor; using UnityEditor.Build.Reporting; using UnityEngine; namespace com.lenovo.thinkreality.ipd { public class BuildSlave { static string GAME_NAME = "ipdsetting"; static string VERSION = Application.ver...
38.75
118
0.630645
[ "MIT" ]
iwentao/UnityGitTemplate
Assets/Scripts/Editor/BuildSlave.cs
3,100
C#
// Copyright (c) 2012, Event Store LLP // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // Redistributions of source code must retain the above copyright notice, // this list of condi...
38.290323
138
0.637953
[ "BSD-3-Clause" ]
ianbattersby/EventStore
src/EventStore/EventStore.Core/TransactionLog/Chunks/TFChunkBulkReader.cs
4,748
C#
//[?] 컬렉션 이니셜라이저(C# 3.0 특징) using System; using System.Collections.Generic; class Choice { public int Id { get; set; } public string ChoiceText { get; set; } public bool IsAnswer { get; set; } } class CollectionInitializer { static void Main() { List<Choice> choices = new List<Choice>() {...
26
72
0.537088
[ "MIT" ]
VisualAcademy/DotNet
DotNet/DotNet/48_Generic/_/CollectionInitializer.cs
758
C#
using MicroflowModels; using System.Collections.Generic; using System.Linq; namespace MicroflowSDK { public static class StepsManager { public static void AddParentSteps(this Step step, params Step[] parents) { foreach (var parentStep in parents) { paren...
33.730159
185
0.573176
[ "MIT" ]
andre-maree/Microflow
MicroflowSDK/StepsManager.cs
2,127
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using DryIoc.UnitTests.CUT; using NUnit.Framework; using static FastExpressionCompiler.LightExpression.Expression; namespace DryIoc.UnitTests { [TestFixture] public class RulesTests { ...
33.032982
150
0.593674
[ "MIT" ]
0000duck/DryIoc
test/DryIoc.UnitTests/RulesTests.cs
25,039
C#
using System.IO; using System.IO.Compression; using Executorlibs.Bilibili.Protocol.Invokers; using Executorlibs.Bilibili.Protocol.Options; using Executorlibs.Bilibili.Protocol.Services; using Microsoft.Extensions.Options; namespace Executorlibs.Bilibili.Protocol.Clients { public class WsDanmakuClientV2 : WsDanmaku...
40.125
264
0.655096
[ "MIT" ]
Executor-Cheng/Executorlibs
src/Executorlibs.Bilibili.Protocol/Clients/WsDanmakuClientV2.cs
2,247
C#
using System.Collections; using UnityEngine; using System; namespace SilCilSystem.Variables { internal static class TweenVariablesExtensions { internal static IEnumerator Tween<T>(this Variable<T> variable, T start, T end, float time, Func<T, T, float, T> lerp, Func<float, float> curve) { ...
30.714286
152
0.573643
[ "MIT" ]
TeamAojilu/sukisukisukiman_u1w202012_akeru
Assets/SilCilSystem/Scripts/Variables/Utility/Tween/Base.cs
647
C#
using UnityEngine; using UnityEngine.Events; namespace DSC.Event.Helper { public class DSC_Event_RunEventsByEvent : MonoBehaviour { #region Variable #region Variable - Inspector #pragma warning disable 0649 [SerializeField] protected EventCondition[] m_arrCondition; [Serializ...
22.051948
70
0.594229
[ "MIT" ]
DeStiCap/DSC-Event
Scripts/Helper/RunEvent/DSC_Event_RunEventsByEvent.cs
1,700
C#
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT using System; using System.Drawing; using ClassicalSharp; using Launcher.Gui.Widgets; using OpenTK.Input; namespace Launcher.Gui.Screens { public abstract class Screen { protected internal LauncherWindow game; protected interna...
31.024752
110
0.64321
[ "BSD-3-Clause" ]
Andresian/ClassicalSharp
Launcher2/Gui/Screens/Screen.cs
6,068
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using UnityEngine; using XRTK.Attributes; using XRTK.Definitions.Utilities; using XRTK.Interfaces.Providers.Controllers; namespace XRTK.Definitions.In...
34.846154
155
0.654746
[ "MIT" ]
hridpath/XRTK-Core
XRTK-Core/Assets/XRTK/Definitions/InputSystem/ControllerDataProviderConfiguration.cs
2,267
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using DevGuild.AspNetCore.Services.Data.Relational; namespace DevGuild.AspNetCore.Services.EntitySequences { /// <summary> /// Default implementation of the service for entity...
39.192308
133
0.361057
[ "MIT" ]
DevGuildRu/libraries-aspnetcore
DevGuild.AspNetCore.Services.EntitySequences/EntitySequenceService.cs
12,230
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [asse...
41.216216
107
0.742295
[ "Apache-2.0" ]
dawmlight/vendor_oh_fun
hihope_neptune-oh_hid/00_src/v0.1/device/winnermicro/neptune/sdk_liteos/src/network/lwip2.0.3/apps/snmp/LwipMibCompiler/LwipMibViewer/Properties/AssemblyInfo.cs
1,543
C#
using FotoStorio.Shared.Models; namespace FotoStorio.Server.Contracts { public interface IProductRepository : IRepositoryBase<Product> { } }
17.222222
66
0.748387
[ "MIT" ]
DavidAJohn/FotoStorio
FotoStorio.Server/Contracts/IProductRepository.cs
157
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Globalization; using System.Thread...
32.269663
161
0.591342
[ "Apache-2.0" ]
AdamSpeight2008/roslyn-1
src/Compilers/CSharp/Portable/Symbols/Retargeting/RetargetingPropertySymbol.cs
8,618
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
35.652174
113
0.580488
[ "MIT" ]
Squidex/squidex-identity
Squidex.Identity/Model/SquidexClientManagerFactory.cs
2,462
C#
using UnityEditor; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using System; using System.Collections; using System.Collections.Generic; [CustomEditor(typeof(UI_ListGrid))] public class UI_ListGridEditor : Editor { public override void OnInspectorGUI() { UI_ListGrid grid = target as UI...
25.172414
83
0.775342
[ "MIT" ]
luzexi/kdm-client
u3d/Assets/scripts/ui/core/Editor/UI_ListGridEditor.cs
730
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("Sin...
38.540541
84
0.753857
[ "Apache-2.0" ]
omid7791/refactoring-techniques
RefactoringTechniques/SingleResponsibilityPrincipal/Properties/AssemblyInfo.cs
1,429
C#
using System; using System.Collections.Generic; namespace SFA.DAS.Forecasting.Domain.AccountProjection { public class AccountProjectionExpiry { public long AccountId { get;} public DateTime ProjectionGenerationDate { get; } public List<ExpiryAmounts> ExpiryAmounts { get; } pub...
31.789474
124
0.69702
[ "MIT" ]
SkillsFundingAgency/das-forecasting-api
src/SFA.DAS.Forecasting.Domain/AccountProjection/AccountProjectionExpiry.cs
606
C#
namespace FinderNET.Database { public class Addons { public Int64 Id { get; set; } public List<string> addons { get; set; } = new List<string>(); } }
28.833333
70
0.595376
[ "MIT" ]
FinderDiscord/FinderNET
FinderNET/Database/Addons.cs
173
C#
namespace Shkolo.Test.Routing { using MyTested.AspNetCore.Mvc; using NUnit.Framework; using Shkolo.Controllers; public class HomeControllerTest { [Test] public void ErrorRouteShouldBeMapped() => MyRouting .Configuration() .ShouldMap("/Home...
24.375
52
0.571795
[ "MIT" ]
DimitarAngov/ShkoloAspNetProject
Shkolo.Test/Routing/HomeControllerTest.cs
392
C#
using System; using System.Collections.Generic; using System.Text; using Xunit; using PizzaStore.Domain.Models; namespace PizzaStore.Tests { public class PizzaTest { [Fact] public void Test_PizzaDefault() { var sut = new Pizza(); Assert.True(sut.Toppings.Count...
19.990476
56
0.47737
[ "MIT" ]
AJardine9/AJ-ms
PizzaStore/PizzaStore.Tests/PizzaTest.cs
2,101
C#
using System; using System.Activities; using System.Activities.Statements; using System.Threading; using Utility; using Utility.Activities; namespace Airbrake.Activities.ValidationException { class Program { static void Main(string[] args) { Logging.LineSeparator("WORKFLOW EXAMPLE"...
39.54491
185
0.469564
[ "MIT" ]
GabeStah/Airbrake.io
Exceptions/.NET/Airbrake.Activities.ValidationException/Program.cs
6,606
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; namespace MiniGame { public class MiniGame : Game { private GraphicsDeviceManager _graphics; private SpriteBatch _spriteBatch; private int _sirkaOkna = 800; private int ...
26.887324
79
0.573075
[ "MIT" ]
Vladyslav272/Zm-na-barvy-podle-pozice
MiniGame/MiniGame.cs
1,911
C#
//----------------------------------------------------------------------- // <copyright file="UnityEventFormatter.cs" company="Sirenix IVS"> // Copyright (c) 2018 Sirenix IVS // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You ...
40.444444
193
0.614835
[ "MIT" ]
CodingJinxx/gameoff2020
Gameoff2020/Assets/Plugins/OdinSerializer/Unity Integration/Formatters/UnityEventFormatter.cs
1,820
C#
using System; using System.Collections.Generic; using System.Text; namespace Enclave.NET.Http.Entities { public class EncryptedResult { public string Value { get; set; } } public class EncryptRequest { public object Value { get; set; } } }
16.647059
41
0.646643
[ "MIT" ]
SteveSyfuhs/Enclave.NET
Enclave.NET/Http/Entities/EncryptRequest.cs
285
C#