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
// *** 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...
49.297619
509
0.643202
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DocumentDB/Latest/SqlResourceSqlUserDefinedFunction.cs
8,282
C#
 using System.Collections.Generic; using IdentityServer4.Models; namespace IdentityServer { public class Config { private const string ClientUsername = "WidgetClient"; private const string ClientPassword = "p@ssw0rd"; private const string ClientResource = "widgetapi"; // scopes define the API resourc...
24.976744
65
0.586592
[ "Apache-2.0" ]
jamesstill/ApiMultAuthSchemes
IdentityServer/Config.cs
1,076
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Game.Beatmaps; using osu.Game.Rulesets.Edit.Checks.Components; namespace osu.Game.Rulesets.Edit.Checks { public ...
34.4375
110
0.602995
[ "MIT" ]
RocketMaDev/osu
osu.Game/Rulesets/Edit/Checks/CheckFilePresence.cs
2,171
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/wingdi.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
37.285714
145
0.717241
[ "MIT" ]
reflectronic/terrafx.interop.windows
tests/Interop/Windows/Windows/um/wingdi/BITMAPCOREHEADERTests.cs
1,307
C#
using BookStore.EntityFrameworkCore; using Volo.Abp.Autofac; using Volo.Abp.BackgroundJobs; using Volo.Abp.Modularity; namespace BookStore.DbMigrator; [DependsOn( typeof(AbpAutofacModule), typeof(BookStoreEntityFrameworkCoreModule), typeof(BookStoreApplicationContractsModule) )] public class BookStor...
27
93
0.788889
[ "MIT" ]
realLiangshiwei/Lsw.Abp.AntDesignUI
samples/BookStore/src/BookStore.DbMigrator/BookStoreDbMigratorModule.cs
542
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Globalization; using System.IO; using System.Runtime.Serialization; using System.Threading; using SQLite; using WPCordovaClassLib.Cordova; using WPCordovaClassLib.Cordova.Commands; using WPCordovaClassLib.Cordova.JSON; ...
36.391645
200
0.438836
[ "MIT" ]
mbamobi/Cordova-sqlite-storage
src/wp/SQLitePlugin.cs
27,876
C#
#if !NETSTANDARD13 /* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 ...
33.425
108
0.673149
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/CodeBuild/Generated/Model/_bcl45+netstandard/IListReportsForReportGroupPaginator.cs
1,337
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Panosen.CodeDom.Tag.Vue.Vuetify { public class VCheckboxComponent : VueComponent { public override string Name { get; set; } = "v-checkbox"; public VCheckboxComponent ...
23.236842
65
0.582106
[ "MIT" ]
panosen/panosen-codedom-tag-vue
Panosen.CodeDom.Tag.Vue.Vuetify/VCheckboxComponent.cs
885
C#
// <copyright file="PasswordPolicyPasswordSettingsComplexity.Generated.cs" company="Okta, Inc"> // Copyright (c) 2014 - present Okta, Inc. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. // </copyright> // This file was automatically...
29.324675
126
0.558459
[ "Apache-2.0" ]
Christian-Oleson/okta-sdk-dotnet
src/Okta.Sdk/Generated/PasswordPolicyPasswordSettingsComplexity.Generated.cs
2,258
C#
using Sushi.Mediakiwi.Data.MicroORM; using Sushi.MicroORM.Mapping; using System; using System.Threading.Tasks; namespace Sushi.Mediakiwi.Data { [DataMap(typeof(EnvironmentVersionMap))] public class EnvironmentVersion : IEnvironmentVersion { public class EnvironmentVersionMap : DataMap<EnvironmentV...
31.988506
84
0.598635
[ "MIT" ]
Supershift/Sushi.Mediakiwi
src/Sushi.Mediakiwi.Data/Data/EnvironmentVersion.cs
2,785
C#
using System; using System.Collections.Generic; using System.Dynamic; using System.Globalization; using System.Threading.Tasks; using IndependentReserve.DotNetClientApi.Data; using IndependentReserve.DotNetClientApi.Data.Limits; using IndependentReserve.DotNetClientApi.Withdrawal; namespace IndependentReserv...
47.766595
279
0.633956
[ "Apache-2.0" ]
independentreserve/dotNetApiClient
src/DotNetClientApi/Client.cs
66,923
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MazeGame1M : MonoBehaviour { // Start is called before the first frame update public void Start() { Application.LoadLevel("MazeGame1"); } }
17.4
52
0.701149
[ "MIT" ]
melekzurnaci/MazeGame
Assets/MazeGame/MazeGame1M.cs
263
C#
using System; using System.Collections.Generic; using GameEngine.Info; using GameEngine.Shaders; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Some2DRPG.GameObjects.Misc; namespace Some2DRPG.Shaders { public enum LightPositionType { Fixed, Rela...
39.072368
170
0.57215
[ "MIT" ]
MichaelAquilina/Some-2D-RPG
Some2DRPG/Some2DRPG/Shaders/LightShader.cs
5,941
C#
using UnityEngine; using System.Collections; using System.Text; using UnityEngine.UI; // Needed ////////////////////////////////////////////////// using HoloLensXboxController; /////////////////////////////////////////////////////////// public class XboxControllerInput : MonoBehaviour { // Needed ///////////...
44.086667
172
0.611598
[ "MIT" ]
cairo-robotics/ar-for-lfd
Assets/XboxControllerInput.cs
13,232
C#
/* Copyright 2015-present MongoDB 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 to in wri...
29.283333
96
0.612408
[ "MIT" ]
13294029724/ET
Server/ThirdParty/MongoDBDriver/MongoDB.Driver/Linq/Processors/Transformers/EqualsAnyBooleanTransformer.cs
1,757
C#
using Microsoft.AspNetCore.Mvc.ModelBinding; using OrchardCore.Sitemaps.Models; namespace OrchardCore.Sitemaps.ViewModels { public class EditSourceViewModel { public string SitemapId { get; set; } public string SitemapSourceId { get; set; } public dynamic Editor { get; set; } [...
23.352941
56
0.677582
[ "BSD-3-Clause" ]
1051324354/OrchardCore
src/OrchardCore.Modules/OrchardCore.Sitemaps/ViewModels/EditSourceViewModel.cs
397
C#
using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; using Xamarin.Forms; namespace WorkingWithColors.iOS { [Register ("AppDelegate")] public partial class AppDelegate : UIApplicationDelegate { UIWindow window; public override bool FinishedLau...
18.967742
82
0.744898
[ "Apache-2.0" ]
MindUnlimited/xamarin-forms-samples
WorkingWithColors/iOS/AppDelegate.cs
590
C#
// Copyright (c) 2006, Gustavo Franco // Email: gustavo_franco@hotmail.com // All rights reserved. // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // Redistributions of source code must retain the above...
26.421053
93
0.57282
[ "MIT" ]
ambiesoft/ClipimageToFile
ClipimageToFile/Customs/structs.cs
4,518
C#
// dnlib: See LICENSE.txt for more info using System; using System.Reflection; using dnlib.DotNet.Writer; namespace dnlib.DotNet { /// <summary> /// <see cref="ILogger"/> events /// </summary> public enum LoggerEvent { /// <summary> /// An error was detected. An exception should normally be thrown but the err...
39.573394
190
0.655094
[ "MIT" ]
lkmvip/dnlib
src/DotNet/ILogger.cs
17,254
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.22000.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.DirectX; ...
54.9
162
0.789617
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/DirectX/um/d3d12/D3D12_COMMAND_QUEUE_PRIORITY.cs
1,100
C#
using System; using System.Collections.Generic; using System.Text; namespace Marimo.LinqToDejizo { public class RequestEventArgs : EventArgs { public Uri Uri { get; set; } } }
16.5
45
0.686869
[ "BSD-2-Clause" ]
potimarimo/LinqToDejizo
LinqToDejizo/RequestEventArgs.cs
200
C#
namespace Bookstore.Models.Api.Books { public class AllBooksApiRequestModel { public string Author { get; set; } public string SearchTerm { get; set; } public BookSorting Sorting { get; set; } public int CurrentPage { get; set; } = 1; public int BooksPerPage { get; s...
21.388889
51
0.594805
[ "MIT" ]
yordanov1/Bookstore
Bookstore/Models/Api/Books/AllBooksApiRequestModel.cs
387
C#
using System; using System.Xml.Serialization; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Access level of a flexible seating host /// </summary> [Serializable] [XmlRoot(Namespace = "")] public enum FlexibleSeatingHostAccessLevel { [XmlEnum(Name = "Enterprise")] ...
20.736842
47
0.616751
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/FlexibleSeatingHostAccessLevel.cs
394
C#
namespace JXC { partial class frmReg { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="d...
42.096552
107
0.560288
[ "MIT" ]
zhupangithub/WEBERP
Code/ErpCode/JXC/frmReg.Designer.cs
6,134
C#
using System.Collections.Generic; using System.Threading.Tasks; using BugTracker.API.Data; using BugTracker.API.Interfaces; using BugTracker.API.Models; using Microsoft.EntityFrameworkCore; namespace BugTracker.API.Implementation { public class TeamRepository : ITeamRepository { private readonly DataCo...
28.642857
102
0.659601
[ "MIT" ]
dejanvujkov/BugTracker
BugTracker.API/Implementation/TeamRepository.cs
802
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.96875
191
0.615849
[ "Apache-2.0" ]
2coder/XamlStyler
src/XamlStyler.Extension.Windows/Resources.Designer.cs
2,816
C#
using System; using System.IO; using System.Security.Cryptography; namespace Senparc.Ncf.Utility { // // Sample encrypt/decrypt functions // Parameter checks and error handling // are ommited for better readability // @author:Ashwin Kumar // Date : 12/3/2008 public class AESEncryptionUtili...
48.979228
98
0.576578
[ "Apache-2.0" ]
NeuCharFramework/NcfPackageSources
src/Basic/Senparc.Ncf.Utility/AESEncryptionUtility.cs
16,508
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace LagoVista.GitHelper { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial...
23.892857
134
0.686099
[ "MIT" ]
LagoVista/GitHelper
src/App.xaml.cs
671
C#
using LocalAppVeyor.Engine.Configuration; using LocalAppVeyor.Engine.IO; namespace LocalAppVeyor.Engine.Internal.Steps { internal class InstallStep : ScriptBlockExecuterStep { public InstallStep(FileSystem fileSystem, string workigDirectory, ScriptBlock scriptBlock) : base(fileSystem, wor...
26.785714
99
0.722667
[ "MIT" ]
jbenden/LocalAppVeyor
src/LocalAppVeyor.Engine/Internal/Steps/InstallStep.cs
377
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Razor.TagHelpers; namespace Scorpio.AspNetCore.TagHelpers.Card { /// <summary> /// /// </summary> [HtmlTargetElement("card-group")] [RestrictChildren("card")] public class CardGroupTagHelper : TagHelper { /// <summary> ...
25.821429
91
0.57953
[ "MIT" ]
project-scorpio/Scorpio
src/aspnetcore/src/Scorpio.AspNetCore.UI.Bootstrap/Scorpio/AspNetCore/TagHelpers/Card/CardGroupTagHelper.cs
725
C#
using System; using System.Collections.Generic; using MackySoft.XPool.Internal; namespace MackySoft.XPool.ObjectModel { /// <summary> /// Provides basic features of pool. /// </summary> public abstract class PoolBase<T> : IPool<T> { readonly int m_Capacity; readonly Queue<T> m_Pool; #if !XPOOL_OPTIMIZE re...
26.446154
170
0.664631
[ "MIT" ]
mackysoft/XPool
Assets/MackySoft/MackySoft.XPool/Runtime/ObjectModel/PoolBase.cs
3,438
C#
using System; using System.Collections.Generic; using System.Linq; using Cassette.BundleProcessing; using Cassette.IO; using Cassette.Scripts; using Cassette.Stylesheets; using Moq; using Should; using Xunit; namespace Cassette { public abstract class ReferenceBuilder_Reference_TestBase { ...
39.237762
173
0.600903
[ "MIT" ]
DanielWare/cassette
src/Cassette.UnitTests/ReferenceBuilder.cs
16,835
C#
using System.Configuration; using System.Data.Services.Client; using System.Web.Security; using VeraWAF.AzureQueue; using VeraWAF.AzureTableStorage; using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.StorageClient; using System; using System.Globalization; using System.Text; using System.IO; using System.Web; ...
53.369748
183
0.673516
[ "ECL-2.0", "Apache-2.0" ]
SysSurge/vera
BusinessLogicLib/InitApplication.cs
25,406
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.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Linq.Expressions; using Microsoft.EntityFramewo...
43.826772
145
0.640676
[ "Apache-2.0" ]
Alecu100/EntityFrameworkCore
src/EFCore/Query/ExpressionVisitors/Internal/EagerLoadingExpressionVisitor.cs
5,568
C#
//****************************************************************************************************** // AssemblyInfo.cs - Gbtc // // Copyright © 2013, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // th...
44.123077
105
0.666667
[ "MIT" ]
QuarkSoftware/gsf
Source/Libraries/Tests/GSF.Core.Tests/Properties/AssemblyInfo.cs
2,872
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Xamarin.Forms; namespace XamlCSS.XamarinForms.TestApp { public class ToColorTriggerAction : TriggerAction<VisualElement> { public static Task<bool> ColorTo(VisualElement self, Color fromColor, Color toColor, A...
42
160
0.600221
[ "MIT" ]
bilsaboob/XamlCSS
XamlCSS.XamarinForms.TestApp/XamlCSS.XamarinForms.TestApp/ToColorTriggerAction.cs
1,808
C#
using FluentAvalonia.UI.Controls; using Nickvision.Avalonia.Extensions; using Nickvision.Avalonia.Models; using Nickvision.Avalonia.MVVM; using Nickvision.Avalonia.MVVM.Commands; using Nickvision.Avalonia.MVVM.Services; using Nickvision.Avalonia.Update; using NickvisionTubeConverter.Extensions; using NickvisionTubeCon...
47.375415
319
0.605891
[ "MIT" ]
nlogozzo/NickvisionTubeConverter
NickvisionTubeConverter/ViewModels/MainWindowViewModel.cs
14,262
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.CSharp.RuntimeBinder; namespace DynamicProgrammingAlgorithms { //Magic Sum = n(n^2+1)/2 class MagicSquareForOddSizes { // method returns magicSum accordin...
26.674419
83
0.437663
[ "MIT" ]
SabitKondakci/DynamicProgramming
MagicSquareForOddSizes.cs
1,149
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nums1To20 { class Program { static void Main(string[] args) { for(int i = 1; i<= 20; i++) { Console.WriteLine(i); } ...
16.9
39
0.526627
[ "MIT" ]
yani-valeva/Programming-Basics
FirstStepInCoding/Nums1To20/Program.cs
340
C#
// *********************************************************************** // Copyright (c) 2015 Charlie Poole // // 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, incl...
39.732143
92
0.635056
[ "MIT" ]
JetBrains/nunit
src/NUnitEngine/nunit.engine.api/Extensibility/ExtensionPropertyAttribute.cs
2,227
C#
using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Attributes.Columns; using BenchmarkDotNet.Order; using CsvHelper; using MapReduce.Net.Impl; using MapReduce.Net.Test; u...
45.744526
182
0.62869
[ "Apache-2.0" ]
mayuanyang/MapReduce.Net
test/MapReduce.Net.Benchmark/WaveDataAvgBenchmark5065RecordsSplitTo2Chunk.cs
6,269
C#
using NPOI.SS.Formula.Eval; using NPOI.Util; using System; namespace NPOI.SS.Formula.Functions { public class Sumproduct : Function { public ValueEval Evaluate(ValueEval[] args, int srcCellRow, int srcCellCol) { int num = args.Length; if (num < 1) { return ErrorEval.VALUE_INVALID; } ValueEval ...
24.3
101
0.630864
[ "MIT" ]
iNeverSleeeeep/NPOI-For-Unity
NPOI.SS.Formula.Functions/Sumproduct.cs
4,860
C#
using Dasync.Collections; using MQTTnet; using MQTTnet.Client; using MQTTnet.Client.Options; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Th...
47.226541
266
0.52719
[ "BSD-3-Clause" ]
SpencerConstance/fbchat-sharp
fbchat-sharp/API/Client.cs
219,936
C#
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com // ReSharper disable CheckNamespace // ReSharper disable ClassNeverInstantiated.Global // ReSharper disable CommentTypo // ReSharper disable IdentifierTypo //...
30.5
84
0.720449
[ "MIT" ]
amironov73/ManagedIrbis5
Source/Libs/AM.Win32/Source/Gdi32/AbortProc.cs
1,161
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CrmCodeGenerator.VSPackage.Helpers { public class EntityHelper { public static string[] NonStandard = new string[] { "applicationfile" ...
73.973333
147
0.565249
[ "MIT" ]
AngelRodriguez8008/CrmCodeGenerator
CrmCodeGenerator.VSPackage/Helpers/EntityHelper.cs
5,550
C#
using Microsoft.Extensions.Logging; using PnP.Core.Model.Security; using PnP.Core.QueryModel; using PnP.Core.Services; using PnP.Core.Services.Core.CSOM.Requests.ListItems; using PnP.Core.Services.Core.CSOM.Utils; using PnP.Core.Services.Core.CSOM.Utils.Model; using System; using System.Collections.Generic; using Syst...
40.435233
217
0.597459
[ "MIT" ]
PaoloPia/pnpcore
src/sdk/PnP.Core/Model/SharePoint/Core/Internal/ListItem.cs
54,630
C#
using UnityEngine; using System.Collections; using Assets.Gamelogic.Utils; using Improbable; using Improbable.Core; using Improbable.Unity; using Improbable.Unity.Core; using Improbable.Unity.Visualizer; namespace Assets.Gamelogic.Core { /// <summary> /// Regularly notifies the simulation manager entity that ...
33.119048
141
0.687994
[ "MIT" ]
teostoleru/SpatialLink
workers/unity/Assets/Gamelogic/Core/SendPlayerConnectionHeartbeatBehaviour.cs
1,393
C#
using System; using System.Collections.Generic; using System.Net; using System.Threading.Tasks; using Bet.AspNetCore.Resilience.UnitTest.ResilienceTypedClient.Clients; using Bet.Extensions.Http.MessageHandlers; using Bet.Extensions.Resilience.Abstractions.DependencyInjection; using Bet.Extensions.Testing.Logging; usi...
35.739583
103
0.656077
[ "MIT" ]
kdcllc/Bet.Extensions.Resilience
test/Bet.AspNetCore.Resilience.UnitTest/ResilienceTypedClient/ResilienceHttpClientTests.cs
3,431
C#
namespace PackDB.FileSystem.OS { public interface IDirectory { string[] GetFiles(string path, string fileExtension); } }
20.142857
61
0.673759
[ "MIT" ]
TechLiam/PackDB.FileSystem
PackDB.FileSystem/OS/IDirectory.cs
143
C#
using System.Collections; using System.Collections.Generic; using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.CollectionsGeneric; namespace NetOffice.WordApi { /// <summary> /// DispatchInterface StoryRanges /// SupportByVersion Word, 9,10,11,1...
33.06383
166
0.686229
[ "MIT" ]
NetOfficeFw/NetOffice
Source/Word/DispatchInterfaces/StoryRanges.cs
7,772
C#
/* * LUSID API * * # Introduction This page documents the [LUSID APIs](https://www.lusid.com/api/swagger), which allows authorised clients to query and update their data within the LUSID platform. SDKs to interact with the LUSID APIs are available in the following languages and frameworks: * [C#](https://github....
219.054878
29,340
0.681893
[ "MIT" ]
bogdanLicaFinbourne/lusid-sdk-csharp-preview
sdk/Lusid.Sdk/Model/UpdateInstrumentIdentifierRequest.cs
35,925
C#
using DogeBeats.EngineSections.Shared; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Testowy.Model { public class Placement { public float X { get; set; } public float Y { get;...
37.323529
148
0.642238
[ "MIT" ]
Kojo0888/DogeBeats
DogeBeats/DogeBeatsCore/EngineSections/TimeLines/Placement.cs
2,540
C#
using System.IO; namespace std_msgs.msg { /** * * Topic data type of the struct "Int32" defined in "Int32.idl". Use this class to provide the TopicDataType to a Participant. * * This file was automatically generated from Int32.idl by com.halodi.idl.generator.IDLCSharpGenerator. * Do not update this file directly, e...
24
126
0.687771
[ "Apache-2.0" ]
AHGOverbeek/halodi-messages
halodi-messages-unity-support/Packages/halodi-messages/Runtime/std_msgs/msg/Int32PubSubType.cs
1,848
C#
using System; using System.Security.Principal; namespace MediatR.CommandQuery.Commands { public class EntityUpsertCommand<TKey, TUpdateModel, TReadModel> : EntityModelCommand<TUpdateModel, TReadModel> { public EntityUpsertCommand(IPrincipal principal, TKey id, TUpdateModel model) : base(princi...
26.681818
110
0.632027
[ "MIT" ]
loresoft/MediatR.CommandQuery
src/MediatR.CommandQuery/Commands/EntityUpsertCommand.cs
589
C#
using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace BlazingPizza.Server { [Route("notifications")] [ApiController] [Authorize] public class NotificationsController : Controller { private readonly ApplicationDb...
33.181818
117
0.656849
[ "MIT" ]
javiercn/blazor-workshop
src/BlazingPizza.Server/NotificationsController.cs
1,462
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AgreementSignParams Data Structure. /// </summary> [Serializable] public class AgreementSignParams : AopObject { /// <summary> /// 商户在芝麻端申请的appId /// </summary> ...
33.164384
126
0.575795
[ "Apache-2.0" ]
alipay/alipay-sdk-net
AlipaySDKNet.Standard/Domain/AgreementSignParams.cs
3,353
C#
//------------------------------------------------------------------------------ // <auto-generated> // Generated by the MSBuild WriteCodeFragment class. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.R...
47.823529
80
0.645756
[ "MIT" ]
varnitgoyal95/Google-Maps-Analytics
obj/Debug/netcoreapp2.0/dot-authentication.AssemblyInfo.cs
813
C#
using System; using System.Net; namespace TurtleRock { public class TcpServer { private readonly LoopGroup _loopGroup; private readonly TcpServerChannel _serverChannel; private readonly ChannelOptionApplier _serverChannelOptionApplier; private readonly ChannelOptionApplier _channelOptionApplier; ...
23.769231
89
0.704207
[ "MIT" ]
eightyao/TurtleRock
src/TurtleRock/TcpServer.cs
1,547
C#
using AutoMapper; using EasyModular.Utils; using Demo.Admin.Domain; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using System.Linq; using Demo.Admin.Infrastructure; namespace Demo.Admin.Application.TenantTypeService { public class TenantTypeService : ITenantTyp...
35.757396
209
0.574715
[ "MIT" ]
doordie1991/EasyModular
simple/01_Admin/Demo.Admin.Application/TenantType/TenantTypeService.cs
6,043
C#
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requi...
44.990712
176
0.644715
[ "Apache-2.0" ]
NakedObjectsGroup/NakedObjectsFramework
NakedFramework/NakedFramework.SystemTest/util/GetTypeFromLoadedAssembliesTestAbstract.cs
14,534
C#
/* * Honeybee Model Schema * * Documentation for Honeybee model schema * * Contact: info@ladybug.tools * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; us...
46.319876
373
0.601877
[ "MIT" ]
chriswmackey/honeybee-schema-dotnet
src/HoneybeeSchema/Model/InfiltrationAbridged.cs
14,915
C#
using System.Collections.Generic; using System.Diagnostics; using System.Windows.Forms; namespace ProjectEuler { class MainClass { static Calculator calculator = new Calculator(); private static void PrintResult(int problemNum, object result) { Debug.WriteLine("Problem " + problemNum + ": " + r...
27.938462
131
0.660242
[ "Apache-2.0" ]
Tif-P-HK/euler
ProjectEuler/MainClass.cs
3,634
C#
using Content.Server.Administration; using Content.Shared.Administration; using Content.Shared.Body.Components; using Content.Shared.Body.Part; using Robust.Server.Player; using Robust.Shared.Console; using Robust.Shared.GameObjects; using Robust.Shared.IoC; using static Content.Server.Body.Part.BodyPartComponent; nam...
36.216981
156
0.504558
[ "MIT" ]
AJCM-git/space-station-14
Content.Server/Body/Commands/AttachBodyPartCommand.cs
3,839
C#
using System; using System.Collections; using System.Diagnostics; using System.Globalization; using System.Text; using NBitcoin.BouncyCastle.Security; using NBitcoin.BouncyCastle.Utilities; namespace NBitcoin.BouncyCastle.Math { public class BigInteger { // The first few odd primes /* ...
29.95299
115
0.382222
[ "MIT" ]
0tim0/StratisFullNode
src/NBitcoin/BouncyCastle/math/BigInteger.cs
107,681
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Immutable; using System.Diagnostics; using Analyzer.Utilities; using Analyzer.Utilities.PooledObjects; #pragma warnin...
46.094118
161
0.709546
[ "Apache-2.0" ]
nathanstocking/roslyn-analyzers
src/Utilities/FlowAnalysis/FlowAnalysis/Analysis/DisposeAnalysis/DisposeAbstractValue.cs
3,920
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("4....
37.864865
84
0.741613
[ "MIT" ]
ELalkovski/Software-University
02. Programming Fundamentals Course on C#/Files, Directories and Exceptions Lab Exercises/4. Merge Files/Properties/AssemblyInfo.cs
1,404
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.IO.Pipes; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace testpad { class WaitableQueue<T> : Queue<T> { AutoResetEvent itemAvailable = new AutoResetEvent(false); ...
26.556962
121
0.485224
[ "MIT" ]
Inncee81/cs-script.npp
src/Mdbg_v4.0/Mdbg/testpad/Debugger/RemoteChannelServer.cs
4,196
C#
using System; using System.Collections.Generic; using HatTrick.DbEx.Sql; using HatTrick.DbEx.MsSql.Expression; using SimpleConsole.Data; using SimpleConsole.DataService; using SimpleConsole.dboData; using SimpleConsole.dboDataService; using SimpleConsole.secDataService; namespace NetCoreConsoleApp { public class Ari...
27.992754
120
0.679524
[ "Apache-2.0" ]
HatTrickLabs/dbExpression
samples/mssql/NetCoreConsoleApp/Examples/AdvancedQueries/Arithmetic.cs
3,865
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.Collections.Generic; using System.Diagnostics; using Microsoft.CodeAnalysis; namespace Microsoft.VisualStudio.LanguageServices.Implementation {...
34.461538
161
0.739955
[ "Apache-2.0" ]
0x53A/roslyn
src/VisualStudio/Core/Def/Implementation/AnalyzerDependency/IgnorableAssemblyIdentityList.cs
898
C#
// -------------------------------------------------------------------------------------------------------------------- // Copyright (c) Lead Pipe Software. All rights reserved. // Licensed under the MIT License. Please see the LICENSE file in the project root for full license information. // -------------------------...
32.267442
120
0.50018
[ "MIT" ]
LeadPipeSoftware/LeadPipe.Net
src/LeadPipe.Net.Authorization/ActivityGroup.cs
2,777
C#
 using Walle.WorkFlowEngine.Core; namespace Walle.WorkFlowEngine.Interface { public interface IWorkItemBase { WorkFlowNode CurrentNode { get; set; } string Id { get; set; } string CurrentUser { get; set; } } }
16.666667
46
0.636
[ "Apache-2.0" ]
WalleStudio/Walle.WorkFlowEngine
Interface/IWorkItemBase.cs
252
C#
// <copyright file="LiveMapModule.cs" company="MUnique"> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </copyright> namespace MUnique.OpenMU.AdminPanel { using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; usi...
38
123
0.543304
[ "MIT" ]
ThisMushroom/OpenMU-1
src/AdminPanel/LiveMapModule.cs
3,004
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. namespace Microsoft.AspNetCore.Hosting { public static partial class KestrelServerOptionsSystemdExtensions { public static Microsoft.Asp...
86.716561
453
0.776525
[ "Apache-2.0" ]
DavidAlphaFox/AspNetCore
src/Servers/Kestrel/Core/ref/Microsoft.AspNetCore.Server.Kestrel.Core.netcoreapp3.0.cs
27,229
C#
using System.Collections.Generic; using System.Threading; using ReClassNET.MemoryScanner.Comparer; namespace ReClassNET.MemoryScanner { internal interface IScannerWorker { /// <summary> /// Uses the <see cref="IScanComparer"/> to scan the byte array for results. /// </summary> /// <param name="data">The data...
44.933333
114
0.699555
[ "MIT" ]
Akandesh/ReClass.NET
ReClass.NET/MemoryScanner/IScannerWorker.cs
1,348
C#
//------------------------------------------------------------------------------ // <copyright file="IOControlCode.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //--------------------------------...
33.083333
108
0.443712
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/net/System/Net/Sockets/IOControlCode.cs
5,161
C#
using System; using System.Web.Mvc; using System.Dynamic; using System.Collections.Specialized; using System.IO; using System.Web; using System.Diagnostics; using System.Linq; namespace Oak { [DebuggerNonUserCode] public class DynamicParams : Gemini { private IValueProvider valueProvider; ...
27.3
153
0.608059
[ "MIT" ]
lefthandedgoat/Oak
packages/oak-edge.0.5.4/content/Oak/ParamsModelBinder.cs
1,913
C#
namespace CartographerTests.Types { public class Person2 { public Address2 Address { get; set; } public int Id { get; set; } } }
16
40
0.645833
[ "MIT" ]
kkozmic/Cartographer
src/Cartographer.Tests/Types/Person2.cs
144
C#
namespace Bistrotic.Infrastructure.Modules.Exceptions { using System; using System.Runtime.Serialization; [Serializable] public class DuplicateModuleDefinitionException : Exception { public DuplicateModuleDefinitionException() : this(new string[] { string.Empty }, string.Empty, null) ...
33.205882
125
0.673162
[ "MIT" ]
Bistrotic/Bistrotic
src/Core/Infrastructure/Bistrotic.Infrastructure.Modules/Exceptions/DuplicateModuleDefinitionException.cs
1,131
C#
using System.Security.Claims; using System.Threading; using EntityHistory.Abstractions.Session; namespace EntityHistory.Core.Session { public class DefaultPrincipalAccessor : IPrincipalAccessor { public virtual ClaimsPrincipal Principal => Thread.CurrentPrincipal as ClaimsPrincipal; public st...
28.714286
95
0.783582
[ "MIT" ]
EtwasGE/EntityHistory
src/EntityHistory.Core/Session/DefaultPrincipalAccessor.cs
404
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FollowCursor : MonoBehaviour { private void Update() { Plane movementPlane = new Plane(transform.position, transform.position + transform.up, transform.position + transform.right); transform.position = Mou...
31.75
133
0.761155
[ "MIT" ]
denniscarr/GamePlayProGrammingPatTerns
Game Play Pro Gramming Pat Terns/Assets/Scripts/FollowCursor.cs
383
C#
/////////////////////////////////////////////////////////////////////////////////// // Open 3D Model Viewer (open3mod) (v2.0) // [Program.cs] // (c) 2012-2015, Open3Mod Contributors // // Licensed under the terms and conditions of the 3-clause BSD license. See // the LICENSE file in the root folder of the repository fo...
39.263736
87
0.486426
[ "MIT" ]
WildGenie/vrs
open3mod/Program.cs
3,573
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. namespace Mosa.Compiler.Framework.IR { /// <summary> /// Intermediate representation of the unsigned subtraction operation. /// </summary> /// <remarks> /// The add instruction is a three-address instruction, where the result receives /// the va...
32.884615
92
0.706433
[ "BSD-3-Clause" ]
uQr/MOSA-Project
Source/Mosa.Compiler.Framework/IR/SubUnsigned.cs
857
C#
using System; class Program { static void MissingImage () { Type good = System.Type.GetType("System.Nullable`1[[System.Int32, mscorlib]]"); Type bad = System.Type.GetType("System.Nullable`1[[System.Int32, mscorlibBAD]]"); if (good.Assembly.FullName.Split (',') [0] != "mscorlib") throw new Exception ("Wron...
27
177
0.686067
[ "MIT" ]
06needhamt/runtime
src/mono/mono/tests/bug-30085.cs
1,134
C#
 namespace Demo.SalesAnalyzerDurableFunction.Services { using System.Collections.Generic; using System.Linq; using Constants; using Interface; using Models; using MoreLinq; public class SalesAnalyzer : ISalesAnalyzer { public IReadOnlyList<CountryProfit> AnalyzeProfits(IReadOnl...
39.481481
133
0.615385
[ "MIT" ]
valentin-istrate/azure-functions
DemoFunctions/SalesAnalizerDurableFunction/Services/SalesAnalyzer.cs
2,134
C#
namespace LaserCore.Etherdream.Net.Enums { public enum CommandCodeType : byte { Begin = 0x62, Data = 0x64, Ping = 0x3F, Prepare = 0x70, Unknown } public static class CommandCode { public static CommandCodeType ParseCommandCode(byte cmd) { ...
24.15625
64
0.47348
[ "MIT" ]
Bfindlay/LaserCore.Etherdream.Net
EtherDream.Net/Enums/CommandCode.cs
775
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LibMinecraft.Model.Blocks { /// <summary> /// A Diamond Block (ID = 57) /// </summary> /// <remarks></remarks> public class DiamondBlock : Block { /// <summary> /// The Block ID for ...
20.291667
44
0.540041
[ "MIT" ]
vatt849/LibMinecraft
LibMinecraft/Model/Blocks/DiamondBlock.cs
489
C#
using Sharp.Xmpp.Im; using System; using System.Collections.Generic; using System.Text; using System.Xml; namespace Sharp.Xmpp.Extensions { /// <summary> /// Implements the 'User Mood' extension as defined in XEP-0107. /// </summary> internal class UserMood : XmppExtension { /// <summary> ...
33.411765
89
0.517214
[ "MIT" ]
ALE-Rainbow/Sharp.Ws.Xmpp
Extensions/XEP-0107/UserMood.cs
5,114
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microso...
33.8125
117
0.634381
[ "MIT" ]
Sanusi1997/c-_rest_api
StudentAttendance.API/Startup.cs
2,705
C#
using System; using System.Collections.Generic; using System.Text; using bgTeam.Extensions; using Xunit; namespace bgTeam.Core.Tests.Tests.Core.Extensions { public class MaybeExtensionsTests { [Fact] public void IfLess() { var list = new List<string> { "hey", "bye" }; ...
28.655844
83
0.479266
[ "MIT" ]
101stounarm101/bgTeam.Core
tests/bgTeam.Core.Tests/Tests/Core/Extensions/LinqExtensionsTests.cs
4,415
C#
using System; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using RabbitMQ.Client; using RabbitMQ.Client.Events; namespace DemoA.Services { public class MessageService : IMessageService, IDisposable { private readonly ConnectionFactory _factory; priv...
30.289855
123
0.480144
[ "MIT" ]
jhoye/ReactScratchPad
DemoA/Services/MessageService.cs
4,180
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("Uw...
35.758621
84
0.740598
[ "Apache-2.0" ]
JoeMayo/LinqToTwitter
Samples/LinqToTwitter5/uap10.0/CSharp/UwpSamples/Properties/AssemblyInfo.cs
1,040
C#
using Newtonsoft.Json; using ZKWebStandard.Extensions; using ZKWebStandard.Web; namespace ZKWeb.Web.ActionResults { /// <summary> /// Write json to response<br/> /// 写入Json到回应<br/> /// </summary> /// <seealso cref="ControllerManager"/> /// <seealso cref="IController"/> /// <example> /// <code lang...
28.477612
77
0.619497
[ "MIT" ]
1306479602/ZKWeb
ZKWeb/ZKWeb/Web/ActionResults/JsonResult.cs
1,974
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
41
166
0.634746
[ "Apache-2.0" ]
CircleOnCircles/Lean
Indicators/CandlestickPatterns/ShortLineCandle.cs
5,004
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; ///<summary> /// Base squid enemy behaviour ///</summary> public class SquidEnemy : SimpleEnemy { // TODO: Implement squid-only behaviours void Start() { SetRunState(false); } }
15.388889
41
0.696751
[ "Apache-2.0" ]
Goldmato/Squid-Town
npc/enemy_simple/SquidEnemy.cs
279
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
35.68
85
0.565022
[ "MIT" ]
hanssens/bucket
experiments/EntityFramework Performance/EntityFrameworkPerformanceTests/DatabaseFirst/ProductModelIllustration.cs
892
C#
#pragma checksum "C:\Users\asaxena4\source\repos\DutchTreat\Views\Shared\_Layout.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c14f79ce2666b807b1dd442c7b5ef082e0b95fdf" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCor...
67.701754
376
0.717716
[ "MIT" ]
ArchitSaxena/MyDutchTreat
obj/Debug/netcoreapp3.1/Razor/Views/Shared/_Layout.cshtml.g.cs
11,577
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...
30.940594
107
0.6112
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Inspector/Generated/Model/UnsubscribeFromEventRequest.cs
3,125
C#
using System; using System.Collections.Generic; using System.Linq.Expressions; using N8T.Core.Domain; namespace N8T.Core.Specification { public abstract class GridSpecificationBase<T> : IGridSpecification<T> { public virtual List<Expression<Func<T, bool>>> Criterias { get; } = new(); public Lis...
31.37234
105
0.595456
[ "MIT" ]
Aharonyan-Narek/clean-architecture-dotnet
src/N8T.Core/Specification/GridSpecificationBase.cs
2,949
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...
43.391753
178
0.65455
[ "Apache-2.0" ]
SaschaHaertel/AmazonAWS
sdk/src/Services/DirectConnect/Generated/Model/DirectConnectClientException.cs
4,209
C#
using System; using BoletoNetCore.Extensions; using static System.String; namespace BoletoNetCore { [CarteiraCodigo("112")] internal class BancoItauCarteira112 : ICarteira<BancoItau> { internal static Lazy<ICarteira<BancoItau>> Instance { get; } = new Lazy<ICarteira<BancoItau>>(() => new BancoItau...
43.954545
247
0.640641
[ "MIT" ]
AlexandreVMSNew/BoletoNetCore
BoletoNetCore/Banco/Itau/Carteiras/BancoItauCarteira112.cs
1,944
C#