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) .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.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using Syste...
48.052188
132
0.579244
[ "Apache-2.0" ]
Tangtang1997/EntityFrameworkCore
src/EFCore/ChangeTracking/Internal/InternalEntityEntry.cs
91,155
C#
// <copyright file="Pens{TColor}.cs" company="James Jackson-South"> // Copyright (c) James Jackson-South and contributors. // Licensed under the Apache License, Version 2.0. // </copyright> namespace ImageSharp.Drawing.Pens { using System; /// <summary> /// Common Pen styles /// </summary> /// <t...
40.732143
93
0.56861
[ "Apache-2.0" ]
ststeiger/ImageSharpTestApplication
src/ImageSharp.Drawing/Pens/Pens{TColor}.cs
4,564
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ReactiveTests.Dummies { class DummyObserver<T> : IObserver<T> { public static readonly DummyObserver<T> Instance = new DummyObserver<T>(); DummyObserver() { } public void O...
19.84375
82
0.584252
[ "Apache-2.0" ]
Reactive-Extensions/IL2JS
Reactive/ReactiveTests/Dummies/DummyObserver.cs
637
C#
#pragma checksum "E:\Projects\BlazorUpdates\Blazor-CRUD-With-CloudFirestore\BlazorWithFirestore\BlazorWithFirestore\Client\Pages\EmployeeData.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "dc5422c69a1b3e194abec6ddc4d2df4931181336" // <auto-generated/> #pragma warning disable 1591 namespace BlazorWithFirestore.Client....
46.388021
304
0.61573
[ "MIT" ]
AnkitSharma-007/Blazor-CRUD-With-CloudFirestore
BlazorWithFirestore/BlazorWithFirestore/Client/obj/Debug/netstandard2.1/Razor/Pages/EmployeeData.razor.g.cs
17,813
C#
namespace ARS_ProjectSystem.Controllers { using ARS_ProjectSystem.Models.Employees; using ARS_ProjectSystem.Services.Employees; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using static WebConstants; public class EmployeesContr...
30.589286
164
0.607122
[ "MIT" ]
AnetaKoseva/ARS-ProjectSystem
ARS ProjectSystem/Controllers/EmployeesController.cs
3,428
C#
using System; namespace OpenSheets.Contracts.Requests { public class GetPrincipalByIdRequest { public Guid PrincipalId { get; set; } } }
17.555556
45
0.683544
[ "Unlicense" ]
AIAlexRhees/OpenSheets
OpenSheets.Contracts/Requests/Principal/GetPrincipalByIdRequest.cs
160
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Reflection; using Splat; namespace ReactiveUI { internal sealed class DefaultViewLocator : IViewLocator, IEnableLogger { /// <summary> /// Initializes a new instance of the <see cref="DefaultViewLocator"/> class. /// </s...
37.838565
192
0.550723
[ "MIT" ]
SpiegelSoft/ReactiveUI
src/ReactiveUI/View/DefaultViewLocator.cs
8,440
C#
using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace App1.Droid { [Activity (Label = "App1.Droid", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity : Activity { int count = 1; protected ov...
20.416667
80
0.687075
[ "MIT" ]
pankajdey198320/NET_CORE
Core explore/App1/App1/App1.Droid/MainActivity.cs
737
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using MixedRealityToolkit.Common; using MixedRealityToolkit.SpatialUnderstanding; using System; using System.Collections.Generic; using UnityEngine; namespace Mixed...
45.298246
225
0.574834
[ "MIT" ]
amngupta/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit-Examples/SpatialUnderstanding/Scripts/LevelSolver.cs
23,240
C#
using NUnit.Framework; using Rebus.Tests.Contracts.Sagas; namespace Rebus.RavenDb.Tests.Sagas { [TestFixture, Category(TestCategory.RavenDb)] public class RavenDbBasicLoadAndSaveAndFindOperations : BasicLoadAndSaveAndFindOperations<RavenDbSagaStorageFactory> { } }
34.25
124
0.824818
[ "MIT" ]
mastreeno/Rebus
Rebus.RavenDb.Tests/Sagas/RavenDbBasicLoadAndSaveAndFindOperations.cs
276
C#
using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace Microsoft.ML.OnnxRuntime { internal class CpuExecutionProviderFactory: NativeOnnxObjectHandle { protected static readonly Lazy<CpuExecutionProviderFactory> _default = new Lazy<CpuExecuti...
28.616822
167
0.542456
[ "MIT" ]
PaulGureghian1/ONNX_Runtime
csharp/src/Microsoft.ML.OnnxRuntime/ExecutionProviderFactory.cs
3,064
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
35.509615
167
0.623883
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/Internal/MarshallTransformations/SigV4AuthorizationUnmarshaller.cs
3,693
C#
using System; using System.Collections; using Softing.OPCToolbox; using Softing.OPCToolbox.Server; namespace SerialIO { public class MyDaAddressSpaceElement : DaAddressSpaceElement { #region Constructors //------------------------------ public MyDaAddressSpaceElement( string anItemID, string aName, ...
18.929134
66
0.617304
[ "MIT" ]
Movares/OPC-Classic-SDK
development/NET/samples/server/Serial_IO/CS/MyDaAddressSpaceElement.cs
2,404
C#
// // DigitalSignatureVerifyException.cs // // Author: Jeffrey Stedfast <jeff@xamarin.com> // // Copyright (c) 2013 Jeffrey Stedfast // // 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 with...
38.680851
118
0.753025
[ "MIT" ]
anaselhajjaji/MimeKit
MimeKit/Cryptography/DigitalSignatureVerifyException.cs
1,818
C#
#nullable enable using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CodeConnections.Extensions { public static class SyntaxNodeExtensions { /// <summary> /// Retr...
44.938462
223
0.743923
[ "MIT" ]
davidjohnoliver/CodeConnections
CodeConnections.Shared/Extensions/SyntaxNodeExtensions.cs
2,923
C#
using JadeFramework.Core.Domain.Entities; using JadeFramework.Dapper; using MsSystem.OA.Model; using MsSystem.OA.ViewModel; using System.Threading.Tasks; namespace MsSystem.OA.IRepository { public interface IOaMessageRepository : IDapperRepository<OaMessage> { Task<Page<OaMessage>> GetPageAsync(int pa...
28.733333
78
0.772622
[ "MIT" ]
anjoy8/MsSystem-BPM-ServiceAndWebApps
src/Services/OA/MsSystem.OA.IRepository/IOaMessageRepository.cs
433
C#
// Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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...
34.328947
108
0.649291
[ "Apache-2.0" ]
SeanKilleen/MassTransit
src/MassTransit.Tests/Saga/StateMachine/SagaStateMachine_Specs.cs
2,609
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("Vol...
38.540541
84
0.752454
[ "MIT" ]
VolleyManagement/volley-management
archive/src/VolleyManagement.Backend/VolleyManagement.Crosscutting/Properties/AssemblyInfo.cs
1,429
C#
using Torque3D; using Torque3D.Engine; using Torque3D.Util; namespace Game.Modules.ClientServer.Server { class Audio { public static void Init() { } public static void ServerPlay2D(SFXProfile profile) { SimSet ClientGroup = Sim.FindObject<SimSet>("ClientGroup"); ...
31.527778
93
0.625551
[ "MIT" ]
lukaspj/Torque-BaseGame
Modules/ClientServer/Server/Audio.cs
1,137
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.ServiceModel; using System.ServiceModel.Channels; using System.Text; using System.Threading; using System.Threading.Tasks; using MagentoAccess.MagentoSoapServiceReference; using MagentoAccess.Misc; ...
35.733259
268
0.687822
[ "BSD-3-Clause" ]
emartech/magentoAccess
src/MagentoAccess/Services/MagentoServiceLowLevelSoap.cs
32,019
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) using System; using System.Text; using Org.BouncyCastle.Utilities; namespace Org.BouncyCastle.Asn1 { /** * Der PrintableString object. */ public class DerPrintableString : DerStringBase { private readonly strin...
22.520958
103
0.588141
[ "MIT" ]
Manolomon/space-checkers
client/Assets/Libs/Best HTTP (Pro)/Best HTTP (Pro)/BestHTTP/SecureProtocol/asn1/DerPrintableString.cs
3,761
C#
using UnityEngine; using UnityEngine.Events; using TMPro; using UnityEngine.UI; using System.Collections; using UnityEngine.Networking; public class _Lesson : MonoBehaviour { #region Properties #endregion #region Fields //Prefab Button. [SerializeField] TextMeshProUGUI titleTXT; //Prefab Bu...
27.526316
108
0.605056
[ "MIT" ]
Sadeqsoli/1100-Words
1100 Words/Assets/Scripts/Mini_Manager/_Lesson.cs
4,709
C#
using Foundation; using UIKit; namespace StoryboardTables1 { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to application events from iOS. [Register("AppDelegate")] pu...
40.583333
131
0.671458
[ "MIT" ]
Art-Lav/ios-samples
StoryboardTable/StoryboardTables1/AppDelegate.cs
2,437
C#
#region Using Statements using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using GameKit; using UIKit; using WaveEngine.Social; #endregion namespace WaveEngineiOS.Social.Social { /// <summary> /// Game Center Service class /// </summary> public class Ga...
37.258065
307
0.56912
[ "MIT" ]
WaveEngine/Extensions
WaveEngine.Social/Projects/Social/GameCenterService.cs
13,862
C#
using System.Collections.Generic; namespace Crimson.AI.UtilityAI { public abstract class Reasoner : Operator { public IConsideration DefaultConsideration = new FixedScoreConsideration(); protected List<IConsideration> _considerations = new List<IConsideration>(); public Actio...
30.189189
86
0.65085
[ "MIT" ]
aszecsei/Crimson
Crimson/AI/UtilityAI/Reasoners/Reasoner.cs
1,119
C#
using System; using System.Threading.Tasks; using CommonServiceLocator; using Foundation; using NDB.Covid19.Enums; using NDB.Covid19.Interfaces; using NDB.Covid19.Models; using NDB.Covid19.Utils; using NDB.Covid19.ViewModels; using UIKit; namespace NDB.Covid19.iOS.Views.ENDeveloperTools { public partial class ENDe...
37.433155
137
0.655571
[ "MIT" ]
ant3k96/Fhi.Smittestopp.App
NDB.Covid19/NDB.Covid19.iOS/Views/ENDeveloperTools/ENDeveloperToolsViewController.cs
7,000
C#
using System.Collections.Generic; using IdokladSdk.ApiModels; namespace IdokladSdk.Clients { public partial class BatchClient : BaseClient { public const string ResourceUrl = "/Batch"; public BatchClient(ApiContext apiContext) : base(apiContext) { } /// <summary> ...
31.478261
122
0.649171
[ "MIT" ]
mholec/IDokladSdk
Src/Idoklad/Clients/BatchClient.cs
724
C#
using Android.App; using Android.Util; using Android.Views; using Android.Widget; using System; using System.Collections.Specialized; using System.ComponentModel; using System.Linq; using Orientation = Android.Widget.Orientation; using Android.Content; using AColor = Android.Graphics.Color; using Android.Text; using An...
29.278846
191
0.731199
[ "MIT" ]
Opti-Q/Xamarin.Forms
Xamarin.Forms.Platform.Android/Renderers/PickerRenderer.cs
6,090
C#
using ReMi.Contracts.Cqrs.Commands; namespace ReMi.Common.WebApi.Tracking { public interface ICommandTracker : ITracker<ICommand> { } }
15.888889
57
0.762238
[ "MIT" ]
vishalishere/remi
ReMi.Api/Common/ReMi.Common.WebApi/Tracking/ICommandTracker.cs
143
C#
using Microsoft.VisualStudio.LanguageServer.Protocol; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace SvelteVisualStudio.MiddleLayers { class CompletionMiddleLayer : IMiddleLayerProvider { public ...
33.256
112
0.522973
[ "MIT" ]
jasonlyu123/SvelteVisualStudio
SvelteVisualStudioShared/MiddleLayers/CompletionMiddleLayer.cs
4,159
C#
using Beinet.Repository.Repositories; using RemindClockWeb.Repository.Model; namespace RemindClockWeb.Repository { public interface UsersRepository : JpaRepository<Users, int> { [Query("select * from #{#entityName} where account=?1 limit 1", NativeQuery = true)] Users GetByAccount(string accou...
33.952381
109
0.629734
[ "Apache-2.0" ]
youbl/products
RemindClock/RemindClockWeb/Repository/UsersRepository.cs
749
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
32.491379
127
0.535686
[ "MIT" ]
3quanfeng/azure-powershell
src/ConnectedMachine/generated/runtime/Helpers/TypeDetails.cs
3,656
C#
using UnityEngine; namespace Quester.QuestEditor { public class DeliverNode : QuestNode { public ObjectID Deliverable; public ActorID Receiver; public override void InitializeObjective() { // hmm... var deliverGameObject = ObjectIDMap.Instance.Get(Recei...
25.083333
79
0.591362
[ "MIT" ]
nmacadam/Quester
Assets/New Quest Graph/DeliverNode.cs
604
C#
 using System; namespace QuizSystem.Library { public class SingleSelectionQuestion : Question { public SingleSelectionQuestion( int id, string text, string[] options, int correctAnswerIndex) :base(id,text) { Options = opti...
21.829268
64
0.488268
[ "MIT" ]
Bogdan748/oop-quiz-system
QuizSystem/QuizSystem.Library/SingleSelectionQuestion.cs
897
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; namespace Microsoft.Win32 { /// <summary>Registry encapsulation. Contains members representing all top level system keys.</summary> p...
47.494845
163
0.648795
[ "MIT" ]
Cosifne/runtime
src/libraries/Microsoft.Win32.Registry/src/Microsoft/Win32/Registry.cs
4,607
C#
namespace Miningcore.Blockchain.Bitcoin.DaemonResponses { public class ValidateAddressResponse { public bool IsValid { get; set; } public bool IsMine { get; set; } public bool IsWatchOnly { get; set; } public bool IsScript { get; set; } public string Address { get; set; }...
30.071429
55
0.617577
[ "MIT" ]
4AlexG/miningcore
src/Miningcore/Blockchain/Bitcoin/DaemonResponses/ValidateAddressResponse.cs
421
C#
using Microsoft.AspNetCore.Http; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; namespace FileUploadSample { public class UploadRepository { private readonly ConcurrentBag<File> _files; private readonly string...
27.75
97
0.578078
[ "MIT" ]
JannikLassahn/graphql-dotnet-upload
samples/FileUploadSample/UploadRepository.cs
1,334
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; namespace Microsoft.Templates.Core { public static cl...
24.74
79
0.508488
[ "MIT" ]
Microsoft/CoreTemplateStudio
code/src/CoreTemplateStudio/CoreTemplateStudio.Core/Platforms.cs
1,190
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
32.043478
81
0.531886
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSModules/AbuseReport/Controls/AbuseReportList.ascx.designer.cs
739
C#
/* * Created by SharpDevelop. * User: kafeinaltor * Date: 20.03.2020 * Time: 19:21 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; using System.Diagnostics; namespace StringMat...
20.659574
84
0.654995
[ "MIT" ]
aalitor/StringMath
StringMath/MainForm.cs
973
C#
// Lucene version compatibility level 4.8.1 using System; using System.Collections.Generic; namespace YAF.Lucene.Net.Analysis.Util { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work fo...
41.333333
119
0.625747
[ "Apache-2.0" ]
10by10pixel/YAFNET
yafsrc/Lucene.Net/Lucene.Net.Analysis.Common/Analysis/Util/TokenFilterFactory.cs
3,268
C#
namespace GServer.Archestra.Exceptions { public class ObjectIsRequiredException : GalaxyException { public ObjectIsRequiredException(string message) : base(message) { } } }
23.111111
72
0.677885
[ "MIT" ]
tnunnink/GMerge
src/GServer.Archestra/Exceptions/ObjectIsRequiredException.cs
208
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace TimeSpent.Web.Models { public class ProjectModel { public int ProjectId { get; set; } public string Name { get; set; } public string Description { get; set; } } }
21.071429
47
0.657627
[ "MIT" ]
saeidehv/TimeSpent
TimeSpent.Web/Models/ProjectModel.cs
297
C#
using System.Reflection; using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.VisioApi; namespace NetOffice.VisioApi.Behind { /// <summary> /// Interface IEnumVMenu /// SupportByVersion Visio, 11,12,14,15,16 /// </summary> [SupportByVersion("Vis...
27.21831
113
0.658473
[ "MIT" ]
igoreksiz/NetOffice
Source/Visio/Behind/Interfaces/IEnumVMenu.cs
3,867
C#
// Shamelessly ganked from Community Core Library so I can avoid depending on it // Here's its "license": /* This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled ...
39.061224
207
0.602926
[ "MIT" ]
zorbathut/aworldwithouthat
Detours.cs
5,744
C#
using JT808.Protocol.Extensions; using JT808.Protocol.MessageBody; using System; namespace JT808.Protocol.JT808Formatters.MessageBodyFormatters { public class JT808_0x0200_0x2AFormatter : IJT808Formatter<JT808_0x0200_0x2A> { public JT808_0x0200_0x2A Deserialize(ReadOnlySpan<byte> bytes, out int readSi...
40.548387
99
0.680191
[ "MIT" ]
NealGao/JT808
src/JT808.Protocol/JT808Formatters/MessageBodyFormatters/JT808_0x0200_0x2AFormatter.cs
1,259
C#
using System.Windows; namespace Zipper { /// <summary> /// Lógica de interacción para App.xaml /// </summary> public partial class App : Application { /// <summary> /// Arranque de la aplicación. /// </summary> /// <param name="e">Argumentos de arranque.</param> ...
23.157895
61
0.545455
[ "MIT" ]
migueladanrm/Zipper.Windows
Zipper/App.xaml.cs
445
C#
/** *** Copyright (c) 2016-2019, Jaguar0625, gimre, BloodyRookie, Tech Bureau, Corp. *** Copyright (c) 2020-present, Jaguar0625, gimre, BloodyRookie. *** All rights reserved. *** *** This file is part of Catapult. *** *** Catapult is free software: you can redistribute it and/or modify *** it under the terms of the GNU...
40.481013
241
0.664947
[ "MIT" ]
0x070696E65/Symnity
Assets/Plugins/Symnity/Pulgins/catbuffer/EmbeddedMosaicSupplyRevocationTransactionBuilder.cs
6,396
C#
using System; using System.Text; using System.Linq; using DevExpress.ExpressApp; using System.ComponentModel; using DevExpress.ExpressApp.DC; using System.Collections.Generic; using DevExpress.Persistent.Base; using DevExpress.ExpressApp.Model; using DevExpress.ExpressApp.Actions; using DevExpress.ExpressApp.Editors; ...
46.977778
163
0.747871
[ "Apache-2.0" ]
kgreed/JobTalkBasic
SBD_JTB.Module/Module.cs
2,116
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Nameless.EventSource.Domains; using Nameless.EventSource.Events; using Nameless.EventSource.Snapshots; namespace Nameless.EventSource.Repository { public class AggregateRepository : IAggregateRepository { ...
39.832
202
0.778871
[ "MIT" ]
marcoaoteixeira/Nameless
src/Nameless.EventSource.Common/Repository/AggregateRepository.cs
4,981
C#
using System; using System.Timers; using Gtk; public partial class MainWindow : Gtk.Window { private const string correctLogin = "Login"; private const string correctPassword = "Password"; private int counter = 6; private bool Lock = false; private Timer _timer; public MainWindow() : base(Gtk...
22.928571
79
0.507788
[ "MIT" ]
Very1Fake/csharp-labs
Lab4.3/MainWindow.cs
1,607
C#
namespace River.Orqa.Dialogs { partial class OverwriteDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resou...
38.721311
154
0.722269
[ "MIT" ]
stevencohn/Orqa
River.Orqa/Dialogs/OverwriteDialog.Designer.cs
4,724
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WbooruPlugin.Saucenao { public class SearchTaskOption { public SaucenaoAPIOption APIOption { get; set; } = new SaucenaoAPIOption(); public bool EnableDownload { get; s...
26.368421
83
0.696607
[ "MIT" ]
MikiraSora/WbooruPlugin.Saucenao
SearchTaskOption.cs
503
C#
namespace TestWorker.Http.Extensions { using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using System; using TestWorker.Http.Options; using TestWorker.Http.Policy; using TestWorker.Services; ...
41.840909
120
0.621945
[ "MIT" ]
BBGONE/TestHHTPClient
TestWorker/Http/Extensions/ServiceCollectionExt.cs
1,843
C#
namespace Exercism.TestRunner.CSharp.IntegrationTests { internal class TestRun { public string Expected { get; } public string Actual { get; } public TestRun(string expected, string actual) => (Expected, Actual) = (expected, actual); } }
26
57
0.629371
[ "MIT" ]
jrr/csharp-test-runner
test/Exercism.TestRunner.CSharp.IntegrationTests/TestRun.cs
286
C#
// // Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // using System; using nanoFramework.UI; namespace nanoFramework.Presentation.Media { /// <summary> /// /// </s...
26.855556
119
0.501862
[ "MIT" ]
AdrianSoundy/lib-nanoFramework.Graphics
nanoFramework.Graphics/Presentation/Media/Brush.cs
2,417
C#
// Copyright 2020 Energinet DataHub A/S // // Licensed under the Apache License, Version 2.0 (the "License2"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
32.347107
142
0.594788
[ "Apache-2.0" ]
Energinet-DataHub/geh-charges
source/GreenEnergyHub.Charges/source/GreenEnergyHub.Charges.Domain/Charges/Charge.cs
3,916
C#
using HearthDb; namespace HREngine.Bots { class Pen_EX1_014t : PenTemplate //bananas { // verleiht einem diener +1/+1. public override int getPlayPenalty(Playfield p, Minion m, Minion target, int choice, bool isLethal) { if (target.own) { if (!m.Ready)...
24.815789
148
0.399788
[ "MIT" ]
chi-rei-den/Silverfish
penalties/Pen_EX1_014t.cs
943
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AspnetRunBasics.Models { public class OrderResponseModel { public string UserName { get; set; } public decimal TotalPrice { get; set; } // BillingAddress ...
26.939394
48
0.614173
[ "MIT" ]
Javilingys/AspnetMicroservices
src/WebApps/AspnetRunBasics/Models/OrderResponseModel.cs
891
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Jag.Spice.Interfaces { using Microsoft.Rest; using Models; using System.Collections; using System.Co...
44.778947
557
0.627645
[ "Apache-2.0" ]
BrendanBeachBC/jag-spd-spice
interfaces/Dynamics-Autorest/IEssprocessprocesssession.cs
4,254
C#
using NodeEditorFramework; using UnityEngine; namespace Assets.TextureWang.Scripts.Nodes { [Node (false, "Source/Circle")] public class Texture1Circle : CreateOp { public float m_OffsetX; public float m_OffsetY; public const string ID = "Circle"; public bool m_Fill = true; ...
34.365079
107
0.567206
[ "MIT" ]
ArieLeo/TextureWangBeta
Assets/TextureWang/Scripts/Nodes/Texture1Circle.cs
2,165
C#
/* This file was generated and should not be modified directly */ // Model is Table using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; using System.Threading.Tasks; using Bam.Net; using Bam.Net.Data; using Bam.Net.Data.Qi; namespace Bam.Net.Logging.Data { ...
29.88792
209
0.666167
[ "MIT" ]
BryanApellanes/bam.net.shared
Logging/DaoLogger2_Generated/Param.cs
24,000
C#
using System; namespace Persistence.Models { public class ThreadWriteModel { public int ThreadId { get; set; } public string Data { get; set; } public DateTime TimeCreated { get; set; } } }
19
49
0.614035
[ "Apache-2.0" ]
dorotaro/ThreadsApp_V1
Persistence/Models/ThreadWriteModel.cs
230
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; using System.Reflection; using System.Globalization; //***************************************************************************** // Description.....WS-Discovey for WCF // ...
37.461538
102
0.528747
[ "MIT" ]
joergkrause/wcf-workshop
WSDiscovery/WSDiscovery/Helpers/ServiceContractHelper.cs
2,925
C#
// this file is left only for overwrite the old file when updating package.
38.5
76
0.766234
[ "MIT" ]
jonntd/MeshSync
Assets/Runtime/Scripts/MeshSyncServer_impl.cs
77
C#
using System; using System.Threading.Tasks; namespace Leelite.Framework.Domain.Command { public interface ICommandStore { /// <summary> /// Saves the command. /// </summary> /// <param name="command">Command.</param> void SaveCommand<TCommand>(TCommand command); ...
26.681818
67
0.597956
[ "MIT" ]
liduopie/LeeliteCore
src/Framework/Leelite.Framework.Domain/Command/ICommandStore.cs
589
C#
#pragma checksum "c:\Users\Usuário\Desktop\FinalProject\Views\Home\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "a6b2d67d72ecb9ea7447bf2729ab9d9a2e167192" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_...
54.134615
344
0.676377
[ "MIT" ]
Pierii/Projeto100-Atualizado
obj/Debug/netcoreapp2.1/Razor/Views/Home/Index.g.cshtml.cs
14,122
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MakeInvoice.Frontend { public class Program { ...
26
70
0.648148
[ "MIT" ]
migihajami/MakeInvoce
MakeInvoice.Frontend/Program.cs
702
C#
using Microsoft.Extensions.DependencyInjection; using AlphaTest.Core.Groups; using AlphaTest.Infrastructure.Checkers; namespace AlphaTest.Infrastructure.Plugins { public static class UtilityServicesPluginExtension { public static void AddUtilityServices(this IServiceCollection services) { ...
27.933333
84
0.756563
[ "MIT" ]
Damakshn/AlphaTest
src/AlphaTest.Infrastructure/Plugins/UtilityServicesPluginExtension.cs
421
C#
#pragma checksum "..\..\MainMenuPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "F166E011B8366C838D4C30EE7C0B15BC" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Ch...
39.120968
142
0.617398
[ "Apache-2.0" ]
PValgento/Connect-4
Connect4/Connect4/obj/Debug/MainMenuPage.g.cs
4,853
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _06.Prime_Checker { class Program { static void Main(string[] args) { long number = long.Parse(Console.ReadLine()); bool isPrime = PrimeChecking...
23.823529
63
0.523457
[ "MIT" ]
stoyanovmiroslav/Tech-Module-Practice
Programming Fundamentals/Methods. Debugging and Troubleshooting Code - Exercises/06.Prime Checker/Program.cs
812
C#
// GENERATED AUTOMATICALLY FROM 'Assets/_PROJECT/Scripts/Input/Generic XR Controller.inputactions' using System; using System.Collections; using System.Collections.Generic; using UnityEngine.InputSystem; using UnityEngine.InputSystem.Utilities; public class @GenericXRController : IInputActionCollection, IDisposable {...
40.748062
104
0.552078
[ "MIT" ]
22ndtech/OpenXR
UnityOpenXR/Assets/_PROJECT/Input/Controller/Generic XR Controller.cs
10,513
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 requi...
35.418367
125
0.613944
[ "Apache-2.0" ]
CerebralMischief/azure-sdk-for-net
src/ResourceManagement/Compute/ComputeManagement/Generated/Models/VirtualMachineExtensionImageListVersionsParameters.cs
3,479
C#
/* * LUSID API * * # Introduction This page documents the [LUSID APIs](https://api.lusid.com/swagger), which allows authorised clients to query and update their data within the LUSID platform. SDKs to interact with the LUSID APIs are available in the following languages : * [C#](https://github.com/finbourne/lusi...
112.143284
23,815
0.660961
[ "MIT" ]
timbarrass/lusid-sdk-csharp
sdk/Lusid.Sdk/Model/ReconciliationBreak.cs
37,568
C#
using System; using System.Collections.Generic; using JustSaying.AwsTools; using JustSaying.AwsTools.QueueCreation; using JustSaying.Messaging.Channels.SubscriptionGroups; using JustSaying.Models; using Microsoft.Extensions.Logging; namespace JustSaying.Fluent { /// <summary> /// A class representing a builder...
41.605263
154
0.612994
[ "Apache-2.0" ]
afrazhm/JustSaying
src/JustSaying/Fluent/SubscriptionsBuilder.cs
11,067
C#
using Sharpen; namespace org.apache.http.client.protocol { [Sharpen.NakedStub] public interface ClientContext { } [Sharpen.NakedStub] public abstract class ClientContextClass { } }
12.733333
41
0.759162
[ "Apache-2.0" ]
Conceptengineai/XobotOS
android/naked-stubs/org/apache/http/client/protocol/ClientContext.cs
191
C#
using cqhttp.WebSocketReverse.NETCore.Interface; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.Json.Serialization; using System.Threading.Tasks; namespace cqhttp.WebSocketReverse.NETCore.Model.Params { /// <summary> /// 群组全员禁言 /// </summary> in...
22.827586
54
0.613293
[ "MIT" ]
cqbef/cqhttp.WebSocketReverse.NETCore
src/Model/Param/SetGroupWholeBanParams.cs
688
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using RoleBasedMenu.Data; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; nam...
34.616438
155
0.581717
[ "MIT" ]
SyedMdKamruzzaman/AdminLTE-dynamic-Menu-from-Database
src/Controllers/ProfileController.cs
5,056
C#
// Python Tools for Visual Studio // Copyright(c) Microsoft Corporation // 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 //...
49.258427
126
0.684535
[ "Apache-2.0" ]
113771169/PTVS
Python/Product/PythonTools/PythonTools/Options/PythonGeneralOptionsControl.cs
4,384
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// This is the configuration parameters for Speed Dial 8 service /// </summary> ...
31.717949
148
0.667745
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/ProfileAndServiceSpeedDial8Info.cs
1,237
C#
using System; namespace csharptest { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); Console.WriteLine("perfect world"); Console.WriteLine("Just an inicial comment"); } } }
19.866667
58
0.52349
[ "MIT" ]
vglarra/csharptest
Program.cs
300
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cinema { class Program { static void Main(string[] args) { var type = Console.ReadLine().ToLower(); int r = int.Parse(Console.ReadLine()); ...
28.32
91
0.526836
[ "MIT" ]
CaptainUltra/IT-Career-Course
Year 1/Module 1 - Programming Fundamentals/IFovi/Cinema/Program.cs
710
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
33.032787
153
0.578164
[ "MIT" ]
twsouthwick/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IWorkbookFunctionsTbillEqRequest.cs
2,015
C#
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Velyo.Web.Extensions")] [assembly: AssemblyDescription("Extension methods for some System.Web classes.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Velio Ivanov http://velyo.net")] [assembly: AssemblyProdu...
33.277778
81
0.766277
[ "MIT" ]
velio/dotnet-extensions
src/Velyo.Web.Extensions/Properties/AssemblyInfo.cs
602
C#
using System.Collections.Generic; using UnityEngine; namespace ReginaGameDev.Models { [System.Serializable] public class RandomWordStorage { public List<string> Adjectives; public List<string> Nouns; public string GetRandomAdjective() { return Adjectives[Random...
21.909091
65
0.616183
[ "Apache-2.0" ]
Othaur/Project-1
Tomatoes/Assets/Scripts/Models/RandomWordStorage.cs
484
C#
using System.IO; using ProtoBuf; namespace ExpertFunicular.Common.Serializers { public class FunicularProtobufSerializer : IFunicularSerializer { public byte[] Serialize<TMessage>(TMessage message) where TMessage : class { using var memoryStream = new MemoryStream(); Ser...
29.454545
82
0.637346
[ "MIT" ]
aroman35/expert-funicular
ExpertFunicular.Common/Serializers/FunicularProtobufSerializer.cs
648
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** 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.Azur...
30.046512
109
0.636997
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Compute/V20190301/Outputs/TargetRegionResponse.cs
1,292
C#
namespace PCMarket.Data.Interfaces { public interface INewsUnitOfWork : IUnitOfWork { ISoftwareNewRepository SoftwareNews { get; } IHardwareNewRepository HardwareNews { get; } } }
23.222222
52
0.698565
[ "MIT" ]
kraskoo/PCMarket
PCMarket/PCMarket.Data/Interfaces/INewsUnitOfWork.cs
211
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace DapperDino.Models.ManageViewModels { public class IndexViewModel { public string Username { get; set; } public bool IsEmailConfirmed { get; s...
26.257143
66
0.632209
[ "MIT" ]
DapperCoding/DapperDino-Website
DapperDino.Web/Models/ManageViewModels/IndexViewModel.cs
921
C#
using Newtonsoft.Json; namespace Magicodes.Wx.PublicAccount.Sdk.Apis.Guide.Dtos { public class GetGuideMassendJobInput { /// <summary> /// 任务id /// </summary> [JsonProperty("task_id")] public int TaskId { get; set; } } }
21.076923
56
0.583942
[ "MIT" ]
xin-lai/Magicodes.Wx.Sdk
src/Magicodes.Wx.PublicAccount.Sdk/Apis/Guide/Dtos/GetGuideMassendJobInput.cs
280
C#
using System; namespace JenkinsTryOut.Authentication.External { public class ExternalLoginProviderInfo { public string Name { get; set; } public string ClientId { get; set; } public string ClientSecret { get; set; } public Type ProviderApiType { get; set; } public E...
24.666667
113
0.625
[ "MIT" ]
kgamab/jenkins-demo
aspnet-core/src/JenkinsTryOut.Web.Core/Authentication/External/ExternalLoginProviderInfo.cs
594
C#
/// <summary> /// The MIT License (MIT) /// /// Copyright (c) 2014-2016 Marc de Verdelhan & respective authors (see AUTHORS) /// /// 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 witho...
43.416667
247
0.722841
[ "MIT" ]
chrisw000/TA4N
TA4N.Test/Indicators/Oscillators/CMOIndicatorTest.cs
2,607
C#
using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace Lab3.Migrations { public partial class Initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migra...
43.035
114
0.499129
[ "MIT" ]
IvanenkoAnton/LabsDataBase
Lab3/Migrations/20171203222729_Initial.cs
8,609
C#
/* THIS IS A GENERATED FILE. DO NOT EDIT. */ using Dullahan; using System; using System.Collections.Concurrent; using System.IO; using System.Text; namespace TestGame { partial class World { partial class Entity { public sealed partial class ConsoleBufferComponent : TestGame.IConsoleBufferCompo...
50.868966
159
0.510168
[ "BSD-3-Clause" ]
niuk/Dullahan
TestServer/Generated/ConsoleBufferComponent.cs
7,376
C#
////----------------------------------------------------------------------- //// <copyright> //// //// Copyright (c) TU Chemnitz, Prof. Technische Thermodynamik //// Written by Noah Pflugradt. //// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the followi...
42.292453
177
0.607183
[ "MIT" ]
kyleniemeyer/LoadProfileGenerator
WpfApplication1/Presenters/Households/TemplatePersonPresenter.cs
8,972
C#
/**************************************************************************** * SequenceP2TestCases.cs * * This file contains the Sequence P2 test case validation. * ******************************************************************************/ using System; using System.Text; using System.Collections.Generic;...
30.890756
104
0.530196
[ "Apache-2.0" ]
jdm7dv/Microsoft-Biology-Foundation
archive/Changesets/mbf/Tests/Bio.TestAutomation/SequenceP2TestCases.cs
3,678
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generi...
31.905405
156
0.623888
[ "BSD-3-Clause" ]
NMFCode/NMF
IntegrationTests/ComponentBasedSoftwareArchitectures/Pcm/Core/Entity/InterfaceProvidingEntityProvidedRoles_InterfaceProvidingEntityCollection.cs
2,363
C#
using System; using System.Reflection; namespace Chat.Areas.HelpPage.ModelDescriptions { public interface IModelDocumentationProvider { string GetDocumentation(MemberInfo member); string GetDocumentation(Type type); } }
20.75
51
0.742972
[ "MIT" ]
xto3na/chat
Chat/Areas/HelpPage/ModelDescriptions/IModelDocumentationProvider.cs
249
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.VFX; public class VFXTimeOfDayBinder : MonoBehaviour { public VisualEffect system; void FixedUpdate() { //Color c = color.Evaluate(time.Get01FullCycle()); //ParticleSystem.MainModule main ...
29.866667
69
0.685268
[ "CC0-1.0" ]
JonaMazu/KoboldKare
Assets/KoboldKare/Scripts/VFXTimeOfDayBinder.cs
450
C#
using UnityEditor; using UnityEngine; using ActiveObjects.Triggers; // RecipeItemDrawer [CustomPropertyDrawer(typeof(ButtonTrigger))] public class ButtonTriggerDrawer : PropertyDrawer { // Draw the property inside the given rect public override void OnGUI(Rect position, SerializedProperty property, GUICon...
34.227273
92
0.7251
[ "MIT" ]
Sumrix/DAZVillage
Assets/Editor/ButtonTriggerDrawer.cs
755
C#