max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
blazor.admin/SeaBlog.Blazor.admin/Api/Apis/BlogApi.cs | crybigsea/SeaBlog.ABP | 0 | 7050452 | <filename>blazor.admin/SeaBlog.Blazor.admin/Api/Apis/BlogApi.cs<gh_stars>0
using Microsoft.AspNetCore.Components;
using SeaBlog.Blazor.Admin.Api.IApis;
using SeaBlog.Blazor.Admin.Models;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
namespace SeaBlog.Blazor.Admin... |
Scuola/Esercizi C#/Informatica/11GareNuoto_15/11GareNuoto_15/11GareNuoto/Form1.cs | VenomBigBozz/Esercizi | 0 | 7050453 | <reponame>VenomBigBozz/Esercizi<gh_stars>0
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 _11GareNuoto
{
public partial class FormGare : Form
{
... |
src/IronFoundry.Misc/Utilities/PowershellExecutor.cs | ironfoundry-attic/ironfoundry | 4 | 7050454 | namespace IronFoundry.Misc.Utilities
{
using System;
using System.IO;
using IronFoundry.Misc.Properties;
using Microsoft.Win32;
[System.ComponentModel.DesignerCategory(@"Code")]
public class PowershellExecutor : RedirectedProcess
{
private const string powershellArgsFmt = @"-NoProf... |
QingStorSDK/tests/BucketCORTest.cs | dongxifu/QingStorSDK-For-CSharp | 0 | 7050455 | <reponame>dongxifu/QingStorSDK-For-CSharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using QingStorSDK.com.qingstor.sdk.service;
using QingStorSDK.com.qingstor.sdk.config;
namespace QingStorSDK.tests
{
class BucketCORTest
{
publ... |
Controllers/NacionalidadesController.cs | AlexandroJava/RegistroJugadores | 0 | 7050456 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using RegistroJugadores.Models;
namespace RegistroJugadores.Controllers
{
public class NacionalidadesController : Contro... |
src/Core/Settings/SpawnerSettings.cs | wmtorode/MissionControl | 0 | 7050457 | <reponame>wmtorode/MissionControl
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
namespace MissionControl.Config {
public class SpawnerSettings {
[JsonProperty("SpawnLanceAtEdgeBoundary")]
public SpawnLanceAtBoundarySettings SpawnLanceAtBoundary { get; set; } = new SpawnLanceAtB... |
Code/Websites/DanpheEMR/Controllers/Reporting/GovernmentReportingController.cs | MenkaChaugule/hospital-management-emr | 1 | 7050458 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using DanpheEMR.DalLayer;
using Microsoft.Extensions.Options;
using DanpheEMR.Core.Configuration;
using DanpheEMR.ServerModel.ReportingModels;
using DanpheEMR.CommonTypes;
using DanpheEMR.Ut... |
Aerobridge-FullClient/aerobridgeclient.cs | botmayank/mavlink-aerobridge | 3 | 7050459 | <reponame>botmayank/mavlink-aerobridge
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AerobridgeClient
{
public pa... |
tests/NServiceKit.Redis.Tests/NServiceKit.Redis/Messaging/RedisTransientMessageService.cs | NServiceKit/NServiceKit.Redis | 29 | 7050460 | //
// https://github.com/mythz/ServiceStack.Redis
// ServiceStack.Redis: ECMA CLI Binding to the Redis key-value storage system
//
// Authors:
// <NAME> (<EMAIL>)
//
// Copyright 2010 Liquidbit Ltd.
//
// Licensed under the same terms of Redis and ServiceStack: new BSD license.
//
using System;
using NServiceKit.Com... |
VirusGame.Game/VirusFightingActions/VaccinateAction.cs | lroszak/VirusGame | 0 | 7050461 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace VirusGame.Game.VirusFightingActions
{
class VaccinateAction : VirusFightingAction
{
public override string Description => "Vaccinate Citizens";
internal override DiseaseParameters ApplyAction(DiseaseParam... |
src/View.Uno/Converters/FromOrientationToDefaultValueConverter.cs | MartinZikmund/Nventive.View | 0 | 7050462 | <gh_stars>0
#if WINDOWS_UWP
// TODO: Remove above if __ANDROID__ || __IOS__ implemented.
using System;
using System.Collections.Generic;
using System.Text;
#if WINDOWS_UWP
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
#elif __ANDROID__ || __IOS__
// TODO
#else
using System.Windows;
using System.Windows.Contr... |
SimpleIdentityServer/tests/SimpleIdentityServer.Uma.Core.UnitTests/Api/PolicyController/AddAuthorizationPolicyActionFixture.cs | appkins/SimpleIdentityServer | 71 | 7050463 | <reponame>appkins/SimpleIdentityServer
#region copyright
// Copyright 2015 <NAME>
//
// 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
/... |
BellDetectWpf/ViewModels/FFT/RunFFT.cs | tjbarnes23/BellDetectWpf | 0 | 7050464 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BellDetectWpf.Repository;
namespace BellDetectWpf.ViewModels
{
public partial class FFTVM
{
public async Task RunFFT()
{
d... |
src/Hilke.KineticConvolution/Double/ConvolutionHelper.cs | Admir-H/KineticConvolution | 0 | 7050465 | using System;
using System.Collections.Generic;
using System.Linq;
namespace Hilke.KineticConvolution.Double
{
internal static class ConvolutionHelper
{
public static IEnumerable<ConvolvedTracing> Convolve(
Tracing tracing1,
Tracing tracing2) =>
(tracing1, tracing2) ... |
ComicSans/Assets/Scripts/Projectiles/Boss/BossFollowProjectile.cs | FellowshipOfTheGame/comic-sans | 0 | 7050466 | <filename>ComicSans/Assets/Scripts/Projectiles/Boss/BossFollowProjectile.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using ComicSans.Player;
namespace ComicSans.Projectiles.Boss
{
[AddComponentMenu("Scripts/Projectiles/Boss/Follow")]
public class BossFollowProjectile : Proje... |
Assets/Design Patterns/Bytecode/Case Study 1 - Wizard Behaviour Scripting/SerializableInstruction.cs | enginoobz-academics/design-patterns-in-unity | 1 | 7050467 | using System;
using UnityEngine;
#if ODIN_INSPECTOR
using Sirenix.OdinInspector;
#else
using Enginooby.Attribute;
#endif
namespace BytecodePattern.Case1.Base1 {
[Serializable]
[InlineProperty]
// To script instructions on the Inspector
public class SerializableInstruction {
[SerializeField] private Instr... |
MvvmLightSample/View/MainWindow.xaml.cs | KKKKKKi/MvvmLight-Sample | 0 | 7050468 | namespace MvvmLightSample.View
{
using ViewModel;
/// <summary>
/// MainWindow.xaml 的交互逻辑
/// </summary>
public partial class MainWindow
{
public MainWindow()
{
InitializeComponent();
}
private MainViewModel Vm => DataContext as MainViewModel;
}... |
Assets/ProgressBar.cs | afr741/careeers-temporary | 0 | 7050469 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
using TMPro;
public class ProgressBar : MonoBehaviour
{
public float movementSpeed = 5.0f;
public float screenWidth = 1920;
// Start is called before the first frame update
void Star... |
hacks/hacks/features/ip/when_feature_is_split.cs | edblackburn/NDC-2016 | 0 | 7050470 | using blazey.features;
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using NUnit.Framework;
namespace hacks.features.ip
{
[TestFixture]
public class when_feature_is_split
{
[Test]
public void should_split_strategies()
{
var container = new WindsorContaine... |
Source/Stencil.Server/Plugins/Stencil.Plugins.RestApi/Controllers/AccountController.cs | DanMasterson1/stencil | 0 | 7050471 | using Stencil.Domain;
using Stencil.Primary.Mapping;
using Stencil.SDK;
using Stencil.SDK.Models.Requests;
using Stencil.SDK.Models.Responses;
using Stencil.Web.Security;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
namespace... |
WebArticleLibrary/Program.cs | Jahn08/WEB-ARTICLE-CORE | 0 | 7050472 | <gh_stars>0
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using WebArticleLibrary.Security;
namespace WebArticleLibrary
{
public class Program
{
public static void Main(string[] args)
{
CreateWebHostBuilder(args).Build().Run();
}
publ... |
src/CandidateManager.Core/FlowIngest.cs | pkskelly/CandidateManager | 0 | 7050473 | <filename>src/CandidateManager.Core/FlowIngest.cs
namespace CandidateManager.Core
{
public class FlowIngest
{
public string FlowId { get; set; }
public string Company { get; set; }
public string Recruiter { get; set; }
public string FileName { get; set; }
public string Bo... |
Src/Tests/Services/Comparers/PrvToPubComparerTests.cs | aussiehash/FinderOuter | 2 | 7050474 | <filename>Src/Tests/Services/Comparers/PrvToPubComparerTests.cs
// The FinderOuter
// Copyright (c) 2020 Coding Enthusiast
// Distributed under the MIT software license, see the accompanying
// file LICENCE or http://www.opensource.org/licenses/mit-license.php.
using FinderOuter.Services.Comparers;
using System.Colle... |
KafkaIntegrationSite/KafkaIntegrationSite/Controllers/KafkaController.cs | AmitKumar-AK/Sitecore-Kafka-Integration | 0 | 7050475 | <reponame>AmitKumar-AK/Sitecore-Kafka-Integration
using System.Web.Mvc;
using CT.SC.Foundation.Kafka.Models;
using KafkaIntegrationSite.Repositories;
using Newtonsoft.Json.Linq;
namespace KafkaIntegrationSite.Controllers
{
public class KafkaController : Controller
{
private IKafkaRepository kafkaRepo... |
Demos/AutoTilingDemo.cs | c272/MLEM | 0 | 7050476 | <filename>Demos/AutoTilingDemo.cs<gh_stars>0
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using MLEM.Extensions;
using MLEM.Graphics;
using MLEM.Startup;
using MLEM.Textures;
namespace Demos {
/// <summary>
/// This is a demo for <see cref="AutoTiling"/>.
/// </summary>
public... |
SparksMusic.Library/Chord.cs | davidsonbrsilva/transposer | 2 | 7050477 | <filename>SparksMusic.Library/Chord.cs
using SparksMusic.Library.Utils;
using System;
using System.Text.RegularExpressions;
namespace SparksMusic.Library
{
/// <summary>
/// Chord class
/// </summary>
public class Chord : IEquatable<Chord>
{
/// <summary>
/// Chord note
///... |
src/TrayAppTest/TestConfiguration.cs | stever/Windar | 2 | 7050478 | using System;
using System.IO;
using System.Reflection;
using log4net;
using NUnit.Framework;
using Windar.ErlangTermsParser;
using Windar.TrayApp.Configuration;
namespace Windar.TrayApp
{
[TestFixture]
public class TestConfiguration
{
#region Test support code
static reado... |
Source/Ginger.Contracts/MessageRecord.cs | Sufflavus/Waffle | 0 | 7050479 | <reponame>Sufflavus/Waffle<filename>Source/Ginger.Contracts/MessageRecord.cs
using System;
namespace Ginger.Contracts
{
public class MessageRecord
{
public DateTime? CreateDate { get; set; }
public Guid? Id { get; set; }
public bool IsDelivered { get; set; }
pu... |
Object-Oriented Programming/Defining Classes/Problem-3-PcCatalog/Computer.cs | beBoss/SoftUni | 1 | 7050480 | <reponame>beBoss/SoftUni
namespace Problem_3_PcCatalog
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
public class Computer
{
private string name;
private List<Componen... |
wave/lunar_lander/SharedSource/Main/D3/Components/CameraRoulette.cs | PlainConcepts/ARLIE | 9 | 7050481 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using WaveEngine.Common.Attributes;
using WaveEngine.Framework;
using WaveEngine.Framework.Graphics;
using WaveEngine.Framework.Services;
namespace RLEnvs.D3.Components
{
[DataContract]
pu... |
Areas/CoffeePot/Pages/Index.cshtml.cs | kylescudder/FilmPot | 0 | 7050482 | <reponame>kylescudder/FilmPot
using System;
using System.Collections.Generic;
using System.Data;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
//using MySqlConnector;
using static Dat... |
src/Persistence/BasicModel/Item.custom.cs | psydox/OpenMU | 351 | 7050483 | // <copyright file="Item.custom.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.Persistence.BasicModel
{
/// <summary>
/// Extended <see cref="Item"/> to implement <see cref="CloneItemOptionLi... |
src/Qwiq.Core/Exceptions/TransientException.cs | rjmurillo/Qwiq | 0 | 7050484 | <reponame>rjmurillo/Qwiq
using System;
using System.Diagnostics;
using System.Runtime.Serialization;
namespace Qwiq.Exceptions
{
[Serializable]
[DebuggerStepThrough]
public class TransientException : Exception
{
public TransientException(string message, Exception innerException)
: b... |
NeuroGamejam2019/Assets/Scripts/WealthBar.cs | vmlobo/survivAll | 0 | 7050485 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class WealthBar : MonoBehaviour
{
public Image currentbar;
public float CurrValue;
public float MaxValue = 100;
// Start is called before the first frame update
private void Start()
{... |
test/DynamoCoreWpfTests/WorkspaceGeneralOperations.cs | wilsonunitedconsult/try | 22 | 7050486 | <gh_stars>10-100
using System.Linq;
using NUnit.Framework;
using Dynamo.Selection;
using System.IO;
using Dynamo.Graph.Nodes.ZeroTouch;
using Dynamo.Graph.Workspaces;
namespace Dynamo.Tests
{
public class WorkspaceGeneralOperations : DynamoViewModelUnitTest
{
[Test]
public void SwitchingToCust... |
Controllers/SessionController.cs | Scharkee/netcore-postgres-oauth-boiler | 64 | 7050487 | <filename>Controllers/SessionController.cs
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using netcore_postgres_oauth_boiler.Models;
using netcore_po... |
Process/ProcessList/Program.cs | toydev/ExampleCSharp | 84 | 7050488 | <filename>Process/ProcessList/Program.cs
using System;
using System.Diagnostics;
namespace ProcessList
{
class Program
{
static void Main(string[] args)
{
foreach (Process process in Process.GetProcesses())
{
int processId = process.Id;
... |
InterpolSystem.Data/EntitiesConfigurations/LanguagesMissingConfiguration.cs | stefanMinch3v/InterpolSystem | 7 | 7050489 | <reponame>stefanMinch3v/InterpolSystem
namespace InterpolSystem.Data.EntitiesConfigurations
{
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Models;
public class LanguagesMissingConfiguration : IEntityTypeConfiguration<LanguagesMissing>
{
... |
src/TerminalVelocity/Terminal/Events/TerminalOpenedEvent.cs | jcdickinson/tv | 5 | 7050491 | <reponame>jcdickinson/tv
/* Copyright (c) <NAME> and contributors. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
using System;
using TerminalVelocity.Eventing;
namespace TerminalVelocity.Terminal.Events
{
[Event]
public sealed class TerminalOpene... |
ReRabbit/tests/UnitTests/Subscribers/AutoRegistrator/AutoRegistratorTests.cs | mt89vein/ReRabbit | 3 | 7050492 | using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
using ReRabbit.Extensions;
using ReRabbit.Extensions.Registrator;
using ReRabbit.Subscribers.Consumers;
using ReRabbit.Subscribers.Exceptions;
using ReRabbit.Subscribers.Middlewares;
using ReRabbit.UnitTests.Subscribers.AutoRegistrator.ConsumersWith... |
Artemis/Artemis.Web/Server/Employee/Controllers/EmployeeController.cs | joro550/Artemis | 0 | 7050493 | <filename>Artemis/Artemis.Web/Server/Employee/Controllers/EmployeeController.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using Artemis.Web.Server.Users.Models;
using Artemis.Web.Shared.Employee;
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
usin... |
FreelanceTech/Models/SqlProposalRepository.cs | Balak5/FreelanceTech | 0 | 7050494 | <filename>FreelanceTech/Models/SqlProposalRepository.cs
using FreelanceTech.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FreelanceTech.Models
{
public class SqlProposalRepository : IProposalRepository
{
private readonly ApplicationDbC... |
src/PetClinic/PetClinic.Infrastructure/Persistence/MedicalRecords/ClientRepository.cs | stefanMinch3v/DomainDrivenDesignArchitecture | 1 | 7050495 | <gh_stars>1-10
namespace PetClinic.Infrastructure.Persistence.MedicalRecords
{
using Application.MedicalRecords;
using Application.MedicalRecords.Queries.AllClients;
using Application.MedicalRecords.Queries.ClientDetails;
using Application.MedicalRecords.Queries.Common;
using AutoMapper;
using ... |
DiabloCms.UseCases/Services/Payments/PaymentsService.cs | eldiablo-1226/Diablo-Cms-Ecommerce | 0 | 7050496 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using DiabloCms.Entities.Models;
using DiabloCms.Models.RequestModel.Payments;
using DiabloCms.Models.ResponseModel.Payments;
using DiabloCms.MsSql;
using DiabloCms.Shared;
using DiabloCms.Shared.ConstCon... |
MARS geofencing/Library/PackageCache/com.unity.mars-nav-mesh@1.3.1/Tests/Runtime/MARSNavMeshTests.cs | bsides44/MARSGeofencing | 0 | 7050497 | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit;
namespace Unity.MARS.NavMesh.Tests
{
class NavMeshTests
{
[Test]
public void NavMesh_Tests()
{
Assert.IsTrue(true);
}
}
}
|
csharp/HttpModules/MoviesModule.cs | mandm-pt/languages | 1 | 7050498 | <filename>csharp/HttpModules/MoviesModule.cs
using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.Data.Sqlite;
namespace languages.HttpModules
{
internal class MoviesModule : BaseModule
{
const string Path = "/Movies";
const string ParamName = "id";
protected o... |
Rafy/Rafy/Env/MetaModel/Meta/Entity/TreeIndexOption.cs | zgynhqf/trunk | 0 | 7050499 | /*******************************************************
*
* 作者:胡庆访
* 创建时间:20120210
* 说明:此文件只包含一个类,具体内容见类型注释。
* 运行环境:.NET 4.0
* 版本号:1.0.0
*
* 历史记录:
* 创建文件 胡庆访 20120210
*
*******************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using Syste... |
W3CValidationTasks/RegexReplaceTask.cs | ngeor/w3c-nant | 0 | 7050500 | using NAnt.Core;
using NAnt.Core.Attributes;
using System.Text.RegularExpressions;
namespace W3CValidationTasks
{
/// <summary>
/// Replaces text inside a file using a regular expression.
/// </summary>
/// <example>
/// <code>
/// <regexreplace
/// file="AssemblyInfo.cs"
/// tofile="AssemblyInfo.new.... |
Bonsai.Editor/MainForm.cs | bonsai-rx/bonsa | 67 | 7050502 | using System;
using System.Linq;
namespace Bonsai.Editor
{
[Obsolete]
public class MainForm : EditorForm
{
public MainForm(
IObservable<IGrouping<string, WorkflowElementDescriptor>> elementProvider,
IObservable<TypeVisualizerDescriptor> visualizerProvider)
: bas... |
NetPrints/Core/ConstructorSpecifier.cs | hamerstandr/netprints | 0 | 7050503 | <filename>NetPrints/Core/ConstructorSpecifier.cs<gh_stars>0
using NetPrints.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace NetPrints.Core
{
[Serializable]
public cl... |
A0100_Database/A0100_MySQL/Sample/TestParam.cs | wangzhiqing999/my-dotnetcore-sample | 0 | 7050504 | using System;
using System.Collections.Generic;
using System.Text;
using MySql.Data;
using MySql.Data.MySqlClient;
namespace A0100_MySQL.Sample
{
class TestParam
{
private const string SelectSql = @"SELECT id, a, b, c FROM test_abc WHERE id = ?id";
private const string SelectLikeSql = @"SE... |
Utilities/Utilities/AOP/BaseWrapper.cs | nbouilhol/bouilhol-lib | 2 | 7050505 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Dynamic;
using System.Linq;
using System.Reflection;
namespace Utilities.AOP
{
public abstract class BaseWrapper<T> : DynamicObject where T : class
{
private readonly T _source;
priv... |
Src/WISA/GDPR-AspNetCore21/Gdpr.UI.WebApp/Pages/Contact.cshtml.cs | wpqs/AutoGDPR | 0 | 7050506 | <reponame>wpqs/AutoGDPR<filename>Src/WISA/GDPR-AspNetCore21/Gdpr.UI.WebApp/Pages/Contact.cshtml.cs
using Gdpr.UI.WebApp.Pages.Shared;
using Microsoft.AspNetCore.Mvc;
namespace Gdpr.UI.WebApp.Pages
{
public class ContactModel : BasePageModel
{
public IActionResult OnGet()
{
SetPageS... |
APS_4/APS_4.Model/Entities/OrderingEntity.cs | elainemattos/aps-quarto-semestre | 0 | 7050507 | namespace APS_4.Model.Entities
{
public class OrderingEntity
{
public int[] NumberList { get; set; }
public double Time { get; set; } = 0;
public int Moves { get; set; } = 0;
}
}
|
LearningSystem-master/LearningSystem/LearningSystem.Web/Controllers/PaymentsController.cs | EmORz/Simple_Example_Projects | 3 | 7050508 | namespace LearningSystem.Web.Controllers
{
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using LearningSystem.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Models.Course;
using Services.Student;
... |
Golf.Models/HomeClub.cs | judgie79/iGolfTournament | 0 | 7050509 | <filename>Golf.Models/HomeClub.cs<gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Golf.Tournament.Models
{
public class HomeClub
{
[JsonProperty("_id")]
[Required]
... |
smartadmin-core-urf/src/SmartAdmin.WebUI/Controllers/RoleMenusController.cs | neozhu/smartadmin.core.urf | 103 | 7050510 | using System.Collections.Generic;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using SmartAdmin.Dto;
using SmartAdmin.Service;
using Sm... |
src/executable/BEditor.Avalonia/Views/StartWindow.axaml.cs | tomo0611/BEditor | 0 | 7050511 | using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using BEditor.Models;
namespace BEditor.Views
{
public sealed class StartWindow : FluentWindow
{
private readonly TabControl _tabControl;
public StartWindow()
{
InitializeComponent();
... |
OpenCvLabs/OpenCvLabs/Form1.Designer.cs | ValentynYatsiuk/OpenCv-practice | 0 | 7050512 |
namespace OpenCvLabs
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param ... |
Samples/SampleBrowser/ProductSamples/SharedSamples/QuickStart/UserPromptIntro/MainControl.xaml.cs | Actipro/WPF-Controls | 40 | 7050513 | using ActiproSoftware.ProductSamples.SharedSamples.Common;
using ActiproSoftware.SampleBrowser;
using ActiproSoftware.Windows.Controls;
using ActiproSoftware.Windows.Input;
using ActiproSoftware.Windows.Media;
using ActiproSoftware.Windows.Themes;
using ActiproSoftware.Windows.Themes.Generation;
using System;
using Sys... |
CSFixedPoint/FPTanLut/FPTanLut_61440.cs | aillieo/CSFixedPoint | 1 | 7050514 | namespace AillieoUtils.CSFixedPoint {
internal static class FPTanLut_61440 {
internal static fp[] table = new fp[] {
fp.CreateWithRaw(43607534765), // 10.1531703876088
fp.CreateWithRaw(43618252461), // 10.1556657957749
fp.CreateWithRaw(43628975377), // 10.1581624190792
... |
Backendless/WebORB/Util/IArgumentObjectFactory.cs | felenko/testBackEndlessSDK | 18 | 7050515 | using System;
using System.Collections;
using Weborb.Types;
namespace Weborb.Util
{
public interface IArgumentObjectFactory
{
object createObject( IAdaptingType argument );
}
}
|
Tests/Initium.Portal.Tests/Domain/CommandHandlers/UserAggregate/PasswordResetCommandHandlerTests.cs | DeviousCreation/stance | 0 | 7050516 | <reponame>DeviousCreation/stance<gh_stars>0
// Copyright (c) Project Initium. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Initium.P... |
CSharpToTypescriptConverter.Test/MemberProviderTest.cs | dotjpg3141/CSharpToTypescriptConverter | 0 | 7050517 | using System;
using System.Linq;
using CSharpToTypescriptConverter.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CSharpToTypescriptConverter.Test
{
[TestClass]
public class MemberProviderTest
{
[TestMethod]
public void GetClassPublicPropertyTest()
{
var provider = new MemberPro... |
WmcSoft.Core/Collections/Generic/Algorithms/FinderExtensions.cs | vjacquet/WmcSoft | 3 | 7050518 | <filename>WmcSoft.Core/Collections/Generic/Algorithms/FinderExtensions.cs
#region Licence
/****************************************************************************
Copyright 1999-2016 <NAME>. All rights reserved.
Permission is granted to anyone to use this software for any purpose on
any compu... |
Speedioc/Core/RegistrationMetadata.cs | wade/Speedioc | 1 | 7050519 | <gh_stars>1-10
using System;
using Speedioc.Registration.Core;
namespace Speedioc.Core
{
/// <summary>
/// Extended registration data that is used during container registration.
/// </summary>
public class RegistrationMetadata : IRegistrationMetadata
{
private readonly Lazy<string> _createInstanceMet... |
Estellaris.EF/Mapper.cs | feuerwelt/estellaris | 0 | 7050520 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reflection;
using Estellaris.Core.Extensions;
using Estellaris.EF.Interfaces;
using Microsoft.EntityFrameworkCore;
namespace Estellaris.EF {
public static class Mapper {
static readonly ICollecti... |
AppConfigurator/UserControls/ColorPickerUserControl.xaml.cs | MateuszZiemba/AppConfigurator | 0 | 7050521 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
Controllers/PostController.cs | xgluxv/9efishblog | 0 | 7050522 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using System.IO;
namespace MyBlog.Controllers
{
public class PostController : Controller
{
public IActionResult Index(string slug)
{
var fileName = Path.C... |
LayeredShop/LayeredShop.DataAccess/Data/Repository/UnitOfWork.cs | farhadmpr/LayeredShop | 1 | 7050523 | <reponame>farhadmpr/LayeredShop<gh_stars>1-10
using LayeredShop.DataAccess.Data.Repository.IRepository;
using LayeredShop.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace LayeredShop.DataAccess.Data.Repository
{
public class UnitOfWork : IUnitOfWork
{
private readon... |
Tests/XMLTests.cs | SMazu/JSIL | 980 | 7050524 | <reponame>SMazu/JSIL
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading;
using JSIL.Internal;
using NUnit.Framework;
namespace JSIL.Tests {
[TestFi... |
src/Orleans.Runtime/Configuration/Options/ActivationCountBasedPlacementOptions.cs | JohnDebono/orleans | 9,108 | 7050525 | <reponame>JohnDebono/orleans<filename>src/Orleans.Runtime/Configuration/Options/ActivationCountBasedPlacementOptions.cs<gh_stars>1000+
using Microsoft.Extensions.Options;
using Orleans.Runtime;
namespace Orleans.Configuration
{
/// <summary>
/// Settings which regulate the placement of grains across a cluster ... |
src/Nest/Requests.Migration.cs | coderIML/elasticsearch-net | 2 | 7050526 | // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
// -----------... |
Controllers/v1/ProfileController.cs | AhmedKhalil777/TavssOnContainers.Identity | 0 | 7050527 | <reponame>AhmedKhalil777/TavssOnContainers.Identity<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Identity.Api.Contracts.V1.Responses;
using Identity.Api.Domain;
using Identity.Api.V1.Contracts;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetC... |
GGJ2015/Assets/Scripts/Enemies/BatEnemyMovement.cs | Split82/HMGGJ2015 | 0 | 7050528 | <reponame>Split82/HMGGJ2015<gh_stars>0
using UnityEngine;
using System.Collections;
[RequireComponent (typeof(Rigidbody2D))]
public class BatEnemyMovement : MonoBehaviour {
private Rigidbody2D _rigidBody2D;
public float _checkInterval = 0.1f;
public float _followSpeed = 10f;
public float _attackSpeed = 50f;
p... |
LanguageBuilder/LanguageBuilder.Data/Models/Word.cs | peter-stoyanov/ASP.NET-Core-MVC | 0 | 7050530 | <reponame>peter-stoyanov/ASP.NET-Core-MVC
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using static LanguageBuilder.Data.DataConstants;
namespace LanguageBuilder.Data.Models
{
public class Word : BaseEntity<int>
{
[MaxLength(WORD_GENDER_MAX_LENGTH)]
public st... |
tests/LineBot.Tests/Signature/SignatureValidatorTests/TheConstructor.cs | dlemstra/line-bot-sdk-dotnet | 37 | 7050531 | // Copyright <NAME> (https://github.com/dlemstra/line-bot-sdk-dotnet).
// Licensed under the Apache License, Version 2.0.
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Line.Tests.Signature
{
public partial class SignatureValidatorTests
{
[TestClass]
public class TheConstructor... |
Semanticer.Classifier/Transformers/Doc2Vec/Doc2VecTransformer.cs | wjch-krl/Semanticer | 1 | 7050532 | <reponame>wjch-krl/Semanticer<gh_stars>1-10
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Semanticer.Common.Utils;
using SemanticerDoc2VecWrapper;
namespace Semanticer.Classifier.Transformers.Doc2Vec
{
public class Doc2VecTransformer : ITextTransformer
{
private readonly ... |
app/Pomona.Common/Proxies/LazyProxyBase.cs | Pomona/Pomona | 17 | 7050533 | #region License
// Pomona is open source software released under the terms of the LICENSE specified in the
// project's repository, or alternatively at http://pomona.io/
#endregion
using System;
using Pomona.Common.Loading;
namespace Pomona.Common.Proxies
{
public class LazyProxyBase : IHasResourc... |
Assets/Scripts/ScriptableObjects/AIModel.cs | Antonio-Iliev/2D-Jumper | 0 | 7050535 | <gh_stars>0
using UnityEngine;
namespace Assets.Scripts.ScriptableObjects
{
[CreateAssetMenu(fileName = "AIModel", menuName = "ScriptableObjects/Models/AI Model", order = 1)]
public class AIModel : ScriptableObject
{
[Tooltip("Set min and max value for character reaction time.")]
[Serializ... |
source/app/NAntExtensions.TeamCity.Common/Helper/FileSetHelper.cs | alanta/nant-extensions | 0 | 7050536 | <gh_stars>0
using System.Collections.Generic;
using NAnt.Core.Types;
namespace NAntExtensions.TeamCity.Common.Helper
{
public static class FileSetHelper
{
public static IEnumerable<string> Flatten(FileSet[] fileSets)
{
Ensure.ArgumentIsNotNull(fileSets, "fileSets");
foreach (FileSet assemblyS... |
Ceen.PaaS/Services/AdminHelper.cs | Peckmore/ceenhttpd | 45 | 7050537 | <gh_stars>10-100
using System.Data;
using System.Threading.Tasks;
using Ceen.Database;
namespace Ceen.PaaS.Services
{
public static class AdminHelper
{
/// <summary>
/// Checks if the user is an admin
/// </summary>
/// <param name="db">The database connection</param>
//... |
Development/Adapters/Samples/SharePointAdapter/WSS VC/SharePointVCMigrationItemSerializer.cs | adamdriscoll/TfsIntegrationPlatform | 6 | 7050538 | //------------------------------------------------------------------------------
// <copyright file="SharePointVCMigrationItemSerializer.cs" company="Microsoft Corporation">
// Copyright © Microsoft Corporation. All Rights Reserved.
// </copyright>
//
// This code released under the terms of the
// Microsoft ... |
FasterflectTest/Invocation/ArrayTest.cs | ffhighwind/Fasterflect | 18 | 7050539 | <filename>FasterflectTest/Invocation/ArrayTest.cs
#region License
// Copyright 2010 <NAME>, <NAME>
//
// 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/licen... |
WebAPI/Views/Documentation/InvocationList.cshtml | TakoLoka/Beholder.WebAPI | 0 | 7050540 | @model IEnumerable<WebAPI.Models.Documentation.Invocation>
<table class="table table-bordered">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.MethodName)
</th>
<th>
@Html.DisplayNameFor(model => model.Description)
</th... |
Plugins/LicenseVerifier/LicensingOn.cs | timgaunt/resizer | 480 | 7050541 | <filename>Plugins/LicenseVerifier/LicensingOn.cs<gh_stars>100-1000
// Copyright (c) Imazen LLC.
// No part of this project, including this file, may be copied, modified,
// propagated, or distributed except as permitted in COPYRIGHT.txt.
// Licensed under the GNU Affero General Public License, Version 3.0.
// Commercia... |
MiFloraGateway/Sensors/ReadBatteryAndFirmwareCommand.cs | AnderssonPeter/MiFloraSwarm | 8 | 7050542 | <gh_stars>1-10
using System;
using System.Threading;
using System.Threading.Tasks;
using Hangfire;
using Hangfire.Console.Extensions;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using MiFloraGateway.Database;
using MiFloraGateway.Devices;
namespace MiFloraGateway.Sensors
{
public clas... |
MiniSqlParser/Visitors/SetPlaceHoldersVisitor.cs | hiro80/miniSqlParser | 22 | 7050543 | using System.Collections.Generic;
using System.ComponentModel;
using System.Collections.ObjectModel;
namespace MiniSqlParser
{
/// <summary>
/// プレースホルダに値を適用する
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
abstract public class SetPlaceHoldersVisitor : Visitor
{
private read... |
ModEnfasisPlus/Runtime/DaNTe/QuantificationMode.cs | ANamelessWolf/RivieraModulador | 0 | 7050544 | namespace DaSoft.Riviera.OldModulador.Runtime.DaNTe
{
public enum QuantificationMode
{
None = -1,
CVS = 0,
Access = 1,
ORACLE = 2,
BASIC = 3
}
}
|
Source/MvvmKit/Tools/Immutables/Fluent/Internal Interfaces/IListModifier.cs | kobi2294/MvvmKit | 5 | 7050545 | <reponame>kobi2294/MvvmKit<filename>Source/MvvmKit/Tools/Immutables/Fluent/Internal Interfaces/IListModifier.cs
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MvvmKit.Tools.Immutables.Fluent
{
intern... |
Tools.CSVParser/Statics/DateTimePatterns.cs | chkam05/DotNetTools.CSVParser | 0 | 7050546 | using System;
using System.Collections.Generic;
using System.Text;
namespace chkam05.DotNetTools.CSVParser.Statics
{
class DateTimePatterns
{
public static readonly List<string> Dates = new List<string>()
{
"dd MM yyyy",
"MM dd yyyy",
"dd M yyyy",
... |
Allergies/Models/Allergies.cs | louiesch/allergy-score | 0 | 7050547 | using System;
using System.Collections.Generic;
namespace Allergies.Models
{
public class AllergyScore
{
public string Score { get; set; }
public string GetAllergyScore(int score)
{
if (score < 1)
{
return string.Empty;
}
else if (score > 255)
{
return "... |
MediatR.Extensions.Autofac.Tests/DecoratorOne.cs | AdaskoTheBeAsT/MediatR.Extensions | 0 | 7050548 | <gh_stars>0
using System.Threading.Tasks;
namespace MediatR.Extensions.Autofac.Tests
{
using System.Threading;
public class DecoratorOne<TRequest, TResponse>
: IRequestHandler<TRequest, TResponse>
where TRequest : IRequestWithMessage<TResponse>
{
private readonly IRequestHandler<T... |
test/HedwigTests/Helpers/AuthorizationRequirementHelper.cs | ctoec/ecis-experimental | 4 | 7050549 | <filename>test/HedwigTests/Helpers/AuthorizationRequirementHelper.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Hedwig.Data;
using Hedwig.Models;
namespace HedwigTests.Helpers
{
public class AuthorizationRequirementHelper
{
p... |
Responses/MatrixEventsRoom.cs | xafero/MatrixAPI | 46 | 7050550 | <reponame>xafero/MatrixAPI
using System.Runtime.Serialization;
namespace libMatrix.Responses
{
[DataContract]
public class MatrixEventRoomLeft
{
[DataMember(Name = "state")]
public MatrixSyncEvents State { get; set; }
}
[DataContract]
public class MatrixEventRoomJoined
{
... |
Exercicios/iniciante/1074_ParOuImpar.cs | douglas-ssouza/UriCode-Exercicios | 1 | 7050551 | <gh_stars>1-10
using System;
namespace ParOuImpar
{
class Program
{
static void Main(string[] args)
{
int n = Convert.ToInt32(Console.ReadLine());
int valor;
for (int i = 0; i < n; i++)
{
valor = Convert.ToInt32(Console.ReadLine()... |
Backend/Photo.Infrastructure.EFPersistency/Migrations/PhotoDbContextModelSnapshot.cs | DanielCarbajal314/NetAngularDockerExample | 1 | 7050552 | <reponame>DanielCarbajal314/NetAngularDockerExample
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Photo.Infrastructure.EFPersis... |
FemDesign.Examples/C#/Example 2 - Analysing a model/Program.cs | AmalieRask131/femdesign-api | 0 | 7050553 | <filename>FemDesign.Examples/C#/Example 2 - Analysing a model/Program.cs
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FemDesign;
namespace FemDesign.Examples
{
internal class Program
{
static void Main()
... |
TankLib/STU/Types/STUEnlightenData.cs | prophetl33t/OWLib | 226 | 7050554 | // Generated by TankLibHelper
// ReSharper disable All
namespace TankLib.STU.Types
{
[STU(0x5CEF8CD7, 64)]
public class STUEnlightenData : STU_39091531
{
[STUField(0x7B96A4EA, 48)] // size: 16
public teStructuredDataAssetRef<STUTexture> m_7B96A4EA;
}
}
|
src/Infrastructure/Repositories/BrandRepository.cs | zoldacic/NoNonense | 0 | 7050555 | using NowWhat.Application.Interfaces.Repositories;
using NowWhat.Domain.Entities.Catalog;
namespace NowWhat.Infrastructure.Repositories
{
public class TagRepository : ITagRepository
{
private readonly IRepositoryAsync<Tag, int> _repository;
public TagRepository(IRepositoryAsync<Tag, int> repo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.