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.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("Sledge.Rendering")] [assembly: AssemblyDes...
39.028571
84
0.743045
[ "BSD-3-Clause" ]
LogicAndTrick/sledge
Sledge.Rendering/Properties/AssemblyInfo.cs
1,367
C#
using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "New Photo Database", menuName = "Photo/Database")] public class PhotoDatabeseObject : ScriptableObject, ISerializationCallbackReceiver { [SerializeField] private Photo[] photos; public Dictionary<int, Photo> GetPhoto = new Di...
26.291667
83
0.635499
[ "Apache-2.0" ]
Maitrog/Psychiatrist
Assets/Scriptable Object/Paramedic/PhotoDatabeseObject.cs
631
C#
using System.ComponentModel.DataAnnotations; using Abp.Application.Services.Dto; using Abp.AutoMapper; using Abp.MultiTenancy; namespace PersonalFinance.MultiTenancy.Dto { [AutoMapFrom(typeof(Tenant))] public class TenantDto : EntityDto { [Required] [StringLength(AbpTenantBase.MaxTenancyNam...
26.826087
59
0.679092
[ "MIT" ]
Jfontenla/PersonalFinance
aspnet-core/src/PersonalFinance.Application/MultiTenancy/Dto/TenantDto.cs
617
C#
using System.Security.Cryptography; using System.Text; namespace Connector.CcvShop.Security { internal class Encryption { internal static string ComputeHmacSha512(string key, string data) { var keyBytes = Encoding.UTF8.GetBytes(key); using (var sha512 = new HMACSHA512(...
24.315789
84
0.599567
[ "MIT" ]
Simply-Translate/Connector-CCVShop
Connector.CcvShop/Security/Encryption.cs
464
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using System.Threading; using System.Xml; using Dynamo.Configuration; using Dynamo...
38.864532
152
0.565106
[ "Apache-2.0", "MIT" ]
luxliber/Dynamo
src/DynamoCore/Models/DynamoModel.cs
78,895
C#
using Kubera.App.Infrastructure; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Threading.Tasks; using Kubera.Application.Common.Models; using MediatR; using Kubera.Application.Features.Queries.GetAllAssets.V1; using Kubera.App.Infrastructu...
34.907895
141
0.616849
[ "MIT" ]
anndreiAbabei/Kubera
src/Kubera.App/Controllers/V1/AssetController.cs
5,308
C#
using FluentValidation; using Pygma.Blog.ViewModels.Requests.BlogPosts; namespace Pygma.Blog.Validations.BlogPosts { public class CreateBlogPostValidator : AbstractValidator<CreateBlogPostVm> { public CreateBlogPostValidator() { RuleFor(x => x) .SetValidator(new Upse...
25.785714
78
0.67313
[ "MIT" ]
CodeExcavator/project-pygma
backend/.net core-be/Pygma/src/Pygma.Blog/Validations/BlogPosts/CreateBlogPostValidator.cs
361
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace CarDealer.Models { public class Car { public Car() { this.Sales = new List<Sale>(); this.PartCars = new List<PartCar>(); } public int Id { get; set; } [Req...
21.517241
59
0.5625
[ "MIT" ]
MiroslavaPetrova/SoftUni-Solutions
CSharp DB Advanced/10.JSON Processing/02.Car Dealer/CarDealer/Models/Car.cs
626
C#
namespace Restaurant { partial class LoginForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param n...
52.055556
176
0.622732
[ "MIT" ]
BlakeBerry26/SWE-Project-2019
Restaurant/Forms/LoginForm.Designer.cs
7,498
C#
//using HealthChecks.UI.Client; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using MyWebAPITemplate.Source.Web.Middlewares; namespace MyWebAPITemplate.Extensions { /// <summary> /// Contains all the application builder extension methods for config...
33.033613
125
0.570593
[ "MIT" ]
attuo/MyWebAPITemplate
app/src/Web/Extensions/ApplicationBuilderExtensions.cs
3,933
C#
using System.Collections.Generic; using System.Linq; using Elsa.Metadata; using Elsa.Models; using Elsa.WorkflowDesigner.Models; namespace Elsa.Dashboard.Areas.Elsa.ViewModels { public class WorkflowInstanceDetailsModel { public WorkflowInstanceDetailsModel( WorkflowInstance workflowInstanc...
34.677419
68
0.688372
[ "BSD-3-Clause" ]
1000sprites/elsa-core
src/dashboard/Elsa.Dashboard/Areas/Elsa/ViewModels/WorkflowInstanceDetailsModel.cs
1,075
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace h3t3 { class Program { static void Main(string[] args) { television television = new television(); television.IsOn = true; televisi...
24.638298
53
0.580311
[ "Apache-2.0" ]
AskoVaananen/Csharp-ohjelmointi
h3t1/h3t1/h3t3/Program.cs
1,160
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using AM; using AM.Runtime; using AM.Xml; using ManagedIrbis; using Newtonsoft.Json.Linq; namespace UnitTests.ManagedIrbis { [TestClass] public class SubFieldTest { [TestMethod] public void SubField_Constructor_1() { ...
31.146552
78
0.521912
[ "MIT" ]
amironov73/ManagedClient.45
Source/UnitTests/ManagedIrbis/SubFieldTest.cs
10,841
C#
//----------------------------------------------------------------------- // ETP DevKit, 1.2 // // Copyright 2021 Energistics // // 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 // // ...
50.229167
239
0.732476
[ "Apache-2.0" ]
pds-technology/etp.net
src/Energistics.Avro.Schemas/Navigation/ISchemaVisitor.cs
2,413
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections; using System.ComponentModel; using System.IO; using System.Threading.Tasks; using System.T...
30.666667
113
0.568841
[ "MIT" ]
Drawaes/corefx
src/System.Data.Common/src/System/Data/Common/DbDataReader.cs
7,728
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using VisioAutomation.Extensions; using VACONT = VisioAutomation.Models.Layouts.Container; using IVisio = Microsoft.Office.Interop.Visio; namespace VisioAutomation_Tests.Models.Layouts { [TestClass] public class CointainerLayout_Tests : VisioAutomatio...
30.878049
90
0.526461
[ "MIT" ]
jhliptak/VisioAutomation
VisioAutomation_2010/VisioAutomation.Tests.Models/Layouts/CointainerLayout_Tests.cs
2,532
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.CloudWatchEvents")] [assembly: Asse...
53.71875
449
0.760326
[ "Apache-2.0" ]
rczwojdrak/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/CloudWatchEvents/Properties/AssemblyInfo.cs
1,719
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; public class VirtualJoystick : MonoBehaviour, IDragHandler, IPointerUpHandler, IPointerDownHandler { private Image bgImg; private Image joystickImg; private Vector3 inputVector; p...
28.018868
180
0.723232
[ "Apache-2.0" ]
losersEngine/Breath
Assets/Assets/FPSControllerKevin/Scripts/VirtualJoystick.cs
1,487
C#
namespace WebAppRazor.Entities { public class CartItem { public int Id { get; set; } public int Quantity { get; set; } public string Color { get; set; } public decimal Price { get; set; } public int ProductId { get; set; } public Product Product { get; set; } ...
25
44
0.566154
[ "MIT" ]
hoale240803/E-commerce-Microservice
src/WebApps/WebAppRazor/Entities/CartItem.cs
327
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Assign a list of group DNs to the IMRN pool. It is possible to assign either: a s...
30.673267
141
0.586185
[ "MIT" ]
cwmiller/broadworks-connector-net
BroadworksConnector/Ocip/Models/GroupIMRNAssignListRequest.cs
3,098
C#
public interface IEncryption { string Encrypt(string str, string password); string Encrypt(string str); // Sadly constants aren't allowed in interfaces, therefore we overload. string Decrypt(string encryptedStr, string password); string Decrypt(string encryptedStr); // Sadly constants aren't allowed in...
39.888889
112
0.763231
[ "MIT" ]
SquirtingElephant/Intergalactic-Phone-Book
Assets/Scripts/Encryption/IEncryption.cs
361
C#
using SV.Builder.Mobile.Views.Enums; namespace SV.Builder.Mobile.Views.Labels.IconLabels { public class EllipsisHLabel : FASolidIcons { public EllipsisHLabel() { Text = FA5SolidEnum.EllipsisH; } } }
19.153846
51
0.630522
[ "MIT" ]
peterfournier/SoftwareVets.WorkoutBuilder
SV.Builder.Mobile.Pages/Labels/IconLabels/EllipsisHLabel.cs
251
C#
using NRealbit.Crypto; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace NRealbit.Tests { class AssertEx { [DebuggerHidden] internal static void Error(string msg) { Assert.False(true, msg); ...
26.196078
108
0.673653
[ "MIT" ]
maren7/NRealbit
NRealbit.Tests/AssertEx.cs
1,338
C#
// Generated class v2.19.0.0, don't modify using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace NHtmlUnit.Javascript.Host.Svg { public partial class SVGPathSegCurvetoQuadraticAbs : NHtmlUnit.Javascript.Host.Svg.SVGPathSeg { s...
34.030303
162
0.767587
[ "Apache-2.0" ]
JonAnders/NHtmlUnit
app/NHtmlUnit/Generated/Javascript/Host/Svg/SVGPathSegCurvetoQuadraticAbs.cs
1,123
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Newtonsoft.Json; using Sho.BankIntegration.Monobank.Models; using Sho.BankIntegration.Monobank.Models.Internal; using Sho.BankIntegration.Monobank.Utils; namespace Sho.BankIntegration.Monobank...
47.034884
160
0.650185
[ "MIT" ]
AQdf/Shchack.BankIntegration.Monobank
Shchack.BankIntegration.Monobank/Services/MonobankAccountService.cs
4,047
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Newtonsoft.Json; namespace Microsoft.DotNet.Interactive { internal class StreamKernelCommand { [JsonProperty("id")] ...
26.25
101
0.664762
[ "MIT" ]
0xblack/try
Microsoft.DotNet.Interactive/StreamKernelCommand.cs
527
C#
using System.Collections.Immutable; using Gu.Roslyn.Asserts; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.Diagnostics; using NUnit.Analyzers.ClassicModelAssertUsage; using NUnit.Analyzers.Constants; using NUnit.Framework; namespace NUnit.Analyzers.Tests.ClassicModelAssertUsage { [TestFixtur...
36.219917
165
0.582083
[ "MIT" ]
Antash/nunit.analyzers
src/nunit.analyzers.tests/ClassicModelAssertUsage/IsNotInstanceOfClassicModelAssertUsageCodeFixTests.cs
8,745
C#
using System; using HotChocolate.Execution; using HotChocolate.Language; using HotChocolate.Resolvers; using HotChocolate.Types; using static HotChocolate.Stitching.Properties.StitchingResources; namespace HotChocolate.Stitching.Processing.ScopedVariables; internal class ScopedContextDataScopedVariableResolver : ...
28.084746
103
0.639107
[ "MIT" ]
ChilliCream/prometheus
src/HotChocolate/Stitching/src/Stitching/Processing/ScopedVariables/ScopedContextDataScopedVariableResolver.cs
1,657
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using SimpleScheduler...
45.025926
156
0.528091
[ "CC0-1.0" ]
jtenos/SimpleScheduler
SimpleSchedulerService/JobExecutor.cs
12,159
C#
using System; using System.Net.Http; using Fitbit.Api.Portable; namespace Fitbit.OAuth1Migration { public static class FitbitClientOA1Factory { /// <summary> /// Private base constructor which takes it all and constructs or throws exceptions as appropriately /// </summary> /// ...
39.983871
164
0.568374
[ "MIT" ]
NagendraSUVCE/Fitbit.NET
OAuth1Migration/Fitbit.OAuth1Migration/FitbitClientOA1Factory.cs
2,481
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using ORA.API; using ORA.API.Http; using ORA.API.Managers; using ORA.API.Network; using ORA.API.Network.Packets; using File = ORA.API.Fi...
42.665072
121
0.564652
[ "MIT" ]
Crab-Wave/ora
ORA.Core/Managers/FileManager.cs
8,711
C#
using System; using System.Collections.ObjectModel; using Prism.Mvvm; using Reactive.Bindings; using Reactive.Bindings.Extensions; using MVVM_Refregator.Model; using LiveCharts; using LiveCharts.Wpf; using System.Collections.Generic; using System.Linq; namespace MVVM_Refregator.ViewModel { /// <summary> /// ...
69.985401
307
0.645703
[ "MIT" ]
Pregum/Refregator
ViewModel/AnalysisPageViewModel.cs
20,184
C#
//------------------------------------------------------------------------------ // <copyright file="IErrorHelper.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <owner current="true" primary="true">antonl</owner> //------------------------------------------...
32.705882
80
0.483813
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/XmlUtils/System/Xml/Xsl/Xslt/IErrorHelper.cs
556
C#
#region Usings using System; using System.Linq; using FpML.V5r10.Reporting.Helpers; using Orion.CalendarEngine.Helpers; using Orion.Constants; using FpML.V5r10.Reporting; //using FpML.V5r3.Reporting.Extensions; using FpML.V5r10.Reporting.Models.Rates; using FpML.V5r10.Reporting.Models.Rates.Coupons; using FpML.V5r10....
52.558261
209
0.561795
[ "BSD-3-Clause" ]
mmrath/Highlander.Net
FpML.V5r10.Components/ValuationEngine/Instruments/PriceableCapFloorCoupon.cs
30,223
C#
namespace autoCardboard.Common { public interface IGameTurn { } }
11.285714
31
0.658228
[ "MIT" ]
ChrisBrooksbank/autoCardboard
autoCardboard.Common/Interfaces/IGameTurn.cs
81
C#
using System; using System.Linq; using NUnit.Framework; namespace Essentions.Tests { [TestFixture] public class FunctionExtensionsTests { [Test] public void MemoizeUnaryTest() { int callCount = 0; Func<int, int> square = i => { callCount++; ...
32.213483
106
0.510987
[ "MIT" ]
EnoughTea/essentions
Src/Tests/FunctionExtensionsTests.cs
2,869
C#
using System; using System.Collections.Generic; using System.Text; namespace MineCase.Block { public class AirBlock : Block { public AirBlock(BlockProperties properties) :base(properties) { } } }
16.4
51
0.626016
[ "MIT" ]
bangush/MineCase
src/MineCase.Core/Block/AirBlock.cs
248
C#
using Clunker.Geometry; using ImGuiNET; using System; using System.Collections.Generic; using System.Numerics; using System.Text; using Veldrid; namespace Clunker.Editor.Utilities.PropertyEditor { public class StringEditor : IPropertyEditor { public (bool, object) DrawEditor(string label, object value...
31.826087
125
0.590437
[ "MIT" ]
my0n/Wrecker
Clunker/Editor/Utilities/PropertyEditor/PrimitiveEditors.cs
3,662
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Dependenc...
31.693878
143
0.666452
[ "MIT" ]
KhaterePakdel/Pakdel.GymManagemet.WebApi
src/Presentation/Pakdel.GymManagement.Presentation.WebApi/Startup.cs
1,555
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; /// <summary> /// 64 个同类对象集成为 1 个 Block,每个 Pool 都由许多 Block 组成。 /// 每个对象拥有一个固定 ID,其 ID 前 6 位 bit 是其在 Block 中的偏差,前 26(32 - 6) 位是 Block 的序号。 /// </summary> /// <typeparam nam...
27.713376
295
0.461733
[ "Apache-2.0" ]
1170300305/IEC-Project
Assets/Scripts/Game Bases/ObjectPool.cs
9,208
C#
using Pims.Api.Areas.Keycloak.Controllers; using Pims.Core.Extensions; using Pims.Core.Test; using Pims.Dal.Security; using System; using System.Diagnostics.CodeAnalysis; using Xunit; namespace Pims.Api.Test.Routes.Keycloak { /// <summary> /// RoleControllerTest class, provides a way to test endpoint routes. ...
28.25
168
0.56531
[ "Apache-2.0" ]
FuriousLlama/PSP
backend/tests/unit/api/Routes/Keycloak/RoleControllerTest.cs
2,825
C#
using Microsoft.AspNetCore.Components.WebAssembly.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Demo...
25.807692
115
0.779434
[ "MIT" ]
keg247/BlazorScheduler
DemoApp/Program.cs
671
C#
namespace MySkillsServer.Web.Tests { using System; using System.Linq; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using Xunit; public class SeleniumTests : IClassFixture<SeleniumServerFactory<Startup>>, IDisposable { private readonly SeleniumServerFactory<Startup> server...
27.882353
100
0.572433
[ "MIT" ]
Paulina-Dyulgerska/MySkillsServer
Tests/MySkillsServer.Web.Tests/SeleniumTests.cs
1,424
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using Windows.ApplicationModel.AppService; using Windows.ApplicationModel.Background; using Windows.Foundation.Collections; namespace ...
40.454054
188
0.464057
[ "Apache-2.0" ]
Nun-z/RX-Explorer
CommunicateService/Service.cs
7,486
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Net { internal static class CookieFields { internal const string CommentAttributeName = "Comment"; internal const string CommentUrlAttributeN...
43.285714
71
0.715072
[ "MIT" ]
2m0nd/runtime
src/libraries/Common/src/System/Net/CookieFields.cs
909
C#
using Galytix.Domain; using Galytix.Infra; using Galytix.Repositories; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace Galytix { public class Startup {...
29.098039
106
0.633423
[ "Unlicense" ]
Gaurav-Puri101187/Galytix
Startup.cs
1,484
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 "li...
38.730769
186
0.627855
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SimpleSystemsManagement/Generated/Model/Internal/MarshallTransformations/InventoryDeletionSummaryUnmarshaller.cs
4,028
C#
version https://git-lfs.github.com/spec/v1 oid sha256:82e05165a3fa05b30ef2533a41b621ccc17ff5884cd41dfcd3fae489bd1d8d47 size 1146
32.25
75
0.883721
[ "MIT" ]
Vakuzar/Multithreaded-Blood-Sim
Blood/Library/PackageCache/com.unity.test-framework@1.1.14/UnityEngine.TestRunner/Utils/Vector4EqualityComparer.cs
129
C#
using System.ComponentModel; namespace LearnMore.Domain.Enums { public enum Gender { Unknown = 0, [Description("Female")] Female, [Description("Male")] Male } }
13.5625
32
0.552995
[ "MIT" ]
MKnoski/LearnMore
LearnMore.Domain/Enums/Gender.cs
219
C#
using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Localization; namespace OCore.Deployment { public class DeploymentTarget { public DeploymentTarget(LocalizedString name, LocalizedString description, RouteValueDictionary route) { Name = name; Description = ...
26.35
110
0.658444
[ "BSD-3-Clause" ]
china-live/OCore
src/OCore/OCore.Deployment.Abstractions/DeploymentTarget.cs
529
C#
using Archigen; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Loremaker.Maps { public class PopulationCenterGenerator : IGenerator<List<PopulationCenter>> { private List<Landmass> Landmasses; private IGenerator<string> NameGenerator; p...
33.168317
157
0.514328
[ "MIT" ]
kesac/Loremaker
Loremaker/Loremaker/Maps/PopulationCenterGenerator.cs
3,352
C#
namespace SETUNA.Main { using SETUNA.Main.Other; using SETUNA.Main.Style; using SETUNA.Main.StyleItems; using System; using System.ComponentModel; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.Runtime.CompilerServices; using Sys...
33.235919
179
0.47466
[ "MIT" ]
BUGchongXD/SETUNA2
SETUNA/Main/ScrapBase.cs
31,291
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using BlackFox.VsWhere; using System.Text.RegularExpressions; using QIQI.CMakeCaller.Utilities; namespace QIQI.CMakeCaller { public class CMakeEnv { public string CMakeBin { get; }...
31.328947
190
0.50273
[ "MIT" ]
1354092549/CMakeCaller
CMakeCaller/CMakeEnv.cs
2,383
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using QuickFix; using QuickFix.Transport; namespace SimpleAcceptor3 { class Program { [STAThread] static void Main(string[] args) { Console.WriteLine("=====================================...
46.850575
150
0.578018
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
marcdata/jsonfix
SimpleAcceptor3/SimpleAcceptor3/Program.cs
4,078
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
42.459459
171
0.601209
[ "MIT" ]
Estrol/DMEmu
DMEmu/Properties/Resources.Designer.cs
3,144
C#
// Copyright (c) SimpleIdServer. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using NETCore.Ldap.DER.Universals; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace NETCore.Ldap.DER { [Debugger...
34.216667
107
0.593765
[ "Apache-2.0" ]
simpleidserver/NETCore.Ldap
src/NETCore.Ldap/DER/LdapPacket.cs
2,055
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: Asse...
51.27451
263
0.775908
[ "Apache-2.0" ]
pcameron-/aws-sdk-net
sdk/src/Services/StepFunctions/Properties/AssemblyInfo.cs
2,615
C#
/* * Copyright 2010-2013 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.594595
177
0.599072
[ "Apache-2.0" ]
jdluzen/aws-sdk-net-android
AWSSDK/Amazon.DirectConnect/Model/NewPublicVirtualInterface.cs
9,478
C#
#if NET5_0_OR_GREATER using System.Net.Http.Formatting; using System.Net.Http.Json.Formatting; using Xunit; namespace System.Net.Http.Json { public class ModuleTests { [Fact] public void Init_Test() { // assert var writer = MediaTypeFormatterCollection.Default.Fi...
28.48
119
0.667135
[ "MIT" ]
Byndyusoft/Byndyusoft.Net.Http.Json
tests/ModuleTests.cs
712
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("MOEWcfServiceLibrary")] [assembly: Assemb...
41.305556
113
0.755212
[ "Apache-2.0" ]
AndreRSanchez/ATSPM
MOEWcfServiceLibrary/Properties/AssemblyInfo.cs
1,490
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("He...
37.324324
84
0.742216
[ "MIT" ]
StoyanTakov/Telerik
Spring Season/C#/C#Part1/Exams/Exam 2016/Help/Properties/AssemblyInfo.cs
1,384
C#
using System.Text; using System.Net; using System.Net.Http; using System.Net.Http.Json; using System.Collections.Generic; using Xunit; using Bemol.Test.Fixtures; using Bemol.Http; using Bemol.Http.Exceptions; using Bemol.Http.Util; namespace Bemol.Test { [CollectionDefinition("Context")] public class Context...
38.8475
119
0.536071
[ "MIT" ]
tommy-josepovic/bemol
test/Context.Test.cs
15,841
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Runtime.Serialization; namespace DocumentFormat.OpenXml.Validation.Schema.Restrictions { /// <summary> /// Single (xsd:float) based...
29.810811
101
0.625567
[ "MIT" ]
coderIML/Open-XML-SDK.net
src/DocumentFormat.OpenXml/Validation/Schema/Restrictions/SingleValueRestriction.cs
1,105
C#
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. using System.Data; using System.Diagnostics.CodeA...
40.474576
146
0.521776
[ "Apache-2.0" ]
gmcelhanon/Ed-Fi-ODS-1
Application/EdFi.Ods.Tests/EdFi.Ods.Common/NamespacesTests.cs
4,776
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
37.936
144
0.516871
[ "MIT" ]
Acidburn0zzz/azure-powershell
src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/AddAzureVMSecretCommand.cs
4,620
C#
namespace <%= domainName %>.Builders.Interfaces { using <%= domainName %>.Entities.Abstract; public interface IBuilder<TEntity, TParameters> : IBuilder where TEntity : BaseEntity where TParameters : IBuilderParameters<TEntity> { TEntity Build(TParameters command); } public interface IBuilder { } }
22.142857
134
0.751613
[ "MIT" ]
Worble/generator-dotnet-api
generators/dotnet/templates/Template.Domain/Builders/Interfaces/IBuilder.cs
310
C#
using UnityEngine; using System.Collections; public class collisionFight : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame IEnumerator OnCollisionEnter(Collision col){ if (col.gameObject.tag=="Player") { yield return new WaitForSeconds (0.2f); Dest...
18.75
45
0.709333
[ "MIT" ]
McGameJam/McGameJam
Assets/collisionFight.cs
377
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Na...
38.081081
84
0.745919
[ "Apache-2.0" ]
Aleksey7151/FlexiMvvm
Tutorials/Navigation/NavigationFlow/NavigationFlow.iOS/Properties/AssemblyInfo.cs
1,412
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace FootballBetting.Data.Models { public class Round { public int Id { get; set; } [Required] public string Name { get; set; } public List<Game> Games { get; set; } = new List<Game>(); } ...
20.125
65
0.627329
[ "MIT" ]
l3kov9/CSharpWebDevelopmentBasics
.Net Core and EF Core Exercises/FootballBetting/FootballBetting.Data/Models/Round.cs
324
C#
namespace OtterUI { /// <summary> /// Used to define what type of button the GuiButton will be. Defaults to NORMAL /// </summary> public enum ButtonType { /// <summary> /// A NORMAL GuiButton is a button that has to be clicked each time you want it to fire /// </summary> ...
36.806452
159
0.619632
[ "MIT" ]
NFPN/palavrando-otter
OtterUI/ButtonType.cs
1,143
C#
using Newtonsoft.Json; using System; namespace Codelyzer.Analysis.Model { public class Annotation : UstNode { [JsonProperty("semantic-class-type", Order = 14)] public string SemanticClassType { get; set; } [JsonProperty("references", Order = 99)] public Reference Reference { get...
27.95122
84
0.550611
[ "Apache-2.0" ]
Eruanion/codelyzer
src/Analysis/Codelyzer.Analysis.Model/Annotation.cs
1,146
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Security.Principal; using System.Threading; using System.Threading.Tasks; using Microsoft.Diagnostics.Tracing; using Microsoft.Diagnostics.Tracing.Session; using Microsoft.Ext...
38.874667
159
0.603855
[ "MIT" ]
drew-greenwald/WET
WET.lib/ETWMonitor.cs
14,580
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...
32.475248
112
0.61372
[ "Apache-2.0" ]
HaiNguyenMediaStep/aws-sdk-net
sdk/src/Services/StorageGateway/Generated/Model/ListFileSharesRequest.cs
3,280
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Mediapipe.Unity.FaceDetection { public class FaceDetectionSolution : Solution { [SerializeField] RawImage screen; [SerializeField] DetectionListAnnotationController faceDetectionsAnnotationControlle...
31.869565
122
0.690314
[ "MIT" ]
DoksaVPC/MediaPipeUnityPlugin
Assets/Mediapipe/Samples/Scenes/Face Detection/FaceDetectionSolution.cs
3,665
C#
namespace BehaviourTree.FluentBuilder.Nodes { public sealed class UntilFailedNode : DecoratorNode { } }
14.75
55
0.720339
[ "MIT" ]
AnotherEnd15/BehaviourTree
src/BehaviourTree.FluentBuilder/Nodes/UntilFailedNode.cs
120
C#
namespace Fubu.Templating { public interface ITemplateStep { string Describe(TemplatePlanContext context); void Execute(TemplatePlanContext context); } }
23.5
54
0.680851
[ "Apache-2.0" ]
ketiko/fubumvc
src/Fubu/Templating/ITemplateStep.cs
188
C#
using Newtonsoft.Json; using SelectelSharp.Common; using SelectelSharp.Headers; using System; namespace SelectelSharp.Models.File { public class FileInfo { /// <summary> /// Имя файла /// </summary> public string Name { get; set; } /// <summary> /// Раз...
23.979167
50
0.528236
[ "Apache-2.0" ]
Ektai-Solution-Pty-Ltd/CommunityServer
redistributable/SelectelSharp/Models/File/FileInfo.cs
1,217
C#
using Fusion.Resources.Database; using Fusion.Resources.Database.Entities; using Fusion.Resources.Logic.Requests; using Fusion.Resources.Logic.Workflows; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; usin...
44.269663
145
0.623096
[ "MIT" ]
equinor/fusion-app-resources
src/backend/api/Fusion.Resources.Logic/Requests/Commands/ResourceAllocationRequest/Allocation/CanApproveStepHandler.cs
3,942
C#
using System; using System.Linq; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; using UIKit; [assembly: ResolutionGroupName("XamarinDocs")] [assembly: ExportEffect(typeof(TouchTracking.iOS.TouchEffect), "TouchEffect")] namespace TouchTracking.iOS { public class TouchEffect : PlatformEffect { ...
30.638298
142
0.615278
[ "Apache-2.0" ]
Alshaikh-Abdalrahman/jedoo
Effects/TouchTrackingEffectDemos/TouchTrackingEffectDemos/TouchTrackingEffectDemos.iOS/TouchEffect.cs
1,440
C#
using System; using System.Diagnostics.CodeAnalysis; namespace Auditing { [SuppressMessage("ReSharper", "UnusedMember.Global")] [SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global")] public class AuditLog { public Guid Id { get; set; } public string RootEntityName { get; se...
32.090909
71
0.637394
[ "MIT" ]
yousefataya/HRMS
source/Database/Auditing/AuditLog.cs
706
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.Collections.Generic; using System.IO; using System.Linq; using System.Xml; namespace CSharpSyntaxGenerator...
40.002468
245
0.433771
[ "Apache-2.0" ]
enginekit/copy_of_roslyn
Src/Tools/Source/CompilerGeneratorTools/Source/CSharpSyntaxGenerator/SourceWriter.cs
81,047
C#
using NUnit.Framework; using System; namespace ItalianSyllabaryTests.Helpers { internal static class TestHelper { /// <summary> /// Method used to assert simple cases /// </summary> /// <param name="_syllabary">_syllabary instance</param> /// <param name="word">word to...
30.75
145
0.568202
[ "MIT" ]
CarloP95/ItalianSyllabary
ItalianSyllabary/ItalianSyllabaryTests/Helpers/TestHelper.cs
1,109
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System.Collections.Generic; using System.Diagnostics; using System.Net.Http.HPack; namespace...
38.260369
213
0.502198
[ "MIT" ]
06needhamt/runtime
src/libraries/Common/src/System/Net/Http/aspnetcore/Http3/QPack/QPackEncoder.cs
16,605
C#
using System.Data; namespace Sikiro.Dapper.Extension.Core { public abstract class AbstractSet { public SqlProvider SqlProvider { get; protected set; } public IDbConnection DbCon { get; protected set; } public IDbTransaction DbTransaction { get; protected set; } protected Abstr...
28.12
105
0.634424
[ "MIT" ]
SkyChenSky/Sikiro.Dapper.Extension
src/Sikiro.Dapper.Extension/Core/AbstractSet.cs
705
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Northwind.Dal.Models { [Table("ProductPhoto", Schema = "Production")] public partial class ProductPhoto { public ProductPhoto() { ...
30.96875
89
0.64884
[ "BSD-3-Clause", "MIT" ]
MalikWaseemJaved/presentations
.NETCore/WhatsNewInDotNetCore3/Northwind.DAL/Models/ProductPhoto.cs
993
C#
// <copyright file="VectorXD.cs" company="Shkyrockett" > // Copyright © 2020 Shkyrockett. All rights reserved. // </copyright> // <author id="shkyrockett">Shkyrockett</author> // <license> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </license> // <da...
34.989744
149
0.550931
[ "MIT" ]
Shkyrockett/engine
Engine.Mathematics/Primitives/VectorXD.cs
6,826
C#
using System.Linq.Expressions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace System.Linq.Sql.Tests { [TestClass] public class CompositeExpressionTests { private readonly APredicateExpression left = new BooleanExpression(true); private readonly APredicateExpression right = ...
32.54902
102
0.648795
[ "MIT" ]
buzzytom/System.Linq.Sql
src/LinqSql.Tests/Expressions/Implementations/CompositeExpressionTests.cs
1,662
C#
using Fitbit.API.Model.User; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Fitbit.API.Client { public partial class FitbitClient : BaseClient { public async Task<GetUserResponse> GetUser() { string quer...
29.424242
84
0.645726
[ "MIT" ]
bobbykaz/Async-Fitbit-Client
Fitbit.API.Client/UserClient.cs
973
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using DocumentFormat.OpenXml.Generator.Editor; using DocumentFormat.OpenXml.Generator.Generators.Elements; using Microsoft.CodeAnalysis; using System.CodeDom.Compiler;...
32.105263
101
0.630601
[ "MIT" ]
LaudateCorpus1/Open-XML-SDK
gen/DocumentFormat.OpenXml.Generator/SchemaGenerator.cs
1,832
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Collections.Concurrent; using System.Diagnostics; using System.Text; ...
33.543329
141
0.448618
[ "MIT" ]
333fred/roslyn
src/Compilers/CSharp/Portable/Parser/SlidingTextWindow.cs
24,388
C#
// HttpJsonRequests.cs // Copyright (c) 2007 - 2021 Brain Health Alliance. All Rights Reserved. // Code license: the OSI approved Apache 2.0 License (https://opensource.org/licenses/Apache-2.0). using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; namespace PDP.DREAM.CoreDataLib.Util...
39.183673
116
0.753646
[ "Apache-2.0" ]
BHAVIUS/PDP-DREAM
PDP.DREAM.CoreDataLib/Utilities/NetHttpJsonRequests.cs
1,922
C#
using Hl.Core.ClassMapper; using System; namespace Hl.BasicData.Domain { public class SystemConfClassMapper : HlClassMapper<SystemConf> { public SystemConfClassMapper() { Table("bd_systemconf"); AutoMap(); } } }
17.1875
66
0.603636
[ "MIT" ]
DotNetExample/Surging.Sample
src/Servers/BasicData/Hl.BasicData.Domain/SystemConfs/ClassMapper/SystemConfClassMapper.cs
277
C#
/************************************************* Copyright (c) 2021 Undersoft System.Sets.Card64.cs @project: Undersoft.Vegas.Sdk @stage: Development @author: Dariusz Hanc @date: (05.06.2021) @licence MIT *************************************************/ /*******************************...
28.202703
76
0.448011
[ "MIT" ]
undersoft-org/NET.Undersoft.Sdk.Devel
NET.Undersoft.Vegas.Sdk/Undersoft.System.Sets/Objects/Cards/Card64.cs
6,263
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Globalization; using System.IO; namespace System.Diagnostics { internal static partial class ProcessManager { ...
41.635036
122
0.511045
[ "MIT" ]
josephwinston/corefx
src/System.Diagnostics.Process/src/System/Diagnostics/ProcessManager.Linux.cs
5,704
C#
// ******************************************************************* // // Copyright (c) 2013-2014, Antmicro Ltd <antmicro.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 Software witho...
39.222222
73
0.664306
[ "MIT" ]
UPBIoT/renode-iot
lib/AntShell/AntShell/Terminal/IIOSource.cs
1,414
C#
namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [GET] /cgi-bin/menu/delete 接口的请求。</para> /// </summary> public class CgibinMenuDeleteRequest : WechatApiRequest, IMapResponse<CgibinMenuDeleteRequest, CgibinMenuDeleteResponse> { } }
28.6
124
0.699301
[ "MIT" ]
vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinMenu/CgibinMenuDeleteRequest.cs
304
C#
namespace VitaliiPianykh.FileWall.Shared { public enum ServiceMode { Normal, BlockUndefined, AllowUndefined } }
16.444444
41
0.621622
[ "Apache-2.0" ]
caidongyun/FileWall
Shared/ServiceMode.cs
150
C#
using System; namespace DIGNDB.APP.SmitteStop.Jobs.CovidStatisticsFiles.Exceptions { public class CovidStatisticsCsvContentMultipleContentsOfTheSameTypeException : Exception { private const string ExceptionMessage = "CovidStatisticsContent cannot contain multiple definitions for fil...
32.266667
106
0.731405
[ "MIT" ]
folkehelseinstituttet/Fhi.Smittestopp.Backend
DIGNDB.APP.SmitteStop.Jobs/CovidStatisticsFiles/Exceptions/CovidStatisticsCsvContentMultipleContentsOfTheSameTypeException.cs
486
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("MedicalInsuranceOperation")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assemb...
26.243243
56
0.721936
[ "MIT" ]
axzxs2001/ChinaMedicalInsurance
ChinaMedicalInsurance/MedicalInsuranceOperation/Properties/AssemblyInfo.cs
1,322
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ParkingMaster.Models.Constants { public class ErrorStrings { // Error numbers are meant to help insure that ResponseManager takes care of every error case public const ...
57.192308
120
0.718225
[ "Apache-2.0" ]
CECS-491A/TM-parkingMaster
Backend/ParkingMaster.Models/Constants/ErrorStrings.cs
1,489
C#