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
namespace Scribe.Models.Data { public class RenameValues { #region Properties public string NewName { get; set; } public string OldName { get; set; } #endregion } }
14.833333
37
0.691011
[ "MIT" ]
BobbyCannon/Scribe
Scribe/Models/Data/RenameValues.cs
180
C#
using System.Collections.Generic; using Beinet.Repository.Repositories; namespace LogAnalyse.LogProcesser.Repository { /// <summary> /// 任务表仓储类 /// </summary> public interface TasksRepository : JpaRepository<Tasks, int> { [Query("SELECT fileName FROM #{#entityName} where ymd=?1")] ...
26.357143
67
0.677507
[ "Apache-2.0" ]
youbl/products
LogAnalyse/LogAnalyse/LogProcesser/Repository/TasksRepository.cs
383
C#
using Microsoft.AspNetCore.Http; using Microsoft.Net.Http.Headers; using System; using System.Collections.Generic; using System.IO; namespace ToolManager.Helpers.UploadHelper { public class UploadHelper { public static bool IsSingleContentType(IFormFile file) { return !string.IsNul...
29.294118
111
0.621486
[ "Apache-2.0" ]
GlobalBlackout/CloudProjectEFCore
CloudProjectCore/ToolManager/Helpers/UploadHelper/UploadHelper.cs
998
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <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 regenerate...
31.727432
104
0.732373
[ "MIT" ]
NAXAM/xam-android-retrofit2-convertgson
demo/QuickStart/Resources/Resource.designer.cs
162,730
C#
using System; namespace Avalonia.Controls { [Obsolete("This class exists to maintain backwards compatibility with existing code. Use NativeMenuItemSeparator instead")] public class NativeMenuItemSeperator : NativeMenuItemSeparator { } public class NativeMenuItemSeparator : NativeMenuItemBase ...
28.470588
127
0.719008
[ "MIT" ]
0x0ade/Avalonia
src/Avalonia.Controls/NativeMenuItemSeparator.cs
486
C#
// <auto-generated /> using System; using BudgetApp.Infrastructure.Persistence; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace BudgetApp.Infrastructure.Persistence.Migrations { [DbCo...
32.633333
87
0.476507
[ "MIT" ]
Smau5/BudgetApp
Backend/BudgetApp.Infrastructure/Persistence/Migrations/AppDbContextModelSnapshot.cs
3,918
C#
using System; using System.Collections.Generic; namespace OpenTracing.Contrib.NetCore.Internal { public class GenericEventOptions { private bool _hasFilter; private bool _ignoreAll; private Dictionary<string, HashSet<string>> _ignoredEvents; private HashSet<string> _ignoredList...
28.84375
118
0.533315
[ "MIT" ]
HurricanKai/Fibonacci
OpenTracing.Contrib.NetCore/Internal/GenericEventOptions.cs
3,694
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 ...
59.280303
559
0.68885
[ "Apache-2.0" ]
Mattlk13/google-cloud-dotnet
apis/Google.Cloud.Retail.V2/Google.Cloud.Retail.V2/CompletionServiceClient.g.cs
31,300
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; using IronPython.Runtime; using IronPython.Modules; using Microsoft.Scripting; using NumpyDotNet; namespace NumpyDotNet { /// <summary> /// Provides access to the core for ufunc and nu...
22.861111
80
0.668287
[ "BSD-3-Clause" ]
AvenSun/numpy.net
src/NumpyDotNet/NumpyDotNet/UMathModule.cs
825
C#
using Microsoft.Research.Science.FetchClimate2.Integrators.Spatial; using Microsoft.Research.Science.FetchClimate2.UncertaintyEvaluators; using Microsoft.Research.Science.FetchClimate2.ValueAggregators; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; usin...
73.384615
295
0.777123
[ "MIT" ]
Bhaskers-Blu-Org2/FetchClimate
src/DataHandlers/NCEPDataSource/NCEPReanalysisDataHandler.cs
7,634
C#
using Hi.UrlRewrite.Templates.Action.Base; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Sitecore.Data.Fields; using Sitecore.Data.Items; namespace Hi.UrlRewrite.Templates.Action { public class OutboundRewriteItem : CustomItem { ...
26.298246
104
0.657772
[ "MIT" ]
AlintaEnergy/UrlRewrite
Hi.UrlRewrite/Templates/Action/OutboundRewriteItem.cs
1,501
C#
//------------------------------------------------------------------------------ // <generado automáticamente> // Este código fue generado por una herramienta. // // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si // se vuelve a generar el código. // </genera...
32.75
96
0.459924
[ "Apache-2.0" ]
LibiaRodriguez/IMC
Paginas/frmPrueba.aspx.designer.cs
532
C#
using UnityEngine; namespace NonStandard.Utility { public class DestroySelfIfAnotherExists : MonoBehaviour { public Object targetKind; void Start() { Object[] objects = FindObjectsOfType(targetKind.GetType()); bool foundAnotherOne = false; for (int i = 0; i < objects.Length; ++i) { if (objects[i] != ...
21.47619
62
0.656319
[ "Unlicense" ]
mvaganov/NonStandardUnityUtility
Scripts/NonStandard/Utility/DestroySelfIfAnotherExists.cs
451
C#
using UnityEngine; public class DestroyOnTrigger : MonoBehaviour { public string tag = "Player"; void OnTriggerEnter(Collider other) { if(other.gameObject.tag == tag) { Score.CurrentScore += 10; Destroy(gameObject); } } }
17.058824
45
0.575862
[ "MIT" ]
Rouen595/NavMesh-Assignment-6
Assets/Scripts/DestroyOnTrigger.cs
292
C#
using GDAPI.Attributes; using GDAPI.Enumerations.GeometryDash; using GDAPI.Functions.Extensions; using GDAPI.Objects.DataStructures; using GDAPI.Objects.General; using GDAPI.Objects.GeometryDash.General; using GDAPI.Objects.GeometryDash.Reflection; using GDAPI.Objects.Reflection; using System; using System.Collections...
50.440382
454
0.606297
[ "MIT" ]
AlFasGD/GDAPI
GDAPI/GDAPI/Objects/GeometryDash/LevelObjects/GeneralObject.cs
31,729
C#
using System.Collections.Generic; using Microsoft.Extensions.Localization; namespace OpenGate.Admin.Helpers.Localization { public interface IGenericControllerLocalizer<out T> { LocalizedString this[string name] { get; } LocalizedString this[string name, params object[] arguments] { get; } ...
20.5
79
0.734146
[ "MIT" ]
fuji97/open-gate
src/OpenGate.Admin/Helpers/Localization/IGenericControllerLocalizer.cs
410
C#
using System; using System.Collections.Generic; using System.Net; namespace StackExchange.Opserver.Data.Dashboard { public partial class Interface : IMonitorStatus { public string Id { get; internal set; } public string NodeId { get; internal set; } public int? Index { get; internal se...
37.804598
115
0.548799
[ "MIT" ]
michaelholzheimer/Opserver
Opserver.Core/Data/Dashboard/Interface.cs
3,291
C#
using System.Collections; using System.Collections.Generic; using UnityEngine.Rendering; using UnityEngine.Rendering.Universal; public class ScreenFadePass : ScriptableRenderPass { private ScreenFadeSettings settings = null; public ScreenFadePass(ScreenFadeSettings newSettings) { settings = newSet...
32.535714
98
0.746432
[ "MIT" ]
eorfeorf/GameTemplate
Assets/GameFramework/Fader/ScreenFadePass.cs
911
C#
using System; using BackgroundScheduler.Options; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; using Quartz; namespace BackgroundScheduler.Internal { internal class BackgroundS...
35.1
144
0.683191
[ "MIT" ]
fabiobaser/Ultimate-Trivia
Server/BackgroundScheduler/Internal/BackgroundSchedulerBuilder.cs
1,755
C#
using System; namespace Open_Lab_05._02 { public class StringTools { public string NoYelling(string sentence) { var list = new List<char>(); char[] characters = sentence.ToCharArray(); char to_Add = '\0'; bool can_Add = false; for...
24.382979
63
0.352531
[ "MIT" ]
AdamHaluska/Open-Lab-05.02
Open-Lab-05.02/StringTools.cs
1,148
C#
using Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace transform_metadata { public class TransformedMetadata { public GeoLocation Geo { get; set; } public string ExifMake { get; set; } public string ...
19.464286
50
0.649541
[ "MIT" ]
sagulati/dotnet-lambda-refarch-imagerecognition
lambda-functions/transform-metadata/TransformedMetadata.cs
547
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Goog...
31.580645
113
0.702758
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/Compute/V1/Outputs/ShieldedInstanceIntegrityPolicyResponse.cs
979
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class LevelEndGate : MonoBehaviour { private bool hasLoadedNextScene = false; private SceneLoader sceneLoader; private void Start() { sceneLoader = FindObjectOfType<SceneLoader>(); } v...
20.6
54
0.667961
[ "MIT" ]
Silices/cautious-potatos
Assets/Scripts/LevelEndGate.cs
517
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; usin...
45.431579
549
0.611214
[ "Apache-2.0" ]
BrendanBeachBC/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/ISpecialeventprocesssession.cs
4,316
C#
using BuscaDOU.Model; using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Reflection; using System.Text; using System.Text.RegularEx...
31.605769
138
0.59279
[ "MIT" ]
dcorazolla/BuscaDOU
BuscaDOU/Form1.cs
6,576
C#
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// alipay.ins.marketing.product.recommend /// </summary> public class AlipayInsMarketingProductRecommendRequest : IAlipayRequest<AlipayInsMarketi...
22.870968
119
0.551128
[ "MIT" ]
Msy1989/payment
src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayInsMarketingProductRecommendRequest.cs
2,850
C#
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System.Runtime.ConstrainedExecution; using System.Runtime.InteropServices; using System.Security; using EnterpriseLibrary.Common.Configuration.Design; using EnterpriseLibrary.PolicyInjection...
37.826087
122
0.785057
[ "Apache-2.0" ]
EnterpriseLibrary/policy-injection-application-block
source/Src/PolicyInjection/Properties/AssemblyInfo.cs
872
C#
using Microsoft.AspNetCore.Mvc; using sample01.Models; using System; using System.Threading.Tasks; namespace sample01.Controllers.v2 { [Produces("application/json")]//Controller默认输出json格式 //[Route("api/v1/TestApi")] //[Route("api/v{version:ApiVersion}/[controller]")] [Route("api/v2/testapi")] publ...
28
88
0.470497
[ "Apache-2.0" ]
hanbing81868164/.net-core-sample
sample01/Controllers/v2/TestApiController.cs
1,372
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace aspnet45_mvc_webapi.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate...
42.765351
261
0.553356
[ "MIT" ]
AndyMDoyle/bugsnag-dotnet
examples/aspnet45-mvc-webapi/Areas/HelpPage/SampleGeneration/ObjectGenerator.cs
19,501
C#
using ArucoUnity.Cameras.Parameters; using ArucoUnity.Plugin; using System; using UnityEngine; namespace ArucoUnity.Cameras.Undistortions { /// <summary> /// Manages the undistortion and rectification process for pinhole <see cref="StereoArucoCamera"/>. /// </summary> public class StereoPinholeCameraUndistort...
41.164179
147
0.760696
[ "BSD-3-Clause" ]
Ahmed-jerbi/Aruco-Camera-Calibration
Assets/ArucoUnity/Scripts/Cameras/Undistortions/Pinhole/StereoPinholeCameraUndistortion.cs
2,760
C#
/* Copyright 2012 Michael Edwards 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 ag...
33.712305
101
0.493574
[ "Apache-2.0" ]
RvanDalen/Glass.Mapper
Tests/Unit Tests/Glass.Mapper.Sc.FakeDb/DataMappers/SitecoreFieldTypeMapperFixture.cs
19,452
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 ...
46.480769
131
0.783202
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-iot/Iot/Transform/V20180120/GenerateFileUploadURLResponseUnmarshaller.cs
2,417
C#
// Copyright 2015-2018 The NATS Authors // 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...
27.166667
94
0.542783
[ "Apache-2.0" ]
SkinnySackboy/nats.net
src/Tests/UnitTests/TestNUID.cs
3,099
C#
using System; namespace ProjetoTccHBSIS.Areas.HelpPage { /// <summary> /// This represents an image sample on the help page. There's a display template named ImageSample associated with this class. /// </summary> public class ImageSample { /// <summary> /// Initializes a new instanc...
25.804878
130
0.528355
[ "MIT" ]
AndersonAluiz12/GitC
ProjetoTccHBSIS/ProjetoTccHBSIS/Areas/HelpPage/SampleGeneration/ImageSample.cs
1,058
C#
// Copyright (c) Philipp Wagner. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Owin; using Microsoft.Owin.Security.OAuth; using Nancy.TinyIoc; using Owin; using System; using TokenAuthentication.Infrastructure.Authentication;...
39.052632
110
0.647237
[ "MIT" ]
bytefish/NancyOwinExample
TokenAuthentication/TokenAuthentication/Startup.cs
2,970
C#
/* * Copyright 2020 James Courtney * * 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...
33.93617
108
0.647649
[ "Apache-2.0" ]
atifaziz/FlatSharp
src/FlatSharp.Runtime/SerializerSettings.cs
1,597
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.Security; namespace System.Drawing.Printing { /// <summary> /// Represents the exception that ...
32.217391
111
0.603239
[ "MIT" ]
939481896/dotnet-corefx
src/System.Drawing.Common/src/System/Drawing/Printing/InvalidPrinterException.cs
1,482
C#
using System.Linq; using PocketGauger.Dtos; using PocketGauger.Interfaces; namespace PocketGauger { public class GaugingSummaryAssembler { private readonly IGaugingSummaryParser _gaugingSummaryParser; private readonly IMeterDetailsParser _meterDetailsParser; private readonly IPanelPars...
36.153846
148
0.693085
[ "Apache-2.0" ]
AquaticInformatics/pocket-gauger-field-data-plugin
src/PocketGauger/GaugingSummaryAssembler.cs
1,882
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, //...
37.490196
105
0.670676
[ "MIT" ]
redarrowlabs/pubnub-c-sharp
monotouch/Newtonsoft.Json/Serialization/JsonContract.cs
5,736
C#
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------- namespace System.ServiceModel.Discovery.Version11 { using System.ServiceModel; [ServiceContract( Name = Pr...
44.40625
115
0.678395
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/cdf/src/NetFx40/System.ServiceModel.Discovery/System/ServiceModel/Discovery/Version11/IDiscoveryContractAdhoc11.cs
1,421
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using Microsoft.Azure.WebJobs.Hosting; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Microsoft.Azure....
33.456522
179
0.576998
[ "MIT" ]
Anduin2017/azure-webjobs-sdk
src/Microsoft.Azure.WebJobs.Host/Loggers/Logger/Aggregator/FunctionResultAggregatorOptions.cs
3,080
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...
29.913793
104
0.666859
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Proton/Generated/Model/CancelServicePipelineDeploymentResponse.cs
1,735
C#
namespace RecepiesProject.Web.ViewModels { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(this.RequestId); } }
21.3
75
0.676056
[ "Apache-2.0" ]
AKermanov/recipes-project
src/Web/RecepiesProject.Web.ViewModels/ErrorViewModel.cs
215
C#
using System; using System.Collections.Generic; using System.Text; namespace Hobgoblin.Glfw.Enums { class ContextReleaseBehaviour { } }
12.583333
33
0.728477
[ "MIT" ]
SamuelKinnett/Hobgoblin
Hobgoblin/Glfw/Enums/ContextReleaseBehaviour.cs
153
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...
48.052632
195
0.757393
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementOrStatementStatementAndStatementStatementXssMatchStatementGetArgs.cs
1,826
C#
using System; namespace BitcoinNet.BouncyCastle.Asn1 { /** * A Null object. */ internal class DerNull : Asn1Null { public static readonly DerNull Instance = new DerNull(0); byte[] zeroBytes = new byte[0]; protected internal DerNull(int dummy) { } internal override void Encode( DerOutputStr...
15.324324
59
0.684303
[ "MIT" ]
Lokad/BitcoinNet
BitcoinNet/BouncyCastle/asn1/DerNull.cs
567
C#
using System; using System.Collections.Generic; using Rollvolet.CRM.Domain.Models.Interfaces; namespace Rollvolet.CRM.Domain.Models { public class Order : ICaseRelated { public int Id { get; set; } public Offer Offer { get; set; } public Invoice Invoice { get; set; } public Cust...
42.162791
72
0.628792
[ "MIT" ]
rollvolet/crm-ap
src/Rollvolet.CRM.Domain/Models/Order.cs
1,813
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
43.888031
234
0.561714
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/automanage/Microsoft.Azure.Management.Automanage/src/Generated/AccountsOperationsExtensions.cs
11,367
C#
using System; using System.Globalization; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Windows.Input; using Xamarin.Forms; namespace RetroGamesGo.Core.Behaviors { public class EventToCommandBehavior : BindableBehavior<View> { public static BindableProperty Ev...
35.723881
145
0.613328
[ "MIT" ]
XamarinUY/retro-games-go
RetroGamesGo.Core/Behaviors/EventToCommandBehavior.cs
4,789
C#
// // Copyright (c) 2018 Yasuhiro Hayashi // using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using ClassDiagramGenerator.Models.Diagram; using ClassDiagramGenerator.Models.Structure; using ClassDiagramGeneratorTest.Support; using static ClassDiagram...
37.295154
183
0.646941
[ "MIT" ]
1-14j4z1-11/ClassDiagramGenerator
ClassDiagramGeneratorTest/Models/Diagram/RelationFactoryTest.cs
8,468
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using System.Web.Helpers; using System.Web.WebPages; using Microsoft.IdentityModel.Clients.ActiveDirectory; using Microsoft.Owin.Security.DataProt...
45.018868
201
0.626991
[ "BSD-3-Clause" ]
AndreaPiovanelliLaser/Orchard
src/Orchard.Web/Modules/Orchard.OpenId/OwinMiddlewares/AzureActiveDirectory.cs
7,160
C#
namespace Riganti.Utils.Infrastructure.Services.Tests.Facades { public class EmployeeProjectFilterDTO { } }
19.833333
61
0.756303
[ "Apache-2.0" ]
Leeemons/infrastructure
src/Infrastructure/Tests/Riganti.Utils.Infrastructure.Services.Tests/Facades/EmployeeProjectFilterDTO.cs
119
C#
namespace java.security { [global::MonoJavaBridge.JavaClass(typeof(global::java.security.Identity_))] public abstract partial class Identity : java.lang.Object, Principal, java.io.Serializable { internal new static global::MonoJavaBridge.JniGlobalHandle staticClass; protected Identity(global::MonoJavaBridge.JNIE...
65.023438
293
0.78253
[ "MIT" ]
JeroMiya/androidmono
MonoJavaBridge/android/generated/java/security/Identity.cs
8,323
C#
// <auto-generated /> using System; using Company.WebApplication1.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Company.WebApplication1.Data.Migrations...
33.271812
96
0.458296
[ "Apache-2.0" ]
Chief2/AspNetCore
src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/Data/SQLite/00000000000000_CreateIdentitySchema.Designer.cs
9,915
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Runtime.Serialization; using Umbraco.Extensions; namespace Umbraco.Cms.Core.Models { /// <summary> /// Represents ...
32.592593
128
0.553267
[ "MIT" ]
Lantzify/Umbraco-CMS
src/Umbraco.Core/Models/PropertyCollection.cs
7,042
C#
namespace Enyim.Caching.Memcached.Results { public interface IRemoveOperationResult : IOperationResult { } } #region [ License information ] /* ************************************************************ * * © 2010 Attila Kiskó (aka Enyim), © 2016 CNBlogs, © 2021 VIEApps.net * * Li...
39.96
79
0.587588
[ "Apache-2.0" ]
SethReber/Enyim.Caching
Memcached/Results/IRemoveOperationResult.cs
1,005
C#
/* * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
40.493151
115
0.76793
[ "MIT" ]
Paulonso/ComputeLibrary
src/core/GLES_COMPUTE/cs_shaders/concatenate.cs
2,956
C#
using System; using NUnit.Framework; namespace Emmersion.InfluxDB.UnitTests { public class DateTimeExtensionsTests { [Test] public void UnixTimeNanoseconds() { var now = DateTimeOffset.UtcNow; var unixMilli = now.ToUnixTimeMilliseconds(); var unixNan...
25.764706
67
0.623288
[ "MIT" ]
chrisstonedev/Emmersion.InfluxDB
Emmersion.InfluxDB.UnitTests/DateTimeExtensionsTests.cs
440
C#
//----------------------------------------------------------------------- // <copyright file="NewRemoteActorSpec.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> // </copyrigh...
37.388571
162
0.577411
[ "Apache-2.0" ]
BearerPipelineTest/akka.net
src/core/Akka.Remote.Tests.MultiNode/NewRemoteActorSpec.cs
6,545
C#
using System; namespace TypedIds.Converters { internal class IntNewtonsoftConverterGenerator : BaseNewtonsoftConverterGenerator, IConverterGenerator { protected override string CreateSource(string typeName) { return $@" using System; using Newtonsoft.Json; class {typeN...
27.529412
124
0.578348
[ "MIT" ]
alistairjevans/TypedIds
src/TypedIds/Json/IntNewtonsoftConverterGenerator.cs
1,406
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) using System; using Org.BouncyCastle.Security; namespace Org.BouncyCastle.Crypto.Parameters { public class ParametersWithRandom : ICipherParameters { private readonly ICipherParameters parameters; private readonly S...
21.415094
70
0.63348
[ "MIT" ]
czlsy009/UnityAppMVCFramework
Framework/Assets/SilenceFramework/Libs/Best HTTP (Pro)/BestHTTP/SecureProtocol/crypto/parameters/ParametersWithRandom.cs
1,135
C#
// // Copyright (c) 2010-2018 Antmicro // // This file is licensed under the MIT License. // Full license text is available in 'licenses/MIT.txt'. // namespace Antmicro.Renode.Utilities.GDB.Commands { internal class ReportHaltReasonCommand : Command { public ReportHaltReasonCommand(CommandsManager manag...
21.434783
79
0.624746
[ "MIT" ]
UPBIoT/renode-iot
src/Infrastructure/src/Emulator/Extensions/Utilities/GDB/Commands/ReportHaltReasonCommand.cs
493
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; using MonoGame.Extended.Input.InputListeners; namespace MonoGame.Extended.Gui.Controls { public abstract class SelectorControl : Control { pro...
35.786127
151
0.587466
[ "MIT" ]
Acidburn0zzz/MonoGame.Extended
Source/MonoGame.Extended.Gui/Controls/SelectorControl.cs
6,193
C#
// Copyright 2019 Google LLC. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
34.042553
78
0.6225
[ "Apache-2.0" ]
chrisdunelm/google-ads-dotnet
src/V2/Stubs/MutateCampaignsResponsePartialFailureSupport.cs
1,600
C#
using lib.CoreAnnex.log; using NUnit.Framework; using System; using System.Globalization; namespace lib.Nntp { [TestFixture] public class MessageDateUnitTest { private static Log log = Log.getLog(typeof(MessageDateUnitTest)); public MessageDateUnitTest() { } [Test] public void TestDateFormat1() { ...
23.192771
127
0.697143
[ "MIT" ]
rlong/dotnet.lib.Nntp
lib.Nntp/MessageDateUnitTest.cs
1,927
C#
using System; using System.Collections.Generic; using System.Text; namespace DocumentCreation.Tests.TestData { public class BaseStrings { public static string ReturnImageString() { return "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJgg...
7,422.228571
243,598
0.963773
[ "MIT" ]
JoshHiles/DocumentCreation.Api
DocumentCreation.Tests/TestData/BaseStrings.cs
259,780
C#
using System; using System.Threading.Tasks; namespace PuppyApi.Domain.Contracts.Handlers { public interface IExceptionHandler { Task<TResult> GetAsync<TResult>(Func<Task<TResult>> unsafeFask); Task RunAsync(Func<Task> unsafeFunction); } }
20.769231
72
0.714815
[ "MIT" ]
digitaldias/PuppyTracker
src/DomainLayer/PuppyApi.Domain/Contracts/Handlers/IExceptionHandler.cs
272
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("Gu...
37.810811
84
0.745533
[ "Apache-2.0" ]
rfogaca/ProjetoGuru
ProjetoGuru2.0/GuruDataModel/Properties/AssemblyInfo.cs
1,402
C#
using System.Threading.Tasks; using Abp.Web.Security.AntiForgery; using Microsoft.AspNetCore.Antiforgery; using AppBoilerplate.Controllers; using Microsoft.AspNetCore.Mvc; namespace AppBoilerplate.Web.Host.Controllers { public class AntiForgeryController : AppBoilerplateControllerBase { private readonl...
28.096774
105
0.706085
[ "MIT" ]
marcoslevy/AppBoilerplate
aspnet-core/src/AppBoilerplate.Web.Host/Controllers/AntiForgeryController.cs
871
C#
// Copyright (c) All contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace PInvoke { using System.Runtime.InteropServices; /// <summary> /// Represents the image section header format. /// </summary> [Str...
50.521739
398
0.671256
[ "MIT" ]
AArnott/PInvoke.exp
src/Windows.Core/IMAGE_SECTION_HEADER.cs
3,488
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; namespace AGS.Types { public enum GraphicsDriver { [Description("DirectDraw 5 (default)")] DX5, [Description("Direct3D 9 hardware acceleration")] D3D9 } }
16.4375
51
0.749049
[ "Artistic-2.0" ]
Mailaender/KrusAGS
Editor/AGS.Types/Enums/GraphicsDriver.cs
263
C#
using System.Collections.Generic; namespace OsuLightBeatmapParser.Sections { public class DifficultySection { public List<string> Unparsed { get; set; } public float HPDrainRate { get; set; } public float CircleSize { get; set; } public float OverallDifficulty { get; set; } ...
29.8125
52
0.647799
[ "MIT" ]
ssz7-ch2/OsuLightBeatmapParser
OsuLightBeatmapParser/Sections/DifficultySection.cs
479
C#
#region Header // -------------------------------------------------------------------------- // Tethys.Logging // ========================================================================== // // A (portable) logging library for .NET Framework 4.5, Silverlight 4 and // higher, Windows Phone 7 and higher and .NET for W...
31.586957
78
0.504474
[ "Apache-2.0" ]
tngraf/Tethys.Logging
TestApps/TestApp.NLog310/Program.cs
1,455
C#
using System.Globalization; using Xunit; namespace ByteSizeLib.Tests.Binary { public class ToBinaryStringMethod { [Fact] public void ReturnsDefaultRepresentation() { // Arrange var b = ByteSize.FromKiloBytes(10); // Act var result = b.To...
23.513514
83
0.563218
[ "MIT" ]
mburumaxwell/ByteSize
src/ByteSizeLib.Tests/Binary/ToBinaryStringMethod.cs
870
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. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
72.228916
675
0.707006
[ "MIT" ]
Agazoth/azure-powershell
src/MySql/generated/api/Models/Api20210501/CapabilityProperties.PowerShell.cs
11,825
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.Concurrent; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Reflection; usi...
42.765306
152
0.636364
[ "Apache-2.0" ]
CodeChamps/aspnetcore
src/Components/Components/src/ComponentFactory.cs
4,191
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...
28.545455
103
0.61374
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Batch/Generated/Model/ContainerSummary.cs
2,198
C#
using System; using NetOffice; namespace NetOffice.MSFormsApi.Enums { /// <summary> /// SupportByVersion MSForms 2 /// </summary> [SupportByVersionAttribute("MSForms", 2)] [EntityTypeAttribute(EntityType.IsEnum)] public enum fmEnAutoSize { /// <summary> /// SupportByVersion MSForms 2 ///...
24.425
45
0.626407
[ "MIT" ]
NetOffice/NetOffice
Source/MSForms/Enums/fmEnAutoSize.cs
977
C#
using System.Xml.Serialization; namespace GzsTool.Fpk { public enum FpkType : byte { [XmlEnum("Fpk")] Fpk = 0x00, [XmlEnum("Fpkd")] Fpkd = 0x64 } }
16.181818
37
0.578652
[ "MIT" ]
Last-Bullet-Development/GzsTool
GzsTool/Fpk/FpkType.cs
180
C#
#nullable enable using System.Threading.Tasks; using Content.Shared.Construction; using JetBrains.Annotations; using Robust.Shared.GameObjects.Components; using Robust.Shared.Interfaces.GameObjects; using Robust.Shared.Serialization; namespace Content.Server.Construction.Completions { [UsedImplicitly] public ...
27
80
0.684547
[ "MIT" ]
BananaFlambe/space-station-14
Content.Server/Construction/Completions/SetAnchor.cs
785
C#
// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. using UnityEngine; namespace HutongGames.PlayMaker.Actions { [ActionCategory(ActionCategory.GameObject)] [Tooltip("Gets the Game Object that owns the FSM and stores it in a game object variable.")] public class GetOwner : FsmStateAction { [Requir...
20.777778
93
0.72549
[ "MIT" ]
517752548/UnityFramework
GameFrameWork/ThirdParty/PlayMaker/Actions/GameObject/GetOwner.cs
561
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using CherrySeed.Repositories; namespace CherrySeed.Test.Base.Repositories { public class EntityInfo { public DateTime SeedingDateTime { get; set; } public DateTime ClearingDateTime { get; set; } ...
26.72973
79
0.546006
[ "MIT" ]
hur1can3/CherrySeed
tests/CherrySeed.Test/CherrySeed.Test.Base/Repositories/AssertRepository.cs
2,969
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> //--...
43.765625
185
0.615494
[ "MIT" ]
vsugrob/SoftwareRendering
TextureFilteringDev/Properties/Resources.Designer.cs
2,803
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Moq; using NUnit.Framework; using Xamarin.PropertyEditing.ViewModels; namespace Xamarin.PropertyEditing.Tests { internal abstract class PredefinedValuesViewModelTests<T> : PropertyViewModelTest...
26.47012
125
0.695063
[ "MIT" ]
Acidburn0zzz/Xamarin.PropertyEditing
Xamarin.PropertyEditing.Tests/PredefinedValuesViewModelTests.cs
6,646
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...
40.649123
164
0.559776
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Redshift/Generated/Model/Internal/MarshallTransformations/DescribeLoggingStatusResponseUnmarshaller.cs
6,951
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; using System....
45.979775
193
0.604809
[ "MIT" ]
06needhamt/roslyn
src/VisualStudio/Core/Def/Implementation/Diagnostics/VisualStudioDiagnosticAnalyzerService.cs
20,463
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using WeersProductions; public class MCChatBox : MCMenu { [SerializeField] private Text _chatHistory; [SerializeField] private InputField _inputField; public override void Show(...
21.622642
109
0.538394
[ "MIT" ]
WeersProductions/MenuManager
Demo/ChatTest/Scripts/MCChatBox.cs
1,148
C#
/* * Copyright (c) 2019 Håkan Edling * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * https://github.com/piranhacms/piranha.core * */ using System; namespace Piranha.Manager.Models { /// <summary> /// Config model. /// <...
24.777778
64
0.633782
[ "MIT" ]
Bia10/piranha.core
core/Piranha.Manager.Core/Models/ConfigModel.cs
670
C#
 namespace IO.Lib { /// <summary> /// 継承設定の変更についての動作 /// </summary> enum InheritedAction { None = 0, Enable = 1, Disable = 2, Remove = 3, } }
14.2
25
0.413146
[ "MIT" ]
tgiqfe/WinBM
plugin/IO/Lib/InheritedAction.cs
243
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensio...
33.527473
131
0.606359
[ "MIT" ]
Unicron2k/dte_bsc
DTE2802/uDev/uDev/Areas/Identity/Pages/Account/LoginWithRecoveryCode.cshtml.cs
3,051
C#
using System.Collections.Generic; using System.Linq; namespace Oqtane.Extensions { public static class StringExtensions { public static bool StartWithAnyOf(this string s, IEnumerable<string> list) { if (s == null) { return false; } ...
21.055556
82
0.548813
[ "MIT" ]
BlazorHub/oqtane.framework
Oqtane.Server/Extensions/StringExtensions.cs
381
C#
// // ServiceHostTest.cs // // Author: // Ankit Jain <jankit@novell.com> // Atsushi Enomoto <atsushi@ximian.com> // // Copyright (C) 2005-2006 Novell, Inc. http://www.novell.com // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (...
32.234483
181
0.70204
[ "Apache-2.0" ]
bygreencn/mono
mcs/class/System.ServiceModel/Test/System.ServiceModel/ServiceHostTest.cs
14,022
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 Newtonsoft.Json; using S...
45.964871
558
0.556682
[ "Apache-2.0" ]
BrendanBeachBC/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/Specialeventappointments.cs
19,627
C#
namespace Hubris { /// <summary> /// Enumerator for different fields-of-view, in degrees /// </summary> public enum FOVDegrees { _0 = 0, _60, _90, _120, _180, NUM_FOVS } }
11.9375
56
0.612565
[ "MIT" ]
BenjaBobs/Hubris
Core/TypeDef/FOVDegrees.cs
193
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 ...
23.993151
134
0.640594
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-smc/Smc/Model/V20190601/UntagResourcesRequest.cs
3,503
C#
using System; using System.IO; using System.Text; using Serilog.Debugging; using Serilog.Sinks.Loggly.Durable; namespace Serilog.Sinks.Loggly { class FileBasedBookmarkProvider : IBookmarkProvider { readonly IFileSystemAdapter _fileSystemAdapter; readonly Encoding _encoding; readonly s...
36.977528
124
0.566089
[ "Apache-2.0" ]
daghb/serilog-sinks-loggly
src/Serilog.Sinks.Loggly/Sinks/Loggly/FileBasedBookmarkProvider.cs
3,293
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using System; namespace Anima2D { [Serializable] public class BlendShape : ScriptableObject { public BlendShapeFrame[] frames = new BlendShapeFrame[0]; public static BlendShape Create(string name) { BlendShape b...
21.095238
74
0.724605
[ "MIT" ]
CJ0fail/RapidObeyer
Assets/External/Anima2D/Scripts/Editor/BlendShape.cs
443
C#
using Plugin.FacebookClient; using Plugin.GoogleClient; using smiqs.Models; using Xamarin.Forms; using Xamarin.Forms.Internals; using Xamarin.Forms.Xaml; namespace smiqs.Views.Navigation { [Preserve(AllMembers = true)] [XamlCompilation(XamlCompilationOptions.Compile)] public partial class BottomNavigation...
27.348837
68
0.542517
[ "MIT" ]
yehiaraslan85/SmiqsMobileApp
smiqs/smiqs/Views/Navigation/BottomNavigationPage.xaml.cs
1,178
C#
using Azure; using Azure.Core; using Azure.DigitalTwins.Core; using Azure.DigitalTwins.Core.Serialization; using Azure.Identity; using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Text.Json; using System.Threading.Tasks; namespace DigitalTwinDemo.Twin { public class D...
41.63245
128
0.579178
[ "MIT" ]
GlennColpaert/azure-digitaltwins-demo
src/DigitalTwinDemo.Twin/DigitalTwin.cs
12,575
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...
38.545455
131
0.673644
[ "MIT" ]
NtreevSoft/Crema
tests/common/Ntreev.CremaServer.Tests/CremaServerTestFixture.cs
3,394
C#