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 RRBL; using RRDL; namespace RRUI { public class MenuFactory { public static IMenu GetMenu(string menuType) { switch (menuType.ToLower()) { case "main": return new MainMenu(); case "restaurant": ...
24.75
105
0.478788
[ "MIT" ]
mariellenolasco/miniature-waffle
1-csharp/RestaurantReviews/RRUI/MenuFactory.cs
495
C#
using Codeplex.Data; using Microsoft.CSharp.RuntimeBinder; using System; using System.Collections.Generic; using System.IO; using System.IO.MemoryMappedFiles; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows.Forms; namespace ALVR { clas...
43.885827
151
0.580156
[ "MIT", "BSD-3-Clause" ]
LIV/ALVR
ALVR/ServerConfig.cs
11,149
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Nether.Data.Sql.Leaderboard; namespace Nether.Data.Sql.Leaderboard.Migrations { [DbContext(typeof(SqlLeaderboar...
31.793651
117
0.548178
[ "MIT" ]
vflorusso/nether
src/Nether.Data.Sql/Leaderboard/Migrations/20170223114101_InitialLeaderboardContextMigration.Designer.cs
2,005
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using SBA_BACKEND.Domain.Models; using SBA_BACKEND.Domain.Services.Communications; namespace SBA_BACKEND.Domain.Services { public interface IReportService { Task<IEnumerable<Report>> ListAsync(); Task<ReportResponse>...
26.75
82
0.798131
[ "MIT" ]
CarlosIzarra09/SBA-blue-repository
SBA-BACKEND/Domain/Services/IReportService.cs
535
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/MsHTML.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
37.318182
145
0.713764
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
tests/Interop/Windows/Windows/um/MsHTML/HTMLAnchorElementTests.cs
1,644
C#
using System; namespace TicTacToe.Repositories { public class PlayerRepository : IRepository { public PlayerRepository() { } public void Add() { throw new NotImplementedException(); } public void Delete() { throw new NotI...
18.444444
48
0.510542
[ "MIT" ]
danyelaristizabal/Imposible-TicTacToe
TicTacToe/Repositories/PlayerRepository.cs
666
C#
/******************************************************************************* * Copyright 2012-2019 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...
46.374118
319
0.579786
[ "Apache-2.0" ]
JekzVadaria/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/QuickSight/Basic/Get-QSUserList-Cmdlet.cs
19,709
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ZooUni.Models; namespace ZooUni.Services.Owner { public interface IOwnerService { List<OwnerViewModel> GetOwners(); } }
17.5
41
0.734694
[ "Apache-2.0" ]
denka7a/ZooPrjectSoftuni
ZooUni/ZooUni/Services/Owner/IOwnerService.cs
247
C#
/* * Copyright 2018 Mikhail Shiryaev * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
30.584615
81
0.6167
[ "Apache-2.0" ]
carquiza/scada
ScadaWeb/ScadaWeb/ScadaWebCommon/Shell/UrlTemplates.cs
2,200
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Buffers; using System.Text; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; using Microsoft.AspNetCore.JsonPatch; using Microsoft.AspNetCore.M...
38.768421
125
0.66911
[ "MIT" ]
3ejki/aspnetcore
src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonPatchInputFormatterTest.cs
11,049
C#
using System; using System.Linq; using Models; namespace Core.Windows { public class Window { protected Symbol[][] matrix; private int layer; // the Y and X of the top left corner of the window protected int pinY; protected int pinX; protected int width; ...
30.214286
139
0.4737
[ "MIT" ]
Alexander-Stanchev/RPG-Project
Core/Windows/Window.cs
6,770
C#
using System; using System.Collections.Generic; using System.Text; namespace L04.PersonClass { public class BankAccount { private int id; public int ID { get { return id; } set { id = value; } } private decimal balance; public decimal ...
19.347826
59
0.47191
[ "MIT" ]
KonstantinRupchanski/CSharp-OOP-Basics
DefiningClasses/L04.PersonClass/BankAccount.cs
892
C#
using System.Data; namespace WebJobDemo.Core.Data { public interface IConnectionFactory { IDbConnection Create(string connectionString); } }
16.3
54
0.711656
[ "MIT" ]
tvanfosson/azure-web-jobs-demo
WebJobsDemo/Core/Data/IConnectionFactory.cs
165
C#
namespace OpenClosedShoppingCartAfter { using System.Collections.Generic; using OpenClosedShoppingCartAfter.Contracts; public class Cart { private readonly List<ITotalizer> items; public Cart() { this.items = new List<ITotalizer>(); } public IEnumer...
22
60
0.531818
[ "MIT" ]
ciprian-stingu/c-sharp-hw-day5
SOLID and Other Principles/2. Open - Closed/3.2. After - Shopping Cart/Cart.cs
880
C#
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authorization; using FavoriteStations.Models.Dto; using FavoriteStations.Extensions; using FavoriteStations.Services; using FavoriteStations.Filters; namespace Fav...
44.841121
116
0.651938
[ "MIT" ]
pfbrowning/favorite-stations-api
FavoriteStations.API/Controllers/UserStationsController.cs
4,798
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using Silk.NET.Core.At...
27.823529
71
0.631431
[ "MIT" ]
Ar37-rs/Silk.NET
src/Vulkan/Silk.NET.Vulkan/Structs/PerformanceValueINTEL.gen.cs
1,419
C#
using System; namespace XDMessaging.Transport.WindowsMessaging { internal sealed class WindowEnumFilter { private readonly string property; public WindowEnumFilter(string property) { this.property = property; } public void WindowFilterHandler(IntPtr hWnd, ...
21.772727
70
0.561587
[ "MIT" ]
Difference/XDMessaging.Net
src/XDMessaging.Lite/Transport/WindowsMessaging/WindowEnumFilter.cs
481
C#
using System.Threading; namespace ConciseDesign.WPF.Message { /// <summary> /// 本地通知服务 /// </summary> public interface ILocalMessageService { void Raise(string msg, AlertType alertType); void Raise(IAlertMessage message); void Warning(string msg); void Message(st...
25.172414
84
0.503425
[ "Apache-2.0" ]
migeyusu/ConciseDesign
ConciseDesign/Message/ILocalMessageService.cs
1,474
C#
using TMPro; using UdonSharp; using UnityEngine; using UnityEngine.UI; using VRC.SDKBase; using VRC.Udon; namespace VRCBilliards { public class PoolMenu : UdonSharpBehaviour { private PoolStateManager manager; [Header("Style")] public Color selectedColor = Color.white; public C...
30.207715
155
0.483939
[ "MIT" ]
synergiance/vrcbce
Assets/VRCBilliardsCE/Scripts/PoolMenu.cs
20,360
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace QBS.API.Example.Model { public class Company { public Guid id { get; set; } public string systemVersion { get; set; } public string name { get; set; } public string displayName {...
38.855422
128
0.564341
[ "MIT" ]
qbsgroup/QBS.API.Example
Model/Classes.cs
3,227
C#
using System.Threading.Tasks; using FluentAssertions; using Microsoft.Extensions.Options; using Xunit; using Xunit.Abstractions; #pragma warning disable VSTHRD200 namespace Sitko.Core.Configuration.Vault.Tests { public class ConfigurationTest : BaseVaultTest { public ConfigurationTest(ITestOutputHelpe...
31.709091
93
0.62156
[ "MIT" ]
sitkoru/Sitko.Core
tests/Sitko.Core.Configuration.Vault.Tests/ConfigurationTest.cs
1,746
C#
/* * Request.cs * UnityHTTP * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed i...
30.732804
149
0.635104
[ "Apache-2.0" ]
dbuscaglia/snowplow-unity-tracker
UnityHTTP/Request.cs
11,617
C#
using System; using Saker.Serialization.BigEndian; namespace Saker.Serialization.BaseType { internal class UInt64TypeSerialize : TypeSerializationBase<ulong> { public override void Serialize(ulong obj, System.IO.Stream stream) { Write((ulong)obj, stream); } public o...
28.985294
90
0.599188
[ "MIT" ]
shenrui93/saker
ShareCode/Serialization/BaseType/UInt64TypeSerialize.cs
1,973
C#
using System.Collections.Generic; using SharpNeat.Neat.Genome; namespace SharpNeat.Neat.Reproduction.Sexual.Strategy.UniformCrossover.Tests { public class UniformCrossoverReproductionStrategyTestsUtils { static readonly MetaNeatGenome<double> __metaNeatGenome; static readonly INeatGenomeBuilde...
30.617647
93
0.518732
[ "MIT" ]
colgreen/sharpneat-refactor
src/Tests/SharpNeat.Tests/Neat/Reproduction/Sexual/Strategy/UniformCrossover/UniformCrossoverReproductionStrategyTestsUtils.cs
3,125
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...
37.023256
136
0.642274
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Compute/V20210701/Inputs/VirtualMachineNetworkInterfaceConfigurationArgs.cs
3,184
C#
 using MailCheck.AggregateReport.Parser.Domain.Report; namespace MailCheck.AggregateReport.Parser.Domain { public class AggregateReportInfo { public AggregateReportInfo(Dmarc.AggregateReport aggregateReport, EmailMetadata emailMetadata, AttachmentInfo attachmentInfo) {...
31.090909
73
0.668129
[ "Apache-2.0" ]
ukncsc/MailCheck.Public.AggregateReport
src/MailCheck.AggregateReport.Parser/Domain/AggregateReportInfo.cs
686
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...
39.567568
85
0.730191
[ "Apache-2.0" ]
mehrandvd/Tralus
Framework/Source/Tralus.Framework.Migration/Properties/AssemblyInfo.cs
1,465
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("Topshelf.SimpleInjector.CI")] [assembly: ...
39.571429
84
0.744404
[ "MIT" ]
AdaskoTheBeAsT/Topshelf.SimpleInjector
Source/Topshelf.SimpleInjector.CI/Properties/AssemblyInfo.cs
1,388
C#
using System; using System.Collections; public interface IExaminable { IEnumerator StartSequence(Action doneCallback); }
15.875
51
0.795276
[ "MIT" ]
harjup/ChillTreasureTime
src/ChillTeasureTime/Assets/src/scripts/Interaction/IExaminable.cs
129
C#
using System.Collections.Generic; namespace WitsWay.TempTests.GeneralQuery.Models { public class GridPresentConfig { /// <summary> /// 支持操作权限 /// </summary> public List<OperationRights> Commands { get; set; } /// <summary> /// Grid支持功能集 </summary> public...
23.190476
59
0.552361
[ "Apache-2.0" ]
wanghuaisheng/WitsWay
Solutions/TempTests/GeneralQuery/Models/GridPresentConfig.cs
515
C#
using Dotmim.Sync.Builders; using System; using System.Text; using System.Data.Common; using System.Data; using System.Linq; using MySql.Data.MySqlClient; using Dotmim.Sync.MySql.Builders; using System.Diagnostics; using System.Collections.Generic; namespace Dotmim.Sync.MySql { public class MySqlBuilderProcedure ...
42.168083
278
0.569196
[ "MIT" ]
mikiec84/Dotmim.Sync
Projects/Dotmim.Sync.MySql/Builders/MySqlBuilderProcedure.cs
44,658
C#
using Discord; using Discord.WebSocket; using Estranged.Automation.Runner.Discord.Events; using System.Threading; using System.Threading.Tasks; namespace Estranged.Automation.Runner.Discord.Handlers { public sealed class CopyReactionEmoji : IReactionAddedHandler, IResponder { private readonly IDiscord...
29.972603
160
0.561243
[ "MIT" ]
alanedwardes/Estranged.Automation
src/Runner.Discord/Handlers/CopyReactionEmoji.cs
2,211
C#
using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace R4nd0mApps.TddStud10.Hosts.Common.StatusBar { public partial class NotificationIcon : UserControl { public NotificationIcon() { InitializeComponent(); } public b...
37.857143
194
0.669811
[ "Apache-2.0" ]
tddstud10/VS
CommonUI/StatusBar/NotificationIcon.xaml.cs
1,592
C#
namespace EncompassRest.Company.Users.Rights { /// <summary> /// HMDAProfilesRights /// </summary> public sealed class HMDAProfilesRights : ParentAccessRights { private DirtyValue<bool?> _addHMDAProfile; private DirtyValue<bool?> _deleteHMDAProfile; private DirtyValue<bool?> ...
35.703704
117
0.642116
[ "MIT" ]
PLoftis02/EncompassRest
src/EncompassRest/Company/Users/Rights/HMDAProfilesRights.cs
964
C#
using System; using System.Collections.Generic; using System.Security.Cryptography; using System.Text; namespace Drive.Models.EF { public partial class User { public void SetPassword(string password) { Password = (Id + password).ToHashString<MD5>(); } public bool MatchPassword...
25.058824
67
0.643192
[ "MIT" ]
XuPeiYao/Drive
Drive.Models.EF/Partials/User.cs
428
C#
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Abstractions; using Microsoft.AspNetCore.Mvc.Filters; using NC.Common; using System; using System.Collections.Generic; using System.Linq; ...
38.709302
133
0.638931
[ "Apache-2.0" ]
oorz/NCMVC
APP/NC.Lib/Authorize/AdminAuthorizeAttribute.cs
3,527
C#
 using Microsoft.AspNetCore.Mvc; using RS2_Tourism_Agency.Model.Request; using TourismAgency.Services; namespace RS2_Tourism_Agency.Controllers { [ApiController] [Route("[controller]")] public class PutovanjeController: BaseCRUDController< RS2_Tourism_Agency.Model.Putovanje, ...
17.278351
94
0.628878
[ "MIT" ]
MacanovicIsmar/RS2_Tourism_Agency
RS2_Tourism_Agency/Controllers/PutovanjeController.cs
1,678
C#
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System; using System.Windows.Forms; using...
45.657143
166
0.77451
[ "Apache-2.0" ]
SNBnani/Xian
Ris/Client/View/WinForms/OrderEditorComponentControl.cs
9,588
C#
namespace ServMon { partial class SettingsForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be...
44.770308
160
0.735031
[ "MIT" ]
SeinopSys/ServMon
ServMon/SettingsForm.Designer.cs
15,985
C#
using System; using System.Net; using DeviceId.Components; namespace DeviceId { public static class DeviceInfo { /// <summary> /// Return host name of device. /// </summary> /// <returns></returns> public static string GetHostName() => Dns.GetHostName();...
31.692308
148
0.522249
[ "MIT" ]
mr0fka/DeviceId
src/DeviceId/DeviceInfo.cs
4,946
C#
using GraphQL.Types; using Shamyr.Expendity.Server.Service.Graphql.Types.ExpenseType; using Shamyr.Expendity.Server.Service.Graphql.Types.ProjectPermission; using Shamyr.Expendity.Server.Service.Models.Project; namespace Shamyr.Expendity.Server.Service.Graphql.Types.Project { public class ProjectDetailType: ObjectG...
45
148
0.780676
[ "MIT" ]
prixladi/expendity-server
src/Shamyr.Expendity.Server.Service/Graphql/Types/Project/ProjectDetailType.cs
1,037
C#
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information. namespace Narvalo.Linq { using System.Collections.Generic; using System.Linq; public static partial class Qperators { public static IEnumerable<TSource> CollectAny<TSource>( ...
28.394737
112
0.55329
[ "BSD-2-Clause" ]
chtoucas/Narvalo.NET
src/Narvalo.Fx/Linq/CollectAny.cs
1,081
C#
using System.Diagnostics.CodeAnalysis; using Content.Server.Hands.Components; using Content.Server.Pulling; using Content.Shared.ActionBlocker; using Content.Shared.Alert; using Content.Shared.Buckle.Components; using Content.Shared.Interaction; using Content.Shared.MobState.Components; using Content.Shared.Popups; usi...
35.095607
138
0.552349
[ "MIT" ]
Alainx277/space-station-14
Content.Server/Buckle/Components/BuckleComponent.cs
13,582
C#
using SEDC.NotesAPI.Domain.Models; using SEDC.NotesAPI.Models.Notes; using SEDC.NotesAPI.Shared.Enums; using System; using System.Collections.Generic; using System.Text; namespace SEDC.NotesAPI.Mappers { public static class NoteMapper { public static Note ToNote(this NoteModel noteModel) { ...
26.22449
76
0.500389
[ "MIT" ]
sedc-codecademy/skwd9-09-aspnetwebapi
G4/Class14-15/API-SEDC.NotesAPI/SEDC.NotesAPI/SEDC.NotesAPI.Mappers/NoteMapper.cs
1,287
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
33.804348
101
0.583923
[ "MIT" ]
10thmagnitude/fhir-server
src/Microsoft.Health.Fhir.Core/Features/Search/Converters/FhirNodeToSearchValueTypeConverter.cs
1,557
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <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 regenerate...
62.681826
230
0.810945
[ "MIT" ]
palladiumkenya/afyamobile
LiveHTS.Droid/Resources/Resource.Designer.cs
701,535
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
41.582759
1,358
0.583133
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/UKCT_MT140901UK05PertinentInformation11.cs
12,059
C#
using System; namespace Timestamp { /// <summary> /// Time stamp factory. /// </summary> /// <remarks>Generate timestamps as number of seconds elapsed since January 1st, 1970 at UTC.</remarks> public class UnixTimestampFactory : UnixTimestampFactory<int> { /// <inheritdoc/> pro...
30.166667
107
0.664825
[ "MIT" ]
nazabk/Timestamp
Timestamp/TimestampFactories/UnixTimestampFactory.cs
545
C#
using System.Windows; using System.Windows.Media; namespace BpToolsWPFClientTest { /// <summary> /// Interaction logic for UserControl1.xaml /// </summary> public partial class StageResume : Stage { public StageResume(BpToolsLib.StageResume stageResume) : base(stageResume) { ...
21.588235
82
0.643052
[ "MIT" ]
stothp/BpTools
StageResume.xaml.cs
369
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...
41.95
85
0.761621
[ "Apache-2.0" ]
owin/museum-piece-gate
src/Deploy/Properties/AssemblyInfo.cs
839
C#
using AutoMapper; using Dotnet5.GraphQL3.Store.Domain.Entities.Reviews; using Dotnet5.GraphQL3.Store.Services.Models; using Dotnet5.GraphQL3.Store.Services.Profiles.Converters; namespace Dotnet5.GraphQL3.Store.Services.Profiles { public class ReviewProfile : Profile { public ReviewProfile() { ...
27.75
62
0.702703
[ "MIT" ]
DBollella/Dotnet5.GraphQL3.WebApplication
src/Dotnet5.GraphQL3.Store.Services/Profiles/ReviewProfile.cs
444
C#
using System; // ・ジェネリックの共変性と反変性 // https://docs.microsoft.com/ja-jp/dotnet/csharp/language-reference/keywords/in-generic-modifier // https://docs.microsoft.com/ja-jp/dotnet/csharp/language-reference/keywords/out-generic-modifier // https://docs.microsoft.com/ja-jp/dotnet/csharp/programming-guide/concepts/covariance-...
25.6875
133
0.600162
[ "MIT" ]
m-ishizaki/CS22XSamples
CS4/CS4.04.VarianceInGenericInterfaces/Program.cs
1,553
C#
using System.ComponentModel.DataAnnotations; namespace JD.Invoicing.Users.Dto { public class ResetPasswordDto { [Required] public string AdminPassword { get; set; } [Required] public long UserId { get; set; } [Required] public string NewPassword { get; set; } ...
19.294118
49
0.612805
[ "MIT" ]
IT-Evan/JD.Invoicing
src/JD.Invoicing.Application/Users/Dto/ResetPasswordDto.cs
330
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; namespace CustomProtocol { class Program { private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(Program)); static void tf_uriReceived(Uri fullURI) { ...
33.217949
112
0.478194
[ "MIT" ]
SamKirkland/GIT-URI-Commands
CustomProtocol/Program.cs
2,593
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
32.673077
153
0.551501
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/model/FilterGroup.cs
1,699
C#
using System; using System.Collections.Generic; using System.Text; namespace FlatRedBall.Utilities { #region XML Docs /// <summary> /// A class containing common string maniuplation methods. /// </summary> #endregion public static class StringFunctions { #region Fields sta...
37.789538
148
0.532853
[ "MIT" ]
derKosi/FlatRedBall
FRBDK/NewProjectCreator/NewProjectCreatorMac/FlatRedBallEngineFiles/StringFunctions.cs
31,063
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, mo...
43.135714
142
0.700282
[ "MIT" ]
alexandrvslv/datawf
External/Mono.Texteditor/Mono.TextEditor/Standalone/ITextAnchor.cs
6,039
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; namespace LinqQueryIndex { public abstract class IndexQuery { public abstract IndexQueryValues QueryValues { get; } public abst...
39.743902
163
0.689475
[ "MIT" ]
frblondin/LinqQueryIndex
LinqQueryIndex/IndexQuery.cs
3,259
C#
/* ========================================================================================== */ /* */ /* FMOD Ex - C# Wrapper . Copyright (c), Firelight Technologies Pty, Ltd. 2004-2014. */ /* ...
52.432622
460
0.64197
[ "MIT" ]
Alec-Sobeck/3D-Game
libraries/windows/include/fmod/fmod.cs
223,730
C#
using System.Collections; using System.Collections.Generic; using System.IO; using System.Text; using UnityEditor; using UnityEngine; /// <summary> /// Creates an enum that has the layers from the Tags/Layers settings in a class. /// Must be manually initiated. /// </summary> public class ToolsCreateLayers { [Me...
38.890625
100
0.582965
[ "MIT" ]
aakison/editor-salsa-unity
Editor/ToolsCreateLayers.cs
2,491
C#
using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using TaskManagerApp.Models; namespace TaskManagerApp.data { public class ApiDbContext : IdentityDbContext { public virtual DbSet<TaskModel> tasks { get; set; } public ApiDbContext(DbContextOptions<Api...
25.866667
75
0.695876
[ "MIT" ]
bahkali/100DaysC-
13-TaskManager/TaskManagerApp/data/ApiDbContext.cs
388
C#
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Azure.Devices.Edge.Agent.Service.Modules { using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Threading; using System.Threading.Tasks; using Autofac; using global::Docker.Dot...
48.939394
202
0.630341
[ "MIT" ]
ArtofIOT/Azure-iotedge
edge-agent/src/Microsoft.Azure.Devices.Edge.Agent.Service/modules/DockerModule.cs
8,075
C#
using CodeGenerator.Enums; using System; using System.Collections.Generic; using System.Linq; namespace CodeGenerator { public class ClassModel : BaseElement { public ClassModel(string name = null) { base.CustomDataType = Util.Class; base.Name = name; Constr...
37.571429
197
0.557935
[ "MIT" ]
michaelhutchful/CodeGenerator
CsCodeGenerator/ClassModel.cs
4,999
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MAB.SimpleMapper.Test { public class EntityPrivateProperties { public int ID { get; set; } public string Name { get; set; } public string Email { get; set; } } }
19.733333
41
0.655405
[ "MIT" ]
markashleybell/mab.lib.simplemapper
MAB.SimpleMapper.Test/EntityPrivateProperties.cs
298
C#
namespace CosmicJam.Library.Controls.SongEditing { using CosmicJam.Library.Services; using Macabre2D.Framework; using Macabre2D.Wpf.MonoGameIntegration; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; using System.Windows; using Point = Microsoft.Xn...
39.411111
172
0.645052
[ "MIT" ]
BrettStory/CosmicJam
Library/Controls/SongEditing/SongEditor.cs
7,096
C#
using ScriptConverter.Parser; namespace ScriptConverter.Ast.Expressions { class InstanceOfExpression : Expression { public Expression Left { get; private set; } public ScriptType Type { get; private set; } public InstanceOfExpression(ScriptToken end, Expression left, ScriptType type) ...
25
111
0.586667
[ "MIT" ]
Rohansi/SWG-ScriptConverter
ScriptConverter/Ast/Expressions/InstanceOfExpression.cs
752
C#
using System; using Bytewizer.TinyCLR.Http; using Bytewizer.Playground.Json.Models; namespace Bytewizer.Playground.Json { class Program { private static Person[] _persons; static void Main() { NetworkProvider.InitializeEthernet(); InitJson(); va...
38.297297
161
0.38885
[ "MIT" ]
bytewizer/microserver
playground/json/Program.cs
4,253
C#
#pragma checksum "..\..\..\Controls\StockPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "1A861268DB027D11614E5612772F98C6" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34209 // // ...
40.771084
156
0.657654
[ "MIT" ]
chithanh12/machenic
MachenicWpf/obj/Debug/Controls/StockPage.g.cs
6,770
C#
using System.Collections.Generic; using UnityEngine; using FairyGUI.Utils; namespace FairyGUI { /// <summary> /// GLoader class /// </summary> public class GLoader : GObject, IAnimationGear, IColorGear { /// <summary> /// Display an error sign if the loader fails to load the content. /// </summary> publi...
19.413379
124
0.62246
[ "MIT" ]
King098/LuaFramework-ToLua-FairyGUI
Assets/FairyGUI/Scripts/UI/GLoader.cs
11,368
C#
using System.Linq; using Content.Server.CombatMode; using Content.Server.Hands.Components; using Content.Server.Popups; using Content.Server.Pulling; using Content.Server.Stack; using Content.Server.Storage.Components; using Content.Server.Storage.EntitySystems; using Content.Server.Strip; using Content.Server.Stunnab...
39.728873
160
0.638749
[ "MIT" ]
SplinterGP/space-station-14
Content.Server/Hands/Systems/HandsSystem.cs
11,283
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BeeHive; using BeeHive.Configuration; using BeeHive.DataStructures; using ConveyorBelt.Tooling.Configuration; using ConveyorBelt.Tooling.Events; using Microsoft.WindowsAzure.Storage; usi...
36.545455
119
0.643781
[ "MIT" ]
aliostad/ConveyorBelt
src/ConveyorBelt.Tooling/Scheduling/RangeShardKeyScheduler.cs
1,958
C#
using AntMe.ItemProperties.Basics; namespace AntMe.Core.Debug { public class DebugSnifferItem : Item { private SnifferProperty sniffer; public DebugSnifferItem(ITypeResolver resolver, Vector2 pos) : base(resolver, pos, Angle.Right) { sniffer = new SnifferProper...
20.55
68
0.579075
[ "MIT" ]
AntMeNet/AntMeCore
tests/AntMe.Core.Debug/DebugSnifferItem.cs
413
C#
// <auto-generated/> // Contents of: hl7.fhir.r5.core version: 4.4.0 using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using Hl7.Fhir.Introspection; using Hl7.Fhir.Serialization; using Hl7.Fhir.Specification; using Hl7.Fhir.Utility; using Hl7.Fhir.Validation; /* ...
40.049284
203
0.668803
[ "MIT" ]
Vermonster/fhir-codegen
generated/CSharpFirely1_R5/Generated/ActivityDefinition.cs
69,886
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
33.802469
107
0.572803
[ "Apache-2.0" ]
tencentcloudapi-test/tencentcloud-sdk-dotnet
TencentCloud/Tdmq/V20200217/Models/Cluster.cs
9,318
C#
using System; using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /componenttcb/batchdelcsversion 接口的请求。</para> /// </summary> public class ComponentTcbBatchDeleteContainerServiceVersionRequest : WechatApiRequest { public s...
35.075472
90
0.549758
[ "MIT" ]
KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/ComponentTcb/ContainerService/Version/ComponentTcbBatchDeleteContainerServiceVersionRequest.cs
1,973
C#
/********************************************************************** * Copyright © 2009, 2010, 2011, 2012 OPC Foundation, Inc. * * The source code and all binaries built with the OPC .NET 3.0 source * code are subject to the terms of the Express Interface Public * License (Xi-PL). See http://www.opcfoundation...
40.651741
95
0.67556
[ "MIT" ]
ru-petrovi4/Ssz.Utils
Ssz.Xi.Client/Xi.Contracts/IWrite.cs
8,172
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Dynamitey; namespace SqlServerToCouchbase { /// <summary> /// Use this pipeline to scramble values for the given field names. /// Useful when working with a database with sensitive data/PII /// </summary> p...
42.078652
197
0.540454
[ "MIT" ]
mgroves/SqlServerToCouchbase
SqlServerToCouchbase/ScrambleSensitivePipeline.cs
3,747
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace squadup.Pages { public class ErrorModel : PageModel { public string RequestId { get...
26.625
93
0.669797
[ "MIT" ]
kseebrinegar/squadup
squadup/Pages/Error.cshtml.cs
639
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Konsole.Menus { public class TaskMenuItem : MenuItem { public TaskMenuItem(char key, string title, Action action) : base(key, title, action) { } public...
20.65
93
0.651332
[ "Apache-2.0" ]
gitter-badger/konsole
Konsole/Menus/TaskMenuItem.cs
415
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
35.272727
154
0.625859
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Cr/V20180321/Models/DescribeTaskStatusResponse.cs
2,604
C#
/* * ****************************************************************************** * Copyright 2014-2017 Spectra Logic Corporation. 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 i...
36.16129
89
0.607493
[ "Apache-2.0" ]
RachelTucker/ds3_net_sdk
Ds3/Calls/ModifyDs3TargetSpectraS3Response.cs
1,121
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 may not...
36
75
0.729345
[ "Apache-2.0" ]
AndrewLane/usergrid
sdks/dotnet/Usergrid.Sdk/Payload/NotificationPayload.cs
1,404
C#
using HeroSiege.FTexture2D.FAnimation; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HeroSiege.FTexture2D { public class Sprite { public TextureRegion Region { get; private set; } ...
26.303448
137
0.538804
[ "MIT" ]
Gordox/ArcadeGame
HeroSiege_ArcadeMachine/HeroSiege/FTexture2D/Sprite.cs
3,816
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Security.Cryptography; using System.Text.Encodings.Web; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Micros...
48.962963
158
0.711989
[ "MIT" ]
JimBobSquarePants/Statiq.Framework
src/extensions/Statiq.Razor/IServiceCollectionExtensions.cs
5,290
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Model.HHZX.UserInfomation; using Model.HHZX.UserInfomation.CardUserInfo; using Model.HHZX.Report; using BLL.IBLL.HHZX.UserCard; u...
27.84
113
0.588362
[ "BSD-3-Clause" ]
sndnvaps/OneCard_
WindowUI.HHZX/Report/frmChangeCard.cs
2,808
C#
namespace p { }
5.333333
13
0.625
[ "Apache-2.0" ]
monoman/cnatural-language
tests/resources/ParseCompilationUnitTest/sources/EmptyNamespace.stab.cs
16
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated w...
42.551724
98
0.713938
[ "MIT" ]
Kaibu/WindowsGSM
WindowsGSM/Properties/AssemblyInfo.cs
2,471
C#
using Erps.DAO; using Erps.DAO.security; using Erps.Models; using PagedList; using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Threading.Tasks; using System.Web.Mvc; using WebMatrix.WebData; namespace Erps.Controllers { //[Cu...
37.735426
180
0.552109
[ "Apache-2.0" ]
developers-git/NewERPs
Erps/Controllers/ModulesController.cs
8,417
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace BullsAndCows.Web.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate it...
42.758772
261
0.553236
[ "MIT" ]
dzhenko/TelerikAcademy
WebServices/BullsAndCows/BullsAndCows.Web/Areas/HelpPage/SampleGeneration/ObjectGenerator.cs
19,498
C#
using HEC.Plotting.SciChart2D.DataModel; using HEC.Plotting.SciChart2D.ViewModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ViewModel.ImpactAreaScenario.Results.RowItems; namespace ViewModel.ImpactAreaScenario.Results { public class D...
30.739726
122
0.565062
[ "MIT" ]
HydrologicEngineeringCenter/HEC-FDA
ViewModel/ImpactAreaScenario/Results/DamageWithUncertaintyVM.cs
2,246
C#
// <copyright file="BugReportingTimeEventHandlers.cs" company="Automate The Planet Ltd."> // Copyright 2021 Automate The Planet Ltd. // Licensed under the Apache License, Version 2.0 (the "License"); // You may not use this file except in compliance with the License. // You may obtain a copy of the License at http://w...
49.583333
222
0.768908
[ "Apache-2.0" ]
alexandrejulien/BELLATRIX
src/Bellatrix.Desktop/eventhandlers/BugReporting/BugReportingTimeEventHandlers.cs
1,192
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="RWSingleController.cs" company="DTV-Online"> // Copyright(c) 2017 Dr. Peter Trimmel. All rights reserved. // </copyright> // <license> // Licensed under the MIT license. See the...
64.060274
150
0.645817
[ "MIT" ]
tilizi/NModbus
NModbusTCP/Controllers/RWSingleController.cs
46,766
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 Gov.Lclb.Cllb.Interfaces { using Microsoft.Rest; using Models; using System.Collections; usin...
49.069182
540
0.624455
[ "Apache-2.0" ]
BrendanBeachBC/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/ILicencetypesapplicationtypesset.cs
7,802
C#
using FluentValidation; namespace SaleTheaterTickets.Models.ViewModelValidators { public class LoginViewModelValidator : AbstractValidator<LoginViewModel> { public LoginViewModelValidator() { RuleFor(X => X.Email) .NotEmpty().WithMessage("Informe o e-mail") ...
30.352941
88
0.610465
[ "MIT" ]
karolinagb/SaleTheaterTickets
SaleTheaterTickets/SaleTheaterTickets/Models/ViewModelValidators/LoginViewModelValidator.cs
519
C#
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 ...
29.302419
156
0.554975
[ "Apache-2.0" ]
NikGovorov/MassTransit
src/MassTransit.TestFramework/InMemoryTestFixture.cs
7,267
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Volvox.Helios.Domain.Discord; namespace Volvox.Helios.Web.ViewModels.Dashboard { public class DashboardDetailsViewModel { public List<UserGuild> UserGuilds { get; set; } public Guild Guild {...
21.3125
55
0.721408
[ "MIT" ]
BillChirico/Volvox.Helios
src/Volvox.Helios.Web/ViewModels/Dashboard/DashboardDetailsViewModel.cs
343
C#
using System; using System.Collections.Generic; using System.Linq; using Evolve.Dialect; using Evolve.Migration; using Evolve.Utilities; namespace Evolve.Metadata { public abstract class MetadataTable : IEvolveMetadata { protected const string MigrationMetadataTypeNotSupported = "This method does not ...
32.541667
159
0.535354
[ "MIT" ]
iainnicol/Evolve
src/Evolve/Metadata/MetadataTable.cs
7,031
C#
using UnityEngine; using System.Collections; public class Bullet : MonoBehaviour { public float bulletSpeed; public float lifeTime; float timer = 0; PlayerMove playerM; Vector3 velo; Vector3 pos; GameObject bulletParent; // Use this for initialization void Start() {...
16.631579
88
0.537342
[ "Apache-2.0" ]
DaffyNinja/PlatformShooter
My Platformer/MyPlatformerShooter/Assets/Scripts/Player/Bullet.cs
1,582
C#
namespace Ghacu.Api.Version { public interface IDbCacheVersionProvider : ILatestVersionProvider { } }
17.833333
67
0.785047
[ "MIT" ]
fabasoad/ghacu
src/Ghacu.Api/Version/IDbCacheVersionProvider.cs
107
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...
42.376238
178
0.658411
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/QuickSight/Generated/Model/Internal/MarshallTransformations/ListIAMPolicyAssignmentsForUserRequestMarshaller.cs
4,280
C#