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 Eric.Morrison.Harmony; using Eric.Morrison.Harmony.Scales; using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Printing; using System.Linq; using System.Windows.Forms; namespace NeckDiagrams { public partial class NeckControl : UserControl { List<NoteRange> NoteRanges ...
26.801527
115
0.691541
[ "MIT" ]
emorrison1962/HarmonyHelper
HarmonyHelper/NeckDiagrams/Controls/NeckControl.cs
3,513
C#
namespace MCForge.GUI { partial class Bugs { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param na...
41.677419
136
0.56437
[ "Unlicense" ]
MCForge/MCForge-Vanilla-Redux
GUI/Bugs.Designer.cs
7,752
C#
using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace Borg.Cms.Basic.PlugIns.Documents.Data.Migrations { public partial class two : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.Renam...
28.678571
71
0.590286
[ "MIT" ]
mitsbits/NoBorg
src/projects/cms/Borg.Cms.Basic.PlugIns.Documents/Data/Migrations/20180203205715_two.cs
805
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 ...
30.925
134
0.69523
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-ess/Ess/Model/V20140828/DescribeLimitationRequest.cs
2,474
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Utilities; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Rendering { [ExecuteInEditMode] public class DepthBufferRenderer : MonoBehaviour { ...
33.182927
174
0.609335
[ "MIT" ]
ForrestTrepte/azure-remote-rendering
Unity/AzureRemoteRenderingShowcase/arr-showcase-app/Assets/MixedRealityToolkit/Utilities/Rendering/DepthBufferRenderer.cs
2,723
C#
using System.Xml.Serialization; using Microsoft.Xna.Framework; namespace Nez.Svg { public class SvgPolygon : SvgElement { [XmlAttribute("cx")] public float CenterX; [XmlAttribute("cy")] public float CenterY; [XmlAttribute("sides")] public int Sides; [XmlAttribute("points")] public string PointsAttribu...
25.359375
106
0.686383
[ "Apache-2.0", "MIT" ]
Paramecium13/Nez
Nez.Portable/Graphics/SVG/Shapes/SvgPolygon.cs
1,625
C#
using System; namespace Api.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 new instance ...
26.487805
131
0.503683
[ "MIT" ]
advancedrei/auth0.net
examples/webapi/Api/Areas/HelpPage/SampleGeneration/ImageSample.cs
1,086
C#
using System; namespace FluentReflection.Specs { /// <summary> /// A specification for adding parameters to the current specification. /// Addition of paramters allows the invokation of constructors or /// methods that have parameters specified. /// </summary> /// <typeparam name="T">The type ...
47.4
97
0.648383
[ "MIT" ]
apjanes/FluentReflection
src/Specs/IParamSpec.cs
1,424
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...
37.144231
115
0.613513
[ "Apache-2.0" ]
HaiNguyenMediaStep/aws-sdk-net
sdk/src/Services/MediaConvert/Generated/Model/Internal/MarshallTransformations/HlsGroupSettingsMarshaller.cs
7,726
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.Diagnostics; using System.Runtime.InteropServices; namespace System.Drawing { public sealed class ...
31.247619
127
0.562938
[ "MIT" ]
AlexGhiondea/corefx
src/System.Drawing.Common/src/System/Drawing/SolidBrush.cs
3,281
C#
using System; using Elasticsearch.Net; using FluentAssertions; using Nest; using Tests.Framework; using Tests.Framework.Integration; using Tests.Framework.ManagedElasticsearch.Clusters; namespace Tests.XPack.MachineLearning.CloseJob { public class CloseJobApiTests : MachineLearningIntegrationTestBase<CloseJobRespons...
38.272727
140
0.781473
[ "Apache-2.0" ]
591094733/elasticsearch-net
src/Tests/Tests/XPack/MachineLearning/CloseJob/CloseJobApiTests.cs
1,686
C#
using MigrationTools._EngineV1.Configuration; namespace MigrationTools.Engine.Containers.Tests { public class SimpleFieldMapConfigMock : IFieldMapConfig { public string WorkItemTypeName { get; set; } public string FieldMap { get { return "Simple...
21.529412
59
0.590164
[ "MIT" ]
ACoderLife/azure-devops-migration-tools
src/MigrationTools.Tests/Core/Engine/Containers/SimpleFieldMapConfigMock.cs
368
C#
#pragma warning disable 1591 // ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Mono Runtime Version: 4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code ...
22.051724
105
0.593432
[ "MIT" ]
MarcosAC/KimonoDesigner
KimonoCore.Android/Resources/Resource.designer.cs
1,279
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using RestSharp; namespace SematimeGlue { public class SematimeGlue { private string _baseUrl = "https://apis.sematime.com/v1/"; private string _token...
29.507692
121
0.538582
[ "MIT" ]
mwangepatrick/SematimeGlue
SematimeGlue/SematimeGlue/SematimeGlue.cs
1,920
C#
using NUnit.Framework; using Workbench.Core.Parsers; namespace Workbench.Core.Tests.Unit.Parsers { [TestFixture] public class ConstraintExpressionParserWithEmptyStatementShould { [Test] public void ParseWithEmptyStatementReturnsStatusSuccess() { var sut = CreateSut(); ...
29.46875
87
0.64263
[ "BSD-3-Clause" ]
constraint-capers/workbench
tests/Workbench.Core.Tests.Unit/Parsers/ConstraintExpressionParserWithEmptyStatementShould.cs
945
C#
using System; using System.Data.Common; using CavemanTools; namespace SqlFu { public class SProcInput { public string ProcName { get; set; } /// <summary> /// Arguments as an anonymous object, output parameters names must be prefixed with _ /// </summary> /// <example> ...
25.8
94
0.585271
[ "Apache-2.0" ]
sapiens/SqlFu
src/SqlFu/StoredProcedures/SProcInput.cs
516
C#
// // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2015 Jb Evain // Copyright (c) 2008 - 2011 Novell, Inc. // // Licensed under the MIT/X11 license. // using System; using RVA = System.UInt32; namespace Mono.Cecil.PE { struct DataDirectory { public readonly RVA VirtualAddress; public r...
16
51
0.649621
[ "MIT" ]
13294029724/ET
Unity/Assets/ThirdParty/ILRuntime/Mono.Cecil/Mono.Cecil.PE/DataDirectory.cs
528
C#
using DSharpPlus.Entities; using DSharpPlus.SlashCommands; using ducker.Logs; using ducker.SlashCommands.Attributes; namespace ducker.SlashCommands.AdministrationModule; public partial class AdministrationSlashCommands { [SlashCommand("tempban", "Temporarily ban mentioned member")] [RequireAdmin] public ...
41.423077
111
0.698236
[ "MIT" ]
jus1d/ducker
src/SlashCommands/AdministrationModule/TempbanCommand.cs
1,079
C#
using System; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; namespace WebApplication.Models { public partial class AdsGoFastContext : DbContext { partial void OnModelCre...
43.467742
153
0.59833
[ "MIT" ]
rbev/azure-data-services-go-fast-codebase
solution/WebApplication/WebApplication/Models/Customisations/AdsGoFastContext.cs
5,392
C#
using System; using System.Diagnostics; using System.Linq; namespace Rebus.AwsSnsAndSqs { #if NET45 || NETSTANDARD2_0 [AttributeUsage(AttributeTargets.Class)] public sealed class TopicNameAttribute : Attribute { public TopicNameAttribute(string topic) { if (topic == null) ...
32.675676
307
0.618693
[ "MIT" ]
P47Phoenix/Rebus.AwsSnsAndSqs
Rebus.AwsSnsAndSqs/TopicNameAttribute.cs
1,211
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace WebbShopAPI.Models { /// <summary> /// Contains Id, Name, Password, LastLogin, SessionTimer, isActive, IsAdmin data for user /// </summary> public class User { [Key] ...
27.521739
93
0.624013
[ "MIT" ]
marcusjobb/NET20D
OOPA/WebbshopProjekt/Mattias/WebbShopAPI-master/Inlämning2Mattias/Models/User.cs
635
C#
namespace Win.ProCosmeticos { partial class FormProductos { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
59.034483
189
0.662899
[ "MIT" ]
amayafany28/ProyectoCosmeticos
PCosmeticos/Win.ProCosmeticos/FormProductos.Designer.cs
29,110
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Ball : MonoBehaviour { private bool isSelected; private Rigidbody2D rb; private Rigidbody2D hookRb; private SpringJoint2D sj; [SerializeField] private float speed; [SerializeField...
23.507246
95
0.628442
[ "MIT" ]
Shurid16/Color-Drag-2D
Assets/Scripts/Ball.cs
4,866
C#
namespace Basset.Options { public enum ServerType { SQLite, MySQL, Postgres // Not implemented } public class DataOptions { public ServerType ServerType { get; set; } = ServerType.SQLite; public string Database { get; set; } = "basset"; public str...
25.8
71
0.556202
[ "MIT" ]
Aux/Basset
src/Basset.Core/Options/DataOptions.cs
518
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
30.563981
168
0.573112
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/CustomerInsights/V20170101/GetKpi.cs
6,449
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Linq; using System.Text; using System.Threading.Tasks; using VocabularyCard.Core.Entities; namespace VocabularyCard.Core.Repositories { public interface IDbContext : IDisposable { ...
23.956522
89
0.736842
[ "MIT" ]
soriano7788/VocabularyCardProject
VocabularyCard.Core/Repositories/IDbContext.cs
553
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...
34.180328
119
0.590647
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Kinesis/Generated/Model/PutRecordsResultEntry.cs
4,170
C#
using System; using System.Data.SqlClient; using System.ServiceModel; using MobileService.Exception; using MobileService.Model; namespace MobileService.Database { public class DbUser { private static SqlConnection _connection; private readonly string _connectionString = "Server=kraka.ucn.dk;" ...
37.444934
112
0.483059
[ "Apache-2.0" ]
akhegr/Skoleprojekter
4. semester projekt/MobilSemProjekt/MobileService/MobileService.Database/DbUser.cs
8,502
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
36.741722
153
0.64708
[ "MIT" ]
Philippe-Morin/azure-powershell
src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/AEMExtensionTests.cs
5,400
C#
namespace Zoo.Reptile { public class Lizard : Reptile { public Lizard(string name) : base(name) { } } }
11.846154
34
0.474026
[ "MIT" ]
markodjunev/Softuni
C#/C# OOP/Inheritance - Exercise/Zoo/Reptile/Lizard.cs
156
C#
//----------------------------------------------------------------------- // <copyright file="ConfigSettingsExtensions.cs" company="SonarSource SA and Microsoft Corporation"> // Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in th...
35.562189
130
0.534555
[ "MIT" ]
Godin/sonar-msbuild-runner
SonarQube.Common/AnalysisConfig/AnalysisConfigExtensions.cs
6,950
C#
/* * Intersight REST API * * This is Intersight REST API * * OpenAPI spec version: 1.0.9-262 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using Syst...
35.22449
140
0.57725
[ "Apache-2.0" ]
ategaw-cisco/intersight-powershell
csharp/swaggerClient/src/intersight/Model/WorkflowTaskInfoList.cs
5,178
C#
using System.Collections.Generic; using Eshava.Core.Logging.Models; using System.ComponentModel.DataAnnotations; namespace Eshava.Core.Logging.Interfaces { public interface IDataRecordChangeTracker<P> { IEnumerable<DataRecordLogProperty<P>> CreateInsertLogs<T>(T dataRecord, P dataRecordId, P dataRecordParentId) w...
41.571429
151
0.751432
[ "MIT" ]
eshava/core
Eshava.Core.Logging/Interfaces/IDataRecordChangeTracker.cs
875
C#
using Application.DataAccessFramework; using Application.IoC.Interfaces; using System.Data; using System.Data.Entity.Infrastructure; using System.Data.Objects; namespace Application.IoC { /// <summary> /// This represents the Unit of Work entity. /// </summary> public class UnitOfWork : IUnitOfWork { //http://...
31
156
0.711864
[ "MIT" ]
aliencube/Web-Application-Boilerplate
SourceCodes/Boilerplates/Application.IoC/UnitOfWork.cs
3,664
C#
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace OneFitnessVue.Model.UserMaster { [Table("Usermaster")] public class UserMasterModel { [Key] public int UserId { get; set; } public string UserName { get; set; } ...
35.37037
64
0.620942
[ "MIT" ]
guptamcts/FitnessProject
OneFitnessVueSolution/OneFitnessVue.Model/UserMaster/UserMasterModel.cs
957
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class daughter01 : Story { void op1() { Game game = GameObject.Find("game").GetComponent<Game>(); game.UpdateStatus(0, 10, 0, 0); game.AddTriggeredEvent("daughter01" + "_" + "1"); game.Next();...
23.565217
65
0.581181
[ "MIT" ]
wsm1992/homeless
Assets/daughter01.cs
544
C#
using Alabo.Web.Mvc.Attributes; using System.Collections.Generic; namespace Alabo.Framework.Core.WebUis.Models.Lists { /// <summary> /// 通过列表输出,对应前端Api接口 /// </summary> [ClassProperty(Name = "链接")] public class ListOutput : BaseComponent { /// <summary> /// 样式格式,不通的数据可能显示...
22.311475
79
0.457017
[ "MIT" ]
tongxin3267/alabo
src/01.framework/02-Alabo.Framework.Core/WebUis/Models/Lists/ListOutput.cs
1,513
C#
// <autogenerated /> #nullable enable using System; using System.Collections.Generic; namespace UseDeptorygen.Samples.Mixin { internal partial class MixinFactory : IMixinFactory , IDisposable { private Service2? _ResolveService2Cache; private ClientB? _ResolveClientBCache; private Service? _ResolveServiceCa...
19.204545
66
0.727811
[ "MIT" ]
NumAniCloud/Deptorygen
Source/Deptorygen.XUnit/DataSource/UnitTests/Mixin2/Expected/MixinFactory.g.cs
847
C#
using HarmonyLib; using SolastaCommunityExpansion.CustomFeatureDefinitions; using SolastaModApi.Infrastructure; using System.Collections.Generic; using UnityEngine; namespace SolastaCommunityExpansion.Patches.PowerSharedPool { static class RulesetCharacterPatch { [HarmonyPatch(typeof(RulesetCharacter)...
45.390728
151
0.596148
[ "MIT" ]
CEDSS/SolastaCommunityExpansion
SolastaCommunityExpansion/Patches/PowerSharedPool/RulesetCharacterPatch.cs
6,856
C#
using System; using Scolari.Movement.MovementManaging; using Scolari.Pieces; namespace Scolari.Util { /// <summary> /// Implementation of the IPlayer interface. /// </summary> public class Player : IPlayer { public PlayerColor Color { get; } public IUser User { get; }...
24.560976
84
0.525323
[ "MIT" ]
zucchero-sintattico/OOP20-Jhaturanga-C-Sharp
Scolari/Scolari/Util/Player.cs
1,009
C#
using YggdrAshill.Nuadha.Signalization; using YggdrAshill.Nuadha.Transformation; using YggdrAshill.Nuadha.Unitization; namespace YggdrAshill.Nuadha.Units { /// <summary> /// Defines <see cref="IModule"/> for pulsated button as hardware. /// </summary> public interface IPulsatedButtonHardware : ...
28.291667
81
0.606775
[ "MIT" ]
do-i-know-it/YggdrAshill.Nuadha
Units/Button/IPulsatedButtonHardware.cs
679
C#
using BrawlLib.Imaging; using BrawlLib.Internal; using BrawlLib.Internal.Drawing; using BrawlLib.Internal.IO; using BrawlLib.SSBB.Types; using BrawlLib.Wii.Textures; using System; using System.ComponentModel; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; namespace BrawlLib.SS...
31.484694
120
0.514746
[ "MIT" ]
RedStoneMatt/BrawlCrate
BrawlLib/SSBB/ResourceNodes/Graphics/REFTNode.cs
12,344
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Linq; /// <summary> /// Uses an ordered list of CameraProperties modifier functions to modify an instance of CameraProperties. /// Camera properties can be edited or overwritten. /// This is handy for easily performing tweaks ...
47.054795
186
0.811354
[ "MIT" ]
tomkail/UnityX
Assets/UnityX/Scripts/Extensions/Camera/Camera Properties/CameraPropertiesBuilderQueue.cs
3,435
C#
using System.Collections.Generic; namespace Halogen { public static class Constants { public const string KeyValueDelimiter = "│"; public const string KeyDelimiter = "║"; public static IReadOnlyList<string> SupportedExtensions = new List<string> { "mkv", ...
21.807692
82
0.435626
[ "MIT" ]
agc93/halogen
src/Halogen.Core/Constants.cs
571
C#
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ using System.Collections.Generic; using System.Globalization; using System.Threading.Tasks; namespace Sportradar.OddsFeed.SDK.Entities.REST { /// <summary> /// Defines a contract implemented by classes representing a match s...
39.291667
109
0.645281
[ "Apache-2.0" ]
Furti87/UnifiedOddsSdkNet
src/Sportradar.OddsFeed.SDK.Entities.REST/IMatchStatus.cs
1,888
C#
namespace P03_SalesDatabase.Data.Models { using System.Collections.Generic; public class Product { public Product() { this.Sales = new List<Sale>(); } public int ProductId { get; set; } public string Name { get; set; } public double Quantity {...
19.56
53
0.558282
[ "MIT" ]
TihomirIvanovIvanov/SoftUni
C#DBFundamentals/DB-Advanced-Entity-Framework-Core/03DBCodeFirst/ExercisesCodeFirst/P03_SalesDatabase/Data/Models/Product.cs
491
C#
using Coldairarrow.Entity.PB; using Coldairarrow.Util; using System.Collections.Generic; using System.Threading.Tasks; namespace Coldairarrow.Business.PB { public interface IPB_TrayZoneBusiness { Task<PageResult<PB_TrayZone>> GetDataListAsync(PageInput<ConditionDTO> input); Task<List<PB_TrayZo...
32.941176
86
0.741071
[ "MIT" ]
GerryGe/WMS
src/Coldairarrow.IBusiness/PB/IPB_TrayZoneBusiness.cs
562
C#
namespace Opal.Logging { public enum Importance { /// <summary> /// A high importance message. /// </summary> High = 0, /// <summary> /// A normal importance message /// </summary> Normal = 1, /// <summary> /// A low impor...
19.05
39
0.433071
[ "Apache-2.0" ]
mrfichtn/opal
oc/Logging/Importance.cs
383
C#
// Copyright (c) Jeremy W. Kuhne. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using WInterop.Errors; using WInterop.Memory.Native; namespace WInterop.Memory { public static partial class Memory { /// <summary...
38.111111
157
0.592061
[ "MIT" ]
RussKie/WInterop
src/WInterop.Desktop/Memory/Memory.cs
4,461
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Glimpse.Core.Framework; using Ninject; namespace NuGetGallery.Diagnostics { public class NinjectGlimpseServiceLocator : IServiceLocator { public ICollection<T> GetAllInstances<T>() where T : class { ...
30.8
132
0.630952
[ "ECL-2.0", "Apache-2.0" ]
JetBrains/ReSharperGallery
src/NuGetGallery/Diagnostics/NinjectGlimpseServiceLocator.cs
926
C#
using System; using System.Collections.Generic; namespace PROProtocol { public class PokemonStats { public int Health; public int Attack; public int Defence; public int SpAttack; public int SpDefence; public int Speed; public PokemonStats(...
31.105882
74
0.442133
[ "MIT" ]
MeltWS/Proshine
PROProtocol/PokemonStats.cs
2,646
C#
using System; using System.Collections.Generic; using System.Text; namespace H6.WeJobTasks.Configuration { public class TaskDefinition { /// <summary> /// name of assembly where is task definition /// </summary> public string Assembly { get; set; } /// <summary> /// Namespace where is tas...
22.35
57
0.583893
[ "Apache-2.0" ]
JOhugo6/H6
src/H6.WeJobTasks/Configuration/TaskDefinition.cs
896
C#
using System.Diagnostics; using System.Linq; namespace Gadgetry.Channels; /// <summary> /// Represents a hard-typed writer for a <see cref="GadgetRuntimeChannel{TModel}"/> during a <see cref="GadgetRuntime"/> execution. /// </summary> public class GadgetRuntimeChannelWriter<TModel> : IGadgetRuntimeChannelWriter { /...
30.936508
139
0.741919
[ "Apache-2.0" ]
Fydar/Gadgetry
src/Gadgetry.Channels/GadgetRuntimeChannelWriter.cs
1,951
C#
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /* * * Base64Transform.cs * * Author: bal * */ // This file contains two ICryptoTransforms: ToBase64Transform and FromBase64Transform // they may be attached to a CryptoStream in either read or write mode ...
50.07947
154
0.620206
[ "Unlicense" ]
bestbat/Windows-Server
com/netfx/src/clr/bcl/system/security/cryptography/base64transforms.cs
15,124
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BooksCatalogueAPI.Models { public class AzureStorageConfig { public string AccountName { get; set; } public string AccountKey { get; set; } public string QueueName { get; set; } ...
25.470588
54
0.676674
[ "MIT" ]
IndraMahkota/BooksCatalogueAPI
Models/AzureStorageConfig.cs
435
C#
using System; using Master40.SimulationCore.Environment; using Master40.SimulationCore.Environment.Options; using MathNet.Numerics.Distributions; namespace Master40.SimulationCore.Helper.DistributionProvider { public class WorkTimeGenerator { public static WorkTimeGenerator Create(Configuration config...
36.666667
126
0.570909
[ "Apache-2.0" ]
s76527/ng-erp-4.0
Master40.SimulationCore/Helper/DistributionProvider/WorkTimeGenerator.cs
1,652
C#
/** * Copyright 2018 IBM Corp. 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 * * Unless required by applicable law o...
33.175
94
0.68425
[ "Apache-2.0" ]
anlblci/dotnetwatson
src/IBM.WatsonDeveloperCloud.SpeechToText.v1/Model/WordAlternativeResult.cs
1,327
C#
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using Si...
43.5
283
0.706258
[ "MIT" ]
ThomasMiz/Silk.NET
src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.ARB/ArbBindlessTextureOverloads.gen.cs
2,349
C#
#region Disclaimer/Info /////////////////////////////////////////////////////////////////////////////////////////////////// // Subtext WebLog // // Subtext is an open source weblog system that is a fork of the .TEXT // weblog system. // // For updated news and information please visit http://subtextproject.com/ // Su...
37.268293
120
0.615183
[ "MIT", "BSD-3-Clause" ]
Dashboard-X/SubText-2.5.2.0.src
UnitTests.Subtext/Framework/Components/EnclosureTests/MimetypeDetectionTests.cs
3,056
C#
// <copyright file="DailyTimesheet.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // </copyright> namespace Microsoft.Teams.Apps.Timesheet.Models { using System; /// <summary> /// Represents user's efforts details for particular calendar da...
25.978261
72
0.548954
[ "MIT" ]
Ampliosoft/microsoft-teams-apps-timesheet
Source/Microsoft.Teams.Apps.Timesheet/Models/DailyTimesheet.cs
1,197
C#
using Decider.Csp.BaseTypes; using Decider.Csp.Integer; using System; namespace ConstrainedObjectBuilder.UnitTests { class DataBuilder : ObjectBuilder<Data> { public override Data Build() { IState<int> state = new StateInteger(Variables.Values, Constraints); state.StartSearch(out StateOperation...
22.540541
83
0.631894
[ "MIT" ]
leonverschuren/ConstrainedObjectBuilder
ConstrainedObjectBuilder.UnitTests/DataBuilder.cs
834
C#
using Esquio.EntityFrameworkCore.Store; using Esquio.EntityFrameworkCore.Store.Entities; using Esquio.UI.Api.Diagnostics; using MediatR; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using System; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace ...
38.150943
118
0.623145
[ "Apache-2.0" ]
evacrespob/Esquio
src/Esquio.UI.Api/Features/Users/Add/AddPermissionRequestHandler.cs
2,024
C#
// // System.Net.WebConnection // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // (C) 2003 Ximian, Inc (http://www.ximian.com) // // // 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 t...
26.494878
137
0.630331
[ "Apache-2.0" ]
Mailaender/mono
mcs/class/System/System.Net/WebConnection.cs
33,622
C#
using System.Threading.Tasks; using System.Web.Mvc; using Moq; using NUnit.Framework; using SFA.DAS.Authentication; using SFA.DAS.Authorization; using SFA.DAS.EmployerAccounts.Configuration; using SFA.DAS.EmployerAccounts.Interfaces; using SFA.DAS.EmployerAccounts.Models.AccountTeam; using SFA.DAS.EmployerAccounts.Web...
36.864583
103
0.656965
[ "MIT" ]
SkillsFundingAgency/das-employeraccounts
src/SFA.DAS.EmployerAccounts.Web.UnitTests/Controllers/InvitationControllerTests/WhenViewingInvitations.cs
3,541
C#
using Newtonsoft.Json; using NHM.Common; using NHM.Common.Enums; using NHM.MinerPlugin; using NHM.MinerPluginToolkitV1; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using NHM.MinerPluginToolkitV1.Configs; using NHM.Miner...
47.715719
191
0.569846
[ "MIT" ]
asaasasaasa/NiceHashMiner
src/Miners/LolMiner/LolMiner.cs
14,269
C#
using Microsoft.Extensions.DependencyInjection; using RealWorldDesignPatterns.Adapter.Contract; using RealWorldDesignPatterns.Adapter.Implementations.RickAndMorty; using RealWorldDesignPatterns.Adapter.Implementations.StarWars; using RealWorldDesignPatterns.Adapter.Implementations.StreetFighter; namespace RealWorldDe...
41.904762
95
0.782955
[ "Apache-2.0" ]
j-didi/RealWorldDesignPatterns
Patterns/Structural/RealWorldDesignPatterns.Adapter/DI/Injector.cs
882
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace SampleFormsApp.iOS { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // if you want to use a differe...
23.142857
91
0.635802
[ "MIT" ]
technoboom/xamarin-forms-sample
iOS/Main.cs
488
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
33.114754
153
0.579208
[ "MIT" ]
twsouthwick/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IWorkbookFunctionsAverageARequest.cs
2,020
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace Elasticsearch.Net.Integration.Yaml.GetSource8 { public partial class GetSource8YamlTests { [NCrunch.Framework.ExclusivelyUse...
20.391304
84
0.715352
[ "Apache-2.0" ]
Entroper/elasticsearch-net
src/Tests/Elasticsearch.Net.Integration.Yaml/get_source/80_missing.yaml.cs
938
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using UIKit; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; namespace Xam.HelpTools.Platform.Android.Helpers { public static class ImageSourceHelper { private static FileImageSourceHandler fileImag...
31.283019
81
0.630881
[ "MIT" ]
angpysha/Xam.HelpTools
Xam.HelpTools/Platform/Android/Helpers/ImageSourceHelper.ios.cs
1,660
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using Syste...
28.311927
120
0.525924
[ "MIT" ]
Baradine/ShepMUD
ShepMUDClient/MainWindow.xaml.cs
3,088
C#
using System; using System.Linq; using System.Text.RegularExpressions; namespace SemVer { public class SemVerParser { private const string SemverRegexPattern = @"^(?<major>0|(?:[1-9][0-9]*))\.(?<minor>0|(?:[1-9][0-9]*))\.(?<patch>0|(?:[1-9][0-9]*))" + @"(?:\-(?<prerelease>0|[1-...
33.731343
137
0.554425
[ "MIT" ]
putschoeglwe/SemVer
SemVer/SemVer/SemVerParser.cs
2,262
C#
/* Copyright 2017 Alexis Ryan 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 writing, software di...
35.310638
143
0.619426
[ "Apache-2.0" ]
Antyos/Ao3-Tracker
Ao3TrackReader/Ao3TrackReader/Models/Ao3PageModel.cs
8,300
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> //--...
34.258065
151
0.580038
[ "MIT" ]
tomaskraus/P-Alarm
P-Alarm/Properties/Settings.Designer.cs
1,064
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("01...
37.972973
84
0.745196
[ "MIT" ]
DimitarGaydardzhiev/TelerikAcademy
02. C# Part 2/01. Arrays/01.AllocateArray/Properties/AssemblyInfo.cs
1,408
C#
// Copyright (c) rubicon IT GmbH, www.rubicon.eu // // See the NOTICE file distributed with this work for additional information // regarding copyright ownership. rubicon licenses this file to you under // the Apache License, Version 2.0 (the "License"); you may not use this // file except in compliance with the Lic...
40.97351
154
0.706966
[ "ECL-2.0", "Apache-2.0" ]
biohazard999/Relinq
Core/Clauses/ResultOperators/AggregateResultOperator.cs
6,187
C#
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Globalization; using System.Text; using Microsoft.Practices.Unity.Properties; namespace Microsoft.Practices.ObjectBuilder2 { /// <...
37.241935
128
0.657427
[ "Apache-2.0", "MIT" ]
drcarver/unity
source/Unity/Src/ObjectBuilder/Strategies/BuildPlan/DynamicMethod/Creation/ConstructorArgumentResolveOperation.cs
2,311
C#
namespace Sledge.Common.Translations { /// <summary> /// A translation language /// </summary> public class Language { /// <summary> /// The language code /// </summary> public string Code { get; } /// <summary> /// A description of the language, idea...
29.72973
119
0.56
[ "BSD-3-Clause" ]
LogicAndTrick/sledge
Sledge.Common/Translations/Language.cs
1,100
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using Microsoft.Azure.WebJobs.Description; namespace Microsoft.Azure.WebJobs { [Binding] public sealed class RabbitMQTriggerAttribute :...
28.137931
133
0.604167
[ "MIT" ]
ianrathbone/azure-functions-rabbitmq-extension
src/Trigger/RabbitMQTriggerAttribute.cs
1,634
C#
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using ImGuiNET; using SharpDX.Direct2D1; using SharpDX.Direct3D11; using Xacor.Game; using Xacor.Graphics.Api; using Buffer = System.Buffer; using CullMode = Xacor.Graphics.Api.CullMode; using FillMode = Xacor.Graphics.Api.FillMode; ...
36.399471
141
0.55629
[ "MIT" ]
deccer/Xacor
Demos/Xacor.Demo/ImGuiRenderer.cs
13,761
C#
using System.ComponentModel.DataAnnotations; using EPiServer.Core; using EPiServer.DataAbstraction; using EPiServer.DataAnnotations; using Ascend2018.Business.Rendering; using Ascend2018.Models.Properties; using EPiServer.Web; namespace Ascend2018.Models.Pages { /// <summary> /// Base class for all page types ...
30.525773
86
0.566025
[ "Apache-2.0" ]
episerver/ascend2018-lab-extend-ui
Alloy/Ascend2018/Models/Pages/SitePageData.cs
2,961
C#
// Copyright (c) Ryan Foster. All rights reserved. // Licensed under the Apache License, Version 2.0. using System; namespace SimpleIAM.PasswordlessLogin.Models { public class OneTimeCode { public string SentTo { get; set; } public string ClientNonceHash { get; set; } public string...
22.037037
52
0.630252
[ "Apache-2.0" ]
SimpleIAM/PasswordlessLogin
PasswordlessLogin/Models/OneTimeCode.cs
597
C#
namespace ScintillaNET_Components { #region Using Directives using ScintillaNET; using ScintillaNET_Components.SearchTypes; using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Text.RegularExpressions; using System.Windows.F...
52.771429
230
0.619258
[ "MIT" ]
jlj-ee/Code-Editor-Components
ScintillaNet Components/FindReplace/FindReplace.cs
48,022
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace WeatherStation { public class Program { ...
27.857143
71
0.608974
[ "CC0-1.0" ]
aaronperkins/weatherstation
Program.cs
780
C#
using System; using System.IO.Abstractions; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Party.Shared.Exceptions; using Party.Shared.Utils; namespace Party.Shared.Serializers { public class SceneSerializer : ISceneSe...
33.682927
89
0.583635
[ "MIT" ]
vam-community/vam-party
Party.Shared/Serializers/SceneSerializer.cs
2,762
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // NOTE: This file is copied from src/Middleware/StaticFiles/src/IContentTypeProvider.cs // and made internal with a namespace change. // It can't be re...
52.220884
174
0.409444
[ "Apache-2.0" ]
belav/aspnetcore
src/Components/WebView/WebView/src/FileExtensionContentTypeProvider.cs
26,006
C#
//Released under the MIT License. // //Copyright (c) 2018 Ntreev Soft co., Ltd. // //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 //rig...
34.811321
121
0.705691
[ "MIT" ]
NtreevSoft/Crema
tools/Ntreev.Crema.Designer/ViewModels/TypeItemViewModel.cs
1,847
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step...
49.404255
223
0.639627
[ "MIT" ]
tongbong/UnitsNet
UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/PowerDensity.WindowsRuntimeComponent.g.cs
65,018
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace StudentsSystem.Data.Migrations { public partial class Changing : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<string>( name: "UserId", ...
31.131579
71
0.516061
[ "MIT" ]
antoniovelev/Softuni
C#/Web Project/Data/StudentsSystem.Data/Migrations/20200412110306_Changing.cs
2,368
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.833333
80
0.646939
[ "MIT" ]
JAZZKIT/Burning-Man-Course-Project
BurningMan/BurningMan/obj/Debug/netcoreapp3.1/BurningMan.AssemblyInfo.cs
980
C#
using System; using System.Reflection; [assembly: AssemblyProduct("Exceptionless")] [assembly: AssemblyCompany("Exceptionless")] [assembly: AssemblyTrademark("Exceptionless")] [assembly: AssemblyCopyright("Copyright (c) 2016 Exceptionless. All rights reserved.")] #if DEBUG [assembly: AssemblyConfiguration("Debug")] ...
28.166667
88
0.773176
[ "Apache-2.0" ]
ToddZhao/Exceptionless
Source/GlobalAssemblyInfo.cs
507
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
31.08
84
0.474903
[ "MIT" ]
niki-funky/Telerik_Academy
Web Development/ASP.NET Web Forms/08. Identity/08. Indentity/ChatChannel/Account/RegisterExternalLogin.aspx.designer.cs
779
C#
namespace fairTeams.Core { /// <summary> /// Request object for RequestGame /// </summary> public class GameRequest { /// <summary> /// UNKNOWN /// </summary> public uint Token { get; set; } /// <summary> /// ID of match /// </summary> ...
23.238095
44
0.47541
[ "MIT" ]
diveflo/fair-teams-ai
backend/fairTeams.Core/GameRequest.cs
490
C#
using System; using UnityEngine; using UnityEngine.SceneManagement; using UnityStandardAssets.CrossPlatformInput; using UnityStandardAssets.Utility; using Random = UnityEngine.Random; namespace UnityStandardAssets.Characters.FirstPerson { [RequireComponent(typeof (CharacterController))] [RequireComponent(typeo...
36.642066
135
0.589023
[ "MIT" ]
IUS-CS/s20-project-jakob-drew-bryce-a-dog
src/Assets/Standard Assets/Characters/FirstPersonCharacter/Scripts/FirstPersonController.cs
9,930
C#
using System; namespace Gimela.Rukbat.GUI.Modules.UIMessage { public partial class UIMessageType { public static readonly string DeviceConfiguration_SelectServiceEvent = Guid.NewGuid().ToString(); public static readonly string DeviceConfiguration_ServiceSelectedEvent = Guid.NewGuid().ToString(); publ...
69.75
117
0.823656
[ "MIT" ]
J-W-Chan/Gimela
src/Rukbat/GUI/Modules/Gimela.Rukbat.GUI.Modules.UIMessage/UIMessageType.DeviceConfiguration.cs
2,792
C#
// <auto-generated /> using System; using AspNetWebApp2.DotNetCore.v2.MVC.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace AspNetWebApp2.DotNetCore.v2.MVC.D...
35.191489
125
0.487062
[ "MIT" ]
iwhp/AspNetIdentitySideBySide
AspNetWebApp2.DotNetCore.v2.MVC/Data/Migrations/ApplicationDbContextModelSnapshot.cs
8,270
C#
//----------------------------------------------------------------------- // <copyright file="D:\PROJEKTE\restcountries\src\RestCountries.API\Program.cs" company="AXA Partners"> // Author: Jörg H Primke // Copyright (c) 2021 - AXA Partners. All rights reserved. // </copyright> // ---------------------------------------...
42.379032
141
0.624167
[ "MPL-2.0" ]
jprimke/restcountries
src/RestCountries.API/Program.cs
5,256
C#
// Originally submitted to OSEHRA 2/21/2017 by DSS, Inc. // Authored by DSS, Inc. 2014-2017 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using VA.Gov.Artemis.Commands.Dsio.Tracking; using VA.Gov.Artemis.Vista.Broker; using VA.Gov.Artemis.Vista.Ut...
41.48366
117
0.482118
[ "Apache-2.0" ]
Veratics/Maternity-Tracker
Dashboard/va.gov.artemis.commands/Dsio/Patient/DsioGetPatientInformationCommand.cs
6,349
C#
// Copyright 2020 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 agree...
33.717949
76
0.66692
[ "Apache-2.0" ]
BearerPipelineTest/dotnet-docs-samples
eventarc/audit-storage/Program.cs
1,315
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using TokanPages.Backend.Database; nam...
36.323034
117
0.4449
[ "MIT" ]
TomaszKandula/TokanPages
TokanPages.Backend/TokanPages.Backend.Database/Migrations/20210327224914_AddAlbumTables.Designer.cs
12,933
C#