content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
31.875
85
0.521569
[ "MIT" ]
bd71/MilkVita
MilkVitaOrganization/Models/tbl_Supplier.cs
1,020
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; using TuDestinoHND.BL; namespace TuDestinoHND.Win { public partial class Form1 : Form { ...
21.814815
72
0.687606
[ "MIT" ]
walmarqui/tuDestinoHND
TuDestinoHND/TuDestinoHND.Win/Form1.cs
591
C#
namespace JsGeneratorLib { public class Expression : Pattern, IExpression { } }
14.285714
50
0.62
[ "MIT" ]
nobiruwa/js-ast-csharp
JsGenerator/JsGeneratorLib/Expression.cs
100
C#
using System; using System.Globalization; using System.Linq; using System.Reflection; namespace Samples.Helpers { public static class StampHelper { // https://www.meziantou.net/2018/09/24/getting-the-date-of-build-of-a-net-assembly-at-runtime public static DateTime GetBuildDate(Assembly assemb...
29.465116
102
0.538279
[ "MIT" ]
EvergineTeam/WebGL.NET
src/Samples/Helpers/StampHelper.cs
1,269
C#
using System.Threading.Tasks; using BrickPort.Services.Commands; namespace BrickPort.Infrastructure.Services.Domain.Commands { public class DomainCreateGameHandler : ICreateGameHandler { public Task<string> HandleAsync(CreateGameCommand command) { throw new System.NotImplementedExce...
26.615385
66
0.719653
[ "MIT" ]
NaJ64/brickport
brickport-infrastructure-services-domain/src/commands/create-game.cs
346
C#
using System.Collections.Generic; namespace DataFlow.Models { public class EdFiMetadataProcessorField { public EdFiMetadataProcessorField() { SubFields = new List<EdFiMetadataProcessorField>(); } public string Name { get; set; } public string Type { get; se...
24.65
71
0.622718
[ "Apache-2.0" ]
schoolstacks/dataflow
DataFlow.Models/EdFiMetadataProcessorField.cs
495
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Engine; using Engine.Renderer; using Engine.Platform; using Engine.ObjectManagement; using OgrePlugin; using Engine.Resources; using Anomalous.GuiFramework.Cameras; namespace Medical.Controller { public class...
36.817121
142
0.538364
[ "MIT" ]
AnomalousMedical/Medical
Standalone/Controller/Grid/MeasurementGrid.cs
9,464
C#
using Microsoft.AspNetCore.Identity; using System.Collections.Generic; namespace SpacedRepApp.Share { public class Category { public long Id { get; set; } public string Name { get; set; } public List<Note> Notes { get; set; } } }
19.785714
48
0.617329
[ "MIT" ]
MariaWritesCode/SpacedRepetitionsApp
SpacedRepApp.Share/Category.cs
279
C#
using System; using CoreGraphics; using UIKit; using XForm.EventSubscription; using XForm.Fields.Interfaces; using XForm.Ios.ContentViews; using XForm.Ios.ContentViews.Interfaces; using XForm.Ios.FieldViews.Bases; namespace XForm.Ios.FieldViews { public class OptionPickerFieldView : ValueFieldView<IOptionPickerFie...
30.948905
126
0.553302
[ "MIT" ]
DevelappersGmbH/XForm
XForm/Platform/Ios/FieldViews/OptionPickerFieldView.cs
4,240
C#
using System.Collections; using Archon.SwissArmyLib.Events.Loops; using Archon.SwissArmyLib.Pooling; using UnityEngine; namespace Archon.SwissArmyLib.Coroutines { internal sealed class BetterCoroutine : IPoolable { internal int Id; internal bool IsDone; internal bool IsPaused; i...
28.862069
83
0.61828
[ "MIT" ]
ArchonInteractive/SwissArmyLib
Archon.SwissArmyLib/Coroutines/BetterCoroutine.cs
1,674
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> // ---------------------------------------...
30.2
142
0.674614
[ "Apache-2.0" ]
isabella232/space-dotnet-sdk
src/JetBrains.Space.Client/Generated/Dtos/UnfurlsBlockUnfurlPostRequest.generated.cs
2,265
C#
using FluentValidation; using FluentValidation.Results; using Mimic.Application.Arguments.Dtos.Words; using Mimic.Application.Interfaces; using Mimic.Application.Resources; namespace Mimic.Application.Validations.Words.Update { public class V01DataMustNotBeEmpty : AbstractValidator<UpdateWordDto>, IValidationHand...
30.774194
108
0.634172
[ "MIT" ]
ricardorinco/MimicAPI
src/Mimic.Application/Validations/Words/Update/V01DataMustNotBeEmpty.cs
956
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FloattyObj : MonoBehaviour { public float Amplitude; public float Speed; protected float baseY; protected float time = 0f; void Start () { baseY = transform.position.y; } void Update ...
17.111111
60
0.597403
[ "MIT" ]
Maeloo/A4scape_game
Assets/Game/Scripts/Utils/FloattyObj.cs
618
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using MinegamesAntiCheat; using System.R...
44.330357
321
0.606244
[ "MIT" ]
AhmedMinegames/MinegamesAntiCheat
MinegamesAntiCheatAPP/MinegamesAntiCheatAPP/Main.cs
4,967
C#
namespace Blazorise { /// <summary> /// Defines the behaviour of the text input. /// </summary> public enum TextRole { /// <summary> /// Defines a default text input field. /// </summary> Text, /// <summary> /// Used for input fields that should cont...
22.564103
73
0.492045
[ "MIT" ]
OuticNZ/Blazorise
Source/Blazorise/Enums/TextRole.cs
882
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
41.014337
1,358
0.574063
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/PORX_IN150101UK31Subject.cs
11,443
C#
using AutoMapper; using ToDo.Api.Context; using ToDo.Shared.Dtos; using ToDo.Shared.Parameters; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ToDo.Api.Service { /// <summary> /// 待办事项的实现 /// </summary> public class ToDoService : IToDoService...
34.313869
113
0.526909
[ "MIT" ]
Memoyu/WPF-Learn-Demo
Project/ToDo/ToDo.Api/Service/ToDoService.cs
4,755
C#
using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Functional { public static class CollectionExtensions { public static async Task<IEnumerable> AsEnumerable(this Task<IC...
39.451327
152
0.761104
[ "MIT" ]
NathanMagnus/Functional
Functional.Enumerables.Extensions/CollectionExtensions.cs
4,460
C#
using System; using Windows.Storage; namespace UWPLogoMaker.Utilities { public class SettingsHelper { public static void SetSetting<T>(string key, T value) { ApplicationData.Current.LocalSettings.Values[key] = value; } public static T GetSetting<T>(string key) ...
30.012821
94
0.57924
[ "Apache-2.0" ]
huntertran/05-UWPLogoMaker
UWPLogoMaker/Utilities/SettingsHelper.cs
2,343
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 // 이러한 특성 값을 변경하세요. [assembly: AssemblyTitle("client")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyComp...
28.162162
56
0.695777
[ "MIT" ]
euidong/khuLabMonitoring
labMonitoring/client/Properties/AssemblyInfo.cs
1,475
C#
using System; using System.Reflection; using System.Runtime.CompilerServices; /* * Regression tests for the mono JIT. * * Each test needs to be of the form: * * public static int test_<result>_<name> (); * * where <result> is an integer (the value that needs to be returned by * the method to make it pass. * <...
15.267642
89
0.546735
[ "Apache-2.0" ]
adob/mono
mono/mini/exceptions.cs
41,757
C#
namespace HomeBook.Data.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using HomeBook.Common; using HomeBook.Data.Common.Models; public class Entrance : BaseDeletableModel<int> { [MaxLength(GlobalConstants.DataValidations.EntranceAddressMaxLeng...
26.761905
77
0.699288
[ "MIT" ]
TodorGrigorov89/HomeBook
Data/HomeBook.Data.Models/Entrance.cs
564
C#
namespace TraktNet.Objects.Post.Responses { using Get.Shows; /// <summary>A Trakt show, which was not found.</summary> public interface ITraktPostResponseNotFoundShow { /// <summary>Gets or sets the ids of the not found show. See also <seealso cref="ITraktShowIds" />.</summary> ITraktS...
29.416667
117
0.665722
[ "MIT" ]
henrikfroehling/Trakt.NET
Source/Lib/Trakt.NET/Objects/Post/Responses/ITraktPostResponseNotFoundShow.cs
355
C#
// Copyright (c) Mark Nichols. All Rights Reserved. // Licensed under the MIT License. using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Text; using Bicep.Core.Diagnostics; using Bicep.Core.Extensions; using Bi...
36.092323
205
0.449554
[ "MIT" ]
marknic/BicepXray
src/Bicep.Core/Parsing/Lexer.cs
37,139
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...
46.496241
182
0.672704
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/Rekognition/Generated/Model/Internal/MarshallTransformations/StartCelebrityRecognitionResponseUnmarshaller.cs
6,184
C#
using System; using System.Collections.Generic; using System.Text; using System.Windows.Markup; namespace FileChecksumUtility { public class EnumBindingSourceExtension : MarkupExtension { public Type EnumType { get; private set; } public EnumBindingSourceExtension(Type enumType) { ...
25.222222
86
0.621145
[ "MIT" ]
thedevbc/FileChecksumUtility
EnumBindingSourceExtension.cs
683
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.Data.Common; using System.Diagnostics; using System.Globalization; using System.Text; namespace System...
44.680077
280
0.548514
[ "MIT" ]
Acidburn0zzz/corefx
src/System.Data.Odbc/src/System/Data/Odbc/Odbc32.cs
46,646
C#
/* * nMQTT, a .Net MQTT v3 client implementation. * http://wiki.github.com/markallanson/nmqtt * * Copyright (c) 2009 Mark Allanson (mark@markallanson.net) & Contributors * * Licensed under the MIT License. You may not use this file except * in compliance with the License. You may obtain a copy of the License ...
39.577778
116
0.607243
[ "MIT" ]
huguoya/nmqtt
nMQTT/Messages/Subscribe/MqttSubscribeMessage.cs
3,562
C#
namespace DeafTelephone.Web.Controllers.LogiServer.BulkLogOperation { using DeafTelephone.Hubs; using DeafTelephone.Web.Core.Domain; using DeafTelephone.Web.Core.Extensions; using DeafTelephone.Web.Core.Services; using DeafTelephone.Web.Hub.Models; using MediatR; using Microsoft.AspNetCor...
45.248677
239
0.5884
[ "MIT" ]
kitakun/DeafTelephone
DeafTelephone.Web/Controllers/LogiServer/BulkLogOperation/BulkLogOperationProcessor.cs
8,554
C#
using AurelienRibon.Ui.SyntaxHighlightBox; using System; using System.Collections.Generic; using System.Text.RegularExpressions; using System.Windows; using System.Windows.Media; using System.Xml.Linq; namespace Sigged.CsC.NetFx.Wpf { /// <summary> /// An IHighlighter built from an Xml syntax file /// To...
35.432432
105
0.537147
[ "MIT" ]
sigged/research-compiling
Compile.and.Execute/src/Sigged.CsC.NetFx.Wpf/XmlHighlighter.cs
6,557
C#
// // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or s...
29.573333
82
0.717764
[ "Apache-2.0" ]
CRivlaldo/mono
mcs/class/System.ServiceModel/Mono.CodeGeneration/CodeAssignment.cs
2,218
C#
namespace Exemplum.Application.Todo.Commands; using Common.Exceptions; using Common.Security; using Domain.Todo; using FluentValidation; using MediatR; using Microsoft.EntityFrameworkCore; using Persistence; [Authorize(Policy = Security.Policy.TodoWriteAccess)] public record MarkTodoCompleteCommand(int ListId, int T...
24.983333
104
0.668446
[ "MIT" ]
ForrestTech/Exemplum
src/Application/Todo/Commands/MarkTodoCompleteCommand.cs
1,501
C#
using Funkin.NET.Graphics.Sprites; using Funkin.NET.Graphics.Utilities; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Cursor; using osu.Framework.Graphics.Effects; using osu.Framework.Graphics.Shapes; using osu.Framework.Localisation; using osuTK; namespac...
27.55814
92
0.518565
[ "MIT" ]
GetFunkin/Funkin.NET
Funkin.NET/Graphics/Cursor/BasicTooltip.cs
2,372
C#
using System; using System.Collections.Generic; using System.Linq; using Gribble.Mapping; using Gribble.Model; using Gribble.TransactSql; using NUnit.Framework; using Should; namespace Tests.TransactSql { [TestFixture] public class DeleteWriterTests { public class Entity { ...
44.096774
211
0.561814
[ "MIT" ]
mikeobrien/Gribble
src/Tests/TransactSql/DeleteWriterTests.cs
4,103
C#
using Microsoft.CodeAnalysis.CSharp.Scripting; using Microsoft.CodeAnalysis.Scripting; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace WebAppConfig { public class AlbumsConfigurationSetup : IPostConfigureOptions<Al...
34.465116
128
0.647099
[ "MIT" ]
filipw/update-conf-2018-demos
scripting/WebAppConfig/WebAppConfig/AlbumsConfigurationSetup.cs
1,484
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.636364
197
0.659903
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/ServiceCatalog/Generated/Model/Internal/MarshallTransformations/DescribeServiceActionResponseUnmarshaller.cs
4,140
C#
using Newtonsoft.Json; using System; namespace GitHubNotifier.DataTypes { [Serializable] [JsonObject] public class GithubRepo { [JsonProperty("id")] public int Id { get; set; } [JsonProperty("name")] public string Name { get; set; } [JsonProperty("full_name")] public string Ful...
40.869565
80
0.643617
[ "MIT" ]
LiorBanai/GitHub-Notifier
GitHubNotifier/DataTypes/GithubRepo.cs
942
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Security.Cryptography; using System.Text; using...
39.946429
145
0.557816
[ "MIT" ]
Yiwei-Ding/sarif-sdk
src/Test.UnitTests.Sarif/Core/SarifLogTests.cs
13,424
C#
// Copyright (c) 2018 Daniel A Hill. 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...
37.142857
120
0.741346
[ "Apache-2.0" ]
DanielAHill/ApiActions
src/ApiActions/Initialization/GlobalAuthFilterApplicationFactoryTypeWrapper.cs
1,042
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Web.Http; using System.Web...
51.521368
196
0.623341
[ "MIT" ]
d-georgiev-91/Ticketing-System
TicketingSystem.Server/Areas/HelpPage/HelpPageConfigurationExtensions.cs
24,112
C#
using System; namespace Gwen.Control { public enum BorderType { ToolTip, StatusBar, MenuStrip, Selection, PanelNormal, PanelBright, PanelDark, PanelHighlight, ListBox, TreeControl, CategoryList } /// <summary> /// A Border Control /// </summary> [Xml.XmlControl] public class Border : Contr...
16.906977
128
0.700138
[ "MIT" ]
phinoox/Gwen.CS
GwenNet/Control/Border.cs
729
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("Ni...
39.27027
93
0.749484
[ "MIT" ]
cryptopool-builders/NiceHashBot
src/NiceHashBot/Properties/AssemblyInfo.cs
1,456
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...
31.06
106
0.609466
[ "Apache-2.0" ]
TallyUpTeam/aws-sdk-net
sdk/src/Services/Pinpoint/Generated/Model/GetExportJobsRequest.cs
3,106
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: AssemblyTi...
38.945946
85
0.727967
[ "MIT" ]
bp2008/PhotoFrameServer
PhotoFrameServer/PhotoFrameServer/Properties/AssemblyInfo.cs
1,444
C#
using System; using System.IO; using System.Threading.Tasks; using Cactus.Fileserver.Core.Model; namespace Cactus.Fileserver.Core { public interface IFileStorageService { /// <summary> /// Get file content by URI /// </summary> /// <param name="uri"></param> ...
27.25641
66
0.494826
[ "MIT" ]
SergeyGil/Cactus.Fileserver
Cactus.Fileserver.Core/IFileStorageService.cs
1,063
C#
using System; using System.Threading; using System.Threading.Tasks; using Firebend.AutoCrud.Core.Implementations.Defaults; using Firebend.AutoCrud.Core.Interfaces.Models; using Firebend.AutoCrud.Core.Interfaces.Services.DomainEvents; using Firebend.AutoCrud.Core.Models.DomainEvents; using Firebend.AutoCrud.EntityFramew...
41.088889
152
0.683883
[ "MIT" ]
djayd/auto-crud
Firebend.AutoCrud.EntityFramework/Abstractions/Client/EntityFrameworkCreateClient.cs
3,698
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
36.561404
153
0.604607
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/model/MacOSCustomAppConfiguration.cs
2,084
C#
using System.Collections.Generic; using UnityEngine; namespace Harmony { /// <summary> /// Représente une Activité. Une activité est un lot de <see cref="Fragment">Fragments</see> et de <see cref="Menu">Menus</see>. /// </summary> /// <remarks> /// <para> /// Une seule activité est affichée à ...
32
132
0.581537
[ "MIT" ]
Allcatraz/Nullptr_ProjetSynthese
Assets/Libraries/Harmony/Scripts/Playmode/Activity/Data/Activity.cs
2,824
C#
/***************************************************************************** Copyright 2018 The TensorFlow.NET Authors. 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 Licen...
37.927536
126
0.530331
[ "Apache-2.0" ]
Oceania2018/TensorFlow.NET
src/TensorFlowNET.Core/Gradients/math_grad.cs
20,938
C#
using System; using System.Linq; using NUnit.Framework; namespace EventStore.Core.Tests.Services.ElectionsService.Randomized { [TestFixture] public class elections_service_5_nodes_full_gossip_no_http_loss_no_dup { private RandomizedElectionsTestCase _randomCase; [SetUp] public void...
40.857143
124
0.51049
[ "Apache-2.0", "CC0-1.0" ]
BertschiAG/EventStore
src/EventStore.Core.Tests/Services/ElectionsService/Randomized/elections_service_5_nodes_full_gossip_no_http_loss_no_dup.cs
1,430
C#
 using Microsoft.Extensions.Options; using SF.Module.SimpleAuth.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SF.Module.SimpleAuth.Services { public class DefaultUserLookupProvider : IUserLookupProvider { public DefaultUserLookupProv...
23.548387
86
0.641096
[ "Apache-2.0" ]
ZHENGZHENGRONG/SF-Boilerplate
Modules/SF.Module.SimpleAuth/Services/DefaultUserLookupProvider.cs
732
C#
using Orchard.UI.Resources; namespace Laser.Orchard.jQueryPlugins { public class ResourceManifest : IResourceManifestProvider { public void BuildManifests(ResourceManifestBuilder builder) { var manifest = builder.Add(); //Scripts manifest.DefineScript("jQuery_DataTa...
79.234043
236
0.711332
[ "Apache-2.0" ]
mkbiltek2019/Laser.Orchard.Platform
src/Modules/Laser.Orchard.jQueryPlugins/ResourceManifest.cs
7,450
C#
using Microsoft.EntityFrameworkCore; namespace WebApi.Model { public partial class NewsSiteProjeContext : DbContext { public static string ConnectionString { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder.UseSqlServ...
32.956522
85
0.653034
[ "MIT" ]
yesmancan/akdenizUniversitesi2Sinif2DonemWebOdevi
WebApi/Model/NewsSiteProjeContext.cs
758
C#
using Microsoft.AspNetCore.Mvc; using Shriek.Notifications; using System.Threading.Tasks; namespace Shriek.Samples.CQRS.EFCore.ViewComponents { public class SummaryViewComponent : ViewComponent { private readonly IDomainNotificationHandler<DomainNotification> _notifications; public SummaryVie...
31.583333
97
0.704485
[ "MIT" ]
1071157808/shriek-fx
samples/Shriek.Samples.CQRS.EFCore/ViewComponents/SummaryViewComponent.cs
760
C#
// Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace Microsoft.Azure.Management.RecoveryServices.Backup { using System.Linq; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; ...
48.201878
391
0.597838
[ "MIT" ]
samtoubia/azure-sdk-for-net
src/ResourceManagement/RecoveryServices.Backup/Microsoft.Azure.Management.RecoveryServices.Backup/Generated/JobCancellationsOperations.cs
10,267
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
40.267442
153
0.603812
[ "MIT" ]
DamienTehDemon/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IReportRootGetOffice365ActivationsUserCountsRequest.cs
3,463
C#
// Copyright Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class EscapeRoom : ModuleRules { public EscapeRoom(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine",...
31.958333
128
0.750978
[ "MIT" ]
scarriere/udemy-escape-room
Source/EscapeRoom/EscapeRoom.Build.cs
767
C#
using Microsoft.AspNet.Identity.EntityFramework; using System.Data.Entity; namespace Blog.Models { public class BlogDbContext : IdentityDbContext<ApplicationUser> { public BlogDbContext() : base("DefaultConnection", throwIfV1Schema: false) { } public IDbSet<Article...
21.857143
67
0.620915
[ "MIT" ]
ilyogri/SoftUni
Software Technologies/17. C# - Blog Basic Functionality/Blog/Models/BlogDbContext.cs
461
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /*Autocad Related Imports*/ using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.EditorInput; using Autodesk.AutoCAD.Runtime; using Autodesk.AutoCAD...
36.3
127
0.567655
[ "MIT" ]
jakariapervez/cmis6
Civilworks cost/ACAD TUTORIAL/Khal_Drafting_Backup_28_5_2021/Label_Annotation.cs
6,173
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Api.Data.Models; using Api.Data.Models.Sys; using Api.Models; namespace Api.Service { public interface IHomeService { Task<BaseAnswer> GetSysUsers(); BaseAnswer GetSysUserss(); Task<Guid> Insert(); ...
20.807692
44
0.630314
[ "MIT" ]
shmilyany/framework
NW/Api/Api.Service/IHomeService.cs
543
C#
using Newtonsoft.Json; namespace ColleyMatrix.Provider.Serializer.Json.NewtonSoft { /// <inheritdoc /> public class NewtonSoftJsonSerializationProvider : IJsonSerializationProvider { /// <inheritdoc /> public string Serialize(object objectToSerialize) { return JsonConve...
25.133333
81
0.681698
[ "MIT" ]
scottenriquez/colley-matrix
src/ColleyMatrix.Provider.Serializer.Json.NewtonSoft/NewtonSoftJsonSerializationProvider.cs
379
C#
using System; namespace Unity.VisualScripting { /// <summary> /// Called once per frame for every collider that is touching the trigger. /// </summary> public sealed class OnTriggerStay : TriggerEventUnit { public override Type MessageListenerType => typeof(UnityOnTriggerStayMessageListener...
28.785714
94
0.71464
[ "MIT" ]
2PUEG-VRIK/UnityEscapeGame
2P-UnityEscapeGame/Library/PackageCache/com.unity.visualscripting@1.6.1/Runtime/VisualScripting.Flow/Framework/Events/Physics/OnTriggerStay.cs
403
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System.Threading.Tasks; using Elastic.Elasticsearch.Xunit.XunitPlumbing; using Nest; using Tests.Framework....
41.25
105
0.789899
[ "Apache-2.0" ]
Brightspace/elasticsearch-net
tests/Tests/Document/Multiple/UpdateByQueryRethrottle/UpdateByQueryRethrottleUrlTests.cs
992
C#
using System; using CSF.Screenplay.Performables; using CSF.Screenplay.Selenium.ElementMatching; using CSF.Screenplay.Selenium.Models; using CSF.Screenplay.Selenium.Questions; namespace CSF.Screenplay.Selenium.Builders { /// <summary> /// A builder type which returns a collection of matching elements from the curr...
32.42
106
0.692165
[ "MIT" ]
csf-dev/CSF.Screenplay.Selenium
CSF.Screenplay.Selenium/Builders/ElementsInThePageBody.cs
1,623
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Machine.Specifications.Explorers; using Machine.Specifications.Model; using Machine.Specifications.Runner.Impl.Listener; using Machine.Specifications.Utility; namespace Machine.Specifications.Runner.Impl { ...
34.439394
109
0.533656
[ "MIT" ]
Slesa/machine.specifications
Source/Machine.Specifications/Runner/Impl/AssemblyRunner.cs
4,548
C#
using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; namespace System.Web.UI.DataVisualization.Charting.Samples { /// <summa...
27.387097
141
0.699058
[ "MIT" ]
AngeloCresta/winforms-datavisualization-net4.8
WebSamples/WorkingWithData/DataManipulation/Grouping/GroupingByAxisLabel/GroupingByAxisLabel.aspx.cs
1,698
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 agreed to in ...
63.276156
585
0.668631
[ "Apache-2.0" ]
Global19/google-cloud-dotnet
apis/Google.Cloud.Dataproc.V1/Google.Cloud.Dataproc.V1/ClusterControllerClient.g.cs
104,026
C#
namespace OmniXaml.Metadata { using System.Collections.Generic; using System.Linq; using System.Reflection; public class Metadata { public static bool IsEmpty(Metadata metadata) { return typeof(Metadata).GetRuntimeProperties().All(info => info.GetValue(metadata) == null)...
29.774648
175
0.566698
[ "MIT" ]
JPTIZ/OmniXAML
OmniXaml/Metadata/Metadata.cs
2,114
C#
namespace Musoq.Evaluator.Visitors { public interface IToCSharpTranslationExpressionVisitor : IScopeAwareExpressionVisitor { void SetQueryIdentifier(string identifier); MethodAccessType SetMethodAccessType(MethodAccessType type); void IncrementMethodIdentifier(); } }
27.818182
89
0.761438
[ "MIT" ]
JTOne123/Musoq
Musoq.Evaluator/Visitors/IToCSharpTranslationExpressionVisitor.cs
308
C#
using System.Threading.Tasks; using Abp.Configuration.Startup; using test.Sessions; using Microsoft.AspNetCore.Mvc; namespace test.Web.Views.Shared.Components.RightNavbarUserArea { public class RightNavbarUserAreaViewComponent : testViewComponent { private readonly ISessionAppService _sessionAppServic...
30.617647
91
0.68684
[ "MIT" ]
pixelapocalypseuk/aspnetboilerplatetest
aspnet-core/src/test.Web.Mvc/Views/Shared/Components/RightNavbarUserArea/RightNavbarUserAreaViewComponent.cs
1,043
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. // // // // Contents: Full text implementation of the specialized text line representing // state of ...
37.209476
219
0.582535
[ "MIT" ]
00mjk/wpf
src/Microsoft.DotNet.Wpf/src/PresentationCore/MS/internal/TextFormatting/FullTextBreakpoint.cs
14,921
C#
#region license // Copyright (c) HatTrick Labs, LLC. 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 re...
33.911111
135
0.698558
[ "Apache-2.0" ]
HatTrickLabs/dbExpression
src/HatTrick.DbEx.Sql/Expression/_Select/NullableByteArraySelectExpression.cs
1,528
C#
/******************************************************** * * * Copyright (C) Microsoft. All rights reserved. * * * *********************************************************/ using System; usi...
36.9375
59
0.5
[ "MIT" ]
PartnerCenterSamples/Commerce-API-DotNet
DataModels/UsageType.cs
1,184
C#
/// If you're new to Strange, start with MyFirstProject. /// If you're interested in how Signals work, return here once you understand the /// rest of Strange. This example shows how Signals differ from the default /// EventDispatcher. /// All comments from MyFirstProjectContext have been removed and replaced by commen...
34.069444
104
0.749694
[ "MIT" ]
czarzappy/BookClub
Unity/Assets/Scripts/signalsproject/SignalsContext.cs
2,453
C#
//****************************************************************************************************** // AdditionalUserFieldValue.cs - Gbtc // // Copyright © 2021, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements...
45.195652
125
0.612795
[ "MIT" ]
GridProtectionAlliance/openXDA
Source/Libraries/openXDA.Model/SystemCenter/UserAccount/AdditionalUserFieldValue.cs
2,082
C#
using ValueOf; namespace Rusell.Tickets.Domain; public class TicketSeatPrice : ValueOf<decimal, TicketSeatPrice> { public static implicit operator decimal(TicketSeatPrice ticketSeatPrice) => ticketSeatPrice.Value; public static implicit operator TicketSeatPrice(decimal ticketSeatPrice) => From(ticketSeatPrice...
32.5
102
0.812308
[ "MIT" ]
cantte/Rusell.Api
src/Tickets/Domain/TicketSeatPrice.cs
325
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...
28.927835
113
0.593728
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/MachineLearning/Generated/Model/DescribeTagsResponse.cs
2,806
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.970588
153
0.626489
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/WorkbookRangeFormatBordersCollectionResponse.cs
1,427
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 System.Collections.Generic; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Host.Bindi...
35.464789
139
0.690627
[ "MIT" ]
Azure-App-Service/azure-webjobs-sdk
test/Microsoft.Azure.WebJobs.ServiceBus.UnitTests/Bindings/ServiceBusAttributeBindingProviderTests.cs
2,520
C#
// Jeebs Rapid Application Development // Copyright (c) bfren - licensed under https://mit.bfren.dev/2013 using Jeebs.Data.Mapping; namespace Jeebs.WordPress.Data.Tables; /// <summary> /// Term Taxonomy Table /// </summary> public sealed record class TermTaxonomyTable : Table { /// <summary> /// TermTaxonomyId /...
17.872727
77
0.636826
[ "MIT" ]
bfren/jeebs
src/Jeebs.WordPress.Data.Types/Tables/TermTaxonomyTable.cs
985
C#
using System; using System.Collections.Generic; using System.Linq; namespace _01TrojanInvasion { class Program { static void Main(string[] args) { int wavesOfWarriors = int.Parse(Console.ReadLine()); List<int> plates = Console.ReadLine() .Split(" ", Stri...
32.414634
93
0.421369
[ "MIT" ]
stanislavstoyanov99/SoftUni-Software-Engineering
Advanced-and-OOP-with-C#/Exams/CSharp Advanced/CharpAdvancedRetakeExam16April19/01TrojanInvasion/Program.cs
2,660
C#
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class Lesson1 : ModuleRules { public Lesson1(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObje...
33.083333
129
0.72796
[ "MIT" ]
gank498/C-UE4
Lesson1/Lesson1.Build.cs
794
C#
using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace LibwebpSharp.Native { public static class WebPDecoder { /// <summary> /// Return the decoder's version number /// </summary> /// <returns>Hexadecimal using 8bits for each...
64.039474
170
0.683172
[ "MIT" ]
DavidS1998/MediFiler
Native.WebPDecoder.cs
4,867
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // ------------------------------------------------------------...
35.794872
100
0.516476
[ "MIT" ]
MustAl-Du/IoMT
src/lib/Microsoft.Health.Expressions/AddFunction.cs
1,396
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 ...
44.508475
130
0.678218
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/memcache/v1beta2/google-cloud-memcache-v1beta2-csharp/Google.Cloud.Memcache.V1Beta2.StandaloneSnippets/CloudMemcacheClient.ApplyParametersResourceNamesSnippet.g.cs
2,626
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /****************************************************************************** * This file is auto-generated from a template file by the GenerateTests.csx * * script in tests\src...
44.360248
184
0.600952
[ "MIT" ]
333fred/runtime
src/tests/JIT/HardwareIntrinsics/General/Vector256_1/op_Addition.Byte.cs
14,284
C#
// <copyright file="ROT13ViewModelTests.cs" company="APH Software"> // Copyright (c) Andrew Hawkins. All rights reserved. // </copyright> namespace Useful.Security.Cryptography.Tests { using Useful.Security.Cryptography.UI.ViewModels; using Xunit; public class ROT13ViewModelTests { [Theory] ...
29
67
0.596817
[ "MIT" ]
aphawkins/useful-dotnet
test/Useful.Security.Cryptography.UI.Tests/ViewModels/ROT13ViewModelTests.cs
1,131
C#
using FluentValidation.Results; using System; namespace Features.Core { public abstract class Entity { public Guid Id { get; protected set; } public ValidationResult ValidationResult { get; protected set; } public virtual bool EhValido() { throw new NotImplementedE...
26.782609
72
0.556006
[ "Apache-2.0" ]
ferjesusjs8/TestsDevIo
TesteDeSoftwareDevIo/Features/Core/Entity.cs
1,234
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d2d1svg.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syste...
38.596154
145
0.651719
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/d2d1svg/ID2D1SvgPointCollectionTests.cs
2,009
C#
using Newtonsoft.Json; using System.Collections.Generic; namespace PddOpenSdk.Models.Response.Goods { public partial class QueryGoodsMaterialResponseModel : PddResponseModel { /// <summary> /// /// </summary> [JsonProperty("material_list")] public List<MaterialListRespon...
30.916667
75
0.479784
[ "Apache-2.0" ]
niltor/open-pdd-net-sdk
PddOpenSdk/PddOpenSdk/Models/Response/Goods/QueryGoodsMaterialResponseModel.cs
2,001
C#
using System; using System.Runtime.CompilerServices; using Glacie.Data.Arz; using Glacie.Infrastructure; namespace Glacie { // Record should have stable identity. // To achieve this, they may be done as reference types, or // as struct with access record by id. public readonly struct Record // : IRec...
34.894737
99
0.650075
[ "MIT" ]
Lixiss/Glacie
src/Glacie.Context/Record.cs
2,654
C#
using System.Collections.Generic; using UnityEngine; namespace Filter_Scripts { [CreateAssetMenu(menuName = "Flock/Filter/Physics Layer")] public class PhysicsLayerFilter : ContextFilter { public LayerMask mask; public override List<Transform> Filter(FlockAgent agent, List<Transform> ...
26.076923
90
0.558997
[ "MIT" ]
m4rok97/Leukocyte
Assets/Scripts/Filter Scripts/PhysicsLayerFilter.cs
680
C#
#region copyright // ****************************************************************** // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, // INCLUDING BUT NOT LIMITED TO THE WARRANTIE...
29.987805
82
0.588857
[ "MIT" ]
AgneLukoseviciute/react-native-windows-samples
samples/TodosFeed/InventorySample/Inventory.Data/DataServices/Base/DataServiceBase.cs
2,461
C#
using System.Diagnostics.CodeAnalysis; namespace Howatworks.SubEtha.Journal.StationServices { [ExcludeFromCodeCoverage] public class MissionFailed : JournalEntryBase { // TODO: localised? public string Name { get; set; } [SuppressMessage("ReSharper", "InconsistentNaming")] ...
25.3125
60
0.659259
[ "MIT" ]
johnnysaucepn/SubEtha
src/Journal/Howatworks.SubEtha.Journal/StationServices/MissionFailed.cs
407
C#
using System; using System.Collections.Generic; using System.Text; namespace Homework_5 { public class Lion : AnimalBase<int> { public void Play() { Console.WriteLine($"{Name}, play!"); } public void Say() { Console.WriteLine($"{Name}, RRRRR!"); ...
18.722222
49
0.52819
[ "MIT" ]
Alesiniya/TMS-DotNet-Ermolaeva
src/Homework5/lion.cs
339
C#
//----------------------------------------------------------------------------- // <copyright file="DaemonConfig.cs" company="Amazon.com"> // Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). // You may not use t...
41.504274
225
0.60173
[ "Apache-2.0" ]
FinanzaPro/aws-xray-sdk-dotnet
sdk/src/Core/Internal/Utils/DaemonConfig.cs
4,858
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System.Windows; using System.Windows.Controls;...
44.546512
240
0.651527
[ "MIT" ]
Alan-love/xenko
sources/presentation/Stride.Core.Presentation/Controls/ExpandableItemsControl.cs
3,831
C#
using System.Collections.Generic; using System.Xml.Serialization; namespace Common.Models { public class PackagerReport : AbstractOperationReport { [XmlArray("Objects")] [XmlArrayItem("Object")] public List<PackagerObjectReport> ObjectReports { get; set; } } }
23
69
0.692308
[ "Apache-2.0" ]
BrianMcGough/IUMediaHelperApps
Common/Models/PackagerReport.cs
301
C#
/* This file is a part of JustLogic product which is distributed under the BSD 3-clause "New" or "Revised" License Copyright (c) 2015. All rights reserved. Authors: Vladyslav Taranov. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following...
38.87931
79
0.769401
[ "BSD-3-Clause" ]
AqlaSolutions/JustLogic
Assets/JustLogicUnits/Generated/Rect/JLRectSetX.cs
2,255
C#
#if UNITY_EDITOR using System.IO; using UnityEditor; using UnityEngine; public class ScriptTools : MonoBehaviour { /// <summary> /// path = Application.dataPath + @"GameDesigner\Skill\StateAction" /// </summary> static public void CreateScript(string path, string scriptName, string textContents) ...
28.742857
88
0.622266
[ "MIT" ]
RedAWM/GDNet
GameDesigner/Editor/ScriptTools.cs
1,008
C#