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
// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // d...
25.032258
76
0.688144
[ "Apache-2.0" ]
Acidburn0zzz/Carbon-1
Source/TaskScheduler/Months.cs
776
C#
//****************************************************************************************************** // DataReceiver.cs - Gbtc // // Copyright © 2019, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // th...
42.62963
152
0.60223
[ "MIT" ]
zobo/gsf
Source/Tools/GEPDataExtractor/DataReceiver.cs
6,909
C#
using System; using System.Linq; namespace _02_DancingMoves { class Program { static void Main(string[] args) { var input = Console.ReadLine() .Split(" ".ToCharArray(), StringSplitOptions.RemoveEmptyEntries) .Select(int.Parse) .ToArra...
28.40625
80
0.352585
[ "MIT" ]
alekhristov/TelerikAcademyAlpha
01-Module1/01-C# Advanced/ExamPrep/ExamPrep2/02-DancingMoves/02-DancingMoves.cs
1,820
C#
namespace Octokit.Webhooks.Events.ContentReference { public static class ContentReferenceActionValue { public const string Created = "created"; } }
21
51
0.720238
[ "MIT" ]
JamieMagee/JamieMagee.Octokit.Webhooks
src/Octokit.Webhooks/Events/ContentReference/ContentReferenceActionValue.cs
168
C#
using System.Collections.Generic; using System.Linq; using UnityEngine.Purchasing.Utils; namespace UnityEngine.Purchasing.Models { /// <summary> /// This is C# representation of the Java Class PurchasesResult /// <a href="https://developer.android.com/reference/com/android/billingclient/api/Purchase.Purcha...
42.727273
165
0.62234
[ "MIT" ]
2PUEG-VRIK/UnityEscapeGame
2P-UnityEscapeGame/Library/PackageCache/com.unity.purchasing@3.1.0/Runtime/Stores/Android/GooglePlay/AAR/Models/GooglePurchaseResult.cs
1,880
C#
using System.Collections.Concurrent; using Microsoft.Extensions.Configuration; using Abp.Extensions; using Abp.Reflection.Extensions; namespace SlowDI.Configuration { public static class AppConfigurations { private static readonly ConcurrentDictionary<string, IConfigurationRoot> _configurationCache; ...
33.645833
133
0.629721
[ "MIT" ]
naazz1992/AspnetboilerplateSlowDiTest
src/SlowDI.Core/Configuration/AppConfigurations.cs
1,617
C#
using DotVVM.Framework.Controls; using DotVVM.Framework.Controls.DynamicData; using DotVVM.Framework.Controls.DynamicData.Metadata; using DotVVM.Framework.Controls.DynamicData.PropertyHandlers.FormEditors; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threadin...
38.912281
132
0.71596
[ "Apache-2.0" ]
sybila/BCSParser
Bcs.Admin.Web/Controls/Dynamic/CodeEditorProvider.cs
2,220
C#
using Geisha.Editor.CreateTextureAsset.Model; using Geisha.Editor.ProjectHandling.Model; namespace Geisha.Editor.CreateTextureAsset.UserInterface { internal interface ICreateTextureAssetCommandFactory { CreateTextureAssetCommand Create(IProjectFile sourceTextureFile); } internal class CreateT...
34.56
101
0.771991
[ "MIT" ]
dawidkomorowski/geisha
src/Geisha.Editor/CreateTextureAsset/UserInterface/CreateTextureAssetCommandFactory.cs
866
C#
using Entities.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace BlazorProducts.Server.Repository { public interface IProductRepository { Task<IEnumerable<Product>> GetProducts(); } }
19.833333
49
0.747899
[ "MIT" ]
CodeMazeBlog/blazor-wasm-signalr-charts
End/BlazorProducts.Server/BlazorProducts.Server/Repository/IProductRepository.cs
240
C#
using System; using System.ComponentModel; using Demo.Utilities; using Spectre.Console.Cli; namespace Demo.Commands { [Description("Launches a web server in the current working directory and serves all files in it.")] public sealed class ServeCommand : Command<ServeCommand.Settings> { public sealed...
33.833333
166
0.561576
[ "MIT" ]
0xced/spectre.console
examples/Cli/Demo/Commands/Serve/ServeCommand.cs
1,421
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.Network.M...
53.807475
219
0.627231
[ "MIT" ]
Banani-Rath/azure-sdk-for-net
sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/ExpressRouteCrossConnectionsRestOperations.cs
47,512
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web.Mvc; using wR.DAL; using wR.Web.ViewModels; namespace wR.Web.Controllers { [RoutePrefix("configuration")] public class ConfigurationController : Controller { private readonly Application...
35.166667
119
0.633649
[ "MIT" ]
piotr-mamenas/personal-tools
tools/word-repeater/wR.Web/Controllers/ConfigurationController.cs
2,112
C#
// Copyright 2013 Xamarin Inc. All rights reserved. using System; using System.Diagnostics; using System.Reflection; using System.Runtime.InteropServices; using System.Xml; using MonoMac.AppKit; // Test // * application use some attributes that the linker will remove (unneeded at runtime) // * Application is build in...
35.808
113
0.747096
[ "BSD-3-Clause" ]
1975781737/xamarin-macios
tests/mmptest/regression/link-remove-attributes-1/LinkRemoveAttributes.cs
4,476
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.Device.I2c; using System.Threading; namespace Iot.Device.Mlx90614.Sample { internal...
31.96875
102
0.602151
[ "MIT" ]
Raregine/iot
src/devices/Mlx90614/samples/Program.cs
1,029
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 Microsoft.TestCommon; using Moq; namespace System.Web.Mvc.Test { public class JavaScriptResultTest { [Fact] public void ...
30.555556
111
0.595455
[ "Apache-2.0" ]
1508553303/AspNetWebStack
test/System.Web.Mvc.Test/Test/JavaScriptResultTest.cs
2,202
C#
using System; using Xamarin.Forms; namespace ImageGesture { public class SamplePage : ContentPage { public SamplePage () { var i = new TappedImage () { Source = "drawable/Sample.png", }; i.TapLocationEvent += (sender, e) => { this.DisplayAlert ("Click", "It was at: " + e.TapLocation.X + ", " +...
17.392857
100
0.562628
[ "MIT" ]
chrispellett/Xamarin-Forms-TappedImage
ImageGesture/SamplePage.cs
489
C#
using System; using System.Web; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using Owin; using MemoEngine.Models; namespace MemoEngine.Account { public partial class RegisterExternalLogin : System.Web.UI.Page { protected string ProviderName ...
36.992308
156
0.515492
[ "MIT" ]
VisualAcademy/Answers
MemoEngine/Account/RegisterExternalLogin.aspx.cs
4,951
C#
namespace Luis_Dialog_Sample { using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Bot.Builder.Community.Dialogs.Luis; using Bot.Builder.Community.Dialogs.Luis.Models; using Luis_Dialog_Sample.Models; using M...
44.604938
203
0.595212
[ "MIT" ]
Amit-singh96/Test1
samples/Luis Dialog Sample/Dialogs/SimpleNoteDialog.cs
14,454
C#
using Xunit; namespace BDSA2020.Assignment03.Tests { public class WizardTests { [Fact] public void Wizards_contains_12_wizards() { var wizards = Wizard.Wizards.Value; Assert.Equal(12, wizards.Count); } [Theory] [InlineData("Darth Vader",...
41.666667
106
0.589714
[ "MIT" ]
REXKrash/BDSA2021-Assignment3
Assignment3.Tests/WizardTests.cs
1,750
C#
using System; #pragma warning disable 1591 // ReSharper disable UnusedMember.Global // ReSharper disable UnusedParameter.Local // ReSharper disable MemberCanBePrivate.Global // ReSharper disable UnusedAutoPropertyAccessor.Global // ReSharper disable IntroduceOptionalParameters.Global // ReSharper disable MemberCanBeP...
31.73622
102
0.688417
[ "MIT" ]
jfheins/IGCV-Protokoll
IGCV-Protokoll/util/ResharperAnnotations.cs
24,185
C#
using System.Collections.Generic; using Cbn.Infrastructure.Common.Foundation.Exceptions.Bases; namespace Cbn.Infrastructure.Common.Foundation.Exceptions { public class InfrastructureException : CbnException { /// <summary> /// ビジネスロジック例外 /// </summary> /// <param name="msg">エラー ...
34.35
117
0.620087
[ "MIT" ]
wakuwaku3/cbn.clean-sample
Cbn.Infrastructure.Common/Foundation/Exceptions/InfrastructureException.cs
769
C#
/******************************************************************************* * Copyright (c) 2013 IBM Corporation. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v. 1.0 which accomp...
34.701275
101
0.491733
[ "EPL-1.0" ]
nenaaki/oslc4net
OSLC4Net_SDK/OSLC4Net.Core.Query/QueryUtils.cs
19,053
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...
42.929635
196
0.612482
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/AutoScaling/Generated/Model/CreateAutoScalingGroupRequest.cs
31,725
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("06....
37.72973
84
0.747135
[ "MIT" ]
Peter-Georgiev/Programming.Fundamentals
Arrays - More Exercises/06.PowerPlants/Properties/AssemblyInfo.cs
1,399
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
35.342541
139
0.55401
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-rabbitmq
sdk/dotnet/Permissions.cs
6,397
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace N400.Packets { internal class IfsCommitRequest : IfsChainedPacketBase { public const ushort ID = 0x0006; public uint Handle { get { ...
19.294118
58
0.515244
[ "MIT" ]
MonoOni/N400
N400/Packets/IfsCommitRequest.cs
658
C#
using ManagePlan.Core.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace ManagePlan.Service.IServices { public interface ITransactionService { Task AddTransaction(Transaction transaction); Task DeleteTransaction(int id); Task<IEnumerable<Transaction>> Get...
31.764706
81
0.746296
[ "MIT" ]
Baintastic/ManagePlan
ManagePlan.Service/IServices/ITransactionService.cs
542
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v9/errors/field_error.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Colle...
38.55
279
0.68692
[ "Apache-2.0" ]
friedenberg/google-ads-dotnet
src/V9/Types/FieldError.g.cs
10,023
C#
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; using System.Runtime.InteropServices; using System.Text; using System.Runtime.CompilerServices; using System.Collections.Generic;...
41.887515
154
0.686369
[ "MIT" ]
moolicc/MonoGame
MonoGame.Framework/Platform/Graphics/OpenGL.cs
71,127
C#
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.IO; using System.Linq; using System....
41.713115
145
0.545294
[ "Apache-2.0" ]
Reminouche/azure-mobile-apps-net-client
e2etest/E2ETest/TestPlatform/TestPlatform.cs
5,091
C#
using System.Data; using IntegraData; using System.Data.SqlClient; using System; using System.Text; using System.Security.Cryptography; using System.Collections.Generic; using System.Net; using System.Net.Mail; using System.Web.Configuration; namespace IntegraBussines { public class HerramientasController { ...
47.358289
385
0.587624
[ "MIT" ]
bd3717eb/KONEXUS
IntegraBussines/HerramientasController.cs
8,865
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; using System.Text; using System.Threading.Tasks; using Meticulous.Patterns; nam...
20.647059
46
0.831909
[ "MIT" ]
tarik-s/Basis
SandBoxes/Basis.SandBox/CodeGeneration.cs
353
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Micr...
35.176471
119
0.597993
[ "MIT" ]
azydevelopment/aspnet-resttest
RestTest/WebClient/Startup.cs
2,990
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; internal struct T { public string S; public string SomeOtherString; public T(string _S) { S = _S; SomeOtherString = null; } /...
17.617021
71
0.55314
[ "MIT" ]
belav/runtime
src/tests/JIT/jit64/regress/ndpw/21015/interior_pointer.cs
828
C#
using System; using System.ComponentModel; using System.Diagnostics; using System.Windows; using System.Windows.Controls.Primitives; using System.Windows.Documents; using DigitalOcean.Indicator.ViewModels; using ReactiveUI; namespace DigitalOcean.Indicator.Views { /// <summary> /// Interaction logic for Prefe...
34.431034
104
0.549825
[ "MIT" ]
vevix/DigitalOcean.Indicator
DigitalOcean.Indicator/Views/PreferencesView.xaml.cs
1,999
C#
using System; using System.Linq; using Xamarin.Forms.PlatformConfiguration.iOSSpecific; using UIKit; namespace Xamarin.Forms.Platform.iOS { internal class ModalWrapper : UIViewController { IVisualElementRenderer _modal; internal ModalWrapper(IVisualElementRenderer modal) { _modal = modal; var elementC...
32.646552
185
0.773699
[ "MIT" ]
07101994/Xamarin.Forms
Xamarin.Forms.Platform.iOS/ModalWrapper.cs
3,789
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="HillHouse" file="ILogger.cs"> // Copyright © 2009-2012 HillHouse // </copyright> // <summary> // Logger interface // </summary> // <license> // Licensed under the Ms-PL l...
29.583333
120
0.499061
[ "MIT" ]
HillHouse/MilSym
Silverlight/LoadResources/ILogger.cs
2,133
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace WebApiDemo.Providers.LocalData { public class User { public int Id { get; set; } public string UserName { get; set; } public string Email { get; set; } public string Password { get; s...
23.375
44
0.628342
[ "Apache-2.0" ]
vknvnn/requirejs
WebApiDemo/Providers/LocalData/User.cs
376
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DnDTracker.Web.Objects.Character.Classes { public class MonkClass : ICharacterClass { public CharacterClassType Type { get; set; } public List<CharacterSubClassType> SubTypes { get; set;...
25.875
65
0.634461
[ "MIT" ]
itsmistad/DnDTracker
src/DnDTracker.Web/Objects/Character/Classes/MonkClass.cs
623
C#
// ***************************************************************************** // // © Component Factory Pty Ltd, 2006 - 2016. All rights reserved. // The software and associated documentation supplied hereunder are the // proprietary information of Component Factory Pty Ltd, PO Box 1504, // Glen Waverley, Vic...
29.938356
104
0.561885
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.400
Source/Demos/Non-NuGet/Krypton Toolkit Examples/KryptonLinkLabel Examples/Form1.cs
4,374
C#
//Released under the MIT License. // //Copyright (c) 2018 Ntreev Soft co., Ltd. // //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...
34.54
121
0.725536
[ "MIT" ]
NtreevSoft/Crema
common/Ntreev.Crema.Services.Sharing/ILogService.cs
1,729
C#
using System.Collections.Generic; using System.Runtime.Serialization; using _4DMonoEngine.Core.Common.Interfaces; namespace _4DMonoEngine.Core.Assets.DataObjects { [DataContract] public class General : IDataContainer { [DataMember] public string[] Biomes { get; set; } [DataMember] ...
27.263158
70
0.596525
[ "MIT" ]
HaKDMoDz/4DBlockEngine
Monogame/4DMonoEngine/Core/Assets/DataObjects/General.cs
1,038
C#
// // Copyright (c) 2021 karamem0 // // This software is released under the MIT License. // // https://github.com/karamem0/sp-client-core/blob/main/LICENSE // using Karamem0.SharePoint.PowerShell.Models; using Karamem0.SharePoint.PowerShell.Runtime.Commands; using Karamem0.SharePoint.PowerShell.Services; us...
30.396226
110
0.638734
[ "MIT" ]
karamem0/spclientcore
source/Karamem0.SPClientCore/Commands/RemoveListCommand.cs
1,611
C#
using Alex.ResourcePackLib.Json.Models.Entities; using Microsoft.Xna.Framework; namespace Alex.Entities.Models { public partial class SilverfishModel : EntityModel { public SilverfishModel() { Name = "geometry.silverfish"; VisibleBoundsWidth = 2; VisibleBoundsHeight = 1; VisibleB...
25.365482
52
0.526716
[ "MPL-2.0" ]
TheBlackPlague/Alex
src/Alex/Entities/Models/SilverfishModel.cs
4,997
C#
// Unity C# reference source // Copyright (c) Unity Technologies. For terms of use, see // https://unity3d.com/legal/licenses/Unity_Reference_Only_License using System; using System.Collections.Generic; using UnityEditor; using UnityEditorInternal; using UnityEngine; using System.IO; using UnityEngine.SceneManagement;...
43.209898
524
0.597291
[ "Unlicense" ]
HelloWindows/AccountBook
client/framework/UnityCsReference-master/Editor/Mono/SceneModeWindows/OcclusionCullingWindow.cs
25,321
C#
using System; using System.Collections.Generic; using System.Linq; using Funsafe.Runner.Benches; namespace Funsafe.Runner { internal class Program { private static void Main() { var benches = LoadBenches(); const int warmupBatchCount = 100; const int warmup...
31.648649
92
0.533732
[ "MIT" ]
rverdier/funsafe
Funsafe.Runner/Program.cs
2,344
C#
// Material/Shader Inspector for Unity 2017/2018 // Copyright (C) 2019 Thryrallo using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Net; using System.Net.Security; using System.Runtime.InteropServices; using System.Se...
36.701176
186
0.551225
[ "MIT" ]
yamiM0NSTER/PoiyomiToonShader
_PoiyomiToonShader/ThryEditor/Editor/ThryHelper.cs
15,600
C#
#region Licence /* The MIT License (MIT) Copyright © 2015 Ian Cooper <ian_hammond_cooper@yahoo.co.uk> 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 limita...
38.58209
156
0.75087
[ "MIT" ]
uQr/Paramore.Brighter
paramore.brighter.commandprocessor.tests.nunit/CommandStore/Sqlite/When_There_Is_No_Message_In_The_Sql_Command_Store_Async.cs
2,596
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
38.767442
90
0.763047
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-iot/Iot/Transform/V20180120/ReleaseProductResponseUnmarshaller.cs
1,667
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
47.087719
215
0.625186
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/ICompanyInformationPictureRequest.cs
2,684
C#
using System.Runtime.Serialization; namespace Microsoft.Xrm.Sdk.Metadata { /// <summary>Contains the metadata for the attribute type Memo.</summary> [DataContract(Name = "MemoAttributeMetadata", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")] public sealed class MemoAttributeMetadata : Attr...
35.4
144
0.573595
[ "MIT" ]
develmax/Crm.Sdk.Core
Microsoft.Xrm.Sdk/Metadata/MemoAttributeMetadata.cs
3,365
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.Lclb.Cllb.Interfaces { using Microsoft.Rest; using Models; using System.Collections; using System.Co...
50.076555
535
0.577202
[ "Apache-2.0" ]
BrendanBeachBC/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/AdminactivityprocesssessionExtensions.cs
10,466
C#
using System; using Cassette.BundleProcessing; using Cassette.Configuration; using Cassette.HtmlTemplates; using Cassette.Scripts; namespace Cassette.ScriptAndTemplate { public class ScriptAndTemplateBundle : ScriptBundle { public ScriptAndTemplateBundle(string name, ScriptBundle bundle, Htm...
36.746988
170
0.623279
[ "MIT" ]
Zocdoc/cassette
src/Cassette/CombinedBundles/ScriptAndTemplateBundle.cs
3,052
C#
using AutoMapper; namespace MaigcalConch.Abp.Captcha.Web { public class CaptchaWebAutoMapperProfile : Profile { public CaptchaWebAutoMapperProfile() { /* You can configure your AutoMapper mapping configuration here. * Alternatively, you can split your mapping configura...
29.857143
76
0.662679
[ "MIT" ]
git102347501/Abp.Captcha
src/Abp.Captcha.Web/CaptchaWebAutoMapperProfile.cs
420
C#
// // Copyright (c) 2017 Vulcan, Inc. All rights reserved. // Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information. // using HoloLensCameraStream; using System; using System.Linq; using UnityEngine; public class CameraStreamHelper : MonoBehaviour { event On...
28.705882
122
0.642564
[ "Apache-2.0" ]
AkioUnity/AR-Project
HoloLensVideoCaptureExample/Assets/CamStream/Scripts/CameraStreamHelper.cs
3,418
C#
using System; namespace QDMarketPlace.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
19.181818
70
0.672986
[ "MIT" ]
quocitspkt/QDMarketPlaceFinal
QDMarketPlace/Models/ErrorViewModel.cs
211
C#
/* Copyright (c) 2014 <a href="http://www.gutgames.com">James Craig</a> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, ...
37.188406
77
0.673032
[ "MIT" ]
JaCraig/Craig-s-Utility-Library
Ironman.Core/Bootstrapper/DependencyResolver.cs
2,568
C#
using UnityEngine; using System.Collections; public class BlueBlastScript : Projectile { protected void Awake() { damage = 35; moveSpeed = 7.0f; dissipateSpeed = 0.17f; description = "A blast of blue?"; type = "water"; } }
19.714286
41
0.586957
[ "MIT" ]
skywolf829/Project-Woden
Assets/Scripts/Entity.Projectiles/BlueBlastScript.cs
278
C#
using System.ComponentModel; using System.Windows; using System.Windows.Input; namespace LiteUI.Controls { public enum WindowBarStyle { Hidden, Normal, Big } public class Window : System.Windows.Window { static Window() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Window)...
35.83871
138
0.642664
[ "MIT" ]
ptr224/LambdaCom.LiteUI
LiteUI/Controls/Window.cs
3,335
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
37.393939
153
0.612642
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/ICallParticipantsCollectionPage.cs
1,234
C#
using CanvasApi.Client.Modules.Enums; using System.Collections.Generic; using TiberHealth.Serializer.Attributes; namespace CanvasApi.Client.Modules.Models { public interface IModuleItemSequenceOptions { /// <summary> /// The type of asset to find module sequence information for. Use the Module...
40.05
242
0.665418
[ "MIT" ]
dbagnoli/CanvasApi
CanvasApi.Client/Modules/Models/IModuleItemSequenceOptions.cs
803
C#
namespace Acoustics.Tools.Audio { using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using log4net; using Shared; /// <summary> /// Soxi (sound exchange information) Audio utility. /// </summary> public class SoxAu...
40.371314
391
0.525916
[ "Apache-2.0" ]
MazenImadJaber/audio-analysis
src/Acoustics.Tools/Audio/SoxAudioUtility.cs
30,145
C#
// Copyright (c) 2001-2021 Aspose Pty Ltd. All Rights Reserved. // // This file is part of Aspose.Words. The source code in this file // is only intended as a supplement to the documentation, and is provided // "as is", without warranty of any kind, either expressed or implied. ////////////////////////////////////////...
37.670103
152
0.58867
[ "MIT" ]
Web-Dev-Collaborative/Aspose.Words-for-.NET
Examples/ApiExamples/ApiExamples/ApiExampleBase.cs
7,310
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; using IdSharp.Common.Events; using IdSharp.Common.Utils; using IdSharp.Tagging.ID3v1; using IdSharp.Tagging.ID3v2.Frames; namespace IdSharp.Tagging.ID3v2 { /// <summary> //...
42.55814
137
0.46373
[ "MIT" ]
Mapaler/osu-export
IdSharp/IdSharp.Tagging/ID3v2/Classes/FrameContainer.cs
14,640
C#
using System.Configuration; namespace Sitecore.Foundation.Common.Specflow.Extensions.Infrastructure { using System; using Sitecore.Foundation.Common.Specflow.UtfService; public class BaseSettings { public static string BaseUrl => ConfigurationManager.AppSettings["baseUrl"]; public static string Regis...
52.9375
134
0.794963
[ "Apache-2.0" ]
BIGANDYT/HabitatDemo
src/Project/Habitat/specs/Foundation.Common/Extensions/Infrastructure/BaseSettings.cs
2,543
C#
using Kimera.Entities; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kimera { public class Settings { private static Settings _instance; public static Settings Instance { get ...
25.375
155
0.557635
[ "MIT" ]
AngleGN/kimera
src/Kimera/Settings.cs
2,032
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Microsoft.Owin.Security.Google; using Microsoft.Owin.Security.OAuth; using Owin; using Web.Pr...
40.257143
126
0.62846
[ "Apache-2.0" ]
manhquynh8x/DangKyThuoc
src/HSDK/Web/App_Start/Startup.Auth.cs
2,820
C#
using ExpressionDebugger; using Mapster; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; namespace TemplateTest { [TestClass] public class CreateMapExpressionTest { [TestMethod] public void TestCreateMapExpression() { TypeAdapterConf...
30.238095
80
0.546772
[ "MIT" ]
Philippe-Laval/Mapster
src/TemplateTest/CreateMapExpressionTest.cs
3,175
C#
using System; using System.Diagnostics.Contracts; using System.Runtime.InteropServices; #pragma warning disable 1591 #pragma warning disable CA1401 // P/Invokes should not be visible #pragma warning disable IDE1006 // Naming style namespace OpenCvSharp { static partial class NativeMethods { [Pure, Dl...
80.900901
133
0.767929
[ "BSD-3-Clause" ]
AJEETX/opencvsharp
src/OpenCvSharp/PInvoke/NativeMethods/core/NativeMethods_core_MatExpr.cs
8,982
C#
using System; using System.Runtime.Serialization; namespace etcdclientv3.impl { [Serializable] internal class ClosedWatcherException : Exception { public ClosedWatcherException() { } public ClosedWatcherException(string message) : base(message) { } ...
23.44
112
0.651877
[ "MIT" ]
jinyuttt/etcdclientv3
etcdclientv3/etcdclientv3/impl/ClosedWatcherException.cs
588
C#
using System; using SDL2; using SoLoud; namespace Flora.Audio { /// <summary> /// Audio instance that suit better for playing fire-and-forget type of short sound effects. /// </summary> public class Sound : IDisposable { internal Wav wav; private float _volume = 1f; public floa...
29.78125
109
0.538825
[ "MIT" ]
sinusinu/Flora
src/Audio/Sound.cs
1,906
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Net.Http; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace iOSConsortium.Models { ...
26.518519
107
0.539106
[ "MIT" ]
ytabuchi/iOSConsortium
iOSConsortium/iOSConsortium/Models/SpeakersModel.cs
1,434
C#
// 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 0.17.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. ...
46.75641
462
0.69043
[ "MIT" ]
dnelly/azure-sdk-for-net
src/ResourceManagement/SqlManagement/Microsoft.Azure.Management.Sql/Generated/Models/ServerUpgradeStartParameters.cs
3,647
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.AspNet.Identity; using Microsoft.Owin.Security; namespace DocumentDB.AspNet.Identity.Samples.Mvc.Models { public class IndexViewModel { public bool HasPassword { get; set; } public IList<UserLoginInf...
31.186047
110
0.628262
[ "MIT" ]
chrisnott/DocumentDB.AspNet.Identity
samples/DocumentDB.AspNet.Identity.Samples.Mvc/Models/ManageViewModels.cs
2,684
C#
using System; using System.Threading.Tasks; using BookFast.Web.Contracts.Files; namespace BookFast.Web.Contracts { public interface IFileAccessProxy { Task<FileAccessToken> IssueAccommodationImageUploadTokenAsync(Guid accommodationId, string originalFileName); Task<FileAccessToken> IssueFacili...
32.833333
117
0.796954
[ "MIT" ]
The-real-Urb/book-fast-service-fabric
BookFast.Web.Contracts/IFileAccessProxy.cs
396
C#
using System.Linq; using FluentAssertions; using NUnit.Framework; using ParserObjects.Parsers; using ParserObjects.Sequences; using static ParserObjects.ParserMethods<char>; namespace ParserObjects.Tests.Parsers { public class AnyParserTests { [Test] public void Parse_Test() { ...
28.97619
59
0.566146
[ "Apache-2.0" ]
Whiteknight/ParserObjects
ParserObjects.Tests/Parsers/AnyParserTests.cs
1,219
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebSanchez2016.es.Equipo.GS_Digital { public partial class Dobladoras_y_Ecuadernadoras_Baum : System.Web.UI.Page { protected void Page_Load(object sender...
21.352941
78
0.721763
[ "MIT" ]
juanitomemelas/GSWEB
es/Equipo/GS_Digital/Dobladoras_y_Ecuadernadoras_Baum.aspx.cs
365
C#
using System; namespace Gma.QrCodeNet.Encoding.EncodingRegion { /// <summary> /// Embed version information for version larger than or equal to 7. /// </summary> /// <remarks>ISO/IEC 18004:2000 Chapter 8.10 Page 54</remarks> internal static class VersionInformation { private const int VIRectangleHeight = 3; ...
27.691176
90
0.694105
[ "MIT" ]
CoboVault/WalletWasabi
WalletWasabi/Gma/QrCodeNet/Encoding/EncodingRegion/VersionInformation.cs
1,883
C#
//----------------------------------------------------------------------- // <copyright file="FramingSpec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright> //--...
40.355556
133
0.533346
[ "Apache-2.0" ]
vilinski/akka.net
src/core/Akka.Streams.Tests/Dsl/FramingSpec.cs
16,346
C#
namespace Iec608705104 { using Iec608705104.Messages; using Iec608705104.Messages.Asdu; using System; internal static class Bytes { /// <param name="buffer">starts at the position 2 of the whole frame</param> internal static (ErrorCode error, FrameType type, AsduTypeId asduTypeId) I...
32.217105
121
0.43639
[ "MIT" ]
jdvor/IEC-60870-5-104
src/Iec608705104/Bytes.cs
4,897
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("Bi...
37.540541
84
0.743701
[ "MIT" ]
ivannk0900/Telerik-Academy
C# 2/NumeralSystems/BinShort/Properties/AssemblyInfo.cs
1,392
C#
using UnityEngine; public static class DebugTransform { /* draw x and y axes in transform local space */ public static void DrawLocalAxis (this Transform self, float scale = 3.0f) { Debug.DrawRay ( self.position, self.up * scale, Color.yellow, 0.2f, false ); Debug.DrawRay ( self.position, self.righ...
38.45
87
0.689207
[ "Unlicense" ]
msawangwan/vector_trig_geometry
Assets/Script/DebugTransform.cs
771
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace lab_04 { static class VinogradMultiply { public static Matrix Classic(Matrix first, Matrix second) { Matrix result = new Matrix(0, 0); if (first.M == sec...
34.724138
132
0.376747
[ "MIT" ]
DeaLoic/bmstu-AA
lab_04/source/VinogradMultiply.cs
13,177
C#
/* * CryptoWeather * * The CryptoWeather API allows for access to all of the cryptocurrency data and market forecast services provided. There are two primary categories of routes, `public` and `private`, where `public` routes are accessible to the general public and do not require API authentication, and `private` ...
48.027273
2,219
0.638274
[ "MIT" ]
Investabit/investabit-csharp-sdk
src/IO.Swagger/Model/TrendRoute.cs
5,283
C#
namespace GTA { public enum Control { NextCamera, LookLeftRight, LookUpDown, LookUpOnly, LookDownOnly, LookLeftOnly, LookRightOnly, CinematicSlowMo, FlyUpDown, FlyLeftRight, ScriptedFlyZUp, ScriptedFlyZDown, WeaponWheelUpDown, WeaponWheelLeftRight, WeaponWheelNext, WeaponWheelPrev, S...
19.097421
36
0.792348
[ "MIT" ]
GTANetworkDev/platform
Shv.NET/source/scripting/Control.cs
6,665
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace UrlHandling.API.ViewModel { public class UrlLinkResponse { public Guid id { get; set; } public string ShortUrl { get; set; } public string OriginalUrl { get; set; } public...
24.117647
54
0.656098
[ "MIT" ]
edmarssk/Urlhandling
src/UrlHandling.API/ViewModel/UrlLinkResponse.cs
412
C#
using GenericEntity.Abstractions; using GenericEntity.Extensions; using System; using System.IO; using System.Text.Json; using GenericEntity; using System.Linq; using System.Reflection; namespace GenericEntity.CLI { class Program { static void Main(string[] args) { if (args.Length ...
38.160494
273
0.570366
[ "MIT" ]
mguoth/GenericEntity
CSharp/GenericEntity.TestConsole/Program.cs
3,093
C#
using UncommonSense.CBreeze.Core.Code.Variable; using UncommonSense.CBreeze.Core.Contracts; using UncommonSense.CBreeze.Core.Property.Implementation; using UncommonSense.CBreeze.Core.Property.Type; namespace UncommonSense.CBreeze.Core.Table.Field.Properties { public class TableFilterTableFieldProperties : Prop...
26.020833
117
0.567254
[ "MIT" ]
FSharpCSharp/UncommonSense.CBreeze
CBreeze/UncommonSense.CBreeze.Core/Table/Field/Properties/TableFilterTableFieldProperties.cs
2,498
C#
/* * Copyright 2018 JDCLOUD.COM * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:#www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
25.532258
76
0.628553
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Ossopenapi/Model/BackSourceAddress.cs
1,665
C#
using System.Threading.Tasks; using Volo.Abp.DependencyInjection; namespace EventOrganizer.Data { /* This is used if database provider does't define * IEventOrganizerDbSchemaMigrator implementation. */ public class NullEventOrganizerDbSchemaMigrator : IEventOrganizerDbSchemaMigrator, ITransientDepen...
27.0625
107
0.711316
[ "MIT" ]
271943794/abp-samples
EventOrganizer/src/EventOrganizer.Domain/Data/NullEventOrganizerDbSchemaMigrator.cs
435
C#
//----------------------------------------------------------------------- // <copyright file="Shape.cs" company="Akka.NET Project"> // Copyright (C) 2009-2018 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2018 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright> //--------...
35.340395
161
0.562448
[ "Apache-2.0" ]
cuteant/akka.net
src/Akka.Streams/Shape.cs
25,023
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using FlowChart.Controller; using FlowChart.Models; using FlowChart.Entities; using FlowChart.Utility; using FlowChart.Visitors; using System.Windows.Forms; using FlowChart.Views; using System.Drawing; using System.Drawing.Drawing2D;...
32.737542
123
0.466511
[ "BSD-3-Clause" ]
JackWangCUMT/FlowChart
Tools/DefaultInputTool.cs
9,856
C#
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; namespace LinkyLink.Models { /// <summary> /// This class coordinates Entity Framework Core functionality (Create, Read, Update, Delete) for the LinkBundle data model. /// </summary> public class LinksContext : DbContext ...
39.551724
128
0.687881
[ "MIT" ]
aluong/openhack-production
api/src/LinkyLink/Models/LinksContext.cs
1,149
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using AdaptiveExpressions.Properties; using Newtonsoft.Json; using Microsoft.Bot.Builder.Dialogs; using Octokit; using System.ComponentModel.DataAnnotations; n...
35.779661
178
0.64756
[ "MIT" ]
coldplaying42/iciclecreek.bot
source/Libraries/Iciclecreek.Bot.Builder.Dialogs.Adaptive.GitHub/Actions/Oauth/GetGitHubLoginUrl.cs
2,111
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.Lclb.Cllb.Interfaces.Models { using Newtonsoft.Json; using System.Collections; using System.Collections....
48.731405
2,608
0.69448
[ "Apache-2.0" ]
brianorwhatever/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMbulkoperationlog.cs
11,793
C#
using System; using MongoDB.Bson; namespace Core.Module.MongoDb.Entities { public abstract class MongoDBAbstractEntity : IMongoDBEntity { public ObjectId Id { get; set; } public DateTime Created { get; set; } public DateTime Updated { get; set; } public bool isDeleted { get; se...
25.538462
64
0.650602
[ "Unlicense" ]
MoHcTpUk/Core
Core.Module.MongoDb/Entities/MongoDBAbstractEntity.cs
334
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
24.615385
88
0.657813
[ "ECL-2.0", "Apache-2.0" ]
nvpnathan/pulumi-nsxt
sdk/dotnet/Inputs/PolicyServiceTagGetArgs.cs
640
C#
using System; namespace FirebaseDotNetCore { public interface IFirebaseApp : IDisposable { void GoOnline(); void GoOffline(); IFirebase Child(string path); } }
17.909091
47
0.634518
[ "Apache-2.0" ]
trevonmckay/FirebaseDotNetCore
Interfaces/IFirebaseApp.cs
199
C#
using System; namespace PriorityQueue; /// <summary> /// 最大-最小堆。 /// </summary> /// <typeparam name="TKey">最大最小堆中保存的元素。</typeparam> public class MinMaxPq<TKey> : IMaxPq<TKey>, IMinPq<TKey> where TKey : IComparable<TKey> { /// <summary> /// 最大-最小堆中的数据结点。 /// </summary> private sealed class MinMaxNode ...
25.74902
104
0.48675
[ "MIT" ]
Higurashi-kagome/Algorithms-4th-Edition-in-Csharp
2 Sorting/2.4/PriorityQueue/MinMaxPQ.cs
7,722
C#
using System; using Newtonsoft.Json; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; using System.Net; using System.Web; using System.Web.Mvc; using Repository.Pattern.UnitOfWork; using Repository.Pattern.Infrastructure; using Z.EntityFram...
38.770393
203
0.621601
[ "Apache-2.0" ]
neozhu/bms
src/BMS.Solution/Web/WebApp/Controllers/AttachmentsController.cs
12,931
C#