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.Net; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Swashbuckle.AspNetCore.Annotations; using TNO.API.Areas.Editor.Models.MediaType; using TNO.API.Models; using TNO.DAL.Services; namespace TNO.API.Areas.Editor.Controllers; /// <summary> /// MediaTypeController class, prov...
30.339286
102
0.712772
[ "Apache-2.0" ]
ckayfish/tno
api/net/Areas/Editor/Controllers/MediaTypeController.cs
1,699
C#
using Gildemeister.Cliente360.Contracts.Repository; using Gildemeister.Cliente360.Domain; using Gildemeister.Cliente360.Infrastructure; using Gildemeister.DWProd.Persistence.Database; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Gildemei...
34.181818
97
0.629179
[ "MIT" ]
pSharpX/customer360-api
src/Gildemeister.DWProd.Persistence/Repository/CotizacionRepository.cs
2,634
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // This source code is made available under the terms of the Microsoft Public License (MS-PL) using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System....
31.666667
141
0.636011
[ "Apache-2.0" ]
JackyLi918/HKH
HKHProjects/DataProvider/DapperLinq/HKH.Linq/Infrastructure/QueryProvider.cs
1,807
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
47.395129
244
0.670407
[ "MIT" ]
smkgeekfreak/BrightstarDB
src/core/BrightstarDB/Client/BrightstarWcfServiceClient.cs
35,027
C#
using System.Collections.Generic; using Microsoft.VisualStudio.TestPlatform.ObjectModel; namespace AzurePipelines.TestLogger { internal class VstpTestRunComplete { public VstpTestRunComplete(bool aborted, ICollection<AttachmentSet> attachmentSets) { Aborted = aborted; A...
27.764706
91
0.684322
[ "MIT" ]
daveaglick/PipelinesTestLogger
src/AzurePipelines.TestLogger/VstpTestRunComplete.cs
474
C#
namespace DotNet.TDD.DeskBooking.Domain.DTOs.Requests { public class BookingRequest { public long DeskId { get; set; } public long EmployeeId { get; set; } public DateTime Date { get; set; } } }
23.2
54
0.62069
[ "MIT" ]
MTrajK/dotnet-projects
DotNet.TDD/DeskBooking/Src/DotNet.TDD.DeskBooking.Domain/DTOs/Requests/BookingRequest.cs
234
C#
namespace Figlut.Server.Toolkit.Data.QueryRunners { #region Using Directives using System; using System.Collections.Generic; using System.Linq; using System.Text; using Figlut.Server.Toolkit.Utilities; #endregion //Using Directives [Serializable] public class SqlQueryRunnerConfig...
33.30303
117
0.573552
[ "MIT" ]
PaulKolozsvari/Figlut-Suite
source/trunk/Windows/Figlut.Server.Toolkit.35/Data/QueryRunners/SqlQueryRunnerConfig.cs
3,299
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ASPNetCore3.Models.DTO { public class BookDto : BaseDto { public string Name { get; set; } public string CreatedAt { get; set; } } }
19.285714
45
0.677778
[ "MIT" ]
nvthinh09t4/B
sln/ASPNetCore3/Models/DTO/BookDto.cs
272
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Famoser.FexCompiler.Test.Service.Base { [TestClass] public abstract class BaseService { [TestMethod] public void TestSimpleFex() { TestFex("simple.fex"); } [TestMethod] public void Te...
19.62069
57
0.55536
[ "MIT" ]
famoser/FexCompiler
Famoser.FexCompiler.Test/Service/Base/BaseService.cs
571
C#
using Microsoft.AspNetCore.Http; using System; using System.IO; using System.Threading.Tasks; namespace WalletWasabi.Backend.Middlewares { /// <summary> /// https://www.tpeczek.com/2017/10/exploring-head-method-behavior-in.html /// https://github.com/tpeczek/Demo.AspNetCore.Mvc.CosmosDB/blob/master/Demo.AspNetCore...
20.407407
137
0.73049
[ "MIT" ]
Kukks/WalletWasabi
WalletWasabi.Backend/Middlewares/HeadMethodMiddleware.cs
1,104
C#
using System; using Woz.Functional.Monads; using Xunit; namespace Woz.Functional.Tests.Monads { public class IOTests { private static readonly Func<int, IO<int>> Increment = value => () => value + 1; private static readonly Func<int> Get5 = () => 5; private static readonly IO<int> Get...
28.235294
113
0.527604
[ "Unlicense" ]
WozSoftware/Woz.Functional
Woz.Functional.Tests/Monads/IOTests.cs
1,922
C#
using System.Collections.Generic; using System.Linq; using Abp.Localization; using ScotchMe.EntityFramework; namespace ScotchMe.Migrations.SeedData { public class DefaultLanguagesCreator { public static List<ApplicationLanguage> InitialLanguages { get; private set; } private readonly ScotchMe...
33.709677
104
0.580383
[ "Apache-2.0" ]
YannTru/ScotchMe
ScotchMe.EntityFramework/Migrations/SeedData/DefaultLanguagesCreator.cs
2,111
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace DataTransferObjects.Requests { public class PredstavaUpsertRequest { [Required] public string Naziv { get; set; } public byte[] Slika { get; set; } [Required] public string Trajanj...
25.045455
54
0.640653
[ "MIT" ]
AdnanIT/eTeatar
eTeatar/DataTransferObjects/Requests/PredstavaUpsertRequest.cs
553
C#
using Astrarium.Algorithms; using Astrarium.Plugins.Eclipses.ImportExport; using Astrarium.Plugins.Eclipses.Types; using Astrarium.Types; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Drawing; using System.Drawing.Imaging; using System.Globalization; using System.IO...
48.901478
239
0.596504
[ "MIT" ]
AlexanderKrutov/ADK
Astrarium.Plugins.Eclipses/ViewModels/LunarEclipseVM.cs
19,857
C#
using System; namespace traVRsal.SDK { [Serializable] public class TMLayer { public TMChunk[] chunks; public string compression; public uint[] data; public string draworder; public string encoding; public int height; public int id; public str...
23.971429
44
0.570918
[ "MIT" ]
WetzoldStudios/traVRsal-sdk
Runtime/Construction/Tiled/TMLayer.cs
841
C#
using Unity.Animation; using Unity.Collections; using Unity.Entities; using Unity.Jobs; using Unity.Mathematics; using Unity.Physics.Systems; using Unity.Sample.Core; using Unity.Transforms; using UnityEngine.Profiling; public class RigAttacher { public struct AttachEntity : IComponentData { public En...
40.424051
158
0.56662
[ "MIT" ]
The-ULTIMATE-MULTIPLAYER-EXPERIENCE/Ultimate-Archery-Multiplayer-Unity-Game
DOTSSample-master/Assets/Unity.Sample.Game/Animation/RigAttacher.cs
6,389
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Net.Configuration; using Autodesk.DesignScript.Runtime; using DynaShape; using DynaShape.Goals; using DynaShape.GeometryBinders; namespace DynaShape.ZeroTouch { public static class Solver { public static DynaShape....
29.347826
74
0.540741
[ "MIT" ]
MostafaElAyoubi/DynaShape
DynaShape/ZeroTouch/Solver.cs
2,027
C#
using System.Collections.Generic; using System.Linq; using System.Data.Entity; using System.Threading.Tasks; using AutoMapper.QueryableExtensions; using MultiSAAS.Extensions; namespace MultiSAAS.Data { public class UserData { private readonly DbContext _context; public UserData() : this(new DbContext()) ...
28.645455
184
0.627737
[ "MIT" ]
hallbox/MultiSAAS
MultiSAAS.Data/UserData.cs
3,153
C#
using System; using ClickHouse.Client.Types.Grammar; using ClickHouse.Client.Utility; namespace ClickHouse.Client.Types { internal class DecimalType : ParameterizedType { public virtual int Precision { get; set; } public int Scale { get; set; } public override string Name => "Decimal...
33.690909
123
0.573664
[ "MIT" ]
2nnar/ClickHouse.Client
ClickHouse.Client/Types/DecimalType.cs
1,855
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...
27.582781
113
0.5491
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/MediaStoreData/Generated/Model/Item.cs
4,165
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...
43.544944
160
0.607276
[ "Apache-2.0" ]
sebtelko/pulumi-azure-native
sdk/dotnet/RecoveryServices/V20210210/ProtectionContainer.cs
7,751
C#
// Copyright (c) 2012, Michael Kunz. All rights reserved. // http://kunzmi.github.io/managedCuda // // This file is part of ManagedCuda. // // ManagedCuda is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundat...
45.60582
154
0.621469
[ "Apache-2.0" ]
TillAlex/managedCuda
CudaFFT/CudaFFTPlan3D.cs
34,490
C#
using BannerlordCheats.Settings; using HarmonyLib; using TaleWorlds.CampaignSystem; using TaleWorlds.CampaignSystem.SandBox.GameComponents.Map; namespace BannerlordCheats.Patches { [HarmonyPatch(typeof(DefaultCombatSimulationModel), nameof(DefaultCombatSimulationModel.SimulateHit))] public static class Always...
38
227
0.723684
[ "MIT" ]
adam-march/BannerlordCheats
Patches/Combat/AlwaysWinBattleSimulationPatch.cs
838
C#
using System; using System.Linq; using System.Threading.Tasks; using Illusive.Data; using Illusive.Database; using Illusive.Illusive.Core.Database.Interfaces; using Illusive.Models; using Illusive.Models.Extensions; using Illusive.Utility; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; usin...
39.515
133
0.577629
[ "MIT" ]
pippinmole/Illusive
Pages/ForumPost.cshtml.cs
7,905
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Jag.Spice.Interfaces.Models { using Newtonsoft.Json; using System.Collections; using System.Collections....
48.119565
3,839
0.684436
[ "Apache-2.0" ]
GeorgeWalker/SPD-SPICE
interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMactioncard.cs
17,708
C#
namespace Antijank.Interop { public enum FileDialogAddedPlace { Bottom, Top, } }
8.909091
36
0.642857
[ "MIT" ]
JoeFwd/MnB2-Bannerlord-CommunityPatch
tools/Antijank/Interop/FileDialogAddedPlace.cs
100
C#
using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using RoslynCodeTaskFactory.Internal; using RoslynCodeTaskFactory.Properties; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; usi...
44.486061
201
0.55102
[ "MIT" ]
binki/RoslynCodeTaskFactory
src/RoslynCodeTaskFactory/CodeTaskFactory.cs
36,703
C#
// See the LICENSE file in the project root for more information. using System; using System.IO; using System.Linq; using Microsoft.ML; using Microsoft.ML.Data; using Microsoft.ML.Runtime; using Microsoft.ML.Model; using Scikit.ML.PipelineHelper; namespace Scikit.ML.ProductionPrediction { /// <summary> /// ...
38.709877
116
0.598629
[ "MIT" ]
sdpython/machinelearningext
machinelearningext/ProductionPrediction/ValueMapperPredictionEngine.cs
6,273
C#
using Godo.Helper; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Godo { public class Kernel { // Section 0: Command Data public static byte[] RandomiseSection0(byte[] da...
40.849132
152
0.293067
[ "Apache-2.0" ]
Segachief/Godo
Godo/Kernel.cs
91,790
C#
using System.Reflection; using System.Resources; 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. [asse...
44.2
147
0.757164
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-Extended-NET-5.480
Source/Krypton Toolkit Suite Extended/Full Toolkit/Extended Controls/Properties/AssemblyInfo.cs
1,992
C#
using Microsoft.AspNetCore.WebHooks.Metadata; namespace TwitchLib.Webhook.Metadata { public class TwitchMetadata : WebHookMetadata, IWebHookBodyTypeMetadataService, IWebHookGetHeadRequestMetadata { public TwitchMetadata() : base(TwitchConstants.ReceiverName) { ...
27.565217
97
0.700315
[ "MIT" ]
LXGaming/TwitchLib.Webhook
src/TwitchLib.Webhook/Metadata/TwitchMetadata.cs
636
C#
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Reflection; using Avalonia.Collections; using Avalonia.Media; namespace Avalonia.Controls.Shapes { public abstract class S...
33.395415
128
0.530759
[ "MIT" ]
HendrikMennen/Avalonia
src/Avalonia.Controls/Shapes/Shape.cs
11,655
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.MarkdownLite { using System.Text.RegularExpressions; public class MarkdownEscapedTextInlineRule : IMarkdownRule { pu...
32.296296
120
0.65711
[ "MIT" ]
ghuntley/docfx
src/Microsoft.DocAsCode.MarkdownLite/Basic/InlineRules/MarkdownEscapedTextInlineRule.cs
874
C#
using BlueCloud.Extensions.Data; namespace BlueCloud.Extensions.Tests.Model { public class Artist { [DbField("ArtistId")] public long ArtistId { get; set; } [DbField("Name")] public string Name { get; set; } } }
18.5
42
0.598456
[ "MIT" ]
zenkimoto/bluecloud.extensions
BlueCloud.Extensions.Tests/Model/Artist.cs
261
C#
using System; public class CostumeHair { public string hair = string.Empty; public string hair_1 = string.Empty; public static CostumeHair[] hairsF; public static CostumeHair[] hairsM; public bool hasCloth; public int id; public string texture = string.Empty; public static void init() ...
38.320513
60
0.565741
[ "Apache-2.0" ]
ITALIA195/AoTTG-Mod
CostumeHair.cs
2,989
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://www.a...
43.905405
128
0.610957
[ "MIT" ]
stankovski/azure-sdk-tools
src/ServiceManagement/Services/Commands.Utilities/MediaServices/IMediaServicesClient.cs
3,178
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
44.34058
170
0.597483
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-NET-Core
Source/Truncated Namespaces/Source/Krypton Components/Krypton.Toolkit/Designers/KryptonCheckButtonActionList.cs
6,122
C#
namespace ZimLabs.TableCreator { /// <summary> /// The different supported table types /// </summary> public enum OutputType { /// <summary> /// The default table type /// </summary> Default, /// <summary> /// The table as markdown /// </summ...
19.625
53
0.475584
[ "MIT" ]
InvaderZim85/ZimLabs.TableCreator
ZimLabs.TableCreator/OutputType.cs
473
C#
using System.Threading.Tasks; using ChameleonForms.Tests.FieldGenerator; using NUnit.Framework; namespace ChameleonForms.Tests.ModelBinders.FlagsEnumModelBinderTests { [TestFixture(TypeArgs = new[]{typeof(TestFlagsEnum)})] [TestFixture(TypeArgs = new[]{typeof(TestFlagsEnum?)})] class FlagsEnumMode...
45.317073
172
0.639935
[ "MIT" ]
MRCollective/ChameleonForms
ChameleonForms.Tests/ModelBinders/FlagsEnumModelBinderTests/FlagsEnumModelBinderShould.cs
3,718
C#
using System.Collections.Generic; namespace Client.Event { public struct MaxCombo : IEventHandle { public int Level { get; } public MaxCombo(int level) { Level = level; } } }
16.642857
41
0.55794
[ "MIT" ]
Noname-Studio/ET
Unity/Assets/Scripts/Client/Event/MaxCombo.cs
235
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace CCHCMS.Repositories { public class DrugRepository { } }
14.909091
33
0.737805
[ "MIT" ]
imdrashedul/CCHCMS
CCHCMS/Repositories/DrugRepository.cs
166
C#
using FluentAssertions; using FunctionalTests.Base; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Diagnostics.HealthChecks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions.DependencyInjection; using System; using System.Net; using System.Thr...
34.059524
129
0.551555
[ "Apache-2.0" ]
697765/AspNetCore.Diagnostics.HealthChecks
test/FunctionalTests/HealthChecks.MySql/MySqlHealthCheckTests.cs
2,863
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...
39.153846
139
0.657171
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/DevOpsGuru/Generated/Model/AddNotificationChannelRequest.cs
3,056
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MediationFocus : MonoBehaviour { GameObject GameController; public float SuffleFrequency = 30.0f; public float BallDistance = 0.4f; public GameObject BallGlowing; public GameObject BallNormal; GameObject LocationObject; ...
31.073171
146
0.748823
[ "Apache-2.0" ]
petrutsi/mindtiervr
Assets/Scripts/RelaWorld/MediationFocus.cs
2,550
C#
using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Domain { /// <summary> /// AlipayMarketingCampaignDiscountBudgetQueryModel Data Structure. /// </summary> [Serializable] public class AlipayMarketingCampaignDiscountBudgetQueryModel : AopObject { /// <summary> ...
23.421053
76
0.640449
[ "MIT" ]
leixf2005/Alipay.AopSdk.Core
Alipay.AopSdk.Core/Domain/AlipayMarketingCampaignDiscountBudgetQueryModel.cs
453
C#
// <copyright file="AggregatedEventGeneratorCommonUt.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> using System.Collections.Generic; using System.Linq; using Microsoft.Azure.IoT.Agent.Core.EventGeneration; using Microsoft.Azure.IoT.Agent.Core.Tests.UnitTests; us...
37.988827
120
0.6075
[ "MIT" ]
Azure/Azure-IoT-Security-Agent-CS
src/Modules/Security/Tests/Common/UnitTests/AggregatedEventGeneratorCommonUT.cs
6,802
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Gicco.Module.Core.Extensions; using Gicco.Module.Reviews.Data; using Gicco.Module.Reviews.Models; using Gicco.Module.Reviews.ViewModels; using System.Linq; using System.Threading.Tasks; namespace Gicco.Module.Reviews.Controllers { [Area("R...
35.625
128
0.529825
[ "Apache-2.0" ]
dvbtham/gicco
src/Modules/Gicco.Module.Reviews/Areas/Reviews/Controllers/ReviewController.cs
4,277
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...
46.356164
227
0.708629
[ "Apache-2.0" ]
Murcho/aws-sdk-net
sdk/src/Services/IoTJobsDataPlane/Generated/_mobile/AmazonIoTJobsDataPlaneClient.cs
10,154
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.Threading; using System.Threading.Tasks; using StarkPlatform.Compiler.Host; using StarkPlatform.Compiler.Serialization; using Star...
42.287356
161
0.6215
[ "BSD-2-Clause", "MIT" ]
encrypt0r/stark
src/compiler/StarkPlatform.Compiler.Workspaces/FindSymbols/SyntaxTree/SyntaxTreeIndex_Persistence.cs
7,360
C#
using Newtonsoft.Json; using System; using System.Globalization; namespace RedFolder.ActivityTracker.Models { public class WeekActivity { private Week _week; public WeekActivity() { _week = new Week(); } public WeekActivity(int year, int weekNumber) ...
23.168421
67
0.527942
[ "MIT" ]
Red-Folder/activity-tracker-azure-function
RedFolder.ActivityTracker/Models/WeekActivity.cs
2,203
C#
using log4net; using System; using System.Collections.Generic; using System.Data.SQLite; using System.IO; using System.Reflection; using System.Text.RegularExpressions; using Vulnerator.Helper; using Vulnerator.Model.Object; namespace Vulnerator.Model.DataAccess { public class DatabaseInterface { DdlR...
47.093343
300
0.571424
[ "MIT" ]
Vulnerator/Vulnerator
Model/DataAccess/DatabaseInterface.cs
65,085
C#
using BookStore.Core.Messaging; using System; namespace BookStore.Domain.Commands { public class SetBookPrice : Command { public Guid BookId { get; set; } public decimal Price { get; set; } } }
18.666667
42
0.651786
[ "MIT" ]
fvilers/AspNetCqrsSample
BookStore/BookStore.Domain/Commands/SetBookPrice.cs
226
C#
using System; using System.Collections; using YamlDotNet.RepresentationModel; using NerdyMishka.Reflection; using NerdyMishka.Reflection.Extensions; using System.Collections.Generic; using System.Linq; using NerdyMishka.Text; using NerdyMishka.ComponentModel.DataAnnotations; using NerdyMishka.ComponentModel.ValueConver...
34.070352
118
0.473009
[ "Apache-2.0" ]
nerdymishka/gainz
dotnet/src/Extensions/Proto.Flex/YamlObjectReader.cs
13,560
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _6.Math_Power { class Program { static void Main(string[] args) { var number = long.Parse(Console.ReadLine()); var power = long.Parse(Console.R...
19.787879
57
0.523737
[ "MIT" ]
bingoo0/SoftUni-TechModule
Methods Defining and Calling Methods/6. Math Power/Program.cs
655
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace BAG.Common.Sitemap { public class SiteUrl { [XmlElement("loc")] public string Location { get; set; } [XmlElement("priority")] ...
29.192308
90
0.650856
[ "MIT" ]
BROCKHAUS-AG/ContentMonkee
MAIN/BAG.Common/Sitemap/SiteUrl.cs
761
C#
namespace Octokit.GraphQL.Model { using System; using System.Collections.Generic; using System.Linq.Expressions; using Octokit.GraphQL.Core; using Octokit.GraphQL.Core.Builders; /// <summary> /// The connection type for Commit. /// </summary> public class CommitConnection : Queryabl...
30.177778
112
0.611929
[ "MIT" ]
PEPE-net/octokit.graphql.net
Octokit.GraphQL/Model/CommitConnection.cs
1,358
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, ...
40.8125
68
0.749617
[ "MIT" ]
TFrascaroli/Json.Net.Unity3D
src/Newtonsoft.Json.Tests/TestObjects/GenericImpl.cs
1,306
C#
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt. using System; using System.IO; using System.Xml; namespace Sce.Atf { /// <summary> /// Localizes strings by looking for *.Localization.xml files in a .NET satellite assembly /// directory pattern. See the tool Localizab...
40.1
127
0.617207
[ "Apache-2.0" ]
T-rvw/LevelEditor
ATF/Framework/Atf.Core/SatelliteAssemblyStringLocalizer.cs
1,566
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
43.666667
153
0.670368
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IAndroidScepCertificateProfileManagedDeviceCertificateStatesCollectionPage.cs
1,441
C#
using UnityEngine; using System; public class PauseGame : MonoBehaviour { public Transform canvas; public static GM instance = null; // Update is called once per frame void Update() { if (Input.GetKeyDown(KeyCode.Escape)) { Pause(); } } ...
14.627907
57
0.515103
[ "MIT" ]
JasonMcTigue/GestureBasedUI
Assets/Scripts/PauseGame.cs
631
C#
// This file is Apache 2 licensed. Copy from: // https://github.com/ninject/ninject.extensions.azure/blob/master/src/Ninject.Extensions.Azure/NinjectRoleEntryPoint.cs // File has not been changed. // -------------------------------------------------------------------------------------------------------------------...
37.034483
151
0.545003
[ "MIT" ]
noocyte/UXBackgroundWorker
src/AzureWorkers/NinjectRoleEntryPoint.cs
3,222
C#
namespace _02.KingsGambit.Models { using System; public abstract class Soldier { protected Soldier(string name) { this.Name = name; } public string Name { get; } public abstract void KingUnderAttack(object sender, EventArgs e); } }
17.882353
73
0.585526
[ "MIT" ]
melikpehlivanov/CSharp-OOP-Advanced
Object Communication and Events - Exercise/02.KingsGambit/Models/Soldier.cs
306
C#
using System.Threading.Tasks; namespace Demo.WebApi.Services { public class Bcrypt : IHash { public Task<string> Make(string text) { var hash = BCrypt.Net.BCrypt.HashPassword(text); return Task.FromResult(hash); } public Task<bool> Verify(string text, ...
21.227273
62
0.573876
[ "MIT" ]
flaviogf/Exemplos
example_working_with_roles_at_asp_net_core/Demo/Demo.WebApi/Services/Bcrypt.cs
469
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using StardewValley; namespace Pathoschild.Stardew.DataMaps.Framework { /// <summary>Simplifies access to the game's sprite sheets.</summary> /// <remarks>Each sprite is represented by a rectangle, which specifies the coordinates and dimen...
42.804348
150
0.635348
[ "MIT" ]
CrimsonTautology/StardewMods
DataMaps/Framework/Sprites.cs
1,971
C#
using MongoDB.Bson; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TindevApp.Backend.Models; namespace TindevApp.Backend.Repositories.Mongo { internal static class IMongoDatabaseExtensions { internal stati...
28.84
116
0.742025
[ "MIT" ]
bootcamp-bbq/r-tindev-poc1
Tindev/src/TindevApp.Backend/Repositories/Mongo/IMongoDatabaseExtensions.cs
723
C#
/* © Siemens AG, 2017-2018 Author: Dr. Martin Bischoff (martin.bischoff@siemens.com) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at <http://www.apache.org/licenses/LICENSE-2.0>. Unless required by...
34.869565
120
0.62448
[ "Apache-2.0" ]
UM-ARM-Lab/unity_victor_teleop
Assets/RosSharp/Scripts/Extensions/TransformExtensions.cs
4,815
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("")] [assembly: AssemblyDescription("")] [a...
37.942857
84
0.740211
[ "Unlicense" ]
adammartinez271828/MechEngineer
source/AssemblyInfo.cs
1,331
C#
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace Mozart.Payment.Demo { public partia...
24.48
81
0.385621
[ "Apache-2.0" ]
zhenghua75/WeiXinEasy
Mozart/Payment/Demo/AliWapPayCallBackDemo.aspx.designer.cs
804
C#
using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace UtilityBot.Services.Data { public class TagContext : DbContext { public TagContext(DbContextOptions<TagContext> options) : b...
27.55
83
0.637931
[ "ISC" ]
SindreMA/AutoChat
AutoChat/Services/Data/TagContext.cs
1,104
C#
namespace BusTickets.Models { public class Ticket { private Ticket() { } public Ticket(decimal price, string seat, Customer customer, Trip trip) { this.Price = price; this.Seat = seat; this.Customer = customer; this.Trip =...
21.333333
79
0.5125
[ "MIT" ]
RAstardzhiev/SoftUni-C-
Databases Advanced - Entity Framework Core/Best Practices and Architecture/BusTickets/BusTickets.Models/Ticket.cs
642
C#
using System; using System.ComponentModel; using _RowPropertiesChanged_ = m3u8.download.manager.models.LogListModel.RowPropertiesChangedEventHandler; using M = System.Runtime.CompilerServices.MethodImplAttribute; using O = System.Runtime.CompilerServices.MethodImplOptions; namespace m3u8.download.manager.models { ...
51.6
165
0.719823
[ "MIT" ]
zamgi/m3u8
m3u8.download.manager/Avalonia/Model/LogRow.cs
3,614
C#
#if !NETSTANDARD13 /* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 ...
34.892857
132
0.647646
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Macie2/Generated/Model/_bcl45+netstandard/Macie2PaginatorFactory.cs
3,908
C#
using System; #if FEATURE_BINARY_SERIALIZATION using System.Runtime.Serialization; #endif // FEATURE_BINARY_SERIALIZATION namespace Renci.SshNet.Common { /// <summary> /// The exception that is thrown when a proxy connection cannot be established. /// </summary> #if FEATURE_BINARY_SERIALIZATION [Seri...
37.258621
146
0.633966
[ "MIT" ]
iodes/SSH.NET
src/Renci.SshNet/Common/ProxyException.cs
2,163
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Reflection; using System.Runtime.Serialization; using System.Web.Http; using System.Web.Http.Description; using System.Xml...
42.325942
167
0.579129
[ "MIT" ]
programulya/ImagesDownloader
ImagesDownloader/Areas/HelpPage/ModelDescriptions/ModelDescriptionGenerator.cs
19,089
C#
using ApiCatalogoJogos.inputModel; using ApiCatalogoJogos.Services; using ApiCatalogoJogos.ViewModel; using ApiCatalogoJogos.Entities; using ApiCatalogoJogos.Exceptions; using ApiCatalogoJogos.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ApiC...
27.561983
86
0.550525
[ "Apache-2.0" ]
braziltaiany/Bootcamp-Decola-Tech
ApiCatalogoJogos/ApiCatalogoJogos/Services/JogoService.cs
3,337
C#
using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace LinqToDB.Linq.Builder { using System; using Extensions; using LinqToDB.Expressions; using Mapping; using Common; class LoadWithBuilder : MethodCallBuilder { public static rea...
28.895238
136
0.659416
[ "MIT" ]
AndreyAndryushinPSB/linq2db
Source/LinqToDB/Linq/Builder/LoadWithBuilder.cs
8,790
C#
/* // <copyright> // dotNetRDF is free and open source software licensed under the MIT License // ------------------------------------------------------------------------- // // Copyright (c) 2009-2020 dotNetRDF Project (http://dotnetrdf.org/) // // Permission is hereby granted, free of charge, to any person obtainin...
42.680386
337
0.500196
[ "MIT" ]
blackwork/dotnetrdf
Libraries/dotNetRDF/Query/SPARQLExpressionParser.cs
66,368
C#
// Copyright (c) 2015 Bartlomiej Wolk (bartlomiejwolk@gmail.com) // // This file is part of the Health extension for Unity. Licensed under the MIT // license. See LICENSE file in the project root folder. using UnityEditor; using UnityEngine; namespace HealthEx.DamageComponent { [CustomEditor(typeof (Damage))] ...
25.988636
78
0.590293
[ "MIT" ]
bartlomiejwolk/Health
DamageComponent/Editor/DamageEditor.cs
2,289
C#
/* Problem: https://www.hackerrank.com/challenges/camelcase/problem C# Language Version: 6.0 .Net Framework Version: 4.7 Tool Version : Visual Studio Community 2017 Thoughts : 1. Keep a counter initialized at 1. 2. We need to iterate the entire string chracter by ...
34.090909
123
0.626667
[ "MIT" ]
4ngelica/HackerRank
Algorithms/Strings/camelCase/Solution.cs
1,500
C#
using System; using System.Linq; using System.Threading.Tasks; using Abp.Dependency; namespace TestProject.Authentication.External { public class ExternalAuthManager : IExternalAuthManager, ITransientDependency { private readonly IExternalAuthConfiguration _externalAuthConfiguration; private r...
38.666667
119
0.69023
[ "MIT" ]
antboj/TestProject
aspnet-core/src/TestProject.Web.Core/Authentication/External/ExternalAuthManager.cs
1,742
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using Microsoft.Dynamics365.UIAutomation.Api; using Microsoft.Dynamics365.UIAutomation.Browser; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Secur...
39.644068
140
0.624626
[ "MIT" ]
operep/Easy-Repro-Example
Microsoft.Dynamics365.UIAutomation.Sample/Web/Dialogs/DuplicateDetection.cs
2,341
C#
/* Copyright 2017 Cimpress 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 to in writing, software distribute...
28.866667
96
0.525635
[ "Apache-2.0" ]
sizilium/Mosaic.Infrastructure
src/Infrastructure/StringExtensions.cs
2,165
C#
using System; using System.Data; using System.Web.Security; using umbraco.BusinessLogic; using umbraco.DataLayer; using umbraco.BasePages; using Umbraco.Core.IO; using umbraco.cms.businesslogic.member; namespace umbraco { public class MemberTypeTasks : interfaces.ITaskReturnUrl { private...
22.77027
113
0.512166
[ "MIT" ]
gildebrand/Umbraco-CMS
src/Umbraco.Web/umbraco.presentation/umbraco/create/MemberTypeTasks.cs
1,685
C#
using GraphQL.Types; namespace GraphQL.Relay.Types { public class QueryGraphType : ObjectGraphType { public QueryGraphType() { Name = "Query"; Field<NodeInterface>() .Name("node") .Description("Fetches an object given its global Id") ...
29.607143
93
0.587455
[ "MIT" ]
BillBaird/relay
src/GraphQL.Relay/Types/QueryGraphType.cs
831
C#
using TheBitCave.MMToolsExtensions.AI.Graph; using UnityEditor; using XNodeEditor; namespace TheBitCave.TopDownEngineExensions.AI.Graph { [CustomNodeEditor(typeof(AIDecisionDetectTargetRadius3DNode))] public class AIDecisionDetectTargetRadius3DNodeEditor : AIDecisionNodeEditor { private Serialized...
46.459459
92
0.734148
[ "MIT" ]
ko1nkgw/ai-brain-extensions-for-topdown-engine
Common/Scripts/AI/Graph/Decisions/Editor/AIDecisionDetectTargetRadius3DNodeEditor.cs
1,721
C#
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6365, generator: {generator}) // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Commvault.Powershell.Models { using Commvault.Powershell.Runtime.PowerShell; /// <summary>Create a hypervisor g...
86.157895
410
0.742593
[ "MIT" ]
Commvault/CVPowershellSDKV2
generated/api/Models/CreateHypervisorGroupXen.PowerShell.cs
13,096
C#
using GigHub.Models; using System.Collections.Generic; namespace GigHub.ViewModels { public class FolloweesViewModel { public List<ApplicationUser> Artists { get; set; } } }
19.5
58
0.707692
[ "MIT" ]
gspolima/GigHub
GigHub/ViewModels/FolloweesViewModel.cs
197
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.Collections.Generic; using System.Collections.Specialized; using System.Security.Claims; using System.Threading.Tasks; using Flu...
42.394737
122
0.638858
[ "Apache-2.0" ]
AaqibAhamed/IdentityServer4
src/IdentityServer4/test/IdentityServer.UnitTests/Validation/EndSessionRequestValidation/EndSessionRequestValidatorTests.cs
8,057
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Net.Http; namespace DataFlowAPI.Tests { [TestClass] public class APITest { [TestMethod] public void APIGetJobStatusLocal() { var client = new HttpClient(); } } }
17.823529
51
0.623762
[ "MIT" ]
liarjo/Data-Flow-Manager
DataFlowAPI.Tests/APITest.cs
305
C#
using System.ComponentModel.DataAnnotations; namespace ApartmanWeb.Models.AccountViewModels { public class LoginWith2faViewModel { [Required] [StringLength(7, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)] [DataType(DataType.Text)] ...
30
123
0.647368
[ "MIT" ]
kfugosic/Apartment-Web-App
ApartmanWeb/Models/AccountViewModels/LoginWith2faViewModel.cs
572
C#
using System; using System.Collections.Generic; using TramsDataApi.DatabaseModels; using TramsDataApi.RequestModels; namespace TramsDataApi.ResponseModels { public class AcademyTransferProjectResponse { public string ProjectUrn { get; set; } public string ProjectNumber { get; set; } ...
48.689655
96
0.733711
[ "MIT" ]
DFE-Digital/trams-data-api
TramsDataApi/ResponseModels/AcademyTransferProjectResponse.cs
1,412
C#
using Microsoft.Azure.Management.Compute.Fluent.Models; using Microsoft.Azure.Management.Fluent; using Microsoft.Azure.Management.ResourceManager.Fluent; using Microsoft.Azure.Management.ResourceManager.Fluent.Core; namespace az203labs.vm_provision { class Program { static void Main(string[] args) ...
42.342857
115
0.608974
[ "MIT" ]
ahmad-luqman/az-203-practice-labs
src/1-develop-iaas-solution/vm/csharp/vm-provision/Program.cs
2,966
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> //--...
43.5
176
0.613147
[ "MIT" ]
FrejBjornsson/C-sharp-LOCK
Properties/Resources.Designer.cs
2,786
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.Threading; using System.Threading.Tasks; namespace Contoso.GameNetCore.Proto.Features { /// <summary> /// Feature to star...
31.25
112
0.6688
[ "Apache-2.0" ]
bclnet/GameNetCore
src/Proto/Proto.Features/src/IHttpResponseStartFeature.cs
625
C#
// Author: // Brian Faust <brian@ark.io> // // Copyright (c) 2018 Ark Ecosystem <info@ark.io> // // 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 withou...
34.26
86
0.687682
[ "MIT" ]
supaiku0/dotnet-crypto
ArkEcosystem.Crypto/ArkEcosystem.Crypto/ArkEcosystem.Crypto/Networks/Testnet.cs
1,713
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
14.527845
64
0.510833
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-bssopenapi/BssOpenApi/Model/V20171214/QueryAvailableInstancesResponse.cs
6,000
C#
// Copyright (c) Richasy. All rights reserved. using System.ComponentModel; using Richasy.Bili.ViewModels.Uwp; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace Richasy.Bili.App.Controls { /// <summary> /// 应用标题栏. /// </summary> public sealed partial class AppTitleBar : UserControl ...
31.217949
147
0.596304
[ "MIT" ]
Caseming/Bili.Uwp
src/App/Controls/App/AppTitleBar.xaml.cs
2,465
C#
using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Domain { /// <summary> /// KoubeiMerchantOperatorModifyModel Data Structure. /// </summary> [Serializable] public class KoubeiMerchantOperatorModifyModel : AopObject { /// <summary> /// 授权码 /// </summa...
24.188235
62
0.499027
[ "MIT" ]
ArcherTrister/LeXun.Alipay.AopSdk
src/Alipay.AopSdk/Domain/KoubeiMerchantOperatorModifyModel.cs
2,162
C#
//*********************************************************// // Copyright (c) Microsoft. All rights reserved. // // Apache 2.0 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 to in writing,...
43.54902
198
0.671769
[ "MIT" ]
Muraad/VisualRust
Microsoft.VisualStudio.Project/Wpf/LabelledControl.cs
2,223
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using DotNetCore.Security; using LinCms.Aop.Attributes; using LinCms.Entities; using LinCms.Exceptions; using LinCms.IRepositories; namespace LinCms.Cms.Users { public class UserIdentityService : ApplicationService, I...
38.458333
147
0.656555
[ "MIT" ]
KribKing/lin-cms-dotnetcore
src/LinCms.Application/Cms/Users/UserIdentityService.cs
3,754
C#