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
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Lclb.Cllb.Interfaces.Models { using Newtonsoft.Json; using System.Collections; using System.Co...
51.645695
3,358
0.686991
[ "Apache-2.0" ]
asanchezr/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMadoxioSpecialeventlicencedarea.cs
15,597
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Extensions.Configuration; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Table; using SFA.DAS.Encoding; using SFA.DAS.Reservations.Infrastructure.Configuration; namespace SFA.DAS.Reservations.Infrastructure....
35.943662
128
0.633229
[ "MIT" ]
FeatureToggleStudy/das-reservations
src/SFA.DAS.Reservations.Infrastructure/AzureConfigurationProvider/AzureTableStorageConfigurationProvider.cs
2,554
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using MediatR; namespace HelpfulWebsite_2.Application.WeatherForecasts.Queries.GetWeatherForecasts { public class GetWeatherForecastsQuery : IRequest<IEnumerable<WeatherForecast>> { } ...
31.972222
127
0.64987
[ "MIT" ]
CameronHunter000/HelpfulWebsite2
src/Application/WeatherForecasts/Queries/GetWeatherForecasts/GetWeatherForecastsQuery.cs
1,153
C#
using IdentityServer4.Models; namespace Indice.AspNetCore.Identity.Models { /// <summary> /// View model for the error page /// </summary> public class ErrorViewModel { /// <summary> /// Creates a new <see cref="ErrorViewModel"/>. /// </summary> public ErrorViewMode...
24.666667
57
0.531081
[ "MIT" ]
ChristosAsvestopoulos/Indice.AspNet
src/Indice.AspNetCore.Identity/Models/ErrorViewModel.cs
742
C#
// Copyright 2018 Andrew White // // 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 applicabl...
42.272727
119
0.688978
[ "Apache-2.0" ]
GordonBlahut/Finbuckle.MultiTenant
test/Finbuckle.MultiTenant.Core.Test/Options/MultiTenantOptionsFactoryShould.cs
3,720
C#
using NUnit.Framework; using Rebus.Tests.Contracts.Activation; namespace Rebus.LightInject.Tests { [TestFixture] public class LightInjectRealContainerTests : RealContainerTests<LightInjectContainerAdapterFactory> { } }
21.545455
103
0.78481
[ "MIT" ]
lucasantarelli/rebus
Rebus.LightInject.Tests/LightInjectRealContainerTests.cs
239
C#
using System; namespace LCUSharp.Websocket { /// <summary> /// Handles operations relating to capturing and processing league events via WebSockets. /// </summary> public interface ILeagueEventHandler { /// <summary> /// EventHandler used for the Websocket's received messages. ...
31.982143
93
0.58124
[ "MIT" ]
MManoah/league-practice-tool
LCUSharp/Websocket/ILeagueEventHandler.cs
1,793
C#
namespace KeLi.HelloDapper.SQLite.Models { public class Student : IRecord { public string Email { get; set; } public string Address { get; set; } public int Id { get; set; } public string Name { get; set; } public string Remark { get; set; } } }
20.133333
43
0.569536
[ "MIT" ]
kelicto/HelloDapper
KeLi.HelloDapper.SQLite/Models/Student.cs
304
C#
using System; using System.Collections.Generic; using System.Text; namespace P03_FootballBetting.Data.Models { public class Town { public int TownId { get; set; } public string Name { get; set; } public int CountryId { get; set; } public Country Country { get; set; } ...
18.56
52
0.573276
[ "MIT" ]
nelov87/MS-SQL-Databases-Advanced---Entity-Framework
05. Entity Relations/P03_FootballBetting/P03_FootballBetting/Data/Models/Town.cs
466
C#
//Problem 9. Frequent number //Write a program that finds the most frequent number in an array. //Example: //input result //4, 1, 1, 4, 2, 3, 4, 4, 1, 2, 4, 9, 3 4 (5 times) using System; class FrequentNumber { static void Main() { Console.Write("Enter size of a...
24.541667
76
0.42275
[ "MIT" ]
vtoshkova/Telerik-Academy-2015
C# - Part 2/01. ArraysHW/09. FrequentNumber/FrequentNumber.cs
1,180
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...
30.755102
108
0.586928
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/AppStream/Generated/Model/StorageConnector.cs
3,014
C#
using System; using System.Diagnostics; using System.Linq; using Amazon.Lambda.Core; namespace ZoolWay.Aloxi.AlexaAdapter { public static class Log { private const string LV_ERROR = "ERROR"; private const string LV_INFO = " INFO"; private const string LV_WARN = " WARN"; private...
32.987342
106
0.579432
[ "MIT" ]
ZoolWay/Aloxi
Aloxi.AlexaAdapter/Log.cs
2,608
C#
// Copyright 2012 Max Toro Q. // // 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...
31.931818
94
0.720996
[ "Apache-2.0" ]
maxtoroq/MvcAccount
src/MvcAccount/AccountResources.cs
1,407
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Windows.Forms; using System.IO; using System.Diagnostics; namespace SirJoshSpeedyComputer { public static class Updater { public static WebClient downloader = new WebClient() { Proxy = nu...
34.339623
112
0.661538
[ "MIT" ]
SirJosh3917/SirJoshSpeedyComputer
SirJosh Speedy Computer/SirJosh Speedy Computer/Updater.cs
1,822
C#
using System; using System.Xml; using Microsoft.VisualStudio.TestTools.UnitTesting; // ReSharper disable HeapView.ObjectAllocation.Evident // TODO: migrate to xUnit namespace Nexusat.Utils.CalendarGenerator.Tests { [TestClass] public class CalendarTests { /// <summary> /// Gets or sets ...
35.974843
116
0.592308
[ "MIT" ]
MrBogomips/Nexusat.Utils.CalendarGenerator
Nexusat.Utils.CalendarGenerator.Tests/CalendarTests.cs
5,720
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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.UseLocalFuncti...
20.93662
161
0.537789
[ "Apache-2.0" ]
20chan/roslyn
src/EditorFeatures/CSharpTest/UseLocalFunction/UseLocalFunctionTests.cs
77,300
C#
using RabbitMQ.Domain.Common.Commands.Inputs; using RabbitMQ.Domain.Core.QueueLogs.Queries.Results; using RabbitMQ.Domain.Emails.Enums; using System; using System.Collections.Generic; namespace RabbitMQ.Domain.Emails.Commands.Inputs { public class EmailCommand : NotificationCommand { public override b...
35.576923
117
0.690811
[ "MIT" ]
lsantoss/RabbitMQ
RabbitMQ/RabbitMQ.Domain/Emails/Commands/Inputs/EmailCommand.cs
927
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; namespace Azure.ResourceManager.AppPlatform.Models { /// <summary> The settings of Application Configuration Service. </summary> public par...
34.04878
96
0.661891
[ "MIT" ]
damodaravadhani/azure-sdk-for-net
sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigurationServiceSettings.cs
1,396
C#
// This file is part of Core WF which is licensed under the MIT license. // See LICENSE file in the project root for full license information. using System; using CoreWf; using CoreWf.Hosting; using CoreWf.Tracking; using System.Collections.Generic; using System.Reflection; using System.Text; using System.Threading; u...
37.927885
189
0.588921
[ "MIT" ]
OIgnat/corewf
src/test/TestCases.Runtime/Common/RuntimeHelper.cs
15,778
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Problem_14.Boat_Simulator { class BoatSimulator { static void Main(string[] args) { char firstBoat = Console.ReadLine().FirstOrD...
26.985075
66
0.439159
[ "MIT" ]
Supbads/Softuni-Education
07 ProgrammingFundamentals 05.17/05. Data-Types-and-Variables-More-Exercises/Problem_14. Boat Simulator/BoatSimulator.cs
1,810
C#
using RimDev.AspNetCore.FeatureFlags; namespace appFeatureFlags.Models { public class ShowBoxHome : Feature { public override string Description { get; } = "Show the home center box."; } }
23.222222
82
0.698565
[ "MIT" ]
MonicaGantali/Learning_DevOps
CHAP13/appFeatureFlags/Models/FeaturesFlags.cs
209
C#
/* This file is a part of JustLogic product which is distributed under the BSD 3-clause "New" or "Revised" License Copyright (c) 2015. All rights reserved. Authors: Vladyslav Taranov. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following...
39.907407
79
0.77587
[ "BSD-3-Clause" ]
AqlaSolutions/JustLogic
Assets/JustLogicUnits/Generated/WWW/JLWwwGetUrl.cs
2,155
C#
using NuKeeper.Abstractions.Configuration; using NuKeeper.Abstractions.Formats; using NuKeeper.Abstractions.Logging; using NuKeeper.Abstractions.RepositoryInspection; using System; using System.Collections.Generic; using System.Linq; namespace NuKeeper.Update.Selection { public class UpdateSelection : IUpdateSelec...
29.091837
118
0.573483
[ "Apache-2.0" ]
CrispyDrone/NuKeeper
NuKeeper.Update/Selection/UpdateSelection.cs
2,851
C#
using Reddit_Wallpaper_Changer.Model; using System; using System.Threading.Tasks; namespace Reddit_Wallpaper_Changer.Wallpaper { public interface IImageInfoProvider { Task<ImageInfo> GetImageInfoAsync(string searchUrl, int wallpaperGrabType, IProgress<string> progress); } }
24.75
111
0.784512
[ "MIT" ]
Rawns/RWC-Source
Reddit Wallpaper Changer/Wallpaper/IImageInfoProvider.cs
299
C#
using CommandLine; using GVFS.Common; using GVFS.Common.FileSystem; using GVFS.Common.Git; using GVFS.Common.Http; using GVFS.Common.NamedPipes; using GVFS.Common.Tracing; using System; using System.IO; using System.Linq; using System.Text; namespace GVFS.CommandLine { [Verb(CloneVerb.CloneVerbName, ...
42.912134
171
0.521808
[ "MIT" ]
yijunyu/VFSForGit
GVFS/GVFS/CommandLine/CloneVerb.cs
30,768
C#
using System; namespace Auth0SystemWeb.Areas.HelpPage { /// <summary> /// This represents an image sample on the help page. There's a display template named ImageSample associated with this class. /// </summary> public class ImageSample { /// <summary> /// Initializes a ne...
26.756098
131
0.50866
[ "MIT" ]
mdewey/Auth0-Dotnet-Api
Auth0SystemWeb/Areas/HelpPage/SampleGeneration/ImageSample.cs
1,097
C#
using OpenQA.Selenium; using OpenQA.Selenium.Support.UI; using System; namespace mantis_tests { public class HelperBase { protected IWebDriver driver; protected ApplicationManager manager; public HelperBase(ApplicationManager manager) { this.manager = manager; ...
24.941176
99
0.52044
[ "Apache-2.0" ]
pivnaya/csharp_training
mantis-tests/mantis-tests/appmanager/HelperBase.cs
1,274
C#
using System; using System.Collections.Generic; using System.Text; namespace WC2150Shared { public static class Data { public const ushort BUFFER_SIZE = 256; public const byte MOVE = 1; public const byte JOIN = 2; public const byte START = 3; public const byte WELCOME ...
23.190476
46
0.620123
[ "Apache-2.0" ]
RatajVaver/WarCode2150
WC2150Shared/Data.cs
489
C#
using Core.Utilities.IoC; using Microsoft.Extensions.Caching.Memory; using System; using System.Collections.Generic; using System.Text; using Microsoft.Extensions.DependencyInjection; using System.Text.RegularExpressions; using System.Linq; namespace Core.CrossCuttingConcerns.Caching.Microsoft { class MemoryCache...
32.820896
146
0.635744
[ "MIT" ]
OnurAkkepenekk/Where
Where/Core/CrossCuttingConcerns/Caching/Microsoft/MemoryCacheManager.cs
2,201
C#
using ScriptableObjectArchitecture; using UnityEngine; using UnityEngine.Animations; public class CharacterBehaviour : MonoBehaviour { public Character CharacterTemplate; public Faction CharacterFaction; [SerializeField] private FloatReference _characterSpecificHealth; [SerializeField] private GameObje...
31.607595
111
0.667201
[ "MIT" ]
dstrawberrygirl/SODemo
Assets/Scripts/CharacterBehaviour.cs
2,497
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
31.97561
128
0.632342
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/Alb/Inputs/LoadBalancerSubnetMappingArgs.cs
1,311
C#
using BiliBili3.Controls; using BiliBili3.Helper; using BiliBili3.Modules; using BiliBili3.Pages; using BiliBili3.Pages.FindMore; using BiliBili3.Pages.Live; using BiliBili3.Pages.Music; using BiliBili3.Views; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Tex...
37.806202
240
0.529321
[ "MIT" ]
CodeForCSharp/biliuwp
BiliBili3/Helper/MessageCenter.cs
19,654
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
33.888889
85
0.533333
[ "Apache-2.0" ]
CredentialEngine/Import_From_Registry
src/workIT.Data/Tables/Entity_HasPathway.cs
915
C#
namespace SoundFingerprinting.Audio.Bass { public class BassSoundCaptureService : ISoundCaptureService { private readonly IBassServiceProxy proxy; private readonly IBassStreamFactory streamFactory; private readonly IBassResampler bassResampler; public BassSoundCaptureService() ...
37.577778
204
0.633353
[ "MIT" ]
AddictedCS/soundfingerprinting.audio.bass
src/SoundFingerprinting.Audio.Bass/BassSoundCaptureService.cs
1,691
C#
using Drexel.Configurables.External; namespace Drexel.DataSources.FolderData { /// <summary> /// Represents a factory which produces <see cref="IFolderDataWatcher"/>s. /// </summary> public interface IFolderDataWatcherFactory { /// <summary> /// Produces an <see cref="IFolderDataWa...
30.636364
101
0.603858
[ "MIT" ]
ltnublet/Drexel.DataSource
Drexel.DataSources.FolderData/IFolderDataWatcherFactory.cs
676
C#
using PocketBar.Managers.Interfaces; using PocketBar.Models; using PocketBar.Services; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PocketBar.Managers { public class CategoriesManager : ICategoriesManager { private ICocktailService...
20.622642
90
0.710887
[ "MIT" ]
BaristaStudio/PocketBar
PocketBar/PocketBar/Managers/CategoriesManager.cs
1,095
C#
using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Ordering.Application.Contracts.Infrastructure; using Ordering.Application.Models; using SendGrid; using SendGrid.Helpers.Mail; namespace Ordering.Infrastructure.Mail { public class EmailService : IEmailServ...
32.479167
129
0.64272
[ "MIT" ]
nqbjnh/AspnetMicroservices
src/Services/Ordering/Ordering.Infrastructure/Mail/MailService.cs
1,561
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Collections.Immutable; using System.Diagnostics; using Microsoft.Code...
50.276451
241
0.573552
[ "MIT" ]
CryoMyst/roslyn
src/Compilers/CSharp/Portable/Symbols/Source/ParameterHelpers.cs
44,195
C#
using System; using UnityEngine; using System.Collections; using System.Linq; [CreateAssetMenu(fileName = "Hats Data")] public class HatsData : ScriptableObject { [Serializable] public struct Hat { public string Name; public GameObject Prefab; public Sprite Icon; } [Serial...
19.4
63
0.639175
[ "Apache-2.0" ]
bshishov/LudumDare36
Assets/Scripts/Data/HatsData.cs
584
C#
namespace Npgsql6.Tests; public class Npgsql6DbFactoryFixture : IDbFactoryFixture { public DbProviderFactory Factory => NpgsqlFactory.Instance; public string ConnectionString => "host=localhost;user id=root;password=test;database=npgsql6"; }
30.625
96
0.820408
[ "MIT" ]
mysql-net/AdoNetApiTest
tests/Npgsql6.Tests/Npgsql6DbFactoryFixture.cs
245
C#
using System.Runtime.Serialization; namespace MbDotNet.Enums { public enum ProxyMode { [EnumMember(Value = "proxyOnce")] ProxyOnce, [EnumMember(Value = "proxyAlways")] ProxyAlways, [EnumMember(Value = "proxyTransparent")] ProxyTransparent } ...
19
49
0.585139
[ "MIT" ]
DraKOCDS/MbDotNet
MbDotNet/Enums/ProxyMode.cs
325
C#
/* Copyright (c) 2019, Lars Brubaker, John Lewin 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...
44.736842
79
0.802353
[ "BSD-2-Clause" ]
Bhalddin/MatterControl
MatterControlLib/PartPreviewWindow/HelpSearchResult.cs
1,702
C#
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using Avalonia; using Avalonia.Controls.ApplicationLifetimes; using Avalonia.Markup.Xaml; using BehaviorsTestApplication.Views; namespace BehaviorsTestApplica...
31.09375
104
0.666332
[ "MIT" ]
jp2masa/AvaloniaBehaviors
samples/BehaviorsTestApplication/App.xaml.cs
1,000
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.Collections.Generic; using System.Linq; using System.Threading; using Microsoft.CodeAnalysis; using Mi...
39.033708
148
0.621474
[ "MIT" ]
AlexanderSemenyak/roslyn
src/VisualStudio/Core/Impl/SolutionExplorer/SourceGeneratedFileItems/SourceGeneratedFileItem.cs
3,476
C#
// <auto-generated /> using System; using CodeFirstMigration; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable di...
31.678571
84
0.580045
[ "MIT" ]
AhmedJoum/CodeMazeGuides
dotnet-efcore/DotnetEfNotFoundError/CodeFirstMigration/Migrations/20220401210459_InitialCreate.Designer.cs
1,776
C#
using System; using AeroGear.Mobile.Auth.Credentials; namespace Auth.Tests.Storage { public class MockCredential : ICredential { public MockCredential() { } public string AccessToken => "testAccessToken"; public string IdentityToken => "testIdentityToken"; pu...
21
63
0.651429
[ "Apache-2.0" ]
aerogear/aerogear-xamarin-sdk
Auth/Auth.Tests/Storage/MockCredential.cs
527
C#
using System; using System.Runtime.Serialization; using Volo.Abp; namespace Abp.Elasticsearch { /// <summary> /// ElasticSearch Exception /// </summary> public class ElasticSearchException : AbpException { /// <summary> /// Constructor. /// </summary> public Elastic...
23.94
100
0.561404
[ "MIT" ]
Meowv/Abp.Elasticsearch
src/Abp.Elasticsearch/ElasticSearchException.cs
1,199
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...
28.456
181
0.568175
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Relay/V20180101Preview/GetNamespace.cs
3,557
C#
using System.Threading.Tasks; namespace ServerlessBlog.Runtime { public interface IWebPageComposer { Task<string> GetHomepage(); Task<string> GetPost(string urlName); Task<string> GetArchive(int year, int month); Task<string> GetCategory(string category); } }
19.3125
53
0.669903
[ "MIT" ]
JamesRandall/AzureFromTheTrenches.ServerlessBlog
ServerlessBlog.Runtime/IWebPageComposer.cs
311
C#
namespace WhoKilledCamelCase.Areas.HelpPage.ModelDescriptions { public class KeyValuePairModelDescription : ModelDescription { public ModelDescription KeyModelDescription { get; set; } public ModelDescription ValueModelDescription { get; set; } } }
30.777778
67
0.750903
[ "MIT" ]
jorupp/WhoKilledCamelCase
WhoKilledCamelCase/Areas/HelpPage/ModelDescriptions/KeyValuePairModelDescription.cs
277
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Threading.Tasks; using System.Windows; using System.Windows.Contr...
41.96
167
0.569471
[ "MIT" ]
AdrianaDJ/AdaptiveCards
source/dotnet/Library/AdaptiveCards.Rendering.Wpf/AdaptiveRenderContext.cs
25,176
C#
namespace Universidad { class Tamano { int largo; int ancho; public Tamano(int largo, int ancho) { this.largo = largo; this.ancho = ancho; } } }
15.857143
43
0.463964
[ "Apache-2.0" ]
antoanio/programacionIIIaap
Universidad/Universidad/Tamano.cs
224
C#
namespace KclLibraryGUI { partial class MaterialCollisionPicker { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summar...
42.848276
157
0.585225
[ "MIT" ]
KillzXGaming/KCollisionLibrary
KclLibraryGUI/MaterialSelection/MaterialCollisionPicker.Designer.cs
6,215
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...
28.722222
92
0.647969
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Cache/V20150801/Outputs/RedisAccessKeysResponse.cs
1,034
C#
// // Encog(tm) Core v3.3 - .Net Version // http://www.heatonresearch.com/encog/ // // Copyright 2008-2014 Heaton Research, 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 // // htt...
34.367816
88
0.584114
[ "BSD-3-Clause" ]
asad4237/encog-dotnet-core
encog-core-cs/ML/EA/Train/IEvolutionaryAlgorithm.cs
5,980
C#
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace XS.Blog.WebUI.XSBlog.Daily { public...
25.117647
81
0.403981
[ "MIT" ]
ctxsdhy/XSBlog
Blog/XS.Blog.WebUI/XSBlog/Daily/DailyList.aspx.designer.cs
1,124
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Microsoft.Bot.Builder.TemplateManager; using RestaurantBookingSkill.Responses.Cancel; namespace RestaurantBookingSkill { public class CancelResponses : TemplateManager { // Constants public c...
34.457143
101
0.637645
[ "MIT" ]
ConnectionMaster/botframework-components
skills/csharp/experimental/restaurantbookingskill/Responses/Cancel/CancelResponses.cs
1,208
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
32.407407
78
0.518857
[ "MIT" ]
Dakraid/squidex
backend/src/Squidex.Domain.Apps.Entities/Backup/IBackupArchiveStore.cs
877
C#
using MSD.Product.Domain.Dtos.Common; using MSD.Product.Domain.Dtos.ProductDtos; using MSD.Product.Domain.Interfaces.Repositories.Common; using MSD.Product.Infra.Api.Dtos; using System.Threading.Tasks; namespace MSD.Product.Domain.Interfaces.Repositories { public interface IProductRepositoryApi : IRepositoryBase ...
34.133333
100
0.773438
[ "Apache-2.0" ]
spaki/microservices-demo
MSD.Product/MSD.Product.Domain/Interfaces/Repositories/IProductRepositoryApi.cs
514
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
72.242857
657
0.721673
[ "MIT" ]
Amrinder-Singh29/azure-powershell
src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpointCollection.PowerShell.cs
9,975
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.958333
80
0.648016
[ "MIT" ]
GeorgiPopovIT/C-Advanced-Exercises
StackAndQueue/KeyRevolver/obj/Debug/netcoreapp3.1/KeyRevolver.AssemblyInfo.cs
983
C#
using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Mvc; using SimpleLogin.Models; using SimpleLogin.Persistance; namespace SimpleLogin....
31.392157
112
0.566521
[ "MIT" ]
BarbFlegel/Hands-On-Design-Patterns-with-C-and-.NET-Core
Chapter7/SimpleLogin-Authentication/SimpleLogin/Controllers/AccountController.cs
3,204
C#
using System.Collections.Generic; namespace Speckle.GSA.API.GwaSchema { public class GsaPolyline : GsaRecord { public string Name { get => name; set { name = value; } } public Colour Colour; public int? GridPlaneIndex; public int NumDim; public List<double> Values; public string Units = ""...
19.571429
61
0.627737
[ "Apache-2.0" ]
arup-group/speckle-sharp
ConnectorGSA/Speckle.GSA.API/GwaSchema/Geometry/GsaPolyline.cs
413
C#
using System; using System.Globalization; namespace Gamma.Binding.Converters { public class GuidToStringConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if(value == null) return null; return ((Guid)value).ToString(); } pu...
19.676471
97
0.693572
[ "Apache-2.0" ]
Art8m/QSProjects
Binding/Gamma.Binding/Binding/Converters/GuidToStringConverter.cs
671
C#
namespace KeepFitStore.Services { using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.AspNetCore.Http; using AutoMapper; using KeepFitStore.Data; using KeepFitStore.Domain; using KeepFitStore.Models.InputModels.Jobs; ...
33.212121
106
0.639142
[ "MIT" ]
SonicTheCat/KeepFitStore
KeepFitStore/KeepFitStore.Services/JobApplicantService.cs
2,194
C#
using System.Reflection; 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("AWSSDK.CloudTrail")] [assembly: AssemblyDe...
52.4375
414
0.755662
[ "Apache-2.0" ]
Singh400/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/CloudTrail/Properties/AssemblyInfo.cs
1,678
C#
using LiveSplit.Model; using System; namespace LiveSplit.UI.Components { public class TitleFactory : IComponentFactory { public string ComponentName => "Title"; public string Description => "Shows the current run title, run category, and game icon."; public ComponentCategory Category...
28.64
100
0.687151
[ "MIT" ]
mysidia/LiveSplit-Sid
LiveSplit/Components/LiveSplit.Title/UI/Components/TitleFactory.cs
718
C#
using System; using System.Collections.Generic; using System.Text; namespace OccupancyTypes { public static class OccTypeGroupReader { public static IOccupancyTypeGroup ReadOccupancyTypeGroup(string filePath) { //calling the CA occTypes and passing in the path will read the file an...
36.214286
143
0.682446
[ "MIT" ]
HydrologicEngineeringCenter/HEC-FDA
OccupancyTypes/OccTypeGroupReader.cs
1,016
C#
using System.ComponentModel.DataAnnotations; namespace Bing.Samples.MultipleVersionWithGroup.V2.Models { /// <summary> /// 人 /// </summary> public class Person { /// <summary> /// 人 /// </summary> public int Id { get; set; } /// <summary> /// 姓 ...
19.8
57
0.464646
[ "MIT" ]
bing-framework/Bing.Extensions.Swashbuckle
samples/Bing.Samples.MultipleVersionWithGroup/V2/Models/Person.cs
707
C#
namespace Minesweeper { using System; using System.Collections.Generic; public class Mines { public static void Main() { const int BOARD_ROWS = 5; const int BOARD_COLUMNS = 10; const int MAXIMUM_OPENED_CELLS = 35; int openedCells = 0; ...
33.537736
125
0.382654
[ "MIT" ]
MarinMarinov/High-Quality-Code
HW02Naming Identifiers/Task04.RefactorGameMineSweeper/MainProgram.cs
10,667
C#
// <auto-generated /> using System; using LiveKraken.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace LiveK...
33.86087
117
0.46379
[ "MIT" ]
MetalDestructor/LiveKraken
LiveKraken/LiveKraken.Data/Migrations/20200204172907_RoleSeed.Designer.cs
3,896
C#
using NeutronNetwork.Internal; using NeutronNetwork.Internal.Packets; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using UnityEngine; namespace NeutronNetwork.Helpers { public static class ReflectionHelper { public static T Ge...
37.688716
167
0.494631
[ "MIT" ]
RuanCardoso/Neutron-Unity-Network
Runtime/Commons/Helpers And Extensions/Helpers/ReflectionHelper.cs
9,686
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.Xml.Serialization { using System; using System.Text; using System.IO; using System.Xml; using System.Xml.Schema; using System.Xml.Serializati...
37.992974
161
0.518626
[ "MIT" ]
3DCloud/runtime
src/libraries/System.Private.Xml/src/System/Xml/Serialization/SchemaObjectWriter.cs
48,669
C#
namespace SJResults { public class Competitor { public string Code { get; set; } public string Name { get; set; } public string Birth { get; set; } public string FirstCountry { get; set; } public string SecondCountry { get; set; } public string StartRange { get; s...
27.75
49
0.585586
[ "MIT" ]
Mensix/SJResults
Competitor.cs
333
C#
// <auto-generated> // Code generated by LUISGen .\DeskBooking.json -cs Luis.DeskBooking -o . // Tool github: https://github.com/microsoft/botbuilder-tools // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> using Newtonsoft.Json; using System.Collections.Generi...
29.953846
181
0.582948
[ "BSD-3-Clause" ]
LogicalisAr/LogicalisWebex-Sample
CognitiveModels/AssetBooking.cs
1,949
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BizTalkComponents.Utils; using Microsoft.BizTalk.Component.Interop; using Microsoft.BizTalk.Message.Interop; using IComponent = Microsoft.BizTalk.Component.Interop.IComponent; using Microsoft.BizTa...
42.409836
136
0.612099
[ "MIT" ]
walissa/EmailCustomizer
src/EmailCustomizer/EmailCustomizer.cs
5,176
C#
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
44.633242
149
0.574955
[ "Apache-2.0" ]
ScriptBox21/google-api-dotnet-client
Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.cs
32,493
C#
//using System; //using System.Collections.Generic; //using System.Text; //using System.ComponentModel; //using System.Drawing; //namespace DevAge.Drawing.VisualElements //{ // /// <summary> // /// A background with a border. // /// Use the Background property to set an additional background // /// </summa...
31.876289
153
0.563389
[ "Unlicense" ]
GibraltarSoftware/SourceGrid
src/DevAge.Windows.Forms/Drawing/VisualElements/BackgroundBorder.cs
3,092
C#
using System; using UnityEngine; namespace EA4S.Scanner { public class ScannerResultState : IGameState { ScannerGame game; float timer = 2; public ScannerResultState(ScannerGame game) { this.game = game; } public void EnterState() { AudioManager.I.PlayMusic(Music.Relax); } public void Ex...
17.866667
120
0.613184
[ "BSD-2-Clause" ]
Megapop/Norad-Eduapp4syria
Antura/EA4S_Antura_U3D/Assets/_games/Scanner/_scripts/ScannerResultState.cs
806
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace VirtuosoQueryData { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] stati...
22.434783
65
0.616279
[ "MIT" ]
GeorgiaBr/Virtuoso-Query-Data
DBPediaData/Program.cs
518
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...
39.991254
108
0.606765
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/MediaLive/Generated/Model/Mpeg2Settings.cs
13,717
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Xml; using System.Xml.Serialization; namespace WordGame.Storage { /// <summary> /// Словарь слов /// </summary> [XmlRoot(ElementName = "WordList", Namespace = "http://www.orioner.ru/croc")] public cla...
28.87963
81
0.498237
[ "MIT" ]
sbannikov/csharpcroc
2019-Autumn/WordGame/Storage/WordList.cs
3,541
C#
#region License // Copyright (c) 2009, ClearCanvas Inc. // 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 not...
40.988636
133
0.773773
[ "Apache-2.0" ]
econmed/ImageServer20
Ris/Client/Workflow/TranscriptionWorkflowFolderSystem.cs
3,609
C#
namespace android.webkit { [global::MonoJavaBridge.JavaClass()] public sealed partial class WebStorage : java.lang.Object { internal new static global::MonoJavaBridge.JniGlobalHandle staticClass; static WebStorage() { InitJNI(); } internal WebStorage(global::MonoJavaBridge.JNIEnv @__env) : base(@__env) ...
66.573643
270
0.799371
[ "MIT" ]
beachmiles/androidmono
jni/MonoJavaBridge/android/generated/android/webkit/WebStorage.cs
8,588
C#
using System; using UnityGameEvents; using UnityGameEventSystemExtensions.Objects; namespace UnityGameEventSystemExtensions { public interface ISystemInt32GameEventListenerController : IGameEventWithParameterListenerController<SystemInt32GameEventListenerObjectScript, Int32> { // ... } }
25.833333
153
0.812903
[ "MIT" ]
BigETI/UnityGameEventSystemExtensions
Runtime/Interfaces/ISystemInt32GameEventListenerController.cs
310
C#
using DarkUI.Renderers; using System.Drawing; using System.Windows.Forms; namespace DarkUI.Controls { public class DarkToolStrip : ToolStrip { #region Constructor Region public DarkToolStrip() { Renderer = new DarkToolStripRenderer(); Padding = new Padding(5, 0...
19.681818
51
0.572748
[ "MIT" ]
ActuallyaDeviloper/DarkUI
DarkUI/Controls/DarkToolStrip.cs
435
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; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Threading; namespace Dolittle.Runtime.Immutability { /// <summary> ...
46.518519
167
0.639331
[ "MIT" ]
dolittle/Runtime
Source/Immutability/ImmutableExtensions.cs
3,768
C#
using System; using System.Linq.Expressions; using System.Text.RegularExpressions; namespace Validatum { public static partial class ValidatorBuilderExtensions { /// <summary> /// Adds a validator to ensure the value is not an empty string. /// </summary> /// <param name...
40.794286
154
0.549832
[ "MIT" ]
bsheldrick/validatum
src/Validatum/src/Extensions/ValidatorBuilderExtensions.Strings.cs
28,556
C#
using NBitcoin; using Stratis.SmartContracts.CLR.Local; namespace Stratis.SmartContracts.CLR { public interface ILocalExecutor { ILocalExecutionResult Execute(ulong blockHeight, uint160 sender, Money txOutValue, ContractTxData txData); } }
23.818182
114
0.767176
[ "MIT" ]
0tim0/StratisFullNode
src/Stratis.SmartContracts.CLR/ILocalExecutor.cs
264
C#
using GraphQL; using GraphQL.Client.Tests.Common; using GraphQL.Client.Tests.Common.Chat.Schema; using GraphQL.Server; using GraphQL.Server.Ui.GraphiQL; using GraphQL.Server.Ui.Playground; using GraphQL.StarWars; using GraphQL.Types; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsof...
35.822785
122
0.657597
[ "MIT" ]
Eilon/graphql-client
tests/IntegrationTestServer/Startup.cs
2,830
C#
using System; namespace RouteOptimizer.Models { public static class Ids { public static string PlaceId(string name, string address) { if (!string.IsNullOrEmpty(name)) { return NameToId(name); } else if (!string.IsNullOrEmpty(address)) { return AddrToId(address); } else { return string.Empt...
20
60
0.663043
[ "MIT" ]
Roman-Dementiev/Dwares
Samples/RouteOptimizer/RouteOptimizer/Models/Ids.cs
462
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using ESFA.DC.ILR.ValidationService.Interface; namespace ESFA.DC.ILR.ValidationService.RuleSet { public class RuleSetOrchestrationService<T, U> : IRuleSetOrchestrationService<T, U> wher...
43.652174
183
0.728088
[ "MIT" ]
SkillsFundingAgency/DC-ILR-1819-ValidationService
src/ESFA.DC.ILR.ValidationService.RuleSet/RuleSetOrchestrationService.cs
2,010
C#
using System.Reflection; using System; [assembly: AssemblyTitle("SharpArch.Data")] [assembly: AssemblyDescription("")] [assembly: AssemblyProduct("SharpArch.Data")] [assembly: CLSCompliant(true)]
28.142857
45
0.77665
[ "BSD-3-Clause" ]
DavidChristiansen/Sharp-Architecture
src/SharpArch/SharpArch.Data/Properties/AssemblyInfo.cs
199
C#
using Newtonsoft.Json.Linq; using NUnit.Framework; using CKAN.NetKAN.Model; using CKAN.NetKAN.Validators; namespace Tests.NetKAN.Validators { [TestFixture] public sealed class LicensesValidatorTests { [Test, TestCase("v1.2", @"""WTFPL"""), TestCase("v1.18", @"""Unlicense"""...
32.468085
101
0.538008
[ "MIT" ]
050644zf/CKAN
Tests/NetKAN/Validators/LicensesValidatorTests.cs
1,526
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using shradhabookstores.EF; namespace shradhabookstores.Controllers.Backend { public class PaymentsController : Controller { private...
30.393939
111
0.537886
[ "MIT" ]
yuppaoh/BookStore
shradhabookstores/Controllers/Backend/PaymentsController.cs
4,014
C#
namespace BlazorState { using BlazorState.Features.JavaScriptInterop; using BlazorState.Features.Routing; using BlazorState.Pipeline.ReduxDevTools; using BlazorState.Pipeline.State; using BlazorState.Services; using MediatR; using MediatR.Pipeline; using Microsoft.AspNetCore.Components; using Microsof...
38.761628
119
0.692965
[ "Unlicense" ]
ShadyNagy/blazor-state
Source/BlazorState/Extensions/ServiceCollectionExtensions.cs
6,667
C#
/************************************************************************************ Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. Licensed under the Oculus Utilities SDK License Version 1.31 (the "License"); you may not use the Utilities SDK except in compliance wi...
28.445783
104
0.666455
[ "MIT" ]
S0leSurvivor/TemboVR
Assets/Oculus/VR/Scripts/Composition/OVRCompositionUtil.cs
4,722
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sandbox.Heaps { /// <summary> /// TODO: reorganize. /// Methods and scenarios related to one test question about running medians. /// Should be split into more relev...
30.705882
82
0.52682
[ "MIT" ]
juanuberti/Sandbox
Sandbox/Heaps/Controller.cs
1,568
C#
using Competencias.Domain.Aggregates; using Competencias.Domain.Repositories; using SharedKernel.Common; using System.Threading.Tasks; namespace Competencias.Handlers { public class CompetenciaCriadaHandler : IHandler<CompetenciaCriada> { private ICompetenciaRepository _competenciaRepository; public Competenci...
23.086957
79
0.817326
[ "MIT" ]
erlonfs/gerenciamento-financeiro-pessoal
src/Competencias/Competencias.Handlers/CompetenciaCriadaHandler.cs
533
C#
using System.Collections.Generic; namespace RoslynDom.Common { public interface IProperty : IPropertyOrMethod<IProperty > { IReferencedType PropertyType { get; set; } bool CanGet { get; } bool CanSet { get; } IAccessor GetAccessor { get; set; } IAccessor SetAccessor { ...
26.076923
62
0.631268
[ "Apache-2.0" ]
pottereric/RoslynDOM
RoslynDomCommon/Interfaces/IProperty.cs
339
C#