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 Esri.ArcGISRuntime.Portal; using Prism.Services.Dialogs; using System.Collections.ObjectModel; using WorkingWithMaps.Example.Core; using WorkingWithMaps.Example.Models; namespace WorkingWithMaps.Example.ViewModels.Dialogs { public class WebMapDetailsDialogViewModel : DialogViewModel { public Web...
30.627907
110
0.635535
[ "Apache-2.0" ]
anttikajanus/working-with-maps-arcgis-runtime-dotnet
src/WorkingWithMaps/ViewModels/Dialogs/WebMapDetailsDialogViewModel.cs
1,319
C#
using System; using Xunit; namespace Lokad.Numerics.Tests { public class Log2Tests { [Fact] public void Log2_uint() { for(var i = 1.0; i < uint.MaxValue; i *= 1.3) { var n = (uint)i; Assert.Equal((uint)Math.Log(n, 2.0), FxMath.Log...
22.717949
70
0.404063
[ "MIT" ]
Lokad/FasterMath
test/Lokad.FasterMath.Tests/Log2Tests.cs
888
C#
using System; using System.ServiceModel.Channels; using Nelibur.ServiceModel.Services.Maps; namespace Nelibur.ServiceModel.Services { public sealed class NeliburSoapService : NeliburService { private NeliburSoapService() { } public static IConfiguration Configure(Action<IConfi...
25.53125
77
0.638923
[ "MIT" ]
Nelibur/Nelibur
Source/Nelibur/ServiceModel/Services/NeliburSoapService.cs
819
C#
using System; using System.Text; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using CMS.Base.Web.UI; using CMS.DeviceProfiles; using CMS.Helpers; using CMS.PortalEngine.Web.UI; using CMS.UIControls; public partial class CMSMasterPages_UI_Dialogs_ModalDialogPage : CMSMasterPage, ICMSModalMasterP...
24.82684
149
0.570096
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSMasterPages/UI/Dialogs/ModalDialogPage.master.cs
11,472
C#
/* * Swagger Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * OpenAPI spec version: 1.0.0 * Contact: apiteam@swagger.io * Generated by: https://github.com/swagger-api/swagger-codegen.git ...
32.045455
159
0.54279
[ "Apache-2.0" ]
Cadcorp/swagger-codegen
samples/client/petstore/csharp/SwaggerClientNet35/src/IO.Swagger/Model/Body6.cs
4,230
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("cs...
37.972973
84
0.745196
[ "MIT" ]
pipseq/csFxModel
csExperts/Properties/AssemblyInfo.cs
1,408
C#
// <auto-generated /> namespace Vidly.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed partial class changea...
27.6
100
0.625604
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
XomRng/Vidly
Migrations/201710161554180_changeannotations.Designer.cs
828
C#
using System.ComponentModel.DataAnnotations; namespace VacunaAPI.Models { public class VerifyEmailRequest { [Required] public string Token { get; set; } } }
17.909091
46
0.629442
[ "MIT" ]
andres88888/Vacuna
src/Models/VerifyEmailRequest.cs
199
C#
using System; namespace Lawn { public enum ButtonIds { ALMANAC_BUTTON_CLOSE, ALMANAC_BUTTON_PLANT, ALMANAC_BUTTON_ZOMBIE, ALMANAC_BUTTON_INDEX } }
9.666667
24
0.712644
[ "MIT" ]
OptiJuegos/Plants-VS-Zombies-NET
DotNETPvZ_Shared/Lawn/UI/Almanac/ButtonIds.cs
176
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("Un...
37.972973
84
0.746619
[ "MIT" ]
christianarg/HybridStorage.Net
HybridStorageTests/Properties/AssemblyInfo.cs
1,408
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
34.909091
153
0.577083
[ "MIT" ]
andrueastman/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/WorkbookOperationRequestBuilder.cs
1,920
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 POC_Consumer_App.Pages { [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true...
25.875
88
0.703704
[ "Apache-2.0" ]
fbrass/ory-hydra-asp.net-core-consumer-app-poc
Pages/Error.cshtml.cs
621
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.054054
111
0.66435
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/GroundStation/Generated/Model/Internal/MarshallTransformations/S3RecordingConfigMarshaller.cs
2,446
C#
using Files.Shared; using Files.Shared.Extensions; using Microsoft.Win32; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Versioning; using System.Security; using System.Text; using System.Threading.Tasks; using Windows.Storage; namespace Files.FullTrust.Helper...
38.964029
265
0.550591
[ "MIT" ]
AaronKatzin/Files
src/Files.FullTrust/Helpers/ShellNewMenuHelper.cs
5,418
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Quidjibo.Models; namespace Quidjibo.Providers { public interface IWorkProvider : IDisposable { /// <summary> /// Sends the asynchronous. /// </summary> /// <param nam...
37.480769
94
0.605952
[ "Apache-2.0" ]
smiggleworth/Quidjibo
src/Quidjibo/Providers/IWorkProvider.cs
1,951
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.Buffers; using System.Buffers.Binary; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO...
41.842991
195
0.593474
[ "Apache-2.0" ]
SonicGD/KestrelHttpServer
test/Kestrel.InMemory.FunctionalTests/Http2/Http2TestBase.cs
44,774
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.EntityFrameworkCore.Cosmos.Query.Internal { /// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not s...
55.333333
113
0.698795
[ "MIT" ]
FelicePollano/efcore
src/EFCore.Cosmos/Query/Internal/QuerySqlGeneratorFactory.cs
1,328
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace WDNUtils.Win32 { /// <summary> /// Controller for a ComboBox with a list of object instances /// </summary> /// <typeparam name="T">Element type</typeparam> public class ComboBoxClassController...
37.425532
160
0.570684
[ "MIT" ]
JTOne123/wdnutils
src/WDNUtils.Win32/WinForms/ComboBoxClassController.cs
10,556
C#
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy,...
41.4
68
0.756384
[ "MIT" ]
Chimpaneez/LiveSplit
LiveSplit/Libs/JSON.Net/Source/Src/Newtonsoft.Json.Tests/TestObjects/CircularReferenceClass.cs
1,451
C#
using System; using MAVN.Numerics; namespace MAVN.Job.TokensStatistics.Domain.Models { public class TokensStatistic { public DateTime Day { get; set; } public Money18 Amount { get; set; } } }
17.076923
49
0.657658
[ "MIT" ]
IliyanIlievPH/MAVN.Job.TokensStatistics
src/MAVN.Job.TokensStatistics.Domain/Models/TokenStatistic.cs
222
C#
//Copyright (c) Service Stack LLC. All Rights Reserved. //License: https://raw.github.com/ServiceStack/ServiceStack/master/license.txt #if !(PCL || LITE) using System; using System.Collections.Generic; using System.Dynamic; using ServiceStack.Text; using ServiceStack.Text.Common; using ServiceStack.Text.Jso...
35.291005
165
0.549025
[ "Apache-2.0" ]
MinistryOfMagic/ServiceStack
src/ServiceStack.Pcl.WinStore81/Pcl.Dynamic.cs
6,482
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; namespace WinNetMeter.Core.Views { public partial class FormUpdater : Form { public Form...
19.5
71
0.658777
[ "MIT" ]
WinTenDev/WinNetMeter
WinNetMeter.Core/Views/FormUpdater.cs
509
C#
/*<FILE_LICENSE> * Azos (A to Z Application Operating System) Framework * The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license. * See the LICENSE file in the project root for more information. </FILE_LICENSE>*/ using System.Reflection; using System.Runtime.CompilerServices; using Syst...
40.238095
88
0.750296
[ "MIT" ]
saleyn/azos
src/runtimes/netf/agdida/Properties/AssemblyInfo.cs
1,691
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace AlibabaCloud.SDK.ROS.CDK.Cxapi { #pragma warning disable CS8618 [JsiiByValue(fqn: "@alicloud/ros-cdk-cxapi.SynthesisMessage")] public class SynthesisMessage : AlibabaCloud.SDK.ROS.CDK.Cxapi.ISynthesisMessage { ...
28.382353
112
0.603109
[ "Apache-2.0" ]
piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Cxapi/AlibabaCloud/SDK/ROS/CDK/Cxapi/SynthesisMessage.cs
965
C#
using System; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; namespace CherokeeLanguageLearningTool { [Serializable] class UserRecords { public int PreviousPhoneticScore {get; set;} //Stores the score for the previous Phonetic to English ...
41.809917
195
0.611386
[ "MIT" ]
fined-nsu/CherokeeLanguageStudyTool
CherokeeStudyTool/UserRecords.cs
5,061
C#
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] [assembly: InternalsVisibleTo("Lokman")] [assembly: InternalsVisibleTo("Lokman.Client")] [assembly: InternalsVisibleTo("Lokman.Tests")]
33.571429
58
0.812766
[ "MIT" ]
vchirikov/lokman
src/InternalsVisibleTo.cs
235
C#
using System.Threading.Tasks; using EasyAbp.AbpHelper.Core.Commands.Generate.Crud; using EasyAbp.AbpHelper.Gui.CodeGeneration.Crud.Dtos; using EasyAbp.AbpHelper.Gui.Shared.Dtos; namespace EasyAbp.AbpHelper.Gui.CodeGeneration.Crud { public class CodeGenerationCrudAppService : CodeGenerationAppService, ICodeGenerat...
34.833333
114
0.739234
[ "Apache-2.0" ]
aelhadi/AbpHelper.GUI
dotnet/src/EasyAbp.AbpHelper.Gui.Application/CodeGeneration/Crud/CodeGenerationCrudAppService.cs
838
C#
//using System; //using System.Collections.Generic; //namespace NextGenSoftware.OASIS.API.ONODE.WebAPI //{ // public class Account // { // //public int Id { get; set; } // //public string Title { get; set; } // //public string FirstName { get; set; } // //public string LastName { get;...
37.125
80
0.572391
[ "CC0-1.0" ]
HirenBodhi/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK
NextGenSoftware.OASIS.API.ONODE.WebAPI/Entities/Account.cs
1,188
C#
using System; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Net; using System.Net.Http; using System.Runtime.CompilerServices; using System.Threading.Tasks; using System.Windows.Input; using Windows.UI.Core; using Windows.UI.Popups; using Windows.UI.Xaml.Media.Imaging; using UwpH...
34.238806
175
0.62075
[ "MIT" ]
LanceMcCarthy/UwpProjects
UwpHelpers/UwpHelpers.Examples/ViewModels/HttpClientExtensionsViewModel.cs
4,590
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.Core.Objects.ELinq { internal enum InitializerMetadataKind { Grouping, ProjectionNew, ProjectionInitializer, EntityCo...
26
132
0.707101
[ "Apache-2.0" ]
CZEMacLeod/EntityFramework6
src/EntityFramework/Core/Objects/ELinq/InitializerFacet.cs
338
C#
/* * Exchange Web Services Managed API * * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * * 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 restr...
38.052632
151
0.591188
[ "MIT" ]
dmytro-glynskyi/ews
lib/Groups/ComplexProperties/UnifiedGroup.cs
5,061
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.ContractsLight; using System.IO; using System.Runtime.CompilerServices; using System.Runtime....
45.974341
264
0.569506
[ "MIT" ]
Bhaskers-Blu-Org2/BuildXL
Public/Src/Utilities/Native/IO/Windows/FileSystem.Win.cs
195,299
C#
namespace BolaoNet.Domain.Interfaces.Services.Facade.Campeonatos { public interface ICopaMundo2018FacadeService : ICopaFacadeService { ////Entities.Campeonatos.Campeonato Campeonato { get; } //Entities.Campeonatos.Campeonato CreateCampeonato(string nomeCampeonato, bool isClube); ////I...
32.28
96
0.701363
[ "MIT" ]
Thoris/BolaoNet
BolaoNet.Domain.Interfaces.Services/Facade/Campeonatos/ICopaMundo2018FacadeService.cs
809
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace LXGaming.Ticket.Server.Models { public class User { [Key] public ulong Id { get; init; } [Required] public bool Banned { get; set; } [Required] public DateTime...
22.12
70
0.622061
[ "Apache-2.0" ]
LXGaming/Ticket.NET
LXGaming.Ticket.Server/Models/User.cs
555
C#
using System; using System.Threading.Tasks; using System.Collections.Generic; using PaymentsSystemExample.Domain.Adapters.JsonObjects; namespace PaymentsSystemExample.Api.Services { public interface IPaymentPersistenceService { Task<Payment> Get(Guid paymentid); Task<IEnumerable<Payment>> List(...
31.75
61
0.740157
[ "MIT" ]
michal-franc/payment-system-example
src/PaymentsSystemExample.Api/Services/IPaymentPersistenceService.cs
508
C#
using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using FluentAssertions; using FluentAssertions.Execution; using Microsoft.CodeAnalysis.Text; using System; using System.Collections.Immutable; using Microsoft.CodeAnalysis.Cod...
53.171472
205
0.610046
[ "MIT" ]
chvollm/fluentassertions.analyzers
src/FluentAssertions.Analyzers.Tests/DiagnosticVerifier.cs
35,042
C#
namespace GameWasm.Webassembly.Instruction { internal class F32demoteF64 : Instruction { public F32demoteF64(Parser parser) : base(parser, true) { } } }
21
63
0.62963
[ "MIT" ]
rockyjvec/GameWasm
GameWasm/WebAssembly/Instruction/F32demoteF64.cs
191
C#
// // SocketListener.cs // // Author: // Martin Baulig <mabaul@microsoft.com> // // Copyright (c) 2018 Xamarin Inc. (http://www.xamarin.com) // // 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 th...
25.410959
97
0.68248
[ "MIT" ]
xamarin/web-tests
Xamarin.AsyncTests.Framework/Xamarin.AsyncTests.Remoting/SocketListener.cs
3,712
C#
using System; using UnityEditor; using UnityEngine; namespace Juce.Feedbacks { internal class ColliderSetEnabledDocumentation : IFeedbackDocumentation { public Type FeedbackType => typeof(ColliderSetEnabledFeedback); public void DrawDocumentation() { GUILayout.Label("Enabl...
32.060606
122
0.641777
[ "MIT" ]
Guillemsc/Juce-Feedbacks
Editor/Documentation/Collider/ColliderSetEnabledDocumentation.cs
1,060
C#
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...
23.463636
117
0.554049
[ "MIT" ]
zxsean/DCET
Unity/Assets/Model/XLua/Gen/XLuaCSObjectWrapFairyGUIGComboBoxWrapWrap.cs
2,583
C#
namespace ProgramRecipe { partial class FrmRegisterPatient { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
42.204545
118
0.570948
[ "MIT" ]
MrDave1999/ProgramRecipe
visual/FrmRegisterPatient.Designer.cs
7,428
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Telerik.JustDecompiler.Ast; using Telerik.JustDecompiler.Ast.Expressions; using Mono.Cecil; using Mono.Cecil.Extensions; namespace Telerik.JustDecompiler.Decompiler { /// <summary> /// This fixer is responsible f...
37.248804
194
0.659602
[ "ECL-2.0", "Apache-2.0" ]
Bebere/JustDecompileEngine
Cecil.Decompiler/Decompiler/UsageBasedExpressionFixer.cs
7,787
C#
using System.Collections.Generic; using System.Collections.ObjectModel; using LiveChartsCore; using LiveChartsCore.SkiaSharpView; namespace ViewModelsSamples.VisualTest.DataTemplate; public class ViewModel { public IEnumerable<IEnumerable<ISeries>> Models { get; set; } = new List<IEnumerable<ISeries>> ...
31.611111
91
0.462214
[ "MIT" ]
Live-Charts/LiveCharts2
samples/ViewModelsSamples/VisualTest/DataTemplate/ViewModel.cs
1,140
C#
/* * Copyright (c) 2018 Algolia * http://www.algolia.com/ * * 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...
40.735849
118
0.701251
[ "MIT" ]
DrLeh/algoliasearch-client-csharp
src/Algolia.Search/Clients/InsightsConfig.cs
2,159
C#
namespace Bot.ChuckNorris.DataAccess { public class ChuckNorrisModel { public int Id { get; set; } public string FactDescription { get; set; } public string CleanText { get; set; } public string FactDate { get; set; } public int Vote { get; set; } public int...
20.529412
51
0.581662
[ "MIT" ]
christopheMeudec/Bot.ChuckNorris
Bot.ChuckNorris.DataAccess/ChuckNorris/ChuckNorrisModel.cs
351
C#
#if !NETFX_CORE && !(ANDROID || IOS) && !NETSTANDARD2_0 //----------------------------------------------------------------------- // <copyright file="ContextManager.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: http://www.lhotka.net/cslanet/ // </copyright> // <summa...
28.507177
127
0.614132
[ "MIT" ]
ronnymgm/csla-light
Source/Csla.Shared/Data/ContextManager.cs
5,960
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using System.IO; using System.Threading.Tasks; using tcs_service.Models; using tcs_service.Repos.Interfaces; namespace tcs_service.EF { public class DbInitializer { public static void InitializeData(TCSContext context, IUserRepo ...
44.855263
106
0.63479
[ "MIT" ]
a2937/wvup-tcs
backend/tcs-service/EF/DbInitializer.cs
3,411
C#
using UnityEngine; using UnityEngine.UI; namespace ModIO.UI { /// <summary>A wrapper for the Unity UI Toggle component to allow it to be used as a /// StateToggleDisplay.</summary> [RequireComponent(typeof(Toggle))] public class StateToggle : StateToggleDisplay { /// <summary>Pass-through t...
27.826087
88
0.601563
[ "MIT" ]
DBolical/modioUNITY
Runtime/UI/Utility/StateToggle.cs
640
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
36.387755
153
0.5788
[ "MIT" ]
MIchaelMainer/GraphAPI
src/Microsoft.Graph/Requests/Generated/IWorkbookTableItemAtRequest.cs
1,783
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFrameworkCore.Storage.Internal; using P03_Footb...
33.661765
117
0.449104
[ "MIT" ]
krasiymihajlov/Soft-Uni-practices
C# DB Advanced/02. Entity Relations/P03_FootballBetting/Migrations/FootballBettingContextModelSnapshot.cs
11,447
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Teams; using Microsoft.Bot...
44.486842
179
0.731736
[ "MIT" ]
Power-Maverick/botframework-skills
skills/csharp/todoskill/Bots/DefaultActivityHandler.cs
3,383
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Umbraco.Core.Persistence { //TODO: Would be good to use this exception type anytime we cannot find an entity /// <summary> /// An exception used to indicate that an umbraco entit...
22.408163
85
0.551913
[ "MIT" ]
bharanijayasuri/umbraco8
src/Umbraco.Core/Persistence/EntityNotFoundException.cs
1,100
C#
using Microsoft.Extensions.DependencyInjection; using System.Linq; using System.Reflection; using ToDo.Infra.Dapper.Core; namespace ToDo.Infra.Application.Modules { public static class DapperModule { public static void Configure(IServiceCollection services) { var types = Assembly.G...
32.857143
126
0.624638
[ "MIT" ]
Cristianotx/ewave-livraria-senior
ToDo-API/src/ToDo.Infra.Application/Modules/DapperModule.cs
692
C#
using Microsoft.AspNetCore.Http; namespace NHSD.GPITF.BuyingCatalog.Logic { public sealed class LinkManagerValidator : ValidatorBase<object>, ILinkManagerValidator { public LinkManagerValidator(IHttpContextAccessor context) : base(context) { MustBeAdmin(); } } }
21.071429
89
0.732203
[ "MIT" ]
TrevorDArcyEvans/NHSBuyingCatalogue
beta-prototype/api/NHSD.GPITF.BuyingCatalog/NHSD.GPITF.BuyingCatalog.Logic/LinkManagerValidator.cs
297
C#
using GalaxyGen.Engine; using GalaxyGen.Framework; using GalaxyGenCore; using GalaxyGenCore.Resources; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; na...
22.971429
80
0.682836
[ "MIT" ]
AshRolls/GalaxyGen
GalaxyGen/Model/Store.cs
806
C#
/* * * (c) Copyright Ascensio System Limited 2010-2020 * * 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 la...
27.866667
75
0.692584
[ "Apache-2.0" ]
Ektai-Solution-Pty-Ltd/CommunityServer
web/studio/ASC.Web.Studio/Products/Files/Services/WCFService/FileOperations/FileOperationType.cs
836
C#
// Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; namespace UE4.MovieScene{ ...
32.208333
135
0.712807
[ "MIT" ]
UE4DotNet/Plugin
DotNet/DotNet/UE4/Generated/MovieScene/MovieSceneOrderedEvaluationKey.cs
773
C#
using System; using System.Threading.Tasks; using CSharpFunctionalExtensions; using Logic.Utils.Shared; using Newtonsoft.Json; namespace Logic.Utils.Decorators.Command { [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)] public sealed class AuditLogAttribute : Attribute { ...
27.410256
90
0.673527
[ "MIT" ]
gs1993/CQRS_Dotnet5
src/domain/Logic/Utils/Decorators/Command/AuditLoggingDecorator.cs
1,071
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> //--...
35.533333
151
0.581614
[ "MIT" ]
Dpineda89/ServiTec
ServiTec/ServiTec.Win/Properties/Settings.Designer.cs
1,068
C#
using ColossalFramework.UI; namespace ACME { /// <summary> /// Utilities for Options Panel UI. /// </summary> internal static class PanelUtils { /// <summary> /// Adds a tab to a UI tabstrip. /// </summary> /// <param name="tabStrip">UIT tabstrip to add to</param> ...
32.618182
106
0.583612
[ "MIT" ]
algernon-A/ACME
Code/Settings/PanelUtils.cs
1,796
C#
using System.Collections.Generic; using System.Linq; using ICSharpCode.NRefactory.CSharp.Refactoring; using OmniSharp.Common; using OmniSharp.Configuration; using OmniSharp.Parser; using OmniSharp.Refactoring; namespace OmniSharp.CodeActions { public class GetCodeActionsHandler { readonly BufferParser...
32.836066
100
0.64653
[ "MIT" ]
BugDiver/omnisharp-server
OmniSharp/CodeActions/GetCodeActionsHandler.cs
2,005
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...
42.126761
339
0.573164
[ "Apache-2.0" ]
BrendanBeachBC/jag-spd-spice
interfaces/Dynamics-Autorest/Modifiedonbehalfbyspicerequiredchecks.cs
8,973
C#
/* Copyright 2017 YANG Huan (sy.yanghuan@gmail.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 ...
40.734266
154
0.618369
[ "Apache-2.0" ]
Cheatoid/CSharp.lua
CSharp.lua.Launcher/Program.cs
5,825
C#
using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using MS.Core; namespace System.Globalization { public static class __TextInfo { public static IObservable<System.Object> Clone(this IObservable<System.Globalization.TextInfo> TextInfoValu...
39.296774
120
0.683467
[ "MIT" ]
RixianOpenTech/RxWrappers
Source/Wrappers/mscorlib/System.Globalization.TextInfo.cs
6,091
C#
namespace PVOutput.Net.Modules { /// <summary> /// Base that all the PVOutput services derive from /// </summary> public abstract class BaseService { internal PVOutputClient Client { get; } internal BaseService(PVOutputClient client) { Client = client; }...
20.5625
55
0.586626
[ "MIT" ]
pyrocumulus/pvoutput.net
src/PVOutput.Net/Modules/BaseService.cs
331
C#
using System; using Microsoft.SPOT; namespace Skewworks.NETMF.Controls { [Serializable] public class ContextMenu : Control { #region Variables private Font _font; private MenuItem[] _items; private readonly Bitmap _right = Resources.GetBitmap(Resources.BitmapResources.right); ...
26.80094
208
0.435464
[ "Apache-2.0" ]
osre77/Tinkr
Tinkr2/4.2/AphelionCore/AphelionExtendedControls/Controls/Menus/ContextMenu.cs
17,099
C#
using System; using LinCms.Core.Entities.Blog; namespace LinCms.Application.Contracts.Blog.Notifications.Dtos { public class CreateNotificationDto { public NotificationType NotificationType { get; set; } public Guid? ArticleId { get; set; } public Guid? CommentId { get; set; } ...
29.055556
62
0.646272
[ "MIT" ]
Newxml/lin-cms-dotnetcore
src/LinCms.Application.Contracts/Blog/Notifications/Dtos/CreateNotificationDto.cs
525
C#
#region License // // The Open Toolkit Library License // // Copyright (c) 2006 - 2010 the Open Toolkit library. // // 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, inc...
40.306748
83
0.595282
[ "MIT" ]
Anunayj/scallion
opentk/Source/OpenTK/Platform/MacOS/MacOSKeyMap.cs
6,570
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; using System.Threading.Tasks; using Amazon.Lambda.Core; using Amazon.Lambda.S3Events; using Amazon.S3; using Amazon.S3.Model; using Amazon.S3.Transfer; using org.ohdsi.cdm.framework.common2.Base; using org.ohd...
38.778539
238
0.52093
[ "Apache-2.0" ]
AnthonyMolinaro/ETL-LambdaBuilder
sources/Presentation/org.ohdsi.cdm.presentation.lambdabuilder/Function.cs
16,985
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xam...
38.894737
126
0.610284
[ "Apache-2.0" ]
NoleHealth/xamarin-forms-book-preview-2
Chapter22/SwingingEntrance/SwingingEntrance/SwingingEntrance.WinPhone81/App.xaml.cs
5,175
C#
using System; using NQuery.Symbols; using Xunit; namespace NQuery.Tests { public partial class ExpressionTests { [Fact] public void Expression_Queries_SingleRowSubselect() { var dataContext = NorthwindDataContext.Instance; var text = "(SELECT LastName FROM Empl...
31.835821
87
0.592124
[ "MIT" ]
dallmair/nquery-vnext
src/NQuery.Tests/ExpressionTests.Queries.cs
2,133
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Mundipagg.Models.Response { [JsonObject(NamingStrategyType = typeof(SnakeCaseNamingStrategy))] public class GetTransferResponse {...
25.222222
70
0.69163
[ "MIT" ]
ddomingos-mundi/mundipagg-dotnet
Mundipagg/Models/Response/GetTransferResponse.cs
681
C#
using System.Threading.Tasks; namespace cloudscribe.SimpleContent.Models { public interface IPageUrlResolver { Task<string> ResolvePageUrl(IPage page); Task ConvertMediaToRelativeUrls(IPage page); Task ConvertMediaToAbsoluteUrls(IPage page, IProjectSettings projectSettings); } }
26.5
86
0.745283
[ "Apache-2.0" ]
cloudscribe/cloudscribe.SimpleContent
src/cloudscribe.SimpleContent.Models/Page/IPageUrlResolver.cs
320
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...
29.946429
107
0.56619
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/GlueDataBrew/Generated/Model/CreateDatasetRequest.cs
3,354
C#
using IIASA.FloodCitiSense.Mobile.Core.Core; using IIASA.FloodCitiSense.Mobile.Core.Core.Dependency; using IIASA.FloodCitiSense.Mobile.Core.Services.Permission; using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace IIASA.FloodCitiSense.Mobile.Core.Extensions.MarkupExtensions { [ContentProperty("T...
30.923077
80
0.686567
[ "MIT" ]
FloodCitiSense/FloodCitiSense
aspnet-core/src/IIASA.FloodCitiSense.Mobile.Core/Extensions/MarkupExtensions/HasPermissionExtension.cs
806
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Threading; using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; using Azure.Storage.Blobs.Models; usi...
44.75005
166
0.559327
[ "MIT" ]
AME-Redmond/azure-sdk-for-net
sdk/storage/Azure.Storage.Blobs/src/BlobBaseClient.cs
224,513
C#
using Boilerplate.Features.Core.Commands; namespace Boilerplate.Features.MassTransit.Services { public class MassTransitCommandDispatcher : ICommandDispatcher { private readonly ICommandDispatcher _decorated; private readonly IDistributedCommandDispatcher _dispatcher; public M...
29.035714
115
0.665437
[ "MIT" ]
loremipsumdonec/photo-gallery-service
src/Boilerplate/Features/MassTransit/Services/MassTransitCommandDispatcher.cs
815
C#
using FreeSql.DatabaseModel; using FreeSql.Internal; using FreeSql.Internal.Model; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Data; using System.Data.Odbc; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace FreeSql.Odbc.Dameng {...
48.944816
247
0.526871
[ "MIT" ]
p0nley/FreeSql
Providers/FreeSql.Provider.Odbc/Dameng/OdbcDamengDbFirst.cs
29,353
C#
using System.Reflection; using System.IO; using System.Text; namespace Enki.Extensions { public static class Ext { //public static Weather Instance(this Weather i){ // return (Weather)typeof(Weather).GetField("inst", BindingFlags.GetField | BindingFlags.Static | BindingFlags.Instance).GetValue(null); //} //...
30.235294
138
0.722763
[ "MIT" ]
CEbbinghaus/Enki
Enki/Extentions.cs
1,030
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.ComponentModel; namespace Azure.ResourceManager.Resources.Models { /// <summary> The policy assignment enforcement mode. Possible values are Default a...
48.75
134
0.689152
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/EnforcementMode.cs
2,535
C#
using EGamePlay; using EGamePlay.Combat; using ET; using System.Threading; using Sirenix.OdinInspector; using UnityEngine; using System; public class CombatFlow : WorkFlow { public int JumpToTime { get; set; } public override void Awake() { FlowSource = AddChild<WorkFlowSource>(); FlowSo...
20.2
112
0.691089
[ "MIT" ]
ErQing/EGamePlay
Assets/EGPsExamples/TurnBaseExample/Scripts/CombatFlow/0-CombatFlow.cs
507
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Web.Http; using System.Web...
51.450855
196
0.622825
[ "MIT" ]
LazyTarget/ProcHelper
src/Remotus.Web/Areas/HelpPage/HelpPageConfigurationExtensions.cs
24,079
C#
using System; using System.Threading.Tasks; using GraphQL.Types; namespace GraphQL.SystemTextJson { public static class SchemaExtensions { /// <summary> /// Configures an <see cref="ExecutionOptions"/> using the given <paramref name="configure"/> action /// then executes those options u...
42.72
110
0.652622
[ "MIT" ]
GrangerAts/graphql-dotnet
src/GraphQL.SystemTextJson/SchemaExtensions.cs
1,068
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using enums; public class SpawnPowerUps : MonoBehaviour { [SerializeField] private GameManager gm; [SerializeField] private BackgroundScrollScript bss; public const int RATIO_CHANCE_SHIELD = 75; public const int RATIO_CHAN...
28.222222
97
0.583661
[ "MIT" ]
DevonGrant/Monkey-Bloon-Defense
Monkey-Bloon-Defense/Assets/Scripts/Spawners/SpawnPowerUps.cs
2,034
C#
using Timetabler.Data; namespace Timetabler.Models { /// <summary> /// Data model for the <see cref="SignalboxHoursSetEditForm" /> form. /// </summary> public class SignalboxHoursSetEditFormModel { /// <summary> /// The data to be edited. /// </summary> public Signa...
24.285714
73
0.566667
[ "MIT" ]
caitlinsalt/simple-timetable-editor
Timetabler/Models/SignalboxHoursSetEditFormModel.cs
512
C#
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com // -------------------------------------------------------------------------------------------------------------------- // <copyright file="PartyWork...
39.923077
123
0.578035
[ "MIT" ]
sappho192/TataruHelper
Sharlayan/Delegates/PartyWorkerDelegate.cs
1,559
C#
using OpenBullet.Views.UserControls; using PluginFramework; using RuriLib; using RuriLib.ViewModels; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; namespace OpenBullet.Plugins { public static class Loader { /// <summary> /// Loads ...
42.916031
154
0.555852
[ "MIT" ]
Area51Crew/OB-M2-Browning
OpenBullet/Plugins/Loader.cs
5,624
C#
namespace TranscribeMe.API.Data { public class DownloadFileModel { public string Id { get; set; } public string Status { get; set; } public string FileName { get; set; } public string Extension { get; set; } public bool IsCompleted { get; set; } public bool ...
20.529412
45
0.581662
[ "MIT" ]
TranscribeMe/.NET-SDK
TranscribeMe.API.Data/DownloadFileModel.cs
351
C#
using GraphSharp.Controls; using GraphSharp.Sample; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI; using Windows.UI.Xaml; using Windows.UI.Xaml.Con...
37.918605
165
0.667587
[ "Apache-2.0" ]
ezg/PanoramicDataWin8
PanoramicDataWin8/view/graphSharp/PocVertexView.xaml.cs
3,263
C#
/* _BEGIN_TEMPLATE_ { "id": "DALA_Squeamlish", "name": [ "斯奎丽什", "Squeamlish" ], "text": [ null, null ], "cardClass": "DRUID", "type": "HERO", "cost": null, "rarity": null, "set": "DALARAN", "collectible": null, "dbfId": 54551 } _END_TEMPLATE_ */ namespace HREngine.Bots { cl...
14.241379
63
0.53753
[ "MIT" ]
chi-rei-den/Silverfish
cards/DALARAN/DALA/Sim_DALA_Squeamlish.cs
429
C#
using System; using System.Drawing; using System.Windows.Forms; using System.Threading.Tasks; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; public class Startup { private Func<object, Task<object>> eventHandler; private Func<object, Task<object>> checkM...
25.401515
115
0.557113
[ "MIT" ]
jrdn91/tray-windows
lib/tray.cs
6,706
C#
#pragma checksum "C:\Users\Willi\OneDrive\Desktop\Code Repository\GymWebsiteApp\GymWebsite\GymWebsite\Areas\Identity\Pages\Account\Manage\_ViewImports.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5d3b8748540ae983ae698cc4d0f201bae9c754a2" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsof...
52.753425
242
0.795897
[ "Unlicense" ]
shoreshanked/GymWebsiteApp
GymWebsite/GymWebsite/obj/Debug/net5.0/Razor/Areas/Identity/Pages/Account/Manage/_ViewImports.cshtml.g.cs
3,851
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lab2 { // The 'ConcreteComponent' class class Video : LibraryItem { private string _director; private string _title; private int _playTime; //...
24.358974
61
0.567368
[ "MIT" ]
MrAlexLemon/Programming_Csharp
Lab2/Lab2/Video.cs
952
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("ConsoleApplication34")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembl...
26.189189
56
0.717234
[ "Apache-2.0" ]
zwfushichun/Lab
LambdaConvertSQL/ConsoleApplication34/Properties/AssemblyInfo.cs
1,328
C#
namespace UptimeTracker { public enum PingState { Started, Success, Failure } }
9.888889
24
0.696629
[ "MIT" ]
duanenewman/NetworkUptimeTracker
UptimeTracker.Core/PingState.cs
91
C#
using UnityEngine; [RequireComponent(typeof(PolygonCollider2D))] public class AreaSound : MonoBehaviour { public GameObject InteriorSounds; public GameObject ExteriorSounds; private void OnTriggerEnter2D(Collider2D collision) { InteriorSounds.SetActive(true); ExteriorSounds.SetActive(false); } private vo...
19.954545
52
0.794989
[ "Apache-2.0" ]
pucprsoundgame/PUCPR-SoundGame
PUCPRSoundGame_sourceCode/Assets/Scripts/AreaSound.cs
441
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; namespace Bloom.Spreadsheet { /// <summary> /// This class is a representation of text which may have parts /// of it bolded, italicized, underlined, and/or superscripted /// </summary> public class...
24.280851
102
0.657904
[ "MIT" ]
BloomBooks/BloomDesktop
src/BloomExe/Spreadsheet/MarkedUpText.cs
5,706
C#
/* * Original author: Nicholas Shulman <nicksh .at. u.washington.edu>, * MacCoss Lab, Department of Genome Sciences, UW * * Copyright 2011 University of Washington - Seattle, WA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
37.963855
121
0.51206
[ "Apache-2.0" ]
shze/pwizard-deb
pwiz_tools/Shared/Common/Collections/CollectionUtil.cs
6,304
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using OpenNLP.Tools.Tokenize; namespace OpenNLP.Tools.Chunker { public class RegexDictionaryDechunker : Dechunker { pri...
40.5
143
0.497233
[ "MIT" ]
AlexPoint/OpenNlp
OpenNLP/Tools/Chunker/RegexDictionaryDechunker.cs
4,704
C#
using System; using BizHawk.Common; namespace BizHawk.Emulation.Cores.Nintendo.NES { public sealed class Mapper043 : NES.NESBoardBase { int prg = 0; int irqcnt = 0; bool irqenable = false; bool swap; private static int[] lut = { 4, 3, 5, 3, 6, 3, 7, 3 }; public override bool Configure(NES.EDetectionO...
16.23741
61
0.560479
[ "MIT" ]
Asnivor/BizHawk
BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/Mapper043.cs
2,259
C#