content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Exam4 { class Program { static void Main(string[] args) { var students = int.Parse(Console.ReadLine()); var topstudents = 0.0; var b...
28.016949
68
0.45493
[ "MIT" ]
vasilchavdarov/SoftUniHomework
Projects/Exam/Exam4/Program.cs
1,655
C#
using System; using System.Threading.Tasks; namespace XAMLator.Server.Tests { public class TestTCPCommunicatorServer : ITcpCommunicatorServer { public event EventHandler<object> DataReceived; public event EventHandler ClientConnected; public int ClientsCount { get; private set; } public TestTCPCommunicato...
18.734043
89
0.691652
[ "MIT" ]
jsuarezruiz/XAMLator
XAMLator.Server.Tests/TestTCPCommunicator.cs
1,763
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18408 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
53.622509
182
0.585636
[ "Apache-2.0" ]
nonenane/requests
src/Requests/dsReport.Designer.cs
45,742
C#
/* The contents of this file are subject to the Mozilla Public License Version 1.1 (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.mozilla.org/MPL/ Software distributed under the License is distributed on an "AS IS" basis, WI...
34.99569
118
0.595024
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Base/Parser/EncodingCharacters.cs
8,119
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 "license" fi...
54.699652
302
0.696218
[ "Apache-2.0" ]
andyhopp/aws-sdk-net
sdk/src/Services/IoTWireless/Generated/_netstandard/AmazonIoTWirelessClient.cs
251,509
C#
using System; using UnityEngine; using UnityEngine.UI; namespace Xsolla.Demo { public class BattlePassLevelUpPopup : BaseBattlePassBuyPopup { [SerializeField] private BattlePassLevelUpPopupItemsShowcase ItemsShowcase = default; [SerializeField] private UserPlusMinusCounter Counter = default; [SerializeField] p...
27.714286
107
0.775773
[ "Apache-2.0" ]
xsolla/store-unity-sdk
Assets/Xsolla/Store/Scripts/BattlePass/UI/BattlePassPopups/LevelUpPopup/BattlePassLevelUpPopup.cs
1,552
C#
using System.Diagnostics; namespace Calitha.GoldParser { /// <summary> /// Abstract class representing both terminal and nonterminal tokens. /// </summary> public abstract class Token { protected Token() { UserObject = null; } public abstract Symbol Symbol { get; } /// <summary> /// This can be u...
23.444444
80
0.634394
[ "MIT" ]
jbosh/calculator
Calculator 3/Calitha/GoldParser/Token.cs
2,954
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...
41.635659
150
0.69205
[ "ECL-2.0", "Apache-2.0" ]
biohazard999/Relinq
Core/Clauses/SelectClause.cs
5,371
C#
/* * Farseer Physics Engine based on Box2D.XNA port: * Copyright (c) 2010 Ian Qvist * * Box2D.XNA port of Box2D: * Copyright (c) 2009 Brandon Furtwangler, Nathan Furtwangler * * Original source Box2D: * Copyright (c) 2006-2009 Erin Catto http://www.gphysics.com * * This software is provided 'as-is', without any exp...
31.874598
135
0.5057
[ "MIT" ]
somethingnew2-0/Pinball
FarseerLibrary/Common/Math.cs
19,828
C#
using System; using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /product/store/get_shopcat 接口的请求。</para> /// </summary> public class ProductStoreGetShopCategoryRequest : WechatApiRequest { } }
22.153846
70
0.694444
[ "MIT" ]
KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/Store/ProductStoreGetShopCategoryRequest.cs
306
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. namespace Microsoft.Psi.Imaging { using System; using Microsoft.Psi; using Microsoft.Psi.Components; /// <summary> /// Component that decodes an image using a specified <see cref="IImageFromS...
47.26
127
0.649598
[ "MIT" ]
Bhaskers-Blu-Org2/psi
Sources/Imaging/Microsoft.Psi.Imaging/ImageDecoder.cs
2,365
C#
using FubuMVC.Core.Diagnostics; using FubuMVC.Core.Registration.Nodes; using FubuMVC.Core.Registration.Routes; namespace FubuMVC.Core.Registration.Conventions { public interface IUrlPolicy { bool Matches(ActionCall call, IConfigurationObserver log); IRouteDefinition Build(ActionCall ca...
27.833333
67
0.739521
[ "Apache-2.0" ]
bbehrens/fubumvc
src/FubuMVC.Core/Registration/Conventions/IUrlPolicy.cs
334
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CsQuery.Output; namespace CsQuery { /// <summary> /// Factory for HTML encoders included with CsQuery /// </summary> public static class HtmlEncoders { /// <summary> /// The default HTML en...
27.306452
106
0.594211
[ "MIT" ]
prepare/DomQuery
source/a_mini/CsQuery2/Output/HtmlEncoders.cs
1,695
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace Microsoft.VisualStudio.TestPlatform.CommandLine.UnitTests; public static class StringExtensions { /// <summary> /// Replac...
34.808511
103
0.618582
[ "MIT" ]
Microsoft/vstest
test/vstest.console.UnitTests/StringExtensions.cs
1,638
C#
namespace NWT_Webshop_Application.Migrations { using System; using System.Data.Entity.Migrations; public partial class UserAndProductModelsUpdate : DbMigration { public override void Up() { AddColumn("dbo.Products", "Tags", c => c.String(nullable: false, maxLength: 200))...
36.64
94
0.606987
[ "MIT" ]
mskorsur/NWT-WebshopApplication
src/NWT_Webshop_Application/Migrations/201702141451289_UserAndProductModelsUpdate.cs
916
C#
using System; using System.Collections.Generic; using System.Text; namespace Google { class Children { private string name; private string date; public Children(string name, string date) { this.Name = name; this.Date = date; } public st...
20.673913
122
0.465825
[ "MIT" ]
MustafaAmish/OOP-Basic
Defining Classes Lab/Google/Children.cs
953
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...
55.372263
288
0.619496
[ "Apache-2.0" ]
sebtelko/pulumi-azure-native
sdk/dotnet/Network/V20200501/InboundNatRule.cs
15,172
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="MainViewModel.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // --------------------------------------------------------------...
36.5
121
0.469968
[ "MIT" ]
SiNeumann/helix-toolkit
Source/Examples/WPF.SharpDX/ExampleBrowser/Workitems/Workitem10044/MainViewModel.cs
951
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
39.396341
157
0.50828
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy-Archive/Krypton-NET-5.450
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Palette Controls/PaletteRedirectTreeView.cs
6,464
C#
using System.Linq; using Eventualize.Interfaces.BaseTypes; namespace Eventualize.Interfaces.Security { public class EventualizeUser { public EventualizeUser(UserId userId) { this.UserId = userId; } public UserId UserId { get; } } }
18.125
45
0.634483
[ "MIT" ]
Useurmind/Eventualize
Eventualize.Interfaces/Security/EventualizeUser.cs
290
C#
using Newtonsoft.Json; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; using VEDriversLite.Cryptocurrencies.Dto; namespace VEDriversLite.Cryptocurrencies { public class ...
30.552239
76
0.474353
[ "BSD-2-Clause" ]
fyziktom/VirtualEconomyFramework
VirtualEconomyFramework/VEDriversLite/Cryptocurrencies/TestExchangeRatesAPI.cs
2,049
C#
using HRMSystem.Core.Entities.Abstract; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HRMSystem.Core.Entities.Dtos.ApplicationDtos { public class ApplicationListDto : ListDtoBase, IDto { public IEnumerable<ApplicationGetDt...
23.866667
72
0.765363
[ "MIT" ]
cativ3/HRMSystem
HRMSystem.Core/Entities/Dtos/ApplicationDtos/ApplicationListDto.cs
360
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...
32.016667
158
0.593441
[ "ECL-2.0", "Apache-2.0" ]
johnktims/pulumi-aws
sdk/dotnet/Msk/GetCluster.cs
3,842
C#
using System; namespace Ducode.Wolk.Application.Exceptions { public class NotFoundException : Exception { public NotFoundException(string message) : base(message) { } public NotFoundException(string name, object key) : base($"Entity {name} ({key}) was not...
21.352941
65
0.564738
[ "MIT" ]
dukeofharen/wolk
src/Ducode.Wolk.Application/Exceptions/NotFoundException.cs
363
C#
using Microsoft.Xna.Framework; using System; namespace EnduranceTheMaze { /// <summary> /// A floating-point rectangle which allows for smooth animation. /// </summary> public class SmoothRect : IEquatable<SmoothRect> { #region Members public float X, Y, Width, Height; #end...
27.540816
81
0.467395
[ "MIT" ]
JoshuaLamusga/Endurance-The-Maze
EnduranceTheMaze/SimpleXnaFramework/SmoothRect.cs
5,400
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// /// </summary> [Serializable] [XmlRoot(Namespace = "")] [Groups...
31.866667
131
0.641213
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/SystemVoiceMessagingGroupGetVoicePortalMenusResponse19VoicePortalCallingMenuKeys.cs
1,912
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using TMDb.Client.Contracts; namespace TMDb.Client.Entities.Media { // TODO: Replace 'Title' with 'Name' and override JsonProperty to use Title parameter name")] public class MovieMinified : IMovieMinified { [JsonProperty("adul...
32.696429
110
0.634626
[ "MIT" ]
joshuajones02/TMDb
TMDb.Client/Models/Entities/Media/MovieMinified.cs
1,833
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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...
38.566372
149
0.590638
[ "Apache-2.0" ]
beezy3601/lean2
Algorithm.CSharp/CancelOpenOrdersRegressionAlgorithm.cs
4,360
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. namespace StructSample { public unsafe struct OutputStruct { public ValueStruct value; public static OutputStruct* MoveToContext(OutputStruct* output) { return output; }...
19.411765
71
0.645455
[ "MIT" ]
1u0/FASTER
cs/playground/ManagedSampleCore/OutputStruct.cs
332
C#
using System.Threading.Tasks; using ExRam.Gremlinq.Core; using ExRam.Gremlinq.Core.Tests; using ExRam.Gremlinq.Providers.WebSocket; using ExRam.Gremlinq.Tests.Entities; using Xunit; using Xunit.Abstractions; using static ExRam.Gremlinq.Core.GremlinQuerySource; namespace ExRam.Gremlinq.Providers.GremlinServer.Tests { ...
32.055556
95
0.634315
[ "MIT" ]
gabi-giladov/ExRam.Gremlinq
test/ExRam.Gremlinq.Providers.GremlinServer.Tests/GremlinServerQuerySerializationTest.cs
1,156
C#
using System.IO; namespace Vokabular.RestClient.Results { public class FileResultData { public Stream Stream { get; set; } public string MimeType { get; set; } public string FileName { get; set; } public long? FileSize { get; set; } } }
21.769231
44
0.611307
[ "BSD-3-Clause" ]
RIDICS/ITJakub
UJCSystem/Vokabular.RestClient/Results/FileResultData.cs
285
C#
using Flurl.Http; using Newtonsoft.Json; using System; using System.IO; using System.Net; using System.Runtime.Caching; using System.Threading.Tasks; using System.Web; using Vendr.PaymentProviders.PayPal.Api.Models; namespace Vendr.PaymentProviders.PayPal.Api { public class PayPalClient { private stat...
37.893023
138
0.560452
[ "MIT" ]
bjarnef/vendr-payment-provider-paypal
src/Vendr.PaymentProviders.PayPal/Api/PayPalClient.cs
8,149
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CompareCloudware.Domain.Models { #region SupportTerritory public class SupportTerritory { public virtual int SupportTerritoryID { get; set; } public virtual string SupportTerritoryName { get; se...
28.842105
77
0.70438
[ "MIT" ]
protechdm/CompareCloudware
CompareCloudware.Domain/Models/SupportTerritory.cs
550
C#
// <auto-generated /> namespace Altairis.Rap.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.0.2-21211")] public sealed partial class ...
27.333333
95
0.620732
[ "MIT" ]
ridercz/Rap
Altairis.Rap/Migrations/201402242100028_Add_Messages.Designer.cs
820
C#
using Microsoft.AspNetCore.Mvc; using Mvc.RoleAuthorization.Services; using System.Threading.Tasks; namespace Mvc.RoleAuthorization.ViewComponents { public class NavigationMenuViewComponent : ViewComponent { private readonly IDataAccessService _dataAccessService; public NavigationMenuViewComponent(ID...
25.608696
77
0.775891
[ "MIT" ]
dnxit/Mvc-Dynamic-Role-Permission-Authorization
Mvc.RoleAuthorization/ViewComponents/NavigationMenuViewComponent.cs
591
C#
using System; using System.Diagnostics; using ActionsSample.Commands; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ActionsSample.Test { [TestClass] public class UnitTest1 { [TestMethod] public void Test_CutAndSave() { var action = new ActionCommands(); ...
26.841463
83
0.554294
[ "MIT" ]
surviveplus/Light-Cutter
prototype/ActionsSample/ActionsSample.Test/UnitTest1.cs
2,203
C#
// Copyright 2021 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 ...
39.025641
139
0.691196
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/dialogflow/cx/v3/google-cloud-dialogflow-cx-v3-csharp/Google.Cloud.Dialogflow.Cx.V3.StandaloneSnippets/EntityTypesClient.DeleteEntityTypeResourceNamesSnippet.g.cs
1,522
C#
using System; using Xamarin.Forms; namespace GPS_navigation.Styles { public class GradientStop { private float offset; public float Offset { get => offset; set { // Value needs to be 0-1. if (value > 1) ...
18.25
41
0.407045
[ "MIT" ]
ruinengLi/GnssNavigationAndVisualization
GPS_navigation/GPS_navigation/Styles/GradientStop.cs
513
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using HuaweiCloud.SDK.Core; namespace HuaweiCloud.SDK.Ims.V2.Model { /// <summary> /// Response Object /// </summary> public...
29.692308
83
0.512953
[ "Apache-2.0" ]
cnblogs/huaweicloud-sdk-net-v3
Services/Ims/V2/Model/ListImageByTagsResponse.cs
2,722
C#
/* Copyright (c) 2012 - 2013 Microsoft Corporation. All rights reserved. Use of this sample source code is subject to the terms of the Microsoft license agreement under which you licensed this sample source code and is provided AS-IS. If you did not accept the terms of the license agreement, you are ...
35.637899
154
0.555357
[ "Apache-2.0" ]
rllibby/SignalR
samples/AskSage.WP8/ShakeGesturesHelper.cs
18,995
C#
using System; namespace FIFOAnimalShelter { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
15.153846
47
0.502538
[ "MIT" ]
MRefvem/data-structures-and-algorithms
challenges/FIFOAnimalShelter/FIFOAnimalShelter/Program.cs
199
C#
using System; namespace NetworkProtocols { // Token: 0x020005B4 RID: 1460 public class GuildRegexPattern { // Token: 0x060032C3 RID: 12995 RVA: 0x0001B57A File Offset: 0x0001977A public GuildRegexPattern() { this.InitRefTypes(); } // Token: 0x170005F9 RID: 1529 // (get) Token: 0x06003...
35.79661
91
0.712121
[ "Unlicense" ]
PermaNulled/OMDUC_EMU_CSharp
OMDUC_EMU/NetworkProtocols/GuildRegexPattern.cs
2,114
C#
// Copyright (c) 2017 Ubisoft Entertainment // // 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 la...
33.876877
158
0.502349
[ "Apache-2.0" ]
MSDjango/Sharpmake
Sharpmake/Options.cs
11,283
C#
#if !UNITY_WINRT || UNITY_EDITOR || UNITY_WP8 #region License // Copyright (c) 2007 James Newton-King // // 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 w...
36.4375
95
0.712979
[ "MIT" ]
NNRepos/django-unity3d-example
Unity/Assets/Scripts/JsonDotNet/Source/Schema/UndefinedSchemaIdHandling.cs
1,749
C#
using FreeSql.Internal; using FreeSql.Internal.Model; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace FreeSql.PostgreSQL.Curd { class PostgreSQLSelect<T1> : FreeSql.Internal.CommonProvider.Select1Provider<T1> where T1 : class { ...
122.915493
564
0.677591
[ "MIT" ]
Dbo-Kt69/FreeSql
Providers/FreeSql.Provider.PostgreSQL/Curd/PostgreSQLSelect.cs
26,207
C#
<<<<<<< HEAD using Microsoft.EntityFrameworkCore; using SkiResort.Data; using SkiResort.Data.Models; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using Console = Colorful.Console; ======= using SkiResort.Data; using SkiResort.Data.Models; using System; us...
23.796296
78
0.551751
[ "MIT" ]
elitam/SkiResort
SkiResort/SkiResort/Business/LiftController.cs
2,574
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; namespace Microsoft.VisualStudio.ComponentModelHost { public interface SComponentModel { } }
25.416667
103
0.780328
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/AddIns/Misc/PackageManagement/Project/Src/VisualStudio/SComponentModel.cs
307
C#
using System; using System.Collections.Generic; namespace RestSharp.Tests.SampleClasses { public class VenueSearch { public string total_items { get; set; } public string page_size { get; set; } public string page_count { get; set; } public string page_number { get; set; } ...
21.71223
55
0.576872
[ "Apache-2.0" ]
284171004/RestSharp
RestSharp.Tests/SampleClasses/eventful.cs
3,020
C#
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System; using System.Xml.Linq; using Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Observable; using Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Utility; namespace Microso...
43.96
187
0.669245
[ "Apache-2.0" ]
Meetsch/semantic-logging
source/Src/SemanticLogging.TextFile/Configuration/FlatFileSinkElement.cs
2,200
C#
namespace SistemaVendas.Apresentacao.ControlesUsuario { partial class Controle_Config { /// <summary> /// Variável de designer necessária. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Limpar os recursos que estão...
49.009434
170
0.626179
[ "MIT" ]
lucasestevan/SistemaVendasC-
SistemaVendas/SistemaVendas/Apresentacao/ControlesUsuario/Controle_Config.Designer.cs
5,209
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class MenuScript : MonoBehaviour { public void buttonPlay() { SceneManager.LoadScene(0); } public void buttonCredits() { SceneManager.LoadScene(1); } pu...
17.375
39
0.647482
[ "MIT" ]
johnklima/SkyPortal
Assets/Member Scenes/Thomas/TESTING/MenuScript.cs
417
C#
//////////////////////////////////////////////////////////////////////// // // This file is part of pdn-ddsfiletype-plus, a DDS FileType plugin // for Paint.NET that adds support for the DX10 and later formats. // // Copyright (c) 2017-2021 Nicholas Hayes // // This file is licensed under the MIT License. // See LICEN...
29.3
73
0.544369
[ "MIT" ]
0xC0000054/pdn-ddsfiletype-plus
Localization/IDdsStringResourceManager.cs
588
C#
using System.Threading; using System.Threading.Tasks; using MediatR; using SvishtovHighSchool.Domain; using SvishtovHighSchool.Domain.CourseModule; using SvishtovHighSchool.Domain.CourseModule.Commands; namespace SvishtovHighSchool.Application.Handlers.Course { public class CourseCreatorHandler : INotificationHan...
35.035714
103
0.732926
[ "MIT" ]
chunk1ty/svishtov-high-school
src/SvishtovHighSchool.Application/Handlers/Course/CourseCreatorHandler.cs
983
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Data.Entity; namespace AllReady.Models { public partial class AllReadyDataAccessEF7 : IAllReadyDataAccess { IEnumerable<AllReadyTask> IAllReadyDataAccess.Tasks { get ...
35.060241
120
0.548454
[ "MIT" ]
JesseLiberty/allReady
AllReadyApp/Web-App/AllReady/DataAccess/AllReadyDataAccessEF7.Task.cs
2,912
C#
using Imagin.Common.Configuration; using System; using System.Windows.Media; namespace Clock { public partial class App : SingleApplication { public override ApplicationProperties Properties => new ApplicationProperties<MainWindow, MainViewModel, Options>(); [STAThread] public static ...
28
124
0.596273
[ "BSD-2-Clause" ]
fritzmark/Imagin.NET
Apps.Clock/App.xaml.cs
646
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...
38.24183
173
0.61545
[ "Apache-2.0" ]
DalavanCloud/aws-sdk-net
sdk/src/Services/SageMaker/Generated/Model/Internal/MarshallTransformations/CreateHyperParameterTuningJobRequestMarshaller.cs
5,851
C#
namespace Source { public interface IMediaItemQuery { string SearchString { get; set; } string UniqueIdentifier { get; set; } } }
17.666667
45
0.610063
[ "MIT" ]
DotNetBootCamp/.NetGenerics
Source/IMediaItemQuery.cs
161
C#
// Copyright 2004-2010 Castle Project - http://www.castleproject.org/ // // 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 // //...
26.489583
102
0.660637
[ "Apache-2.0" ]
hach-que/Castle.Core
src/Castle.Components.Pagination/AbstractPage.cs
5,086
C#
// This file was generated by cswinrt.exe using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Numerics; using System.Security.Cryptography; using System.Text; using ...
41.869048
234
0.610132
[ "MIT" ]
Acidburn0zzz/CsWinRT
WinRT.Runtime/Interop/ExceptionErrorInfo.cs
21,104
C#
using System; using System.Collections.Generic; using Uno.Disposables; using System.Text; using Uno.Extensions; using Uno.Logging; using Windows.UI.Xaml.Markup; using Windows.UI.Xaml.Controls.Primitives; using Android.Views; using Uno.UI; namespace Windows.UI.Xaml.Controls { [ContentProperty(Name = "Child")] public...
22.676056
88
0.73354
[ "Apache-2.0" ]
Abhishek-Sharma-Msft/uno
src/Uno.UI/UI/Xaml/Controls/Popup/NativePopup.Android.cs
1,612
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AssemblyUtils.cs" company="Slash Games"> // Copyright (c) Slash Games. All rights reserved. // </copyright> // ------------------------------------------------------------------...
35.035461
120
0.516802
[ "MIT" ]
SlashGames/slash-framework
Source/Slash.Reflection/Source/Utils/AssemblyUtils.cs
4,942
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...
43.356322
333
0.604984
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Cdn/Latest/Origin.cs
11,316
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.704082
156
0.646877
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/QuickSight/Generated/Model/Internal/MarshallTransformations/ListTemplateVersionsRequestMarshaller.cs
3,891
C#
#region Copyright // Copyright (c) 2020 TonesNotes // Distributed under the Open BSV software license, see the accompanying file LICENSE. #endregion using System; using Newtonsoft.Json; namespace CafeLib.BsvSharp.Scripting { internal class ScriptConverter : JsonConverter<Script> { public override Scr...
28.68
147
0.691771
[ "MIT" ]
chrissolutions/BsvSharp
BsvSharp/CafeLib.BsvSharp/Scripting/ScriptConverter.cs
719
C#
namespace CompileScore { using Microsoft.VisualStudio.Language.Intellisense; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Utilities; using System.ComponentModel.Composition; [Export(typeof(IAsyncQuickInfoSourceProvider))] [Name("Score Async Quick Info Provider")] [Conten...
35.809524
119
0.732713
[ "MIT" ]
ikrima/CompileScore
CompileScore/QuickInfo/ScoreQuickInfoSourceProvider.cs
754
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("Ph...
38.081081
84
0.745919
[ "MIT" ]
lagerone/phplogparser
src/PhpLogParser.Tests/Properties/AssemblyInfo.cs
1,412
C#
using StyletIoC.Internal.Creators; using StyletIoC.Internal.Registrations; using System; using StyletIoC.Creation; using System.Collections.Generic; using System.Diagnostics; namespace StyletIoC.Internal.Builders { internal class BuilderAbstractFactoryBinding : BuilderBindingBase { private ...
38.941176
178
0.688066
[ "MIT" ]
DotNetUz/Stylet
Stylet/StyletIoC/Internal/Builders/BuilderAbstractFactoryBinding.cs
1,293
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Threading.Tasks; using SharpBrick.PoweredUp.Protocol; using SharpBrick.PoweredUp.Protocol.Knowledge; using SharpBrick.PoweredUp.Protocol.Messages; using SharpBrick.PoweredUp.Utils; namespace SharpBrick.PoweredUp...
44.171674
163
0.657307
[ "MIT" ]
romarro/powered-up
src/SharpBrick.PoweredUp/Devices/MoveHubTiltSensor.cs
10,292
C#
using System; using UnityEditor.MemoryProfiler; using UnityEngine; namespace MemoryProfilerWindow { internal struct BytesAndOffset { public byte[] bytes; public int offset; public int pointerSize; public bool IsValid { get { return bytes != null; } } public UInt64 Read...
25.471698
108
0.536296
[ "MIT" ]
Android2048/PerfAssist
Assets/PerfAssist/MemoryProfilerAdvanced/Editor/BytesAndOffset.cs
1,352
C#
/* // <copyright> // dotNetRDF is free and open source software licensed under the MIT License // ------------------------------------------------------------------------- // // Copyright (c) 2009-2020 dotNetRDF Project (http://dotnetrdf.org/) // // Permission is hereby granted, free of charge, to any person obtainin...
37.187215
366
0.585891
[ "MIT" ]
blackwork/dotnetrdf
Libraries/dotNetRDF/Core/IGraph.cs
16,288
C#
namespace Bytewizer.TinyCLR.Sntp { /// <summary> /// Represents the NTP/SNTP version number. /// </summary> public enum VersionNumber { /// <summary> /// Version 3. /// </summary> Version3 = 3, } }
18.214286
47
0.509804
[ "MIT" ]
bytewizer/microserver
src/Bytewizer.TinyCLR.Sntp/Sntp/VersionNumber.cs
257
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.Runtime.InteropServices; using Gdip = System.Drawing.SafeNativeMethods.Gdip; namespace System.Drawing....
36.505176
217
0.577359
[ "MIT" ]
2E0PGS/corefx
src/System.Drawing.Common/src/System/Drawing/Imaging/EncoderParameter.cs
17,632
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Threading; u...
38.699708
135
0.556351
[ "MIT" ]
939481896/dotnet-corefx
src/System.Net.Sockets/src/System/Net/Sockets/SafeSocketHandle.Unix.cs
13,274
C#
using System; using System.Windows.Markup; namespace TerrLauncherPackCreator.Code.MarkupExtensions { public class BooleanExtension : MarkupExtension { private static readonly object FalseObject = false; private static readonly object TrueObject = true; private readonly object ...
27.25
88
0.682569
[ "MIT" ]
And42/TerrLauncherPackCreator
TerrLauncherPackCreator/Code/MarkupExtensions/BooleanExtension.cs
547
C#
// Copyright (c) 2019-2021 Ryujinx // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser 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 ...
30.87037
94
0.628074
[ "MIT" ]
rubikex/Ryujinx
Ryujinx.Audio/Common/AudioBuffer.cs
1,669
C#
// <auto-generated> // Auto-generated by StoneAPI, do not modify. // </auto-generated> namespace Dropbox.Api.TeamLog { using sys = System; using col = System.Collections.Generic; using re = System.Text.RegularExpressions; using enc = Dropbox.Api.Stone; /// <summary> /// <para>The file permane...
34.286885
119
0.559646
[ "MIT" ]
AlirezaMaddah/dropbox-sdk-dotnet
dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/FilePermanentlyDeleteType.cs
4,183
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Concurrent; using System.Diagnostics; using System.Reflection; using System.Text.Encodings.Web; using Microsoft.A...
38.620438
115
0.611983
[ "Apache-2.0" ]
1kevgriff/aspnetcore
src/Mvc/Mvc.Razor/src/RazorPageActivator.cs
5,291
C#
using NBitcoin; using System; using System.Collections.Immutable; using System.Linq; using WalletWasabi.WabiSabi.Backend.Models; namespace WalletWasabi.WabiSabi.Models.MultipartyTransaction { // This class represents actions of the BIP 370 creator and constructor roles public record ConstructionState(MultipartyTrans...
35.61157
116
0.757252
[ "MIT" ]
catenocrypt/WalletWasabi
WalletWasabi/WabiSabi/Models/MultipartyTransaction/ConstructionState.cs
4,309
C#
// IglooLotEditButton using ClubPenguin.Igloo; using Disney.LaunchPadFramework; using Disney.MobileNetwork; using UnityEngine; using UnityEngine.UI; [RequireComponent(typeof(Button))] public class IglooLotEditButton : MonoBehaviour { public void OnButtonClick() { Service.Get<EventDispatcher>().DispatchEvent(defaul...
22.8125
92
0.813699
[ "MIT" ]
smdx24/CPI-Source-Code
ClubPenguin.Igloo.UI/IglooLotEditButton.cs
365
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Linq; using System.Text; using BLToolkit.DataAccess; using BLToolkit.Mapping; using Kesco.ComponentModel.DataAnnotations; using Kesco.Localization; using Ke...
25.173913
84
0.750432
[ "MIT" ]
Kesco-m/Kesco.App.Web.MVC.Persons
Kesco.ApplicationServices/ObjectModel/HelpTopic.cs
1,202
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.Collections.Generic; using ClearCan...
27.204545
108
0.750209
[ "Apache-2.0" ]
SNBnani/Xian
ImageViewer/Utilities/StudyFilters/ColumnPickerComponent.cs
1,197
C#
#region COPYRIGHT© 2009-2014 Phillip Clark. All rights reserved. // For licensing information see License.txt (MIT style licensing). #endregion using System; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.Contracts; using System.Linq; using System.Reflection; using System.Threading; using FlitBit.C...
45.336957
165
0.532846
[ "MIT" ]
flitbit-org/fbcopy
FlitBit.Copy/CopierTypeFactory.cs
8,345
C#
using System.IO; using Nikki.Reflection.Abstract; using Nikki.Reflection.Attributes; namespace Nikki.Support.Underground1.Parts.InfoParts { /// <summary> /// A unit <see cref="Unknown"/> used in car performance. /// </summary> public class Unknown : SubPart { /// <summary> /// /// </summary> [AccessMo...
21.988235
77
0.623328
[ "MIT" ]
SpeedReflect/Nikki
Nikki/Support.Underground1/Parts/InfoParts/Unknown.cs
1,871
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Nv { [Serializable] [NvItemId(2982)] [Attributes(9)] public class Wcdma800UtranTxLimVsTempOffset { [ElementsCount(8)] [ElementTyp...
20.190476
48
0.610849
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Nv/Wcdma800UtranTxLimVsTempOffsetI.cs
424
C#
namespace WebApi.Modules { using Application.Services; using Domain.Accounts; using Domain.Customers; using Domain.Security; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; public static class Persi...
52.795918
137
0.701585
[ "Apache-2.0" ]
RaphsVenas/clean-architecture-manga
src/WebApi/Modules/PersistenceExtensions.cs
2,587
C#
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Thor.Core")] [assembly: InternalsVisibleTo("Thor.Core.Abstractions.Tests")] [assembly: InternalsVisibleTo("Thor.Core.Transmission.BlobStorage")] [assembly: InternalsVisibleTo("Thor.Core.Transmission.EventHub")] [assembly: InternalsVisibleTo("Thor.E...
52.909091
68
0.812715
[ "MIT" ]
glucaci/thor-client
src/Core/Core.Abstractions/AssemblyAttributes.cs
584
C#
// ----------------------------------------------------------------------------------------- // <copyright file="IRequestOptions.cs" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compli...
46.806452
310
0.620951
[ "Apache-2.0" ]
JoeLiang1983/Azure-Storage-Net
Lib/Common/IRequestOptions.cs
2,904
C#
using Microsoft.EntityFrameworkCore; namespace PugetSound.Data { public static class DbInitializer { public static void Initialize(AppDbContext context) { context.Database.EnsureCreated(); context.Database.Migrate(); } } }
20.285714
59
0.637324
[ "MIT" ]
tomzorz/PugetSound
sources/PugetSound/PugetSound/Data/DbInitializer.cs
284
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> //----------------------------------------...
32.779412
83
0.600718
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSModules/ImportExport/Controls/Global/Import_SiteDetails.ascx.designer.cs
2,231
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.410448
165
0.5783
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/AppMesh/Generated/Model/Internal/MarshallTransformations/VirtualGatewayRefUnmarshaller.cs
5,281
C#
using System; using Toggl.Shared; using Foundation; using UIKit; using Toggl.iOS.Extensions; namespace Toggl.iOS.Cells.Reports { public partial class ReportsNoDataCollectionViewCell : UICollectionViewCell { public static readonly NSString Key = new NSString("ReportsNoDataCollectionViewCell"); ...
28.459459
94
0.662868
[ "BSD-3-Clause" ]
moljac/mobileapp
Toggl.iOS/Cells/Reports/ReportsNoDataCollectionViewCell.cs
1,055
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Options; using Opserver.Data.Exceptions; using Opserver.Data.Jira; using Opserver...
37.56314
167
0.536798
[ "MIT" ]
dwardin/Opserver
src/Opserver.Web/Controllers/ExceptionsController.cs
11,008
C#
using HarmonyLib; using Kingmaker.Blueprints; using Kingmaker.Blueprints.Classes; using Kingmaker.Blueprints.JsonSystem; using Kingmaker.UnitLogic.Buffs.Blueprints; using Kingmaker.UnitLogic.FactLogic; using Kingmaker.Utility; using System.Linq; using TabletopTweaks.Core.Utilities; using static TabletopTweaks.Base.Mai...
57.132075
150
0.679987
[ "MIT" ]
Vek17/TabletopTweaks-Base
TabletopTweaks-Base/Bugfixes/Classes/Witch.cs
6,058
C#
using System.Collections.Generic; namespace ElvenNameGenerator { public interface IElvenNameGenerator { /// <summary> /// Generates a single elven name as one word. /// </summary> /// <returns>Elven name</returns> string GenerateName(); /// <summary> //...
33.451613
94
0.59595
[ "MIT" ]
koraybalci/ElvenNameGenerator
ElvenNameGenerator/IElvenNameGenerator.cs
1,039
C#
using System; using System.Collections.Generic; using Unity.Collections; #if UNITY_EDITOR using UnityEditor; using UnityEditor.Experimental.Rendering.LightweightPipeline; #endif using UnityEngine.Rendering; using UnityEngine.Rendering.PostProcessing; using UnityEngine.Experimental.GlobalIllumination; using Lightmapping...
49.749507
212
0.651627
[ "BSD-2-Clause" ]
1-10/VisualEffectGraphSample
GitHub/com.unity.render-pipelines.lightweight/Runtime/LightweightRenderPipeline.cs
25,223
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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...
45.741071
149
0.617802
[ "Apache-2.0" ]
AENotFound/Lean
Algorithm.CSharp/InsightWeightingFrameworkAlgorithm.cs
5,125
C#
using UnityEngine; public struct Matrix3x3 { public static Matrix3x3 identity { get { return _identity; } } public static Matrix3x3 zero { get { return _zero; } } private static Matrix3x3 _identity, _zero; public float m00, m01, m02, m10, m11, m12, m20, m21, m22; ...
28.431085
82
0.422383
[ "BSD-3-Clause" ]
uwgraphics/Leap
LeapUnity/Assets/Utils/Math/Matrix3x3.cs
9,697
C#
namespace Koios.Core.Model { public class KManagedObjectField : KObjectField { public bool IsUpdated { get; private set; } public object OriginalValue { get; private set; } public KManagedObjectField(KSchemaField field, object value, bool isUpdated, object originalValue) ...
26.705882
106
0.612335
[ "MIT" ]
jonrp/Koios
Koios.Core/Model/KManagedObjectField.cs
456
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...
49.36
191
0.73906
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Outputs/WebAclRuleStatementAndStatementStatementAndStatementStatementOrStatementStatementSizeConstraintStatement.cs
2,468
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. namespace Mosa.Platform.x86.Intrinsic { /// <summary> /// /// </summary> internal sealed class SetCR4 : SetControlRegisterBase { /// <summary> /// Initializes a new instance of the <see cref="SetCR4"/> class. /// </summary> public SetCR4(...
19.263158
67
0.650273
[ "BSD-3-Clause" ]
Kintaro/MOSA-Project
Source/Mosa.Platform.x86/Intrinsic/SetCR4.cs
368
C#