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 BookingsApi.DAL.Commands; using BookingsApi.DAL.Dtos; using BookingsApi.DAL.Helper; using BookingsApi.Domain; using BookingsApi.Domain.Enumerations; using BookingsApi.Domain.Participants; using BookingsApi.Domain.Validations; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; usi...
45.722222
169
0.594168
[ "MIT" ]
hmcts/vh-bookings-api
BookingsApi/BookingsApi.DAL/Services/HearingService.cs
9,876
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Panosen.CodeDom.Tag.Html { /// <summary> /// pre /// </summary> public class PreComponent : HtmlComponent { /// <summary> /// pre /// </summary> ...
19.2
58
0.59375
[ "MIT" ]
panosen/panosen-codedom-tag
Panosen.CodeDom.Tag.Html/PreComponent.cs
386
C#
// File generated from our OpenAPI spec namespace Stripe { using Newtonsoft.Json; public class PaymentMethodFpxOptions : INestedOptions { /// <summary> /// Account holder type for FPX transaction. /// One of: <c>company</c>, or <c>individual</c>. /// </summary> [Json...
37.37037
100
0.55005
[ "Apache-2.0" ]
Gofundraise/stripe-dotnet
src/Stripe.net/Services/PaymentMethods/PaymentMethodFpxOptions.cs
1,009
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="PhotonNetwork.cs" company="Exit Games GmbH"> // Part of: Photon Unity Networking // </copyright> // ------------------------------------------------------------------------------...
43.784133
262
0.653793
[ "MIT" ]
skywolf829/Unity-FPS
Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonNetwork.cs
142,386
C#
using System; using System.Collections.Generic; using System.Linq; using System.ServiceProcess; using System.Text; namespace MISD.Cluster.Bright { static class Program { /// <summary> /// Der Haupteinstiegspunkt für die Anwendung. /// </summary> static void Main() ...
20.92
55
0.560229
[ "BSD-3-Clause" ]
sebastianzillessen/MISD-OWL
Code/MISDCode/MISD.Cluster.Bright/Program.cs
526
C#
namespace DuelingTraditions { // Represents one of the different types of rooms in the game. public enum RoomType { Normal, Entrance, Fountain, OffTheMap } // Represents a location in the 2D game world, based on its row and column. public record Location(int Row, int Column); // Represents the ma...
50.118644
147
0.653703
[ "MIT" ]
bofur24/TheCSharpPlayersGuide
Solutions/Level33-ManagingLargerPrograms/DuelingTraditions/Map.cs
2,959
C#
using Microsoft.AspNetCore.Authorization; namespace VotingSystem.Authorization { public class IsVoteOwnerRequirement : IAuthorizationRequirement { } }
18.333333
67
0.781818
[ "MIT" ]
sgalcheung/VotingSystem
src/VotingSystem/Authorization/IsVoteOwnerRequirement.cs
167
C#
// Copyright (c) Microsoft. All rights reserved. // Copyright (c) Denis Kuzmin <x-3F@outlook.com> github/3F // Copyright (c) IeXod contributors https://github.com/3F/IeXod/graphs/contributors // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Syst...
40.655172
185
0.521992
[ "MIT" ]
3F/IeXod
src/Shared/AwaitExtensions.cs
8,255
C#
using System; using System.Collections.Generic; using Unity.Profiling; using UnityEngine; using UnityEngine.Perception.Randomization.Samplers; namespace UnityEngine.Perception.Randomization.Randomizers.Utilities { /// <summary> /// Facilitates object pooling for a pre-specified collection of prefabs with the ...
39.513228
129
0.581414
[ "Apache-2.0" ]
2dpodcast/com.unity.perception
com.unity.perception/Runtime/Randomization/Randomizers/RandomizerExamples/Utilities/GameObjectOneWayCache.cs
7,470
C#
#region Header // // CmdSlabSides.cs - determine vertical slab 'side' faces // // Copyright (C) 2008-2021 by Jeremy Tammik, // Autodesk Inc. All rights reserved. // // Keywords: The Building Coder Revit API C# .NET add-in. // #endregion // Header #region Namespaces using System; using System.Collections.G...
27.567797
95
0.569321
[ "MIT" ]
SoftBIM/the_building_coder_samples
BuildingCoder/BuildingCoder/CmdSlabSides.cs
3,253
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Request the system's calling name retrieval attributes. /// The response is e...
36.5
175
0.753425
[ "MIT" ]
cwmiller/broadworks-connector-net
BroadworksConnector/Ocip/Models/SystemCallingNameRetrievalGetRequest24.cs
876
C#
using System; using System.Collections.Generic; using System.Linq; namespace MessageService.Domain.Model { [Serializable] public abstract class ValueObject : IEquatable<ValueObject> { public abstract IEnumerable<object> GetEqualityComponents(); public bool Equals(ValueObject other...
26
90
0.591476
[ "Apache-2.0" ]
casertano/DotNetCore.DDD.CQRS.AzureBUS
MessageService.Domain/Model/ObjectValue/ValueObject.cs
964
C#
using MediatR; using System; using System.Collections.Generic; using System.Text; namespace VoipProjectEntities.Application.Features.AgentCustomers.Commands.DeleteAgentCustomer { public class DeleteAgentCustomerCommand : IRequest { public string AgentCustomerID { get; set; } } }
23.230769
94
0.771523
[ "Apache-2.0" ]
Anagha1009/VoIPCustomerWebPortal-1
src/Core/VoipProjectEntities.Application/Features/AgentCustomers/Commands/DeleteAgentCustomer/DeleteAgentCustomerCommand.cs
304
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Stocker.Models { //Enum for AmendedReasonType??? public class StockAmendment { public int StockAmendmentID { get; set; } public int StockID { get; set; } public int UserID {...
22.35
53
0.655481
[ "MIT" ]
Chazz6000/Stocker
Stocker/Stocker/Models/StockAmendment.cs
449
C#
namespace StudentSystem.ConsoleClient { using System; using Data; using Data.UnitOfWork; using Models; public class Startup { public static void Main() { var db = new StudentSystemDbContext(); var studentData = new StudentSystemData(db); stu...
34.891892
127
0.58017
[ "MIT" ]
danisio/WebServicesAndCloud-Homeworks
01.ASP.NET Web API/1.StudentSystem/StudentSystem.ConsoleClient/Startup.cs
1,293
C#
/* * Copyright 2015 Google Inc * * Licensed under the Apache License, Version 2.0(the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
32.780488
79
0.653274
[ "Apache-2.0" ]
byagihas/googleads-dfa-reporting-samples
dotnet/v2.5/Ads/GetAds.cs
2,690
C#
using System; namespace TestApplication.Services { public class WeatherTest : IWeatherTest { public string Do() { return "Ebrahimi"; } } }
14.538462
43
0.555556
[ "MIT" ]
h-ebrahimi/Scrutor
TestApplication/Services/WeatherTest.cs
191
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CodeSharp.ServiceFramework.Interfaces { /// <summary> /// 为服务节点提供相关远程通信处理功能 /// </summary> public interface IRemoteHandle { /// <summary> /// 对当前节点外观进行暴露 /// </summary> /...
29.096774
64
0.517184
[ "Apache-2.0" ]
codesharp/infrastructure
dotnet/src/CodeSharp.Core/ServiceFramework/Interfaces/IRpcHandle.cs
2,074
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 * ...
39.188679
149
0.593163
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet-intl-en
TencentCloud/Monitor/V20180724/Models/DescribeBasicAlarmListAlarms.cs
8,308
C#
using System; namespace PlayWith.Api { public class WeatherForecast { public DateTime Date { get; set; } public int TemperatureC { get; set; } public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); public string Summary { get; set; } } }
18.3125
69
0.600683
[ "MIT" ]
sangeren/PlayWith
PlayWith.Api/WeatherForecast.cs
293
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. namespace System.Net.Security { internal enum TlsAlertType { Warning = 1, Fatal = 2, } }...
24.692308
71
0.685358
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Net.Security/src/System/Net/Security/TlsAlertType.cs
321
C#
using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Blob; using System.Collections.Generic; using System.IO; namespace DMLibTest { public static class CloudBlockBlobExtensions { public static IEnumerable<ListBlockItem> DownloadBlockList(this CloudBlockBlob blob, BlockListingFilt...
59.682927
279
0.754802
[ "MIT" ]
derekbekoe/azure-storage-net-data-movement
netcore/DMLibTest/CloudBlockBlobExtensions.cs
2,449
C#
using Lattia; namespace Microsoft.Extensions.DependencyInjection { public static class ServiceCollectionExtensions { public static IServiceCollection AddLattiaExtensions(this IServiceCollection services) { services.AddSingleton<IInitializePropertyTypeNode, ReadOnlyInitializePropert...
30.3125
102
0.738144
[ "MIT" ]
iotalambda/Lattia
Lattia.Extensions.DependencyInjection/ServiceCollectionExtensions.cs
487
C#
using System; using System.Collections; using System.Collections.Generic; namespace Collections.Extensions.ToPyString { static class PyStringConverterFactory { internal static IPyStringConverter Create<T>(T source, IEnumerable<object> sourceContainers = default, string prefix = "") { ...
42.234375
130
0.606733
[ "MIT" ]
misicnenad/dotnet-collections-extensions-topystring
src/Collections.Extensions.ToPyString/PyStringConverterFactory.cs
2,705
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Reflection; using System.Runtime.Serialization; using System.Web.Http; using System.Web.Http.Description; using System.Xml...
42.308204
167
0.578953
[ "MIT" ]
gabriel2mm/IdeiaNoAr
Services/Areas/HelpPage/ModelDescriptions/ModelDescriptionGenerator.cs
19,081
C#
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.42000 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //---------------------------------------------------------...
36.304094
177
0.550419
[ "MIT" ]
kuma4649/mucomMD2vgm
mucomMD2vgm/Properties/Resources.Designer.cs
7,366
C#
using System; using System.Windows.Input; using System.Runtime.CompilerServices; using Xamarin.Forms; namespace XFArchitecture.Controls { public class CheckBox : Image, IDisposable { #region Bindable Properties public static readonly BindableProperty CheckedProperty = BindableProperty.Create(...
35.660377
209
0.643386
[ "MIT" ]
JosueDM94/XFArchitecture
XFArchitecture/Controls/CheckBox.cs
3,782
C#
namespace MassTransit.KafkaIntegration.Contexts { using System; using Confluent.Kafka; public class KafkaHeaderAdapter<TKey, TValue> : MessageContext { readonly ReceiveContext _receiveContext; readonly ConsumeResult<TKey, TValue> _result; Guid? _conversationId; ...
39.041667
101
0.651547
[ "ECL-2.0", "Apache-2.0" ]
Aerodynamite/MassTrans
src/Transports/MassTransit.KafkaIntegration/Contexts/KafkaHeaderAdapter.cs
1,874
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AlipayOpenMiniUserportraitQueryModel Data Structure. /// </summary> [Serializable] public class AlipayOpenMiniUserportraitQueryModel : AopObject { /// <summary> /// 用户画像的时间范围。RECENT_7_DAY代...
26.580645
65
0.598301
[ "Apache-2.0" ]
Varorbc/alipay-sdk-net-all
AlipaySDKNet/Domain/AlipayOpenMiniUserportraitQueryModel.cs
926
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. /***************************************************************************\ * * File: WrapperUtil.cs * * Wrapper ...
30.783582
178
0.577212
[ "MIT" ]
batzen/wpf-test
src/Test/Common/Code/Microsoft/Test/Serialization/WrapperUtil.cs
4,125
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Request a list of departments in an enterprise. You may request only the /// ...
33.47619
129
0.646752
[ "MIT" ]
Rogn/broadworks-connector-net
BroadworksConnector/Ocip/Models/EnterpriseDepartmentGetListRequest.cs
2,109
C#
using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using Scorpio.Data; using Scorpio.Entities; namespace Scorpio.EntityFrameworkCore { internal class TestDbContext : ScorpioDbContext<TestDbContext> { public TestDbContext(DbContextOptions<TestDbContext> contextOptions) : base(cont...
26.673913
99
0.670742
[ "MIT" ]
project-scorpio/Scorpio
src/EntityFrameworkCore/test/Scorpio.EntityFrameworkCore.Tests/Scorpio/EntityFrameworkCore/TestDbContext.cs
1,229
C#
using System.Collections.Generic; using System.IO; using System.Xml.Serialization; namespace MediaCreationLib.Planning.NET { public class EditionMappingXML { [XmlRoot(ElementName = "Edition")] public class Edition { [XmlElement(ElementName = "Name")] public stri...
30.409091
92
0.592676
[ "MIT" ]
ADeltaX/UUPMediaCreator
src/MediaCreationLib.Planning.NET/EditionMappingXML.cs
1,340
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("03...
37.972973
84
0.740925
[ "MIT" ]
Shtereva/Fundamentals-with-CSharp
Lambda and LINQ/03. A Miner Task/Properties/AssemblyInfo.cs
1,408
C#
using BeetleX; using BeetleX.Buffers; using SpanJson; using System; using System.Collections.Generic; using System.Text; namespace PlatformBenchmarks { public partial class HttpHandler { public async void db(PipeStream stream, HttpToken token, ISession session) { try {...
26.689655
122
0.595607
[ "BSD-3-Clause" ]
Adel/FrameworkBenchmarks
frameworks/CSharp/beetlex/PlatformBenchmarks/db.cs
776
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Windows; using Bindables.Fody; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Emit; using Mono.Cecil; using NUnit.Framework; // ReSharper disable Po...
28.693182
128
0.726337
[ "MIT" ]
notanaverageman/Bindables
Bindables.Test/Weaver.cs
2,525
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; using System.Configuration; using System.IO; using System.Xml; using SemWeb; using SemWeb.Query; using Search.Common; namespace Search { // NOTE: If...
29.86747
149
0.582493
[ "BSD-3-Clause" ]
HSSC/ProfilesRNS
Website/SourceCode/ProfilesSPARQLAPI/ProfilesSPARQLAPI.svc.cs
2,481
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 29.03.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
24.300971
146
0.526568
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_002__AS_STR/Multiply/Complete/Int16/Double/TestSet_R504AAB004__param.cs
5,008
C#
namespace BookShop.DataProcessor { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Xml.Serialization; using BookShop.Data.Models; using Bo...
33.232877
133
0.538541
[ "MIT" ]
SuperBianka/SoftUni-CSharp-Track
CSharp Entity Framework Core/CSharpEFCore - Exam - 13December2019/BookShop/DataProcessor/Deserializer.cs
4,854
C#
using TMPro; using UnityEngine; public class UpdateCustomersServed : MonoBehaviour { private TextMeshProUGUI _text; void Start() { _text = GetComponent<TextMeshProUGUI>(); } void Update() { _text.text = GameState.Current.NumCustomersServed.ToString(); } }
17.111111
69
0.649351
[ "MIT" ]
EnigmaDragons/CV-Hackathon-2019
src/CVHackathon2019/Assets/Scripts/UI/UpdateCustomersServed.cs
310
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 ...
26.017544
134
0.669252
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-ccc/CCC/Model/V20200701/ListSkillGroupsRequest.cs
2,966
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace P1_DaytonSchuh.Models { public class Location { [Key] public int Id { get; set; } public string Address { get; set; } public s...
23.105263
44
0.644647
[ "MIT" ]
12142020-dotnet-uta/DaytonSchuhRepo1
Projects/P1_DaytonSchuh/ModelLayer/Models/Location.cs
441
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class IkControl : MonoBehaviour { protected Animator animator; public bool ikActive = false; public Transform TagetTr; public Transform lookObj = null; private Vector3 maxsize = new Vector3(0f, 5f, 0f); pu...
28.342857
132
0.536794
[ "MIT" ]
Kingminje/AR_Plant-Growth-ARKit-
IkControl.cs
2,116
C#
using Windows.UI.Xaml.Controls; // The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236 namespace Famoser.OfflineMedia.WinUniversal.UserControls.ArticlePageControls { public sealed partial class Read : UserControl { public Read() { this.Ini...
23.866667
96
0.684358
[ "MIT" ]
famoser/OfflineMedia
Famoser.OfflineMedia.WinUniversal/UserControls/ArticlePageControls/Read.xaml.cs
360
C#
 // Author: Alejandro Benítez López // Date: 01/03/2019 // benitezdev@gmail.com using UnityEngine; [RequireComponent(typeof(CharacterController))] public class MovementController : MonoBehaviour { CharacterController controller; [Header("Playe Speeds")] [SerializeField] float playerRot...
35.940476
127
0.631997
[ "MIT" ]
BenitezDev/CharacterController-for-Unity
MovementController.cs
3,023
C#
using System; using System.Collections.Generic; using System.Linq; namespace ClosedXML.Excel { internal class XLNamedRange : IXLNamedRange { private String _name; private readonly XLNamedRanges _namedRanges; public XLNamedRange(XLNamedRanges namedRanges, String rangeName, St...
33.994819
199
0.530407
[ "MIT" ]
Gallardo13/ClosedXML
ClosedXML/Excel/NamedRanges/XLNamedRange.cs
6,369
C#
using AutoIt.Controls; namespace AutoIt.OSD.Background { partial class FormBackground { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used....
40.327586
114
0.600043
[ "MIT" ]
AutoItConsulting/autoit-osd-background
src/AutoIt.OSD.Background/FormBackground.Designer.cs
4,680
C#
using APIMessageBoard.Models; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace APIMessageBoard { public class Startup { ...
31
137
0.716846
[ "MIT" ]
tawneeh/MessageBoard.Solution
APIMessageBoard/Startup.cs
1,395
C#
namespace CrmSystem.Data.Migrations { using CrmSystem.Models; using System.Collections.Generic; using System.Data.Entity.Migrations; using System.Linq; public sealed class Configuration : DbMigrationsConfiguration<CrmDbContext> { public Configuration() { this.Automat...
35.715686
117
0.407631
[ "MIT" ]
AsiaBecheva/CrmSystem-AngularJs-WebApi2
CrmSystem/CrmSystem.Data/Migrations/Configuration.cs
3,643
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Collections.Immutable; using System.Composition; using System.Linq; using System.Threading; using Microsoft.Cod...
49.155235
166
0.646592
[ "Apache-2.0" ]
amcasey/roslyn
src/Features/CSharp/Portable/GenerateConstructor/CSharpGenerateConstructorService.cs
13,616
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code...
36.121457
147
0.50779
[ "BSD-3-Clause" ]
BillyWarrhol/Aurora-Sim
Aurora/Physics/ModifiedBulletSim/BSCharacter.cs
17,846
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("azdy...
40.740741
84
0.776364
[ "MIT" ]
azdyrski/Umbraco-User-Reporting
azdyrski.Umbraco-User-Reporting/Properties/AssemblyInfo.cs
1,100
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Media.Animation; namespace PipeShot.Libraries.Helper { public static class Extensions { public const int BufferSize = 4096; public static void ForEach<T>(thi...
35.886179
151
0.531717
[ "MIT" ]
PipeRift/Pipeshot
PipeShot/Libraries/Helper/Extensions.cs
4,416
C#
/** * Copyright 2013 Canada Health Infoway, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
36.344828
83
0.709677
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab_r02_04_03_shr/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_shr/Domainvalue/TopicalApplication.cs
1,054
C#
using Ocelot.Configuration.Builder; using Ocelot.Configuration.File; namespace Ocelot.Configuration.Creator { public class ServiceProviderConfigurationCreator : IServiceProviderConfigurationCreator { public ServiceProviderConfiguration Create(FileGlobalConfiguration globalConfiguration) { ...
39.869565
102
0.694656
[ "MIT" ]
chinayou25/Ocelot
src/Ocelot/Configuration/Creator/ServiceProviderConfigurationCreator.cs
917
C#
using System; namespace Structure.Domain.Interfaces { public interface IBase { DateTime? CreatedDate { get; set; } int Id { get; set; } bool? IsDeleted { get; set; } DateTime? UpdatedDate { get; set; } void Reset(); } }
19.571429
43
0.562044
[ "MIT" ]
FShieldheart/pcms
Structure/Domain/Interfaces/IBase.cs
276
C#
using System; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using Newtonsoft.Json; namespace Rave.NET.API { internal abstract class RaveRequestBase<T1, T2> : IRaveRequest<T1, T2> where T1 : RaveResponse<T2>, new() where T2 : class { protected RaveRequestBase() ...
37.449275
132
0.60565
[ "MIT" ]
DaraOladapo/Rave.NET
Rave.NET/API/RaveRequestBase.cs
2,586
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> //----------------------------------...
35.356061
89
0.54389
[ "Apache-2.0" ]
dotnetframeworknewbie/YAFNET
yafsrc/YetAnotherForum.NET/Pages/Admin/EditForum.ascx.designer.cs
13,606
C#
using System; namespace Framework.Exceptions { public class ObjectByCodeNotFoundException<TCode> : BusinessLogicException { public ObjectByCodeNotFoundException(Type type, TCode code) : base($"{type.Name} with code = \"{code}\" not found") { } } }
23.846154
79
0.612903
[ "MIT" ]
Luxoft/BSSFramework
src/Framework.Exceptions/BusinessLogic/NotFound/ObjectByCodeNotFoundException.cs
300
C#
using System; namespace EsapiEssentials.Standalone { public class LogInRequiredException : Exception { public LogInRequiredException() { } public LogInRequiredException(Exception innerException) : base("The user has not logged in to Eclipse.", innerException) { } } ...
26.75
81
0.666667
[ "MIT" ]
redcurry/EsapiEssentials
src/EsapiEssentials/Standalone/Async/LogInRequiredException.cs
323
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; namespace Azure.Messaging.EventGrid.SystemEvents { /// <summary> Job output finished event data. </summary> public partial class MediaJobOu...
38.344828
207
0.71223
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/MediaJobOutputFinishedEventData.cs
1,112
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Nop.Core; using Nop.Core.Domain.Stores; using Nop.Core.Plugins; using Nop.Plugin.Feed.Froogle.Domain; using Nop.Plugin.Feed.Froogle.Models; using Nop.Plugin.Feed.Froogle.Services; using Nop.Services.Catalog...
43.80315
171
0.589071
[ "MIT" ]
shoy160/nopCommerce
Plugins/Nop.Plugin.Feed.Froogle/Controllers/FeedFroogleController.cs
11,128
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace DBCopyTool { public partial class FormBackup : Form { public FormBackup() ...
18.047619
42
0.691293
[ "Apache-2.0" ]
mlund337/DBCopyTool
FormBackup.cs
381
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.Threading; using Microsoft.CodeAnalysis.Editor.Shared.Extensions; using Microsoft.CodeAn...
37.948718
144
0.617905
[ "MIT" ]
06needhamt/roslyn
src/VisualStudio/CSharp/Impl/EventHookup/EventHookupCommandHandler_TypeCharCommand.cs
2,962
C#
using Findo.Framework.Service.Service; using MicroService.CheckList.Domain.Model; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Text; namespace MicroService.CheckList.Service { public class CheckListService : GenericService<IUserRepository, CheckList>, IUserServi...
26.36
92
0.698027
[ "MIT" ]
FagnerFun/Findo
FindoApi/MicroService.CheckList.API/MicroService.CheckList.Service/CheckListService.cs
661
C#
using Estrol.KREmu.Servers; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace Estrol.KREmu.Servers.Payloads { public class opcode_Planet : SendPacket { public override void GetData(Connection state) { state.payload = "planet"; int planet...
36.595745
118
0.423256
[ "MIT" ]
Estrol/KREmu
Estrol.KREmu/Servers/Payloads/opcode_Planet.cs
1,722
C#
using System.Collections.Generic; namespace WYUN.Deserialization { [System.Serializable] public class RoomList { public List<Queries.CreateQuery> rooms; public RoomList() { rooms = new List<Queries.CreateQuery>(); } public void Add(Queries.Cre...
22.954545
53
0.536634
[ "MIT" ]
ystt-lita/WYUN_Library
Scripts/Deserialization/RoomList.cs
505
C#
using Sys = global::System; using SysConv = global::System.Convert; using SysTxt = global::System.Text; using SysCll = global::System.Collections; using SysClG = global::System.Collections.Generic; using SysSock = global::System.Net.Sockets; using SysCfg = global::System.Configuration; using SysService = global:...
52.057858
307
0.549878
[ "MIT" ]
Sammuel-Miranda/Flexinets.Ldap.Server
Libs.cs
66,582
C#
// <copyright file="IGherkinBlock.cs" company="Erratic Motion Ltd"> // Copyright (c) Erratic Motion Ltd. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // </copyright> namespace ErraticMotion.Test.Tools.Gherkin { using System.Collections....
33.96
101
0.6596
[ "MIT" ]
erraticmotion/gherkin-net
Gherkin.Net/Gherkin/Test/Tools/Gherkin/IGherkinBlock.cs
851
C#
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD. // All rights reserved. Licensed under the BSD 3-Clause License; see License.txt. using System; using System.ComponentModel; namespace Moq { static partial class MockExtensions { /// <summary> /// Resets all invocations recorded for...
31.05
85
0.7343
[ "BSD-3-Clause" ]
Damian-Pumar/moq4
src/Moq/Obsolete/MockExtensions.cs
621
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Planilo { /// <summary>Class for a AI graph blackboard.</summary> public class AIBlackboard : ScriptableObject { /// <summary>A serializable dictionary for the blackboard data.</summary> ...
30.5
96
0.721311
[ "MIT" ]
adambrownmpvr/planilo
Blackboard/Base/AIBlackboard.cs
610
C#
using Up.NET.Models; namespace Up.NET.Api.Accounts; public class AccountTransactions { public RelatedLink Links { get; set; } }
16.75
42
0.738806
[ "MIT" ]
Hona/Up.NET
Up.NET/Api/Accounts/AccountTransactions.cs
136
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...
53.542424
176
0.660384
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/Polly/Generated/_bcl35/AmazonPollyClient.cs
53,007
C#
using System; using System.Collections.Generic; using System.Text; namespace Len.Domain { public interface IDomainEvent { } }
12.727273
33
0.714286
[ "MIT" ]
LenFon/TransferDemo
src/Len.Core/Len/Domain/IDomainEvent.cs
142
C#
// ReSharper disable All namespace FIOImport.POCOs.Planets { public class FioBuildRequirement { public string MaterialName { get; set; } public string MaterialId { get; set; } public string MaterialTicker { get; set; } public string MaterialCategory { get; set; } public i...
32.928571
52
0.642082
[ "MIT" ]
Jacudibu/PRUNner
FIOImport/Pocos/Planets/FioBuildRequirement.cs
461
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.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using Internal.Runtime.CompilerServices; namespace System.Numerics { /// <summary> /// Contains...
45.586703
164
0.594819
[ "MIT" ]
AndyAyersMS/runtime
src/libraries/System.Private.CoreLib/src/System/Numerics/Vector.cs
66,511
C#
using Havit.Blazor.Components.Web.Bootstrap.Internal; namespace Havit.Blazor.Components.Web.Bootstrap { /// <summary> /// A base class for form input components. This base class automatically integrates /// with an Microsoft.AspNetCore.Components.Forms.EditContext, which must be supplied /// as a cascading parame...
35.735294
115
0.707819
[ "MIT" ]
HybridSolutions/Havit.Blazor
Havit.Blazor.Components.Web.Bootstrap/Forms/HxInputBaseWithInputGroups.cs
1,217
C#
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "2A9BEBBE105E41965AF0696E6747FA94454AA50D27BCCF455B1CA8B3262F5CB5" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.4...
32.225352
142
0.621941
[ "MIT" ]
Hoorge/WIM-Witch
ScrewingAround/ScrewingAround/obj/Debug/App.g.i.cs
2,290
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ListaComParallel { class Program { static List<ParallelListTeste> listaDeitens = new List<ParallelListTeste>(); static void Main(string[] args) { va...
25.842105
85
0.506449
[ "MIT" ]
HenocEtienne2512/Git
GitC-master/15-07-19_19-07-19/ListaComParallel/ListaComParallel/Program.cs
1,481
C#
using BusinessLayer.DataTransferObjects; using BusinessLayer.DataTransferObjects.Common; using System; namespace BusinessLayer.DataTransferObjects.Filters { public class UserFilterDto : FilterDtoBase { public string Username { get; set; } public string Email { get; set; } public Gender...
28.545455
51
0.64172
[ "MIT" ]
mhamern/SocialNetwork-WhatCanIWearTonight
WCIWT/BusinessLayer/DataTransferObjects/Filters/UserFilterDto.cs
630
C#
/* * Domain Public API * * See https://developer.domain.com.au for more information * * The version of the OpenAPI document: v1 * Contact: api@domain.com.au * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Collections.Generic; using ...
33.551136
184
0.576291
[ "MIT" ]
neildobson-au/InvestOz
src/Integrations/Domain/Domain.Api.V1/src/Domain.Api.V1/Model/DomainAPMServiceV3ModelAPMAPIModelsTokenisedSearchV3ApmIdModel.cs
5,905
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Rhino.DistributedHashTable.Client.Exceptions; using Rhino.DistributedHashTable.Client.Pooling; using Rhino.DistributedHashTable.Client.Util; using Rhino.DistributedHashTable.Exceptions; using Rhino.DistributedHashTable.I...
27.058219
104
0.64245
[ "BSD-3-Clause" ]
Diqiguoji008/dht
Rhino.DistributedHashTable.Client/DistributedHashTable.cs
7,901
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...
29.169492
108
0.653109
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CloudWatch/Generated/Model/DeleteMetricStreamRequest.cs
1,721
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.891892
85
0.732385
[ "Apache-2.0" ]
FernandoPinheiro/ServiceStack
src/ServiceStack.Caching.Memcached/Properties/AssemblyInfo.cs
1,440
C#
// GTKSharpDemo (c) 2015-17 MIT License <baltasarq@gmail.com> namespace GTKSharpDemo { public class Ppal { public static void Main() { var wMain = new MainWindow(); Gtk.Application.Init(); wMain.ShowAll(); Gtk.Application.Run(); } } }
18.285714
62
0.664063
[ "MIT" ]
Baltasarq/GTKSharpDemo
Ppal.cs
258
C#
// Fill out your copyright notice in the Description page of Project Settings. using UnrealBuildTool; public class UnrealTest418 : ModuleRules { public UnrealTest418(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; PublicDependencyModuleNames.AddRange(new string[] ...
33.375
128
0.757803
[ "MIT" ]
donll8999/SDKs
tests/UnrealTest-4.18/Source/UnrealTest418/UnrealTest418.Build.cs
801
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using BESSy.Json.Bson; namespace BESSy.Json.Tests.Documentation.Samples.Bson { public class DeserializeFromBson { #region Types public class Event { public string Name { g...
26.184211
123
0.58392
[ "MIT" ]
thehexgod/BESSy.JSON
Src/BESSy.Json.Tests/Documentation/Samples/Bson/DeserializeFromBson.cs
997
C#
using Sitecore.Data.Fields; using Sitecore.Resources.Media; namespace Constellation.Foundation.ModelMapping.FieldMappers { /// <inheritdoc /> /// <summary> /// Maps the MediaManager URL of an Image field to a Model Property suffixed with the word "Src". /// </summary> public class ImageSrcMapper : Field...
21.305085
99
0.630072
[ "MIT" ]
verndale/constellation-sitecore9
Constellation.Foundation.ModelMapping/FieldMappers/ImageSrcMapper.cs
1,259
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> //--...
41.208333
177
0.580384
[ "MIT" ]
archive-for-processing/NProcessing
Properties/Resources.Designer.cs
5,936
C#
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.4 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
40.074603
110
0.722462
[ "Apache-2.0" ]
0u812/roadrunner
third_party/libSBML-5.10.0-Source/src/bindings/csharp/csharp-files/Event.cs
50,494
C#
using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; using System.Collections; public class LevelSelect : MonoBehaviour { void Start(){ Button btn = gameObject.GetComponent<Button> (); btn.onClick.AddListener (TaskOnClick); } void TaskOnClick(){ SceneManager.LoadScene ("LevelSelectSc...
19.588235
50
0.75976
[ "MIT" ]
alexlo94/BulletHellGames
Vertical Bullet Hell/Assets/Scripts/LevelSelect.cs
335
C#
using System; using System.Collections.Generic; using ThreatsManager.Interfaces.ObjectModel.Entities; namespace ThreatsManager.Interfaces.ObjectModel.Diagrams { /// <summary> /// Interface implemented by the containers of Diagrams. /// </summary> public interface IDiagramsContainer { /// <...
36.752809
133
0.603791
[ "MIT" ]
simonec73/threatsmanager
Sources/ThreatsManager.Interfaces/ObjectModel/Diagrams/IDiagramsContainer.cs
3,273
C#
namespace AbstractFactoryImpl { public class TeleCallerFactory : ChannelFactory { public override Order CreateElectronicOrder() { return new ElectronicOrder(); } public override Order CreateFurnitureOrder() { return new FurnitureOrder(); ...
21.7
53
0.571429
[ "MIT" ]
sounakofficial/ADMDF
SOLID_HandsOn/SOLID_Final_Check/AbstractFactoryImpl/TeleCallerFactory.cs
436
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using StackifyLib.Models; using log4net.Core; using log4net; using StackifyLib; namespace StackifyLib { public static class Extensions { private static LogMessage GetMessage(string message, ...
29.459016
102
0.633834
[ "Apache-2.0" ]
homiedopie/stackify-api-dotnet
Src/StackifyLib.log4net.v1_2_10/Log4NetExtensions.cs
1,799
C#
using UnityEngine; using UnityEngine.UI; public class ArrowButton : MonoBehaviour { [SerializeField] private bool _isRight; private Button _button; void Awake() { _button = gameObject.GetComponent<Button>(); _button.onClick.AddListener(Click); } void Click() { ...
21.633333
101
0.662558
[ "MIT" ]
Liquid-ART/VR-color-selector-and-slider-experiment
Assets/ChairSlider/Scripts/ArrowButton.cs
651
C#
using System; namespace Trivadis.AzureBootcamp.CrossCutting.Logging.Null { internal class NullLoggerFactory : LoggerFactory { public override ILogger CreateLogger(string name) { return new NullLogger(); } public override ILogger CreateLogger(Type type) { ...
20.722222
58
0.613941
[ "MIT" ]
Trivadis/AzureDeveloperBootcamp-Lab
Trivadis.AzureBootcamp.CrossCutting/Logging/Null/NullLoggerFactory.cs
375
C#
using System; namespace TicketApp.Api { public class TicketDetails { public int Code{get;set;} public DateTime Creation{get;set;} public String Account{get;set;} public int Priority{get;set;} } }
17.357143
42
0.621399
[ "MIT" ]
wallymathieu/lab-hexagon-chsarp
TicketApp.Api/Objects/TicketDetails.cs
245
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...
35.336538
167
0.622041
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Kendra/Generated/Model/Internal/MarshallTransformations/ProxyConfigurationUnmarshaller.cs
3,675
C#
using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using stellar_dotnet_sdk; using stellar_dotnet_sdk.responses; using stellar_dotnet_sdk.responses.page; namespace stellar_dotnet_sdk_test.responses { [TestClass] public class PathsPageDeserializerTest { [TestMethod] ...
65.595745
186
0.731106
[ "Apache-2.0" ]
bazooka70/dotnet-stellar-sdk
stellar-dotnet-sdk-test/responses/PathsPageDeserializerTest.cs
3,085
C#
using JetBrains.Annotations; using JsonApiDotNetCore.Resources; // ReSharper disable UnusedTypeParameter namespace JsonApiDotNetCore.AtomicOperations.Processors { /// <summary> /// Processes a single operation to perform a complete replacement of a relationship on an existing resource. /// </summary> ...
32.736842
113
0.734727
[ "MIT" ]
jlits/JsonApiDotNetCore
src/JsonApiDotNetCore/AtomicOperations/Processors/ISetRelationshipProcessor.cs
622
C#