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.Goog...
35.217391
243
0.667284
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/Compute/Alpha/Outputs/SslCertificateManagedSslCertificateResponse.cs
1,620
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Microsoft.CodeAnalysis.CSharp.Syntax { ...
41.807692
193
0.785649
[ "MIT" ]
06needhamt/roslyn
src/Compilers/CSharp/Portable/Syntax/LockStatementSyntax.cs
1,089
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> //--...
29.458333
81
0.489392
[ "MIT" ]
NathanClouseAX/AAXDataEntityPerfTest
Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/UnitOfMeasureSystemOfUnits.cs
709
C#
namespace Bridge.Contract { public interface ILogger { void Warn(string message); void Error(string message); void Info(string message); void Trace(string message); } }
15.428571
35
0.606481
[ "Apache-2.0" ]
LiPingWUhahaha/bridge.lua
Compiler/Contract/ILogger.cs
216
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.Azure.Management.Batch.Fluent { using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Management.ResourceMana...
36.4
201
0.652747
[ "MIT" ]
AntoineGa/azure-libraries-for-net
src/ResourceManagement/Batch/Domain/IApplicationPackage.cs
1,820
C#
// Demonstration of RuntimeInitializeOnLoadMethod and the argument it can take. using UnityEngine; namespace _Project.Scripts { class Initialize { // Before first Scene loaded [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] static void OnBeforeSceneLoadR...
27.34375
94
0.650286
[ "MIT" ]
wezel/Virtual-Ray-Tracer
Unity/Assets/_Project/Scripts/Initialize.cs
875
C#
using System; using System.Collections.Generic; using System.Linq; using Wanderer.Adjectives; namespace Wanderer.Items { public class ItemSlot : IItemSlot { public string Name { get; set; } public int NumberRequired { get; set; } public InjuryRegion[] SensitiveTo { get; set; }...
22.111111
90
0.596315
[ "MIT" ]
tznind/Wanderer
src/Items/ItemSlot.cs
599
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace StoreData.Migrations { public partial class Initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTab...
45.373541
125
0.495155
[ "MIT" ]
210215-USF-NET/Weston_Davidson-P1
StoreData/Migrations/20210305040020_Initial.cs
11,663
C#
using System; using System.Collections.Generic; using System.Windows.Forms; using Presentacion.Constantes; using Presentacion.FormularioBase.DTOs; namespace Presentacion.FormularioBase { public partial class FormularioBase : Form { private readonly List<ControlDto> _listaControlesObligatorios; ...
31.954416
108
0.417261
[ "MIT" ]
RamonChauqui/SubeCodigo
Presentacion.FormularioBase/FormularioBase.cs
11,218
C#
using System; namespace SumOf3Numbers { class SumOf3Numbers { static void Main() { //input short num1 = short.Parse(Console.ReadLine()); short num2 = short.Parse(Console.ReadLine()); short num3 = short.Parse(Console.ReadLine()); //lo...
21.3
57
0.516432
[ "MIT" ]
marianbochev/CSharpFundamentals
HomeworkConsoleInAndOut/SumOf3Numbers/SumOf3Numbers.cs
428
C#
namespace PubSubWorkerStarter.Entity { public class User { public long Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } } }
20.4
45
0.588235
[ "MIT" ]
hungnd271090/GCP-Pubsub-example
PubSubWorkerStarter/PubSubWorkerStarter/Data/Entity/User.cs
206
C#
using VrsekDev.Blazor.Mobx.Abstractions; using VrsekDev.Blazor.Mobx.Abstractions.Components; using VrsekDev.Blazor.Mobx.Abstractions.Events; using VrsekDev.Blazor.Mobx.StoreAccessors; using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System...
30.785047
112
0.624469
[ "MIT" ]
vrsekdev/vrsekdev-framework
src/Blazor.Mobx.Core/PropertyObservers/PropertyObserver.cs
3,296
C#
namespace mcswlib.ServerStatus.Event { public abstract class EventBase { protected EventMessages messages; internal EventBase(EventMessages msg) { messages = msg; } /// <summary> /// This function needs to be overwritten to return the event-spec...
26
90
0.587607
[ "MIT" ]
Hexxonite/mcswlib
mcswlib/ServerStatus/Event/EventBase.cs
470
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.Management.Storage.M...
57.50084
239
0.628036
[ "MIT" ]
Banani-Rath/azure-sdk-for-net
sdk/testcommon/Azure.Management.Storage.2019_06/src/Generated/TableRestOperations.cs
34,213
C#
using Windows.UI.Xaml.Media.Imaging; namespace Locana.DataModel { public class ImageDataSource : ObservableBase { private BitmapImage _Image = null; public BitmapImage Image { set { _Image = value; NotifyChanged(nameof...
21.5
67
0.474806
[ "MIT" ]
jeremygraziano/locanat1
Locana/DataModel/ImageDataSource.cs
518
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq.Expressions; using System.Threading.Tasks; namespace Xania.DataAccess { public class TransientObjectStore<TModel> : IObjectStore<TModel> where TModel : new() { private static readonly List<TModel> Items...
22.824561
73
0.558032
[ "MIT" ]
ibrahimbensalah/Xania
Xania.DataAccess/TransientObjectStore.cs
1,303
C#
using Net.Pkcs11Interop.Common; using RutokenPkcs11Interop.Common; using RutokenPkcs11Interop.LowLevelAPI81; namespace RutokenPkcs11Interop.HighLevelAPI81 { public class VolumeInfoExtended : VolumeInfo { public ulong VolumeId { get; } internal VolumeInfoExtended(CK_VOLUME_INFO_EXTENDED ckVolu...
31.714286
81
0.713213
[ "Apache-2.0" ]
pavelkhrulev/RutokenPkcs11Interop
src/RutokenPkcs11Interop/RutokenPkcs11Interop/HighLevelAPI81/VolumeInfoExtended.cs
668
C#
using SixLabors.ImageSharp; using SixLabors.ImageSharp.PixelFormats; using System.Numerics; using Veldrid.Utilities; using Veldrid.ImageSharp; using Veldrid; using Enigma.Graphics.Shaders; namespace Enigma.Graphics { public class Skybox : IRenderable { private readonly Image<Rgba32> _front; pr...
46.03012
145
0.637875
[ "MIT" ]
wings-studio/Enigma.Graphics
Enigma.Graphics/Objects/Skybox.cs
7,643
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; public enum Menu { None, Pause, Inv , Death, Screen, Debug, Options, Keypad}; public class SCP_UI : MonoBehaviour { public static SCP_UI instance = null; public Image eyes, ey...
30.765343
180
0.562896
[ "MIT" ]
lf751/Faithful-SCP-Unity
Assets/Scripts/GameSystem/SCP_UI.cs
8,524
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class TempPlayer : MonoBehaviour { [SerializeField] private float xSpeed = 2f; [SerializeField] private float ySpeed = 10f; private bool enabledInteraction; private string keyInteract; private bool...
26.880952
105
0.627989
[ "MIT" ]
eldroan/GlobalGameJam2020
GlobalGameJam2020/Assets/Scripts/TempPlayer.cs
2,260
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using Volpanic.Easing; namespace Volpanic.UITweening { public class MoveRectEffect : IUIEffect { private RectTransform rectTransform; private Vector3 targetPosition; private TweenData tweenData;...
38.176471
124
0.604006
[ "MIT" ]
Volpanic/UntiyTweenLibrary
Tweening/Scripts/Effects/MoveRectEffect.cs
2,596
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Azure.Analytics.Synapse.ManagedPrivateEndpoints.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7...
79
419
0.908228
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/synapse/Azure.Analytics.Synapse.ManagedPrivateEndpoints/src/Properties/AssemblyInfo.cs
632
C#
using BotEngine; namespace Sanderling.Interface.MemoryStruct { public class WindowAgentBrowser : WindowAgent, IWindowAgent, IWindow, IContainer, IUIElement, IObjectIdInMemory, IObjectIdInt64 { public WindowAgentBrowser(WindowAgent @base) : base(@base) { } public WindowAgentBrowser() { } } }
18.352941
128
0.753205
[ "Apache-2.0" ]
Fulborg/A-Bot
src/Sanderling.Interface/Sanderling.Interface.MemoryStruct/WindowAgentBrowser.cs
312
C#
using QuickGraph; using System.Collections.Generic; namespace KNNonAir.Domain.Entity { public class VoronoiCell { public Vertex PoI { get; set; } public RoadGraph Road { get; set; } public List<Vertex> BorderPoints { get; set; } public VoronoiCell() { PoI =...
21.65
54
0.56582
[ "MIT" ]
lohas1107/knn-on-air
KNNonAir/Domain/Entity/VoronoiCell.cs
435
C#
using System.Web.Optimization; namespace O365_WebApp_MultiTenant { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundl...
41.114286
112
0.585823
[ "Apache-2.0" ]
OfficeDev/O365-WebApp-MultiTenant
O365-WebApp-MultiTenant/O365-WebApp-MultiTenant/App_Start/BundleConfig.cs
1,441
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 26.04.2019. // // DbMath.Abs(<param>) // using System; using System.Linq; using System.ComponentModel.DataAnnotation...
22.684211
115
0.539388
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Funcs/DbMath/SET_001/STD/Abs/Double/TestSet___param.cs
9,053
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [ExecuteInEditMode] public class Item : MonoBehaviour { public enum Type { key, other } public Sprite ItemImage; public Type ItemType; public Color ItemColor; public GameObject Item...
23.442857
122
0.618525
[ "MIT" ]
TrueCyan/Protospace
Assets/Scripts/Item.cs
1,643
C#
// Amplify Shader Editor - Visual Shader Editing Tool // Copyright (c) Amplify Creations, Lda <info@amplify.pt> using UnityEngine; using UnityEditor; using System; using System.Collections.Generic; namespace AmplifyShaderEditor { [Serializable] [NodeAttributes( "Template Vertex Data", "Vertex Data", "Select and use ...
26.730519
148
0.673388
[ "Apache-2.0" ]
Eresia/Harpooneers
Assets/Plugins/AmplifyShaderEditor/Plugins/Editor/Templates/TemplateVertexDataNode.cs
8,233
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace myreact.Pages { [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = tru...
26.458333
89
0.674016
[ "MIT" ]
CapitanFuture/LockbaseELI
backend/ui/Pages/Error.cshtml.cs
635
C#
namespace BloodDonation.Web.Tests { using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Testing; using Xunit; public class WebTests : IClassFixture<WebApplicationFactory<Startup>> { private readonly WebApplicationFactory<Startup> server; public Web...
33.710526
120
0.651054
[ "Apache-2.0" ]
ViktorNikoloov/ASP.NET-Core-Project-Blood-Donation-System
src/Tests/BloodDonation.Web.Tests/WebTests.cs
1,283
C#
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System.Configuration; using EnterpriseLibrary.Common; using EnterpriseLibrary.Common.Configuration; using EnterpriseLibrary.Common.Configuration.Design; using EnterpriseLibrary.PolicyInjecti...
51.555556
130
0.697002
[ "Apache-2.0" ]
EnterpriseLibrary/policy-injection-application-block
source/Src/PolicyInjection/Configuration/PerformanceCounterCallHandlerData.cs
10,210
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...
39.536082
150
0.662842
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/_bcl45+netstandard/ListThingTypesPaginator.cs
3,835
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Portions derived from React Native: // Copyright (c) 2015-present, Facebook, Inc. // Licensed under the MIT License. using Newtonsoft.Json; using Newtonsoft.Json.Linq; using ReactNative.Bridge; using ReactNative.UIManager; using ReactNative.UIManager.Anno...
37.036876
132
0.513939
[ "MIT" ]
AnandMM/react-native-windows
ReactWindows/ReactNative/Views/Web/ReactWebViewManager.cs
17,074
C#
// ================================================================================================================================= // Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information. // =========================================================...
37.725926
133
0.538582
[ "MIT" ]
RapidField/solid-instruments
test/RapidField.SolidInstruments.Messaging.InMemory.UnitTests/Models/Product/DomainModel.cs
5,095
C#
using NHibernate; using NHibernate.Event; using Pizza.Persistence; namespace Pizza.Framework.Persistence.SoftDelete { public class SoftDeleteEventListener : IPreDeleteEventListener { public bool OnPreDelete(PreDeleteEvent preDeleteEvent) { var softDeletable = preDeleteEvent.Entity a...
28.793103
84
0.605988
[ "MIT" ]
dwdkls/pizzamvc
framework/Pizza.Framework/Persistence/SoftDelete/SoftDeleteEventListener.cs
835
C#
// // RelaxngMergedProvider.cs // // Author: // Atsushi Enomoto <atsushi@ximian.com> // // Copyright (c) 2004 Novell Inc. // All rights reserved // // // 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 t...
32
101
0.745192
[ "Apache-2.0" ]
121468615/mono
mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng/RelaxngMergedProvider.cs
2,496
C#
/* * Copyright 2020 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 "licens...
34.082353
125
0.6631
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/AppConfig/Generated/Model/Internal/MarshallTransformations/ConflictExceptionUnmarshaller.cs
2,897
C#
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~// // Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames // // OCCAM'S Laser (Materials) // This file contains shader and material definitions compatible // with the T3D engine. // // Copyri...
28.137615
92
0.622432
[ "MIT" ]
7erj1/RPG_Starter
Templates/RPGDemo/game/art/afx/effects/CoreTech/SF_OL/models/materials.cs
2,959
C#
namespace NetSimpleAuth.Backend.Domain.Dto { public class AuthUserDto { public string Identity { get; set; } public string Password { get; set; } public string IpAddress { get; set; } } }
24.888889
45
0.620536
[ "MIT" ]
MrDanCoelho/NetSimpleAuth-Backend
NetSimpleAuth.Backend.Domain/Dto/AuthUserDto.cs
226
C#
using System; using System.Runtime.InteropServices; internal static partial class Interop { internal static partial class Libsodium { internal const int crypto_pwhash_argon2id_ALG_ARGON2ID13 = 2; internal const int crypto_pwhash_argon2id_BYTES_MIN = 16; internal const long crypto_pwhash...
43.686275
85
0.734291
[ "MIT" ]
danielnachtrub/nsec
src/Interop/Interop.Argon2id.cs
2,228
C#
// Python Tools for Visual Studio // Copyright(c) Microsoft Corporation // 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 // License at http://www.apache.org/licenses/LICENSE-2.0 //...
35.789474
80
0.707353
[ "Apache-2.0" ]
113771169/PTVS
Python/Product/Debugger.Concord/Proxies/Structs/PyCFunctionObject.cs
1,360
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MathNet.Numerics; using MathNet.Numerics.LinearAlgebra; using MathNet.Numerics.LinearAlgebra.Double; using MathNet.Numerics.Statistics; using WeatherLab.PredictionSystem.Common; namespace WeatherLa...
40.348259
158
0.587176
[ "MIT" ]
AbdennourBenantar/WeatherLab
WeatherLab/PredictionSystem/Utils/PredictionFunctions.cs
8,114
C#
using System; namespace _2019_06_19 { class Serializer { public string Serialize(Node node) { if (node == null) return string.Empty; return $"[{node.Value},{Serialize(node.Left)},{Serialize(node.Right)}]"; } public Node Deserialize(string serializedNode...
31.6
101
0.544879
[ "MIT" ]
lAnubisl/DailyCodingProblem
2019-06-19/2019-06-19/Serializer.cs
1,740
C#
// // Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.Zelig.Debugger.ArmProcessor { using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Windows.Forms; u...
20.065217
68
0.551463
[ "MIT" ]
NETMF/llilum
Zelig/Zelig/DebugTime/Debugger/VisualTree/VisualItems/AddressVisualItem.cs
923
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...
33.39726
111
0.669401
[ "Apache-2.0" ]
aws/aws-sdk-net
sdk/src/Services/LakeFormation/Generated/Model/Internal/MarshallTransformations/RowFilterMarshaller.cs
2,438
C#
using System; using System.Collections.Generic; namespace TTWork.Abp.AppManagement.Apps { [Serializable] public class AppCacheItem { public Dictionary<string, string> Value { get; set; } public AppCacheItem() { } public AppCacheItem(Dictionary<string, string> valu...
23.12
100
0.588235
[ "MIT" ]
jerrytang67/szsj
backend/Modules/TTWork.Abp.AppManagement/Apps/AppCacheItem.cs
580
C#
using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using Microsoft.Owin.Infrastructure; using Microsoft.Owin.Logging; using Microsoft.Owin.Security; using Microsoft.Owin.Security.Infrastruct...
41.474308
245
0.583246
[ "MIT" ]
Jacob-Morgan/OwinOAuthProviders
src/Owin.Security.Providers.Salesforce/SalesforceAuthenticationHandler.cs
10,495
C#
namespace Squalr.Engine.Memory { using Squalr.Engine.Logging; using Squalr.Engine.Memory.Windows; using System; using System.Threading; public static class Writer { /// <summary> /// Singleton instance of the <see cref="WindowsMemoryWriter"/> class. /// </summary> ...
34.528302
97
0.513661
[ "MIT" ]
Xen0byte/Squalr
Squalr.Engine.Memory/Writer.cs
1,832
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime.InteropServices; internal static partial class Interop { internal static partial class Glo...
54.904762
141
0.771899
[ "MIT" ]
06needhamt/runtime
src/libraries/Common/src/Interop/Interop.Casing.cs
1,153
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using LetPortal.Core.Persistences; using LetPortal.Core.Utils; using LetPortal.Portal.Entities.Apps; using LetPortal.Portal.Entities.Menus; using LetPortal.Portal.Entities.Shared; using LetPortal.Portal.Models.Shared; using Microsoft.En...
32.382353
187
0.522934
[ "MIT" ]
chuxuantinh/let.portal
src/web-apis/LetPortal.Portal/Repositories/Apps/AppEFRepository.cs
4,406
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
48.51087
153
0.632086
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/DepMacOSEnrollmentProfileReferenceRequest.cs
4,463
C#
/// This code was generated by /// \ / _ _ _| _ _ /// | (_)\/(_)(_|\/| |(/_ v1.0.0 /// / / /// <summary> /// PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you /// currently do not have developer preview access, please contact help@twilio...
49.78178
143
0.543048
[ "MIT" ]
BrimmingDev/twilio-csharp
src/Twilio/Rest/Preview/Sync/Service/SyncMap/SyncMapPermissionResource.cs
23,497
C#
using StackExchange.Exceptional.Internal; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace StackExchange.Exceptional { /// <summary> /// Utilities for Exceptions! /// </summary> public static...
53.535836
172
0.479632
[ "Apache-2.0", "MIT" ]
CampolongoHospital/StackExchange.Exceptional
src/StackExchange.Exceptional.Shared/ExceptionalUtils.StackTrace.cs
31,376
C#
// The MIT License (MIT) // // Copyright (c) 2018 - 2019 Lutando Ngqakaza // https://github.com/Lutando/EventFly // // // 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 restricti...
40.421053
116
0.656901
[ "MIT" ]
Sporteco/EventFly
src/EventFly.Clustering/Core/ClusterFactory.cs
6,146
C#
using System.Collections.Generic; using System.Text; using System.Text.Json.Serialization; namespace WeatherApi.Domain.WeatherForecasts { public class WeatherForecast { [JsonPropertyName("city")] public string City { get; set; } [JsonPropertyName("country")] public string Coun...
24.105263
65
0.672489
[ "Apache-2.0" ]
lijulat/WeatherForecastApp
backend/WeatherApi.Domain/WeatherForecasts/WeatherForecast.cs
460
C#
using System; using System.Collections.Generic; using System.Text; namespace Com.Danliris.Service.Packing.Inventory.Application.DTOs { public class StorageDto { public int? _id { get; set; } public string code { get; set; } public string name { get; set; } } }
21.357143
65
0.655518
[ "MIT" ]
AndreaZain/com-danliris-service-packing-inventory
src/Com.Danliris.Service.Packing.Inventory.Application/DTOs/StorageDto.cs
301
C#
using System.Collections.Generic; using FluentAssertions; using Xunit; namespace Useful.Extensions.Tests { public class DictionaryExtensionsTests { [Fact] public void test_value_or_default_returns_the_expected_result_with_default_set() { // Arrange var values = ...
27.969697
101
0.518238
[ "MIT" ]
Tazmainiandevil/Useful.Extensions
Tests/Useful.Extensions.Tests/DictionaryExtensionsTests.cs
2,771
C#
/* Copyright 2020-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 wr...
33.642105
138
0.562735
[ "Apache-2.0" ]
Etherna/mongo-csharp-driver
src/MongoDB.Driver.Core/Core/Servers/RoundTripTimeMonitor.cs
6,394
C#
using Abp.Application.Features; using Abp.Domain.Repositories; using Abp.MultiTenancy; using Foyer.Authorization.Users; using Foyer.Editions; namespace Foyer.MultiTenancy { public class TenantManager : AbpTenantManager<Tenant, User> { public TenantManager( IRepository<Tenant> tenantReposit...
27.769231
77
0.621884
[ "MIT" ]
ApplixDev/foyer
src/Foyer.Core/MultiTenancy/TenantManager.cs
724
C#
namespace Tfe.NetClient.Applies { using System; using System.Text.Json.Serialization; /// <summary> /// ApplyResponse /// </summary> public class ApplyResponse { /// <summary> /// Data /// </summary> /// <value></value> [JsonPropertyName("data")] ...
23.407216
62
0.474785
[ "MIT" ]
Manuss20/Tfe.NetClient
src/Tfe.NetClient/Features/Applies/AppliesResponse.cs
4,541
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. //--------------------------------------------------------------------------- // // Description: // Definition ...
73.524081
168
0.667618
[ "MIT" ]
ICU-UCI/wpf
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Markup/KnownTypes.cs
464,084
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MVVMFirma.ViewModels { public class NoweZamowienieViewModel : WorkspaceViewModel//bo wszystkie VM zakładek dziedzcza po Work... { public NoweZamowienieViewModel() { base.DisplayName = "Z...
23.266667
108
0.687679
[ "MIT" ]
kzrepo/studia-aplikacje-desktopowe-laboratorium
MVVMFirma/ViewModels/NoweZamowienieViewModel.cs
352
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; namespace SiteMonitR.Common { public class SiteMonitRConfiguration { public const string TABLE_NAME_SITE...
32.691358
124
0.612915
[ "Apache-2.0" ]
ammogcoder/SiteMonitR
SiteMonitR.Common/SiteMonitRConfiguration.cs
2,652
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InnerFence.ChargeAPI { public class ChargeRequest { public const string CCTERMINAL_BASE_URL = @"com-innerfence-ccterminal://charge/1.0.0/"; pu...
42.178862
113
0.625289
[ "MIT" ]
innerfence/chargedemo-windows
InnerFence.ChargeAPI/ChargeRequest.cs
5,190
C#
// ----------------------------------------------------------------------------- // 让 .NET 开发更简单,更通用,更流行。 // Copyright © 2020-2021 Furion, 百小僧, Baiqian Co.,Ltd. // // 框架名称:Furion // 框架作者:百小僧 // 框架版本:2.8.6 // 源码地址:Gitee: https://gitee.com/dotnetchina/Furion // Github:https://github.com/monksoul/Furion // 开源协议:...
25.027778
81
0.472808
[ "Apache-2.0" ]
staoran/Furion
framework/Furion.Pure/TaskScheduler/Enums/SpareTimeTypes.cs
1,040
C#
/* Copyright (c) 2005 Poderosa Project, All Rights Reserved. This file is a part of the Granados SSH Client Library that is subject to the license included in the distributed package. You may not use this file except in compliance with the license. $Id: SSH1Packet.cs,v 1.4 2011/10/27 23:21:56 kzmi Exp $ */ /* *...
32.686192
115
0.548003
[ "Apache-2.0" ]
FNKGino/poderosa
Granados/SSH1Packet.cs
7,814
C#
using RecipeApp.Base.Interfaces.Models; using System.Collections.Generic; namespace RecipeApp.Base.Managers.Models { public class MealPlan : IMealPlan { public string Guid { get; set; } public IEnumerable<IRecipe> Recipes { get; set; } public IEnumerable<IShoppingListItem> ShoppingList...
28.809524
72
0.621488
[ "MIT" ]
coltwitch/RecipeApp
src/RecipeApp.Base/Managers/Models/MealPlan.cs
607
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Reactive.Streams; using Reactor.Core; using System.Threading; using Reactor.Core.flow; using Reactor.Core.subscriber; using Reactor.Core.subscription; using Reactor.Core.util; using System.Runtime...
26.543147
91
0.364219
[ "Apache-2.0" ]
reactor-incubator/reactor-core-dotnet
Reactor.Core/PublishProcessor.cs
10,460
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation 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.Threadin...
29.543993
169
0.493743
[ "Apache-2.0" ]
ryanwersal/reactive
Rx.NET/Source/tests/Tests.System.Reactive/Tests/Linq/Observable/TimeoutTest.cs
34,923
C#
using System; namespace Starcounter.MultiModelBenchmark.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
19.166667
70
0.691304
[ "MIT" ]
Starcounter/Starcounter.MultiModelBenchmark
src/Models/ErrorViewModel.cs
230
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> //----------------------------------...
26.055556
82
0.413646
[ "MIT" ]
wgcv/Ayudantias-Programacion-en-Capas
Clase 1 MetodoGet/MetodoGet/Account/ChangePasswordSuccess.aspx.designer.cs
471
C#
using Microsoft.Toolkit.Uwp.Notifications; using Windows.Data.Xml.Dom; using Windows.UI.Notifications; namespace Param_RootNamespace.Services { public partial class ToastNotificationsService { public void ShowToastNotificationSample() { // Create the toast content ...
38.276923
148
0.465836
[ "MIT" ]
ConnectionMaster/WindowsTemplateStudio
templates/Wpf/Features/ToastNotifications/Services/ToastNotificationsService.Samples.cs
2,426
C#
using System.Collections; using System.Collections.Generic; using com.mukarillo.prominentcolor; using UnityEngine; public class SampleColorGrid : MonoBehaviour { public List<string> urls = new List<string>(); public Transform elemenTransformParent; public GameObject elementPrefab; public int maxColor...
31.413043
92
0.600692
[ "MIT" ]
Hsantos/UnityProminentColor
Assets/Package/Samples~/SampleColorGrid/SampleColorGrid.cs
1,447
C#
#pragma checksum "C:\Users\Batuhan\source\repos\CoreProject_MVC\CoreProject_MVC\Views\Shared\_Layout.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6a69ccf251fd038efc0c1477e1cf3c63d42f15d2" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttrib...
82.371429
384
0.725479
[ "MIT" ]
batuhansariikaya/MVC_CoreBlogProject
CoreProject_MVC/CoreProject_MVC/obj/Debug/net5.0/Razor/Views/Shared/_Layout.cshtml.g.cs
25,947
C#
using System; using System.ComponentModel; using System.Linq.Expressions; using System.Reflection; using System.Threading; namespace Devkoes.Core.MVVM { /// <summary> /// Implementation is like the version in Microsoft PRISM /// </summary> public class ViewModelBase : INotifyPropertyChanged { ...
35.575758
141
0.587166
[ "MIT" ]
jenkins-integrations/vsjenkinsmanager
Devkoes.VSJenkinsManager/Devkoes.Core/MVVM/ViewModelBase.cs
3,524
C#
//------------------------------------------------------------------------------ // <auto-generated> // Ten kod został wygenerowany przez narzędzie. // Wersja wykonawcza:4.0.30319.42000 // // Zmiany w tym pliku mogą spowodować nieprawidłowe zachowanie i zostaną utracone, jeśli // kod zostanie ponownie ...
45.842105
152
0.631458
[ "MIT" ]
ArtJSON/PT
Task2/DataLayer/Properties/Settings.Designer.cs
1,751
C#
using OrderingService.API.Models; using OrderingService.Core.OrderAggregateRoot; namespace OrderingService.API.Endpoints.OrderEndpoints { public record GetOrderByIdResponse { public OrderDetailsDto Order { get; init; } } }
25.3
55
0.735178
[ "MIT" ]
NguyenVinhPhuoc/eshop
services/ordering-service/src/OrderingService.API/Endpoints/OrderEndpoints/GetById.GetOrderByIdResponse.cs
255
C#
using System.Linq; using System.Threading.Tasks; using Loop54.Model.Request; using Loop54.Model.Request.Parameters.Filters; using Loop54.Model.Response; using Loop54.Test.AspNetCore.Models; using Microsoft.AspNetCore.Mvc; namespace Loop54.Test.AspNetCore.Controllers { public class GetEntitiesByAttributeController ...
38.740741
117
0.664914
[ "BSD-3-Clause" ]
LoopFiftyFour/.NET-Connector
Loop54.Test.AspNetCore/Controllers/GetEntitiesByAttributeController.cs
2,092
C#
// <auto-generated> - Template:WebApiControllerPartialMethods, Version:1.1, Id:54f0612b-5235-437d-af2d-0b75efa68630 using System.Data.Entity; using System.Linq; using entQR = CGH.QuikRide.Repository.Entities.QR; namespace CGH.QuikRide.API.Controllers.QR { public partial class UserRewardAccountsQRController : QRBaseAp...
48.575758
229
0.734872
[ "MIT" ]
MSCTek/QuikRide
src/CGH.QuikRide.API/Controllers/QR/Custom/UserRewardAccountsControllerCustom.cs
3,206
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Libraries.Collections; using Libraries.Extensions; namespace Libraries.LexicalAnalysis { public class TokenShakerContainer<T> : ShakerContainer<T> { private TypedShakeSelector<T> selector; public new TypedSha...
31.530864
122
0.646045
[ "BSD-3-Clause" ]
DrItanium/ImageProcessingApplication
src/lib/LexicalAnalysis/TokenShakerContainer.cs
5,110
C#
using YAF.Lucene.Net.Documents; using System; using YAF.Lucene.Net.Diagnostics; using System.Runtime.CompilerServices; namespace YAF.Lucene.Net.Index { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with ...
37.824034
171
0.531488
[ "Apache-2.0" ]
10by10pixel/YAFNET
yafsrc/Lucene.Net/Lucene.Net/Index/NumericDocValuesFieldUpdates.cs
8,581
C#
using System.Collections.Generic; using System.Linq; using Retrospector.AchievementTab; using Retrospector.AchievementTab.Interfaces; using Retrospector.Tests.TestDoubles.AchievementTab; using Retrospector.Tests.Utilities; using Xunit; namespace Retrospector.Tests.Tests.AchievementTab { public class AchievementTab...
35.569697
119
0.539956
[ "Unlicense" ]
NonlinearFruit/Retrospector
Retrospector.Tests/Tests/AchievementTab/AchievementTabViewModelTests.cs
5,869
C#
//----------------------------------------------------------------------- // <copyright file="SimpleJson.cs" company="The Outercurve Foundation"> // Copyright (c) 2011, The Outercurve Foundation. // // Licensed under the MIT License (the "License"); // you may not use this file except in compliance with the Li...
31.579453
613
0.698586
[ "Apache-2.0" ]
ctacke/RestSharp
RestSharp/SimpleJson.cs
65,780
C#
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #nullable disable namespace StyleCop.Analyzers.Test.CSharp9.LayoutRules { using StyleCop.Analyzers.Test.CSharp8.LayoutRules; public class SA1511C...
26.785714
91
0.770667
[ "MIT" ]
RogerHowellDfE/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/LayoutRules/SA1511CSharp9UnitTests.cs
377
C#
using System; using System.Drawing; using System.Drawing.Imaging; using System.IO; namespace TheDevice { public static class TheDevice { static int width = 30; static int height = 5; static byte[] data; static TheDevice() { Clear(); } public...
25.64
82
0.377847
[ "MIT" ]
bwosh/csharpqa
02_BaseLine/TheDevice.cs
3,221
C#
using System; namespace SimpleConfiguratorBackend.Areas.HelpPage { /// <summary> /// This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class. /// </summary> public class InvalidSample { public InvalidSample(string errorMe...
26.675676
134
0.58156
[ "MIT" ]
YazanGhafir/SimpleConfigurator
Backend_Csharp_ASPNET/SimpleConfiguratorBackend/Areas/HelpPage/SampleGeneration/InvalidSample.cs
987
C#
using UnityEngine; using System.Collections; using HighlightingSystem; #if UNITY_EDITOR using UnityEditor; #endif namespace HighlightingSystem.Demo { [System.Obsolete] public class HighlighterInteractive : MonoBehaviour { public bool seeThrough = true; } #if UNITY_EDITOR [System.Obsolete] [CustomEditor(type...
21.514286
123
0.76494
[ "Apache-2.0" ]
adityasamant/magic_card
Assets/ArtResource/HighlightingSystemDemo/Scripts/Advanced/Deprecated/HighlighterInteractive.cs
753
C#
using System.Net.NetworkInformation; using System.Threading; using System.Diagnostics; using System.Collections.Generic; using System; using System.Reflection; using System.Linq; using System.Net; namespace NetworkScanner { static class Scanner { #region Members private static List<Ping> m_Pin...
31.742081
131
0.517605
[ "MIT" ]
100prznt/NetworkScanner
NetworkScanner/Program.cs
7,017
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...
36.460784
158
0.64399
[ "Apache-2.0" ]
jasoncwik/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/DescribeReservedInstancesResponseUnmarshaller.cs
3,719
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _07.Center_Point { class Program { static double Point(double X,double Y) { double map = Math.Sqrt(Math.Pow(X,2)) + Math.Sqrt(Math.Pow(Y,2)); return map; } static void Main(s...
24.34375
89
0.682927
[ "MIT" ]
MichelleMihova/SoftUni
C# Methods. Debugging and Troubleshooting Code - Exercises/07. Primes in Given Range/Program.cs
781
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Media.Devices { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class AudioDeviceModule { #if __ANDROID__ || __IOS__ || NET461 |...
35.337838
182
0.742256
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Media.Devices/AudioDeviceModule.cs
2,615
C#
public interface IPlayableBehaviour // TypeDefIndex: 3342 { // Methods [RequiredByNativeCodeAttribute] // RVA: 0xD9BF0 Offset: 0xD9CF1 VA: 0xD9BF0 // RVA: -1 Offset: -1 Slot: 0 public abstract void OnGraphStart(Playable playable) { } [RequiredByNativeCodeAttribute] // RVA: 0xD9C00 Offset: 0xD9D01 VA: 0xD9C00 //...
39.710526
92
0.744201
[ "MIT" ]
SinsofSloth/RF5-global-metadata
UnityEngine/Playables/IPlayableBehaviour.cs
1,509
C#
using Autofac; using Autofac.Extensions.DependencyInjection; using EventBus; using EventBus.Abstractions; using HealthChecks.UI.Client; using Locations.Data; using Locations.Infrastructure.Repositories; using Locations.Infrastructure.Services; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNet...
38.322176
163
0.581068
[ "MIT" ]
pkyurkchiev/microservices-skeleton-net-core
src/Services/Locations/Locations.API/Startup.cs
9,161
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("Bo...
37.486486
84
0.743331
[ "MIT" ]
Contasimple-Engineering/PDFsharp-samples
samples/wpf/Booklet/Properties/AssemblyInfo.cs
1,390
C#
using System; using System.Drawing; using System.Drawing.Imaging; using System.Linq; using System.Runtime.Serialization; using System.Text; namespace Heist { // borrowed from https://dejanstojanovic.net/aspnet/2014/november/adding-extra-info-to-an-image-file/ to try to add additional properties public enum M...
30.731343
142
0.565809
[ "MIT" ]
reallyjim/Heist
Heist/BitmapExtensions.cs
2,061
C#
//from https://referencesource.microsoft.com/#System.Core/Microsoft/Scripting/Ast/DebugViewWriter.cs,05c213f459ccd9cb /* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache Lice...
24.982079
120
0.620057
[ "MIT" ]
argentsea/shared
src/DebugViewWriter.cs
34,852
C#
using System; using System.Collections.Generic; using System.Linq; using Android.App; using Android.Content; using Android.Text; using Android.Views; using Android.Widget; using Microsoft.Maui.Controls.Internals; using AppCompatActivity = AndroidX.AppCompat.App.AppCompatActivity; using AppCompatAlertDialog = AndroidX.A...
29.059172
163
0.703591
[ "MIT" ]
3DSX/maui
src/Compatibility/Core/src/Android/PopupManager.cs
14,733
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Veterinaria.BL; namespace Veterinaria.Win { public partial class Form2 : Form ...
26.74359
99
0.661553
[ "MIT" ]
AlbaHG/Veterinaria
Veterinaria.Win/Form2.cs
1,045
C#
using System; using System.Reactive.Linq; using System.Reflection; using System.Windows; using System.Windows.Input; using MahApps.Metro.Controls; using ReactiveUI; using SimpleMusicPlayer.Core; using SimpleMusicPlayer.ViewModels; namespace SimpleMusicPlayer.Views { /// <summary> /// Interaction logic for Mai...
46.88
254
0.5657
[ "Unlicense", "MIT" ]
kaushik1605/sample_DotNet
SimpleMusicPlayer/SimpleMusicPlayer/Views/MainWindow.xaml.cs
3,518
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.Collections.Immutable; using Microsoft.CodeAnalysis.PooledObjects; using Microsoft.CodeAnalysis.CSharp.Emit; u...
32.311688
161
0.561227
[ "Apache-2.0" ]
20chan/roslyn
src/Compilers/CSharp/Portable/Symbols/AnonymousTypes/SynthesizedSymbols/AnonymousType.SynthesizedMethodBase.cs
7,466
C#