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="ActorPath.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> //-----...
33.73064
151
0.519465
[ "Apache-2.0" ]
EnterpriseProductsLP/akka.net
src/core/Akka/Actor/ActorPath.cs
20,042
C#
using System; using System.Collections.Generic; using System.Text; public class Company { public string Name { get; private set; } public string Department { get; private set; } public decimal Salary { get; private set; } public Company(string compName,string dep,decimal salary) { this.Na...
21.315789
61
0.659259
[ "MIT" ]
ewgeni-dinew/06.C_Sharp-OOP_I
OOP-Fundamentals/01.DefiningClasses/08.Google/Company.cs
407
C#
using System; using GeoAPI.Geometries; namespace NetTopologySuite.Geometries { /// <summary> /// Specifies the precision model of the <c>Coordinate</c>s in a <c>Geometry</c>. /// In other words, specifies the grid of allowable /// points for all <c>Geometry</c>s. /// </summary> /// <remarks> ...
38.061181
121
0.571365
[ "EPL-1.0" ]
ChaplinMarchais/NetTopologySuite
NetTopologySuite/Geometries/PrecisionModel.cs
18,043
C#
#region License, Terms and Author(s) // // ELMAH - Error Logging Modules and Handlers for ASP.NET // Copyright (c) 2004-9 Atif Aziz. All rights reserved. // // Author(s): // // Atif Aziz, http://www.raboof.com // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file excep...
28.081967
89
0.666083
[ "Apache-2.0" ]
JTOne123/ElmahCore
ElmahCore/Assertions/DataBoundAssertion.cs
1,713
C#
using System.Collections.Generic; using System.Collections.ObjectModel; namespace EmpleoDotNet.WebApi.Areas.HelpPage.ModelDescriptions { public class ParameterDescription { public ParameterDescription() { Annotations = new Collection<ParameterAnnotation>(); } public...
26.190476
80
0.68
[ "Unlicense" ]
ArielVillalona/empleo-dot-net
EmpleoDotNet.WebApi/Areas/HelpPage/ModelDescriptions/ParameterDescription.cs
550
C#
using System; using System.Linq; using System.Text.RegularExpressions; using POETradeHelper.Common.Extensions; using POETradeHelper.ItemSearch.Contract.Models; using POETradeHelper.ItemSearch.Contract.Services.Parsers; namespace POETradeHelper.ItemSearch.Services.Parsers { public abstract class ItemParserBase : I...
34.238806
134
0.645161
[ "Apache-2.0", "MIT" ]
alueck/POE-TradeHelper
Source/POETradeHelper.ItemSearch/Services/Parsers/ItemParsers/ItemParserBase.cs
2,296
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Yomiage.GUI.EventMessages { class PauseDictionaryChanged { } }
15.615385
35
0.758621
[ "MIT" ]
InochiPM/YomiageLibrary
Yomiage.GUI/EventMessages/PauseDictionaryChanged.cs
205
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 ...
31.7
134
0.69626
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-vcs/Vcs/Model/V20200515/GetBodyOptionsRequest.cs
2,219
C#
using HarmonyLib; using UnhollowerBaseLib; using UnityEngine; namespace Glaucus { [HarmonyPatch(typeof(GameSettingMenu), nameof(GameSettingMenu.OnEnable))] public static class GameSettingsMenuPatch { public static void Prefix(ref GameSettingMenu __instance) { __instance.HideFor...
25.733333
78
0.712435
[ "MIT" ]
Pandraghon/BetterSabotage
BetterSabotage/GameSettingsPatch.cs
388
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://ww...
44.901961
93
0.684279
[ "MIT" ]
Acidburn0zzz/azure-powershell
src/ResourceManager/PowerBIEmbedded/Commands.PowerBI/Properties/AssemblyInfo.cs
2,240
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Xunit; namespace FreeRedis.Tests.RedisClientTests { public class GeoTests : TestBase { [Fact] public void GetAdd() { cli.Del("TestGeoAdd"); ...
49.155172
138
0.561207
[ "MIT" ]
2881099/FreeRedis
test/Unit/FreeRedis.Tests/RedisClientTests/GeoTests.cs
5,704
C#
using DataProcessor.Contracts; using DataProcessor.Models; namespace DataProcessor.ProcessorDefinition { public class BypassDecoder : IFieldDecoder { public string Pattern { get; set; } public ValidationResultType FailValidationResult { get; set; } = ValidationResultType.Valid; public...
26.444444
100
0.67437
[ "MIT" ]
avalsch/intaker
DataProcessor/DataProcessor/ProcessorDefinition/BypassDecoder.cs
478
C#
using UnityEngine; [RequireComponent(typeof(Rigidbody))] public class PlayerController : MonoBehaviour { Vector3 velocity = Vector3.zero; Vector3 rotation = Vector3.zero; Rigidbody myRigidbody; void Start() { myRigidbody = GetComponent<Rigidbody>(); } public void Move(Vector3 velo...
25.159091
101
0.642276
[ "MIT" ]
TomKauffeld/GMTK-2021
Assets/Scripts/PlayerController.cs
1,107
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;...
27.5
78
0.670996
[ "MIT" ]
jsalmoralp/AutoDidacta-CS-CursoBasico-enVS
CS-wpf-MundoFigurasGeometricas/Calculando Figuras Geometricas/Figuras/2_Dimensiones/Formas_Calculo/Cuadrado.xaml.cs
1,159
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. #pragma warning disable SA1028 // ignore whitespace warnings for generated code using System; using System.Collecti...
37.264151
140
0.610506
[ "MIT" ]
AlFasGD/runtime
src/libraries/System.Security.Cryptography.Pkcs/src/System/Security/Cryptography/Pkcs/Asn1/Rfc3161TstInfo.xml.cs
7,902
C#
using System; using RLSKTD.General.ItemHelpers; using Sirenix.OdinInspector; using Sirenix.Serialization; namespace RLSKTD.General.ItemCategories.ArmorSubcategories{ /// <summary> This is the Neck class </summary> [System.Serializable] public class Neck : Armor { public enum SubType { ...
32.372549
100
0.603876
[ "MIT" ]
Chizaruu/RLSKTD
Assets/Runtime/Scripts/General/Item/Categories/Armor/Subcategories/Neck.cs
1,651
C#
using AgileConfig.Server.Data.Entity; using AgileConfig.Server.Data.Freesql; using AgileConfig.Server.IService; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.Logging; namespace AgileConfig.Server.Service { public clas...
37.146552
130
0.595266
[ "MIT" ]
laolu/AgileConfig
AgileConfig.Server.Service/RegisterCenterService.cs
4,353
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 r...
38.381395
171
0.564227
[ "BSD-3-Clause" ]
BlueWall/opensim
OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs
16,504
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using MAVN.Common.Encryption; using MAVN.Persistence.PostgreSQL.Legacy; using MAVN.Service.CustomerProfile.Domain.Enums; using MAVN.Service.CustomerProfile.Domain.Models; using MAVN.Service.CustomerProfile.Domain.Repositor...
35.507813
110
0.632343
[ "MIT" ]
OpenMAVN/MAVN.Service.CustomerProfile
src/MAVN.Service.CustomerProfile.MsSqlRepositories/Repositories/ReferralLeadProfileRepository.cs
4,547
C#
using UnityEngine; using System.Collections; namespace EasyMobile { // List of all supported ad networks public enum AdNetwork { None, AdColony, AdMob, AppLovin, AudienceNetwork, Chartboost, FairBid, IronSource, MoPub, TapJoy,...
26.328125
52
0.614837
[ "MIT" ]
AndreeBurlamaqui/HyperBeatMIX
Assets/EasyMobile/Scripts/Modules/Advertising/AdNetwork.cs
1,687
C#
#pragma checksum "D:\C#Projects\Algorithms\ContosoUniversity\ContosoUniversity\Pages\Students\Create.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "cc5af23e61cd5d6102661dfcb82e4622566cc5e2" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttrib...
75.382436
351
0.74254
[ "MIT" ]
BaseDorp/AspRazorPagesEfCore
ContosoUniversity/ContosoUniversity/obj/Debug/netcoreapp3.0/Razor/Pages/Students/Create.cshtml.g.cs
26,610
C#
namespace OAuth.Core.Signing { public interface ISignatureGenerator { string SignatureMethod { get; } string Generate(string secret, string signatureBase); } }
23.375
61
0.684492
[ "MIT" ]
YvanSuen/oauth-mvc.net
Core/OAuth.Core/Signing/ISignatureGenerator.cs
187
C#
using System; namespace Serenity.ComponentModel { /// <summary> /// Sets filtering type as "Date" /// </summary> /// <seealso cref="Serenity.ComponentModel.CustomFilteringAttribute" /> public class DateFilteringAttribute : CustomFilteringAttribute { /// <summary>Initializes a...
29.137931
109
0.547929
[ "MIT" ]
CitysoftInfotech/Serenity
Serenity.Core/ComponentModel/Columns/Filtering/BasicFilteringTypes/DateFilteringAttribute.cs
847
C#
using System; using System.Collections.Generic; namespace RSB.Transports.RabbitMQ { public class QueueInfo { public QueueInfo(string queueName) { Name = queueName; Durable = false; Exclusive = false; AutoDelete = true; Arguments = new...
26.481481
66
0.558042
[ "BSD-3-Clause" ]
tomaszkiewicz/rsb
RSB.Transports.RabbitMQ/QueueInfo.cs
717
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Security.Cryptography; using Syste...
36.38539
111
0.587124
[ "Apache-2.0" ]
belav/aspnetcore
src/DataProtection/DataProtection/test/RegistryPolicyResolverTests.cs
14,445
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/oleidl.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; namespace TerraFX.In...
52.887097
151
0.693047
[ "MIT" ]
manju-summoner/terrafx.interop.windows
sources/Interop/Windows/um/oleidl/Windows.cs
6,560
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Compiler { /// <summary> /// Representa el tipo de un símbolo de la gramática. /// </summary> public abstract class GramSymType { public abstract string Name { get; } ...
40.476923
112
0.646142
[ "MIT" ]
CSProjectsAvatar/SimCopIA
Gos/Compiler/GramSymType.cs
2,635
C#
using System; namespace EmployeeVacationCalendar.Domain.Model { /// <summary> /// Calendar day domain model. /// </summary> public class CalendarDay { /// <summary> /// Calendar day date. /// </summary> public DateTime Date { get; set; } /// <summary> /// Calendar day year. /// </summary> public...
18.893939
47
0.574178
[ "MIT" ]
Azloukyassin/EmployeeVacationCalendar-master
EmployeeVacationCalendar.Domain/Model/CalendarDay.cs
1,249
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
32.433962
245
0.615183
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20200301/GetExpressRouteCircuitAuthorization.cs
3,438
C#
/********************************************************************************************************************** FocusOPEN Digital Asset Manager (TM) (c) Daydream Interactive Limited 1995-2011, All Rights Reserved The name and trademarks of copyright holders may NOT be used in advertising or publicity perta...
37.384615
119
0.599794
[ "MIT" ]
MatfRS2/SeminarskiRadovi
programski-projekti/Matf-RS2-FocusOpen/FocusOPEN_OS_Source_3_3_9_5/FocusOPEN.Data/Finders/BrandMetadataSettingFinder.cs
972
C#
using System; using QS.Services; using QS.DomainModel.Entity.EntityPermissions; namespace QS.Permissions { public class DefaultAllowedPermissionService : IPermissionService, ICurrentPermissionService { public IPermissionResult ValidateEntityPermission(Type entityType) { return new PermissionResult(EntityPermi...
23.689655
93
0.79476
[ "Apache-2.0" ]
Art8m/QSProjects
QS.Project/Permissions/DefaultAllowedPermissionService.cs
689
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...
27.605263
102
0.577693
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/DeleteFleetError.cs
2,098
C#
namespace MailCheck.AggregateReport.Parser.Parser { public class ContentType { public const string TextXml = "text/xml"; public const string TextPlain = "text/plain"; public const string ApplicationGzip = "application/gzip"; public const string ApplicationZip = "application/zip"...
38.384615
87
0.707415
[ "Apache-2.0" ]
ukncsc/MailCheck.Public.AggregateReport
src/MailCheck.AggregateReport.Parser/Parser/ContentType.cs
501
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Taskbar.cs" company="WildGums"> // Copyright (c) 2008 - 2014 WildGums. All rights reserved. // </copyright> // ------------------------------------------------------------------...
27.326923
120
0.544921
[ "MIT" ]
Dmitry-VF/Orchestra
src/Orchestra.Core/Windows/Taskbar.cs
4,265
C#
using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace ApplicationWithRazorSdkUsed { public class Startup { public void ConfigureServices(IServiceCollection services) { services.AddLogging(loggingBuilder => ...
26.636364
84
0.674061
[ "Apache-2.0" ]
akrisiun/AspNetCore
src/Mvc/ViewCompilation/testassets/ApplicationWithRazorSdkUsed/Startup.cs
588
C#
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; using SubSonic.Utilities;...
32.625442
299
0.692299
[ "MIT" ]
saludnqn/prosane
RIS_Publico/RIS_Publico/generated/TupTurnosProtegido.cs
18,466
C#
using System; using System.ComponentModel; using System.Windows.Input; using Xamarin.Forms; namespace SwitchDemos { public partial class MainPage : ContentPage { public ICommand NavigateCommand { get; private set; } public MainPage() { InitializeComponent(); N...
22.461538
72
0.587329
[ "Apache-2.0" ]
15217711253/xamarin-forms-samples
UserInterface/SwitchDemos/SwitchDemos/SwitchDemos/MainPage.xaml.cs
586
C#
using System.Data.Entity; using System.Data.SqlClient; namespace Shengtai.Web { public abstract class SqlRepository<TContext> : Repository<SqlConnection, SqlCommand, SqlParameter, TContext> where TContext : DbContext { protected SqlRepository(TContext context = null) : base(context) { ...
25.923077
113
0.688427
[ "Apache-2.0" ]
shengtai0201/ClassLibrary
Shengtai/Web/SqlRepository.cs
339
C#
// <copyright file="IActionExecutor.cs" company="WebDriver Committers"> // Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file //...
36.877551
93
0.700609
[ "Apache-2.0" ]
Acidburn0zzz/selenium
dotnet/src/webdriver/Internal/IActionExecutor.cs
1,809
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Newtonsoft.Json; using System; namespace Bicep.Decompiler.Exceptions { public class ConversionFailedException : Exception { public ConversionFailedException(string message, IJsonLineInfo jsonLineInfo, Exception? innerExce...
30.5
118
0.711475
[ "MIT" ]
AlanFlorance/bicep
src/Bicep.Decompiler/Exceptions/ConversionFailedException.cs
610
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Citp.IO; namespace Citp.Packets.FPtc { public class FPtcSendPatch : FPtcHeader { public const string PacketType = "SPtc"; #region Setup and Initialisation public ...
22.107143
69
0.583199
[ "MIT" ]
HakanL/ACN
Citp/Packets/FPtc/FPtcSendPatch.cs
1,240
C#
 using DiscordMessenger; using Guna.UI2.WinForms; using KrnlAPI; using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Net; using System.Net.Sockets; using System.Windows.Forms; namespace Dagger { public partial class Form1 : Form { // The text la...
25.208
96
0.568391
[ "MIT" ]
AntisocialProgramming/Dagger
Dagger/Forms/Main.cs
3,153
C#
using BitCodeGenerator.Implementations; using BitCodeGenerator.Implementations.TypeScriptClientProxyGenerator; using BitTools.Core.Contracts; using BitTools.Core.Model; using EnvDTE; using EnvDTE80; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.MSBuild; using Microsoft.VisualStudio.ComponentModelHost; usi...
37.67619
228
0.602882
[ "MIT" ]
moshtaba/bit-framework
BitTools/BitVSExtensionV1/BitPackage.cs
15,826
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 CRM.Interface { using Microsoft.Rest; using Models; using System.Collections; using System.Collections.G...
42.25
298
0.571135
[ "MIT" ]
msehudi/cms-accelerator
OData.OpenAPI/odata2openapi/Client/WebpageidExtensions.cs
3,887
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using Azure.Core; namespace Azure.ResourceManager.Resources.Models { /// <summary> The definition of a parameter that can be prov...
42.304348
167
0.672662
[ "MIT" ]
Ramananaidu/dotnet-sonarqube
sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ArmPolicyParameter.cs
1,946
C#
using System; using System.Reflection; namespace Nfantom.ABI.FunctionEncoding.Attributes { [AttributeUsage(AttributeTargets.Class)] public class ErrorAttribute : Attribute { public ErrorAttribute(string name) { this.Name = name; } public string Name { get; set;...
24.166667
79
0.568103
[ "MIT" ]
PeaStew/Nfantom
Nfantom.ABI/FunctionEncoding/Attributes/ErrorAttribute.cs
1,162
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Runtime.Serialization { [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, Inherited = false, AllowMultiple = false)] public sealed class Da...
28.37037
167
0.582898
[ "MIT" ]
71221-maker/runtime
src/libraries/System.Private.DataContractSerialization/src/System/Runtime/Serialization/DataMemberAttribute.cs
1,532
C#
using System.Threading.Tasks; using DayTripper.Data.Scrapper.Scrappers; namespace DayTripper.Data.Scrapper { public class Program { public static async Task Main() { var climbingguideScrapper = new ClimbingGuideScrapper(); await climbingguideScrapper.RunAsync(); ...
19.588235
68
0.651652
[ "MIT" ]
todor-tsankov/day-tripper
Server/Data/DayTripper.Data.Scrapper/Program.cs
335
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace Shoplify.Web.Data.Migrations { public partial class ChangedNotificationTextMaxLengthConstraint : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<string>( ...
30.46875
79
0.542564
[ "MIT" ]
KostadinovK/Shoplify
Shoplify/Shoplify.Data/Migrations/20200310113047_ChangedNotificationTextMaxLengthConstraint.cs
977
C#
// GregorianCalendarTypes.cs // // This code was automatically generated from // ECMA CLI XML Library Specification. // Generator: libgen.xsl [1.0; (C) Sergey Chaban (serge@wildwestsoftware.com)] // Created: Wed, 5 Sep 2001 06:35:19 UTC // Source file: all.xml // URL: http://devresource.hp.com/devresource/Docs/TechPape...
30.072464
78
0.713735
[ "Apache-2.0" ]
121468615/mono
mcs/class/corlib/System.Globalization/GregorianCalendarTypes.cs
2,075
C#
using LibraryManagement.Classes; using Microsoft.Win32; using System; using System.Collections.Generic; using System.Data; 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.Win...
34.381356
103
0.459946
[ "MIT" ]
ap-class-projects/LibraryManagement
LibraryManagement/LibraryManagement/Pages/addEmployeePage.xaml.cs
8,116
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using SalesMvc.Models; namespace SalesMvc.Migrations { [DbContext(typeof(SalesMvcContext))] partial class SalesMvcContextMod...
29.641304
74
0.480381
[ "MIT" ]
ErickNas/WebSystem
SalesMvc/Migrations/SalesMvcContextModelSnapshot.cs
2,729
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Linq; using ShaderTools.CodeAnalysis.Symbols.Markup; using ShaderTools.Utilities; using ShaderTools.Ut...
35.40566
162
0.550759
[ "Apache-2.0" ]
comfanter/HLSLTools-for-Source
src/ShaderTools.CodeAnalysis.Features/Completion/CommonCompletionItem.cs
3,650
C#
/* * Copyright (c) 2010-2021 Achim Friedland <code@ahzf.de> * This file is part of Pipes.NET <https://www.github.com/ahzf/Pipes.NET> * * 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 * ...
24.634615
87
0.671351
[ "Apache-2.0" ]
Vanaheimr/Styx
Styx/Styx/SilverlightTools.cs
1,283
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using dotNET_Chat_Server.Data; namespa...
37.761006
125
0.472185
[ "MIT" ]
michaldomino/dotNET-Chat-Server
Migrations/20201018142711_removeRandom.Designer.cs
12,010
C#
using System; using System.ComponentModel; using System.Globalization; using SFML.Graphics; namespace BlackCoat.Tools { /// <summary> /// Provides conversions between <see cref="string"/> values and <see cref="Color"/> values. /// </summary> /// <seealso cref="System.ComponentModel.ExpandableObjectCon...
56.39759
164
0.629353
[ "Apache-2.0" ]
Neovex/BlackCoat
src/Tools/Inspector/ColorConverter.cs
4,683
C#
using JT809.Protocol.JT809Enums; using JT809.Protocol.JT809Extensions; using JT809.Protocol.JT809SubMessageBody; using System; using System.Buffers; using System.Collections.Generic; using System.Text; namespace JT809.Protocol.JT809Formatters.JT809SubMessageBodyFormatters { public class JT809_0x9200_0x9205Formatt...
35.413793
126
0.718598
[ "MIT" ]
786744873/JT809
src/JT809.Protocol/JT809Formatters/JT809SubMessageBodyFormatters/JT809_0x9200_0x9205Formatter.cs
1,029
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Maestra_productos { public partial class About : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { ...
18.666667
61
0.654762
[ "MIT" ]
wgcv/Ayudantias-Programacion-en-Capas
Clase 5 Dividir dos capas - Maestra_productos(dos capas)/Maestra_productos/About.aspx.cs
338
C#
namespace Xtrimmer.SqlDatabaseBuilder { internal abstract class Currency : DataType { } }
14.714286
47
0.699029
[ "Apache-2.0" ]
Xtrimmer/SqlDatabaseBuilder
src/SqlDatabaseBuilder/DataTypes/Currency/Currency.cs
105
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> //--...
38.708333
181
0.603516
[ "MIT" ]
ChrisDiky/MaterialDesignInXaml.Examples
Calendar/Calendar.Colors/Properties/Resources.Designer.cs
2,789
C#
using System.ComponentModel; using System.Configuration.Install; using System.ServiceProcess; using static System.ServiceProcess.ServiceStartMode; using static Jobs.WindowsService.Configuration.JobsServiceConfigurationSection; using static Jobs.WindowsService.Service; namespace Jobs.WindowsService { [RunInstaller...
35.771429
101
0.498403
[ "MIT" ]
KatoTek/Jobs
WindowsService/JobsServiceInstaller.cs
1,254
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/d2d1_1.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
40.305556
145
0.685045
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/d2d1_1/D2D1_CREATION_PROPERTIESTests.cs
1,453
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; #if UNITY_EDITOR using UnityEditor; [System.Serializable] public class csShurikenEffectEditor : EditorWindow { private float Scale = 1; public GameObject Effect; public Color ShurikenSystemColor = Color.white; static csShurikenEffect...
29.070175
129
0.76041
[ "MIT" ]
Supetorus/GAT185
Assets/External/48 Particle Effect Pack/ShurikenEffectEditor/csShurikenEffectEditor.cs
1,659
C#
using UnityEngine; using UnityEngine.SceneManagement; public class MainMenu : MonoBehaviour { public void PlayGame() { SceneManager.LoadScene(1); } public void QuitGame() { Application.Quit(); } }
15
37
0.633333
[ "MIT" ]
afterglow9000/EndlessRunner
Assets/Scripts/MainMenu.cs
242
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Device.I2c; using System.Threading; using Iot.Device.Vl53L0X; namespace Vl53L0Xsample {...
36.111111
177
0.553846
[ "MIT" ]
Anberm/iot
src/devices/Vl53L0X/samples/Vl53L0X.sample.cs
1,629
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")...
55.806452
182
0.765607
[ "Apache-2.0" ]
bitType/aliyun-openapi-net-sdk
aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeTieringJobsResponseUnmarshaller.cs
3,460
C#
using System; using System.IO; using System.IO.Packaging; using System.IO.Compression; using System.Linq; using System.Text; using System.Collections.Generic; using System.Printing; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using Syste...
37.529933
120
0.539052
[ "BSD-3-Clause" ]
GuillaumeSmartLiberty/SharpVectors
Main/Samples/WpfTestSvgSample/SvgPage.xaml.cs
16,928
C#
namespace android.preference { [global::MonoJavaBridge.JavaClass()] public partial class CheckBoxPreference : android.preference.Preference { internal new static global::MonoJavaBridge.JniGlobalHandle staticClass; static CheckBoxPreference() { InitJNI(); } protected CheckBoxPreference(global::MonoJavaBr...
82.183857
372
0.82032
[ "MIT" ]
beachmiles/androidmono
jni/MonoJavaBridge/android/generated/android/preference/CheckBoxPreference.cs
18,327
C#
/* * Copyright (C) 2021 - 2021, SanteSuite Inc. and the SanteSuite Contributors (See NOTICE.md for full copyright notices) * Copyright (C) 2019 - 2021, Fyfe Software Inc. and the SanteSuite Contributors * Portions Copyright (C) 2015-2018 Mohawk College of Applied Arts and Technology * * Licensed under the Apache...
36.476923
120
0.647828
[ "Apache-2.0" ]
santedb/santedb-model
SanteDB.Core.Model/Constants/ContainerCapKeys.cs
2,373
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Camera_Follow : MonoBehaviour { public GameObject player; private Vector3 offset; // Use this for initialization void Start () { offset = transform.position - player.transform.position; GetComponent<C...
19.034483
59
0.701087
[ "BSD-3-Clause" ]
ZzupleItInc/Zzuple-It
Assets/Scripts/Camera_Follow.cs
554
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. // This code was generated by an automated template. using Mosa.Compiler.Framework; namespace Mosa.Platform.ARMv8A32.Instructions { /// <summary> /// Cmfe - Compare floating with exception compare /// </summary> /// <seealso cref="Mosa.Platform.A...
31.632653
76
0.748387
[ "BSD-3-Clause" ]
Arakis/MOSA-Project
Source/Mosa.Platform.ARMv8A32/Instructions/Cmfe.cs
1,550
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
39.837209
123
0.730881
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Network/V20200701/Outputs/ApplicationGatewayRewriteRuleActionSetResponse.cs
1,713
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using System.ComponentModel; using Dapper; using DapperExtensions; using DapperExtensions.Mapper; namespace WFCommon { public class WF_M_CUSTOM_CLASSMAPPER : ClassMapper<WF_M_CUSTOM> { public WF_M_CUSTOM_C...
28.095238
64
0.711017
[ "MIT" ]
suiyanxiang/XinSiYuanKanBan
sourcecode/WFCommon/Entities/WF_M_CUSTOM.cs
1,180
C#
using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using Microsoft.Band.Portable; using Microsoft.Band.Portable.Sensors; using PunchingBand.Recognition; using System; using System.ComponentModel; using System.IO; using System.Threading.Tasks; namespace PunchingBand.Models { public ...
32.397906
183
0.624596
[ "Apache-2.0" ]
scottlerch/PunchingBand
PunchingBand/Models/PunchBand.cs
6,190
C#
using Microsoft.AspNetCore.Mvc; namespace WebApp.Controllers { public class ShoppingCartController : Controller { public IActionResult Index() { return View(); } } }
16.615385
52
0.601852
[ "MIT" ]
mauroservienti/microservices-done-right-demos
3-view-cart/WebApp/Controllers/ShoppingCartController.cs
218
C#
'From MIT Squeak 0.9.4 (June 1, 2003) [No updates present.] on 30 August 2016 at 6:59:49 pm'! "Change Set: RSPRover Date: 27 August 2016 Author: EiichiroIto This is change file of RSPRover(Remote Sensor Protocol Rover) program"! Object subclass: #Base64Decoder instanceVariableNames: 'out in ' classVariableName...
12,867
12,867
0.670708
[ "MIT" ]
EiichiroIto/RSPRover
RSPRover.cs
12,867
C#
namespace Interface.Services { class BrazilTaxService : ITaxService { public double Tax(double amount) { if(amount <= 100.00) { return amount * 0.2; } else { return amount * 0.15; } }...
18.277778
40
0.398176
[ "MIT" ]
MateusMacial/Udemy_CSharp
secao_14/01_Interface_Exercicio_Resolvido/Interface/Services/BrazilTaxService.cs
331
C#
using System.Collections; using System.Collections.Generic; using Unity.Entities; using Unity.Mathematics; using UnityEngine; public class LifetimeSystem : SystemBase { protected override void OnUpdate() { float deltaTime = Time.DeltaTime; Entities.ForEach((ref LifetimeComponent lifetime) => ...
22.047619
91
0.669546
[ "MIT" ]
guidoarkesteijn/unity-hybrid-ecs
Assets/Scripts/Lifetime/LifetimeSystem.cs
465
C#
using System; using System.Collections.Immutable; using System.Data; using System.Data.SQLite; using System.IO; using System.Linq; using System.Threading.Tasks; using Wabbajack.Common; using Wabbajack.DTOs.Streams; using Wabbajack.Hashing.xxHash64; using Wabbajack.Paths; using Wabbajack.Paths.IO; namespace Wabbajack.V...
34.256
120
0.567492
[ "Unlicense" ]
wabbajack-tools/wabbajack
Wabbajack.VFS/VFSCache.cs
4,282
C#
using System; using System.Collections.Generic; using System.Reflection; namespace System.Data.Dabber { public static partial class SqlMapper { private sealed partial class DapperRow : System.Dynamic.IDynamicMetaObjectProvider { System.Dynamic.DynamicMetaObject System.Dynamic.IDyna...
39.961905
160
0.558627
[ "MIT" ]
erikzhouxin/NDabber
src/Dabber/SqlMapper.DapperRowMetaObject.cs
4,198
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataStructures { class Program { static void Main(string[] args) { Example.SUb(); //Example example = new Example(); ...
18.926829
53
0.514175
[ "MIT" ]
kotikavoori/Back2Basics
DataStructures/Program.cs
778
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Text; using OfaSchlupfer.TextTemplate.Runtime; using OfaSchlupfer.TextTemplate.Syntax; namespace OfaSchlupfer.TextTemplate.Functions { /// <summary> /// A datetime object represents an instant in time, expressed as a date ...
47.111111
183
0.530536
[ "MIT" ]
FlorianGrimm/OfaSchlupfer
OfaSchlupfer.Elementary/TextTemplate/Functions/DateTimeFunctions.cs
16,112
C#
 namespace Ink.Parsed { internal class Gather : Parsed.Object, IWeavePoint, INamedContent { public string name { get; set; } public int indentationDepth { get; protected set; } public Runtime.Container runtimeContainer { get { return (Runtime.Container) runtimeObject; } } pub...
29.77551
103
0.561343
[ "MIT" ]
Kalus/ink
inklecate/ParsedHierarchy/Gather.cs
1,461
C#
/* Copyright 2010 MCSharp team (Modified for use with MCZall/MCSong) Licensed under the Educational Community 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.osedu.org/licenses/ECL-2.0 Unless required by ...
43.613636
112
0.645649
[ "ECL-2.0" ]
727021/MCSong
MCSong/Commands/CmdBotSummon.cs
1,919
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; using System.Data; public partial class Metricas : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!Is...
37.225225
141
0.653195
[ "MIT" ]
wolfghost9898/Proyectos
IPC2/IPC FASE II/Metricas.aspx.cs
4,134
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConfigEditor { class Variable { public Variable(string typ, string nam, string val) { type = typ; name = nam; value = v...
25.428571
80
0.463739
[ "MIT" ]
jannesavonia/UIprogramming2021_EF20SP_source
ConfigEditor/ConfigFile.cs
1,960
C#
namespace Decapent.Ledger.Api.Dtos { public sealed class LedgerEventDto { public string Id { get; set; } public string Date { get; set; } public string Type { get; set; } public string Description { get; set; } public string Author { get; set; } public stri...
20.181818
47
0.572072
[ "Unlicense" ]
decapent/family-ledger
Decapent.Ledger/Decapent.Ledger.Api/Dtos/LedgerEventDto.cs
446
C#
using MinimizersCore.Models; using System; using System.Collections.Generic; namespace MinimizersCore { /// <summary> /// Extractor that implements "2.3. A mixed strategy" from article: http://www.csri.utoronto.ca/~wayne/research/papers/minimizers.pdf <para/> /// End minimizers are extracted from windows ...
39.325926
145
0.521002
[ "MIT" ]
anniekovac/minimizers
c#/Extractor.cs
5,311
C#
/* Written by Peter O. Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ If you like this, you should donate to Peter O. at: http://peteroupc.github.io/ */ using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text.Regul...
31.012346
79
0.606688
[ "CC0-1.0" ]
Happypig375/Numbers
Test/ExtensiveTest.cs
2,512
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using WebApi.Helpers; namespace WebApi.Migrations.SqliteMigrations { [DbContext(typeof(SqliteDataContext))] partial class SqliteDataContex...
30.181818
69
0.542169
[ "MIT" ]
archi-2D/authenticationMS
Migrations/SqliteMigrations/SqliteDataContextModelSnapshot.cs
1,330
C#
using System.Linq; using System.Text; using StreamRC.Streaming.Stream; using StreamRC.Streaming.Stream.Chat; using StreamRC.Streaming.Stream.Commands; namespace StreamRC.Streaming.Polls.Commands { public class PollInfoCommandHandler : StreamCommandHandler { readonly PollModule module; public Poll...
38.717391
116
0.625491
[ "Unlicense" ]
telmengedar/StreamRC
Streaming/Polls/Commands/PollInfoCommandHandler.cs
1,783
C#
using DevExpress.ExpressApp.Utils; namespace Xpand.Extensions.XAF.ObjectExtensions{ public static partial class ObjectExtensions{ public static string CompoundName(this object obj) => CaptionHelper.ConvertCompoundName($"{obj}"); } }
35.714286
106
0.764
[ "Apache-2.0" ]
mbogaerts/DevExpress.XAF
src/Extensions/Xpand.Extensions.XAF/ObjectExtensions/CompoundName.cs
252
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Threading; namespace Roslyn.Utilities { [ExcludeFromCodeCoverage] internal class CancellableFuture<TArg, T> { private NonReentrantLock gate; private Func<TArg, CancellationToken, T> valueFactory; private T value; ...
26.153846
79
0.527206
[ "Apache-2.0" ]
enginekit/copy_of_roslyn
Src/Workspaces/Core/Utilities/CancellableFuture`2.cs
1,360
C#
using RequestSender.Properties; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Security; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading; using System.Threading.Tasks; using TrafficViewerSDK; using TrafficView...
30.186528
121
0.60333
[ "Apache-2.0" ]
Bhaskers-Blu-Org1/HTTP-BlackOps
RequestSender/RequestSender.cs
5,828
C#
using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Jobs; using StackExchange.Profiling.Helpers; namespace Benchmarks { [SimpleJob(RuntimeMoniker.Net472)] [SimpleJob(RuntimeMoniker.Net50)] [Config(typeof(Configs.Full))] public class StackTraceSnippetBenchmarks { private MiniProfilerBen...
30.285714
99
0.721698
[ "MIT" ]
MarkZither/dotnet
benchmarks/MiniProfiler.Benchmarks/Benchmarks/StackTraceSnippetBenchmarks.cs
638
C#
using System.Web; using System.Web.Mvc; namespace WebCarManager { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
19
80
0.657895
[ "MIT" ]
hossmi/beca-dotnet-2019
WebCarManager/App_Start/FilterConfig.cs
268
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RotatingObstacle : MonoBehaviour { public float speed; public Vector3 rotationAxis; private void Start() { rotationAxis.Normalize(); } // Update is called once per frame void Update() ...
18.809524
64
0.673418
[ "MIT" ]
AniolAndres/FunBallRace
FunRace/Assets/Scripts/RotatingObstacle.cs
397
C#
using FIMSpace.Basics; using UnityEngine; namespace FIMSpace.FTail { /// <summary> /// FM: Using FTail_MovementSinus calculations to animate tail with simple movement in fixed update /// We disconnecting cape in demo, because it's attached to skeleton and root transform is /// moving in FixedUpdate, t...
37.17284
162
0.57539
[ "MIT" ]
Kingminje/AR_Plant-Growth-ARKit-
FImpossible Games/Tail Animator/Demo Tail Animator/Scripts/FTail_Demo_FixedUpdateLimit.cs
6,024
C#
using Volo.Abp.Application; using Volo.Abp.Modularity; using Volo.Abp.VirtualFileSystem; namespace Acme.BookStore.BookManagement { [DependsOn( typeof(BookManagementDomainSharedModule), typeof(AbpDddApplicationModule) )] public class BookManagementApplicationContractsModule : AbpModule ...
22.266667
69
0.736527
[ "MIT" ]
271943794/abp-samples
BookStore-Modular/modules/book-management/src/Acme.BookStore.BookManagement.Application.Contracts/BookManagementApplicationContractsModule.cs
336
C#
namespace NodeCanvas.Framework { ///<summary>This is a very special dummy class for variable header separators</summary> public class VariableSeperator { public VariableSeperator() { } public bool isEditingName { get; set; } } }
29
91
0.678161
[ "Apache-2.0" ]
Grumpy-Bear-Games/Duality-Prototype
Assets/ParadoxNotion/CanvasCore/Framework/Runtime/Variables/VariableSeparator.cs
263
C#