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
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using EconRentCar.Core; using EconRentCar.DataModel; using EconRentCar.Logics.ViewModels; using EconRentCar.Logics.Services; using AutoMapper; using Microsof...
29.5
121
0.769231
[ "MIT" ]
erickconcepcion/EconRentCarWeb
EconRentCarWeb/EconRentCar.Api/Controllers/VehiculosController.cs
769
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...
55.107143
261
0.692644
[ "MIT" ]
3quanfeng/azure-powershell
src/RedisEnterpriseCache/generated/api/Support/PrivateEndpointConnectionProvisioningState.cs
6,061
C#
// ----------------------------------------------------------------------- // <copyright file="ProbeUpdateException.cs" company="Petabridge, LLC"> // Copyright (C) 2015 - 2019 Petabridge, LLC <https://petabridge.com> // </copyright> // ----------------------------------------------------------------------- using...
33.56
98
0.539928
[ "Apache-2.0" ]
Aaronontheweb/akkadotnet-healthcheck
src/Akka.HealthCheck/ProbeUpdateException.cs
841
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright> // Copyright (c) Microsoft. All rights reserved. // </copyright> // -------------------------------------------------------------------------------------------------------------------...
31.294872
152
0.542401
[ "MIT" ]
fearthecowboy/xunit-vstest-shim
src/Xunit.Microsoft.VisualStudio.TestTools.UnitTesting/Assert.cs
2,441
C#
namespace Chapter02.Examples.SOLID.BreakingD { public class Reader { public virtual string Read(string filePath) { // implementation how to read file contents // complex logic return ""; } } }
20.461538
55
0.552632
[ "MIT" ]
PacktWorkshops/The-C-Sharp-Workshop
Chapter02/Examples/SOLID/BreakingD/Reader.cs
268
C#
using System.Threading.Tasks; using Volo.Abp.Application.Services; namespace Laison.Lapis.Identity.Application.Contracts { public interface IProfileAppService : IApplicationService { Task<ProfileDto> GetAsync(); Task<ProfileDto> UpdateAsync(UpdateProfileDto input); Task ChangePasswor...
25.857143
61
0.748619
[ "MIT" ]
zwcm2007/Lapis.Framework
Laison.Lapis.Identity/src/Laison.Lapis.Identity.Application.Contracts/Profile/IProfileAppService.cs
364
C#
using Amazon.DynamoDBv2.DocumentModel; using Amazon.DynamoDBv2.Model; using Amazon.Lambda.Core; using Amazon.Lambda.DynamoDBEvents; using Amazon.SQS; using Amazon.SQS.Model; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; // Assembly attribute to ...
36.68595
123
0.545168
[ "MIT" ]
qccoders/serverless-pizza
src/router/Function.cs
4,439
C#
using System; public class Product { private string name; private decimal cost; public Product(string name, decimal cost) { this.Name = name; this.Cost = cost; } public string Name { get { return this.name; } set { if (string.IsNullOrEm...
17.666667
72
0.462264
[ "MIT" ]
maio246/CSharp-OOP-Basic
E04. Shopping Spree/Product.cs
744
C#
namespace CloudRoboticsDefTool { partial class EditAppMasterForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary...
58.346269
169
0.629541
[ "MIT" ]
seijim/cloud-robotics-azure-platform-v1-sdk
CloudRoboticsDefTool/CloudRoboticsDefTool/editAppMasterForm.Designer.cs
19,548
C#
using System; using System.Collections.Generic; using System.Text; namespace TMDbApiDom.Dto.Movies { public class MovieExternalID { public string imdb_id { get; set; } public string facebook_id { get; set; } public string instagram_id { get; set; } public string twitter_id { ge...
23.375
48
0.636364
[ "MIT" ]
kiritodom53/TMDBApiDom
TMDbApiDom/Dto/Movies/MovieExternalID.cs
376
C#
using System; using System.Data.Entity; using System.Linq; using System.Linq.Dynamic; using Discord; using Fclp; using Fclp.Internals.Extensions; using SkillBot.Utilities; namespace SkillBot.Commands { class UpdatePrices : ICommand { public string GetCommandName() { return "update_pri...
28.92
116
0.482711
[ "Unlicense", "MIT" ]
duke605/SkillBot
SkillBot/Commands/UpdatePrices.cs
2,894
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel; using UniRx; namespace Xamarin.Forms.Platform.Unity { public class EditorRenderer : ViewRenderer<Editor, UnityEngine.UI.InputField> { /*---------------------------------...
20.482759
93
0.59638
[ "MIT" ]
aosoft/Xamarin.Forms.Unity
Assets/Xamarin.Forms.Unity/Xamarin.Forms.Platform.Unity/Scripts/Renderers/EditorRenderer.cs
2,378
C#
namespace Gastromio.Notification.Smtp { public class SmtpEmailConfiguration { public string ServerName { get; set; } public int Port { get; set; } public string UserName { get; set; } public string Password { get; set; } } }
22.307692
46
0.572414
[ "MIT" ]
marartz/FoodOrderSystem
src/Gastromio.Notification.Smtp/SmtpEmailConfiguration.cs
292
C#
using System; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Description; namespace Assimalign.Insights.Emails.Bindings { [Binding] [ConnectionProvider(typeof(StorageAccountAttribute))] [AttributeUsage(AttributeTargets.ReturnValue | AttributeTargets.Parameter)] public class BlobAccessorA...
27
87
0.686869
[ "Apache-2.0" ]
Assimalign-LLC/asal-erp
src/web/domains/generic/Assimalign.Insights/Assimalign.Insights.Emails/Bindings/BlobAccessorAttribute.cs
893
C#
using System.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Wexflow.DotnetCore.Tests { [TestClass] public class Wait { [TestInitialize] public void TestInitialize() { } [TestCleanup] public void TestCleanup() ...
21.344828
66
0.541195
[ "MIT" ]
mohammad-matini/wexflow
tests/dotnet-core/Wexflow.DotnetCore.Tests/Wait.cs
621
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Code.Grid; using Code.Models; using UnityEngine; namespace Code.Helpers { /// <summary> /// Contains methods for pathfinding /// </summary> public static class PathfindingHelper { //The cost of movem...
55.342342
216
0.664659
[ "MIT" ]
gspentzas1991/Knight-Dudes
Assets/Code/Helpers/PathfindingHelper.cs
6,145
C#
using System; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using SFA.DAS.Encoding; using SFA.DAS.Reservations...
42.848101
190
0.635746
[ "MIT" ]
FeatureToggleStudy/das-reservations
src/SFA.DAS.Reservations.Web/Controllers/EmployerReservationsController.cs
16,927
C#
namespace VAdvantage.Model { /** Generated Model - DO NOT CHANGE */ using System; using System.Text; using VAdvantage.DataBase; using VAdvantage.Common; using VAdvantage.Classes; using VAdvantage.Process; using VAdvantage.Model; using VAdvantage.Utility; using System.Data; /** Generated Model for CM_Subscribe * @aut...
23.783019
108
0.733241
[ "Apache-2.0" ]
AsimKhan2019/ERP-CMR-DMS
ViennaAdvantageWeb/ModelLibrary/ModelAD/X_CM_Subscribe.cs
5,042
C#
/* Written by Peter O. in 2013. 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; namespace PeterO.Numbers { internal static class BigNumberFlags { internal const int...
32.366667
75
0.748713
[ "MIT" ]
gebogebogebo/WebAuthnModokiDesktop
Source/WebAuthnModokiDesktop/WebAuthnModokiDesktop/OSS/Numbers/BigNumberFlags.cs
971
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.625
178
0.60338
[ "MIT" ]
furkanevran/Evran-Barkod
Evran Barkod/Properties/Resources.Designer.cs
2,783
C#
using System; namespace Milvasoft.Helpers.DataAccess.EfCore.Attributes; /// <summary> /// Specifies that the value field value should be encrypted. /// </summary> [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)] public class MilvaEncryptedAttribute : Attribute { }
25.416667
85
0.777049
[ "MIT" ]
Milvasoft/Milvasoft
Milvasoft.Helpers/DataAccess/EfCore/Attributes/MilvaEncryptedAttribute.cs
307
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 ...
38.585366
99
0.770544
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-linkedmall/Linkedmall/Transform/V20180116/NotifyPayOrderStatusResponseUnmarshaller.cs
1,582
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 Microsoft.PowerBI.Api.Models { using Newtonsoft.Json; /// <summary> /// Defines values for DatasourceUserAc...
32.122807
121
0.61988
[ "MIT" ]
DhyanRathore/PowerBI-CSharp
sdk/PowerBI.Api/Source/Models/DatasourceUserAccessRight.cs
3,662
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.Runtime.InteropServices; internal static partial class Interop { internal static pa...
43.851064
118
0.63804
[ "MIT" ]
Amy-Li03/winforms
src/System.Windows.Forms.Primitives/src/Interop/UiaCore/Interop.ISelectionProvider.cs
2,063
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GameOfLife { public class ObservableObject : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; public void OnPropertyChange...
21.857143
70
0.795207
[ "Apache-2.0" ]
teo-mateo/GameOfLifeWPF
GameOfLife/ObservableObject.cs
461
C#
using Akka.Actor; using Akka.Event; using Akka.Logger.Serilog; namespace DaaSDemo.Provisioning.Actors { /// <summary> /// The base class for Receive-style actors. /// </summary> public abstract class ReceiveActorEx : ReceiveActor { /// <summary> /// Create a new <see...
25
101
0.5728
[ "MIT" ]
DimensionDataResearch/daas-demo
src/DaaSDemo.Provisioning/Actors/ReceiveActorEx.cs
625
C#
using UnityEngine; using UnityEngine.UI; namespace alexnown { [ExecuteInEditMode] public class GradientTextureGenerator : MonoBehaviour { private const string DefaultShaderName = "Unlit/BlendWithRotatable"; public Gradient Gradient; [Range(0, 360)] public int Angle; ...
33.131148
110
0.549728
[ "MIT" ]
alexnown/UI-Forge
Assets/Tools/Scripts/Gradient/GradientTextureGenerator.cs
4,044
C#
using Microsoft.VisualStudio.Shared.VSCodeDebugProtocol.Messages; using Neo.VM; using NeoDebug.Models; using NeoDebug.VariableContainers; using NeoFx; using NeoFx.Models; using NeoFx.Storage; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; usin...
38.612245
170
0.536866
[ "MIT" ]
Anzimator1/neo-debugger
src/adapter2/InteropServices/InteropService.cs
7,570
C#
using UnityEngine; namespace kleberswf.tools.miniprofiler { #if UNITY_5 [HelpURL("http://kleber-swf.com/docs/mini-profiler/#framerate-value-provider")] #endif public class FramerateValueProvider : AbstractValueProvider { private int _frameCount; private float _dt; private float _fps; ...
27.419355
80
0.571765
[ "MIT" ]
IllusionMods/HSPlugins
UsefulStuff.Core/MiniProfiler/FramerateValueProvider.cs
852
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Xaml.Interactions.Core { using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; u...
36.890071
230
0.551668
[ "MIT" ]
ajpinedam/Uno.XamlBehaviors
src/BehaviorsSDKManaged/Microsoft.Xaml.Interactions/Core/CallMethodAction.cs
10,405
C#
/* Copyright 2010-present MongoDB 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 to in wr...
32.555556
81
0.722696
[ "Apache-2.0" ]
BorisDog/mongo-csharp-driver
src/MongoDB.Driver/Linq/Linq3Implementation/Ast/Filters/AstMatchesNothingFilter.cs
1,174
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using HolisticWare.Ph4ct3x.Judo.Views; namespace HolisticWare.Xamarin.Forms.Services { public partial class NavigationService { public async Task PushPageSearchJudo() { ...
22.355556
77
0.567594
[ "MIT" ]
HolisticWare-Applications/Ph4ct3x
samples/playground/Judo/HolisticWare.Ph4ct3x.Judo.UI.MVVM.Shared/Services/NavigationService.cs
1,008
C#
#pragma checksum "C:\Users\andre\Documents\ProgramasUniBrasil\3SM-ES\ProjetoDefinitivo\AlimentosMarfim4.0\Trabalho-Bonilha\AlimentosMarfim\Areas\Identity\Pages\Account\ResetPasswordConfirmation.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9fa2ad01473fa832304d2166b6c6d5536eb62725" // <auto-generated/> #pragma warni...
62.162602
298
0.776354
[ "Apache-2.0" ]
LuiizFellipe/AlimentosMarfim
obj/Debug/netcoreapp3.1/Razor/Areas/Identity/Pages/Account/ResetPasswordConfirmation.cshtml.g.cs
7,646
C#
/* The MIT License (MIT) Copyright (c) 2007 - 2019 Microting A/S 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, copy, modify...
36.764706
78
0.7728
[ "MIT" ]
Gid733/eform-monitoring-base
Microting.EformMonitoringBase/Infrastructure/Enums/RuleType.cs
1,252
C#
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using GalaSoft.MvvmLight.Messaging; using JuryApp.Core.Models.Collections; using JuryApp.Core.Services; using JuryApp.Core.Services.Interfaces; using JuryApp.Services; namespace JuryApp.ViewModels { public class TeamsViewModel : ViewModelBase { ...
28.428571
113
0.653894
[ "MIT" ]
JegorRysskin/boektquizt-jordydriesjegor_enterprisemobile
Frontend/JuryApp/JuryApp/ViewModels/TeamsViewModel.cs
1,594
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...
35.1
86
0.678632
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20190901/Outputs/VpnClientConnectionHealthResponse.cs
1,755
C#
//----------------------------------------------------------------------------- // Torque // Copyright GarageGames, LLC 2011 //----------------------------------------------------------------------------- singleton GuiControlProfile( MissionAreaEditorProfile ) { canKeyFocus = true; opaque = true; fillColor = ...
27.846154
79
0.38674
[ "MIT" ]
AnteSim/Verve
Demos/VerveTutorialBase/game/tools/missionAreaEditor/missionAreaEditor.ed.cs
362
C#
using System; using JustConveyor.Contracts; namespace JustConveyor { internal class SupplierInstance { public string Name { get; set; } public ConveySupplierContract Supplier { get; set; } public int SuppliedPackagesCount { get; set; } public int ErrorsCount { get; set; } ...
28.857143
73
0.605611
[ "BSD-3-Clause" ]
vsk-insurance-company/JustConveyor
src/JustConveyor/SupplierInstance.cs
606
C#
using System.Diagnostics.CodeAnalysis; using Microsoft.AspNetCore.Mvc.RazorPages; namespace THNETII.WebServices.WebDav.Sample.Pages { public class IndexModel : PageModel { [SuppressMessage("Performance", "CA1822: Mark members as static")] public void OnGet() { } } }
19.625
74
0.671975
[ "MIT" ]
thnetii/webservices
sample/THNETII.WebServices.WebDav.Sample/Pages/Index.cshtml.cs
314
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Web; namespace NHS111.Web.Helpers { public static class Versioning { private static string _version; private static readonly Concurren...
27.924731
126
0.577975
[ "Apache-2.0" ]
NHSChoices/nhs111-online
NHS111/NHS111.Web/Helpers/Versioning.cs
2,599
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> //---...
46
115
0.67893
[ "MIT" ]
hakpurum/Jobnium
Jobnium/Jobnium/obj/Debug/netcoreapp2.0/Jobnium.AssemblyInfo.cs
1,196
C#
using System.Linq; using System.Threading; using System.Threading.Tasks; using Alamut.Data.Paging; using Microsoft.EntityFrameworkCore; namespace Alamut.Data.NoSql { public static class DynamicCriteriaPaginationExtensions { /// <summary> /// Creates an <see cref="IPaginated{T}" /> instance fro...
41.085714
114
0.634214
[ "MIT" ]
SorenZ/Alamut.Data
src/Alamut.Data/NoSql/DynamicCriteriaPaginationExtensions.cs
1,440
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace ASPNET4YOU.AzureKeyVault { public class SampleKeyWrapping { private readonly SampleKeyVault vault; public SampleKeyWrapping(SampleKeyVault sampleKeyVault) { ...
38.081081
125
0.659333
[ "MIT" ]
aspnet4you/AzureKeyVault
AzureKeyVaultSamples/SampleKeyWrapping.cs
1,411
C#
using System; namespace NetlifySharp { public partial class NetlifyException : Exception { } }
13.5
53
0.694444
[ "MIT" ]
daveaglick/NetlifySharp
src/NetlifySharp/NetlifyException.cs
110
C#
using System; using System.IO; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using System.Xml; using ConscriptDesigner.Control; using ZeldaWpf.Util; namespace ConscriptDesigner.Anchorables { public class OutputConsole : RequestCloseAnchorable {...
31.502183
95
0.548517
[ "MIT" ]
trigger-death/ZeldaOracle
ZeldaOracle/ConscriptDesigner/Anchorables/OutputConsole.cs
7,216
C#
using System.Collections.Generic; using System.Linq; using IEnumerableCorrelater.Interfaces; namespace IEnumerableCorrelater.CollectionWrappers { static class CollectionWrapperFactory { public static ICollectionWrapper<T> ToCollectionWrapper<T>(this IEnumerable<T> collection) { swi...
35.681818
98
0.657325
[ "MIT" ]
ZviRosenfeld/IEnumerableCompare
IEnumerableCorrelater/CollectionWrappers/CollectionWrapperFactory.cs
787
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MpNG { public enum TargetTypes { None, Mp3, Png } }
13.5
33
0.643519
[ "MIT" ]
DarkIrata/MpNG
MpNG/TargetTypes.cs
218
C#
//------------------------------------------------------------------------------ // <auto-generated> // Il codice è stato generato da uno strumento. // Versione runtime:4.0.30319.42000 // // Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se // il c...
41.369458
172
0.580853
[ "MIT" ]
arabello/sismio
Sismio/Sismio/Properties/Resources.Designer.cs
8,404
C#
using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Fan.Data { /// <summary> /// Sql implementation of the <see cref="IMetaRepository"/> contract. /// </summary> public class SqlMetaRepository : EntityRepository<Meta>, IMeta...
34.771429
110
0.606409
[ "Apache-2.0" ]
URIS-2021-2022/tim-5---fanray-tim-5-fanray
src/Core/Fan/Data/SqlMetaRepository.cs
1,219
C#
/* Copyright 2015-present MongoDB 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 t...
32.987013
102
0.628346
[ "MIT" ]
naivetang/2019MiniGame22
Server/ThirdParty/MongoDBDriver/MongoDB.Driver/Linq/Expressions/OrderByExpression.cs
2,540
C#
using NLog; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace ScanMonitorApp { public class DocTextAndDateExtractor { private static Logger logger = LogManager.Ge...
46.204
336
0.439507
[ "MIT" ]
robdobsn/ScanMonitor
ScanMonitorApp/ScanMonitorApp/DocTextAndDateExtractor.cs
46,206
C#
using Abp.Application.Services; using Abp.Application.Services.Dto; using AspnetboilerplateDemo.Countries.Dto; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AspnetboilerplateDemo.Countries { public interface ICountryAppServices : IAsy...
28.764706
140
0.807771
[ "MIT" ]
arvindaspnetdev/AspNetZeroDemo
aspnet-core/src/AspnetboilerplateDemo.Application/Countries/ICountryAppServices.cs
491
C#
using CoreML; namespace BuildIt.ML { public class Feature { public string Name { get; set; } public virtual MLFeatureType Type { get; set; } } }
15.909091
55
0.6
[ "MIT" ]
builttoroam/BuildIt
src/BuildIt.ML/BuildIt.ML/Platforms/Ios/Feature.cs
177
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MasodikvalodiCSsharpProjekt { class Program { static void Main(string[] args) { /* int szam = 0; Console.WriteLine("Kérek két számot: "); ...
26.939024
78
0.436849
[ "MIT" ]
SzucsRoland99/gyakorlasfo
MasodikvalodiCSsharpProjekt/MasodikvalodiCSsharpProjekt/Program.cs
2,236
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.226415
107
0.689426
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/GuardDuty/Generated/Model/GetInvitationsCountResponse.cs
1,655
C#
using System.IO; namespace Twilio.OwlFinance.Infrastructure.Docusign { public class FileHelpers { public static void CopyStream(Stream input, Stream output) { byte[] buffer = new byte[8 * 1024]; int len; while ((len = input.Read(buffer, 0, buffer.Length)) > ...
24.352941
68
0.524155
[ "MIT" ]
jonedavis/OwlFinanceDemo
api/projects/Twilio.OwlFinance.Infrastructure.Docusign/FileHelpers.cs
416
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace AccessibilityInsights.Automation { /// <summary> /// Class to stop AccessibilityInsights (via StopCommand.Execute). Can only be successfully cal...
35.585366
109
0.568197
[ "MIT" ]
babylonbee/accessibility-insights-windows
src/AccessibilityInsights.Automation/StopCommand.cs
1,419
C#
using System; using System.Collections.Generic; using KoiVM.AST.IL; using KoiVM.VM; namespace KoiVM.VMIL.Transforms { public class FixMethodRefTransform : IPostTransform { HashSet<VMRegisters> saveRegs; public void Initialize(ILPostTransformer tr) { saveRegs = tr.Runtime.Descriptor.Data.LookupInfo(...
25.9
98
0.711712
[ "CC0-1.0" ]
ElektroKill/KoiVM
KoiVM/VMIL/Transforms/FixMethodRefTransform.cs
779
C#
using System.Reflection; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("Geometry")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProd...
28.125
66
0.743333
[ "MIT" ]
tk-yoshimura/Geometry
Geometry/Properties/AssemblyInfo.cs
1,383
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Reflection; using System.Text; using FLS.Data.WebApi; namespace FLS.Server.Data.DbEntities { public partial class ExtensionValue : IFLSMet...
28.019231
104
0.547701
[ "MIT" ]
flightlog/flsserver
src/FLS.Server.Data/DbEntities/ExtensionValue.cs
2,914
C#
namespace AdminAssistant.Infra.DAL; public interface IDatabasePersistable { int PrimaryKey { get; } bool IsNew => PrimaryKey == Constants.NewRecordID; }
20.25
54
0.746914
[ "MIT" ]
SimonGeering/AdminAssistant
src/AdminAssistant/Infra/DAL/IDatabasePersistable.cs
162
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace TestApp.Migrations { public partial class upgraditemorder : Migration { protected override void Up(MigrationBuilder migrationBuilder) { } protected override void Down(MigrationBuilder migrationBuilder) { ...
18.5
71
0.66967
[ "MIT" ]
hasan-ak1996/boilerplate
aspnet-core/src/TestApp.EntityFrameworkCore/Migrations/20201014144454_upgrad-item-order.cs
335
C#
using BeardedPlatypus.OrbitCamera.Core; using UnityEngine; using UnityEngine.UI; using Zenject; namespace BeardedPlatypus.OrbitCamera.Samples { /// <summary> /// <see cref="CameraInstaller"/> provides the Samples specific dependency to /// construct the camera logic. /// </summary> public class Cam...
33.857143
81
0.571308
[ "MIT" ]
BeardedPlatypus/orbit-camera
Assets/Scripts/OrbitCamera.Samples/CameraInstaller.cs
1,185
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 02.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
27.841667
142
0.534271
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/LessThanOrEqual/Complete/SByte/NullableInt16/TestSet_504__param__02__VN.cs
3,343
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> //--...
33.90899
193
0.527494
[ "Apache-2.0" ]
CTLocalGovTeam/distance-direction-addin-dotnet
source/addins/DistanceAndDirectionLibrary/Properties/Resources.Designer.cs
30,554
C#
using DAL.DbContexts; using DAL.Madals; using DAL.Services; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace DAL.Repositories { public class SuplierRepository : ISuplierRepository { private readonly UpvcContext context; ...
28.164384
130
0.543288
[ "MIT" ]
guna785/UPVC
upvcDesign/DAL/Repositories/SuplierRepository.cs
2,058
C#
using System; using System.Collections.Generic; using System.Linq; using log4net; using Rejseplanen.ZimmerBot.AddOn.Schemas; using ZimmerBot.Core.Processors; using ZimmerBot.Core.Utilities; namespace Rejseplanen.ZimmerBot.AddOn { /// <summary> /// This class exposes various Rejseplanen functions to b...
29.39604
89
0.588414
[ "MIT" ]
JornWildt/ZimmerBot
Rejseplanen.ZimmerBot.AddOn/RejseplanenProcessor.cs
2,971
C#
namespace NAudioDemo.AudioPlaybackDemo { partial class WasapiOutSettingsPanel { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
43.406977
107
0.627645
[ "MIT" ]
Albeoris/Pulse
Pulse.UI/Controls/AudioPlayback/WasapiOutSettingsPanel.Designer.cs
3,735
C#
using System; namespace ICalendar.ComponentProperties { //TODO: change the signature to UTC-OFFSET public class Tzoffsetto : ComponentProperty<TimeSpan> { public override string Name => "TZOFFSETTO"; } }
22.9
57
0.703057
[ "MIT" ]
UHCalendarTeam/ANtICalendar
src/ICalendar/ComponentProperties/TimeZone/TZoffsetto.cs
231
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using dotnetNES.Engine.Main; using GalaSoft.MvvmLight.Command; using GalaSoft.MvvmLight.Messaging; using GalaSoft.MvvmLight; namespace dotnetNES.Client.Models { public class CPUFlags : ObservableObject { public strin...
37.729167
68
0.64053
[ "MIT" ]
aaronmell/dotnetNES
dotnetNES.Client/Models/CPUFlags.cs
1,813
C#
using UnityEngine; /// <summary> /// This script should be attached to the card game object to display card`s rotation correctly. /// </summary> [ExecuteInEditMode] public class BetterCardRotation : MonoBehaviour { public RectTransform CardFront; public RectTransform CardBack; void Update() { ...
24.782609
96
0.684211
[ "MIT" ]
n4gava/card-game
Assets/Scripts/Visual/Card/BetterCardRotation.cs
572
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BrokeProtocol.API; namespace BPGroupEditor { class ExtensionMethods { public static string GroupNameTypeToInfo(GroupType grptype) { if (grptype == GroupType.Acc...
39.387097
159
0.613432
[ "MIT" ]
Lamingtonn/BPGroupEditor
Extension/ExtensionMethods.cs
1,223
C#
using System.Linq; using System.Collections.Generic; using GoogleTestAdapter.Common; using GoogleTestAdapter.Model; using GoogleTestAdapter.Runners; using GoogleTestAdapter.Framework; using GoogleTestAdapter.ProcessExecution.Contracts; using GoogleTestAdapter.Scheduling; using GoogleTestAdapter.Settings; using GoogleT...
34.954023
177
0.649129
[ "Apache-2.0" ]
csoltenborn/GoogleTestAdapter
GoogleTestAdapter/Core/GoogleTestExecutor.cs
3,043
C#
using System; using System.Net; using System.Threading.Tasks; namespace PlaylistGrabber { public interface IWebClientWrapper { Task DownloadFileTaskAsync(Uri uri, string destinationPath); } public class WebClientWrapper : IWebClientWrapper { public async Task DownloadFileTaskAsync...
25.142857
94
0.693182
[ "MIT" ]
jasonracey/PlaylistGrabber
PlaylistGrabber/WebClientWrapper.cs
530
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace O...
38.453125
183
0.589191
[ "Apache-2.0" ]
VictorTzeng/osharp
src/OSharp.AutoMapper/Properties/Resources.Designer.cs
2,811
C#
using System.Threading; using TechTalk.SpecFlow; namespace Behavioral.Automation.Bindings { [Binding] public sealed class DebugBinding { [Given("wait")] [When("wait")] [Then("wait")] public void Wait() { Thread.Sleep(5000); } } }
17.111111
40
0.545455
[ "Apache-2.0" ]
PavelAAlexeevQ/Behavioral.Automation
Bindings/DebugBinding.cs
310
C#
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class UE4EditorServices : ModuleRules { public UE4EditorServices(TargetInfo Target) { PublicIncludePaths.Add("Runtime/Launch/Public"); PublicIncludePaths.Add("Runtime/Launch/Private"); // Yuck. Required for RequiredProgr...
22.318182
119
0.720978
[ "MIT" ]
armroyce/Unreal
UnrealEngine-4.11.2-release/Engine/Source/Programs/Mac/UE4EditorServices/UE4EditorServices.Build.cs
493
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LinqToVdf { public static class VdfReaderExtensions { public static VdfReaderToken CheckNext(this StreamReader reader) { var next = reader....
26.052632
75
0.558586
[ "MIT" ]
porohkun/LinqToVdf
LinqToVdf/VdfReaderExtensions.cs
1,982
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: AssemblyTit...
92.466667
411
0.881279
[ "BSD-3-Clause" ]
mmkhmmkh/Cosmos
source/Cosmos.Debug.Kernel/Properties/AssemblyInfo.cs
4,164
C#
namespace WalletWasabi.Fluent.Models; public class RestartNeededEventArgs : EventArgs { public bool IsRestartNeeded { get; init; } }
19.285714
47
0.792593
[ "MIT" ]
CAnorbo/WalletWasabi
WalletWasabi.Fluent/Models/RestartNeededEventArgs.cs
135
C#
#region License // Distributed under the MIT License // ============================================================ // Copyright (c) Upendo Ventures, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software // and associated documentation files (the "Software"), to de...
41.608163
174
0.510987
[ "MIT" ]
UpendoVentures/Upendo-Dnn-Prompt
Modules/UpendoPrompt/Components/PackagesController.cs
10,196
C#
using System; using NUnit.Framework; namespace WebGL.UnitTests { [TestFixture] public class TexSubImage2D : BaseTest { [Test(Description = "")] public void ShouldDoMagic() { throw new NotImplementedException(); } } }
18.533333
48
0.593525
[ "Apache-2.0" ]
jdarc/webgl.net
WebGL.UnitTests/conformance/v100/TexSubImage2D.cs
280
C#
using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Spring.Web.UI.Controls { /// <summary> /// May be used to wrap controls for databinding that don't accept unknown attributes. /// </summary> [ParseChildren(false)] public class DataBindingAdapter : WebControl { ...
29.884615
128
0.56242
[ "Apache-2.0" ]
MaferYangPointJun/Spring.net
src/Spring/Spring.Web/Web/UI/Controls/DataBindingAdapter.cs
1,554
C#
namespace CarManufacturer { public class StartUp { static void Main(string[] args) { Tire[] tires = new Tire[4] { new Tire(1, 2.5), new Tire(1, 2.1), new Tire(2, 0.5), new Tire(2, 2.3), }; ...
22.238095
81
0.4197
[ "MIT" ]
vassdeniss/software-university-courses
csharp-advanced/11.Classes/L04.CarEngineAndTires/StartUp.cs
469
C#
/**** * Created by; Rohit Khanolkar * Date Created: 2/14/2022 * * Last Edited by: NA * Last edited: 2/14/2022 * * * Description: Create a randomly generated cloud ****/ using System.Collections; using System.Collections.Generic; using UnityEngine; public class Cloud : MonoBehaviour { [Header("Set in Inspecto...
24.010417
77
0.597831
[ "MIT" ]
rsk8262/MissionDemolition
MissionDemolition-Unity/Assets/Scripts/Cloud.cs
2,305
C#
// <copyright file="ItemExtensions.cs" company="MUnique"> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </copyright> namespace MUnique.OpenMU.GameLogic { using System; using System.Collections.Generic; using System.Linq; using MUnique.OpenMU.D...
44.329787
152
0.618431
[ "MIT" ]
hatalaef/OpenMU
src/GameLogic/ItemExtensions.cs
4,169
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MusicSwitcher : MonoBehaviour { private MusicManager mcMan; public int NewTrack; public bool SwitchOnStart; // Use this for initialization void Start () { mcMan = FindObjectOfType<MusicManager>(); ...
21.878788
88
0.632964
[ "MIT" ]
MartinListwan/GameDesign
Assets/Scripts/MusicSwitcher.cs
724
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using AppKit; namespace LogJoint.UI.Postprocessing.TimeSeriesVisualizer { public partial class LegendItemView : NSView { #region Constructors // Called when created from unmanaged code public LegendItemView(IntPtr handle) ...
18.090909
57
0.720268
[ "MIT" ]
logjointfork/logjoint
trunk/platforms/osx/logjoint.mac/ui/Postprocessors/TimeSeriesWindow/Legend/Item/LegendItemView.cs
599
C#
using Akka.Streams.Stage; using Amqp; using System.Threading.Tasks; namespace Akka.Streams.Amqp.V1 { public sealed class AmqpSinkStage<T> : GraphStageWithMaterializedValue<SinkShape<T>, Task> { public Inlet<T> In { get; } public override SinkShape<T> Shape { get; } public IAmpqSinkSett...
34.625
139
0.569495
[ "Apache-2.0" ]
AndreSteenbergen/Alpakka
Amqp.V1/Akka.Streams.Amqp.V1/AmqpSinkStage.cs
2,218
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 ...
41.531915
89
0.606045
[ "Apache-2.0" ]
Arch/Npoi.Core
src/Npoi.Core/POIFS/Storage/SmallDocumentBlockList.cs
1,954
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using BL; // BL katmanını kullandık using Entity; // Entity katmanını kullandık namespace KutuphaneOtom...
38.918033
135
0.623631
[ "MIT" ]
Huseyinarkin/KutuphaneOtomasyonu
KutuphaneOtomasyonu/OgrAnaForm.cs
4,824
C#
using System; using System.Linq.Expressions; using DNA_API.Models; namespace DNA_API.Helpers { public class PaginationHelper { internal static Expression<Func<ViewInvoice, bool>> CustomerInvoicesQuery(string searchString) { Expression<Func<ViewInvoice, bool>> search = null; ...
30.548387
104
0.43717
[ "MIT" ]
dan933/dna-invoice-application-public
API/DNA-API/Helpers/PaginationHelper.cs
1,894
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace KO_Angular_Demo.Controllers { public class AngularController : Controller { // GET: Angular public ActionResult Index() { return View(); } [...
17.647059
47
0.533333
[ "MIT" ]
joshuadeanhall/TrainingAndDemos
KnockoutAngularDemo/KO_Angular_Demo/Controllers/AngularController.cs
602
C#
using UnityEngine; using System; using System.Collections.Generic; [Serializable] public class SPBoundingBox { public Bounds Bounds; private Bounds _liveBounds; public Dictionary<string, object> Serialize() { return new Dictionary<string, object>() { {"XMin", Bounds.min.x}, {"XMax", Bounds.max.x}, {...
22.924528
76
0.655144
[ "MIT" ]
pollend/Parkitect_Mod_Bootstrap
Needs/SPBoundingBox.cs
1,217
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; using NBitcoin; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace Ztm.Data.Entity.Postgres.Migrations { public partial class InitializeWebApiCallbackHistory : Migration { protected override void Up(MigrationBuilder migrationBu...
36.378947
114
0.538773
[ "MIT" ]
firoorg/ztm
src/Ztm.Data.Entity.Postgres/Migrations/20191024065745_InitializeWebApiCallbackHistory.cs
3,458
C#
using System; using System.Collections.Generic; using Moq; using NUnit.Framework; namespace Shuttle.Recall.Tests { [TestFixture] public class EventStreamTests { [Test] public void Should_be_able_to_handle_concurrency_invariant_check() { var stream = new Eve...
31.71875
121
0.631527
[ "BSD-3-Clause" ]
JTOne123/Shuttle.Recall
Shuttle.Recall.Tests/EventStreamTests.cs
1,017
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/codecapi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
43.066667
146
0.69969
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
tests/Interop/Windows/um/codecapi/CODECAPI_AVDecDDStereoDownMixModeTests.cs
1,940
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Immutable; using System.Composition; using System.Linq; using System.Threadi...
48.57971
190
0.671838
[ "MIT" ]
BrianFreemanAtlanta/roslyn
src/Features/LanguageServer/Protocol/Handler/Symbols/WorkspaceSymbolsHandler.cs
3,354
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DevExpress.GridDemo { public class Quote : ModelObject { string name = String.Empty; double currentValue; double previousValue...
34.504854
123
0.544738
[ "MIT" ]
devbrsa/fConcBook
Chapter.14/Components/devexpress-grid-16.2.2.0/samples/GridDemo/GridDemo/BusinessModel/Quote.cs
3,556
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Diagnostics.CodeAnalysis; using BuildXL.Utilities.Instrumentation.Common; namespace BuildXL.Processes.Tracing { // disable warning regarding 'missing XML comments on public API'. We don't need docs for these values #...
35.980769
107
0.688936
[ "MIT" ]
shivanshu3/BuildXL
Public/Src/Engine/Processes/Tracing/LogEventId.cs
5,615
C#