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
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test.CSharp7.DocumentationRules { using StyleCop.Analyzers.Test.DocumentationRules; public class SA1630CSharp7UnitTes...
29.583333
91
0.771831
[ "MIT" ]
AraHaan/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/DocumentationRules/SA1630CSharp7UnitTests.cs
357
C#
using CreateUserFields.Common; using CreateUserFields.Domain; using SAPbobsCOM; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CreateUserFields.Infra { public class SAPFieldRepository : ISAPFieldRepository { pr...
33.684932
97
0.490037
[ "Apache-2.0" ]
Mosheh/SboCreateUserFields
src/CreateUserFields/Infra/SAPFields.cs
2,461
C#
using System; using System.Collections.Generic; using Data; using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.EntityFrameworkCore; using Models.Diagnosis; using Moq; using WebAPI.Controllers; using Xunit; namespace Tests.Controller { public class DiagnosisControllerTest { readonly DbContex...
34.590361
105
0.556368
[ "Unlicense" ]
kamlesh-microsoft/CloudCure
Backend/Tests/Controller/DiagnosisControllerTest.cs
8,613
C#
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; using Boc.Commands; using Boc.Domain; using LaYumba.Functional; using Unit = System.ValueTuple; using Examples; using Microsoft.AspNetCore.Http; using static Microsoft.AspNetCore.Http.Results;...
27.557377
106
0.643664
[ "MIT" ]
la-yumba/functional-csharp-code-2
Examples/Chapter09/Boc/FP/Program.cs
1,683
C#
// Copyright 2018 the original author or authors. // // 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...
35.708333
112
0.584597
[ "Apache-2.0" ]
spring-operator/Tooling
test/Steeltoe.Cli.Test/InitFeature.cs
2,573
C#
namespace Infrastructure.MessageLog { using System; using System.Collections.Generic; using System.Text; using Infrastructure.Messaging; public interface IEventQuery : IEnumerable<IEvent> { IEnumerable<IEvent> Execute(); IEventQuery FromSourceType(string sourceType); ...
23.444444
58
0.706161
[ "MIT" ]
albel1205/Nail
CQRS.Infrastructure/MessageLog/IEventQuery.cs
635
C#
#pragma warning disable 1591 // Disable missing XML comment namespace AntDesign.Select { public enum ResponsiveTag { Responsive } }
15.4
60
0.681818
[ "MIT" ]
ANDA334911390/ant-design-blazor
components/select/ResponsiveTag.cs
156
C#
using System; namespace ApiClient { public class TeamStatistics { public int TotalPlays { get; set; } public int TotalYards { get; set; } public double YardsPerPlay { get; set; } public int Penalties { get; set; } public int PenaltyYards { get; set; } publi...
28.953488
66
0.617269
[ "MIT" ]
jon-adams/ds-hsgc-api-samples
c#/ApiClient/Models/TeamStatistics.cs
2,492
C#
using System; using System.Threading.Tasks; using Abp.Authorization.Users; using Abp.Domain.Uow; using Abp.MultiTenancy; using Abp.Runtime.Security; using Microsoft.EntityFrameworkCore; using Afonsoft.Ranking.Authorization.Users; using Afonsoft.Ranking.Authorization.Users.Dto; using Afonsoft.Ranking.MultiTenancy; usin...
41.687805
192
0.621226
[ "MIT" ]
afonsoft/Ranking
test/Afonsoft.Ranking.Tests/Authorization/Users/UserAppService_Link_Tests.cs
8,548
C#
using System; using System.Collections.Generic; using System.Linq; using ETicaret.Models; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; namespace ETicaret.Data { ...
52.185841
138
0.454892
[ "Apache-2.0" ]
Bilgisayar-Programciligi/Programlama
Programlama-3/10 - ETicaretSQLite_Identity_role/Data/SeedData.cs
11,878
C#
using System.Collections.Generic; using API.BLL.Base; using API.BLL.UseCases.RolesAndRights.Entities; using API.BLL.UseCases.RolesAndRights.Transformer; namespace API.BLL.UseCases.RolesAndRights.Daos { public interface IRoleRightDao : IDao<RoleRight, RoleRightIdent, RoleRightTransformer> { List<RoleRig...
33.461538
90
0.783908
[ "MIT" ]
ThomasTebbe93/.Net-6-Authentication-API-with-react-ui
API/BLL/UseCases/RolesAndRights/Daos/IRoleRightDao.cs
435
C#
using UnityEngine; using System.Collections; using UnityEditor; using System.Collections.Generic; using System.Reflection; using System.Linq; /* VertexPainterWindow * - Jason Booth * * Uses Unity 5.0+ MeshRenderer.additionalVertexStream so that you can paint per-instance vertex colors on your meshes. * A c...
37.350778
155
0.531601
[ "MIT" ]
ManageableIT/VertexPaint
Editor/VertexPainterWindow_GUI.cs
26,407
C#
using MySql.Data.MySqlClient; using Projeto_Integrador_1.Util; using System; using System.Collections.Generic; namespace Projeto_Integrador_1.Connection { class Financeiro : Config { public Financeiro() { } public bool Success; public string Message; public List<dynamic> Results ...
43.348485
454
0.532564
[ "MIT" ]
igorscheffer/Projeto-Integrador-1
Projeto Integrador 1/Projeto Integrador 1/Connection/Financeiro.cs
8,585
C#
using System; using Newtonsoft.Json; namespace DependencyInjection.Infrastructure.WeatherApiModels { public class Forecast { [JsonProperty("dt")] public long Dt { get; set; } [JsonProperty("main")] public Main Main { get; set; } [JsonProperty("weather")] public...
24.03125
76
0.582575
[ "MIT" ]
BrunaReveriegoEY/dependencyinjection
autofac/DependencyInjection.Infrastructure/WeatherApiModels/Forecast.cs
769
C#
using Messaging.PersistentTcp.Utilities; using Newtonsoft.Json; namespace Messaging.PersistentTcp.Serializers { public class JsonSerializer<T> : ISerializer<T> { public byte[] Serialize(T obj) => JsonConvert.SerializeObject(obj).ToBytesUTF8(); public T Deserialize(byte[] bytes) => JsonConvert....
31
101
0.728495
[ "MIT" ]
JustoSenka/SimpleMessagingService
Messaging.PersistentTcp/Serializers/JsonSerializer.cs
374
C#
using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Logging; using System; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using WalletKeeper.API.Demo.DataContexts; using WalletKeeper.Core.Domain.Entities; using WalletKeeper.Core.Domain.Exceptions; namespace WalletKeeper.API...
29.451613
95
0.755203
[ "MIT" ]
jeydo6/WalletKeeper
WalletKeeper.API.Demo/Factories/UserClaimsPrincipalFactory.cs
1,828
C#
using VehicleCostsMonitor.Web.Infrastructure.Attributes; namespace VehicleCostsMonitor.Tests.Helpers.ValidationTargets { public class ValidationTargetValid { public int FirstNumber { get; set; } [EqualOrGreaterThan(nameof(FirstNumber))] public int SecondNumber { get; set; } } }
24.461538
61
0.716981
[ "MIT" ]
msotiroff/Asp.Net-Core-Projects
source/VehicleCostsMonitor.Tests/Helpers/ValidationTargets/ValidationTargetValid.cs
320
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.Collections.Generic; using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing.Template; using Microsoft.Extensions.Logging; namespac...
31.131579
116
0.658495
[ "Apache-2.0" ]
VGGeorgiev/Mvc
src/Microsoft.AspNet.Mvc.Core/Routing/AttributeRouteMatchingEntry.cs
1,183
C#
using ProtoBuf.Internal; using ProtoBuf.Serializers; using System; using System.Buffers; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Intero...
48.015789
288
0.5821
[ "Apache-2.0" ]
b25/protobuf-net
src/protobuf-net.Core/Meta/TypeModel.cs
91,232
C#
using Disqord.Models; namespace Disqord.Rest.AuditLogs { public sealed class RestOverwriteCreatedAuditLog : RestAuditLog { public OverwriteData Data { get; } internal RestOverwriteCreatedAuditLog(RestDiscordClient client, AuditLogModel log, AuditLogEntryModel entry) : base(client, log...
28.133333
144
0.665877
[ "MIT" ]
FenikkusuKoneko/Disqord
src/Disqord.Rest/Entities/Rest/Guild/AuditLogs/Overwrite/RestOverwriteCreatedAuditLog.cs
424
C#
using System.Threading.Tasks; using WUApiLib; namespace devmon_library.Core { internal sealed class UpdateSearcherCallback : ISearchCompletedCallback { private readonly IUpdateSearcher _updateSearcher; private readonly TaskCompletionSource<ISearchResult> _taskCompletionSource; public ...
33.5
127
0.7301
[ "MIT" ]
Officeclip/devmon_agent
devmon_library/Core/UpdateSearcherCallback.cs
806
C#
#region License // Copyright (c) 2019 Jake Fowler // // 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, m...
41.337662
138
0.700597
[ "MIT" ]
cmdty/time-period-value-types
src/Cmdty.TimePeriodValueTypes/TimePeriodFactory.cs
3,185
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ToStringReadableOptions.cs" company="OBeautifulCode"> // Copyright (c) OBeautifulCode 2018. All rights reserved. // </copyright> // <auto-generated> // Sourced from NuGet pack...
35.409091
120
0.539795
[ "MIT" ]
NaosProject/Naos.HubSpot
Naos.HubSpot.Domain.Test/.recipes/OBeautifulCode.Type/ToStringReadableOptions.cs
1,560
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Add number ranges to a service provider. /// The response is either SuccessRe...
33.2
167
0.647088
[ "MIT" ]
Rogn/broadworks-connector-net
BroadworksConnector/Ocip/Models/ServiceProviderRouteListEnterpriseTrunkNumberRangeAddListRequest22.cs
1,992
C#
using System; using System.Collections.Generic; using Lucene.Net.Documents; using Orchard; using Orchard.Indexing; using Orchard.Localization; using Orchard.Utility.Extensions; namespace Lucene.Models { public class LuceneDocumentIndex : IDocumentIndex { public List<AbstractField> Fields { get; private ...
31.312977
109
0.533886
[ "BSD-3-Clause" ]
1996dylanriley/Orchard
src/Orchard.Web/Modules/Lucene/Models/LuceneDocumentIndex.cs
4,104
C#
using System; using Limbo.Umbraco.Seo.Models.Sitemaps; using Skybrud.Essentials.Enums; using Umbraco.Cms.Core.Models.PublishedContent; using Umbraco.Cms.Core.PropertyEditors; namespace Limbo.Umbraco.Seo.Editors.Sitemaps { public class SitemapFrequencyValueConverter : PropertyValueConverterBase { public ...
38.909091
189
0.756231
[ "MIT" ]
Mantus667/Limbo.Umbraco.Seo
src/Limbo.Umbraco.Seo/Editors/Sitemaps/SitemapFrequencyValueConverter.cs
1,286
C#
using SBC.Cryptography.ECC; using SBC.SmartContract; using SBC.Wallets; using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace SBC.UI { internal partial class CreateMultiSigContractDialog : Form { private ECPoint[] publicKeys; public CreateMul...
30.245902
137
0.633062
[ "MIT" ]
FDship/SBC
SBC-Gui/UI/CreateMultiSigContractDialog.cs
1,847
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace QCloud.CosApi.Common { public static class Extension { public static long ToUnixTime(this DateTime nowTime) { DateTime startTime = new System.DateTime(1970, 1, 1, 0, 0, 0, 0);...
26.647059
109
0.644592
[ "MIT" ]
KirbyXcode/SMS_OSS_COS
COS/Common/Extension.cs
455
C#
using Autofac; using NLayer.Configuration; using NLayer.HealthCheck; using NLayer.Logging; using NLayer.Logging.NLog; namespace NLayer.PL.IoC.Autofac.Modules { /// <summary> /// Adds components in the container. /// </summary> public class InfrastructureModule : Module { #region Overrides...
28.526316
78
0.596863
[ "Apache-2.0" ]
ZyshchykMaksim/NLayer.NET
NLayer.NET.PL/IoC/Autofac/Modules/InfrastructureModule.cs
1,086
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.Collections.Generic; using System.Text; using Microsoft.CodeAnalysis.Formatting; using M...
36.382429
171
0.576065
[ "Apache-2.0" ]
Sliptory/roslyn
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Utilities/CommonFormattingHelpers.cs
14,082
C#
namespace AcademyRPG { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class Giant : Character, IControllable, IFighter , IGatherer { private int attackPoints; private bool hasGatheredStone; public Giant(string name, Point p...
24.40678
94
0.476389
[ "MIT" ]
Konstantin-Todorov/CSharpOOP
C#OOP-Exams/TTTAcademyRPG/AcademyRPG/AcademyRPG/Giant.cs
1,442
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using EchoRenderer.Mathematics.Intersections; namespace EchoRenderer.Mathematics.Accelerators { /// <summary> /// A binary hierarchical spacial partitioning acceleration st...
27.537367
151
0.65314
[ "MIT" ]
MMXXX-VIII/ForceRenderer
EchoRenderer/Mathematics/Accelerators/BoundingVolumeHierarchy.cs
7,740
C#
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using LogicAndTrick.Oy; using Sledge.BspEditor.Documents; using Sledge.BspEditor.Modification; using Sledge.BspEditor.Modification.Operations; using Sled...
36.732283
133
0.544802
[ "BSD-3-Clause" ]
LogicAndTrick/sledge
Sledge.BspEditor.Editing/Components/Visgroup/VisgroupSidebarPanel.cs
9,332
C#
/* Copyright (c) Citrix Systems Inc. * All rights reserved. * * 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 must retain the above * copyright notice, this li...
34.386139
111
0.659084
[ "BSD-2-Clause" ]
wdxgy136/xenadmin-yeesan
XenAdmin/Controls/ToolTipContainer.cs
3,475
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; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis.CSharp.Symbols; using Mic...
37.347436
296
0.566647
[ "Apache-2.0" ]
ObsidianMinor/roslyn
src/Compilers/CSharp/Test/Semantic/Semantics/UnsafeTests.cs
324,850
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; using Microsoft.EntityFrameworkCore.Diagnostics; namespace Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal { /// <summary> ...
36.756757
108
0.648529
[ "MIT" ]
CameronAavik/efcore
src/EFCore.Sqlite.Core/Diagnostics/Internal/UnexpectedConnectionTypeEventData.cs
1,362
C#
interface ITextBox: IControl{ void SetText(string text); }
20.666667
30
0.741935
[ "MIT" ]
06012021-dotnet-uta/SekouDossoP0
classes/Interfacesss/ITextBox.cs
62
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using RubiksCubeTrainer.Puzzle3x3; namespace RubiksCubeTrainer.Solver3x3 { public class Solver { private Solver( ImmutableDictionary<string, IState> states, ...
40.291667
112
0.697518
[ "MIT" ]
JeffLeBert/RubiksCubeTrainer
Puzzle/Solver3x3/Solver.cs
1,936
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace App1 { public partial class MainPage : ContentPage { public MainPage() { InitializeComponent(); } } }
14.611111
44
0.741445
[ "MIT" ]
MACEL94/CityProblemGeoHelper
App1/App1/MainPage.xaml.cs
265
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. /****************************************************************************** * This file is auto-generated from ...
41.677966
187
0.580543
[ "MIT" ]
Davilink/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/AdvSimd/Or.Vector128.SByte.cs
22,131
C#
// <auto-generated /> using System; using FriendsAdventure.WebApp.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace FriendsAdventure.WebApp.Data.Migrations {...
37.746377
125
0.469284
[ "MIT" ]
GeorgenaGeorgieva/Web
FriendsAdventure/WebApp/FriendsAdventure.WebApp/Data/Migrations/ApplicationDbContextModelSnapshot.cs
10,418
C#
using Dorisoy.Pan.Common.GenericRespository; using Dorisoy.Pan.Common.UnitOfWork; using Dorisoy.Pan.Data; using Dorisoy.Pan.Domain; namespace Dorisoy.Pan.Repository { public class DocumentReminderRepository : GenericRepository<DocumentReminder, DocumentContext>, IDocumentReminderRepository { ...
25.388889
99
0.698031
[ "MIT" ]
dorisoy/-Dorisoy.Pan
SourceCode/Src/Dorisoy.Pan.Repository/Document/DocumentReminder/DocumentReminderRepository.cs
459
C#
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "F9F387006E76106D0C3BB120D3BE3632F114F2D4" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Change...
31.611111
121
0.614675
[ "MIT" ]
Wowo51/Sym
SymApp/obj/Debug/netcoreapp3.1/App.g.cs
2,278
C#
using System.Linq; using Kiota.Builder.Writers; using Kiota.Builder.Writers.Go; using Kiota.Builder.Writers.Php; using Xunit; namespace Kiota.Builder.Refiners.Tests { public class PhpLanguageRefinerTests { private readonly CodeNamespace root = CodeNamespace.InitRootNamespace(); [Fact] ...
32.938144
109
0.52989
[ "MIT" ]
ehtick/kiota
tests/Kiota.Builder.Tests/Refiners/PhpLanguageRefinerTests.cs
3,197
C#
using NHibernate; using NHibernate.Cfg; namespace PersonalPlanung.Persistence.nh.Contracts { public interface IHibernateInitializationAware { void Initialized(Configuration configuration, ISessionFactory sessionFactory); } }
24.6
86
0.784553
[ "MIT" ]
Slesa/Godot
src/PersonalPlanung/PersonalPlanung.Persistence.nh/Contracts/IHibernateInitializationAware.cs
248
C#
using System; using System.Collections.Generic; using UnityEngine; namespace UI.Utils { public class RichStrings { public static string WithColor(string s, Color color) { return $"<color=#{ColorUtility.ToHtmlStringRGBA(color)}>{s}</color>"; } } public static class ...
34.316456
111
0.576171
[ "Apache-2.0" ]
ch-andrei/SpaceColumbus
Assets/GameView/UI/Scripts/UiUtils.cs
2,713
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class GameOverManage : MonoBehaviour { public Text scoreText; void Start() { scoreText.text = GameManagerScript.score.ToString("F0"); } }
16.176471
64
0.712727
[ "MIT" ]
uguisu64/GameJam2020DinosaurGame
Assets/Scripts/GameOverScene/GameOverManage.cs
277
C#
namespace Ryujinx.HLE.HOS.Services.Spl.Types { enum HardwareType { Icosa, Copper, Hoag, Iowa, Calcio, Aula } }
14.25
45
0.48538
[ "MIT" ]
2579768776/Ryujinx
Ryujinx.HLE/HOS/Services/Spl/Types/HardwareType.cs
173
C#
using System; using System.Text.RegularExpressions; using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace PixiEditor.Views { /// <summary> /// Interaction logic for NumerInput.xaml /// </summary> public partial class NumberInput : UserControl { // U...
36.121212
119
0.627517
[ "MIT" ]
RobertsMaxwell/PixiEditor
PixiEditor/Views/NumberInput.xaml.cs
2,386
C#
using BotEngine; namespace Sanderling.Interface.MemoryStruct { public interface IWindowDroneView : IWindow, IContainer, IUIElement, IObjectIdInMemory, IObjectIdInt64 { IListViewAndControl ListView { get; } } }
17.153846
103
0.775785
[ "Apache-2.0" ]
Fulborg/A-Bot
src/Sanderling.Interface/Sanderling.Interface.MemoryStruct/IWindowDroneView.cs
223
C#
using System.Management.Automation; using System.Threading.Tasks; using Microsoft.Diagnostics.Runtime.Interop; namespace MS.Dbg.Commands { // TODO: This class is one reason why we need "cd" to set the proper // debugger context, because we want to be able to invoke straight // dbgeng commands and have the...
35.342857
141
0.54325
[ "MIT" ]
Bhaskers-Blu-Org2/DbgShell
DbgProvider/public/Commands/InvokeDbgEngCommand.cs
3,713
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using VOL.Core.Enums; using VOL.Core.Utilities; using VOL.Entity.DomainModels; namespace VOL.Core.Filters { public abstract class ServiceFunFilter<T> where T : class { /// <summary> /// 是否开启用户数据权限...
36.809859
122
0.610293
[ "MIT" ]
h-alone/.NETCORE-VUE
Vue.Net/VOL.Core/Filters/ServiceFunFilter.cs
6,871
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; namespace ShaderTools.Utilities { // Helpers that are missing from Dev11 implementation: internal static class WeakReferenceExt...
31.529412
162
0.664179
[ "Apache-2.0" ]
BigHeadGift/HLSL
src/ShaderTools.Utilities/WeakReferenceExtensions.cs
522
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.12 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //----...
41.222222
113
0.720506
[ "Apache-2.0" ]
Ozker24/Improved
HDRP Improved/Library/PackageCache/com.autodesk.fbx@3.0.0-preview.1/Runtime/Scripts/FbxImporter.cs
4,823
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.5446 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
45.093278
790
0.513278
[ "Apache-2.0" ]
Victhor94/loggencsg
vendors/gapi/Src/google-api-dotnet-client.contrib/20110811-0.9.3/Generated/Source/Google.Apis.Audit.v1.cs
32,873
C#
/* * Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty */ using System; using System.Diagnostics; using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Xml; using System.Xml.XPath; // Image...
47.5
153
0.793263
[ "MIT" ]
TotalJTM/PrimitierModdingFramework
Dumps/PrimitierDumpV1.0.1/MS/Internal/Xml/Cache/XPathDocumentNavigator.cs
2,377
C#
using System.Runtime.InteropServices; namespace Vulkan { [UnmanagedFunctionPointer(CallingConvention.Cdecl)] [return: NativeTypeName( "uint64_t")] public unsafe delegate ulong PFN_vkGetDeviceMemoryOpaqueCaptureAddress([NativeTypeName("VkDevice")...
55.272727
141
0.536184
[ "BSD-3-Clause" ]
trmcnealy/Vulkan
Vulkan/Delegates/PFN_vkGetDeviceMemoryOpaqueCaptureAddress.cs
608
C#
namespace Kartverket.Register.Migrations { using System; using System.Data.Entity.Migrations; public partial class AddDocumentTranslation : DbMigration { public override void Up() { CreateTable( "dbo.DocumentTranslations", c => new ...
32.970588
94
0.491525
[ "MIT" ]
kartverket/Geonorge.Register
Kartverket.Register/Migrations/201710090833469_AddDocumentTranslation.cs
1,121
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...
36.420561
122
0.60816
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/AppMesh/Generated/Model/ListTagsForResourceRequest.cs
3,897
C#
// Copyright (C) 2003-2010 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: Alex Kofman // Created: 2009.06.25 using System; using NUnit.Framework; using Xtensive.Orm.Configuration; using Xtensive.Orm.Tests.Model.StringKeyTestModel; namespace X...
23.066667
64
0.660886
[ "MIT" ]
SergeiPavlov/dataobjects-net
Orm/Xtensive.Orm.Tests/Model/StringKeyTest.cs
1,038
C#
using System; using UnityEngine; using UnityEditor; using System.Linq; using System.IO; using System.Collections.Generic; using System.Reflection; namespace AssetBundleGraph { /** * IModifier is an interface which modifies incoming assets. * Subclass of IModifier must have CustomModifier attribute. */ public...
26.142202
115
0.696964
[ "MIT" ]
sassembla/Advent2016_AssetBundleGraph
Assets/AssetBundleGraph/Editor/System/Modifiers/IModifier.cs
5,699
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.Linq.Expressions; using System.Reflection; namespace Microsoft.AspNetCore.Mvc.ViewFeatures; public class MemberExpressionCacheKeyTest { [Fact] public void Get...
26.277778
108
0.608879
[ "MIT" ]
3ejki/aspnetcore
src/Mvc/Mvc.ViewFeatures/test/MemberExpressionCacheKeyTest.cs
2,840
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("Mi...
37.864865
84
0.745896
[ "BSD-2-Clause" ]
DomenicP/NXTKinectDriverStation
NXTKinectConsole/Properties/AssemblyInfo.cs
1,404
C#
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Beef.CodeGen.Config { /// <summary> /// Represents a temporary capability to translate XML and YAML property names and ...
80.069284
351
0.660542
[ "MIT" ]
Avanade/Beef
tools/Beef.CodeGen.Core/Config/XmlYamlTranslate.cs
34,672
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using ProjetoAgoraVai.Data; using Microsoft.EntityFrameworkCore; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; usin...
31.078125
143
0.621418
[ "MIT" ]
beatrizrufis/Avalia-oDS2
ProjetoAgoraVai/ProjetoAgoraVai/Startup.cs
1,989
C#
/* Copyright (C) 2016 Alexey Lavrenchenko (http://prosecuritiestrading.com/) 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 Unles...
31.448113
76
0.553622
[ "Apache-2.0" ]
AlexeyLA0509/PSTTrader
src/ProSecuritiesTrading.MOEX.FIX/Base/Message/ASTS/TradeCaptureReportData.cs
6,669
C#
using AutoMapper; using Microsoft.EntityFrameworkCore; using RPG.Data.Context; using RPG.Data.Models; using RPG.Domain.Dto.Character; using RPG.Domain.Response; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace RPG.Services.CharacterServices { public class CharacterServi...
40.038462
131
0.629203
[ "MIT" ]
HusseinShukri/DotNET-RPG
RPG/RPG.Services/CharacterService/.vshistory/CharacterService.cs/2021-08-09_19_08_39_846.cs
4,166
C#
using System; using EloquentObjects.Channels; namespace EloquentObjects { /// <summary> /// This is a custom implementation of the FaultException since the Mono version used in Unity3D of the FaultException /// throws a NotImplementedException when serialized. /// </summary> public sealed c...
36.142857
126
0.598358
[ "MIT" ]
ni28/EloquentObjects
src/EloquentObjects/FaultException.cs
3,289
C#
namespace State.Application.Models.Responses { public class GenericResponse { public GenericResponse(string message) { Message = message; } public string Message { get; set; } } }
19.75
46
0.586498
[ "MIT" ]
dsrodolfo/State.Api
State.Application/Models/Responses/GenericResponse.cs
239
C#
using DoctorXamarinMrBlazorApp.Data; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DoctorXamarinMrBlazorApp.Event { public class MyDeviceEventArgs : System.EventArgs { public MyDevice Device { get; set; } public M...
20.55
53
0.690998
[ "Apache-2.0" ]
CodearoundHub/DoctorXamarinMrBlazorApp
src/DoctorXamarinMrBlazorApp/DoctorXamarinMrBlazorApp/Event/MyDeviceEventArgs.cs
413
C#
using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Http; using Microsoft.OpenApi.Models; namespace EasyRpc.AspNetCore.Documentation { /// <summary> /// Document filter context /// </summary> public class DocumentFilterContext { /// <summary> ...
24.5625
87
0.569975
[ "MIT" ]
ipjohnson/EasyRpc
src/EasyRpc.AspNetCore/Documentation/IDocumentFilter.cs
1,181
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Security.Cryptography; namespace cn.vimfung.luascriptcore.modules.crypto { /// <summary> /// 加密模块 /// </summary> public class Crypto : object, LuaExportType { public static byte[] md5(object data) { if (data is b...
18.268657
74
0.586601
[ "Apache-2.0" ]
vimfung/LuaScriptCore-Modules
Crypto/Unity3D/Crypto.cs
2,458
C#
namespace PluginCore.BBCode { public class PairTag : IPairTag { public PairTag(IPairTagMatch openerMatch, IPairTagMatch closerMatch) { _openerMatch = openerMatch; _closerMatch = closerMatch; } readonly IPairTagMatch _openerMatch; read...
22.822581
104
0.522261
[ "MIT" ]
Klug76/flashdevelop
PluginCore/BBCode/PairTag.cs
1,354
C#
namespace Pyro.Common.Interfaces.Repositories { public interface IBaseRepository { void Save(); } }
14.75
46
0.669492
[ "BSD-3-Clause" ]
angusmillar/Pyro
Pyro.Common/Interfaces/Repositories/IBaseRepository.cs
120
C#
using System; namespace Reflex { internal class Binding { internal Type Contract; internal Type Concrete; internal BindingScope Scope; internal Func<object> Method; } }
17.833333
37
0.630841
[ "MIT" ]
gustavopsantos/Reflex
Reflex/Assets/Reflex/Scripts/Definitions/Binding.cs
216
C#
//******************************************************************************************************************************************************************************************// // Copyright (c) 2020 abergs (https://github.com/abergs/fido2-net-lib) ...
53.41791
1,140
0.524448
[ "MIT" ]
k-korn/adfsmfa
Neos.IdentityServer 3.0/Neos.IdentityServer.MultiFactor.WebAuthN.Core/Metadata/StaticMetadataRepository.cs
17,897
C#
using System; using System.Collections.Generic; using Compliance.EarlyBound; using Compliance.Plugins; using FakeXrmEasy; using FluentAssertions; using Microsoft.Xrm.Sdk; using Xunit; namespace Compliance.Plugins.Tests { public class CompliancePrefixPluginTests { public class when_creating_complaint ...
34.871795
183
0.552206
[ "MIT" ]
opc-cpvp/OPC.PowerApps
src/Compliance.Plugins.Tests/CompliancePrefixPluginTests.cs
2,722
C#
namespace VAdvantage.Model { /** Generated Model - DO NOT CHANGE */ using System; using System.Text; using VAdvantage.DataBase; using VAdvantage.Common; using VAdvantage.Classes; using VAdvantage.Process; using VAdvantage.Model; using VAdvantage.Utility; using System.Data; /** Generated Model for AD_WorkflowProcessorL...
25.596774
141
0.750788
[ "Apache-2.0" ]
AsimKhan2019/ERP-CMR-DMS
ViennaAdvantageWeb/ModelLibrary/ModelAD/X_AD_WorkflowProcessorLog.cs
6,348
C#
using System; namespace Apprenda.EFPlugin { /// <summary> /// Helper class to load the guest app's EF Configuration /// </summary> public interface ITypeLoader { Type Load(string className); } }
17.615385
61
0.624454
[ "MIT" ]
apprenda/ApplicationSamples
datatierplugin/src/efplugin/ITypeLoader.cs
231
C#
using System; using Convey.MessageBrokers.RabbitMQ; using Trill.Services.Stories.Application.Events; using Trill.Services.Stories.Application.Exceptions; using Trill.Services.Stories.Core.Exceptions; namespace Trill.Services.Stories.Infrastructure.Exceptions { internal sealed class ExceptionToMessageMapper : IExce...
35.952381
97
0.703311
[ "MIT" ]
devmentors/Trill.Services.Stories
src/Trill.Services.Stories.Infrastructure/Exceptions/ExceptionToMessageMapper.cs
755
C#
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using JetBrains.Annotations; using Nuke.Common.Tooling; using Nuke.Common.Utilities; namespace...
49.614815
146
0.700956
[ "MIT" ]
ChaseFlorell/nuke
source/Nuke.Common/CI/AppVeyor/AppVeyor.cs
6,698
C#
using System; using System.Collections.Generic; using System.Text; using TechCatalogAdminPanel.Models.Enums; namespace TechCatalogAdminPanel.Common.ViewModels { public class TvEditViewModel : BaseDeviceEditViewModel { public Resolution Resolution { get; set; } public ScreenTechnology ScreenTe...
23.809524
62
0.704
[ "MIT" ]
Valentinles/TechCatalog-AdminPanel
src/TechCatalogAdminPanel.Common/ViewModels/TvEditViewModel.cs
502
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Devices.PointOfService.Provider { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class BarcodeScannerSetActiveSymbologiesRequest ...
46.039216
210
0.78109
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Devices.PointOfService.Provider/BarcodeScannerSetActiveSymbologiesRequest.cs
2,348
C#
// ------------------------------------------------------------------------------ // <copyright file="LoopStatementFactory.cs" company="Drake53"> // Licensed under the MIT license. // See the LICENSE file in the project root for more information. // </copyright> // -----------------------------------------------------...
34.791667
91
0.57006
[ "MIT" ]
Bia10/War3Net
src/War3Net.CodeAnalysis.Jass/SyntaxFactory/LoopStatementFactory.cs
837
C#
using System; namespace NQuery.Iterators { internal sealed class IndirectedRowBuffer : RowBuffer { public IndirectedRowBuffer(int count) { Count = count; } public RowBuffer ActiveRowBuffer { get; set; } public override int Count { get; } public ov...
22.461538
73
0.587329
[ "MIT" ]
dallmair/nquery-vnext
src/NQuery/Iterators/IndirectedRowBuffer.cs
586
C#
using DataAccessLayer.Repositories; using EntityLayer.Concrete; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataAccessLayer.EntityFramework { public class EfContactRepository : GenericRepository<Contact>, IContactDal { } }
21.266667
78
0.799373
[ "MIT" ]
elifkuus/Blog-WebSite
BlogWebSite/DataAccessLayer/EntityFramework/EfContactRepository.cs
321
C#
/******************************************************************************** * RequestContext.cs * * * * Author: Denes Solti ...
35.641791
128
0.535176
[ "MIT" ]
Sholtee/rpc
SRC/RPC.Server/Private/RequestContext.cs
2,390
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
48.092713
402
0.571107
[ "MIT" ]
samtoubia/azure-sdk-for-net
src/ResourceManagement/Network/Microsoft.Azure.Management.Network/Generated/NetworkInterfacesOperations.cs
133,313
C#
using System; using UnityEngine; public class MinMaxSliderAttribute : PropertyAttribute { public readonly float max; public readonly float min; public MinMaxSliderAttribute( float min_, float max_ ) { min = min_; max = max_; } }
17.142857
55
0.745833
[ "MIT" ]
theADAMJR/PROJECT-2D
Assets/Asset Packs/FoliageWaver/MinMaxSliderAttribute.cs
242
C#
using UnityEngine; public class ExitToMenu : MonoBehaviour { [SerializeField] private KeyCode key; public void Update() { if (Input.GetKeyDown(key)) { G.Instance.Scene.Load("MainMenu"); } } }
18.384615
46
0.598326
[ "MIT" ]
doc97/Neon-Domination
Assets/Scripts/Management/ExitToMenu.cs
241
C#
using System; using System.Collections; namespace DataMining.Data { /// <summary> /// same as VSSearcher, but takes as an argument a docId /// </summary> public class DocVSSearcher { private DocsLoader dLoader; private CatsLoader cLoader; private Index index; privat...
32.75641
106
0.536204
[ "Unlicense" ]
ic4f/oldcode
2007-knn-wikipedia-classifier/Data/DocVSSearcher.cs
2,555
C#
using System; using System.Linq; namespace Amg.Extensions { internal static class ObjectExtensions { /// <summary> /// Writes instance properties /// </summary> /// <param name="x"></param> /// <returns></returns> public static IWritable Destructure(this object ...
26.019608
111
0.464205
[ "MIT" ]
sidiandi/Amg.GetOpt
Amg.GetOpt/Extensions/ObjectExtensions.cs
1,329
C#
using HelloExtensions.Auth.Interfaces; namespace HelloExtensions.ProjectA.Auth.Interfaces { public interface IUserCredentials : ICredentialInfo, IXmlSupport { } }
19.666667
68
0.774011
[ "MIT" ]
andreigit/CompositionAndInterfaces-Sample
HelloExtensions.ProjectA.Auth/Interfaces/IUserCredentials.cs
179
C#
namespace LeetCode.Naive.Problems; /// <summary> /// Problem: https://leetcode.com/problems/parsing-a-boolean-expression/ /// Submission: https://leetcode.com/submissions/detail/419973463/ /// </summary> internal class P1106 { public class Solution { public bool ParseBoolExpr(string expression)...
27.095238
83
0.519772
[ "MIT" ]
viacheslave/algo
leetcode/c#/Problems/P1106.cs
2,276
C#
/******************************************************************************* * Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the License...
48.51046
279
0.62403
[ "Apache-2.0" ]
QPC-database/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/SecretsManager/Basic/Restore-SECSecret-Cmdlet.cs
11,602
C#
// CivOne // // To the extent possible under law, the person who associated CC0 with // CivOne has waived all copyright and related or neighboring rights // to CivOne. // // You should have received a copy of the CC0 legalcode along with this // work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. u...
20.357143
77
0.637427
[ "CC0-1.0" ]
Andersw88/CivOne
src/Civilizations/English.cs
857
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.333333
80
0.65121
[ "MIT" ]
CamiKaze/MessageQueue
SendToRabbitMQ/SendToRabbitMQ/obj/Debug/netcoreapp2.2/SendToRabbitMQ.AssemblyInfo.cs
992
C#
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("GitVersionCore")] [assembly: AssemblyProduct("GitVersion")] [assembly: AssemblyVersion("4.0.0.0")] [assembly: AssemblyFileVersion("4.0.0.0")] [assembly: InternalsVisibleTo("GitVersionTask.Tests")] [assembly: InternalsVi...
42.785714
141
0.789649
[ "MIT" ]
yohanb/GitVersion
src/GitVersionCore/AssemblyInfo.cs
590
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace LordJZ.WinAPI.Native { [StructLayout(LayoutKind.Explicit)] internal struct IMAGE_NT_HEADERS { [FieldOffset(0)] [MarshalAs(Unma...
28.981481
110
0.548882
[ "MIT" ]
LordJZ/LordJZ
LordJZ.WinAPI/Native/IMAGE_NT_HEADERS.cs
1,567
C#
using NCop.Aspects.Aspects; namespace NCop.Aspects.Weaving.Expressions { internal class BindingRaiseEventAspectDecoratorExpression : IAspectExpression { private readonly IEventAspectDefinition aspectDefinition = null; internal BindingRaiseEventAspectDecoratorExpression(IEventAspectDefinition ...
34.333333
110
0.763754
[ "MIT" ]
sagifogel/NCop
NCop.Aspects/Weaving/Expressions/BindingRaiseEventAspectDecoratorExpression.cs
620
C#