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 Newtonsoft.Json; namespace CarMediaServer { public interface INetworkNotification { /// <summary> /// Gets the category of this notification. /// </summary> [JsonIgnore] ushort NotificationCategory { get; } /// <summary> /// Gets the code for this...
22.740741
51
0.581433
[ "BSD-2-Clause" ]
guytp/carputer-backend
CarMediaServer/NetworkCommands/INetworkNotification.cs
616
C#
using System.Threading; using System.Threading.Tasks; using Lime.Protocol; using Lime.Protocol.Network; using Lime.Transport.AspNetCore.Transport; using Moq; using NUnit.Framework; using Shouldly; using static Lime.Protocol.UnitTests.Dummy; namespace Lime.Transport.AspNetCore.UnitTests.Transport { [TestFixture] ...
32.782178
116
0.576865
[ "Apache-2.0" ]
JoaoCMotaJr/lime-csharp
src/Lime.Transport.AspNetCore.UnitTests/Transport/SenderChannelAdapterTests.cs
3,311
C#
using System; using System.Collections.Generic; namespace CymaticLabs.InfluxDB.Data { /// <summary> /// Represents the result of an InfluxDB query. /// </summary> public class InfluxDbSeries { #region Fields // Internal look-up of a column's index given its name Dictionary...
32.16092
128
0.569693
[ "MIT" ]
573000126/InfluxDBStudio
src/CymaticLabs.InfluxDB.Studio/Data/InfluxDbSeries.cs
2,800
C#
using System.Collections.Generic; using System.Linq; using SS3D.Content.Systems.Interactions; using SS3D.Engine.Interactions; using SS3D.Engine.Inventory; using SS3D.Engine.Tile.TileRework; using SS3D.Engine.Tiles; using UnityEngine; namespace SS3D.Content.Items.Functional.Tools.Generic { // Needs rework too ...
32.184211
126
0.676206
[ "MIT" ]
TimFinucane/SS3D
Assets/Content/Items/Functional/Tools/Construction/Wrench.cs
1,225
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...
31.744681
92
0.642761
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20190901/Inputs/TrafficSelectorPolicyArgs.cs
1,492
C#
using Umbraco.Cms.Infrastructure.Migrations.Expressions.Common; namespace Umbraco.Cms.Infrastructure.Migrations.Expressions.Create.Index { public interface ICreateIndexOnColumnBuilder : IFluentBuilder, IExecutableBuilder { /// <summary> /// Specifies the index column. /// </summary> ...
29.055556
85
0.678776
[ "MIT" ]
Ambertvu/Umbraco-CMS
src/Umbraco.Infrastructure/Migrations/Expressions/Create/Index/ICreateIndexOnColumnBuilder.cs
525
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Runtime.InteropServices; using NUnit.Framework; using Python.Runtime; using PyRuntime = Python.Runtime.Runtime; // // This test case is disabled on .NET Standard because it doesn't have all the // APIs we us...
35.928218
127
0.530899
[ "MIT" ]
L-Net-1992/pythonnet
src/embed_tests/TestDomainReload.cs
14,515
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....
223.150327
29,340
0.677728
[ "MIT" ]
bogdanLicaFinbourne/lusid-sdk-csharp-preview
sdk/Lusid.Sdk/Model/WeekendMask.cs
34,142
C#
// <auto-generated /> using Intro.Data; using Intro.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFramework...
31.287554
117
0.446228
[ "MIT" ]
tanyta78/CSharpWeb
IntroNetCore/Intro.Data/Migrations/20171215212753_ResourseLisensesChanges.Designer.cs
7,292
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks...
34.923611
117
0.687413
[ "Apache-2.0" ]
Atharvpatel21/elasticsearch-net
tests/Tests/Search/ReturnedFields.doc.cs
5,029
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class respawn : MonoBehaviour { [SerializeField]Transform respawnPoint; private void OnCollisionEnter(Collision collision) { if(collision.gameObject.tag == "Player") { collision.transform.po...
20.555556
65
0.686486
[ "Apache-2.0" ]
BeardyKing/The-Floor-Is-Lava
firstPersonHell/Assets/respawn.cs
372
C#
using System.Collections.Generic; using System.IO; using Lucene.Net.Analysis; using Lucene.Net.Documents; using Lucene.Net.Index; using Lucene.Net.Queries.Mlt; using Lucene.Net.Search; using Lucene.Net.Util; using NUnit.Framework; using Directory = Lucene.Net.Store.Directory; namespace Lucene.Net.Tests.Queries.Mlt { ...
35.276119
149
0.554686
[ "Apache-2.0" ]
CerebralMischief/lucenenet
src/Lucene.Net.Tests.Queries/Mlt/TestMoreLikeThis.cs
4,729
C#
using System; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace wfMod.Items.Accessories { public class Guardian : ExclusiveAccessory { public override void SetStaticDefaults() { Tooltip.SetDefault("When your shield is depleted, boost it by 8% for each active mi...
30.307692
113
0.552453
[ "MIT" ]
wdfeer/wdfeerMod
Items/Accessories/Guardian.cs
1,182
C#
#nullable disable namespace CEo.Pokemon.HomeBalls.Data.Entities { public record HomeBallsPokemonAbilitySlot : HomeBalls.Entities.HomeBallsPokemonAbilitySlot, IHomeBallsDataType<HomeBalls.Entities.HomeBallsPokemonAbilitySlot> { public static Type BaseEntityType { get; } = typ...
34.96875
88
0.653262
[ "MIT" ]
blah12629/HomeBalls
src/HomeBalls.Data/Entities/HomeBallsPokemonAbilitySlot.cs
2,238
C#
//****************************************************************************** // // Copyright (c) 2017 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT L...
31.481481
95
0.595294
[ "MIT" ]
Acidburn0zzz/Xaml-Controls-Gallery
UITests/ToggleButton.cs
3,402
C#
using BLTools; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Security; using BLTools.MVVM; namespace UnitTest2015 { /// <summary> ///This is a test class for StringExtensionTest and is intended ///to contain all NotificationTest Unit Tests ///</summary> [TestClass()] pub...
31.120879
138
0.665607
[ "MIT" ]
bollylu/BLTools
UnitTest2015/MVVM/NotificationTest.cs
2,834
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ApartmentManagementClient.Models { public class CreateMessageModel { public int SenderId { get; set; } public int ReceiverId { get; set; } public string Title { get; set; } ...
22.875
43
0.669399
[ "MIT" ]
ahmtsenlik/ApartmentManagementSystem
ApartmentManagement/ApartmentManagementClient/Models/Message/CreateMessageModel.cs
368
C#
using Abp.Application.Services; using Abp.Application.Services.Dto; using Odco.PointOfSales.Application.GeneralDto; using Odco.PointOfSales.Application.Purchasings.PurchaseOrders; using Odco.PointOfSales.Application.Purchasings.Suppliers; using System; using System.Collections.Generic; using System.Threading.Tasks; n...
39.214286
103
0.782332
[ "MIT" ]
CipherLabz/Odco-PointOfSales-Material
aspnet-core/src/Odco.PointOfSales.Application/Purchasings/IPurchasingAppService.cs
1,100
C#
using System; using Newtonsoft.Json; namespace Web.Helpers.WebRequests { public struct JwtToken { [JsonProperty("token")] private readonly string _token; public JwtToken(string token) => _token = token; public override string ToString() => _token; } }
20
63
0.646667
[ "MIT" ]
MrKatinas/Unnamed
Unity/Assets/_Scripts/Web/Helpers/WebRequests/JwtToken.cs
302
C#
// FastZip.cs // // Copyright 2005 John Reilly // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // Thi...
32.30303
130
0.657598
[ "BSD-3-Clause" ]
CMU-SAFARI/RamulatorSharp
src/gzip/FastZip.cs
19,188
C#
// Copyright © Conatus Creative, Inc. All rights reserved. // Licensed under the Apache 2.0 License. See LICENSE.md in the project root for license terms. using System.Collections; using System.Collections.Generic; using System.Linq; namespace Pixel3D.ActorManagement { /// <summary> /// A dictionary that allo...
26.318182
100
0.500648
[ "Apache-2.0" ]
caogtaa/Pixel3D
src/Pixel3D.ActorManagement/MultiDictionary.cs
4,635
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Crestron.SimplSharp; using PepperDash.Core; using PepperDash.Essentials.Core; using System.Text.RegularExpressions; namespace PepperDash.Essentials.Devices.Common.DSP { public class QscDspLevelControl : QscDspControlPoint, I...
25.739414
146
0.55391
[ "MIT" ]
JaytheSpazz/Essentials
essentials-framework/Essentials Devices Common/Essentials Devices Common/DSP/QSC/QscDspLevelControl.cs
7,904
C#
namespace ChessGameLogic.ChessFigures { using System; using System.Collections.Generic; using ChessGameLogic.ChessFigures.Interfaces; using ChessGameLogic.ChessMoves; using ChessGameLogic.Enums; internal class Pawn : Figure, IUnableToJumpFigure { internal Pawn(ChessColors color) ...
36.97037
139
0.571629
[ "MIT" ]
danieldamianov/ChessSystem
src/ChessSystem/ChessGameLogic/ChessFigures/Pawn.cs
4,993
C#
namespace Parasite.Controller { partial class ControllerForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
47.460938
137
0.580741
[ "MIT" ]
Naamloos/Parasite
Parasite/Parasite.Controller/ControllerForm.Designer.cs
6,077
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace Assets.Scripts.Interfaces { public abstract class IHittable : MonoBehaviour { private void OnCollisionEnter(Collision collision) { Vector3 pos = collision.contacts[0...
20.897436
62
0.590184
[ "MIT" ]
willem810/SpyHunt
Assets/Scripts/Interfaces/IHittable.cs
817
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...
39.078947
219
0.584175
[ "MIT" ]
chriswmackey/honeybee-schema-dotnet
src/HoneybeeSchema/Model/PropertiesBaseAbridged.cs
8,910
C#
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // package math -- go2cs converted at 2020 October 09 05:07:38 UTC // import "math" ==> using math = go.math_package // Original source: C:\Go\src\math\arith_s3...
24.315385
70
0.693768
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/math/arith_s390x.cs
3,161
C#
namespace pGina.Plugin.Kerberos { partial class Configuration { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
38.733333
107
0.549484
[ "BSD-3-Clause" ]
AdaptableApps/pgina
Plugins/Kerberos/Kerberos/Configuration.Designer.cs
4,650
C#
using TickTrader.Algo.Account; using TickTrader.Algo.Account.Fdk2; namespace TickTrader.Algo.Server { public static class KnownAccountFactories { public static ServerInteropFactory Fdk2 => (options, loggerId) => new SfxInterop(options, loggerId); } }
24.818182
108
0.739927
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
SoftFx/TTAlgo
src/csharp/core/TickTrader.Algo.Server/KnownAccountFactories.cs
275
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microblog.Data; namespace Microblog.Data.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration(...
33.743802
117
0.482366
[ "MIT" ]
OmniscientJV/School-Microblog
src/Microblog/Data/Migrations/20161005123157_user relations.Designer.cs
8,168
C#
using System.Web; using System.Web.Mvc; namespace SDJ3_3rd_tier { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
19
80
0.657895
[ "MIT" ]
SDJ3-group/SDJ3-3rd-tier
SDJ3-3rd-tier/App_Start/FilterConfig.cs
268
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace RastojanjeIzmedjuDvaPolja { public class Polje { public Int32 Indeks, Red, Kolona, Udaljenost; public static Int32 BrojRedova, BrojKolona; public Bool...
27.103448
87
0.569975
[ "MIT" ]
nikola-vukicevic/bfs_i_dfs_pathfinding
RastojanjeIzmedjuDvaPolja/Polje.cs
788
C#
/** * The MIT License * Copyright (c) 2016 Population Register Centre (VRK) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rig...
46.891304
84
0.766806
[ "MIT" ]
MikkoVirenius/ptv-1.7
test/PTV.Framework.Tests/Properties/AssemblyInfo.cs
2,160
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Globalization; using System.Text; using System.Threading.Tasks; using Microsoft.AspNet.Http...
34.435484
113
0.535831
[ "Apache-2.0" ]
VGGeorgiev/Mvc
src/Microsoft.AspNet.Mvc.Core/ModelBinding/JQueryFormValueProviderFactory.cs
4,270
C#
/****************************************************************************** * Copyright (C) Ultraleap, Inc. 2011-2020. * * Ultraleap proprietary and confidential. * * ...
36.266055
152
0.582595
[ "MIT" ]
HyperLethalVector/ProjectEsky-UnityIntegration
Assets/Plugins/LeapMotion/Core/Scripts/Hands/DebugHand.cs
3,953
C#
using System; using System.Collections.Generic; using System.Numerics; using System.Text; using AbMath.Calculator.Operators; namespace AbMath.Calculator.Simplifications { public static class Sum { private static readonly RPN.Token _sum = new RPN.Token("sum", 4, RPN.Type.Function); public stat...
39.878981
138
0.524996
[ "MIT" ]
65001/AbMath
AbMath/Calculator/Simplifications/Sum.cs
6,263
C#
///-------------------------------------------------------------------------------- /// /// Copyright (C) 2020-2021 Jose E. Gonzalez (nxoffice2021@gmail.com) - All Rights Reserved /// /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentation fi...
29.004926
115
0.443161
[ "MIT" ]
nxproject/node
NX.Engine/Hive/BeeCV.cs
17,666
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: AssemblyTi...
37.068966
85
0.72186
[ "MIT" ]
DotNetPlus/ReswPlus
src/Library/ReswPlusLib.UWP/Properties/AssemblyInfo.cs
1,078
C#
using Qsi.Tree; using Qsi.Tree.Definition; namespace Qsi.Hana.Tree { public sealed class HanaViewDefinitionNode : QsiViewDefinitionNode { public string Comment { get; set; } public QsiTreeNodeProperty<QsiExpressionFragmentNode> Parameters { get; } public QsiTreeNodeProperty<QsiExpres...
36.086957
88
0.706024
[ "MIT" ]
ScriptBox99/chequer-qsi
Qsi.Hana/Tree/HanaViewDefinitionNode.cs
1,662
C#
#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "87B10512EF6593BD3DC3D4A789ED2ADF" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this f...
32.056338
110
0.619947
[ "MIT" ]
codedsphere/DotNetSourceBuilder
DotNetSourceBuilder/DotNetSourceBuilder/obj/Debug/App.g.cs
2,278
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.IO; using Syst...
37.257576
178
0.620171
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/AddIns/BackendBindings/Python/PythonBinding/Test/Designer/LoadMonthCalendarTestFixture.cs
2,461
C#
using Application.Features.Cars.Dtos; using Core.Persistence.Paging; namespace Application.Features.Cars.Models; public class CarListModel : BasePageableModel { public IList<CarListDto> Items { get; set; } }
23.777778
48
0.785047
[ "MIT" ]
ahmet-cetinkaya/rentacar-project-backend-dotnet
src/rentACar/Application/Features/Cars/Models/CarListModel.cs
216
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...
31.306452
106
0.658423
[ "Apache-2.0" ]
SaschaHaertel/AmazonAWS
sdk/src/Services/Redshift/Generated/Model/DisableLoggingRequest.cs
1,941
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Todo.Web.Data; using GreenDonut; using HotChocolate.DataLoader; namespace Todo.Web.GraphQL.Authors { public class AuthorByIdDataLoader : BatchDataLoade...
35.625
150
0.734211
[ "MIT" ]
chneau/example-todo-aspnet-react
Todo.Web/GraphQL/Authors/AuthorByIdDataLoader.cs
1,140
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.Security; using System.IO; using System.Diagnostics; using MS.Internal.FontCache; nam...
36.525461
154
0.501818
[ "MIT" ]
00mjk/wpf
src/Microsoft.DotNet.Wpf/src/PresentationCore/MS/internal/Shaping/OpenTypeLayout.cs
49,492
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
27.1875
81
0.397701
[ "MIT" ]
haonguyen96/laptrinhweb
dangxuat.aspx.designer.cs
437
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> // ---------------------------------------...
28.673913
81
0.677028
[ "Apache-2.0" ]
JetBrains/space-dotnet-sdk
src/JetBrains.Space.Client/Generated/Dtos/IntListCFType.generated.cs
1,319
C#
using QuGo.Core; using QuGo.Core.Data; using QuGo.Core.Infrastructure; using QuGo.Services.Users; using System; using System.Web.Mvc; namespace QuGo.Web.Framework { /// <summary> /// Represents filter attribute to validate customer password expiration /// </summary> public class ValidatePasswordAttrib...
37.8
133
0.645503
[ "MIT" ]
pcurich/QuGo
QubicGo/Presentation/QuGo.Web.Framework/ValidatePasswordAttribute.cs
1,892
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 //...
23.847328
86
0.547375
[ "MIT" ]
amironov73/ManagedIrbis5
Source/Libs/ManagedIrbis5/Source/Client/EntryIniSection.cs
3,237
C#
namespace Masa.Contrib.BasicAbility.Dcc; public static class MasaConfigurationExtensions { public static IMasaConfigurationBuilder UseDcc( this IMasaConfigurationBuilder builder, IServiceCollection services, Action<JsonSerializerOptions>? jsonSerializerOptions = null, Action<CallerO...
46.536585
241
0.709015
[ "MIT" ]
capdiem/MASA.Contrib
src/BasicAbility/Masa.Contrib.BasicAbility.Dcc/MasaConfigurationExtensions.cs
9,540
C#
using System; using System.Xml.Serialization; namespace Nez.BitmapFontImporter { // ---- AngelCode BmFont XML serializer ---------------------- // ---- By DeadlyDan @ deadlydan@gmail.com ------------------- // ---- There's no license restrictions, use as you will. ---- // ---- Credits to http://www.angelcode.com/...
21.288889
63
0.634656
[ "MIT" ]
AlmostBearded/monogame-platformer
Platformer/Nez/Nez.PipelineImporter/BitmapFonts/BitmapFontCommon.cs
958
C#
using System.Linq; using Autofac.Extensions.DependencyInjection; using JetBrains.Annotations; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using Serilog; namespace CoreApi.WebApi { [UsedImplicitly] public static class Program { public static void Main(string[] args) ...
31.8125
112
0.608055
[ "MIT" ]
hasangedik/CoreApi
CoreApi.WebApi/Program.cs
1,018
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // </auto-generated> namespace Microsoft.Azure.Management.Compute.Fluent.Mod...
35.033333
108
0.719315
[ "MIT" ]
AntoineGa/azure-libraries-for-net
src/ResourceManagement/Compute/Generated/Models/IPVersion.cs
1,051
C#
using InvoiceSharp.Helpers; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using InvoiceSharp.Models; using InvoiceSharp.Services.Impl; namespace InvoiceSharp.Services { public class InvoiceSharpApi : IInvoiceSharpApi { public Invoice Invoice ...
26.614379
89
0.560658
[ "MIT" ]
Triskae/InvoiceSharp
InvoiceSharp/Services/InvoiceSharpApi.cs
4,078
C#
#if NET35 /* * * 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...
31.195652
131
0.66295
[ "Apache-2.0" ]
NikolayXHD/Lucene.Net.Contrib
Lucene.Net/Support/IO/Compression/LZOCompressor.cs
4,305
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.Linq; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.ChangeTracking.Internal; using Mic...
47.355769
126
0.636142
[ "Apache-2.0" ]
Emill/efcore
src/EFCore/ChangeTracking/CollectionEntry`.cs
4,925
C#
namespace Restaurant.Abstractions.ViewModels { public interface IMainViewModel : INavigatableViewModel { } }
20.166667
59
0.752066
[ "MIT" ]
Jurabek/Restaurant
src/mobile/Restaurant.Client/Restaurant.Abstractions/ViewModels/IMainViewModel.cs
123
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using a2wd.Umbraco.Models.PageModels; using System.Web.Mvc; using Umbraco.Web.Mvc; using a2wd.Umbraco.Logic.Pages; namespace a2wd.Umbraco.Controllers { public class HomePageController : RenderMvcController { // GET: H...
24
69
0.694444
[ "MIT" ]
a2wd/umbraco-website
a2wd.Umbraco/a2wd.Umbraco.Web/Controllers/HomePageController.cs
506
C#
/** * Usage: see https://github.com/WhatIfWeDigDeeper/SonyVegasProScripting * * Modified from Batch Render Sample script that performs batch renders with GUI for selecting * render templates. * * Revision Date: Jun. 28, 2006. **/ using System; using System.IO; using System.Text; using System.Drawing; using Sys...
34.508876
166
0.535494
[ "MIT" ]
WhatIfWeDigDeeper/SonyVegasProScripting
MyRenderer.cs
17,498
C#
using PuppeteerSharp; using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; namespace Ranka.Services { // Ensure Ranka only has one instance of Chromium running upon request. public class ChromiumService : RankaService { private Browser _browser; ...
49.914286
216
0.617773
[ "MIT" ]
afrojezus/Ranka
Services/ChromiumService.cs
6,990
C#
using Bannerlord.BUTR.Shared.Helpers; using MCM.Abstractions.Settings.Definitions; using System; using System.Diagnostics.CodeAnalysis; // ReSharper disable once CheckNamespace namespace MCM.Abstractions.Attributes { [SuppressMessage("Design", "RCS1203:Use AttributeUsageAttribute.", Justification = "Implemented...
36.787879
132
0.663921
[ "MIT" ]
Aragas/Bannerlord.MBOptionScreen
src/MCM/Abstractions/Settings/Definitions/Attributes/BaseSettingPropertyAttribute.cs
1,216
C#
using System; using UltimaOnline.Items; namespace UltimaOnline.Items { public class LeatherGorget : BaseArmor { public override int BasePhysicalResistance { get { return 2; } } public override int BaseFireResistance { get { return 4; } } public override int BaseColdResistance {...
34.204082
114
0.608592
[ "MIT" ]
netcode-gamer/game.ultimaonline.io
UltimaOnline.Data/Items/Armor/Leather/LeatherGorget.cs
1,676
C#
namespace Mapbox.Editor { using UnityEngine; using UnityEditor; using Mapbox.Editor.NodeEditor; using Mapbox.Unity.MeshGeneration.Modifiers; [CustomEditor(typeof(MaterialModifier))] public class MaterialModifierEditor : UnityEditor.Editor { private MonoScript script; private MaterialModifier _modifier; ...
30.508197
266
0.702579
[ "Apache-2.0" ]
Anderson-RC/GGJ2018
Assets/Mapbox/Unity/Editor/MaterialModifierEditor.cs
3,724
C#
using System; using System.Configuration; using Akka.Actor; using common; namespace SomeServerNode { internal class Program { private static void Main(string[] args) { var myActorsystem = ConfigurationManager.AppSettings["my-actorsystem"]; var route = ConfigurationManag...
36.342105
134
0.60391
[ "MIT" ]
contactsamie/AkkaRemoteThings
SomeServerNode/Program.cs
1,383
C#
/* Copyright 2015-2017 Richard S. Tallent, II Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
55.464286
132
0.792015
[ "MIT" ]
Synuit-Platform/Synuit.Toolkit
Synuit.Toolkit/Utils/Comb/StaticProviders/Providers.cs
1,553
C#
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\dwrite.h(1965,1) using System; using System.Runtime.InteropServices; namespace DirectN { /// <summary> /// The DWRITE_TEXT_RANGE structure specifies a range of text positions where format is applied. /// </summary> [StructLayou...
29.347826
101
0.608889
[ "MIT" ]
Steph55/DirectN
DirectN/DirectN/Generated/DWRITE_TEXT_RANGE.cs
677
C#
using Pims.Dal.Entities; using Pims.Dal.Entities.Models; namespace Pims.Dal.Services { /// <summary> /// IAccessRequestService interface, provides functions to interact with access requests within the datasource. /// </summary> public interface IAccessRequestService : IService<PimsAccessRequest> { ...
34.842105
115
0.73716
[ "Apache-2.0" ]
asanchezr/PSP
backend/dal/Services/Interfaces/IAccessRequestService.cs
662
C#
using System.Collections.Generic; using System.Linq; namespace BetterDotNet { /// <summary> /// String extensions for reflowing text. /// </summary> public static class StringReflowExtensions { /// <summary> /// <para> /// Strip all newlines from the input string, then retu...
36.048387
97
0.453691
[ "MIT" ]
nemec/Better.Net
BetterDotNet/StringReflowExtensions.cs
6,707
C#
using System.Collections.Generic; namespace NExtra.Console { /// <summary> /// This class can be used to parse command line args /// into a typed CommandLineArguments instance. /// </summary> /// <remarks> /// Author: Daniel Saidi [daniel.saidi@gmail.com] /// Link: http...
31.939394
114
0.637571
[ "MIT" ]
danielsaidi/nextra
NExtra/Console/TypedCommandLineArgumentParser.cs
1,056
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // </auto-generated> namespace Microsoft.Azure.Management.ResourceManager.Fl...
31.898734
78
0.609524
[ "MIT" ]
Azure/azure-libraries-for-net
src/ResourceManagement/ResourceManager/Generated/ISubscriptionClient.cs
2,520
C#
/* * eZmax API Definition (Full) * * This API expose all the functionnalities for the eZmax and eZsign applications. * * The version of the OpenAPI document: 1.1.7 * Contact: support-api@ezmax.ca * Generated by: https://github.com/openapitools/openapi-generator.git */ using Xunit; using System; using System....
29.888889
112
0.68448
[ "MIT" ]
ezmaxinc/eZmax-SDK-csharp-netcore
src/eZmaxApi.Test/Model/EzsignbulksendGetFormsDataV1ResponseMPayloadTests.cs
2,152
C#
using NPOI.SS.UserModel; using NPOI.SS.Util; using System; using System.Collections.Generic; using System.Data; using System.Diagnostics; using System.Linq; using System.Reflection; using WeihanLi.Common; using WeihanLi.Common.Helpers; using WeihanLi.Extensions; using WeihanLi.Npoi.Configurations; using WeihanLi.Npoi....
45.002571
250
0.466354
[ "Apache-2.0" ]
Ninjanaut/WeihanLi.Npoi
src/WeihanLi.Npoi/NpoiHelper.cs
17,508
C#
using System; namespace STak.TakEngine.Extensions { public static class GameExtensions { public static bool CanDrawStone(this IGame game, StoneType stoneType) => game.CanDrawStone(Player.None, stoneType); public static bool CanReturnStone(this IGame game) ...
86.078947
147
0.625191
[ "MIT" ]
crasshacker/STak
src/lib/Engine/Core/Extensions/GameExtensions.cs
3,271
C#
#if NET45 using System; using System.Collections; using System.Reflection; using System.Reflection.Emit; using System.Threading; //#if !NO_DYNAMIC //using System.Dynamic; //#endif namespace Serenity.Reflection { /// <summary> /// Provides by-name member-access to objects of a given type /// ...
45.163987
182
0.531539
[ "MIT" ]
Magicianred/Serenity
Serenity.Core/Reflection/TypeAccessor.cs
14,048
C#
using System.Threading.Tasks; using JudoPayDotNet.Http; using JudoPayDotNet.Logging; using JudoPayDotNet.Models; namespace JudoPayDotNet.Clients.WebPayments { internal abstract class BasePayments : JudoPayClient { private const string Baseaddress = "webpayments"; protected BasePayments(ILog logg...
31.870968
117
0.703441
[ "MIT" ]
Judopay/DotNetSDK
JudoPayDotNet/Clients/WebPayments/BasePayments.cs
990
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.Goog...
40.923077
433
0.701754
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/Compute/Beta/Outputs/HttpFaultInjectionResponse.cs
1,596
C#
/***************************************************************************** Copyright 2018 The TensorFlow.NET Authors. 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. You may obtain a copy of the Licen...
32.581818
92
0.527065
[ "Apache-2.0" ]
Aangbaeck/TensorFlow.NET
src/TensorFlowNET.Keras/Layers/Core/InputLayer.cs
3,586
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: yandex/cloud/iam/v1/api_key_service.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections;...
36.721633
395
0.6743
[ "MIT" ]
mifopen/YandexCloudDotNet
src/YandexCloudDotNet/cloudapi/yandex/cloud/iam/v1/ApiKeyService.cs
69,257
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Get a list of reseller administrators. /// The response is either a ResellerA...
29.511628
129
0.638298
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/ResellerAdminGetListRequest.cs
1,269
C#
using System; using System.Threading; using Shared; namespace Server { class Program { static void Main(string[] args) { ByteTransfer.NetSettings.RegisterMessagePackResolvers(MessagePack.Resolvers.GeneratedResolver.Instance); ByteTransfer.NetSettings.InstallPackets(type...
23.48
116
0.606474
[ "MIT" ]
ryancheung/ByteTransfer
sample/Server/Program.cs
589
C#
namespace R8 { partial class FormFunction { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param na...
36.714286
112
0.588035
[ "Unlicense" ]
alexcvig/OpenR8
src/R8/R8_app/FormFunction.Designer.cs
2,058
C#
/****************************************************************************** * Copyright (C) Ultraleap, Inc. 2011-2020. * * Ultraleap proprietary and confidential. * * * ...
29.760479
88
0.602616
[ "BSD-3-Clause" ]
HyperLethalVector/ChristmasEsky
Assets/Plugins/LeapMotion/Core/Scripts/EditorTools/Editor/LeapUnityWindow.cs
4,970
C#
using Newtonsoft.Json; namespace PddOpenSdk.Models.Response.Promotion { public class PromotionCouponBatchCloseResponse { /// <summary> /// Examples: true /// </summary> [JsonProperty("is_success")] public bool IsSuccess { get; set; } } public class ClosePromotio...
23.307692
96
0.635314
[ "Apache-2.0" ]
gitter-badger/open-pdd-net-sdk
PddOpenSdk/PddOpenSdk/Models/Response/Promotion/ClosePromotionCouponResponseModel.cs
606
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 { using Microsoft.Rest; using Models; using Newtonsoft.Json; using System.Colle...
44.765808
555
0.567094
[ "Apache-2.0" ]
BrendanBeachBC/jag-spd-spice
interfaces/Dynamics-Autorest/Companyduplicatebaserecord.cs
19,115
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ModBotInstaller { [Serializable] public class FirebaseModInfo { [JsonProperty("checked")] public bool Checked; [JsonProperty("creato...
20.628571
40
0.648199
[ "MIT" ]
X606/ModBot-Launcher
ModBotInstaller/FirebaseModInfo.cs
724
C#
using FubuCore.Configuration; using FubuCore.Conversion; using FubuMVC.Core.StructureMap; using Shouldly; using NUnit.Framework; using StructureMap; namespace FubuMVC.Tests.StructureMap.Internals { [TestFixture] public class AppSettingProviderRegistrySmokeTester { [SetUp] public void SetUp(...
26.28125
76
0.662307
[ "Apache-2.0" ]
DarthFubuMVC/fubumvc
src/FubuMVC.Tests/StructureMap/Internals/AppSettingProviderRegistrySmokeTester.cs
841
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace WorldCities.Data.Models { public class City { #region Constructor public City() { ...
23.578125
55
0.526176
[ "MIT" ]
Islam-Samy/ASP.NET-Core-3-and-Angular-9-Third-Edition
Chapter_04/WorldCities/Data/Models/City.cs
1,511
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
41.421875
186
0.650321
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/Internal/MarshallTransformations/ListSecurityProfilesForTargetResponseUnmarshaller.cs
5,302
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace Kraken.Api.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate it with ...
42.745614
261
0.553099
[ "MIT" ]
a-West/kraken-api
Kraken.Api/Areas/HelpPage/SampleGeneration/ObjectGenerator.cs
19,492
C#
/* * ARXivar Workflow API * * ARXivar Workflow API * * OpenAPI spec version: v1 * Contact: info@abletech.it * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using RestSharp; namespace...
25.714286
85
0.622222
[ "Apache-2.0" ]
zanardini/ARXivarNext-WebApi
ARXivarNext-ConsumingWebApi/IO.Swagger.Workflow/Client/IApiAccessor.cs
1,080
C#
using System; class ChristmasTree { static void Main() { int n = int.Parse(Console.ReadLine()); for (int i = 0; i <= n; i++) { Console.WriteLine(new string(' ', n - i) + new string('*', i) + " | " + new string('*',i)); } } }
17.875
104
0.447552
[ "MIT" ]
pavlinpetkov88/ProgramingBasic
DrawingWithLoops/ChristmasTree/ChristmasTree.cs
288
C#
using UnityEngine; using UnityEngine.XR.Interaction.Toolkit; namespace prvncher.XR_Interaction.XRToolkitExtensions { /// <summary> /// Allows object to be held at the grab point, rather than object center /// Code taken from: https://www.youtube.com/watch?v=-a36GpPkW-Q&feature=emb_title /// </summary>...
35.392857
108
0.675076
[ "MIT" ]
provencher/XR-Interaction
Assets/XR_Interaction/Scripts/XRToolkitExtensions/XROffsetGrabInteractable.cs
1,984
C#
using Newtonsoft.Json; namespace ComicVineApi.Models { public class IssueReference : ComicVineObject { [JsonProperty("issue_number")] public string? IssueNumber { get; set; } } }
19
49
0.665072
[ "MIT" ]
mattleibow/ComicVineApi
ComicVineApi/Models/Issue/IssueReference.cs
211
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...
48.75
179
0.66981
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Comprehend/Generated/Model/ResourceUnavailableException.cs
6,045
C#
/***************************************************************************** Copyright 2018 The TensorFlow.NET Authors. 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. You may obtain a copy of the Licen...
39.083333
79
0.52452
[ "Apache-2.0" ]
Aangbaeck/TensorFlow.NET
src/TensorFlowNET.Core/Graphs/FreezeGraph.cs
1,409
C#
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0x4F480255)] public class STU_4F480255 : STUConfigVarEntityID { } }
22.777778
54
0.756098
[ "MIT" ]
Mike111177/OWLib
TankLib/STU/Types/STU_4F480255.cs
205
C#
//// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org) //// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net) //// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp) //// See the LICENSE.md file in the project root for full license informa...
46.852941
156
0.577869
[ "MIT" ]
Ethereal77/stride
sources/engine/Stride.Audio.Tests/TestAudioEngine.cs
17,523
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("ServiceCodeSupport.Core.Test")] [assembly:...
39.542857
84
0.747832
[ "MIT" ]
GuidanceAutomation/ServiceCodeSupport
tests/ServiceCodeSupport.Core.Test/Properties/AssemblyInfo.cs
1,387
C#
// ------------------------------------------------------------------------------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // --------...
47.631579
154
0.432044
[ "MIT" ]
LokiLabs/microsoft-graph-devx-api
GraphWebApi/Common/Constants.cs
907
C#
using System; using System.Linq; using System.Text; using Kafka.Client.Request; using Kafka.Client.Util; using NUnit.Framework; namespace Kafka.Client.Request.Tests { /// <summary> /// Tests the <see cref="OffsetRequest"/> class. /// </summary> [TestFixture] public class OffsetRequestTests { ...
35.964286
143
0.581927
[ "Apache-2.0" ]
MarcAMartin/kafka
clients/csharp/src/Kafka/Tests/Kafka.Client.Tests/Request/OffsetRequestTests.cs
3,023
C#