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="InstantPreviewManager.cs" company="Google"> // // Copyright 2017 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the...
39.007055
138
0.55021
[ "MIT" ]
jukkae/ar-game
Assets/GoogleARCore/SDK/InstantPreview/Scripts/InstantPreviewManager.cs
22,117
C#
using System.Collections.Generic; using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipayEcoRenthouseCommunityBaseinfoSyncModel Data Structure. /// </summary> public class AlipayEcoRenthouseCommunityBaseinfoSyncModel : AlipayObject { ...
26.094203
76
0.512635
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayEcoRenthouseCommunityBaseinfoSyncModel.cs
3,879
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Sql.Models { public partial class Operation { internal st...
37.043478
124
0.504304
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/Operation.Serialization.cs
2,556
C#
using System; using System.Text; using NSec.Cryptography; using NSec.Cryptography.Formatting; using Xunit; namespace NSec.Tests.Formatting { public static class Ed25519Tests { private static readonly byte[] s_oid = new Asn1Oid(1, 3, 101, 112).Bytes.ToArray(); [Fact] public static void ...
35.510204
113
0.540517
[ "MIT" ]
Shereef/nsec
tests/Formatting/Ed25519Tests.cs
3,480
C#
using System; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using UnityEngine; // Token: 0x02000010 RID: 16 public class TCPUDPSocket : MonoBehaviour { // Token: 0x14000004 RID: 4 // (add) Token: 0x0600006A RID: 106 RVA: 0x00004174 File Offset: 0x00002374 // (remove) Token:...
23.020619
85
0.710031
[ "MIT" ]
mmuu1987/Slideway
Assets/Scripts/TCPUDPSocket.cs
4,480
C#
// Copyright (C) 2015 Google, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
34.529851
94
0.599525
[ "MIT" ]
Agisight/KalmWords-Crosswords
Assets/GoogleMobileAds/Api/AdLoader.cs
4,629
C#
// Copyright 2008-2009 Louis DeJardin - http://whereslou.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 ...
37.22449
108
0.625548
[ "Apache-2.0" ]
jayharris/spark
src/Spark/Compiler/NodeVisitors/AbstractNodeVisitor.cs
3,648
C#
using System; using System.Threading.Tasks; namespace Onbox.Core.VDev.ReactFactory { /// <summary> /// Onbox Debouncer runs an action after a particular time span has passed without another action is fired /// </summary> public class Debouncer { private string taskId; /// <summary...
24.59375
110
0.505718
[ "MIT" ]
Coolicky/Onboxframework
src/Core.Standard/ReactFactory/Debouncer.cs
789
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("8.2...
38.540541
84
0.749649
[ "MIT" ]
WorldArtGames/AlgebraCSharp2019-1
ConsoleApp1/8.2.2.2_OUT_primjer_prirucnik/Properties/AssemblyInfo.cs
1,429
C#
using System; using System.Collections.Generic; using System.Linq; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Textures; using osu.Framework.Input.Bindings; using osu.Framework.Platform; using osu.Game.Beatmaps; using osu.Ga...
38.754098
152
0.577411
[ "MIT" ]
Flutterish/sentakki
osu.Game.Rulesets.Sentakki/SentakkiRuleset.cs
6,912
C#
using System.Collections.Generic; using System.Threading.Tasks; namespace FoxTunes.Interfaces { public interface IOnDemandMetaDataSource { bool Enabled { get; } string Name { get; } MetaDataItemType Type { get; } bool CanGetValue(IFileData fileData, OnDemandMeta...
26.71875
115
0.6
[ "MIT" ]
Raimusoft/FoxTunes
FoxTunes.Core/Interfaces/MetaData/IOnDemandMetaDataSource.cs
1,712
C#
namespace MassTransit.Tests.Middleware { using System; using System.Threading.Tasks; using MassTransit.Internals; using MassTransit.Middleware; using NUnit.Framework; using Util; [TestFixture] public class Bind_Specs { [Test] public async Task Should_include_the_bo...
25.590361
122
0.51742
[ "ECL-2.0", "Apache-2.0" ]
AlexanderMeier/MassTransit
tests/MassTransit.Tests/Middleware/Bind_Specs.cs
2,126
C#
/* * Copyright 2016 Mikhail Shiryaev * * 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 a...
34.055556
93
0.66721
[ "Apache-2.0" ]
Arvid-new/scada
ScadaData/ScadaData.Svc/BaseSvcInstaller.cs
2,565
C#
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("JsonStore.Sql.Tests", AllInternalsVisible = true)]
40.666667
81
0.819672
[ "MIT" ]
arleypadua/JsonStore
src/JsonStore.Sql/Assembly.cs
124
C#
 using System.Linq; using HtmlAgilityPack; namespace ReverseMarkdown.Converters { public class Strong : ConverterBase { public Strong(Converter converter) : base(converter) { this.Converter.Register("strong", this); this.Converter.Register("b", this); this.Converter.Register("u", this); } ...
20.210526
106
0.648438
[ "MIT" ]
chrisquirk/reversemarkdown-net
src/ReverseMarkdown/Converters/Strong.cs
770
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...
37.980769
159
0.606414
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/CloudDirectory/Generated/Model/Internal/MarshallTransformations/ListOutgoingTypedLinksRequestMarshaller.cs
5,925
C#
namespace MassTransit.WindsorIntegration.ScopeProviders { using System; using System.Threading.Tasks; using Castle.MicroKernel; using Courier; using Courier.Contexts; using GreenPipes; using Scoping; using Scoping.CourierContexts; public class WindsorExecuteActivityScopeProvider<TA...
34.676056
138
0.644192
[ "ECL-2.0", "Apache-2.0" ]
BartekSTRX/MassTransit
src/Containers/MassTransit.WindsorIntegration/ScopeProviders/WindsorExecuteActivityScopeProvider.cs
2,462
C#
using System; namespace IniWrapper.Attribute { [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct | AttributeTargets.Interface)] public class IniConverterAttribute : System.Attribute { public Type IniHandler...
31.652174
176
0.690934
[ "MIT" ]
Szpi/IniWrapper
IniWrapper/IniWrapper/Attribute/IniConverterAttribute.cs
730
C#
/** * Copyright 2013-2013 Mohawk College of Applied Arts and Technology * * 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 *...
28.803571
82
0.623063
[ "Apache-2.0" ]
MohawkMEDIC/client-registry
MARC.HI.EHRS.CR.Configurator/ConsoleParameters.cs
1,615
C#
using AlphaTest.Core.Common; namespace AlphaTest.Core.Tests.Publishing.Rules { public class OnlyPendingProposalCanBeAprovedOrDeclinedRule : IBusinessRule { private readonly PublishingProposal _proposal; public OnlyPendingProposalCanBeAprovedOrDeclinedRule(PublishingProposal proposal) ...
29.842105
114
0.724868
[ "MIT" ]
Damakshn/AlphaTest
src/AlphaTest.Core/Tests/Publishing/Rules/OnlyPendingProposalCanBeAprovedOrDeclinedRule.cs
636
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.XR.Interaction.Toolkit; public class Swordbehaviour : XRGrabInteractable { public Transform objectToVibrate; private Vector3 initialPosition; public float amplitude; // the amount it moves public float ...
25.916667
271
0.694534
[ "MIT" ]
jpcurti/Can-I-make-a-game
Can-I-make-a-VR-Game/Assets/Swordbehaviour.cs
1,557
C#
using System; using System.Text.Json; using System.Text.Json.Serialization; namespace Json.Schema { /// <summary> /// Handles `exclusiveMinimum`. /// </summary> [SchemaKeyword(Name)] [SchemaDraft(Draft.Draft6)] [SchemaDraft(Draft.Draft7)] [SchemaDraft(Draft.Draft201909)] [SchemaDraft(Draft.Draft202012)] [Voc...
33.377551
136
0.731275
[ "MIT" ]
dazerdude/json-everything
JsonSchema/ExclusiveMinimumKeyword.cs
3,273
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Numerics; using PersistentPlanet.Graphics; namespace PersistentPlanet.DualContouring { public class Octree { public static int MATERIAL_AIR = 0; public static int MATERIAL_SOLID = 1; ...
34.116622
123
0.423598
[ "MIT" ]
James226/persistent-planet
PersistentPlanet/DualContouring/Octree.cs
25,453
C#
namespace zgcwkj.Util.Models { /// <summary> /// 方法结果 /// </summary> public class MethodResult { /// <summary> /// 错误代码 /// </summary> public int? ErrorCode { get; set; } = null; /// <summary> /// 错误消息 /// </summary> public string Err...
20.857143
56
0.431507
[ "MIT" ]
zgcwkj/zgcwkj.DotnetCore
zgcwkj.Util/Models/MethodResult.cs
622
C#
using SQLite; namespace KOF.Models { [Table("loot")] public class Loot { [PrimaryKey, AutoIncrement] [Column("id")] public int Id { get; set; } [Column("user")] public string User { get; set; } [Column("itemid")] public int ItemId { get; set; } ...
19
44
0.517895
[ "MIT" ]
trkyshorty/KOF
KOF/Models/Loot.cs
477
C#
using System; namespace AuthorProblem { [Author("Ventsi")] public class StartUp { [Author("Gosho")] static void Main(string[] args) { var tracker = new Tracker(); tracker.PrintMethodsByAuthor(); } } }
16.235294
43
0.525362
[ "MIT" ]
yovko93/CSharp-Repo
CSharp_OOP/ReflectionAndAttributes/AuthorProblem/StartUp.cs
278
C#
namespace CarDealer.Web.Controllers { using CarDealer.Services; using CarDealer.Services.Models.Parts; using CarDealer.Web.Models.Parts; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.Linq; publ...
25.165289
85
0.492282
[ "MIT" ]
emilianpetrov/c-sharp-repository
c-sharp-web/ASP.NET/CarDealer/CarDealer.Web/Controllers/PartsController.cs
3,047
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Money : MonoBehaviour { public int value; private int distance; // Start is called before the first frame update void Start() { distance = 50; } // Update is called once per frame void ...
26.891304
80
0.557801
[ "MIT" ]
BizarreTeam/BizarreBidAR
AR/Assets/Resources/Scripts/Money.cs
1,239
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace HamburgersAPI.Entities.Models { public partial class HamburgersContext : DbContext { public HamburgersContext() { } public HamburgersContext(DbContextOptions<HamburgersCo...
35.535714
288
0.578559
[ "MIT" ]
Torebor/APIS-Xamarin-Forms-Basico
HamburgersAPI/HamburgersAPI/Data/HamburgersContext.cs
2,987
C#
using System.Drawing; using System.Drawing.Drawing2D; namespace GridOverlay { public abstract class RoundedRectangle { public enum RectangleCorners { None = 0, TopLeft = 1, TopRight = 2, BottomLeft = 4, BottomRight = 8, All = TopLeft | TopRight | BottomLeft | BottomRight } public static GraphicsPath ...
23.801887
84
0.622671
[ "MIT" ]
mtsk/datagrid-overlay
src/GridOverlay/RoundedRectangle.cs
2,525
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generi...
37.938326
164
0.594171
[ "MIT" ]
georghinkel/ttc2017smartGrids
generator/Schema/IEC61970/Informative/InfAssets/TowerInfo.cs
8,614
C#
namespace IoTSharp.ClientApp.Models { public class ActivityUser { public string Name { get; set; } public string Avatar { get; set; } } }
20.625
42
0.612121
[ "MIT" ]
rennner/IoTSharp
IoTSharp.ClientApp/Models/ActivityUser.cs
165
C#
using Microsoft.Extensions.DependencyInjection; using System.IO; namespace Sir.Store { public class Start : IPluginStart { public void OnApplicationStartup(IServiceCollection services) { services.AddSingleton(typeof(LocalStorageSessionFactory), new LocalStorageSessionFactory(Path.C...
31.333333
161
0.719149
[ "MIT" ]
bradparks/resin___google_and_altavista_killer_search_engine
src/Sir.Store/Start.cs
472
C#
namespace HotUI.Layout { public class ZStackLayoutManager : ILayoutManager { public SizeF Measure(AbstractLayout layout, SizeF available) { return available; } public void Layout(AbstractLayout layout, SizeF measured) { } } }
20.733333
68
0.578778
[ "MIT" ]
BenBtg/HotUI
src/HotUI/Layout/ZStackLayoutManager.cs
311
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("Mic...
45.041667
84
0.790009
[ "MIT" ]
Bhaskers-Blu-Org2/VSLua
src/Microsoft.VisualStudio.Debugger.Lua/Properties/AssemblyInfo.cs
1,085
C#
#region License /* * Fin.cs * * The MIT License * * Copyright (c) 2012-2015 sta.blockhead * * 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 lim...
35
95
0.710989
[ "MIT" ]
16it/surging
src/WebSocket/WebSocketCore/Fin.cs
1,820
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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 ...
39.322148
182
0.629971
[ "Apache-2.0" ]
WhiteSourceE/LeanUnsafe
Engine/RealTime/BacktestingRealTimeHandler.cs
5,861
C#
 namespace Application.MainBoundedContext.BatchModule.Configurators { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Application.MainBoundedContext.DTO; using Domain.MainBoundedContext.BatchModule.Aggregates.Jobs; using Domain.MainBoun...
37.173333
132
0.58142
[ "Apache-2.0" ]
iddelacruz/studious-pancake
src/HPC.Batch/Application.MainBoundedContext/BatchModule/Configurators/JobConfigurator.cs
5,578
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
40.977273
131
0.610649
[ "MIT" ]
AzureDataBox/azure-powershell
src/ResourceManager/Network/Stack/Commands.Network/ProviderWideCmdlets/TestAzureDnsAvailabilityCmdlet.cs
1,762
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.544 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----...
41.184783
182
0.589074
[ "Apache-2.0" ]
marcel-valdez/AppHarborLookout
AppHarbor.Lookout/Properties/Resources.Designer.cs
3,791
C#
namespace MyDAL.Test.Options { public class ProductQueryOption : PagingQueryOption { public bool? VipProduct { get; set; } } }
18.5
55
0.655405
[ "Apache-2.0" ]
BestHYC/MyDAL
MyDAL.Test/Options/ProductQueryOption.cs
150
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace MCTuristic_Centro_Historico.MasterPage { public partial class PaginaPrincipal : System.Web.UI.MasterPage { string Admin, Usuario; protected ...
28.981481
81
0.412141
[ "MIT" ]
JLPuc/TU
Proyecto0.1/MCTuristic_Centro_Historico/MCTuristic_Centro_Historico/MasterPage/PaginaPrincipal.Master.cs
1,569
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://...
44.177778
114
0.642354
[ "MIT" ]
3quanfeng/azure-powershell
src/RecoveryServices/RecoveryServices.SiteRecovery/AlertSetting/GetAzureRmRecoveryServicesAsrAlertSetting.cs
1,946
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...
26.037736
81
0.588406
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Web/V20201001/Outputs/SiteMachineKeyResponse.cs
1,380
C#
// <copyright file="PacketTwister30.cs" company="MUnique"> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </copyright> namespace MUnique.OpenMU.Network.PacketTwister { using System; /// <summary> /// PacketTwister implementation for packets of an u...
34.52784
101
0.174289
[ "MIT" ]
And3rsL/OpenMU
src/Network/PacketTwister/PacketTwister30.cs
15,503
C#
using Newtonsoft.Json.Linq; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace PuppeteerSharp.Tests.JSHandleTests { [Collection(TestConstants.TestFixtureCollectionName)] public class JsonValueTests : PuppeteerPageBaseTest { public JsonValueTests(ITestOutputHelper output...
33.575
110
0.625465
[ "MIT" ]
HarinezumiSama/puppeteer-sharp
lib/PuppeteerSharp.Tests/JSHandleTests/JsonValueTests.cs
1,345
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace TestWebApp.Controllers { [Route("api/[controller]")] public class CookieTestsController : Controller { [HttpGet] public string Get() { ...
24.516129
78
0.593421
[ "Apache-2.0" ]
GuzzoLM/aws-lambda-dotnet
Libraries/test/TestWebApp/Controllers/CookieTestsController.cs
762
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....
44.213198
144
0.622847
[ "MIT" ]
ThadHouse/roslyn
src/Compilers/Core/Portable/AssemblyUtilities.cs
8,712
C#
/* * Trade secret of Alibaba Group R&D. * Copyright (c) 2015 Alibaba Group R&D. * * All rights reserved. This notice is intended as a precaution against * inadvertent publication and does not imply publication or any waiver * of confidentiality. The year included in the foregoing notice is the * year of...
24.05
75
0.62578
[ "Apache-2.0" ]
aliyun/aliyun-tablestore-csharp-sdk
test/UnitTest/ConnectionPoolTest.cs
1,116
C#
namespace MouseChef.Input { public class Event { /// <summary> /// Determins which of the event data properties will be populated (all but one will be null). /// </summary> public EventType Type { get; set; } /// <summary> /// Mouse movement data, if Type == Even...
29.789474
102
0.54947
[ "MIT" ]
rspeele/MouseChef
MouseChef.Library/Input/SerializationTypes/Event.cs
568
C#
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace DarenTechs.Web.Models { public class UserRoleViewModel { [HiddenInput] public string UserId { get; set; } ...
24.6
53
0.676829
[ "Unlicense" ]
bakerd13/DarenTechs_Starter
DarenTechs.Web/Models/UserRoleViewModel.cs
494
C#
// Copyright © 2012-2021 VLINGO LABS. All rights reserved. // // This Source Code Form is subject to the terms of the // Mozilla Public License, v. 2.0. If a copy of the MPL // was not distributed with this file, You can obtain // one at https://mozilla.org/MPL/2.0/. using System; using Vlingo.Xoom.Common; namespace ...
34.477876
127
0.598819
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Luteceo/vlingo-net-symbio
src/Vlingo.Xoom.Symbio/Metadata.cs
3,897
C#
using System.Threading.Tasks; namespace FluentMediator.Pipelines.PipelineAsync { /// <summary> /// /// </summary> public interface IAsyncMediator { /// <summary> /// /// </summary> /// <param name="request"></param> /// <param name="pipelineName"></param> ...
27.777778
86
0.54
[ "Apache-2.0" ]
ivanpaulovich/FluentMediator
src/FluentMediator/Pipelines/PipelineAsync/IAsyncMediator.cs
750
C#
using System.Web; /// <summary> /// Extension methods for the HttpResponse class /// </summary> public static class HttpResponseExtensions { /// <summary> /// Reloads the current page / handler by performing a redirect to the current url /// </summary> /// <param name = "response">The HttpResponse...
46.801887
121
0.66539
[ "Apache-2.0" ]
JoySky/.NET-Extensions
PGK.Extensions.Web/HttpResponseExtensions.cs
4,963
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Diagnostics.ContractsLight; using BuildXL.Cache.ContentStore.Hashing; using BuildXL.Storage; using BuildXL.Storage.Fingerprints; using BuildXL.Utilities; #pragma warning disable 1591 // disabling warning ab...
38.971519
159
0.591799
[ "MIT" ]
Bhaskers-Blu-Org2/BuildXL
Public/Src/Engine/Scheduler/Fingerprints/ObservedInput.cs
12,315
C#
using System.Linq; using LinqToDB; using LinqToDB.Mapping; using NUnit.Framework; using Tests.Model; using Tests.xUpdate; namespace Tests.Mapping { public class MappingAmbiguityTests : TestBase { [Table] public class TestTable { [PrimaryKey] public int ID { get; set; } // mapped fie...
28.27907
150
0.638569
[ "MIT" ]
Corey-M/linq2db
Tests/Linq/Mapping/MappingAmbiguityTests.cs
2,349
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Runtime.CompilerServices; namespace System.Diagnostics { internal static class Precondition { [MethodImpl(MethodImplOptions.AggressiveInl...
24.542857
101
0.55064
[ "MIT" ]
benaadams/corefxlab
src/System.Text.Formatting/System/InternalHelpers/Precondition.cs
861
C#
using System.Collections.Generic; using RegionOrebroLan.Web.Authentication; namespace HansKindberg.IdentityServer.Application.Models.Views.Diagnostics { public class AuthenticationSchemeViewModel { #region Properties public virtual bool AuthenticationSchemesMissing { get; set; } public virtual IDictionary<IAu...
28.8
125
0.80787
[ "MIT" ]
HansKindberg/Identity-Server
Source/Application/Models/Views/Diagnostics/AuthenticationSchemeViewModel.cs
432
C#
using CaraDotNetCore5V2.Application.DTOs; using CaraDotNetCore5V2.Application.Features.ActivityLog.Queries.GetUserLogs; using CaraDotNetCore5V2.Application.Interfaces.Shared; using CaraDotNetCore5V2.Web.Abstractions; using MediatR; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using System....
35.147059
120
0.736402
[ "MIT" ]
rosdisulaiman/CaraDotNetCore5V2
CaraDotNetCore5V2.Web/Areas/Identity/Pages/Account/AuditLog.cshtml.cs
1,195
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
41.192308
1,358
0.592329
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/POCD_IN170001UK06MCCI_MT010101UK12Message.cs
13,923
C#
using System.Threading.Tasks; using Abp.Application.Services; using NorthLion.Zero.AuditLogs.Dto; using NorthLion.Zero.PaginatedModel; namespace NorthLion.Zero.AuditLogs { public interface IAuditLogAppService : IApplicationService { Task<AuditLogOutput> GetLatestAuditLogOutput(); Task<AuditLog...
40.052632
94
0.779238
[ "MIT" ]
CodefyMX/NorthLionAbpZeroNetCore
aspnet-core/src/NorthLion.Zero.Application/AuditLogs/IAuditLogAppService.cs
763
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace ChatBotPrime.FrontEnd.Areas.Identity.Pages.Account.Manage { ...
36.958333
153
0.633221
[ "MIT" ]
CrypticEngima/ChatBotPrime
ChatBotPrime.FrontEnd/Areas/Identity/Pages/Account/Manage/GenerateRecoveryCodes.cshtml.cs
2,663
C#
namespace Library_API_SYSCOMPSA.Areas.HelpPage.ModelDescriptions { public class CollectionModelDescription : ModelDescription { public ModelDescription ElementDescription { get; set; } } }
29.714286
64
0.764423
[ "Apache-2.0" ]
Syscompsa/APIS-REST--Library
Library-API-SYSCOMPSA/Library-API-SYSCOMPSA/Areas/HelpPage/ModelDescriptions/CollectionModelDescription.cs
208
C#
using System.Web; using System.Web.Mvc; namespace EmployeeTree.Web { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
19.214286
80
0.657993
[ "MIT" ]
iramov/HRM
EmployeesTree/EmployeeTree.Web/App_Start/FilterConfig.cs
271
C#
// <auto-generated /> using System; using System.Reflection; using System.Resources; using System.Threading; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Diagnostics; using Microsoft.Extensions.Logging; namespace Microsoft.EntityFrameworkCore.Diagnostics { /// <summary> /// <para> ...
63.825159
544
0.646493
[ "Apache-2.0" ]
Potapy4/EntityFrameworkCore
src/EFCore/Properties/CoreStrings.Designer.cs
281,086
C#
namespace Gliber { using System.Collections.Generic; using System.Reflection; internal class Config : IConfig { public Config() { this.SelectedPropertiesOfSourceObject = null; this.HasOneToOneMapping = false; } public IEnumerable<string> Selected...
24.705882
81
0.630952
[ "MIT" ]
goldytech/Gliber
src/Gliber/Config.cs
422
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Native.Csharp.App.Model; namespace Native.Csharp.App.Interface { /// <summary> /// 酷Q 群消息接口 /// </summary> public interface IEvent_GroupMessage { /// <summary> /// Type=2 群消息<para/> /// 当在派生类中重写时, 处理收到的群消息 /// </s...
30.31068
79
0.657271
[ "MIT" ]
IchenDEV/CoolQ-Baidu-Bot
Native.Csharp/App/Interface/IEvent_GroupMessage.cs
4,142
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("")]...
36.621622
84
0.740959
[ "MIT" ]
HunterCarlson/ProjectEuler
Problems/087 Prime power triples/Properties/AssemblyInfo.cs
1,355
C#
using System.Threading.Tasks; using Nethereum.Hex.HexTypes; using Nethereum.JsonRpc.Client; using Newtonsoft.Json.Linq; namespace Nethereum.Parity.RPC.Trace { /// <Summary> /// Returns trace at given position. /// </Summary> public class TraceGet : RpcRequestResponseHandler<JObject>, ITraceGet ...
30.740741
110
0.66506
[ "MIT" ]
6ara6aka/Nethereum
src/Nethereum.Parity/RPC/Trace/TraceGet.cs
830
C#
using System; using System.Diagnostics.Contracts; using ReClassNET.Memory; namespace ReClassNET.Debugger { public delegate void BreakpointHandler(IBreakpoint breakpoint, ref DebugEvent evt); public interface IBreakpoint { IntPtr Address { get; } bool Set(RemoteProcess process); void Remove(RemoteProcess pr...
20.340909
84
0.749721
[ "MIT" ]
denot/ReClass.NET
Debugger/IBreakpoint.cs
897
C#
//----------------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All Rights Reserved. // This code is licensed under the Microsoft Public License. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY /...
47.978984
167
0.671813
[ "MIT" ]
RUB-SysSec/Probfuscator
src/Sources/PeReader/ModuleReadWriteFactory.cs
27,396
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> //---...
21.696544
88
0.624403
[ "MIT" ]
smourier/GlyphData
WingdingsGlyph.cs
97,309
C#
namespace RediSearchSharp.Query { public enum SortingOrder { Ascending, Descending } }
14.375
32
0.608696
[ "MIT" ]
ojji/RedisearchSharp
RediSearchSharp/Query/SortingOrder.cs
117
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("15...
39.108108
84
0.744299
[ "MIT" ]
PavelIvanov96/Programming-Fundamentals-Extended-CSharp
05.Arrays and Methods - Exercises/15. Count of Capital Letters in Array/Properties/AssemblyInfo.cs
1,450
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; using System.IO; ...
31.063492
94
0.504514
[ "MIT" ]
Hawkeye4040/Kerberos.NET
Bruce/CommandLine/KerberosConfigCommand.cs
5,873
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Serialization; namespace Workday.PerformanceManagement { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, XmlType(Namesp...
24.271739
136
0.772056
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.PerformanceManagement/Certification_Response_GroupType.cs
2,233
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...
76.491139
507
0.68091
[ "MIT" ]
Amrinder-Singh29/azure-powershell
src/ConnectedKubernetes/generated/cmdlets/GetAzConnectedKubernetes_List.cs
29,820
C#
using System; using System.Text.RegularExpressions; namespace _2._94_RegularExpression { class Program { static void Main(string[] args) { string pattern = "(Mr\\.? |Mrs\\.? |Miss |Ms\\.? )"; string[] names = { "Mr. Henry Hunt", "Ms. Sara Samuels", "Abraham Adams", "Ms....
25.5
108
0.554902
[ "MIT" ]
GoFightNguyen/programming-in-csharp
2.CreateAndUseTypes/2.94_RegularExpression/Program.cs
512
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
31.661585
203
0.566683
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Synthetics/Generated/Model/Canary.cs
10,385
C#
// SPDX-FileCopyrightText: 2021 smdn <smdn@smdn.jp> // SPDX-License-Identifier: MIT using System; using System.Buffers; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; namespace Smdn.Devices.MCP2221; #pragma warning disable IDE0040 par...
33.582927
162
0.64115
[ "MIT" ]
smdn/Smdn.Devices.MCP2221
src/Smdn.Devices.MCP2221/Smdn.Devices.MCP2221/MCP2221.I2C.cs
13,769
C#
// Lucene version compatibility level 4.8.1 using Lucene.Net.Analysis.Util; using System; using System.Collections.Generic; namespace Lucene.Net.Analysis.Lv { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with ...
39.574074
133
0.648573
[ "Apache-2.0" ]
10088/lucenenet
src/Lucene.Net.Analysis.Common/Analysis/Lv/LatvianStemFilterFactory.cs
2,137
C#
// <copyright file="MetricProcessor.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry 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...
39.512195
104
0.690123
[ "Apache-2.0" ]
TopSwagCode/opentelemetry-dotnet
src/OpenTelemetry/Metrics/Export/MetricProcessor.cs
1,620
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Terraria.ID; namespace Starvers.Enemies.Npcs { using Dropping = Terraria.GameContent.ItemDropRules.CommonCode; public class FloatingSkeleton : StarverNPC { private static SpawnChecker sChecke...
21.930556
94
0.658645
[ "MIT" ]
ArkeyDarz/Starver
Enemies/Npcs/FloatingSkeleton.cs
1,581
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 08.05.2021. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.S...
33.236559
364
0.572954
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/NotEqual/Complete2__objs/NullableDateTime/String/TestSet_001__fields__02__VN.cs
6,184
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. namespace System.DirectoryServices.Interop { using System; using System.Text; using System.Security; ...
40.743421
191
0.562248
[ "MIT" ]
FrancisFYK/corefx
src/System.DirectoryServices/src/Interop/SafeNativeMethods.cs
6,193
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; namespace System.Management.Automation { /// <summary> /// An object that represents a stack of paths. /// </summary> public sealed class PathInfoStack : Stack<PathInfo> ...
32.290323
88
0.558941
[ "MIT" ]
renovate-mirrors/PowerShell
src/System.Management.Automation/namespaces/StackInfo.cs
2,002
C#
// <auto-generated> // automatically generated by the FlatBuffers compiler, do not modify // </auto-generated> namespace cfg { public enum ItemEItemFunctionType : int { ItemEItemFunctionType_REPLACE_HANDHELD = 0, ItemEItemFunctionType_USE_DESIGN_DRAWING = 1, }; }
17.0625
70
0.765568
[ "MIT" ]
HFX-93/luban_examples
Projects/Flatbuffers_bin/Gen/cfg/ItemEItemFunctionType.cs
273
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SpaServices.Webpack; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using corevue.Providers; namespace corevue { public class Startup { ...
33.132353
143
0.586773
[ "MIT" ]
aszx20056/test
Startup.cs
2,253
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using VendorOrder.Models; using System.Collections.Generic; using System; namespace VendorOrder.Tests { [TestClass] public class VendorTests : IDisposable { public void Dispose() { Vendor.ClearAll(); } [TestMethod] p...
27.463415
74
0.638544
[ "MIT" ]
godfreyowidi/vendor-order-Tracker
VendorOrder.Tests/ModelTests/VendorTests.cs
2,252
C#
using Microsoft.EntityFrameworkCore; using Volo.Abp.EntityFrameworkCore; namespace Fooww.Research.EntityFrameworkCore { public class MyProjectHttpApiHostMigrationsDbContext : AbpDbContext<MyProjectHttpApiHostMigrationsDbContext> { public MyProjectHttpApiHostMigrationsDbContext(DbContextOptions<MyProje...
28.136364
121
0.717286
[ "MIT" ]
PowerDG/Hundred-Micro
dgHundred/Research(1)/host/Fooww.Research.HttpApi.Host/EntityFrameworkCore/MyProjectHttpApiHostMigrationsDbContext.cs
621
C#
using System; namespace Goal.Seedwork.Domain.Aggregates { public interface IEntity : IEntity<Guid> { } }
13.111111
44
0.686441
[ "MIT" ]
ritter-ti/goal
src/Seedwork/Domain/Aggregates/IEntity.cs
118
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...
45.096774
227
0.592704
[ "Apache-2.0" ]
Ektai-Solution-Pty-Ltd/CommunityServer
module/ASC.Thrdparty/ASC.FederatedLogin/LoginProviders/GoogleLoginProvider.cs
6,990
C#
using System; using System.Collections.Generic; using System.Text; using Robust.Client.Graphics; using Robust.Client.ResourceManagement; using Robust.Client.Utility; using Robust.Shared.IoC; using Robust.Shared.Maths; using Robust.Shared.ViewVariables; using SixLabors.ImageSharp; using SixLabors.ImageSharp.PixelFormats...
30
111
0.487642
[ "MIT" ]
A-Box-12/space-station-14
Content.Client/Clickable/ClickMapManager.cs
6,150
C#
using BasonManagement.Application.DTOs.Settings; using BasonManagement.Application.Interfaces.Shared; using BasonManagement.Infrastructure.DbContexts; using BasonManagement.Infrastructure.Identity.Models; using BasonManagement.Infrastructure.Shared.Services; using BasonManagement.Web.Services; using Microsoft.AspNetCo...
45.653061
150
0.675011
[ "MIT" ]
chougule-lalit/PrismCement
BasonManagement.Web/Extensions/ServiceCollectionExtensions.cs
4,476
C#
using System; using System.Collections.Generic; using System.Net; using System.Text; namespace LibDHCPServer.VolatilePool { public class LeaseOptions { public string DomainName { get; set; } public List<IPAddress> DNSServers { get; set; } public List<string> TFTPServers { get; set; } ...
24.529412
55
0.657074
[ "MIT" ]
pixey/Pixey.DhcpClient
LibDHCPServer/VolatilePool/LeaseOptions.cs
419
C#
using MahApps.Metro; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Web.Script.Serialization; using System.Windows; namespace KTReports { /// <summary> /// Interaction lo...
33.511628
99
0.612075
[ "MIT" ]
Zach076/KitsapTransitReports
project/KTReports/KTReports/App.xaml.cs
1,441
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.3603 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----...
36.161538
108
0.553393
[ "MIT" ]
InstantBusinessNetwork/IBN
Source/Server/WebPortal/Apps/ProjectManagement/Modules/ProjectList.ascx.designer.cs
9,402
C#
using System; namespace Zoo { public class StartUp { public static void Main(string[] args) { } } }
12.5
46
0.473333
[ "MIT" ]
DaniHristov/SoftUni
C#-OOP/InheritanceExercise-HW/Zoo/StartUp.cs
152
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> // ---------------------------------------...
29.080645
137
0.677759
[ "Apache-2.0" ]
JetBrains/space-dotnet-sdk
src/JetBrains.Space.Client/Generated/Dtos/M2PackageDeletedDetails.generated.cs
1,803
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1effects.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { ...
36.9375
145
0.751269
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/d2d1effects/D2D1_COLORMANAGEMENT_QUALITY.cs
593
C#