content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Seurat { [ExecuteInEditMode] public class SeuratAutomator : MonoBehaviour { // Capture Settings [SerializeField, Tooltip("Folders for each headbox will be created in this folder")] public stri...
45.805556
220
0.65757
[ "MIT" ]
unoctium1/seurat-unity-plugin
SeuratCapture/Scripts/SeuratAutomator.cs
4,949
C#
// This file was generated by CSLA Object Generator - CslaGenFork v4.5 // // Filename: DocClassEditDyna // ObjectType: DocClassEditDyna // CSLAType: DynamicEditableRoot using System; using System.Data; using System.Data.SqlClient; using Csla; using Csla.Data; using DocStore.Business.Util; using Csl...
42.243194
140
0.594948
[ "MIT" ]
CslaGenFork/CslaGenFork
trunk/CoverageTest/Inherits/Inherits-WIN-CS/DocStore.Business/DocClassEditDyna.Designer.cs
23,276
C#
namespace Merchello.Core.Services { /// <summary> /// Defines the ServiceContext, which provides access to the following services: /// <see cref="ICustomerService"/> /// </summary> public interface IServiceContext { /// <summary> /// Gets the <see cref="ICustomerService"/> ...
29.464789
84
0.547323
[ "MIT" ]
bowserm/Merchello
src/Merchello.Core/Services/Interfaces/IServiceContext.cs
2,094
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; using Microsoft.ML; [assembly: InternalsVisibleTo(assemblyName: "Microsoft....
44.090909
93
0.795876
[ "MIT" ]
GitHubPang/machinelearning
src/Microsoft.ML.Parquet/Properties/AssemblyInfo.cs
487
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using System; namespace FASTER.core { /// <summary> /// Scan buffering mode /// </summary> public enum ScanBufferingMode { /// <summary> /// Buffer only current page being scanned ...
25.95
73
0.571291
[ "MIT" ]
MasterMann/FASTER
cs/src/core/Allocator/IFasterScanIterator.cs
1,040
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NMatcher.Matching.Expanders { public interface IDoubleExpander { bool Matches(double value); } }
17.5
37
0.738776
[ "MIT" ]
defrag/NMatcher
src/NMatcher/Matching/Expanders/IDoubleExpander.cs
247
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.444444
151
0.588828
[ "MIT" ]
wsomweb/WebConfigEncrypt
WebConfigEncrypt/Properties/Settings.Designer.cs
1,094
C#
using Microsoft.Extensions.DependencyInjection; using Telegram.Bot.Advanced.Core.Holder; namespace Telegram.Bot.Advanced.Extensions { public static class ServiceCollectionExtensions { public static IServiceCollection AddTelegramHolder(this IServiceCollection services, params ITelegramBotData[]...
35.78125
149
0.627074
[ "MIT" ]
fuji97/Telegram.Bot.Advanced
Telegram.Bot.Advanced/Extensions/ServiceCollectionExtensions.cs
1,147
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; // <summary> // DirectOutput.Cab.Out is the namespace for all output controller related classes like different output controller classes (all implementing IOutputController). // </summary> namespace DirectOutput.Cab.Out ...
23.428571
162
0.753049
[ "MIT" ]
Ashram56/DirectOutput
DirectOutput/Cab/Out/Out.cs
330
C#
using Jobs; using Pandaros.API; using Pandaros.API.Items; using Pandaros.API.Models; using Pandaros.Civ.Jobs; using Pandaros.Civ.TimePeriods.PreHistory.Items; using Pandaros.Civ.TimePeriods.StoneAge.Items; using Recipes; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System...
38.260274
165
0.663086
[ "MIT" ]
JBurlison/Pandaros.Civ
Pandaros.Civ/TimePeriods/PreHistory/Jobs/PrimitiveBerryForager.cs
2,795
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. namespace Microsoft.Azure.Devices.Edge.Azure.Monitor { using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; public interface IMetricsPublisher { /// <summary> /// Publishes...
33.142857
98
0.676724
[ "MIT" ]
Ellerbach/AzureMonitor
src/Microsoft.Azure.Devices.Edge.Azure.Monitor/IMetricsPublisher.cs
696
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.Runtime.Serialization; using Elasticsearch.Net; namespace Nest { /// <summary> /// The status of c...
32.78125
130
0.723546
[ "Apache-2.0" ]
Atharvpatel21/elasticsearch-net
src/Nest/Cat/CatJobs/ModelCategorizationStatus.cs
1,049
C#
using System; using System.Collections.Generic; using System.Text; namespace Blog.Core.Model.ViewModels { /// <summary> /// 调度任务触发器信息实体 /// </summary> public class TaskInfoDto { /// <summary> /// 任务ID /// </summary> public string jobId { get; set; } /// <sum...
23.095238
49
0.469072
[ "MIT" ]
861191244/Blog.Core
Blog.Core.Model/ViewModels/TaskInfoDto.cs
1,050
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class player_asteroids : MonoBehaviour { public int player_num; public float angularSpeed; private float horizontal; private Vector2 bulletPosition; public float offsetBullet; public GameObject bulletPrefab; public GameObject explosi...
27.507937
97
0.538084
[ "MIT" ]
BrunoBustos96/bci_jam_ssvep_unity
Assets/_manuel/MyScripts/player_asteroids.cs
3,466
C#
/* The MIT License (MIT) Copyright (c) 2016 Roaring Fangs Entertainment 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,...
29.965517
77
0.663406
[ "MIT" ]
Tarocco/roaring-fangs-unity
Source/RoaringFangs/Utility/KVPWrap.cs
1,740
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1.Medium { public static class Class99 { } }
15
33
0.74359
[ "MIT" ]
mydim/CodingAlgorithm
ConsoleApp1/1Medium/Other/Class99.cs
197
C#
// // Copyright (c) Microsoft and contributors. 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 ...
43.888889
101
0.64193
[ "MIT" ]
FonsecaSergio/azure-powershell
src/ResourceManager/Compute/Commands.Compute/Generated/VirtualMachine/VirtualMachineCaptureMethod.cs
6,177
C#
using System; using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Events { /// <summary> /// <para>表示 EVENT.transport_add_order 事件的数据。</para> /// <para>REF: https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/immediate-delivery/by-provider/immediateDelivery.onOrde...
36.95
161
0.690122
[ "MIT" ]
arden27336/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaImmediateDelivery/TransportAddOrderEvent.cs
777
C#
using System; using System.IO; using System.Web; namespace Serenity.Web { public static class CssFileWatcher { public static void WatchForChanges(string path = "~/Content") { var sw = new FileSystemWatcher(HttpContext.Current.Server.MapPath(path)); sw.IncludeSubdirector...
33.709677
112
0.583732
[ "MIT" ]
kingajay007/SeeSharper-Master
Serenity.Web/Common/CssFileWatcher.cs
1,047
C#
using System; using System.Diagnostics; using i64 = System.Int64; using u8 = System.Byte; using u32 = System.UInt32; using u64 = System.UInt64; namespace Community.CsharpSqlite { public partial class Globals { /* ** 2001 September 15 ** ** The author disclaims copyright to this sour...
34.5
93
0.587525
[ "MIT" ]
ArsenShnurkov/csharp-sqlite
Community.CsharpSqlite/src/engine_basis/encryption/random_c.cs
7,038
C#
using Prism.Mvvm; using Prism.Navigation; namespace Prism.DI.Forms.Tests.Mocks.ViewModels { public class XamlViewMockAViewModel : BindableBase, INavigationAware { private string _fizz; private string _test = "Initial Value"; public string Fizz { get => _fizz; ...
23.289474
72
0.587571
[ "MIT" ]
HenJigg/Prism
tests/Forms/Prism.DI.Forms.Tests/Mocks/ViewModels/XamlViewMockAViewModel.cs
885
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using NationalInstruments.DataTypes; using NationalInstruments.Design; using NationalInstruments.SourceModel; using NationalInstruments.SourceModel.Envoys; namespace Rebar.SourceModel.TypeDiagram { internal class TypeDiagramCacheSe...
39.255319
263
0.723577
[ "MIT" ]
ni/rebar
src/Rebar/SourceModel/TypeDiagram/TypeDiagramCacheService.cs
1,847
C#
namespace MassTransit.Context { using System; using System.Threading.Tasks; using GreenPipes; public interface RequestHandlerHandle : ConnectHandle { void TrySetException(Exception exception); void TrySetCanceled(); Task<T> GetTask<T>(); } }
17.705882
50
0.644518
[ "ECL-2.0", "Apache-2.0" ]
MathiasZander/ServiceFabricPerfomanceTest
src/MassTransit/Context/RequestHandlerHandle.cs
301
C#
using System; using System.Collections.Generic; using System.Reflection; using System.Text; namespace ordercloud.integrations.library { public class ApiParameter : ApiField { public ParameterInfo ParamInfo { get; set; } public bool IsListArg { get; set; } public override Type Type => P...
29.294118
74
0.718876
[ "MIT" ]
Labedlam/headstart
src/Middleware/integrations/ordercloud.integrations.library/openapispec/ApiParameter.cs
500
C#
/* * Precisely APIs * * Enhance & enrich your data, applications, business processes, and workflows with rich location, information, and identify APIs. * * OpenAPI spec version: 11.8.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git * * Licensed under the Apache License, Version 2.0 (the...
35.923567
130
0.569149
[ "Apache-2.0" ]
PreciselyData/PreciselyAPIsSDK-CSharp
src/com.precisely.apis/Model/EarthquakeRiskLocationResponse.cs
5,640
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SimpleInterrogationRoomLoader.cs" company=""> // </copyright> // <summary> // The simple interrogation room loader. // </summary> // --------------------------------------------...
32.732143
120
0.516094
[ "MIT" ]
neoKushan/Holmes
src/Holmes/Holmes.Infrastructure/Services/SimpleInterrogationRoomLoader.cs
1,835
C#
// See the LICENSE file in the project root for more information. using System.IO; using Microsoft.ML.Runtime; using Microsoft.ML.Runtime.Data; using Microsoft.ML.Runtime.Internal.Internallearn; using Microsoft.ML.Runtime.Model; namespace Scikit.ML.XGBoostWrapper { /// <summary> /// Implements a base class f...
39.263566
148
0.602764
[ "MIT" ]
xadupre/machinelearning_xgboost
machinelearning_xgboost/XGBoostWrapper/XGBoostPredictorBase.cs
5,067
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...
34.224719
139
0.652988
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/CloudDirectory/Generated/Model/Internal/MarshallTransformations/GetDirectoryRequestMarshaller.cs
3,046
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("con...
37.351351
84
0.74602
[ "MIT" ]
FyreByrns/confyre
confyre/confyre/Properties/AssemblyInfo.cs
1,385
C#
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. using MappingEdu.Tests.Business.Core.Services.Val...
36.6
124
0.708041
[ "Apache-2.0" ]
Ed-Fi-Exchange-OSS/MappingEDU
src/MappingEdu.Tests.Business/Builders/SystemEnumerationItemRuleBuilder.cs
1,283
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
45.268908
177
0.603304
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/WorkbookFunctionsOddFYieldRequestBuilder.cs
5,387
C#
#region License // Distributed under the MIT License // ============================================================ // Copyright (c) 2016 Hotcakes Commerce, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software // and associated documentation files (the "Software")...
41.229508
101
0.634195
[ "MIT" ]
ketangarala/core
Libraries/Hotcakes.Commerce/Membership/RolePermissionsMatrix.cs
2,517
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Adnc.Application.Shared.RpcServices; using Refit; namespace Adnc.Whse.Application.Contracts.RpcServices { public interface IOrdersRpcService : IRpcService { /// <summary> /// 获取字典数据 /...
27.272727
60
0.625
[ "MIT" ]
18142552937/Adnc
src/ServerApi/Services/Adnc.Whse/Adnc.Whse.Application.Contracts/RpcServices/IOrdersRpcService.cs
614
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraFollow : MonoBehaviour { public float scaleMultiplier; public float posMultiplier; public float xPosOffset; public float yPosOffset; private float yPosStart; private float baseScale; private C...
28.657895
94
0.672176
[ "MIT" ]
DoubleAMJunior/DuneCloneWithProceduralGroundMesh
Assets/Scripts/CameraFollow.cs
1,091
C#
namespace ServerConnection.Admin { partial class ServerConnectionAddUserControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">...
28.169014
101
0.6875
[ "MIT" ]
Silex/mipsdk-samples-plugin
ServerConnectionLicense/Admin/ServerConnectionAddUserControl.Designer.cs
2,000
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Rulesets.Mods; namespace osu.Game.Rulesets.Tau.Mods { public class TauModSuddenDeath : ModSuddenDeath { } }
23.916667
79
0.724739
[ "MIT" ]
Coppertine/tau
osu.Game.Rulesets.tau/Mods/TauModSuddenDeath.cs
289
C#
 // Copyright (c) 2017 Mark A. Olbert some rights reserved // // This software is licensed under the terms of the MIT License // (https://opensource.org/licenses/MIT) using System; using System.Collections.Generic; using System.Windows; using System.Windows.Media; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Me...
33.855556
106
0.563013
[ "MIT" ]
markolbert/WPFUtilities
J4JUI/MessageBoxViewModel.cs
6,096
C#
using System; using System.Linq; using System.Reactive.Linq; using System.Reactive.Subjects; using Moq; using NetDaemon.HassModel.Common; using NetDaemon.HassModel.Entities; using FluentAssertions; using NetDaemon.HassModel.Tests.TestHelpers; using Xunit; namespace NetDaemon.HassModel.Tests.Entities { public clas...
37.444444
160
0.572161
[ "MIT" ]
Hatles/netdaemon
src/HassModel/NetDaemon.HassModel.Tests/Entities/EntityTest.cs
3,709
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.Generic; using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using ...
53.757102
212
0.587185
[ "MIT" ]
BillWagner/roslyn
src/Features/Core/Portable/IntroduceVariable/AbstractIntroduceParameterDocumentRewriter.cs
37,847
C#
// Copyright (c) Dapplo and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Dapplo.Confluence.Query { /// <summary> /// An interface for a space clause /// </summary> public interface ISpaceClause ...
32.095238
101
0.594214
[ "MIT" ]
DannySotzny/Dapplo.Confluence
src/Dapplo.Confluence/Query/ISpaceClause.cs
1,350
C#
/* * Copyright (c) Contributors, http://virtual-planets.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * For an explanation of the license of each contributor and the content it * covers please see the Licenses directory. * * Redistribution and use in source and binary forms, with or wi...
35.6
123
0.563572
[ "MIT" ]
johnfelipe/Virtual-Universe
Universe/Framework/Servers/HttpServer/HttpListenerManager.cs
6,766
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nile.Stores { /// <summary>Base Class for product database.</summary> public class FileProductDatabase : MemoryProductDat...
30.362069
94
0.499716
[ "MIT" ]
ThomasWhiteTCCD/ITSE-1430
Classwork/Section4/Nile/Nile/Stores/FileProductDatabase.cs
3,524
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Net.Http.Headers; namespace WebApiTokenAuth.Areas.HelpPage { /// <summary> /// This is used to identify the place where the sample should be applied. /// </summary> public class HelpPageSampleKey { ...
38.445087
176
0.555255
[ "MIT" ]
shivakanthch99/WebApiTokenAuth
Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs
6,651
C#
//------------------------------------------------------------------------------ // <copyright file="PrologCodeEmptyList.cs" company="Axiom"> // // Copyright (c) 2006 Ali Hodroj. All rights reserved. // // The use and distribution terms for this source code are contained in the file // named l...
31.272727
85
0.495155
[ "MIT" ]
FacticiusVir/prologdotnet
Prolog.Compiler/CodeObjectModel/PrologCodeEmptyList.cs
1,032
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("xU...
39.184211
84
0.752183
[ "MIT" ]
R2dical/Xunit
xUnitExtensions/Properties/AssemblyInfo.cs
1,492
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using CommandLine; namespace aggregator.cli { [Verb("map.local.rule", HelpText = "Maps an Aggregator Rule to existing Azure DevOps Server Projects.")] class MapLocalRuleCommand : CommandBase { [Op...
46.876712
192
0.637347
[ "Apache-2.0" ]
tfsaggregator/aggregator-cli
src/aggregator-cli/Mappings/MapLocalRuleCommand.cs
3,424
C#
using BookStoreMvc.Data; using BookStoreMvc.Helpers; using BookStoreMvc.Models; using BookStoreMvc.Repository; using BookStoreMvc.Services; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configu...
38.710227
122
0.577132
[ "MIT" ]
sorani-dev/AspNetCoreMVC-bookstore
BookStoreMvc/Startup.cs
6,813
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace App01_ControleXF { public partial class MainPage : ContentPage { public MainPage() { InitializeComponent(); } } }
15.277778
44
0.752727
[ "MIT" ]
hitalofm/CursoProgramacaoXamarin
Controles Visuais/App01_ControleXF/App01_ControleXF/App01_ControleXF/MainPage.xaml.cs
277
C#
using Apollo.AdminStore.WebForm.Classes; using Apollo.Core.Model; using Apollo.Core.Services.Interfaces; using System; using System.Linq; using System.Web.UI.WebControls; namespace Apollo.AdminStore.WebForm.Marketing { public partial class promo_catalog_offer_default : BasePage { public IOfferService ...
38.954082
149
0.588605
[ "MIT" ]
hancheester/apollo
Store Admin/Apollo.AdminStore.WebForm/Marketing/promo_catalog_offer_default.aspx.cs
7,637
C#
 namespace Group_OOP { partial class Form2 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param n...
39.58427
131
0.58189
[ "MIT" ]
Ilyadevin/Group_OOP
Group_OOP/Form2.Designer.cs
3,551
C#
using System; namespace MyMessenger.Core { public interface IMessage { int MessageId { get; set; } string Text { get; } DateTimeOffset SendDateTime { get; } int DialogId { get; } int AuthorId { get; } } }
13.235294
38
0.648889
[ "MIT" ]
prekel/MyMessenger
MyMessenger.Core/IMessage.cs
227
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.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Razor.Language; using Microsoft.AspNetCore.Razor.Languag...
36.327434
125
0.659683
[ "Apache-2.0" ]
Pilchie/aspnetcore-tooling
src/Razor/src/Microsoft.AspNetCore.Razor.LanguageServer/Hover/RazorHoverEndpoint.cs
4,107
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.ebpp.inspect.create /// </summary> public class AlipayEbppInspectCreateRequest : IAopRequest<AlipayEbppInspectCreateResponse> { /// <su...
23.318182
94
0.601949
[ "Apache-2.0" ]
Varorbc/alipay-sdk-net-all
AlipaySDKNet/Request/AlipayEbppInspectCreateRequest.cs
2,581
C#
using System; using LanguageServer.Client; using LanguageServer.Parameters.General; namespace LanguageServer.Server { public class GeneralServiceTemplate : Service { public override Connection Connection { get => base.Connection; set { base.Connection = value; ...
22.395349
120
0.635514
[ "MIT" ]
DustLanguage/LanguageServerProtocol
LanguageServer/Server/GeneralServiceTemplate.cs
965
C#
namespace ClassLib126 { public class Class060 { public static string Property => "ClassLib126"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib126/Class060.cs
120
C#
using System; using System.Runtime.InteropServices; using NUnit.Framework; using Net.Pkcs11Interop.Common; using Net.Pkcs11Interop.LowLevelAPI41; using Net.RutokenPkcs11Interop.LowLevelAPI41; using NativeULong = System.UInt32; namespace Net.RutokenPkcs11InteropTests.LowLevelAPI41 { [TestFixture()] public cla...
34.777778
111
0.567732
[ "Apache-2.0" ]
AktivCo/RutokenPkcs11Interop
src/RutokenPkcs11Interop.Tests/LowLevelAPI41/_LL_04_TokenInfoTest.cs
3,375
C#
using System; using System.Collections.Generic; public class Student { public static HashSet<Student> allStudents = new HashSet<string>(); public string name; public Student(string name) { this.name = name; } public override bool Equals(object other) { return this.GetHash...
20.653061
104
0.59585
[ "MIT" ]
NikolaVodenicharov/OOP-Basics
StaticMembers/UniqueStudenNameExerices/UniqueStudenNameExecution.cs
1,014
C#
using System; using System.Collections.Generic; using System.Windows.Forms; namespace Thinksea.LogTest { static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); ...
20.714286
65
0.577011
[ "MIT" ]
thinksea/ThinkseaGeneric
Thinksea.LogTest/Program.cs
457
C#
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // 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, ...
37.431034
81
0.624597
[ "MIT" ]
shoelzer/SharpDX
Source/SharpDX.Direct2D1/DirectWrite/LineBreakpoint.cs
2,171
C#
using System.Reflection; 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("ESFA.DC.ILR.ValidationService.Console")] [...
38.972222
84
0.747684
[ "MIT" ]
SkillsFundingAgency/DC-ILR-1819-ValidationService
src/ESFA.DC.ILR.ValidationService.Console/Properties/AssemblyInfo.cs
1,406
C#
using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using SharpGen.Model; using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; namespace SharpGen.Generator.Marshallers { internal sealed class RemappedTypeMarshaller : Marshaller...
42.054795
117
0.689577
[ "MIT" ]
JetBrains/SharpGenTools
SharpGen/Generator/Marshallers/RemappedTypeMarshaller.cs
3,072
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
41.208333
80
0.647118
[ "MIT" ]
takudzwa-dot/Phone-Book
PhoneBook/obj/Debug/netcoreapp3.1/PhoneBook.Api.AssemblyInfo.cs
989
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace NetCoreWebJob.Pages { public class PrivacyModel : PageModel { public void OnGet() { } } }
19.3125
42
0.705502
[ "MIT" ]
SanderRossel/NetCoreWebJob
NetCoreWebJob/NetCoreWebJob/Pages/Privacy.cshtml.cs
311
C#
using System; using System.Collections; using UnityEngine; using UnityEngine.Networking; namespace SubiNoOnibus.Networking.Requests { public static class UserAuthRequestHandler { public const string authKey = "Auth"; public static void SaveAuthCookie(UnityWebRequest request) { ...
30.777778
130
0.572804
[ "MIT" ]
FellowshipOfTheGame/semcomp-24
Assets/Scripts/Backend/RequestHandlers/UserAuthRequestHandler.cs
2,495
C#
using Dfc.CourseDirectory.Services.Models; using Dfc.CourseDirectory.Web.ViewModels; using Dfc.CourseDirectory.WebV2; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace Dfc.CourseDirectory.Web.Controllers { [Authorize("Fe")] public class CoursesController : Controller { ...
37.305556
116
0.666418
[ "MIT" ]
SkillsFundingAgency/dfc-coursedirectory
src/Dfc.CourseDirectory.Web/Controllers/CoursesController.cs
1,343
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 Cake.Core.IO; namespace Cake.Common.Tools.OctopusDeploy { ...
44.495495
209
0.640008
[ "MIT" ]
Acidburn0zzz/cake
src/Cake.Common/Tools/OctopusDeploy/OctopusDeployPromoteReleaseSettings.cs
4,941
C#
using WPILib.Commands; namespace ChopShop2016.Commands { public class CancelShot : InstantCommand { public CancelShot() { Requires(ChopShop2016.aimShooter); Requires(ChopShop2016.intakeRoller); Requires(ChopShop2016.shooter); } // Called jus...
26.083333
62
0.607029
[ "MIT" ]
chopshop-166/frc-2016-cs
Commands/CancelShot.cs
628
C#
namespace Albion.Network { public enum EventCodes { evevLeave = 1, evJoinFinished, evMove, evPartyInvitation, evChangeEquipment, evHealthUpdate, evEnergyUpdate, evDamageShieldUpdate, evCraftingFocusUpdate, evActiveSpellEffectsUpdat...
28.502212
59
0.652022
[ "MIT" ]
ItsNotMyFault/AlbionDataReader
albion-data-reader-new/handlers/EventCodes.cs
12,885
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using Abilifier; using BattleTech; using UnityEngine; using static StrategicOperations.Framework.Classes; namespace StrategicOperations.Framework { public static class ModState { public static List<BA_Spawner> Curren...
48.542484
162
0.688569
[ "MIT" ]
ajkroeg/StrategicOperations
StrategicOperations/StrategicOperations/Framework/ModState.cs
7,429
C#
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using NerdStore.Catalogo.Domain; using NerdStore.Core.Data; using NerdStore.Core.Messages; namespace NerdStore.Catalogo.Data { public class CatalogoContext : DbContext, IUnitOfWork { public CatalogoCont...
33.5
133
0.600124
[ "MIT" ]
caiobarretta/desenvolvedor.io
NerdStore/src/NerdStore.Catalogo.Data/CatalogoContext.cs
1,610
C#
namespace Main.Sql { public interface ISqlValidator { int CalculateRowCount( string sql ); bool TryCheckSql( string innerSql, out string errorMessage ); } }
16.4
35
0.5
[ "MIT" ]
Dimsday/ReSequel
Main/Sql/ISqlValidator.cs
246
C#
using System; using System.Collections.Generic; using MailCheck.Spf.Contracts.SharedDomain; namespace MailCheck.Spf.Contracts.Poller { public class SpfRecordsPolled : Common.Messaging.Abstractions.Message { public SpfRecordsPolled(string id, SpfRecords records, int? dnsQueryCou...
30.444444
73
0.614355
[ "Apache-2.0" ]
ukncsc/MailCheck.Public.Spf
src/MailCheck.Spf.Contracts/Poller/SpfRecordsPolled.cs
824
C#
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Controllers; using Microsoft.AspNetCore.Mvc.Filters; using Services.Common.Authorization; using Services.Common.RunTime; using System.Threading.Tasks; namespace Services.Common.APIs.Filters { public class Auth...
39.070175
168
0.678042
[ "MIT" ]
horseznguyen/HCMTAX
src/CoreServices/01.Services.Common/Services.Common.APIs/Filters/AuthorizeCheckOperationFilter.cs
2,229
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MusicMink.ViewModels.DesignData { public class SongDesignData { public string Name { get; set; } public ArtistDesignData Artist { get; set; } public AlbumDesi...
19.741935
52
0.598039
[ "Apache-2.0" ]
cluckyb/musicmink
MusicMink/ViewModels/DesignData/SongDesignData.cs
614
C#
// <copyright file="ManagersContext.cs" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> namespace SocialPlus.UnitTests { using SocialPlus.OAuth; using SocialPlus.Server.Managers; using SocialPlus.Server.Metrics; using SocialPlus.Server.Queues; /// <summary> ...
38.538961
130
0.599747
[ "MIT" ]
Bhaskers-Blu-Org2/EmbeddedSocial-Service
code/Tests/UnitTests/Contexts/ManagersContext.cs
11,872
C#
namespace Snow.Extensions { using System; using System.Collections.Generic; using System.IO; using System.Xml; using System.Xml.Linq; using Models; using Nancy; public class SitemapResponse : Response { private readonly string siteUrl; public SitemapR...
34.77551
160
0.494131
[ "MIT" ]
DanRigby/Sandra.Snow
src/Snow/Extensions/SitemapResponse.cs
1,706
C#
using UnityEngine; using System.Collections; using System.Reflection; using Microsoft.CSharp; using System; using System.CodeDom; using System.Linq; using UnityEditor; using System.IO; namespace Sabresaurus.Sidekick { public class UtilityPane : BasePane { public void Draw(Type componentType, object compone...
35.971429
118
0.49444
[ "MIT" ]
Kerfuffles/Sidekick
Editor/LegacyInspector/Panes/UtilityPane.cs
2,520
C#
namespace RJCP.Diagnostics.CpuIdWin.Controls { partial class CpuTopologyControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
43.339286
159
0.596209
[ "MIT" ]
jcurl/CpuId
CpuIdWin/Controls/CpuTopologyControl.Designer.cs
4,856
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace simulation_game { class Melee:Unit { public Melee(int x, int y, string team, int health = 20, int speed = 1, int attack = 4, int range = 1, string symbol = " ! ") : base(x, y,...
26.846154
191
0.495702
[ "MIT" ]
Tatheon/Task-1
simulation game/simulation game/Melee.cs
1,049
C#
#pragma checksum "C:\Users\user\Documents\dotnetexperiments\project_forum\Pages\_ViewStart.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7091c65830b0329e613be026ede8a57552863778" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof...
50.192308
182
0.768199
[ "MIT" ]
inspiringhobbyist/project_forum
obj/Debug/netcoreapp3.1/Razor/Pages/_ViewStart.cshtml.g.cs
2,610
C#
using System.Collections.Generic; using System.Linq; using Automation.ResultFiles; using CalculationController.CalcFactories; using Common.JSON; using Database; namespace CalculationController.Helpers { public class CalcDeviceTaggingSetFactory { [JetBrains.Annotations.NotNull] private readonly CalcParamet...
40.722222
121
0.574352
[ "MIT" ]
kyleniemeyer/LoadProfileGenerator
CalculationController/Helpers/CalcDeviceTaggingSets.cs
2,934
C#
// <auto-generated/> using System.Reflection; [assembly: AssemblyTitleAttribute("Topshelf")] [assembly: AssemblyDescriptionAttribute("Topshelf is an open source project for hosting services without friction. By referencing Topshelf, your console application *becomes* a service installer with a comprehensive set o...
58.176471
319
0.764408
[ "Apache-2.0" ]
RyanHauert/Topshelf
src/SolutionVersion.cs
991
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Sultanlar.UI { public partial class frmDepoDenetlemeResim : Form { public frmDepoDenetlemeResim(Image[] resi...
27.352113
111
0.493306
[ "MIT" ]
dogukanalan/Sultanlar
Sultanlar/Sultanlar.UI/frmDepoDenetlemeResim.cs
1,944
C#
namespace TapHoaCode.GUI.Form1.BanHang { partial class FrmChiTietEdit { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </su...
42.45
112
0.571849
[ "Apache-2.0" ]
hynguyen2610/OlympicGym
GymFitnessOlympic/View/UserControls/TacNghiep/BanHang/FrmChiTietEdit.designer.cs
6,810
C#
version https://git-lfs.github.com/spec/v1 oid sha256:babe45637b7a6701d0543582d23f43ed984ab544e8f228e4091a005f03c2b4e2 size 1707
32.25
75
0.883721
[ "MIT" ]
bakiya-sefer/bakiya-sefer
Assets/Best HTTP (Pro)/BestHTTP/SecureProtocol/crypto/tls/TlsContext.cs
129
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Mammola.Uramaki.Base; using WeifenLuo.WinFormsUI.Docking; using System.Windows.Forms; using System.Xml; namespace Mammola.Uramaki.Base { public class UramakiDesktopManager { ...
35.989744
130
0.681248
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
DomenicoMammola/Uramaki
Framework/Base/UramakiDesktop.cs
7,020
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using BookCave.Data; using BookCave.Data.EntityModels...
38.513158
690
0.571917
[ "MIT" ]
eliasandri/BookCave
Program.cs
2,929
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 B_BuyerFunds * @aut...
25.231818
108
0.740587
[ "Apache-2.0" ]
AsimKhan2019/ERP-CMR-DMS
ViennaAdvantageWeb/ModelLibrary/Model/X_B_BuyerFunds.cs
5,551
C#
namespace Revit.SDK.Samples.WinderStairs.CS { partial class LWinderOptions { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
51.007407
115
0.607973
[ "MIT" ]
xin1627/RevitSdkSamples
SDK/Samples/WinderStairs/CS/Forms/LWinderOptions.Designer.cs
13,774
C#
 namespace Engine.UI { /// <summary> /// Vertical align /// </summary> public enum ScrollVerticalAlign { /// <summary> /// None /// </summary> None, /// <summary> /// Align left /// </summary> Left, /// <summary> /// Al...
16.347826
35
0.401596
[ "MIT" ]
Selinux24/SharpDX-Tests
Engine/UI/ScrollVerticalAlign.cs
378
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DSInternals.DataStore.Test { [TestClass] public class DistinguishedNameResolverTester { [TestMethod] public void TestMethod1() { throw new AssertInconclusiveException(); } } }
19.625
52
0.659236
[ "MIT" ]
0xh4di/DSInternals
Src/DSInternals.DataStore.Test/DistinguishedNameResolverTester.cs
316
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Modules; using Microsoft.AspNetCore.Mvc.Modules; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Orchard.Environment.Extensions; namesp...
37.968254
111
0.637124
[ "BSD-3-Clause" ]
Jetski5822/OrchardHarvestFeb2017
demo/Harvest.Demo2/Startup.cs
2,394
C#
using System; class DrawingSomeFox { static void Main() { //Input int n = int.Parse(Console.ReadLine()); int width = n * 2 + 3; //Logic for (int i = 1; i <=n; i++) { Console.WriteLine(new string('*',i)+"\\"+new string('-',width-2-i*2)+"/"+ new string...
27.615385
121
0.406685
[ "MIT" ]
AJMitev/C-Programming-Basics
8.Exam Prerapartion/034.Fox/DrawingSomeFox.cs
720
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...
53.210678
240
0.675059
[ "Apache-2.0" ]
ermshiperete/aws-sdk-net
AWSSDK_DotNet45/Amazon.ElastiCache/AmazonElastiCacheClient.cs
129,568
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Kubernetes.Types.O...
30.790698
251
0.635196
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/splunk/dotnet/Kubernetes/Crds/Operators/Splunk/Enterprise/V1Alpha2/Outputs/LicenseMasterSpecVolumesGitRepo.cs
1,324
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading; using System.Thre...
47.539957
246
0.596293
[ "MIT" ]
BobSilent/azure-pipelines-agent
src/Agent.Worker/Release/Artifacts/JenkinsArtifact.cs
22,011
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 FluentAssertions; using Microsoft.Toolkit.Collections; using Microsoft.VisualStudio.TestTools.UnitTesting; us...
35.909091
113
0.632911
[ "MIT" ]
Cyberh1/WindowsCommunityToolkit
UnitTests/Collections/ObservableGroupedCollectionTests.cs
1,582
C#
using System; using AutoMapper; using NodaTime; namespace Elsa.Mapping { public class NodaTimeProfile : Profile, ITypeConverter<Instant, DateTime>, ITypeConverter<Instant?, DateTime?>, ITypeConverter<DateTime, Instant>, ITypeConverter<DateTime?, Instant?> { public NodaTi...
41.257143
156
0.657202
[ "MIT" ]
1002527441/elsa-core
src/core/Elsa.Core/Mapping/NodaTimeProfile.cs
1,444
C#
namespace TherapeuticStudio.Test.Pipeline { using MyTested.AspNetCore.Mvc; using System; using TherapeuticStudio.Controllers; using TherapeuticStudio.Services.Clients; using TherapeuticStudio.Services.Payments; using TherapeuticStudio.Services.Procedures; using TherapeuticStudio.Test.Data...
31.488372
104
0.575332
[ "MIT" ]
georgidocoff/ASP.NET-Core-Project-Therapeutic-Studio
Tests/TherapeuticStudio.Test/Pipeline/PaymentsControllerTest.cs
1,356
C#
using ResizetizerNT_svg_log_issue.Models; using ResizetizerNT_svg_log_issue.Services; using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; using Xamarin.Forms; namespace ResizetizerNT_svg_log_issue.ViewModels { public class BaseViewModel : INotifyProp...
29.127273
87
0.616729
[ "MIT" ]
bondarenkod/ResizetizerNT_issues1
ResizetizerNT_svg_log_issue/ResizetizerNT_svg_log_issue/ViewModels/BaseViewModel.cs
1,604
C#