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
 namespace NetFramework { using Cloud.Governance.Client.Api; using Cloud.Governance.Client.Client; using Cloud.Governance.Client.Model; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; public class CreateSite_Basic : TestBase { pu...
34.413043
110
0.600758
[ "Apache-2.0" ]
AvePoint/cloud-governance-client
example/csharp/netframework/Requests/CreateSite/CreateSite_Basic.cs
1,585
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("Mvc...
37.5
84
0.74963
[ "MIT" ]
LambertW/Fogy
samples/MvcDemo.Web/Properties/AssemblyInfo.cs
1,353
C#
// ********************************************************************************************************************** // // Copyright © 2005-2019 Trading Technologies International, Inc. // All Rights Reserved Worldwide // // * * * S T R I C T L Y P R O P R I E T A R Y * * * // // WARNING: This file and all re...
33.499096
123
0.562483
[ "BSD-3-Clause" ]
shatteringlass/TT_Samples
TT_NET_CLIENT_SIDE/TTNETAPI_Sample_WPF_VolumeRatio/MainWindow.xaml.cs
18,532
C#
using System; using System.IO; using System.Linq; using System.Reflection; using PowerArgs; namespace ArkProjects.Wireguard.Cli; [AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter)] public class VersionHook : ArgHook { public static class CustomAttributesName { public const string...
39.846847
152
0.628759
[ "MIT" ]
mixa3607/WgNet
Wireguard.Cli/Cli/VersionHook.cs
4,425
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace GitClientVS.Infrastructure.Extensions { public static class CommonExtensions { public static IEnumerable<TSo...
30.945946
135
0.619214
[ "MIT" ]
DirtyApexAlpha/bitbucket-for-visual-studio
Source/GitClientVS.Infrastructure/Extensions/CommonExtensions.cs
1,147
C#
namespace Battleship.Warehouse { using System; using Battleship.Warehouse.Scheduler; public static class WareHousing { #region Methods public static void IntervalInDays(int hour, int min, double interval, Action task) { interval = interval * 24; TaskSc...
21.842105
90
0.624096
[ "MIT" ]
ofthesea-io/Battleship.Microservices
src/Battleship.Warehouse/WareHousing.cs
417
C#
using System; using System.Collections; using System.Web.UI; namespace umbraco { /// <summary> /// Class that adapts an <see cref="AttributeCollection"/> to the <see cref="IDictionary"/> interface. /// </summary> public class AttributeCollectionAdapter : IDictionary { private re...
40.731629
253
0.553298
[ "MIT" ]
ismailmayat/Umbraco-CMS
src/Umbraco.Web/umbraco.presentation/AttributeCollectionAdapter.cs
12,751
C#
using System; using System.Collections; using System.Collections.Generic; namespace TP5 { class Program { static void Main(string[] args) { string oracion; Console.Write("Escriba su oración: "); oracion = Console.ReadLine(); oracion = reverse(ora...
26.181818
171
0.467949
[ "MIT" ]
LarryKapija/TP5
TP5/Program.cs
3,752
C#
using System.Collections.Generic; using System.Threading.Tasks; using UserService.views; using UserService.Models; namespace UserService.Services { public interface IUserService { Task Fill(); Task<List<User>> Get(); Task<User> Insert(string viewName, string viewEmail, string view...
19.238095
82
0.69802
[ "MIT" ]
KwetterS6/UserService
UserService/Services/IUserService.cs
406
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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, co...
31.310606
123
0.74135
[ "MIT" ]
TetradogOther/SharpDevelop
src/Main/Base/Project/Editor/Bookmarks/BookmarkPad.cs
4,135
C#
using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; namespace Basilisk.Inject.Configuration.Implementation { /// <summary> /// Default implementation of <see cref="IHostConfig"/>. /// </summary> public class HostConfig : IHostConfig { /// <summary> ...
26.289474
98
0.597598
[ "MIT" ]
tldag/basilisk
Basilisk.Inject/Configuration/Implementation/HostConfig.cs
1,001
C#
// Copyright 2010 Chris Patterson // // 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...
26.431373
84
0.686202
[ "Apache-2.0" ]
Nangal/Stact
src/Stact.Playground/Rules/Internal/TokenImpl.cs
1,350
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. namespace Microsoft.VisualStudio.LanguageServices.Implementation.Options.Style.NamingPreferences { internal interface INamingStylesInfoDialogViewModel ...
37.272727
161
0.741463
[ "Apache-2.0" ]
20chan/roslyn
src/VisualStudio/Core/Impl/Options/Style/NamingPreferences/INamingStylesInfoDialogViewModel.cs
412
C#
using System; using System.Runtime.InteropServices; namespace Vlc.DotNet.Core.Interops.Signatures { /// <summary> /// Set video track. /// </summary> [LibVlcFunction("libvlc_video_set_track")] [UnmanagedFunctionPointer(CallingConvention.Cdecl)] internal delegate void SetVideoTrack(IntPtr media...
27.076923
82
0.741477
[ "MIT" ]
CrookedFingerGuy/Vlc.DotNet
src/Vlc.DotNet.Core.Interops/Signatures/libvlc_media_player.h/libvlc_video_set_track.cs
354
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; using Microsoft.TestCommon; using Moq; namespace System.Web.WebPages.Test { public class RequestResourceTrackerTest ...
30.409091
111
0.603886
[ "Apache-2.0" ]
belav/AspNetWebStack
test/System.Web.WebPages.Test/WebPage/RequestResourceTrackerTest.cs
1,340
C#
using Microsoft.HockeyApp.Model; using Microsoft.Phone.Net.NetworkInformation; using Microsoft.Phone.Reactive; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.IO.IsolatedStorage; using System.Linq; using System.Net; using System.Text; usin...
32.255319
134
0.527045
[ "MIT" ]
bitstadium/HockeySDK-Windows
Src/Kit.WP8/ViewModels/FeedbackPageVM.cs
6,066
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace lm.Comol.Core.BaseModules.Tickets.Domain.DTO { [Serializable, CLSCompliant(true)] public class DTO_UserModify { public DTO_UserModify() { TicketId = -1; Code = "TK0000000...
32.509615
126
0.590949
[ "MIT" ]
EdutechSRL/Adevico
3-Business/3-Modules/lm.Comol.Core.BaseModules/Tickets/Domain/DTO/DTO_UserModify.cs
3,390
C#
using Ryujinx.Graphics.Shader.Instructions; using Ryujinx.Graphics.Shader.IntermediateRepresentation; using System.Collections.Generic; namespace Ryujinx.Graphics.Shader.Decoders { class OpCodeSsy : OpCodeBranch { public Dictionary<OpCodeSync, Operand> Syncs { get; } public OpCodeSsy(InstEmitt...
30.75
106
0.700813
[ "MIT" ]
Danik2343/Ryujinx
Ryujinx.Graphics/Shader/Decoders/OpCodeSsy.cs
615
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using TokoBeDia.Controller; using TokoBeDia.Model; namespace TokoBeDia.View.profile { public partial class ViewProfile : System.Web.UI.Page { protected void Page_L...
31.896552
87
0.592432
[ "MIT" ]
johaneka06/PSD-TokoBeDia
Code/TokoBeDia/View/profile/ViewProfile.aspx.cs
1,852
C#
using Blindspot.Core; using Blindspot.Core.Models; using ScreenReaderAPIWrapper; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Blindspot.ViewModels { public class SearchBufferList : BufferList, IDisposable { private Search _search; public Sear...
28.173913
174
0.51196
[ "BSD-2-Clause" ]
craigbrett17/Blindspot
Blindspot/ViewModels/SearchBufferList.cs
2,594
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("Ne...
38.027027
84
0.744136
[ "Apache-2.0" ]
inkadnb/Nebula
Nebula.Core.Tests/Properties/AssemblyInfo.cs
1,410
C#
using System; using System.Linq; using DefaultNamespace; using UnityEngine; public class ClientLemingManager : MonoBehaviour { public RecordsStorage RecordsStorage; public LemingMovementController Leming; [SerializeField] private LemmingMovementDirection _input; public LemmingRunRecord Record; p...
29.181034
130
0.600886
[ "MIT" ]
uugspb/team5
Assets/Scripts/ClientLemingManager.cs
3,387
C#
using System.Collections.Generic; namespace EzAspDotNet.Notification.Data { public class WebHook { public string Text { get; set; } public string Title { get; set; } public string TitleLink { get; set; } public string Author { get; set; } public string AuthorLink { ...
23.588235
116
0.59601
[ "MIT" ]
elky84/EzAspDotNet
EzAspDotNet/Notification/Data/WebHook.cs
804
C#
using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.FileProviders; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Modules.Internal; using System.IO; using Microsoft.AspNetCore.Hosti...
31.464286
96
0.796822
[ "MIT" ]
danroth27/AspNetCoreModules
src/Microsoft.AspNetCore.Modules.Mvc/MvcServiceCollectionExtensions.cs
883
C#
// =================================================================== // 项目说明,功能实体类,用CodeSmith自动生成。 // =================================================================== // 文件名: RemindItem.cs // 修改时间:2017/12/26 17:33:33 // 修改人: lixiong // =================================================================== using S...
23.186047
72
0.608158
[ "Apache-2.0" ]
lixiong24/IPS2.1
JXIPS/JX.Core/Entity/RemindItemEntity.cs
3,277
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> //--...
39.666667
151
0.583567
[ "MIT" ]
Jamiras/Core
BundleFileViewer/Properties/Settings.Designer.cs
1,073
C#
// Generated by SharpKit.QooxDoo.Generator using System; using System.Collections.Generic; using SharpKit.Html; using SharpKit.JavaScript; namespace qx.theme.manager { /// <summary> /// <para>Manager for meta themes</para> /// </summary> [JsType(JsMode.Prototype, Name = "qx.theme.manager.Meta", OmitOptionalPara...
36.710843
106
0.688546
[ "MIT" ]
SharpKit/SharpKit-SDK
Defs/Qooxdoo/theme/manager/Meta.cs
3,047
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.Buffers; using System.Diagnostics; using System.Runtime.InteropServices; namespace System.Text { /...
44.471132
144
0.583714
[ "MIT" ]
Azure-2019/corefx
src/Common/src/CoreLib/System/Text/DecoderNLS.cs
19,256
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
40.708333
80
0.645855
[ "MIT" ]
SebastianTrifa/c-
Labs_game/obj/Debug/netcoreapp2.1/Labs_game.AssemblyInfo.cs
977
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace ComprarCafe { public partial class MainPage : ContentPage { public int Qtde { get; set; } public Double ValorUnd { get; set; } public Double Tota...
23.25
63
0.485826
[ "MIT" ]
dfilitto/ProjetosXamarinForms
ComprarCafe/ComprarCafe/ComprarCafe/MainPage.xaml.cs
1,025
C#
// <auto-generated> // 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. // </auto-generated> namespace Microsoft.Azure.Management.Compute.Fluent.Mod...
42.041096
578
0.634409
[ "MIT" ]
acelina/azure-libraries-for-net
src/ResourceManagement/Compute/Generated/Models/VirtualMachineScaleSetUpdate.cs
6,138
C#
/*-------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-------------------------------------------------------------------...
26.27907
117
0.704425
[ "MIT" ]
Mindstyler/Microsoft.Unity.Analyzers
src/Microsoft.Unity.Analyzers.Tests/BaseTest.cs
2,262
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using NLog; using ZVRPub.Library.Model; using ZVRPub.Repository; using ZVRPub.Scaffold; namespace ZVRPub.API.Controllers...
33.506173
116
0.633751
[ "MIT" ]
1806-jun25-net/Project-Anthony-Randall-Cristian-BackEnd-
ZVRPub.API/ZVRPub.API/Controllers/InventoryHasLocationController.cs
2,716
C#
using Harmony; using ModComponentAPI; namespace ModComponentMapper { [HarmonyPatch(typeof(ItemDescriptionPage), "GetEquipButtonLocalizationId")] class ItemDescriptionPageGetEquipButtonLocalizationIdPatch { public static void Postfix(GearItem gi, ref string __result) { if (__re...
26.8
79
0.609808
[ "MIT" ]
WulfMarius/ModComponent
ModComponentMapper/src/patches/ItemDescriptionPagePatch.cs
940
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using WorkflowCore.Persistence.EntityFramework.Models; using WorkflowCore.Persistence.EntityFramework.Services; namespace Workflo...
37.584615
123
0.691363
[ "MIT" ]
5118234/workflow-core
src/providers/WorkflowCore.Persistence.SqlServer/SqlServerContext.cs
2,445
C#
using Zinnia.Data.Type; namespace Test.Zinnia.Data.Type { using UnityEngine; using System; using NUnit.Framework; using Assert = UnityEngine.Assertions.Assert; public class SerializableTypeTest { [Test] public void ConvertFromType() { Component componentTyp...
25.806452
73
0.61625
[ "MIT" ]
BestProjectMember/Ship
Library/PackageCache/io.extendreality.zinnia.unity@1.9.0/Tests/Editor/Data/Type/SerializableTypeTest.cs
802
C#
using System; using System.Collections.Generic; using System.Runtime.Serialization; using System.Text; namespace Meadow.CoverageReport { [Flags] public enum BranchType { [EnumMember(Value = "none")] None, [EnumMember(Value = "if_statement")] IfStatement, [EnumMemb...
17.814815
44
0.594595
[ "MIT" ]
MeadowSuite/Meadow
src/Meadow.CoverageReport/BranchType.cs
483
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE.md file or at * https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.472/blob/master/LICENSE * */ #endregion using ComponentFactory.Krypton.Toolkit; using Core.Classes.Colours; using ...
33.910714
250
0.690627
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-Toolkit-Suite-Extended-NET-5.472
Source/Krypton Toolkit Suite Extended/Shared/Tooling/UX/Colours/ContrastColourGenerator.cs
3,800
C#
using System; using System.Collections; using System.Collections.Generic; using System.Runtime.CompilerServices; namespace ConsoleApp { /* * 抽象建造类,确定部件有几部分组成 * 并生命一个活的结果的办法 */ abstract class Builder { public abstract void BuildPartA(); public abstract void BuildPartB(); ...
20.107143
49
0.516874
[ "Apache-2.0" ]
imkcrevit/-
ConsoleApp/Builder.cs
1,759
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; using Neutron; namespace Test { class Program { static Random Rnd = new Random(); static string GetString(int Len) { string Ret = ""; for (int i = 0; i < Len; i++) ...
25.967742
73
0.655901
[ "Unlicense" ]
cartman300/Neutron
Test/Program.cs
1,612
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Diagnostics; using Microsoft.Languages.Editor.Shell; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Editor; using Microsoft.Visual...
46.518072
191
0.649055
[ "MIT" ]
AlexanderSher/RTVS-Old
src/Languages/Editor/Impl/Undo/CompoundUndoAction.cs
3,863
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
32.266667
78
0.357438
[ "MIT" ]
BtrJay/squidex
src/Squidex.Domain.Users/IRoleFactory.cs
487
C#
using System; using System.Collections.Generic; using Gtk; using NLog; using System.ServiceModel.Syndication; using System.Xml; using System.Linq; using QSWidgetLib; using QSProjectsLib; using System.Threading; namespace QSSupportLib { public class NewsMenuItem : MenuItem { private static Logger logger = LogManag...
28.271429
155
0.663719
[ "Apache-2.0" ]
opopve/QSProjects
QSSupportLib/widgets/NewsMenuItem.cs
4,199
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("Q03...
38.432432
84
0.748945
[ "MIT" ]
Uendy/Tech-Module
L08 Files, Exceptions, Directories/L08 Exception Qs/L08 Exception Qs/Q03 All Caps/Properties/AssemblyInfo.cs
1,425
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ZimmerBot.Core.Knowledge; namespace ZimmerBot.Core.WordRegex { public class NFANode { public enum TypeEnum { Literal, EntityLiteral, Split, Match } public TypeEnum Type {...
26.876923
106
0.660561
[ "MIT" ]
JornWildt/ZimmerBot
ZimmerBot.Core/WordRegex/NFANode.cs
1,749
C#
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2017 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. 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 ...
28.271739
104
0.538639
[ "Apache-2.0" ]
AjuPrince/WeiXinMPSDK
src/Senparc.Weixin/Senparc.Weixin/Config.cs
3,063
C#
using STRINGS; using static SkyLib.OniUtils; using Harmony; using Klei.AI; using PeterHan.PLib; using UnityEngine; namespace DiseasesReimagined { using TempMonitorStateMachine = GameStateMachine<ExternalTemperatureMonitor, ExternalTemperatureMonitor.Instance, IStateMachineTarget, object>; // Patches f...
47.75
130
0.583651
[ "MIT" ]
BaalEvan/sky-oni-mods
DiseasesReimagined/FrostbitePatch.cs
8,404
C#
#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms. //------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG...
31.519481
175
0.688916
[ "MIT" ]
AlbertCayuela/AudioDigital
WAG_No_Sound/Assets/Wwise/Deployment/API/Generated/Common/AKRESULT.cs
2,427
C#
using NiFpgaGen.DataTypes; using NiFpgaGen.FRC; using NiFpgaGen.Languages.C; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; using System.Xml.Linq; namespace NiFpgaGen { //...
29.456311
141
0.556361
[ "MIT" ]
ThadHouse/NiFpgaGen
src/NiFpgaGen/Program.cs
3,036
C#
using System; namespace AspIdApi.Areas.HelpPage.ModelDescriptions { /// <summary> /// Describes a type model. /// </summary> public abstract class ModelDescription { public string Documentation { get; set; } public Type ModelType { get; set; } public string Name { get; set...
20.6875
51
0.616314
[ "MIT" ]
cloudstrifebro/sampleWork
TestSample/AspIdentityImplementation/AspIdApi/Areas/HelpPage/ModelDescriptions/ModelDescription.cs
331
C#
using System.Collections.Generic; using System.Linq; using UnityEditor; using UnityEngine; namespace MetaSprite { public class MetaLayerPivot : MetaLayerProcessor { public override string actionName { get { return "pivot"; } } public override int executionOrder => 2; // After @sub...
37.484536
121
0.485699
[ "MIT" ]
TraditoreZ/MetaSprite
Assets/Plugins/MetaSprite/Editor/MetaLayer/MetaLayerPivot.cs
3,636
C#
using ExtendedXmlSerializer.ContentModel.Identification; using ExtendedXmlSerializer.ContentModel.Properties; namespace ExtendedXmlSerializer.ContentModel.Content { sealed class NullElementIdentity : IIdentity { public static NullElementIdentity Default { get; } = new NullElementIdentity(); NullElement...
29.4
82
0.770408
[ "MIT" ]
ExtendedXmlSerializer/NextRelease
src/ExtendedXmlSerializer/ContentModel/Content/NullElementIdentity.cs
588
C#
using BepuUtilities; using DemoContentLoader; using SharpDX.Direct3D11; using System; using System.Numerics; using System.Runtime.InteropServices; using Quaternion = BepuUtilities.Quaternion; namespace DemoRenderer.ShapeDrawing { /// <summary> /// GPU-relevant information for the rendering of a single sphe...
25.558824
80
0.684695
[ "Apache-2.0" ]
Jjagg/bepuphysics2
DemoRenderer/ShapeDrawing/RayTracedInstances.cs
871
C#
using System; using System.IO; using EventStore.Core.TransactionLog; using EventStore.Core.TransactionLog.Checkpoint; using EventStore.Core.TransactionLog.Chunks; using EventStore.Core.TransactionLog.FileNamingStrategy; using NUnit.Framework; namespace EventStore.Core.Tests.TransactionLog { [TestFixture] public clas...
37.032258
108
0.789199
[ "Apache-2.0", "CC0-1.0" ]
01100010011001010110010101110000/EventStore
src/EventStore.Core.Tests/TransactionLog/when_creating_chunked_transaction_chaser.cs
1,148
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x100b_4d3b-dd4bb79c")] public void Method_100b_4d3b() { ii(0x100b_4d3b, 5); push(0x20); ...
70.291667
114
0.407528
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-100b-4d3b.cs
3,374
C#
// WARNING // // This file has been generated automatically by Visual Studio from the outlets and // actions declared in your storyboard file. // Manual changes to this file will not be maintained. // using Foundation; using System; using System.CodeDom.Compiler; using UIKit; namespace IndoorRouting.iOS { [R...
29.5
84
0.527208
[ "Apache-2.0" ]
YixinZhou/indoor-routing-xamarin
iOS/Controllers/MapViewController_.designer.cs
5,605
C#
namespace StudentSystem.Data.Contracts { using System.Data.Entity; using System.Data.Entity.Infrastructure; using Models; public interface IStudentSystemDbContext { IDbSet<Course> Courses { get; set; } IDbSet<Homework> Homeworks { get; set; } IDbSet<Student> Students { ge...
22.47619
60
0.625
[ "MIT" ]
danisio/WebServicesAndCloud-Homeworks
01.ASP.NET Web API/1.StudentSystem/StudentSystem.Data/Contracts/IStudentSystemDbContext.cs
474
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using RuneOptim.swar; namespace RunePlugin { public class SWMessage { [JsonProperty("command")] ...
24.538462
92
0.616985
[ "BSD-3-Clause" ]
RuneManager/RuneManager
RunePlugin/SWMessage.cs
3,511
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RayTracer.Models { public class Ray : INotifyPropertyChanged { private Vector start; public Ray() { } public Ray(Vector start, Ve...
20.808824
81
0.435336
[ "Apache-2.0" ]
georghinkel/RayTracer
Models/Ray.cs
1,417
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Primitives; using Xunit; namespace Microsoft.Extensions.Configurati...
29.436047
131
0.527355
[ "Apache-2.0" ]
uhaciogullari/HttpClientFactoryLite
src/Configuration/Config.KeyPerFile/test/KeyPerFileTests.cs
10,126
C#
using System; using System.Diagnostics; using System.Threading.Tasks; using Abp.Runtime.Validation; using Abp.UI; using Acr.UserDialogs; using Flurl.Http; using Roc.CMS.Extensions; using Roc.CMS.Localization.Resources; using Plugin.Connectivity; using Roc.CMS.Localization; namespace Roc.CMS.Core.Threading { publi...
36.702454
117
0.561722
[ "MIT" ]
RocChing/Roc.CMS
src/Roc.CMS.Mobile.Shared/Core/Threading/WebRequestExecuter.cs
11,967
C#
using System; namespace Twitter.Models { public class PostViewModel { public int Id { get; set; } public string Content { get; set; } public DateTime CreatedTime { get; set; } public virtual string AuthorId { get; set; } public virtual ApplicationUser Author { get; set;...
25.384615
59
0.615152
[ "MIT" ]
tayanovskii/Course-M-ND2-31-18
Tayanovskii/src/Lab4/Lab4/Twitter/Twitter/Models/PostViewModel.cs
332
C#
using System.Collections; using System.Text.RegularExpressions; using UnityEngine; using WizardsCode.Tools.DocGen; namespace WizardsCode.Animation { [DocGen("Using Buildup it is possible to automatically create an animation of a game object buing built. " + "This is useful in games such as Tower Defense o...
39.108491
257
0.534917
[ "Apache-2.0" ]
3dtbd/Common
Assets/OpenSourceCommon/Scripts/BuildUp.cs
8,293
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; using EfsTools.Items.Data; namespace EfsTools.Items.Efs { [Serializable] [EfsFile("/nv/item_files/rfnv/00020961", true, 0xE1FF)] [Attributes(9)] public class C1Wcdma1800LnaRang...
22.181818
60
0.633197
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Efs/C1Wcdma1800LnaRangeFall5Car1I.cs
488
C#
using System.Collections.Generic; using BCrypt.Net; using Microsoft.EntityFrameworkCore; using BookMark.Domain.Models; namespace BookMark.OrmData.Databases { public class BookMarkDbContext : DbContext { private DbSet<User> Users { get; set; } private DbSet<Appointment> Appointments { get; set; } public BookMark...
50.96875
136
0.729614
[ "MIT" ]
bookmark-dev/bookmark
BookMark.OrmData/Databases/BookMarkDbContext.cs
1,631
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Data; using System.Diagnostics; using System.ServiceProcess; using System.Text; using SuperSocket.Common; using SuperSocket.SocketBase; using SuperSocket.SocketEngine; using SuperSocket.Socke...
25.673913
103
0.616427
[ "BSD-3-Clause" ]
3rdandUrban-dev/Nuxleus
src/external/SuperSocket/v1.4/SocketService/MainService.cs
1,181
C#
/* * freee API * * <h1 id=\"freee_api\">freee API</h1> <hr /> <h2 id=\"\">スタートガイド</h2> <p>1. セットアップ</p> <ol> <ul><li><a href=\"https://support.freee.co.jp/hc/ja/articles/202847230\" class=\"external-link\" rel=\"nofollow\">freeeアカウント(無料)</a>を<a href=\"https://secure.freee.co.jp/users/sign_up\" class=\"external-lin...
65.615063
5,736
0.624665
[ "MIT" ]
s-taira/freee-accounting-sdk-csharp
src/Freee.Accounting/Models/UpdateCompanyParamsFiscalYearsAttributes.cs
18,368
C#
using System; using System.Collections.Generic; using System.Linq; using WixSharp; namespace NineDigit.WixSharpExtensions { public static class CustomActionManagedProjectExtensions { /// <summary> /// Binds custom action to the <paramref name="project"/>. /// </summary> /// <ty...
37.753086
128
0.623937
[ "MIT" ]
ninedigit/wixsharpextensions
NineDigit.WixSharpExtensions/CustomActions/CustomActionManagedProjectExtensions.cs
3,060
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.WebSockets; using System.Text; using BassUtils; using Lithogen.Engine; using Unosquare.Labs.EmbedIO.Modules; namespace Lithogen { public sealed class LiveReloadServer : WebSocketsServer, IDisposable ...
34.152632
130
0.551703
[ "MIT" ]
PhilipDaniels/Lithogen
Lithogen/Lithogen/LiveReloadServer.cs
6,491
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.Collections; using System.Collections.Generic; using System.ComponentModel; using System.ComponentMode...
41.500745
258
0.529321
[ "MIT" ]
adamsitnik/winforms
src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/ToolStripDesignerUtils.cs
27,849
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; using NuGet.Packaging; using NuGetPackageVerifier.Logging; namespace NuGetPackageVerifier { public class PackageAna...
27.567568
111
0.601961
[ "Apache-2.0" ]
natemcmaster/AspNetBuildTools
src/NuGetPackageVerifier/PackageAnalysisContext.cs
1,022
C#
using Microsoft.IdentityModel.Clients.ActiveDirectory; using System.IO; using System.Security.Cryptography; class FileCache : TokenCache { public string CacheFilePath; private static readonly object FileLock = new object(); // Initializes the cache against a local file. // If the file is al...
35.895522
97
0.557173
[ "MIT" ]
plasne/multitenant
dotnet/WpfClient/FileCache.cs
2,407
C#
using ExtractRdlImages.Install; using Microsoft.Win32; 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 ExtractRdlImages.Forms { public par...
28.472
107
0.534982
[ "Apache-2.0" ]
dmester/extract-rdl-images
ExtractRdlImages/Forms/MainForm.cs
3,561
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.065574
153
0.627944
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IWindowsAutopilotDeviceIdentityAssignResourceAccountToDeviceRequest.cs
2,505
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using System.Runtime.CompilerServices; using NUnit.Engine; using AutomationFrameWork.Driver; using OpenQA.Selenium.Chrome; using OpenQA.Selenium; using OpenQA.Selenium.Remote; usin...
61.666667
3,726
0.676869
[ "Apache-2.0" ]
toilatester/sample-automation-frameworks-across-languages
dotnet/AutomationTesting/TestITestListener.cs
14,247
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.192982
106
0.675478
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/ForecastService/Generated/Model/CreateDatasetImportJobResponse.cs
1,778
C#
using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Kroeg.ActivityStreams; using Kroeg.EntityStore.Models; using Kroeg.EntityStore.Store; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Primitives; using Micro...
39.950893
172
0.553693
[ "MIT" ]
Cosmic-Chimps/timon-activity-pub
Kroeg.Server/Middleware/GetEntityMiddleware.cs
8,949
C#
using System.Collections.Generic; using System.Linq; using BenchmarkDotNet.Running; namespace BenchmarkDotNet.Validators { public class CompilationValidator : IValidator { private const char Underscore = '_'; public static readonly IValidator Default = new CompilationValidator(); pri...
44.297872
196
0.632565
[ "MIT" ]
agocke/BenchmarkDotNet
src/BenchmarkDotNet.Core/Validators/CompilationValidator.cs
2,084
C#
using System; using System.Threading.Tasks; namespace YIF.Core.Data.Interfaces { public interface ISchoolGraduateRepository<T> : IDisposable where T : class { Task<T> GetSchoolByUserId(string userId); } }
20.636364
79
0.718062
[ "MIT" ]
ita-social-projects/YIF_Backend
YIF.Core.Data/Interfaces/ISchoolGraduateRepository.cs
229
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace FastGuess { public class ScoreBoard { [Key] public Guid Id { get; set; } public string Nickname { get; set; } public DateTime ...
20.878788
61
0.606676
[ "MIT" ]
nvbach91/4IZ268-2020-2021-ZS
www/duzm00/sp2/FastGuess/ScoreBoard.cs
691
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 * ...
30.470588
81
0.644788
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Vod/V20180717/Models/AiRecognitionTaskOcrWordsResultItem.cs
1,590
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace ScriptRepository { public class MvcApplication : System.Web.HttpApplication { protected void Application_...
27.666667
70
0.713855
[ "MIT" ]
yimlu/script-repo
ScriptRepository/Global.asax.cs
666
C#
//----------------------------------------------------------------------- // <copyright file="CoordinatedShutdownSpec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </co...
34.346535
145
0.461805
[ "Apache-2.0" ]
corefan/akka.net
src/core/Akka.Tests/Actor/CoordinatedShutdownSpec.cs
13,878
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("Run...
37.459459
84
0.746753
[ "MIT" ]
atthacks/RunAsUser
Properties/AssemblyInfo.cs
1,389
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Multiformats.Codec; using Multiformats.Hash; using Nethereum.Contracts.Standards.ENS; using Nethereum.Hex.HexConvertors.Extensions; using Nethereum.Util; using Nethereum.XUnitEthereumClients; using Xunit; namespace Nethereum.C...
44.46875
119
0.678285
[ "MIT" ]
GitHubPang/Nethereum
tests/Nethereum.Contracts.IntegrationTests/SmartContracts/Standards/ENSTests.cs
7,117
C#
// Project: Daggerfall Tools For Unity // Copyright: Copyright (C) 2009-2016 Daggerfall Workshop // Web Site: http://www.dfworkshop.net // License: MIT License (http://www.opensource.org/licenses/mit-license.php) // Source Code: https://github.com/Interkarma/daggerfall-unity // Origina...
30.097222
126
0.534656
[ "MIT" ]
InconsolableCellist/daggerfall-unity
Assets/Scripts/API/SndFile.cs
10,837
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Kujikatsu102.Algorithms; using Kujikatsu102.Collections; using Kujikatsu102.Numerics; using Kujikatsu102.Questions; using Kujikatsu10...
26.011905
65
0.430664
[ "MIT" ]
terry-u16/AtCoder
Kujikatsu102/Kujikatsu102/Kujikatsu102/Questions/QuestionG.cs
2,187
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace ORM.Initiator.Helpers { public static class TypeResolver { public static Type FindType(string assembly, string fullTypeName) { string typeQualifiedName = Assembl...
23.894737
73
0.678414
[ "Apache-2.0" ]
nickun/orm_initiator
ORM.Initiator/Helpers/TypeResolver.cs
456
C#
using SRQH.Domain.Entities.Base; namespace SRQH.Domain.Entities.BookingFlow { public class Booking : BaseEntity { public Customer Customer { get; set; } public Room Room { get; set; } public BookingPeriod BookingPeriod { get; set; } public DiscountRule DiscountRule { get; set; ...
29.095238
117
0.621931
[ "MIT" ]
JaymeAlves/SRQH
SRQH/SRQH.Domain/Entities/BookingFlow/Booking.cs
613
C#
/* * PROJECT: Atomix Development * LICENSE: BSD 3-Clause (LICENSE.md) * PURPOSE: Ldind_U2 MSIL * PROGRAMMERS: Aman Priyadarshi (aman.eureka@gmail.com) */ using System; using System.Reflection; using Atomixilc.Machine; using Atomixilc.Attributes; namespace Atomixilc.IL {...
33.754098
137
0.55221
[ "BSD-3-Clause" ]
CatGirlsAreLife/AtomOS
src/Compiler/Atomixilc/IL/Load/Ldind/Ldind_U2.cs
2,061
C#
namespace DapperExtensionsReloaded.Predicates { /// <summary> /// Comparison operator for predicates. /// </summary> public enum Operator { /// <summary> /// Equal to /// </summary> Eq, /// <summary> /// Greater than /// </summary> Gt,...
19.052632
69
0.428177
[ "MIT" ]
MisterGoodcat/Dapper-Extensions
DapperExtensionsReloaded/Predicates/Operator.cs
724
C#
using NLog; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace CommonUtil.Core; public class KeywordResult { /// <summary> /// 文件路径 /// </summary> publi...
36.184
153
0.531616
[ "MIT" ]
Luxiu123/CommonUtil
CommonUtil/Core/KeywordFinder.cs
9,370
C#
//----------------------------------------------------------------------- // <copyright file="Repository.cs" company="QJJS"> // Copyright QJJS. All rights reserved. // </copyright> // <author>liyuhang</author> // <date>2021/9/1 13:53:58</date> //---------------------------------------------------------------------...
36.335821
136
0.577531
[ "MIT" ]
ydfk/dotnet5-starter
src/Repository/Repository.cs
4,871
C#
namespace OpenMinesweeper.NET { /// <summary> /// Interaction logic for AboutWindow.xaml /// </summary> public partial class AboutWindow { public AboutWindow() { InitializeComponent(); } } }
18
46
0.555556
[ "MIT" ]
Fe-Bell/OpenMinesweeper
OpenMinesweeper.NET/AboutWindow.xaml.cs
254
C#
using System; namespace Deltix.Luminary { /// <summary>Represents the builtin Luminary type <c>Type</c>.</summary> public sealed class TypeType : Type, IEquatable<TypeType> { private TypeType() : base(TypeKind.Type) {} /// <summary>Singleton describing the builtin Luminary type <c>Type</c>.</summary> p...
43.941176
122
0.715529
[ "Apache-2.0" ]
DeltixInc/Luminary
csharp/main/TypeType.cs
1,496
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using NTracer.Communication; using NTracer.Server.Core.Repositories; using NTracer.Server.Core.Sink.Run; namespace NTracer.Server.Core { public class SinkSource : IRemoteService, ISinkSource { public event Action<ScopeEventW...
44.367347
119
0.727231
[ "Apache-2.0" ]
vikingkom/n-tracer
NTracer.Server.Core/SinkSource.cs
2,176
C#
namespace EnvironmentAssessment.Common.VimApi { public class ServiceLocatorNamePassword : ServiceLocatorCredential { protected string _username; protected string _password; public string Username { get { return this._username; } set { this._username = value; } } public string Pas...
13.806452
67
0.647196
[ "MIT" ]
octansIt/environmentassessment
EnvironmentAssessment.Wizard/Common/VimApi/S/ServiceLocatorNamePassword.cs
428
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace HenloWorl.Controllers { public class HenloController : Controller { // GET: HenloController public ActionResult Index() ...
22.409091
70
0.495943
[ "MIT" ]
2006-jun15-net/william-code
HTML/HenloWorl/HenloWorl/Controllers/HenloController.cs
1,974
C#
using Application.DTOs.Account; using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; using System.Text; namespace Infrastructure.Identity.Models { public class ApplicationRole : IdentityRole<int> { } }
19.076923
52
0.774194
[ "MIT" ]
mrbol/desafio_aspnetcore
Infrastructure.Identity/Models/ApplicationRole.cs
250
C#
using System; using System.Globalization; namespace Uri1060 { class Program { static void Main(string[] args) { double num1 = double.Parse(Console.ReadLine(),CultureInfo.InvariantCulture); double num2 = double.Parse(Console.ReadLine(),CultureInfo.InvariantCulture); ...
29.952381
88
0.483307
[ "MIT" ]
cledson-paranhos/Exercicios-Curso-CSharp
Lógica/Uri1060/Uri1060/Program.cs
1,260
C#