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
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="StreamEndpoint.cs" company="Sitecore A/S"> // Copyright (C) 2015 by Sitecore // </copyright> // ----------------------------------------------------------------------------------...
31.435897
120
0.51876
[ "MIT" ]
Sitecore/KomfoSharp
KomfoSharp/Configuration/Endpoints/StreamEndpoint.cs
1,228
C#
using DbFramework.DbCommands; using DbFramework.Interfaces.Invokers; namespace DbFramework.Interfaces.Factories { public interface IDbInvokerFactory { INonQueryCommandInvoker Create(INonQueryCommand serviceCommand); IDoesResultExistCommandInvoker Create(IDoesResultExistCommand serviceCommand); IManyResultComm...
57.222222
119
0.862136
[ "MIT" ]
christoff85/DbFramework
src/DbFramework/Interfaces/Factories/IDbInvokerFactory.cs
1,032
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Security; [assembly: AssemblyTitle("Ninject ASP.NET Framework")] [assembly: Guid("2dafe407-a883-46fb-b13d-3263716ca817")] #if !NO_PARTIAL_TRUST [assembly: AllowPartiallyTrustedCallers] #endif
25.818182
56
0.809859
[ "Apache-2.0" ]
ninject/ninject1
src/Framework/Web/Properties/AssemblyInfo.cs
286
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using JetBrains.Annotations; using Microsoft.EntityFramewor...
64.856
137
0.685765
[ "Apache-2.0" ]
csoulioti/EntityFrameworkCore
src/EFCore/Infrastructure/EntityFrameworkServicesBuilder.cs
32,428
C#
public Pen estilizarLinha(float[] estiloLinha, Color cor, int espessuraReta) { Pen caneta = new Pen(cor, espessuraReta); caneta.DashPattern = estiloLinha; return caneta; }
32
76
0.598214
[ "MIT" ]
AndreyPradoAP/Computacao_Grafica
Funcoes_e_Procedimentos/Funcao_estilizarReta.cs
224
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
38.88764
153
0.602138
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/WorkbookFunctionsMidbRequest.cs
3,461
C#
using System.Threading.Tasks; namespace Azure.Functions.Cli.Interfaces { public interface IHostingPlatform { Task DeployContainerizedFunction(string functionName, string image, string nameSpace, int min, int max, double cpu, int memory, string port, string pullSecret); } }
32.666667
168
0.758503
[ "MIT" ]
AnnMerlyn/azure-functions-core-tools
src/Azure.Functions.Cli/Interfaces/IHostingPlatform.cs
294
C#
using DotNetBlog.Core.Model.Comment; using DotNetBlog.Core.Model.Topic; using System.Collections.Generic; namespace DotNetBlog.Web.ViewModels.Home { public class TopicPageViewModel { public bool AllowComment { get; set; } public CommentFormModel CommentForm { get; set; } public Topic...
24.208333
62
0.672978
[ "MIT" ]
OmidID/DotNetBlog
src/DotNetBlog.Web/ViewModels/Home/TopicPageViewModel.cs
583
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 BasicTestApp; using Microsoft.AspNetCore.Components.E2ETest.Infrastructure; using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFix...
39.736842
111
0.690066
[ "Apache-2.0" ]
06b/AspNetCore
src/Components/test/E2ETest/ServerExecutionTests/LocalizationTest.cs
2,265
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.TWC.Models { // 签字人 public class ContractFlowSigner : TeaModel { // 签署顺序 [NameInMap("sign_order")] [Validation(Required=false)] ...
29.090909
66
0.628125
[ "MIT" ]
alipay/antchain-openapi-prod-sdk
twc/csharp/core/Models/ContractFlowSigner.cs
2,236
C#
using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using SharpMap.Utilities; namespace SharpMap.Rendering.Decoration { /// <summary> /// North arrow map decoration /// </summary> [Serializable] public class NorthArrow : MapDecoration { pri...
36.681818
131
0.532425
[ "BSD-2-Clause" ]
zffp/ObjectProcessTool
SharpMap/Rendering/Decoration/NorthArrow.cs
4,844
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.Buffers; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.Runtime.InteropServices; using System.Threading; using M...
40.66
185
0.493212
[ "MIT" ]
VFLashM/runtime
src/libraries/System.Diagnostics.Process/src/System/Diagnostics/ProcessManager.Win32.cs
20,330
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Bing.Applications.Aspects; using Bing.Applications.Dtos; using Bing.Validations.Aspects; namespace Bing.Applications.Operations { /// <summary> /// 创建操作 /// </summary> /// <typeparam name="TCreateReq...
26.038462
91
0.649926
[ "MIT" ]
hanabi1224/Bing.NetCore
src/Bing.Applications/Operations/ICreateAsync.cs
711
C#
namespace ClassLibraryTvShows { public class Links { public Self self { get; set; } public Previousepisode previousepisode { get; set; } public Nextepisode nextepisode { get; set; } } }
22.3
60
0.627803
[ "MIT" ]
jurajperic/oop_zadace
DZ6/TvShows/ClassLibraryTvShows/Links.cs
225
C#
namespace Identity.Business.Mappers.Abstractions { using System.Collections.Generic; using AlbedoTeam.Identity.Contracts.Common; using AlbedoTeam.Identity.Contracts.Requests; using AlbedoTeam.Identity.Contracts.Responses; using AlbedoTeam.Sdk.DataLayerAccess.Utils.Query; using Models; using...
38.842105
77
0.772358
[ "MIT" ]
albedoteam/wrk-identity
src/Mappers/Abstractions/IAuthServerMapper.cs
740
C#
using System; using System.Activities; using System.IO; using System.Linq; using Capgemini.Pipefy.Attachment; using Capgemini.Pipefy.TableRecord; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json.Linq; namespace Capgemini.Pipefy.Test { [TestClass] public class AttachmentTest { ...
34.62
98
0.617562
[ "MIT" ]
mghextreme/pipefy-uipath-activities
Capgemini.Pipefy.Test/AttachmentTest.cs
3,462
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> //-----------------------------------------...
39.238806
188
0.600609
[ "MIT" ]
ChilliCream/prometheus
src/StrawberryShake/CodeGeneration/src/CodeGeneration.CSharp.Server/ServerResources.Designer.cs
2,631
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 may...
59.233577
129
0.643993
[ "Apache-2.0" ]
Havret/activemq-nms-api
test/nms-api-test/RedeliveryPolicyTest.cs
8,117
C#
namespace CrossJob.Web { using System; using System.Linq; using System.Web.UI; using Ninject; using Services.Contracts; public partial class Projects : Page { [Inject] public IProjectsService ProjectsService { get; set; } protected void Page_Load(object sender, Eve...
22.708333
87
0.618349
[ "MIT" ]
Team-Katana-WebForms/CrossJob
CrossJob/Web/CrossJob.Web/Projects.aspx.cs
547
C#
using System.Text; namespace MSPack.Processor.Core { public static class NoBomUtf8Encoder { public static readonly Encoding Encoding = new UTF8Encoding(false); } }
19.5
76
0.676923
[ "MIT" ]
pCYSl5EDgo/MSPack-Processor
src/Core/Generator/NoBomUtf8Encoder.cs
197
C#
namespace SchoolManager.Service.Responses { public interface IResponse { string Message { get; set; } bool DidError { get; set; } string ErrorMessage { get; set; } } }
20.4
41
0.602941
[ "MIT" ]
LissetteIbnz/aspnetcore-efcore-api
SchoolManager.Service/Responses/IResponse.cs
204
C#
using UnityEngine; using System.Collections; using UnityEngine.UI; public class DetectionManager : MonoBehaviour { public int maxDetection; public static int currentDetection; public Slider detectionBar; public LevelManager levelManager; public float invisWait; private float invisCount; public PlayerContr...
19.85
62
0.691016
[ "MIT" ]
NguX0530/ufoabduction
Assets/Scripts/DetectionManager.cs
1,193
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
32.051282
230
0.6316
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Logic/ListIntegrationAccountKeyVaultKeys.cs
2,500
C#
using Xunit; using Shouldly; namespace AutoMapper.UnitTests.Bug { public class NullableEnums : AutoMapperSpecBase { public class Src { public EnumType? A { get; set; } } public class Dst { public EnumType? A { get; set; } } public enum EnumType { One, Two } protected override...
25.307692
102
0.56383
[ "MIT" ]
AutoMapper/AutoMapper
src/UnitTests/Bug/NullableEnums.cs
660
C#
using FluentAssertions; using FluentAssertions.Execution; using FluentAssertions.Primitives; using Tensorflow.NumPy; using System; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; using Tensorflow; namespace TensorFlowNET.UnitTest { [DebuggerStepThrough] public static class ...
44.266312
283
0.443268
[ "Apache-2.0" ]
Hallupa/TensorFlow.NET
test/TensorFlowNET.UnitTest/Utilities/FluentExtension.cs
33,246
C#
using System.Collections.Generic; using ZMachineLib.Content; namespace ZMachineLib.Operations.OP2 { /// <summary> /// 2OP:5 5 inc_chk (variable) value ?(label) /// Increment variable, and branch if now greater than value. /// </summary> public sealed class IncCheck : ZMachineOperationBase { ...
29.925926
70
0.597772
[ "MIT" ]
Chrislee187/ZMachineLib
ZMachineLib/Operations/OP2/IncCheck.cs
810
C#
// Copyright (c) 2012-2015 Sharpex2D - Kevin Scholz (ThuCommix) // // 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,...
38.521212
122
0.590308
[ "MIT" ]
ThuCommix/Sharpex2D
Sharpex2D/Rendering/IRenderer.cs
6,358
C#
using System.Collections.Generic; using System.Linq; using System.Security.Claims; using Thinktecture.IdentityModel.Owin.ResourceAuthorization; namespace Owin.ResourceAuthorization.Tests { public static class ResourceAuthorizationContextExtensions { public static bool HasClaim(this IEnumerable<Claim> c...
32.525
104
0.659493
[ "BSD-3-Clause" ]
BadriL/Thinktecture.IdentityModel
source/Owin.ResourceAuthorization.Tests/ResourceAuthorizationContextExtensions.cs
1,301
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace MonuGuardaApp.Models { public class PontosdeInteresse { public int PontosdeInteresseId { get; set; } [Required(ErrorMessage = "É necessário c...
27.5625
69
0.64966
[ "MIT" ]
Greatbisca/MonuGuardaApp
MonuGuardaApp/Models/PontosdeInteresse.cs
890
C#
using UnityEngine; public class KeyPointsHandler : MonoBehaviour { public GameObject MainMenuCamPoint; public GameObject LevelCamPoint; public GameObject DropdownAreaPoint; public GameObject EntryPoint; public GameObject EntryLandingPoint; public GameObject MainMenuExitPoint; public Game...
25.259259
89
0.725806
[ "Apache-2.0" ]
Aspekt1024/ClumsyBat
Assets/Scripts/Menu/MainMenu/Components/KeyPointsHandler.cs
684
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// alipay.open.app.test.test.create /// </summary> public class AlipayOpenAppTestTestCreateRequest : IAlipayRequest<AlipayOpenAppTestTestCreateResponse> { ...
23.463768
105
0.537369
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Request/AlipayOpenAppTestTestCreateRequest.cs
3,252
C#
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
38.425
98
0.698764
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/monitoring/v3/google-cloud-monitoring-v3-csharp/Google.Cloud.Monitoring.V3.StandaloneSnippets/AlertPolicyServiceClient.GetAlertPolicyResourceNames2Snippet.g.cs
1,537
C#
using UnityEditor; using UnityEngine; namespace LoneTower.SRP { public class SRPGUIDrawer { SRPController srp; VisibilityButton visibility; PaintButton paintButton; public SRPGUIDrawer(SRPController srp) { this.srp = srp; visibility = new VisibilityButton(); paintButton = new PaintButton(); vis...
24.361702
125
0.739738
[ "MIT" ]
MLopusiewicz/SceneReferencePicker
Assets/SRP/Editor/GUI/SRPGUIDrawer.cs
1,147
C#
using System; using System.Text; namespace Sharp.Xmpp.Core.Sasl.Mechanisms { /// <summary> /// Implements the Sasl Plain authentication method as described in /// RFC 4616. /// </summary> internal class SaslPlain : SaslMechanism { private bool Completed = false; /// <summary> ...
30.941606
87
0.515688
[ "MIT" ]
REPLDigital/Sharp.Xmpp
Core/Sasl/Mechanisms/SaslPlain.cs
4,241
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview { using static Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Runtime.Extensions; /// <summary>Dictionary of <string></summary> public partial class ServiceBusQueueOutputDataSourcePropertiesSystemPropertyColumns...
70.72381
277
0.707918
[ "MIT" ]
Agazoth/azure-powershell
src/StreamAnalytics/generated/api/Models/Api20170401Preview/ServiceBusQueueOutputDataSourcePropertiesSystemPropertyColumns.json.cs
7,322
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
39.929412
278
0.63789
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Compute/V20200601/Outputs/VirtualMachineScaleSetDataDiskResponse.cs
3,394
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.IO.Pipelines; using System.Runtime.CompilerServices; using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure; ...
35.829659
160
0.427373
[ "Apache-2.0" ]
benaadams/KestrelHttpServer
src/Kestrel.Core/Internal/Http/HttpParser.cs
17,879
C#
using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Response { /// <summary> /// AlipayCommerceCityfacilitatorVoucherGenerateResponse. /// </summary> public class AlipayCommerceCityfacilitatorVoucherGenerateResponse : AopResponse { /// <summary> /// 核销码过期时间 /// </su...
24.793103
83
0.573018
[ "MIT" ]
leixf2005/Alipay.AopSdk.Core
Alipay.AopSdk.Core/Response/AlipayCommerceCityfacilitatorVoucherGenerateResponse.cs
777
C#
using System; using LanguageExt.ClassInstances; namespace LanguageExt { /// <summary> /// A proxy for `Ref`, returned by `commute`. This allows the transaction system to know that the /// result is a commutative and therefore give you a result based on the live state rather than /// the transaction. ...
43.388889
121
0.587068
[ "MIT" ]
CK-LinoPro/language-ext
LanguageExt.Core/Concurrency/STM/CommuteRef.cs
1,564
C#
using System; using System.Collections.Generic; namespace DurandalAuth.Domain.Models { public partial class rf_activity { public string bl_id { get; set; } public Nullable<System.DateTime> date_activity { get; set; } public Nullable<int> direction { get; set; } public Nullable<d...
37.275862
68
0.612396
[ "MIT" ]
benitazz/AlcmSolutions
DurandalAuth.Domain/Models/rf_activity.cs
1,081
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...
38.445
142
0.55898
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/LicenseManager/Generated/Model/Internal/MarshallTransformations/CreateLicenseRequestMarshaller.cs
7,689
C#
using WellEngineered.CruiseControl.PrivateBuild.NetReflector.Attributes; using WellEngineered.CruiseControl.WebDashboard.Dashboard; using WellEngineered.CruiseControl.WebDashboard.Dashboard.Actions; using WellEngineered.CruiseControl.WebDashboard.Dashboard.GenericPlugins; namespace WellEngineered.CruiseControl.WebDash...
39.52
159
0.70108
[ "MIT" ]
wellengineered-us/cruisecontrol
src/WellEngineered.CruiseControl.Dashboard.Web/Plugins/BuildReport/BuildReportBuildPlugin.cs
2,964
C#
using FluentValidation.Results; using System; using System.Collections.Generic; using System.Linq; namespace Ordering.Application.Exceptions { //Exception layer public class ValidationException : ApplicationException { //Error public ValidationException() : base("One or more va...
32
115
0.641602
[ "MIT" ]
Arniox/AspnetMicroservices
src/Services/Ordering/Ordering.Application/Exceptions/ValidationException.cs
1,026
C#
using JetBrains.Annotations; namespace ITGlobal.CommandLine.Parsing { /// <summary> /// Command line parser that supports subcommands /// </summary> [PublicAPI] public interface ITreeCliParser : ICliCommandRoot, ICliParser { } }
21.75
65
0.678161
[ "MIT" ]
ITGlobal/CLI
src/CLI.Parser/ITreeCliParser.cs
261
C#
using System.Collections.Generic; using System.Linq; /* Нужна таблица свежести: для каждой свежей туда класть минимум через сколько заразится (минимум) какое дефолное значение там хранить? сейчас максимум */ public class Solution { public int OrangesRotting(int[][] grid) { ...
29.386667
79
0.368875
[ "MIT" ]
DiscoDancer/LeetCode
Algorithm/BFS DFS/rotting-oranges_1.cs
2,329
C#
using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text.RegularExpressions; using org.mariuszgromada.math.mxparser; namespace Calculator.Models { public interface IOperations { void Insert(string digit); void InsertOperation(Operations operation); ...
30.988827
139
0.459528
[ "MIT" ]
dariuszdbr/CalculatorWpfMVVM
Calculator/Models/CalculatorModel.cs
5,549
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="Aspose Pty Ltd" file="FolderApi.cs"> // Copyright (c) 2003-2021 Aspose Pty Ltd // </copyright> // <summary> // Permission is hereby granted, free of charge, to any person obta...
44.089983
141
0.569679
[ "MIT" ]
groupdocs-viewer-cloud/groupdocs-viewer-cloud-dotnet
src/GroupDocs.Viewer.Cloud.Sdk/Api/FolderApi.cs
25,969
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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CodeStyle; using Microsoft.CodeAnalysis.CSharp.CodeFixes.Ge...
20.406685
160
0.626809
[ "Apache-2.0" ]
Trieste-040/https-github.com-dotnet-roslyn
src/EditorFeatures/CSharpTest/Diagnostics/GenerateMethod/GenerateConversionTests.cs
7,326
C#
using Shared.Enums; using BUS.Interfaces.Services; using Core.Helper; using Core.Interfaces; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Shared.ViewModels; using System; using System.Collections.Generic; using Microsoft.AspNetCore.Authorization; using Core.Models; using System.IO; namespace ...
36.620155
136
0.604149
[ "Unlicense" ]
vtoan/fashion-ecom-ns
src/Core/Apis/ProductController.cs
4,724
C#
//----------------------------------------------------------------------- // <copyright file="PNCounter.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> //----...
41.150327
163
0.65359
[ "Apache-2.0" ]
BearerPipelineTest/akka.net
src/contrib/cluster/Akka.DistributedData/PNCounter.cs
6,298
C#
using System.Linq; using System.Web; using System.Web.WebPages; using EPiServer.Framework; using EPiServer.Framework.Initialization; using EPiServer.ServiceLocation; using AlloyReact.Business.Channels; using EPiServer.Web; namespace AlloyReact.Business.Initialization { /// <summary> /// Adds a new display mode...
36.92
167
0.686891
[ "Apache-2.0" ]
episerver/AlloyReact
AlloyReact/Business/Initialization/DisplayModesInitialization.cs
1,846
C#
/******************************************************************************** * Module : Lapis.Math.Algebra  * Class : Trigonometric  * Description : Provides methods related to trigonometric functions.  * Created : 2015/5/17  * Note : ********************************************************...
38.563169
143
0.415959
[ "MIT" ]
LapisDev/LapisMath
src/Lapis.Math.Algebra/Arithmetics/Trigonometric.cs
18,015
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Blacker.MangaScraper.Common; namespace Blacker.Scraper { public class FoOlSlideFactory : IScraperFactory { // todo: make this configurable private readonly IEnumerable<FoOlSlide.FoOlSlideConfig> _config...
53.684211
128
0.377451
[ "BSD-2-Clause" ]
blacker-cz/MangaScraper
Blacker.Scraper/FoOlSlideFactory.cs
2,042
C#
using GenericRepositoryHelloWorld.Core; using GenericRepositoryHelloWorld.Core.Repositories; using GenericRepositoryHelloWorld.Data.Repositories; using System.Threading.Tasks; namespace GenericRepositoryHelloWorld.Data { public class UnitOfWork : IUnitOfWork { private readonly MusicMarketDbContext _co...
30.5625
116
0.696319
[ "MIT" ]
Meeyzt/GenericRepositoryHelloWorld
GenericRepositoryHelloWorld.Data/UnitOfWork.cs
980
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class LineDraw : MonoBehaviour, IPointerDownHandler, IPointerUpHandler { [Header("Draw Attributes")] private GameObject _line; private bool _isDrawing; private Vector3 _mouse...
36
134
0.606884
[ "MIT" ]
canerozdemirr/MeshDrawingRuntime
Assets/Scripts/LineDraw.cs
3,314
C#
namespace C_sharp_LOGIN { partial class uC_IN_OUT { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ///...
56.041591
156
0.59272
[ "MIT" ]
daotuyen9244/Indruino-Iot-Project
SW/PC_App/Hau/C#_LOGIN/C_sharp_LOGIN/C_sharp_LOGIN/uC_IN_OUT.Designer.cs
30,993
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.12 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //----...
36.066667
129
0.641405
[ "Apache-2.0" ]
Vochsel/usd-unity-sdk
src/USD.NET/generated/SWIG/SWIGTYPE_p_PcpPrimIndex.cs
1,082
C#
namespace Dissertation.Algorithms.Algorithms.Newton { public interface IFunction { double CalculateFunctionValue(double x); } }
18.625
52
0.711409
[ "MIT" ]
Fairday/Dissertation
src/Dissertation.Algorithms/Algorithms/Newton/IFunction.cs
151
C#
namespace MonkeyButler.Abstractions.Data.Storage.Models.Guild; /// <summary> /// Query for getting options for a guild. /// </summary> public record GetOptionsQuery { /// <summary> /// The Id of the guild. /// </summary> public ulong GuildId { get; set; } }
21.230769
63
0.652174
[ "MIT" ]
Foshkey/MonkeyButler
src/MonkeyButler.Abstractions/Data/Storage/Models/Guild/GetOptionsQuery.cs
278
C#
#region Header // Vorspire _,-'/-'/ ObjectExt.cs // . __,-; ,'( '/ // \. `-.__`-._`:_,-._ _ , . `` // `:-._,------' ` _,`--` -: `_ , ` ,' : // `---..__,,--' (C) 2018 ` -'. -' // # Vita-Nex [http://core.vita-nex.com] # // {o)xxx|===============- # -============...
19.233193
86
0.557619
[ "MIT" ]
Vita-Nex/Core
Extensions/System/ObjectExt.cs
9,157
C#
//---------------------------------------------------------------------------------------------- // <copyright file="ComposeExtensionValue.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> //----------------------------------------------------------------------------------------...
32.828571
97
0.502176
[ "MIT" ]
asdkant/microsoft-teams-clippy-app
Clippy/WebModels/ComposeExtensionValue.cs
1,151
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.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using...
36.694124
199
0.604397
[ "MIT" ]
myblindy/roslyn
src/Test/Utilities/Portable/Compilation/OperationTreeVerifier.cs
73,060
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Core.Definitions.Utilities; #if WINDOWS_UWP && !ENABLE_IL2CPP using Microsoft.MixedReality.Toolkit.Core.Extensions; #endif // WI...
40.882353
229
0.634053
[ "MIT" ]
jdehotin/holotoolkit
Assets/MixedRealityToolkit/Attributes/ImplementsAttribute.cs
2,087
C#
using System.IO; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Serilog; using Serilog.Events; namespace CompanyName.ProjectName.DbMigrator { class Program { static async Task Main(string[] args...
34.512195
92
0.624028
[ "MIT" ]
shuangbaojun/abp-vnext-pro
aspnet-core/services/src/CompanyName.ProjectName.DbMigrator/Program.cs
1,415
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using BDFramework.Mgr; namespace BDFramework.UI { [Obsolete("please use new uiframe: uflux.")] public class UIAttribute : ManagerAtrribute { public string ResourcePath { get; private set; } public...
22.15
67
0.654628
[ "Apache-2.0" ]
ZetLiu/BDFramework.Core
Assets/Code/BDFramework/Core/UI(Deprecated)/@hotfix/UIAttribute.cs
445
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
29.404255
86
0.604197
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/MachineLearning/Inputs/GraphEdgeArgs.cs
1,382
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using TheLiquidFire.Notifications; public class Clickable : MonoBehaviour, IPointerClickHandler { public const string ClickedNotification = "Clickable.ClickedNotification"; public void OnPointerClick(Poin...
31.384615
75
0.833333
[ "MIT" ]
DapperDino/CCG-Single-Player-Learning
Assets/Scripts/Components/Clickable.cs
410
C#
//////////////////////////////////////////////////////////////////////////////// // // // MIT X11 license, Copyright (c) 2005-2006 by: // // ...
53.0625
110
0.390813
[ "MIT" ]
mdk/diva
src/Diva.Editor.Timeline/Diva.Editor.Timeline.TrackLinesElement.cs
4,245
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; using NBTExplorer.Model; using NBTExplorer.Windows; namespace NBTExplorer.Controllers { class ExplorerBarController { private ToolStrip _explorerStrip; private DataNode _rootNode; private ...
30.196262
120
0.504488
[ "MIT" ]
3prm3/NBTExplorer-Reloaded
NBTExplorer/Controllers/ExplorerBarController.cs
3,233
C#
using System; using System.Data; using System.Threading; using System.Threading.Tasks; using Npgsql; namespace Marten.Services { public class TransactionState : IDisposable { private readonly CommandRunnerMode _mode; private readonly IsolationLevel _isolationLevel; private readonly int ...
29.434555
195
0.509605
[ "MIT" ]
jacobpovar/marten
src/Marten/Services/TransactionState.cs
5,622
C#
using System; using System.Collections.Generic; using System.IdentityModel.Services; using System.Linq; using System.Security.Claims; using System.Threading; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace FormsAndBasicAuth { // Not...
33.5
132
0.69936
[ "BSD-3-Clause" ]
YouthLab/Thinktecture.IdentityModel.45
Samples/FormsAndBasicAuth/FormsAndBasicAuth/Global.asax.cs
1,409
C#
using System; using System.Collections.Generic; using System.Text; namespace Stencil.Native { public enum I18NToken { ConnectionTimeOut, //"Connection timed out." Notification, //"Notification" VersionNotSupported, //"This version of the app is no longer supported." AppExpired,...
38.074074
99
0.63716
[ "MIT" ]
DanMasterson1/stencil
Source/Stencil.Native/Stencil.Native/I18NToken.cs
2,058
C#
#pragma warning disable 612, 618 using FoxDb.Interfaces; using System.Linq; using System; using System.Threading.Tasks; namespace FoxDb { public partial class EntityPersister : IEntityPersister { public EntityPersister(IDatabase database, ITableConfig table, ITransactionSource transaction = ...
35.665049
142
0.538043
[ "MIT" ]
Raimusoft/FoxDb
FoxDb.Core/Entity/EntityPersister.cs
7,349
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.IO; namespace NuGet.Packaging { /// <summary> /// Represents an empty framework folder in NuGet 2.0+ packages. ...
34.423077
113
0.664804
[ "Apache-2.0" ]
BdDsl/NuGet.Client
src/NuGet.Core/NuGet.Packaging/PackageCreation/Authoring/EmptyFrameworkFolderFile.cs
897
C#
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("CrudDatastore.Topper Data Access Framework")] [assembly: AssemblyDescription("")] [assembly: Ass...
39.222222
82
0.752597
[ "MIT" ]
tyronevergil/CrudDatastore.Topper
CrudDatastore.Topper/Properties/AssemblyInfo.cs
1,062
C#
using InDepthSearch.Core.Types; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InDepthSearch.Core.Services.Interfaces { public interface IAppService { public string GetVersion(); public string GetCurrentLanguage(); ...
28
78
0.732143
[ "Apache-2.0" ]
radoslawik/InDepthSearch
InDepthSearch.Core/Services/Interfaces/IAppService.cs
562
C#
using System.Collections; using System.Collections.Generic; namespace Tests.Rrs.ObjectCompare.Classes { class ValueEnumerableClass { public IEnumerable<int> EnumerableProperty { get; set; } } }
19.636364
64
0.726852
[ "MIT" ]
rrs/ObjectCompare
src/Tests.Rrs.ObjectCompare/Classes/ValueEnumerableClass.cs
218
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class ReevaluatePresetEvent : redEvent { public ReevaluatePresetEvent(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name) { } } }
21.133333
108
0.728707
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/ReevaluatePresetEvent.cs
303
C#
using UnityEngine; public class Hoge149 : MonoBehaviour{ void Start(){ Debug.Log(Hoge149.GetIndex()); } void Update(){ } public static int GetIndex(){ return 149; } public int GetIndex0(){ return 0; } public int GetIndex1(){ return 1; } public int GetIndex2(){ return 2; } public int GetIndex3(){ return 3; } ...
40.548515
44
0.705694
[ "MIT" ]
mao-test-h/SamplePackage
Runtime/Generated/Hoge149.generated.cs
40,954
C#
using System; namespace HeptaSoft.SmartEntity.Mapping.Conversion { public interface IConverter { /// <summary> /// Converts the specified value to required type. /// </summary> /// <param name="value">The value.</param> /// <param name="requiredType">Type of t...
35.392857
122
0.564077
[ "MIT" ]
HeptaSoft/SmartEntity
HeptaSoft.SmartEntity/Mapping/Conversion/IConverter.cs
993
C#
using component.logger.data.log.Interface; using System; using System.Collections.Generic; using System.Linq; using iot.solution.common; namespace component.services.logger.viewer.Application.AppSetting { public class ServiceAppSetting { readonly IAppSettingRepository _appSettingRepository; pr...
37.325
219
0.569324
[ "MIT" ]
iotconnect-apps/AppConnect-AirQualityMonitoring
iot.solution.logviewer/Application/AppSetting/ServiceAppSetting.cs
2,988
C#
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
39.382979
141
0.683955
[ "Apache-2.0" ]
friedenberg/google-ads-dotnet
src/V9/Services/KeywordPlanAdGroupKeywordServiceResourceNames.g.cs
1,851
C#
using HarmonyLib; namespace BabboSettings.Patches { [HarmonyPatch(typeof(PlayerController), "get_IsSwitch")] static class PlayerController_IsSwitch_Patch { static bool Postfix(bool __result) { var cameraMode = PatchData.Instance.cameraMode; // isSwitch needs to be calculated all the time, otherw...
30.147059
91
0.714146
[ "MIT" ]
Amatobahn/Skater-XL-mods
BabboSettings/Patches/PlayerControllerPatches.cs
994
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 ...
14.516279
63
0.553348
[ "Apache-2.0" ]
pengweiqhca/aliyun-openapi-net-sdk
aliyun-net-sdk-ccc/CCC/Model/V20200701/ListDevicesResponse.cs
3,121
C#
/*---------------------------------------------------------------- Copyright (C) 2019 Senparc 文件名:EncryptResponseMessage.cs 文件功能描述:返回给服务器的加密消息 创建标识:Senparc - 20150313 修改标识:Senparc - 20150313 修改描述:整理接口 ----------------------------------------------------------------*/ namesp...
24.296296
67
0.481707
[ "Apache-2.0" ]
370041597/WeiXinMPSDK
src/Senparc.Weixin.Work/Senparc.Weixin.Work/Entities/Response/EncryptResponseMessage.cs
762
C#
using System; using System.Collections.Generic; using System.Text; using System.Data; using System.ComponentModel; namespace HKLite { /* 作者:何宏卿 * 日期:2014-12-23 * 描述:IDALayer接口 */ public interface IDALayer : IDALayerBase { /// <summary> /// 通过SqlCeResultSet 高效复制 ///...
20.75
67
0.608434
[ "Apache-2.0" ]
hhqing999/HKLite
HKLite.Sqlce.Wince/Provider/IDALayer.cs
540
C#
// <copyright file="EllipticalPlanetaryDetails.cs" company="Traced-Ideas, Czech republic"> // Copyright (c) 1990-2021 All Right Reserved // </copyright> // <author></author> // <email></email> // <date>2021-09-01</date> // <summary>Part of Astro Observatory</summary> namespace AstroSharedClasses.OrbitalElements { ...
34.851852
91
0.618491
[ "MIT" ]
Vladimir1965/AstroObservatory
AstroSharedClasses/OrbitalElements/EllipticalPlanetaryDetails.cs
1,884
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Net.Surviveplus.LightCutter.Core; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Net.Surviveplus.LightCutter.Core.Tests { [TestClass()] public class Fr...
21.576923
56
0.643494
[ "MIT" ]
surviveplus/Light-Cutter
LightCutter/LightCutter.Core.Tests/FrozenScreenTests.cs
563
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Collections; using System.Diagnostics.CodeAnalysis; namespace Shift.Common.ExpressionUtil { // based on System.Web.Util.HashCodeCombiner [ExcludeFromCodeCoverage] ...
24.721311
133
0.492706
[ "MIT" ]
hhalim/Shift
Shift.DataLayer/Common/ExpressionUtil/HashCodeCombiner.cs
1,510
C#
using RoboRemote.Interfaces; using System; using Xamarin.Forms; namespace RoboRemote.Converters { public class IsWriteableBoolConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { return ((II...
33.636364
124
0.645946
[ "MIT" ]
ZeroxCorbin/RoboRemote
RoboRemote/RoboRemote/Converters/AccessCheckConverter.cs
1,112
C#
using System; using System.Collections.Generic; using YTSubConverter.Shared.Animations; namespace YTSubConverter.Shared.Formats.Ass.Tags { internal class AssSimpleFadeTagHandler : AssTagHandlerBase { public override string Tag => "fad"; public override bool AffectsWholeLine => true;...
35.151515
98
0.626724
[ "MIT" ]
Meigyoku-Thmn/YTSubConverter
YTSubConverter.Shared/Formats/Ass/Tags/AssSimpleFadeTagHandler.cs
1,162
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Geotab.Checkmate; using Geotab.Checkmate.ObjectModel; using Geotab.Checkmate.ObjectModel.Fuel; namespace Geotab.SDK.GetFuelTaxDetails { static class Program { /// <summary> /// The amount of t...
47.897698
247
0.538499
[ "MIT" ]
Geotab/sdk-dotnet-samples
GetFuelTaxDetails/Program.cs
18,728
C#
/******************************************************************************* * Copyright 2012-2019 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...
46.325459
297
0.616431
[ "Apache-2.0" ]
SpandanaS9/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/AppConfig/Basic/New-APPCDeploymentStrategy-Cmdlet.cs
17,650
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class UIGameDataDef : gamebbScriptDefinition { [Ordinal(0)] [RED("ActivityLog")] public gamebbScriptID_Variant ActivityLog { get; set; } [Ordinal(1)] [RED(...
73.157895
130
0.745683
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/UIGameDataDef.cs
2,743
C#
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace UnityEditor.VFX.Operator { abstract class NoiseBase : VFXOperator { public class InputProperties1D { [Tooltip("Sets the coordinate in the noise field to take the sample from.")...
38.568627
255
0.613625
[ "MIT" ]
JesusGarciaValadez/RenderStreamingHDRP
RenderStreamingHDRP/Library/PackageCache/com.unity.visualeffectgraph@8.2.0/Editor/Models/Operators/Implementations/NoiseBase.cs
1,967
C#
using Houzkin; using Calamelia.StockPrice.Serialize; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Xml.Serialization; using CsvHelper.Configuration; using CsvHelper.TypeConversion; using System.Net; using CsvHelper; using Car...
36.702703
160
0.667158
[ "Apache-2.0" ]
Houzkin/Caramelia
src/Caramelia/Caramelia.Source/StockPrice/Clients/KdbClient.cs
8,336
C#
// Copyright (C) 2018 Fievus // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. using Carna; namespace Charites.Windows.Forms { [Specification("ListBoxItemsSource Spec")] class ListBoxItemsSourceSpec { [Context] Lis...
25.368421
75
0.711618
[ "MIT" ]
averrunci/WindowsFormsMvc
Spec/WindowsFormsMvc.Spec/Forms/ListBoxItemsSourceSpec.cs
484
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Class for managing the Equipment of the characters. /// </summary> public class EquipmentManager : MonoBehaviour { /// Singleton instance of the EquipmentManager. public static EquipmentManager instance; /// U...
27.037736
83
0.586532
[ "MIT" ]
Mahmood34/Withering
Withering/Assets/Scripts/Manager/EquipmentManager.cs
2,868
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections; using System.Collections.Generic; using Microsoft.Extensions.Primitives; namespace Microsoft.AspNetCore.Http { ...
32.388186
119
0.516675
[ "Apache-2.0" ]
belav/aspnetcore
src/Http/Http/src/FormCollection.cs
7,676
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...
33.892857
117
0.586407
[ "ECL-2.0", "Apache-2.0" ]
sacloud/pulumi-sakuracloud
sdk/dotnet/Inputs/PacketFilterExpressionArgs.cs
1,898
C#