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 Microsoft.Azure.Cosmos; using Microsoft.Extensions.Diagnostics.HealthChecks; using System; using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; namespace HealthChecks.CosmosDb { public class CosmosDbHealthCheck : IHealthCheck { private st...
37.577778
140
0.61029
[ "Apache-2.0" ]
FurstLevy/AspNetCore.Diagnostics.HealthChecks
src/HealthChecks.CosmosDb/CosmosDbHealthCheck.cs
1,693
C#
#nullable enable namespace Microsoft.Maui.Handlers { public partial class GraphicsViewHandler { public static IPropertyMapper<IGraphicsView, GraphicsViewHandler> GraphicsViewMapper = new PropertyMapper<IGraphicsView, GraphicsViewHandler>(ViewHandler.ViewMapper) { [nameof(IGraphicsView.Drawable)] = MapDrawable...
30.392857
167
0.784959
[ "MIT" ]
APopatanasov/maui
src/Core/src/Handlers/GraphicsView/GraphicsViewHandler.cs
853
C#
using System; namespace Escrevendo_Nome { class Program { static void Main(string[] args) { for(int c = 11; c>0; c++){ Console.WriteLine("R"); c--; } } } }
15.4375
39
0.408907
[ "MIT" ]
Christian-M-Silva/Exercicios-Aprendiz-De-programacao
C#/Escrevendo-Nome/Program.cs
249
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
30.55
125
0.774141
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/crossplane/dotnet/Kubernetes/Crds/Operators/Crossplane/Packages/V1Alpha1/Inputs/PackageSpecControllerDeploymentSpecTemplateSpecContainersReadinessProbeHttpGetPortArgs.cs
611
C#
/****************************************************************************** * Copyright (C) Leap Motion, Inc. 2011-2018. * * Leap Motion proprietary and confidential. * * ...
41.185185
95
0.517086
[ "MIT" ]
crookookoo/handUI
Assets/Vendor/LeapMotion/Modules/GraphicRenderer/Scripts/RenderingMethods/Editor/LeapDynamicRendererDrawer.cs
1,112
C#
using DbUp.Builder; namespace EventSourcing.Extensions.DatabaseMigrations.Persistence.PostgreSql.DbUp.Extensions { /// <summary> /// Extensions for <see cref="UpgradeEngineBuilder"/> /// </summary> public static class UpgradeEngineBuilderExtensions { /// <summary> /// Adds database...
39.217391
152
0.666297
[ "MIT" ]
TheName/EventSourcing
EventSourcing.Persistence/PostgreSql/Extensions.DatabaseMigrations.Persistence.PostgreSql.DbUp/Extensions/UpgradeEngineBuilderExtensions.cs
904
C#
using System; using System.Collections.Generic; using Microsoft.ML.Data; namespace Microsoft.ML.Samples.Dynamic { /// <summary> /// Sample class showing how to use Skip. /// </summary> public static class SkipRows { public static void Example() { // Create a new context...
37.467742
146
0.521309
[ "MIT" ]
IndigoShock/machinelearning
docs/samples/Microsoft.ML.Samples/Dynamic/DataOperations/SkipRows.cs
2,325
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Ow.Utils; namespace Ow.Net.netty.commands { class MessageWildcardReplacementModule { public const short ID = 1059; public ClientUITooltipTextFormatModule var_1507; ...
26.416667
117
0.631966
[ "MIT" ]
yusufsahinhamza/darkorbit-emulators
DarkOrbit 10.0/Net/netty/commands/MessageWildcardReplacementModule.cs
953
C#
public class Rebel : IBuyer { public Rebel(string name, int age, string group) { this.Group = group; this.Name = name; this.ID = "n/a"; this.BirthDate = "n/a"; this.Age = age; this.Food = 0; } public string Group { get; private set; } public string N...
24.416667
52
0.554608
[ "MIT" ]
Koceto/SoftUni
C# Fundamentals/C# OOP Advanced/Interfaces and Abstraction/Food Shortage/Entities/Rebel.cs
588
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, ...
43.065574
146
0.651313
[ "Apache-2.0" ]
mahizsas/Exceptionless
Source/Clients/Shared/Newtonsoft.Json/JsonSerializerSettings.cs
15,762
C#
// Copyright (c) Alex Ghiondea. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Threading.Tasks; using SmugMug.v2.Authentication; namespace SmugMug.v2.Types { public partial class ImageDownloadEntity : SmugMugEnt...
25.041667
101
0.667221
[ "MIT" ]
AlexGhiondea/SmugMug.NET
src/SmugMug.NET/Types/Images/ImageDownload/ImageDownload.methods.cs
601
C#
 using CommandLine; using System; namespace Lime.Cli { public class Options : IOptions { [Option(HelpText = "The identity for connection")] public string Identity { get; set; } [Option] public string Password { get; set; } [Option] public string AccessKey { ge...
27.55
91
0.604356
[ "Apache-2.0" ]
fsnader/lime-csharp
src/Lime.Cli/Options.cs
1,104
C#
using System.Web; using System.Web.Optimization; namespace HelloAngular { public class BundleConfig { // For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new Scr...
38.84375
113
0.574417
[ "Apache-2.0" ]
Kiandr/Angular
Practice/VisualStudioMVC5/MVC/Windows/HelloAngular/App_Start/BundleConfig.cs
1,245
C#
/* Copyright (c) 2012 <a href="http://www.gutgames.com">James Craig</a> 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, ...
38.891304
152
0.734489
[ "MIT" ]
JoySky/Craig-s-Utility-Library
UnitTests/IO/ExtensionMethods/String.cs
1,791
C#
using System.Collections.Generic; using DemoApiProject.Model; using Newtonsoft.Json; namespace DemoApiProject.Data.Seed { public static class ClientSeed { public static List<Client> Clients => JsonConvert.DeserializeObject<List<Client>>(@"[{ ""Name"": ""Frederick"", ...
39.490566
66
0.315815
[ "MIT" ]
ArmandJ77/VueJsDemoAppApi
DemoApiProject/Data/Seed/ClientSeed.cs
2,095
C#
using System.Collections.Generic; using UnityEngine; public class PotionsManager : MonoBehaviour { [SerializeField] private List<GameObject> potionsGOList; [SerializeField] private GameObject badPotionGO; private static List<GameObject> potionsList; public static GameObject badPotion; pri...
23.410256
83
0.638554
[ "MIT" ]
JoanOrtiga/BrackeysJam2021.2
BrackeysJam2021.2/Assets/Scripts/Delivery Logic/PotionsManager.cs
913
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Analytics.Synapse.Artifacts.Models; using Azure.Core; using Azure.Core.Pipeline; namespa...
54.888393
285
0.657666
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/SparkJobDefinitionClient.cs
24,590
C#
/***********************************************************************************************\ * (C) KAL ATM Software GmbH, 2021 * KAL ATM Software GmbH licenses this file to you under the MIT license. * See the LICENSE file in the project root for more information. * * This file was created automatically as pa...
34.421053
116
0.603976
[ "MIT" ]
KAL-ATM-Software/KAL_XFS4IoT_SP-Dev
Framework/Core/CardReader/Commands/EMVClessQueryApplications_g.cs
1,308
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BoidsManagerSystem : MonoBehaviour { public bool showfishdebug; private BoidsManagerSystem bms; public GameObject Fish; public float frameToSkip = 1;//7 private int frameSkipped; public float tankSize;//200 pu...
29.565517
227
0.670166
[ "MIT" ]
fabriziospadaro/Unity-Boids-Flocking
BoidsManagerSystem.cs
4,289
C#
using Sandbox.Game.EntityComponents; using Sandbox.ModAPI.Ingame; using Sandbox.ModAPI.Interfaces; using SpaceEngineers.Game.ModAPI.Ingame; using System.Collections.Generic; using System.Collections; using System.Linq; using System.Text; using System; using VRage.Collections; using VRage.Game.Components; using VRage.G...
64.423529
262
0.633735
[ "MIT" ]
MerlinofMines/EasyCommands
EasyCommands/CommandParsers/ParameterParsers.cs
32,858
C#
using System.Collections.Generic; using SexyColor.BusinessComponents; namespace SexyColor.CommonComponents { public class UserService : IUserService { public IUserRepository userRepository { get; set; } /// <summary> /// 根据帐号邮箱获取用户 /// </summary> /// <param name="accou...
30.603448
78
0.523099
[ "Apache-2.0" ]
lxkbest/SexyColor.Net
SexyColor.CommonComponents/Users/UserService.cs
3,762
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace AgencyPI.Models.Dto { public class CustomerDto { public int Id { get; set; } public string Name { get; set; } public string City { get; set; } public string WorkingArea { get; set; } ...
30.117647
55
0.623047
[ "MIT" ]
ddenizakpinar/AgencyPI
Models/Dto/CustomerDto.cs
512
C#
using System; using System.Collections.Generic; using ZeldaOracle.Common.Audio; using ZeldaOracle.Common.Geometry; using ZeldaOracle.Common.Graphics; using ZeldaOracle.Game.Items; using ZeldaOracle.Game.Main; namespace ZeldaOracle.Game.Control.Menus { public class MenuWeapons : InventoryMenu { private int ammoSl...
33.368421
145
0.628436
[ "MIT" ]
trigger-death/ZeldaOracle
ZeldaOracle/Game/Game/Control/Menus/MenuWeapons.cs
13,316
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace Owlvey.Falcon.Core.Entities { public partial class MemberEntity: BaseEntity { public virtual SquadEntity Squad { get; set; } public int SquadId { get; set; } ...
26.4375
54
0.659574
[ "Apache-2.0" ]
owlvey/owlvey_falcon
src/Owlvey.Falcon.Core/Entities/MemberEntity.cs
425
C#
using Microsoft.AspNetCore.Components; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CC.Blazor.Dx; public partial class CcToast { [Inject] CcToastService ToastSrv { get; set; } protected over...
22.349515
153
0.572328
[ "MIT" ]
TimChen44/CC.Blazor
CC.Blazor.Dx/Components/CcToast.razor.cs
4,662
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Text.Json; using System.Threading.Tasks; using IB.WatchServer.Abstract.Entity; using IB.WatchServer.Service.Entity; using IB.WatchServer.Service.Entity.Settings; using IB.WatchSer...
41.823789
551
0.597535
[ "MIT" ]
Laverlin/WatchServer
IB.WatchServer.XUnitTest/IntegrationTests/YafControllerGetNoDatabaseTest.cs
9,496
C#
// This is part of Favalon project - https://github.com/kekyo/Favalon // Copyright (c) 2019 Kouji Matsui // // 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/...
35.9375
91
0.678261
[ "Apache-2.0" ]
kekyo/Favalon.PoC
Favalon.5/Favalon.Core/Compat/FormattableStringFactory.cs
1,727
C#
using component.logger; using iot.solution.model; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Storage; using System; using EF = iot.solution.model.Models; using Entity = iot.solution.entity; namespace iot.solution.model { public class UnitOfWork : IUnitOfWork { public Unit...
36.89781
98
0.558259
[ "MIT" ]
iotconnect-apps/AppConnect-AirQualityMonitoring
iot.solution.model/UnitOfWork/Implementation/UnitOfWork.cs
5,057
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
35.774194
152
0.570784
[ "MIT" ]
Zedalve/GeoTracker_Shapefile_Creator
Properties/Settings.Designer.cs
1,111
C#
// Copyright © 2012 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...
54.073529
750
0.697308
[ "BSD-3-Clause" ]
AlexAX135/vrs
VirtualRadar.Interface/Network/IRebroadcastServerManager.cs
3,680
C#
namespace BuddyApiClient.Variables.Models.Request { using System.Text.Json.Serialization; using BuddyApiClient.Actions.Models; public sealed record Action : IScope { [JsonPropertyName("id")] public ActionId Id { get; set; } } }
24.090909
50
0.675472
[ "MIT" ]
logikfabrik/BuddyApiClient
src/BuddyApiClient/Variables/Models/Request/Action.cs
267
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.Collections.Generic; namespace Microsoft.DotNet.XHarness.CLI.CommandArguments.Android; ...
30.263158
80
0.751304
[ "MIT" ]
jkoritzinsky/xharness
src/Microsoft.DotNet.XHarness.CLI/CommandArguments/Android/AndroidAdbCommandArguments.cs
577
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(IWafv2WebAclRuleStatementOrStatementStatementSizeConstraintStatementFieldToMatch), fullyQualifiedName: "aws.Wafv2WebAclRuleStatementOrStatementStatementSizeConstraintStatementFieldToMat...
60.401316
257
0.693933
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/IWafv2WebAclRuleStatementOrStatementStatementSizeConstraintStatementFieldToMatch.cs
9,181
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Romontinka.Server.Core; using Romontinka.Server.Core.Security; using Romontinka.Server.WebSite.Common; namespace Romontinka.Server.WebSite.Controllers { /// <summary> /// Комбобокс с документами. ...
39.763158
140
0.622105
[ "MIT" ]
alexs0ff/remboard
Server/Romontinka.Server.WebSite/Controllers/AjaxCustomReportComboBoxController.cs
1,693
C#
using System.Collections.Generic; namespace CSETWebCore.Model.Aggregation { public class BestToWorstCategory { public string Category { get; set; } public List<GetComparisonBestToWorst> Assessments { get; set; } } }
24.5
71
0.702041
[ "MIT" ]
Project-CSET-RM-Module/cset
CSETWebApi/CSETWeb_Api/CSETWebCore.Model/Aggregation/BestToWorstCategory.cs
247
C#
using System.Collections.Generic; using System; namespace windows { public class ListTest { public static void test() { var names = new List<string> { "<name>", "Ana", "Felipe" }; foreach (var name in names) { Console.WriteLine($"Hello {name.To...
30.184211
89
0.4551
[ "Unlicense" ]
jufeng98/b2c-master
windows/ListTest.cs
1,147
C#
using OrchardCore.ContentManagement; namespace OrchardCore.Forms.Models { public class FormPart : ContentPart { public string Action { get; set; } public string Method { get; set; } public string WorkflowTypeId { get; set; } public string EncType { get; set; } public boo...
26.785714
64
0.642667
[ "BSD-3-Clause" ]
1051324354/OrchardCore
src/OrchardCore.Modules/OrchardCore.Forms/Models/FormPart.cs
375
C#
/* The MIT License (MIT) Copyright (c) 2007 - 2021 Microting A/S 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...
37.972973
78
0.769395
[ "MIT" ]
microting/eform-backendconfiguration-base
Microting.EformBackendConfigurationBase/Infrastructure/Data/Entities/ProperyAreaFolder.cs
1,407
C#
using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Response { /// <summary> /// ZolozAuthenticationCustomerFacemanageCreateResponse. /// </summary> public class ZolozAuthenticationCustomerFacemanageCreateResponse : AopResponse { /// <summary> /// 业务结果 ...
23.809524
82
0.533
[ "MIT" ]
KenyonLi/Alipay.AopSdk.Core
Alipay.AopSdk.Core/Response/ZolozAuthenticationCustomerFacemanageCreateResponse.cs
1,044
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; using Fluent...
25.048387
107
0.519639
[ "Apache-2.0" ]
cuteant/IdentityModel
test/IdentityModel.HttpSigning.Tests/Confirmation/JwkTests.cs
1,555
C#
using Umbraco.Core.Models; namespace Endzone.uSplit.Models { public interface IPublishedContentVariation { /// <summary> /// Might be null for server-side variation /// </summary> IPublishedContent Content { get; set; } /// <summary> /// The 0-based index of ch...
25.388889
51
0.588621
[ "Unlicense" ]
EndzoneSoftware/uSplit
src/Endzone.uSplit/Models/IPublishedContentVariation.cs
459
C#
using System; using System.Linq; using DocsBr.Utils; namespace DocsBr.Validation.IE { /// <summary> /// Validação da IE de Maranhão /// </summary> /// <remarks> /// ROTEIRO DE CRÍTICA DA INSCRIÇÃO ESTADUAL: /// http://www.sintegra.gov.br/Cad_Estados/cad_MA.html /// </remarks> public...
30.04
117
0.557923
[ "MIT" ]
WalissonPires/docsbr.net
DocsBr/Validation/IE/IEMaranhaoValidator.cs
1,510
C#
using System.Collections.Generic; using System.IO; using System.Net; namespace SrkToolkit.WildServiceRef.Clients { partial class BaseHttpClient { #region Assisted HTTP query protected string GetStringResponse(string action, params string[] keyValues) { Dictionary<...
42.208333
154
0.592695
[ "Apache-2.0" ]
sandrock/SrkToolkit
Sources/SrkToolkit.WildServiceRef/Clients/BaseHttpClient.cs
5,067
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...
28
101
0.612857
[ "Apache-2.0" ]
jasoncwik/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/RecurringCharge.cs
2,100
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace GuestBook.Data.Migrations { public partial class Initial_1 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { } protected override void Down(MigrationBuilder migrationBuilder) { ...
18.555556
71
0.667665
[ "MIT" ]
olkerr/YMS8518
GuestBook/GuestBook.Data/Migrations/20191208122316_Initial_1.cs
336
C#
using System; using System.Globalization; namespace Qowaiv.TestTools { /// <summary>Represents the unit test format provider.</summary> public class UnitTestFormatProvider : IFormatProvider, ICustomFormatter { /// <summary>Returns an object that provides formatting services for the specified type....
34.540541
140
0.593114
[ "MIT" ]
LauraXiulan/Qowaiv
src/Qowaiv.TestTools/UnitTestFormatProvider.cs
1,280
C#
using System.Xml.Serialization; // Generated from cobertura XML schema #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member namespace MergeCoberturaXml.CoberturaModel { [XmlRoot(ElementName = "class")] public class Class { [XmlElement(ElementName = "methods")]...
29.46875
89
0.640509
[ "MIT" ]
marcelion/MergeCoberturaXml
src/MergeCoberturaXml/CoberturaModel/Class.cs
945
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Diagnostics; using System.IO; using System.IO.Ports; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; using Sy...
31.73913
111
0.486693
[ "MIT" ]
2steuer/steuersoft-maps
SteuerSoft.KoordinatenSammeln/ViewModel/MainViewModel.cs
5,112
C#
using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using BuzzBot.Discord.Services; namespace BuzzBot.Epgp { public class RaidRepository : IRaidRepository { private readonly ConcurrentDictionary<ulong, RaidData> _raids = new ConcurrentDictionary<ulong, RaidData>()...
27.230769
116
0.606403
[ "MIT" ]
mfuqua3/BuzzBot
BuzzBot/BuzzBot/Epgp/RaidRepository.cs
1,064
C#
using System; using System.Linq; using System.Numerics; using System.Reflection; using Dalamud.Game.ClientState.Objects.Enums; using Dalamud.Game.ClientState.Objects.SubKinds; using Dalamud.Game.ClientState.Objects.Types; using Dalamud.Interface; using Dalamud.Logging; using Glamourer.Customization; using Gl...
35.944984
163
0.526515
[ "Apache-2.0" ]
4679/Glamourer
Glamourer/Gui/InterfaceActorPanel.cs
11,109
C#
using System; using System.Collections.Generic; namespace Seq.App.EventTimeout.Classes { /// <summary> /// Property matching methods /// </summary> public static class PropertyMatch { /// <summary> /// Return a property matching rule given a property number, property name, ...
36.671429
119
0.552785
[ "Apache-2.0" ]
MattMofDoom/Seq.App.EventTimeout
Seq.App.EventTimeout/Classes/PropertyMatch.cs
2,569
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.Resources; using System.Reflection; using System.Globalization; namespace Microsoft.Build.Shared { /// <summary> /// This class provides access t...
44.4375
182
0.674637
[ "MIT" ]
0xced/msbuild
src/Tasks/AssemblyResources.cs
2,135
C#
using System; using System.Collections.Generic; using System.Text; namespace M { public interface IReplyEx<TReturn> : IReply<TReturn> { bool HasException { get; } Exception Exception { get; } /// <summary> /// Does nothing when HasException is false. /// When true, thr...
23.368421
81
0.626126
[ "MIT" ]
LeandroMBarreto/MlIB.Reply
source/MlIB.Reply/Interfaces/IReplyEx.cs
446
C#
using System; using System.ComponentModel.DataAnnotations; namespace UserPerformanceApp.Models { public class SaveUserActivityModel { [Required] public DateTime day { get; set; } [Required] public long activityId { get; set; } public decimal? count { get; set; } ...
24.133333
44
0.629834
[ "MIT" ]
vyatkin0/UserPerformance
UserPerformance/Models/SaveUserActivitiesModel.cs
364
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Discount.Grpc.Extensions; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace Discount.Grpc { public class Program { public static void Main(string[] arg...
30.967742
136
0.645833
[ "MIT" ]
Pradeep-Kumar-3325/AspnetMicroservices
src/Services/Discount/Discount.Grpc/Program.cs
960
C#
using Basket.API.Entities; using System.Threading.Tasks; namespace Basket.API.Repositories { public interface IBasketRepository { Task<ShoppingCart> GetBasket(string UserName); Task<ShoppingCart> UpdateBasket(ShoppingCart Basket); Task DeleteBasket(string UserName); } }
18.933333
55
0.788732
[ "MIT" ]
Amin-Shiravand/AspnetMicroservices
src/Services/Basket/Basket.API/Repositories/IBasketRepository.cs
286
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 System.Collections.Generic; using System.Data; using System.Linq; using System.Threading; using System.Threading.Tasks; using AutoMapper; using CleanArchitecture....
48.069444
174
0.607194
[ "MIT" ]
urmatgit/RazorPageCleanArchitecture
src/Application/Customers/Commands/Import/ImportCustomersCommand.cs
6,922
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Cocos2D; namespace tests { public class FadeOutUpTilesDemo : CCFadeOutUpTiles { public static CCActionInterval actionWithDuration(float t) { CCFadeOutUpTiles fadeout = new CCFadeOutUpTiles(t,...
26.428571
87
0.672072
[ "MIT" ]
Karunp/cocos2d-xna
tests/tests/classes/tests/EffectsTest/FadeOutUpTilesDemo.cs
555
C#
using System; using System.Threading; using System.Threading.Tasks; using Xamarin.Forms; namespace SkiaSharp.Extended.UI.Extensions { public static partial class SKImageSourceExtensions { private static Task<SKImage?> PlatformToSKImageAsync(ImageSource imageSource, CancellationToken cancellationToken = default) =...
26.214286
129
0.811989
[ "MIT" ]
8529447889/SkiaSharp.Extended
source/SkiaSharp.Extended.UI/Extensions/SKImageSourceExtensions.ref.cs
369
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using Azure.Core; namespace Azure.Management.Network.Models { /// <summary> Response for DisconnectActiveSessions. </summary> public partia...
35.27027
102
0.669732
[ "MIT" ]
AbelHu/azure-sdk-for-net
sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/Models/BastionSessionDeleteResult.cs
1,305
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using NetOffice; namespace NetOffice.MSHTMLApi { ///<summary> /// DispatchInterface IHTCAttachB...
32.282258
173
0.676992
[ "MIT" ]
NetOffice/NetOffice
Source/MSHTML/DispatchInterfaces/IHTCAttachBehavior.cs
4,003
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 Microsoft.AspNetCore.Razor.Language.Intermediate; namespace Microsoft.AspNetCore.Razor.Language ...
38.535714
111
0.721965
[ "Apache-2.0" ]
belav/aspnetcore
src/Razor/Microsoft.AspNetCore.Razor.Language/src/DefaultDocumentClassifierPassFeature.cs
1,081
C#
using System; using System.Collections.Generic; using System.Text; namespace TTY.GMP.Entity.View { /// <summary> /// 地区门店采购统计 /// </summary> public class DbStatisticsPurchaseShopView { /// <summary> /// 门店ID /// </summary> public long ShopId { get; set; } /...
20.666667
56
0.474798
[ "MIT" ]
chenjian8541/gmp
src/TTY.GMP.Entity/View/DbStatisticsPurchaseShopView.cs
1,054
C#
using Microsoft.EntityFrameworkCore; using Volo.Abp; namespace PasswordlessAuthentication.EntityFrameworkCore { public static class PasswordlessAuthenticationDbContextModelCreatingExtensions { public static void ConfigurePasswordlessAuthentication(this ModelBuilder builder) { ...
35.863636
137
0.638783
[ "MIT" ]
271943794/abp-samples
PasswordlessAuthentication/src/PasswordlessAuthentication.EntityFrameworkCore/EntityFrameworkCore/PasswordlessAuthenticationDbContextModelCreatingExtensions.cs
791
C#
#pragma warning disable 0649 using System.Collections.Generic; using UnityEngine; namespace MonsterRPG { public class Summoner : Combatant { [SerializeField] private AttributeSet attributeSet; [SerializeField] private MonsterRuntimeSet monsterRuntimeSet; protected rea...
25.686047
85
0.530557
[ "Apache-2.0" ]
RippinPepperoni/MonsterRPG
Assets/Scripts/Combat/Combatants/Summoner.cs
4,420
C#
using BulletSharp; using DemoFramework; using SharpDX; namespace CcdPhysicsDemo { class Physics : PhysicsContext { bool ccdMode = true; public bool CcdMode { get { return ccdMode; } } float CubeHalfExtents = 0.5f; float ExtraHeight ...
34.013889
132
0.507554
[ "MIT" ]
AndresTraks/BulletSharp
demos/SharpDX/CcdPhysicsDemo/Physics.cs
4,900
C#
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.IO; using System.Linq; using System.Text; using System.Web; using AspxCommerce.Core; using SageFrame.Common; using SageFrame.NewsLetter; using SageFrame.Web; using SageFrame.Web.Utilities; using System.Threading.Tasks; using Syst...
34.719631
254
0.541622
[ "MIT" ]
AspxCommerce/AspxCommerce2.7
AspxCommerce.Core/Controller/AspxCoreController.cs
252,379
C#
using Microsoft.Maui.Graphics; namespace ScottPlot.Axes; public class BottomAxis : AxisBase, IAxis { public BottomAxis(string text, bool ticks) : base(Edge.Bottom, text) { Ticks(ticks); } public void DrawAxisLabel(ICanvas canvas, PlotConfig info, float size, float offset) { float...
32.019608
101
0.637477
[ "MIT" ]
Glepooek/ScottPlot
dev/ScottPlot5/ScottPlot/Axes/BottomAxis.cs
1,635
C#
//------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программным средством. // Версия среды выполнения: 4.0.30319.42000 // // Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если // код создан пов...
40.888889
176
0.602242
[ "MIT" ]
Aizhan1202/Proga-2017
Collision/Collision/Properties/Resources.Designer.cs
3,475
C#
namespace MilanWebStore.Web.Areas.Administration.Controllers { using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using MilanWebStore.Services.Data.Contracts; using MilanWebStore.Web.ViewModels.Administration.Orders; using MilanWebStore.Web.ViewModels.Orders; public class OrdersCon...
29.254545
96
0.63207
[ "MIT" ]
MihailKarabashev/MilanWebStore
Web/MilanWebStore.Web/Areas/Administration/Controllers/OrdersController.cs
1,611
C#
using UnityEngine; using System.Collections; namespace YounGenTech.HealthScript { [AddComponentMenu("YounGen Tech/Health/Other/Restart Scene")] public class RestartScene : MonoBehaviour { public void Restart() { Application.LoadLevel(Application.loadedLevel); } } }
25.583333
65
0.700326
[ "MIT" ]
michelsara/GameDevelopment
SlimeTime/Assets/YounGen Tech/Health Script/Scripts/Other Examples/RestartScene.cs
307
C#
namespace ChromeDevTools.Host.Runtime.Page { using Newtonsoft.Json; /// <summary> /// LoadEventFired /// </summary> public sealed class LoadEventFiredEvent : IEvent { /// <summary> /// Gets or sets the timestamp /// </summary> [JsonProperty("timestamp")] ...
20.25
52
0.520988
[ "MIT" ]
fforjan/ChromeDevTools.Host
ChromeDevTools.Host/Runtime/Page/LoadEventFiredEvent.cs
405
C#
using SFA.DAS.Location.Domain.Interfaces; using System.Threading; using System.Threading.Tasks; using MediatR; namespace SFA.DAS.Location.Application.Postcode.Queries.GetByOutcode { public class GetOutcodeQueryHandler : IRequestHandler<GetOutcodeQuery, GetOutcodeQueryResult> { private readonly IPostcod...
28.571429
117
0.685
[ "MIT" ]
SkillsFundingAgency/das-location-api
src/SFA.DAS.Location.Application/Postcode/Queries/GetByOutcode/GetOutcodeQueryHandler.cs
800
C#
/** * Implementation of the net.sf.geographiclib.GnomonicData class * * Copyright (c) BMW Car IT GmbH (2014-2016) <sebastian.mattheis@bmw-carit.de> * and licensed under the MIT/X11 License. For more information, see * https://geographiclib.sourceforge.io/ *********************************************************...
38.979381
129
0.422111
[ "MIT" ]
oldrev/GeographicLib
GeographicLib/GnomonicData.cs
3,783
C#
using System; using Goguma.Game.Console; using Goguma.Game.Object.Skill.Attack; namespace Goguma.Game.Object.Skill.Skills.Mob.TestMonster { [Serializable] public class Fireball : AMagicAttackSkill { public override string Name => "파이어 볼"; public override CTexts Text => CTexts.Make("{빠이아 뽈!!}"); pub...
23.5
85
0.682785
[ "Apache-2.0" ]
hellun205/Goguma
Game/Object/Skill/Skills/Mob/TestMonster/Fireball.cs
569
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("dp2Router")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: Assembly...
35.244898
107
0.715113
[ "Apache-2.0" ]
919506114/chord
dp2Router/Properties/AssemblyInfo.cs
2,564
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using Kore.Caching; using Kore.Collections; using Kore.Data; using Kore.Data.Services; using Kore.Web.Configuration; using Kore.Web.ContentManagement.Areas.Admin.Pages.Domain; namespace Kore.Web.ContentManagement.A...
39.877729
157
0.541283
[ "MIT" ]
artinite21/KoreCMS
Kore.Web.ContentManagement/Areas/Admin/Pages/Services/IPageVersionService.cs
9,134
C#
using Aware.Util; using Aware.Util.Constants; using Aware.Util.Enum; using Aware.Util.Exceptions; using System; namespace Aware.Model { public class User : BaseEntity { public int CompanyID { get; set; } public string Name { get; set; } public string Email { get; set; } publ...
21.621622
73
0.57
[ "MIT" ]
asetil/ArzTalep
Aware/Model/UserModel.cs
802
C#
//****************************************************************************************************** // AssemblyInfo.cs - Gbtc // // Copyright © 2010, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // th...
47.016949
105
0.663663
[ "MIT" ]
zobo/gsf
Source/Libraries/GSF.InstallerActions/Properties/AssemblyInfo.cs
2,778
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34003 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
39.638889
180
0.588648
[ "Unlicense" ]
Slesa/Poseidon
sketches/wpf/caliburn/08_ViewFirst/Properties/Resources.Designer.cs
2,856
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CompositeModel3D.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // <summary> // Represents a composite Model3D. // </summary> //...
33.602564
123
0.441244
[ "MIT" ]
B3zaleel/helix-toolkit
Source/HelixToolkit.Wpf.SharpDX.Shared/Model/Elements3D/CompositeModel3D.cs
5,244
C#
using Expressive.Expressions; namespace Expressive.Functions.Conversion { internal sealed class StringFunction : FunctionBase { #region FunctionBase Members public override string Name => "String"; public override object Evaluate(IExpression[] parameters, ExpressiveOptions options) ...
28.243243
92
0.574163
[ "MIT" ]
denispakizh/expressive
Source/CSharp/Expressive/Expressive/Functions/Conversion/StringFunction.cs
1,047
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201 { using static Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Extensions; /// <summary>Request from client to check resource name availability.</summary> public partial class NameAvailabilityRequest { /// <summary>...
68.650485
254
0.680526
[ "MIT" ]
3quanfeng/azure-powershell
src/MySql/generated/api/Models/Api20171201/NameAvailabilityRequest.json.cs
6,969
C#
using Project1.UI.Controls; namespace ProjectEye.Views { /// <summary> /// UpdateWindow.xaml 的交互逻辑 /// </summary> public partial class UpdateWindow : Project1UIWindow { public UpdateWindow() { InitializeComponent(); } } }
17.75
56
0.580986
[ "MIT" ]
Planshit/projecteye
src/Local/ProjectEye/Views/UpdateWindow.xaml.cs
296
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...
34.892857
149
0.752303
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/Outputs/TrafficAnalyticsPropertiesResponse.cs
977
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace LionFire.Events { public class ObjectPropertyChangedListener { #region (Static) Dependency Acquisition static Type[] PropertyChan...
29.125926
97
0.403611
[ "MIT" ]
LionFire/Core
src/LionFire.Core.Extras/Events/ObjectPropertyChangedListener.cs
3,934
C#
using Subscriber.Models; using System.Collections.Generic; using EventDriven.EventBus.Abstractions; namespace Subscriber.Events { public record WeatherForecastEvent(IEnumerable<WeatherForecast> WeatherForecasts) : IntegrationEvent; }
26.666667
105
0.8375
[ "MIT" ]
dapr-dotnet-extensions/dapr-event-bus
samples/SimplePubSub/Subscriber/Events/WeatherForecastEvent.cs
242
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TSQL.Statements; using TSQL.Statements.Parsers; using TSQL.Tokens; namespace TSQL.Clauses.Parsers { internal class TSQLFromClauseParser : ITSQLClauseParser { public TSQLFromClause Parse(ITSQLTokenizer tokenize...
25.646154
96
0.619076
[ "Apache-2.0" ]
pjnreis/tsql-parser
TSQL_Parser/TSQL_Parser/Clauses/Parsers/TSQLFromClauseParser.cs
3,334
C#
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
47.047733
188
0.582255
[ "MIT" ]
IMaeland/IronSmalltalk
DLR/Microsoft.Dynamic/Actions/DefaultBinder.GetMember.cs
19,715
C#
/* * Copyright 2013 ThirdMotion, Inc. * * 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 or agreed...
27.972973
76
0.742995
[ "Apache-2.0" ]
Lenovezhou/Screenshow
Assets/Scripts/StrangeIoC/scripts/strange/extensions/mediation/api/IMediationBinding.cs
1,035
C#
/****************************************************************************** * Compilation: javac EdgeWeightedDigraph.java * Execution: java EdgeWeightedDigraph digraph.txt * Dependencies: Bag.java DirectedEdge.java * Data files: https://algs4.cs.princeton.edu/44st/tinyEWD.txt * https:/...
36.091873
109
0.574408
[ "MIT" ]
franklzt/DataStruct
algs/EdgeWeightedDigraph.cs
10,214
C#
using System; using System.Collections.Generic; using System.Linq; using Fancy.Data.Data; using Fancy.Data.Models.Models; using Fancy.Services.Data.Contracts; using Fancy.Common.Enums; using Fancy.Common.Validator; using Fancy.Common.Constants; namespace Fancy.Services.Data { public class OrderService : IOrderSer...
31.677966
135
0.611022
[ "MIT" ]
Telerik-Fancy/Project
Fancy/Fancy.Services/Data/OrderService.cs
3,740
C#
// <auto-generated /> using DotnetMVCBaslangic.EntityFramework; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace ...
35.186047
125
0.648381
[ "BSD-3-Clause" ]
Kodluyoruz/dotnet-core-mvc-web-api-course
DotnetMVCBaslangic/DotnetMVCBaslangic/Migrations/20190420072757_InitialDatabase.Designer.cs
1,515
C#
// GraphView // // Copyright (c) 2015 Microsoft Corporation // // All rights reserved. // // MIT License // // 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 restrict...
49.544212
181
0.393885
[ "MIT" ]
Bhaskers-Blu-Org2/GraphView
GraphView/TranslateDataModificationVisitor.cs
115,985
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/d3d12.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtime.C...
48.484848
180
0.660625
[ "MIT" ]
john-h-k/terrafx.interop.windows
sources/Interop/Windows/um/d3d12/ID3D12CommandSignature.cs
3,202
C#
// ----------------------------------------------------------------------- // <copyright file="Vertex.cs" company=""> // Original Triangle code by Jonathan Richard Shewchuk, http://www.cs.cmu.edu/~quake/triangle.html // Triangle.NET code by Christian Woltering, http://triangle.codeplex.com/ // </copyright> // ---...
29.547619
99
0.466559
[ "MIT" ]
BogdanAlexandru/Triangle.NET
Triangle.NET/Triangle/Geometry/Vertex.cs
3,725
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Collections.Generic; using UnityEngine; namespace HoloToolkit.Unity.InputModule.Utilities.Interactions { /// <summary> /// Implements common lo...
49.846667
154
0.666176
[ "MIT" ]
museum4punkt0/PMR-Victoria
Assets/vendor/HoloToolkit/Input/Scripts/Utilities/Interactions/TwoHandRotateLogic.cs
7,479
C#
// Copyright © 2017 Dmitry Sikorsky. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using ExtCore.Events; using Platformus.Barebone; using Platformus.Domain.Data.Entities; namespace Platformus.Domain.Events { public interface IMe...
30.230769
111
0.791349
[ "Apache-2.0" ]
5118234/Platformus
src/Platformus.Domain/Events/IMemberEditedEventHandler.cs
396
C#
using System.Threading.Tasks; using Orchard.Recipes.Models; using YesSql; namespace Orchard.Recipes.Services { /// <summary> /// And implementation of <see cref="IRecipeStore"/> that stores the recipe<see cref="RecipeResult"/> /// object in YesSql. /// </summary> public class RecipeStore : IRecipe...
26.977273
124
0.621735
[ "BSD-3-Clause" ]
ChipSoftTech/CST-CMS
src/OrchardCore.Modules/Orchard.Recipes/Services/RecipeStore.cs
1,189
C#
using System; using EventStore.Core.Data; using EventStore.Core.TransactionLog; using EventStore.Core.TransactionLog.Checkpoint; using EventStore.Core.TransactionLog.Chunks; using EventStore.Core.TransactionLog.LogRecords; using NUnit.Framework; namespace EventStore.Core.Tests.TransactionLog.Chunks { [TestFixture]...
37.201258
123
0.573964
[ "BSD-3-Clause" ]
eleks/EventStore
src/EventStore/EventStore.Core.Tests/TransactionLog/Chunks/when_having_scavenged_tfchunk_with_original_first_record_removed.cs
5,915
C#