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 CadastroTarefas.Utils { public class ValidacaoUtil { public static bool ValidarEmail(string email) { if (email.Contains("@") && email.Contains(".")) { return true; } return false; } public static bool Val...
24.478261
76
0.484902
[ "MIT" ]
lukkanog/C---Exerc-cios
MVC/CadastroTarefas/Utils/ValidacaoUtil.cs
563
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Renci.SshNet.Tests.Classes { [TestClass] public class ForwardedPortRemoteTest_Stop_PortStarted_ChannelBound : ForwardedPortRemoteTest_Dispose_PortStarted_ChannelBound { protected override void Act() { ForwardedPort.S...
24.642857
129
0.718841
[ "MIT" ]
0xced/SSH.NET
src/Renci.SshNet.Tests/Classes/ForwardedPortRemoteTest_Stop_PortStarted_ChannelBound.cs
347
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System; using AutoCrane.Interfaces; namespace AutoCrane.Services { internal sealed class MonkeyWorkload : IMonkeyWorkload { private readonly Random random; private readonly IClock clock; private int failP...
24.767442
62
0.56338
[ "MIT" ]
QPC-database/AutoCrane
src/AutoCrane/Services/MonkeyWorkload.cs
1,067
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-generate...
43.737374
170
0.574365
[ "MIT" ]
shantiw/Entitybank
Entitybase/Objects/BuiltIn.Designer.cs
4,332
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...
35.103448
149
0.66241
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Finspace/Generated/Model/Internal/MarshallTransformations/DeleteEnvironmentRequestMarshaller.cs
3,054
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/winioctl.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
40.583333
145
0.686516
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
tests/Interop/Windows/um/winioctl/SCM_PD_FIRMWARE_ACTIVATETests.cs
1,463
C#
namespace SQLAzureMWUtils { partial class BCPCommandEditor { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
37.777778
148
0.570588
[ "MIT" ]
GurappaCoforgeTech/Professional-Azure-SQL-Database-Administration-Third-Edition
Chapter03/SQLAzureMigration-master/SQLAzureMWUtils/BCPCommandEditor.Designer.cs
3,742
C#
namespace Kongrevsky.Infrastructure.LogManager.Repository { #region << Using >> using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using AutoMapper; using Kongrevsky.Infrastructur...
44.648148
181
0.572791
[ "MIT" ]
gpcaretti/libraries
Kongrevsky.Libraries/Infrastructure/Kongrevsky.Infrastructure.LogManager/Repository/LogRepository.cs
7,235
C#
using GeekShopping.Web.Models; namespace GeekShopping.Web.Services.IServices { public interface ICouponService { Task<CouponViewModel> GetCoupon(string code, string token); } }
20
67
0.725
[ "Apache-2.0" ]
RaulSCoelho/microservices-dotnet6
S16_ErudioMicroservices.NET6-CreatingGeekShopping.CouponAPIMicroservice/GeekShopping/GeekShopping.Web/Services/IServices/ICouponService.cs
202
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/WinTrust.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
35.772727
145
0.632147
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
tests/Interop/Windows/um/wintrust/CAT_MEMBERINFOTests.cs
1,576
C#
// © Alexander Kozlenko. Licensed under the MIT License. using System; using System.Reflection; using Anemonis.AspNetCore.JsonRpc; using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Builder { /// <summary>The JSON-RPC 2.0 middleware extensions for the <see cref="IApplicationBuilder" />.</summary> ...
46.018433
165
0.610054
[ "MIT" ]
BigDaddy1337/aspnetcore-json-rpc
src/Anemonis.AspNetCore.JsonRpc/JsonRpcBuilderExtensions.cs
9,989
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Composition; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeAct...
37.051282
160
0.72526
[ "Apache-2.0" ]
MarcosMeli/Roslynator
source/Analyzers/CodeFixProviders/ReplaceTabWithSpacesCodeFixProvider.cs
1,447
C#
#region Copyright (c) 2011-2022 Technosoftware GmbH. All rights reserved //----------------------------------------------------------------------------- // Copyright (c) 2011-2022 Technosoftware GmbH. All rights reserved // Web: https://www.technosoftware.com // // The source code in this file is covered under a dual...
31.836066
79
0.594748
[ "MIT" ]
technosoftware-gmbh/opc-daaehda-client-net
src/Technosoftware/DaAeHdaClient/OpcUrlScheme.cs
1,942
C#
// This file has been generated by the GUI designer. Do not modify. namespace RLToolkit.Widgets { public partial class DynamicRow { private global::Gtk.VBox handler; private global::Gtk.VBox rowBox; private global::Gtk.HBox rowHandler; private global::Gtk.Label labelEmpty1; private global::Gtk.Button btnMi...
37.87234
98
0.690449
[ "MIT" ]
rl132/RLToolkit
Widgets/gtk-gui/RLToolkit.Widgets.DynamicRow.cs
3,560
C#
using Newtonsoft.Json; namespace Birko.SuperFaktura.Response.Client { public class PagedResponse : PagedResponse<ListItem> { [JsonProperty(PropertyName = "items", NullValueHandling = NullValueHandling.Ignore)] [JsonConverter(typeof(Converters.ItemListConverter<ListItem>))] public overr...
30.916667
92
0.722372
[ "MIT" ]
andrjfrks/SuperFakturaAPI.NET
Response/Client/PagedResponse.cs
373
C#
using DALHelperNet; using DALHelperNet.Interfaces.Attributes; using DALHelperNetExample.Models; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace DALHelperNetExample.Helpers { public class ExampleObjectHelper ...
39.918367
205
0.680982
[ "MIT" ]
jdaugherty-bdl/DALHelperNet
DALHelperNetExample/DALHelperNetExample/Helpers/ExampleObjectHelper.cs
1,958
C#
namespace InCube.Core.Collections; /// <summary> /// A collection of extension methods related to arrays. /// </summary> [PublicAPI] public static class Arrays { /// <summary> /// Creates a constant array. /// </summary> /// <param name="length">The length of the output array.</param> /// <param na...
34.102041
91
0.599641
[ "MIT" ]
hypdeb/core
src/InCube.Core/Collections/Arrays.cs
1,671
C#
using System; namespace ImageLib { public class EntryPoint { public static void Main(string[] args) { if(ImageLib.ImageMaker.StartImageServer("/tmp/water.jpg")){ Console.WriteLine( ImageLib.ImageMaker.MakeImage("/tmp/image.jpg")); } } } }
21.066667
84
0.56962
[ "Apache-2.0" ]
metacall/rotulin
image/Main.cs
316
C#
// *********************************************************************** // Assembly : Noob.D2CMSApi // Author : Administrator // Created : 04-05-2020 // // Last Modified By : Administrator // Last Modified On : 2020-04-05 // ****************************************************************...
30.892857
77
0.472832
[ "MIT" ]
noobwu/DncZeus
Noob.Core/Ddd/Domain/Entities/DisableIdGenerationAttribute.cs
867
C#
// Copyright 2020-2021 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITH...
36.81768
120
0.50105
[ "MIT" ]
raphaelquati/serilog-sinks-grafana-loki
src/Serilog.Sinks.Grafana.Loki/LokiSink.cs
6,666
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...
30.12766
101
0.610876
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Devices/V20190322/Inputs/SharedAccessSignatureAuthorizationRuleArgs.cs
1,416
C#
using Modbus4Net.Utility; using System; using System.Collections.Generic; using System.Linq; namespace Modbus4Net.Extensions.Enron { /// <summary> /// Utility extensions for the Enron Modbus dialect. /// </summary> public static class EnronModbus { /// <summary> /// Read contiguous...
35.47205
111
0.558571
[ "MIT" ]
gsulc/Modbus4Net
Modbus4Net/Extensions/Enron/EnronModbus.cs
5,713
C#
using System.Collections.Generic; namespace HayleesThreads.Models { public class Category { public Category() { this.JoinTables = new HashSet<CategoryProduct>(); } public int CategoryId { get; set; } public string CategoryName { get; set; } public string CategoryDescription { get; se...
24.105263
72
0.687773
[ "Unlicense" ]
calliestump/HayleesThreads.Solution
HayleesThreads/Models/Category.cs
458
C#
//////////////////////////////////////////////////////////////////////// // // This file is part of gmic-sharp-pdn, a library that extends // gmic-sharp for use with Paint.NET Effect plugins. // // Copyright (c) 2020, 2021 Nicholas Hayes // // This file is licensed under the MIT License. // See LICENSE.txt for complet...
32.242424
102
0.595865
[ "MIT" ]
0xC0000054/gmic-sharp-pdn
src/PdnGmicBitmapOutputFactory.cs
1,066
C#
using System; using System.Reflection; using System.Collections.Generic; using System.Linq; using Verse; namespace Vehicles { public static class Ext_Settings { /// <summary> /// Get all fields containing PostToSettings attribute in <paramref name="type"/> /// </summary> /// <param name="type"></param> pu...
28.944444
172
0.709213
[ "MIT" ]
SmashPhil/Boats
Source/Vehicles/Utility/Extensions/Ext_Settings.cs
1,044
C#
using helper.mvvm.baseclasses; using StreamCompanion.Contract; using StreamCompanion.Contract.StreamTemplate; using System.Collections.ObjectModel; using System.Linq; using IViewModel = StreamCompanion.Contract.StreamTemplate.IViewModel; namespace StreamCompanion.StreamTemplate { using helper.mvvm.commands; u...
31.681967
123
0.515885
[ "MIT" ]
dreanor/StreamCompanion
src/streamtemplate/ViewModel.cs
9,665
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> //--...
40
151
0.584259
[ "MIT" ]
DaraOladapo/Xamarin.Forms
Xamarin.Forms.Sandbox.WPF/Properties/Settings.Designer.cs
1,082
C#
using System.Collections.Generic; using System.Threading.Tasks; using SanvaadServer.DataModels; namespace SanvaadServer.Hubs { public interface ISanvaadHub { Task ReceiveMessage(Message message); Task JoinedRoom(string roomId, string userId, string displayName); Task LeftRoom(string r...
34.809524
83
0.73461
[ "MIT" ]
SwapnilSilam/sanvaad
sanvaad-server/SanvaadServer/Hubs/ISanvaadHub.cs
733
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dominio.Convertidores; using System.Data.Entity; namespace Dominio.Querys { public partial class Querys : Entidad.IEntidadQuery { public bool InsertarEntidad(Dtos.entidadDTO dto...
30.077519
125
0.473454
[ "Apache-2.0" ]
Gsaico/MasterDetails_LogisticaMVVM
LOGISTICADB/Dominio/Querys/Entidad/EntidadQuery.cs
3,882
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bbt.Campaign.Public.Dtos.Target.Group { public class TargetGroupDto { public TargetGroupDto() { TargetList = n...
30.111111
69
0.648216
[ "MIT" ]
hub-burgan-com-tr/bbt.loyalty
src/Bbt.Campaign.Api/Bbt.Campaign.Public/Dtos/Target/Group/TargetGroupDto.cs
815
C#
using System; using System.Text; public class Rectangle : IDrawable { private int width; private int height; public Rectangle(int width, int height) { this.width = width; this.height = height; } public int Width { get { return this.width; } private set { t...
22.353846
72
0.498968
[ "MIT" ]
inser788/CSharp-Fundamentals-OOP-Basics
Exercises/11 INTERFACES AND ABSTRACTION - LAB/Interfaces-Lab/01_Shapes/Rectangle.cs
1,455
C#
using System.Collections; using UnityEngine; namespace Vehicles.Car { [RequireComponent(typeof(AudioSource))] public class CarWheelEffects : MonoBehaviour { #region Members public Transform m_SkidTrailPrefab; public static Transform m_SkidTrailsDetachedParent; public Parti...
25.144231
109
0.551816
[ "MIT" ]
Voossu/Driving-Range-Project
Assets/[Common]/Vehicles/Scripts/Effects/CarWheelEffects.cs
2,615
C#
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; ...
33.477273
107
0.760353
[ "Apache-2.0" ]
luizfbicalho/Camunda.NET
camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/operation/AtomicOperationCaseExecutionComplete.cs
1,475
C#
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requ...
44
136
0.755556
[ "Apache-2.0" ]
Giovanni-Russo-Boscoli/NakedObjectsFramework
Rest/NakedObjects.Rest.App/Properties/AssemblyInfo.cs
1,983
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.Security.Permissions { [Serializable] public sealed partial class ZoneIdentityPermission :...
48.380952
98
0.730315
[ "MIT" ]
Aevitas/corefx
src/System.Security.Permissions/src/System/Security/Permissions/ZoneIdentityPermission.cs
1,018
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...
44.150725
293
0.526983
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotsOperationsExtensions.cs
30,464
C#
#region License // FocusBehaviour.cs // // Copyright (c) 2012 Xoqal.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 re...
32.093333
75
0.5484
[ "Apache-2.0" ]
AmirKarimi/Xoqal
Source/Xoqal.Presentation/Extentions/FocusBehaviour.cs
2,407
C#
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ using System; using System.Collections.Generic; using Dawn; using System.Linq; using Sportradar.OddsFeed.SDK.Messages; namespace Sportradar.OddsFeed.SDK.Entities.Internal { /// <summary> /// Defines builder for routing keys ...
39.01444
152
0.525678
[ "Apache-2.0" ]
deuko/UnifiedOddsSdkNet
src/Sportradar.OddsFeed.SDK.Entities/Internal/FeedRoutingKeyBuilder.cs
10,809
C#
namespace SaaSFulfillmentClient { using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Newtonsoft.Json; usin...
41.375
175
0.602216
[ "MIT" ]
dstarr/AzureMarketplaceSaaSApiClient
src/CustomMeteringClient.cs
4,967
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Management.Automation; using System.Management.Automation.Internal; using System.Text; using Microsoft.PowerShell.Commands;...
44.165457
167
0.537332
[ "MIT" ]
3v1lW1th1n/PowerShell-1
src/System.Management.Automation/FormatAndOutput/common/FormatViewManager.cs
30,430
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
31.396552
81
0.634267
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Wav/V20210129/Models/CreateLeadResponse.cs
1,951
C#
namespace MassTransit.ConsumeConfigurators { using GreenPipes; public interface IActivityConfigurationObserverConnector { /// <summary> /// Connect a configuration observer to the bus configurator, which is invoked as routing slip activities are configured. /// </summary> /...
31
129
0.695565
[ "ECL-2.0", "Apache-2.0" ]
ArmyMedalMei/MassTransit
src/MassTransit/Configuration/ConsumeConfigurators/IActivityConfigurationObserverConnector.cs
496
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/automl/v1/service.proto // </auto-generated> // Original file comments: // Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except i...
71.284442
385
0.722225
[ "Apache-2.0" ]
Mattlk13/google-cloud-dotnet
apis/Google.Cloud.AutoML.V1/Google.Cloud.AutoML.V1/ServiceGrpc.g.cs
120,043
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.921053
106
0.738786
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/GameLift/Generated/Model/DeleteVpcPeeringConnectionResponse.cs
1,137
C#
using System.Web; using MarkdownDeep; namespace CroquetAustralia.Library.Content { public class MarkdownTransformer : IMarkdownTransformer { public IHtmlString MarkdownToHtml(string content) { var markdown = new Markdown { // ExtraMode is required to supp...
23.428571
59
0.583333
[ "MIT" ]
croquet-australia/croquet-australia-website
source/CroquetAustralia.Library/Content/MarkdownTransformer.cs
492
C#
/* Copyright (c) 2017, Nokia All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the...
41.638298
86
0.748084
[ "BSD-3-Clause" ]
nuagenetworks/vspk-csharp
vspk/vspk/VNFMetadatasFetcher.cs
1,957
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using System.Windows.Media; using System.Windows.Media.Imaging; using Micros...
38.719298
139
0.534783
[ "MIT" ]
KayNag/LumiaImagingSDKSample
PerfectCamera/EditPage.xaml.cs
33,107
C#
using System; namespace Core.Math.Matrixes.Generics.Implementation.Memory { /// <summary> /// /// </summary> /// <see cref="https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/arrays/multidimensional-arrays"/> /// <see cref="https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...
32.214286
118
0.427938
[ "MIT" ]
HolisticWare/HolisticWare.Core.Math.Matrix
source/HolisticWare.Core.Math.Matrixes.Generic/Core.Math.Matrixes/Memory/Matrix.cs
2,257
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 System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks...
48.577586
256
0.618146
[ "Apache-2.0", "MIT" ]
AtOMiCNebula/azure-functions-host
test/WebJobs.Script.Tests.Integration/ApplicationInsights/ApplicationInsightsEndToEndTestsBase.cs
22,542
C#
using System; namespace DishWasher { class Program { static void Main(string[] args) { int bottles = int.Parse(Console.ReadLine()); string command = Console.ReadLine(); int dishes = 0; int pans = 0; int inputCounter = 0; ...
26.540984
104
0.399629
[ "MIT" ]
Rongusha/cShardStudy
ProgramingBasics/WhileLoopExersice/DishWasher/Program.cs
1,621
C#
using UncommonSense.CBreeze.Common; using UncommonSense.CBreeze.Core.Code.Variable; using UncommonSense.CBreeze.Core.Contracts; using UncommonSense.CBreeze.Core.Property; using UncommonSense.CBreeze.Core.Property.Enumeration; using UncommonSense.CBreeze.Core.Property.Implementation; namespace UncommonSense.CBreeze.Cor...
26.325843
107
0.54012
[ "MIT" ]
FSharpCSharp/UncommonSense.CBreeze
CBreeze/UncommonSense.CBreeze.Core/XmlPort/XmlPortFieldElementProperties.cs
4,686
C#
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Linq; using System.Reflection; using Dolittle.Runtime.Assemblies; using Dolittle.Runtime.Assemblies.Rules; using Dolittle.Runtime.Collections; using Microso...
43.693878
142
0.677254
[ "MIT" ]
dolittle/Runtime
Source/Booting/Stages/04-Discovery/Discovery.cs
2,141
C#
using System.Text.RegularExpressions; using JetBrains.Annotations; using static BinaryFog.NameParser.RegexNameComponents; using static BinaryFog.NameParser.NameComponentSets; namespace BinaryFog.NameParser.Patterns { [UsedImplicitly] public class FirstIrishLastPattern : IFullNamePattern { private static readonly ...
30.756757
69
0.702988
[ "Apache-2.0" ]
JaminQuimby/NameParser
BinaryFog.NameParser/Patterns/FirstIrishLastPattern.cs
1,140
C#
using System; using System.Diagnostics; using System.Numerics; namespace Nethermind.Decompose.Numerics { public class UInt32MontgomeryReduction : IReductionAlgorithm<uint> { private class Reducer : Reducer<UInt32MontgomeryReduction, uint> { private class Residue : Residue<Reducer, ...
32.884892
85
0.428571
[ "Apache-2.0" ]
NethermindEth/Dirichlet
Nethermind.Decompose.Numerics/Reduction/Performance/UInt32MontgomeryReduction.cs
4,573
C#
using System.Runtime.CompilerServices; namespace NodeJS.CryptoModule { [Imported] [ModuleName("crypto")] [IgnoreNamespace] public class Hmac { private Hmac() {} public void Update(string data) {} public string Digest() { return null; } public string Digest(Encoding encoding) { return null; } } }
20.8
58
0.717949
[ "Apache-2.0" ]
n9/SaltarelleNodeJS
NodeJS/CryptoModule/Hmac.cs
312
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Corvalius.Identity.RavenDB { /// <summary> /// The default implementation of <see cref="IdentityRole{TKey}"/> which uses a string as the primary key. /// </summary> public class IdentityRole : Id...
30.543478
116
0.549822
[ "Apache-2.0" ]
Corvalius/Membership-ravendb
Source/Corvalius.Identity.RavenDB/IdentityRole.cs
2,812
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/table.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collectio...
36.855362
450
0.640706
[ "Apache-2.0" ]
Mattlk13/google-cloud-dotnet
apis/Google.Cloud.BigQuery.Storage.V1/Google.Cloud.BigQuery.Storage.V1/Table.g.cs
29,558
C#
using System; namespace ConsoleApp1.Model { internal class KeyAttribute : Attribute { } }
12.875
43
0.679612
[ "MIT" ]
WillHomS/Hom2021
ConsoleApp1/Model/KeyAttribute.cs
105
C#
using System; using System.IO; using ICSharpCode.SharpZipLib.Checksum; class Cmd_Checksum { static void ShowHelp() { Console.Error.WriteLine("Compress or uncompress FILEs (by default, compress FILES in-place)."); Console.Error.WriteLine("Version {0} using SharpZipLib {1}", typeof(Cmd_Checksum).Assembly.GetNam...
24.546584
102
0.624747
[ "MIT" ]
0patch/SharpZipLib
samples/ICSharpCode.SharpZipLib.Samples/cs/Cmd_Checksum/Cmd_Checksum.cs
3,952
C#
// // System.Collections.Generic.List // // Authors: // Ben Maurer (bmaurer@ximian.com) // Martin Baulig (martin@ximian.com) // Carlos Alberto Cortez (calberto.cortez@gmail.com) // David Waite (mass@akuma.org) // Marek Safar (marek.safar@gmail.com) // // Copyright (C) 2004-2005 Novell, Inc (http://www.no...
22.846063
110
0.621387
[ "Apache-2.0" ]
markusjohnsson/mono
mcs/class/corlib/System.Collections.Generic/List.cs
19,442
C#
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0xE59D458B)] public class STU_E59D458B : STU_6440565A { [STUFieldAttribute(0xA53100D5, ReaderType = typeof(EmbeddedInstanceFieldReader))] public STUConfigVar m_A53100D5; ...
29.727273
89
0.749235
[ "MIT" ]
Mike111177/OWLib
TankLib/STU/Types/STU_E59D458B.cs
327
C#
using System; using System.Globalization; using System.Xml.Serialization; namespace FIM.MARE { public enum DateType { [XmlEnum(Name = "BestGuess")] BestGuess, [XmlEnum(Name = "DateTime")] DateTime, [XmlEnum(Name = "FileTimeUTC")] FileTimeUTC } public cla...
31.901961
129
0.575907
[ "MIT" ]
ruliane/mare
fim.mare/Model/Transforms/Transform.FormatDate.cs
1,629
C#
using System; using System.Collections.Generic; namespace study { public partial class Request { public int Ordinal { get; set; } public string Content { get; set; } public string Ip { get; set; } public string Method { get; set; } public DateTime Time { get; set; } ...
21.666667
43
0.596923
[ "Apache-2.0" ]
FinchYang/study
teststudy/Request.cs
327
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
23.068966
56
0.726457
[ "Apache-2.0" ]
MattS8/SceneMaker
MVVM/View/SceneSettings/SceneSettingsView.xaml.cs
671
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace dp2.KernelService { /// <summary> /// 表现一个资源树节点的路径中 服务器 和 下级路径 2部分 /// </summary> public class ResPath { public string Url = ""; // 服务器URL部分 public string P...
26.921162
123
0.471023
[ "Apache-2.0" ]
DigitalPlatform/dp2core
dp2.KernelService/ResPath.cs
7,130
C#
using System.Text; using MLAgents; using UnityEditor; /// <summary> /// Renders a custom UI for Demonstration Scriptable Object. /// </summary> [CustomEditor(typeof(Demonstration))] [CanEditMultipleObjects] public class DemonstrationEditor : Editor { SerializedProperty m_BrainParameters; SerializedProperty m_D...
38.168421
91
0.688913
[ "Apache-2.0" ]
107587084/ml-agents
com.unity.ml-agents/Editor/DemonstrationDrawer.cs
3,626
C#
#if NETFRAMEWORK using Celeste.Mod.CelesteNet.DataTypes; using Mono.Cecil; using Mono.Options; using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Reflection; using System.Text; using System.Threading; ...
34.12987
110
0.644216
[ "MIT" ]
Cruor/CelesteNet
CelesteNet.Server/CelesteNetServerModuleWrapper.Framework.cs
2,630
C#
//this code is taken from https://github.com/microsoft/cntk using CNTK; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NNetwork.Core.network { public class LSTMClassifier { /// <summary> /// This cl...
51.519841
160
0.581684
[ "MIT" ]
amphil123/anndotnet
src/core/nnetwork.core/oldimplementation/LSTMClassifier.cs
12,985
C#
/* Copyright (C) 2021 Kevin Boronka * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE ...
22.25
98
0.637239
[ "BSD-2-Clause" ]
kboronka/sar-tool
sar/Base/Configuration.cs
2,492
C#
using System.Threading.Tasks; using Discord.WebSocket; using Microsoft.AspNetCore.Mvc; using Modix.Data.Models.Core; using Modix.Data.Repositories; using Modix.Models; using Modix.Services.Core; namespace Modix.Controllers { [Route("~/api/config/claims")] public class ClaimsController : ModixController { ...
30.886792
166
0.639585
[ "MIT" ]
333fred/MODiX
Modix/Controllers/ClaimsController.cs
1,639
C#
#if UNITY_2019_3_OR_NEWER using System; using System.Collections.Generic; using UnityEditor.Build.Content; using UnityEditor.Build.Pipeline.Injector; using UnityEditor.Build.Pipeline.Interfaces; using UnityEditor.Build.Pipeline.Utilities; namespace UnityEditor.Build.Pipeline.Tasks { /// <summary> /// Build Ta...
46.564815
160
0.688606
[ "MIT" ]
TalipSalihoglu/Endless-Run-Game
Covid-Run/Library/PackageCache/com.unity.scriptablebuildpipeline@1.7.3/Editor/Tasks/CalculateCustomDependencyData.cs
5,031
C#
/*Copyright (c) 2014, Flip van Toly All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followin...
37.988607
251
0.504908
[ "BSD-2-Clause" ]
PrivateFlip/RoutineMissionManager
GameData/RoutineMissionManager/licences and source/CommercialOfferings/Routine.cs
73,358
C#
using System.Collections.Generic; using SSSGroup.Utilites.FormulaProcessor.DataTypes; namespace SSSGroup.Utilites.FormulaProcessor { public static class Calculator { public static string Evaluate(IEnumerable<Token> expression) { var stack = new Stack<Token>(); foreach ...
34.621622
98
0.459016
[ "MIT" ]
3sgr/DatacapOS
3sgrMath/3sgrMath/FormulaProcessor/Calculator.cs
1,283
C#
// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. #if !(UNITY_FLASH || UNITY_METRO) using System; using UnityEngine; namespace HutongGames.PlayMaker.Actions { [ActionCategory(ActionCategory.Application)] [Tooltip("Saves a Screenshot. NOTE: Does nothing in Web Player. On Android, the re...
27.831579
138
0.596067
[ "Apache-2.0" ]
Drestat/ARfun
ARfun/Assets/PlayMaker/Actions/TakeScreenshot.cs
2,644
C#
using System; using System.Collections.Generic; using System.Text; namespace Application.Hosts.Ports.Events { public class TaskAddedEvent { public string Description { get; } public TaskAddedEvent(string description) { Description = description; } } }
18.294118
49
0.646302
[ "MIT" ]
alvesdm/HexagonalDDDMicroserviceCombo
src/Application.Hosts.Ports/Events/TaskAddedEvent.cs
313
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Xunit; namespace WebIntegration.Tests { // This project can output the Class library as a NuGet Package. // To ...
28.359551
145
0.56775
[ "MIT" ]
shahedc/MinimalCore2Web
WebIntegration/Tests/PrimeTests.cs
2,526
C#
namespace ReferenceAnalyzer.Core.Models { public record Project(string Name, string Path, ReferencesReport? Report = null, EAnalysisStage AnalysisStage = EAnalysisStage.NotStarted) { public ReferencesReport Report { get; set; } = Report ?? ReferencesReport.Empty; public static Project Empty => ...
36.5
142
0.715068
[ "MIT" ]
OptiNav/ReferenceAnalyzer
src/ReferenceAnalyzer.Core/Models/Project.cs
365
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace ProceduralModeling { [RequireComponent (typeof(MeshFilter), typeof(MeshRenderer))] [ExecuteInEditMode] public abstract class ProceduralModelingBase : MonoBehaviour { public Material material; public MeshFilter Fil...
21.867647
103
0.691325
[ "MIT" ]
kaiware007/UnityCloudOfSea
Assets/ProceduralModeling/Scripts/ProceduralModelingBase.cs
1,489
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...
38.992424
211
0.613561
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/DataFactory/V20180601/Inputs/SapOpenHubLinkedServiceArgs.cs
5,147
C#
using Razor.Models; using System.Web.Mvc; namespace Razor.Controllers { public class HomeController : Controller { Product myProduct = new Product { ProductID = 1, Name = "Kayak", Description = "A boat for one person", Category = "Watersports", ...
24.627451
68
0.488057
[ "MIT" ]
plamenti/ProAsp.NetMvc5
5 - Working with Razor/Razor/Razor/Controllers/HomeController.cs
1,258
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using DotVVM.Framework.Configuration; namespace DotVVM.Framework.Hosting { public class AggregateMarkupFileLoader : IMarkupFileLoader { public List<IMarkupFileLoader> Loaders { get; private set; } = new List<IMarkupF...
28.911111
101
0.582629
[ "Apache-2.0" ]
riganti/dotvvm
src/Framework/Framework/Hosting/AggregateMarkupFileLoader.cs
1,303
C#
using RMMVCookTool.CLI.Properties; using RMMVCookTool.Core.Compiler; using RMMVCookTool.Core.Utilities; using Spectre.Console; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Reflection; using System.Runtime.InteropServices; namespace RMMVCookTool.CLI { clas...
58.649554
485
0.491646
[ "MIT" ]
FirehawkV21/RMMVCookTool
RMMVCookTool.CLI/Program.cs
26,277
C#
namespace EasySql.Databases.TypeMappings { public class DoubleTypeMapping : TypeMappingBase { public DoubleTypeMapping() : base(typeof(double), System.Data.DbType.Double) { } } }
21.6
84
0.652778
[ "MIT" ]
jxnkwlp/EasySql
src/EasySql.Core/Databases/TypeMappings/DoubleTypeMapping.cs
218
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using MainApp.EntityFrameworkCore; using Volo.Abp.EntityFrameworkCore; namespace MainA...
38.21493
117
0.437747
[ "MIT" ]
antosubash/abp-add-module-bug
host/MainApp.Web.Unified/Migrations/UnifiedDbContextModelSnapshot.cs
46,586
C#
// *********************************************************************** // Assembly : GuiStracini.Mandae // Author : Guilherme Branco Stracini // Created : 03/10/2017 // // Last Modified By : Guilherme Branco Stracini // Last Modified On : 03/10/2017 // ***********************************...
34.125326
203
0.388217
[ "MIT" ]
guibranco/GuiStracini.Mandae
GuiStracini.Mandae.Tests/V2/MockOrdersRepository.cs
13,083
C#
/* * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * 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 ...
37.377717
175
0.560851
[ "Apache-2.0", "MIT" ]
Inhong/TizenFX
src/Tizen.NUI/src/public/Common/Layer.cs
27,510
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using DateObject = System.DateTime; namespace Microsoft.Recognizers.Text.DateTime { ...
31.961538
91
0.731649
[ "MIT" ]
17000cyh/Recognizers-Text
.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IHolidayParserConfiguration.cs
833
C#
namespace SubtitleEvaluation.Web.Services { public class HostingOptions { public HostingOptions() { VirtualApplicationRootPath = ""; } public string VirtualApplicationRootPath { get; set; } } }
19.307692
62
0.609562
[ "MIT" ]
gvas/subtitle-quality-checker
Services/HostingOptions.cs
251
C#
/* * SmartThings API * * # Overview This is the reference documentation for the SmartThings API. The SmartThings API supports [REST](https://en.wikipedia.org/wiki/Representational_state_transfer), resources are protected with [OAuth 2.0 Bearer Tokens](https://tools.ietf.org/html/rfc6750#section-2.1), and all resp...
64.076923
9,753
0.670512
[ "MIT" ]
KenKilty/SmartThingsNet
src/Api/ScenesApi.cs
34,153
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using KanimLib; namespace KanimExplorer.Wizard { public...
30.1
135
0.736592
[ "MIT" ]
SanchozzDeponianin/kanim-explorer
src/KanimExplorer/Wizard/BuildingPlaceholderGeneratorPage.cs
2,109
C#
using System; using System.Text; using Sandbox; using Sandbox.Graphics.GUI; using Shared.Plugin; using VRage; using VRage.Utils; using VRageMath; namespace ClientPlugin.GUI { public class MyPluginConfigDialog : MyGuiScreenBase { private const string Caption = "PluginTemplate Configuration"; pu...
36.347826
213
0.626077
[ "MIT" ]
ComputerErika/MoreInput
ClientPlugin/GUI/MyPluginConfigDialog.cs
4,180
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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, co...
33.183562
141
0.710122
[ "MIT" ]
TetradogOther/SharpDevelop
src/AddIns/BackendBindings/XamlBinding/XamlBinding.Tests/ResolveContextTests.cs
12,114
C#
using System.Xml.Serialization; using Wps.Client.Utils; namespace Wps.Client.Models.Ows { /// <summary> /// Information for contacting the service provider. /// </summary> [XmlRoot("ServiceContact", Namespace = ModelNamespaces.Ows)] public class ServiceContact { /// <summary> ...
29.538462
71
0.601563
[ "Apache-2.0" ]
52North/wps.net
src/Wps/Wps.Client/Models/Ows/ServiceContact.cs
1,154
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("05...
38.459459
84
0.748419
[ "MIT" ]
dgeshev/-Programming-Fundamentals
Extended mode/08.Array-and-List-Algorithms-Exercises/05.DecodeRadioFrequencies/Properties/AssemblyInfo.cs
1,426
C#
using System; using System.Collections.Generic; using System.ComponentModel; using BannerlordTwitch; using BannerlordTwitch.Helpers; using BannerlordTwitch.Util; using JetBrains.Annotations; using TaleWorlds.CampaignSystem; using TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.Towns; using TaleWorlds.Core; using Xc...
44.028302
138
0.592886
[ "MIT" ]
GoryMoon/Bannerlord-Twitch
BannerlordTwitch/BLTAdoptAHero/Actions/SkillXP.cs
4,667
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Nv { [Serializable] [NvItemId(2014)] [Attributes(9)] public class WcdmaTxLinVsTemp3 { [ElementsCount(8)] [ElementType("int8")] ...
19.52381
43
0.597561
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Nv/WcdmaTxLinVsTemp3I.cs
410
C#
using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; namespace Umbraco.Cms.Core.HealthChecks { /// <summary> /// The status returned for a health check when it performs it check /// TODO: This model will be used in the WebApi result so needs attributes for JSON usage ...
33.491525
113
0.592105
[ "MIT" ]
Lantzify/Umbraco-CMS
src/Umbraco.Core/HealthChecks/HealthCheckStatus.cs
1,978
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...
44.716783
367
0.577606
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/RestorableGremlinResourcesOperations.cs
12,789
C#
using Microsoft.ServiceBus.Messaging; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IEventProcessorHost { class SimpleEventProcessor : IEventProcessor { Stopwatch checkpointStopWatch; asy...
36.137255
149
0.630494
[ "MIT" ]
tkopacz/2016windowsiot-iothub-genericsender
SamplePCClient/IoTClient/IEventProcessorHost/SimpleEventProcessor.cs
1,845
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/projectedfslib.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; namespace Te...
27.933333
145
0.683373
[ "MIT" ]
Perksey/terrafx.interop.windows
sources/Interop/Windows/um/projectedfslib/PRJ_CALLBACK_DATA.cs
1,259
C#