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 |
|---|---|---|---|---|
src/Griffin.Framework/Griffin.Core/Logging/Loggers/Filters/ExceptionsOnly.cs | campersau/Griffin.Framework | 166 | 7069807 | <reponame>campersau/Griffin.Framework
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Griffin.Logging.Loggers.Filters
{
/// <summary>
/// Only allow entries that got exceptions
/// </summary>
public class Exceptio... |
Blazorify/Blazorify/Client/Popper/Modifier.cs | faddiv/Misc | 0 | 7069808 | <filename>Blazorify/Blazorify/Client/Popper/Modifier.cs<gh_stars>0
namespace Blazorify.Client.Popper
{
public class Modifier
{
public string Name { get; set; }
public ModifierOptions Options { get; set; }
}
}
|
Application/DTOs/PublisherDTO.cs | Marcus-V-Freitas/WebScrapingGovData | 0 | 7069809 | namespace Application.DTOs
{
public class PublisherDTO : BaseEntityDTO
{
public string Type { get; private set; }
public string Name { get; private set; }
}
} |
src/Alopeyk.Net/Dto/UpdateOrder/UpdateOrderRequestDto.cs | amkherad/Alopeyk.Net | 1 | 7069810 | <filename>src/Alopeyk.Net/Dto/UpdateOrder/UpdateOrderRequestDto.cs<gh_stars>1-10
using Alopeyk.Net.Enums;
namespace Alopeyk.Net.Dto.UpdateOrder
{
public class UpdateOrderRequestDto
{
public string OrderId { get; set; }
public AlopeykTransportTypes TransportType { get; set; }
public b... |
src/Coddee.Core/Exceptions/ConfigurationExption.cs | Aghyad-Khlefawi/Coddee | 13 | 7069811 | <reponame>Aghyad-Khlefawi/Coddee<filename>src/Coddee.Core/Exceptions/ConfigurationExption.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
using System;
namespace Coddee
{
/// <summary>
/// An exception... |
Assets/Crayon/Scripts/Library/CrayonStateData.cs | afauch/goodearth-dev | 0 | 7069812 | // Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace Crayon
{
/// <summary>
/// Helper class that mirrors CrayonState and holds data in format that can be serialized and saved into presets.
/// </summary>
[System.Serializable]
public class Cra... |
UJCSystem/ITJakub.Web.Hub/Models/StaticTextViewModel.cs | RIDICS/ITJakub | 3 | 7069813 | using System;
using ITJakub.Web.Hub.Models.Type;
namespace ITJakub.Web.Hub.Models
{
public class StaticTextViewModel
{
public string Name { get; set; }
public string Scope { get; set; }
public string Text { get; set; }
}
public class EditStaticTextViewModel : StaticTextViewM... |
Legacy.Game/Game/MMGUI/CharacterScreen.cs | Albeoris/MMXLegacy | 10 | 7069815 | <reponame>Albeoris/MMXLegacy<filename>Legacy.Game/Game/MMGUI/CharacterScreen.cs<gh_stars>1-10
using System;
using Legacy.Core.Api;
using Legacy.Core.EventManagement;
using Legacy.Core.PartyManagement;
using Legacy.Game.IngameManagement;
using UnityEngine;
using Object = System.Object;
namespace Legacy.Game.MMGUI
{
[... |
src/Lykke.Job.ChainalysisHistoryExporter/Services/StartupManager.cs | LykkeCity/Lykke.Tools.ChainalysisHistoryExporter | 0 | 7069816 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Common.Log;
using Cronos;
using Hangfire;
using Lykke.Common.Log;
using Lykke.Job.ChainalysisHistoryExporter.Jobs;
using Lykke.Job.ChainalysisHistoryExporter.Reporting;
using Lykke.Job.ChainalysisHistoryExporter.Sett... |
server/RdtClient.Data/Data/DownloadData.cs | alexmckenley/rdt-client | 1 | 7069817 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using RdtClient.Data.Enums;
using RdtClient.Data.Models.Data;
namespace RdtClient.Data.Data
{
public interface IDownloadData
{
Task<IList<Download>> Get();
Task... |
aliyun-net-sdk-linkwan/LinkWAN/Transform/V20190301/ListGatewayTransferPacketsResponseUnmarshaller.cs | pengweiqhca/aliyun-openapi-net-sdk | 572 | 7069818 | <reponame>pengweiqhca/aliyun-openapi-net-sdk
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache ... |
DiscussionPlatform/Views/Profile/Index.cshtml | IvanMenshov/DiscussionPlatform | 1 | 7069819 | <reponame>IvanMenshov/DiscussionPlatform
@model DiscussionPlatform.Models.ApplicationUser.ProfileListModel
<div class="container body-content">
<div class="row sectionHeader">
<div class="sectionHeading">Просмотр пользователей</div>
</div>
<div class="row" id="platformIndexContent">
<table... |
DevTeam.Patterns/IoC/EmptyState.cs | DevTeam/patterns | 0 | 7069821 | namespace DevTeam.Patterns.IoC
{
/// <summary>
/// Represents empty state or value.
/// </summary>
public struct EmptyState
{
/// <summary>
/// Provides the default shared contract.
/// </summary>
public static readonly EmptyState Shared = new EmptyState();
}
} |
src/Core/Aggregates/RequestFakeAgg/Builders/ResponseBuilderType.cs | tiagor87/mrmime | 0 | 7069822 | namespace MrMime.Core.Aggregates.RequestFakeAgg.Builders
{
public static class ResponseBuilderType
{
public static string RequestReflect => "reflect-request";
public static string RequestMerge => "merge-request";
public static string ResponseCopy => "response-copy";
public static... |
src-server/QboxNext.Server.Domain/QboxRegistrationDetails.cs | StefH/QboxNext | 2 | 7069823 | <gh_stars>1-10
namespace QboxNext.Server.Domain
{
public class QboxRegistrationDetails
{
public bool IsRegistered { get; set; }
public bool FirmwareDownloadAllowed { get; set; }
public string Firmware { get; set; }
}
} |
Assets/Scripts/Singletons/SingletonReferences.cs | nicklamyeeman/Pooloulou | 0 | 7069824 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class SingletonReferences : MonoBehaviour
{
[SerializeField]
private MasterManager _masterManager;
private void Start()
{
DontDestroyOnLoad(gameObject);
}
}
|
dashboard-elite/JsInterop/JsInterop.cs | mhwlng/dashboard-elite | 3 | 7069825 | using dashboard_elite.Helpers;
using Microsoft.JSInterop;
using System.Windows;
namespace dashboard_elite.JsInterop
{
public static class InteropMouse
{
[JSInvokable]
public static void JsMouseUp()
{
try
{
Common.MainWindow.Dispatcher.Invoke(() =... |
source/VirtualHostsManager/EditWindow.Designer.cs | m-adamski/virtual-hosts-manager | 2 | 7069827 | namespace VirtualHostsManager
{
partial class EditWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
src/StoreLocator/StoreLocator.ApiFunc/StoresSearchFunction.cs | nianton/storelocator-demo | 0 | 7069828 | <reponame>nianton/storelocator-demo<gh_stars>0
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using StoreLocator.Domain;
using System;
using System.Threading.Tasks;
... |
System.ServiceModel/System/ServiceModel/Activation/VirtualPathExtension.cs | cnork/referencesource | 911 | 7069829 | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.ServiceModel.Activation
{
using System.ServiceModel.Diagnostics.Application;
public sealed class VirtualP... |
Grabacr07.KanColleViewer/ViewModels/NotStartedViewModel.cs | Guy-kun/KanColleViewer | 2 | 7069830 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Livet;
namespace Grabacr07.KanColleViewer.ViewModels
{
public class NotStartedViewModel : ViewModel
{
private static readonly NotStartedViewModel instance = new NotStartedViewModel();
public st... |
src/CSOMSampleOnPrem/ProvisioningEngine.cs | wulfland/SPOEmulators | 2 | 7069831 | using Microsoft.SharePoint.Client;
namespace CSOMSample
{
/// <summary>
/// A fake business logic object that depends on CSOM objects.
/// </summary>
public class ProvisioningEngine
{
public void SetDepartmentTitle(ClientContext context, Web web)
{
web.Title = "Departme... |
MW2 Statistics/MW2_Statistics_Dashboard/Database.cs | DJJA/MW2_Statistics | 1 | 7069832 | <filename>MW2 Statistics/MW2_Statistics_Dashboard/Database.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
namespace MW2_Statistics_Dashboard
{
public abstract class Database
{
// Root path exe
protected s... |
Client/Project-Titan-Client/Assets/Scripts/UI/Tooltips/TooltipManager.cs | steele123/Trials-Of-Titan | 0 | 7069833 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
public class TooltipManager : MonoBehaviour
{
public Tooltip[] tooltips;
private Dictionary<Type, Tooltip> tooltipTypes;
private int tooltipId = 0;
private Tooltip ... |
PrintControler/ViewModels/ShellViewModel.cs | take4blue/PrintControler | 1 | 7069834 | using PrintControler.Controler;
using PrintControler.Views;
using Prism.Commands;
using Prism.Interactivity.InteractionRequest;
using Prism.Mvvm;
using Prism.Regions;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Net;
namespace PrintControler.ViewModels {
internal class Sh... |
Web/Access2Justice.Api/Interfaces/IPersonalizedPlanBusinessLogic.cs | asaperski-gloriumtech/LegalNavigator | 13 | 7069835 | <gh_stars>10-100
using Access2Justice.Api.ViewModels;
using Access2Justice.Shared.Models;
using Microsoft.Azure.Documents;
using System;
using System.Threading.Tasks;
namespace Access2Justice.Api.Interfaces
{
public interface IPersonalizedPlanBusinessLogic
{
Task<PersonalizedPlanViewModel> GeneratePer... |
URSA.Core/Web/Mapping/MappingAttribute.cs | CharlesOkwuagwu/URSA | 15 | 7069836 | using System;
using System.Diagnostics.CodeAnalysis;
namespace URSA.Web.Mapping
{
/// <summary>Abstract of a mapping attribute.</summary>
[ExcludeFromCodeCoverage]
[SuppressMessage("Microsoft.Design", "CA0000:ExcludeFromCodeCoverage", Justification = "No testable logic.")]
public abstract class Mappin... |
AleRoe.HomematicIPApi/Model/Devices/Device.cs | AleRoe/HomematicIPApi | 0 | 7069837 | <filename>AleRoe.HomematicIPApi/Model/Devices/Device.cs
using AleRoe.HomematicIpApi.Json;
using AleRoe.HomematicIpApi.Model.Channels;
using Newtonsoft.Json;
using System;
using System.Runtime.Serialization;
namespace AleRoe.HomematicIpApi.Model.Devices
{
public abstract class Device : IDevice
{
[JsonP... |
ImageSetCompression/Algorithm.cs | Foxite/ImageSetCompression | 2 | 7069839 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using ImageSetCompression.Algorithms;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
namespace ImageSetCompression {
public abstract class Algorithm {
public static Algorithm Delta { get; } = new Delt... |
Controllers/AuthController.cs | Tdallau/mijn-recepten | 0 | 7069840 | <reponame>Tdallau/mijn-recepten<filename>Controllers/AuthController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using mijn_recepten.Contexts;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
using mijn_recepten.Services;
using mijn_recepten.Models;... |
VideoKlub/obj/Release/Package/PackageTmp/Views/Customers/CustomerForm.cshtml | levule/VideoKlub | 0 | 7069841 | @model VideoKlub.ViewModels.CustomerFormViewModel
@{
ViewBag.Title = "New";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Novi korisnik</h2>
@using (Html.BeginForm("Save", "Customers"))
{
@Html.ValidationSummary(true, "Unesite validne informacije u oznacena polja.")
<div class="form-group">
... |
Assets/Modules/AndroidSpeechPlugin/Scripts/SpeechToTextControllerDemo.cs | Roboy/ss18_PocketBoy | 0 | 7069842 | <reponame>Roboy/ss18_PocketBoy
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Pocketboy.SpeechPlugin
{
public class SpeechToTextControllerDemo : MonoBehaviour
{
[SerializeField]
private Button PromptSpeechInput;
... |
Infrastructure/ApplicationInsightsServiceCollectionExtensions.cs | Azure-Samples/Orleans-Cluster-on-Azure-Container-Apps | 0 | 7069844 | using Infrastructure;
using Microsoft.ApplicationInsights.Channel;
using Microsoft.ApplicationInsights.Extensibility;
namespace Infrastructure
{
public class ApplicationMapNodeNameInitializer : ITelemetryInitializer
{
public ApplicationMapNodeNameInitializer(string name)
{
Name = n... |
EmplSys.Data.Models/Position.cs | dirk-dagger-667/EmployeeManagement | 0 | 7069845 | namespace EmplSys.Data.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Common;
public class Position
{
private ICollection<Employee> employees;
public Position()
{
... |
Whois.Tests/Parsing/whois.dns.lu/lu/LuParsingTests.cs | thedaveCA/whois | 0 | 7069846 | using System;
using NUnit.Framework;
using Whois.Parsers;
namespace Whois.Parsing.Whois.Dns.Lu.Lu
{
[TestFixture]
public class LuParsingTests : ParsingTests
{
private WhoisParser parser;
[SetUp]
public void SetUp()
{
SerilogConfig.Init();
parser = n... |
src/AngleSharp.Css/Dom/FootnotePolicy.cs | ericmutta/AngleSharp.Css | 40 | 7069847 | namespace AngleSharp.Css.Dom
{
/// <summary>
/// Represents the selected footnote policy.
/// </summary>
public enum FootnotePolicy
{
/// <summary>
/// The user agent chooses how to render footnotes, and may
/// place the footnote body on a later page than the footnote
... |
src/Cadru.Data.Dapper/Configuration/DapperContextOptions.cs | scottdorman/cadru | 53 | 7069848 | <filename>src/Cadru.Data.Dapper/Configuration/DapperContextOptions.cs<gh_stars>10-100
//------------------------------------------------------------------------------
// <copyright file="DapperContextOptions.cs"
// company="<NAME>"
// library="Cadru">
// Copyright (C) 2001-2020 <NAME>.
// </copyright>
//
// <lice... |
Just An Electrician Sprites/Assets/Scripts/FusibleScript.cs | joanpous/Just-An-Electrician | 0 | 7069849 | <reponame>joanpous/Just-An-Electrician<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using UnityEngine;
public class FusibleScript : MonoBehaviour
{
[SerializeField]
private GameObject pickUpText;
[SerializeField]
AudioSource sonidoRecoger;
privat... |
Module 22 MetaProgramming and Reflections/Code Generators/ControllersGenerators/ControllerGenrratorInterface/ControllerActions.cs | mansoura-cis/DOTNET-Learning | 0 | 7069850 | <gh_stars>0
using System;
namespace ControllersGenerators.Attributes
{
[Flags]
public enum ControllerActions
{
List = 1,
Get = 2,
Post = 4,
Put = 8,
Delete = 16,
All = List | Get | Post| Put | Delete
}
}
|
GameServer/Program.cs | 01010100b/AoE2 | 1 | 7069851 | using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Text.Json;
namespace GameServer
{
class Program
{
static void Main(string[] args)
{
var settings = new Settings();
if (File.Exists(Path.Combine(AppDomain.Current... |
TryCatchFinally/Program.cs | elifkuus/CSharp-Programming | 1 | 7069852 | <filename>TryCatchFinally/Program.cs
using System;
namespace TryCatchFinally
{
class Program
{
static void Main(string[] args)
{
try
{
Console.WriteLine("Bir sayi giriniz: ");
int sayi=Convert.ToInt32(Console.ReadLine());
... |
ArtifactAPI.MatchHistory/Converters/GauntletToDisplayNameConverter.cs | JoshLmao/ArtifactAPI.MatchHistory | 10 | 7069853 | using ArtifactAPI.MatchHistory.Enums;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace ArtifactAPI.MatchHistory.Converters
{
class GauntletToDisplayNameConverter : IValueConverter
... |
MVCWebAppKenney/Views/Session/ListAllAnalysts.cshtml | tgkenney/FarmSolutionKenney | 0 | 7069854 | <filename>MVCWebAppKenney/Views/Session/ListAllAnalysts.cshtml<gh_stars>0
@using MVCWebAppKenney.Models.Analyst
@model IEnumerable<MVCWebAppKenney.Models.Analyst.Analyst>
@{
ViewData["Title"] = "List All Analysts";
}
<h1>@ViewData["Title"]</h1>
<h3>List All Analysts</h3>
<table class="table table-bordered tabl... |
08. Methods, Debugging and Troubleshooting Code - Exercises/17. Be Positive/StartUp.cs | thelad43/Programming-Fundamentals-SoftUni | 0 | 7069855 | <reponame>thelad43/Programming-Fundamentals-SoftUni
namespace _17.Be_Positive
{
using System;
using System.Collections.Generic;
using System.Linq;
public class StartUp
{
public static void Main()
{
var sequences = int.Parse(Console.ReadLine());
for (int i =... |
infrastructure/Shaman.Memory/EpisodeRepository.cs | ShamanKingg-Bota/ShamanKing | 0 | 7069856 | using System;
using System.Linq;
using ShamanKing;
namespace Shaman.Memory
{
public class EpisodeRepository : IEpisodeRepository
{
private readonly Episode[] episodes = new[]
{
new Episode(1, " 1 серия - Мальчик, танцующий с призраками"),
new Episode(2, " 2 серия - Ожид... |
BassUtils.UnitTests/IniSectionTests.cs | PhilipDaniels/BassUtils | 3 | 7069857 | <reponame>PhilipDaniels/BassUtils
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BassUtils.UnitTests
{
[TestClass]
public class IniSectionTests
{
[TestMethod]
public void C... |
ULFGMobile/ULFG.Core/Data/ItemManager/IChatManager.cs | DanielAlba96/ULFG | 0 | 7069858 | using System.Collections.ObjectModel;
using System.Threading.Tasks;
using ULFG.Core.Data.Item;
namespace ULFG.Core.Data.ItemManager
{
/// <summary>
/// Define las operaciones de la tabla Chats
/// </summary>
public interface IChatManager
{
/// <summary>
/// Borra todos los chats de... |
Assets/Scripts/State/BuildState/StateObjectBuilder.cs | mohmehdi/Automata | 6 | 7069859 | <filename>Assets/Scripts/State/BuildState/StateObjectBuilder.cs<gh_stars>1-10
using System;
using UnityEngine;
using UnityEngine.EventSystems;
public class StateObjectBuilder : MonoBehaviour
{
[SerializeField] private GameObject statePrefab =null;
private void Start()
{
BuildStateEvents.Instance.O... |
Arrowgene.KrazyRain.GameServer/Setting.cs | sebastian-heinz/Arrowgene.KrazyRain | 6 | 7069860 | <reponame>sebastian-heinz/Arrowgene.KrazyRain
using System.Net;
using System.Runtime.Serialization;
using Arrowgene.Networking.Tcp.Server.AsyncEvent;
namespace Arrowgene.KrazyRain.GameServer
{
[DataContract]
public class Setting
{
[IgnoreDataMember] public IPAddress ListenIpAddress { get; set; }
... |
src/NeatInput.Windows/Processing/Mouse/Steps/Wheel.cs | LegendaryB/NeatInput | 99 | 7069861 | using NeatInput.Windows.Events;
using NeatInput.Windows.Processing.Mouse.Enums;
namespace NeatInput.Windows.Processing.Mouse.Steps
{
internal class Wheel : IProcessingStep<MSLLHOOKSTRUCT, MouseEvent>
{
public ValueTransformation<MSLLHOOKSTRUCT, MouseEvent> Process(
ValueTransformation<MSLL... |
src/DotNet.Business/BaseItemDetails/BaseItemDetailsManager.Auto.cs | cuiwenyuan/DotNet.Util | 1 | 7069862 | //-----------------------------------------------------------------
// All Rights Reserved. Copyright (C) 2021, DotNet.
//-----------------------------------------------------------------
using System.Collections.Generic;
namespace DotNet.Business
{
using Model;
using Util;
/// <summary>
/// BaseIte... |
MVCContenido/Web/Controllers/OrganizationController.cs | ChristianAzofeifa/Prueba | 0 | 7069863 | using ApplicationCore.Services;
using Infraestructure.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Web;
using System.Web.Mvc;
using Web.Security;
namespace Web.Controllers
{
/// <summary>
/// https://www.c-sharpcorner.com/UploadFile/0c1bb2... |
FactorioToolkit.Blueprints/Model/Connection/ConnectionPoint.cs | crazycrank/FactorioToolkit | 0 | 7069864 | <reponame>crazycrank/FactorioToolkit
using Newtonsoft.Json;
namespace FactorioToolkit.Infrastructure.Model.Connection
{
public class ConnectionPoint
{
#pragma warning disable CS8618 // Non-nullable field is uninitialized.
[JsonProperty("red")]
public ConnectionData[]? Red { get; set; }
... |
src/Core/Domain/Common/Contracts/BaseEntity.cs | AppSlope/dotnet-webapi-boilerplate | 0 | 7069865 | using MassTransit;
namespace DN.WebApi.Domain.Common.Contracts;
public abstract class BaseEntity<T> : IEntity<T>
{
public T Id { get; protected set; } = default!;
public List<DomainEvent> DomainEvents = new();
}
public abstract class BaseEntity : BaseEntity<DefaultIdType>
{
protected BaseEntity() => ... |
KeepFitStore/KeepFitStore.Models/ViewModels/User/UpdateUserViewModel.cs | SonicTheCat/KeepFitStore | 1 | 7069866 | <reponame>SonicTheCat/KeepFitStore<filename>KeepFitStore/KeepFitStore.Models/ViewModels/User/UpdateUserViewModel.cs
namespace KeepFitStore.Models.ViewModels.User
{
public class UpdateUserViewModel
{
public string FullName { get; set; }
public string PhoneNumber { get; set; }
}
} |
Repositorios/ClientesRepositorio.cs | byobr/LocaCar | 0 | 7069867 | using Entidades;
using Fronteiras.Repositorios;
using System;
using System.Linq;
using Util.Ferramentas;
namespace Repositorios
{
public class ClientesRepositorio : IClientesRepositorio
{
private readonly Contexto _contexto;
public ClientesRepositorio(Contexto contexto)
{
... |
CircusGroupsBot/Services/Logger.cs | improbable-timporteous/CircusGroupsBotCSharp | 0 | 7069868 | <filename>CircusGroupsBot/Services/Logger.cs
using Discord;
using Discord.Commands;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace CircusGroupsBot.Services
{
public class Logger
{
public Task Log(LogMessage message)
{
if (message.Exception is CommandExcept... |
aspnet-core/src/InventoryManagementSystem.Application/ShopProducts/Dto/CreateShopProductDto.cs | farazahmed879/Inventory-Management-System | 0 | 7069869 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using Abp.Domain.Entities;
namespace InventoryManagementSystem.ShopProducts.Dto
{
public class CreateShopProductDto : Entity<long>
{
public string Description { get; set; }
public double WholeSaleRate { get; set; }
... |
src/03.app/01-Alabo.App.Share/OpenTasks/Enums/CardinalNumberType.cs | tongxin3267/alabo | 0 | 7069871 | using Alabo.Web.Mvc.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Alabo.App.Share.OpenTasks.Enums
{
/// <summary>
/// 分润基数类型
/// </summary>
[ClassProperty(Name = "分润基数类型")]
public enum CardinalNumberType
{
/// <summary>
/// 指定数额
/// </summar... |
AutoLoggerAttribute/SubmitApp/Models/Order.cs | WorkExperiements/AutoLogger | 0 | 7069872 | <reponame>WorkExperiements/AutoLogger<filename>AutoLoggerAttribute/SubmitApp/Models/Order.cs<gh_stars>0
namespace SubmitApp.Models
{
public class Order
{
public string OrderId { get; set; }
public string TransactionId { get; set; }
public Product Product { get; set; }
}
}
|
src/host/Controllers/authentication/UserController.cs | Breakable-Lime/Breakable-Lime-Core | 0 | 7069873 | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace BreakableLime.Host.Controllers.authentication
{
[ApiController]
[Route("user")]
public class UserController : ControllerBase
{
[HttpPost]
public Task<IActionResult> CreateUser()
{
t... |
tool_src/TileCutter/Processors/ImageHelper.cs | RenanMsV/SanMap | 42 | 7069874 | // SanMap
// Copyright 2015 <NAME>
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
// IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAG... |
Assets/Scripts/Other Functions/AsteroidBigPool.cs | Neron94/Asteroid | 0 | 7069875 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AsteroidBigPool
{
public ObjectPool<AsteroidView> AsteroidPool;
public AsteroidBigPool(int startCount, bool isExpandable, Transform parentObject, AsteroidView prefab)
{
AsteroidPool = new ObjectP... |
NumSharp/Backends/Default/Math/Default.Subtract.cs | SciSharp/NumSharp.Lite | 9 | 7069876 | <filename>NumSharp/Backends/Default/Math/Default.Subtract.cs
using System;
namespace NumSharp.Backends
{
public partial class DefaultEngine
{
public override NDArray Subtract(in NDArray lhs, in NDArray rhs)
{
switch (lhs.GetTypeCode)
{
#if _REGEN1
%foreach ... |
CovidSafe/CovidSafe.Entities/Geospatial/Coordinates.cs | covidsafe/backend | 24 | 7069877 | <reponame>covidsafe/backend
using System;
using CovidSafe.Entities.Validation;
using Newtonsoft.Json;
namespace CovidSafe.Entities.Geospatial
{
/// <summary>
/// Geographic location coordinates
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
[Serializable]
public ... |
Nvisibl.DataLibrary/Repositories/Repository.cs | ful-stackz/nvisibl | 0 | 7069878 | <filename>Nvisibl.DataLibrary/Repositories/Repository.cs<gh_stars>0
using Nvisibl.DataLibrary.Repositories.Interfaces;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Nvisibl.DataLibrary.Repo... |
src/NHSD.BuyingCatalogue.Identity.Api/Services/IRegistrationService.cs | nhs-digital-gp-it-futures/BuyingCatalogueIdentity | 1 | 7069879 | using System.Threading.Tasks;
namespace NHSD.BuyingCatalogue.Identity.Api.Services
{
/// <summary>
/// Defines operations for registering a new user.
/// </summary>
public interface IRegistrationService
{
/// <summary>
/// Asynchronously sends the initial e-mail to a user following... |
Programming with C#/Codes/Libraries/DSA/data-structures-csharp-master/data-structures-csharp/data-structures-csharp/SkipList/NullSkipNode.cs | elena-andonova/telerik-academy | 2 | 7069880 | using System;
using System.Collections.Generic;
namespace DataStructures.SkipListSpace
{
[Serializable]
public partial class SkipList<TKey, TValue> : IEnumerable<TValue>, ICollection<TValue>
where TKey : IComparable<TKey>
{
[Serializable]
private sealed class NullSkipNode<TKey,... |
src/FubuMVC.Diagnostics/Runtime/Assets/BasicAssetDiagnostics.cs | ketiko/fubumvc | 0 | 7069881 | using System;
using System.IO;
using FubuMVC.Core;
using FubuMVC.Core.Assets.Combination;
using System.Collections.Generic;
using FubuMVC.Core.Assets.Content;
using FubuMVC.Core.Assets.Files;
using FubuMVC.Core.Runtime;
using System.Linq;
namespace FubuMVC.Diagnostics.Runtime.Assets
{
public abstract... |
CodingProblems/Other/SquaresOfASortedArray.cs | LevYas/CodingProblems | 2 | 7069882 | using System.Collections.Generic;
using System.Linq;
namespace CodingProblems.Other;
// Given an integer array nums sorted in non-decreasing order, return an array of the squares
// of each number sorted in non-decreasing order.
// https://leetcode.com/problems/squares-of-a-sorted-array/
public class SquaresOfASorte... |
src/Team11/TygaSoft/SqlServerDAL/AutoCode/OrderItem.cs | qq283335746/Infoztc | 4 | 7069883 | <reponame>qq283335746/Infoztc
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using TygaSoft.IDAL;
using TygaSoft.Model;
using TygaSoft.DBUtility;
namespace TygaSoft.SqlServerDAL
{
public partial class OrderItem : IOrderItem
... |
ArcticFox.RPC/IService.cs | ZingBallyhoo/ArcticFox | 0 | 7069884 | <filename>ArcticFox.RPC/IService.cs
using System;
using System.Threading;
using System.Threading.Tasks;
namespace ArcticFox.RPC
{
public interface IService<TSocket>
{
ValueTask<object?> InvokeMethodHandler(TSocket socket, string method, ReadOnlySpan<byte> data, object? token, CancellationToken cancella... |
C# - Fundamentals/03. Arrays/p01 - ReverseArray/ReverseArray.cs | LevonTopakbashyan/SoftUni | 0 | 7069885 | namespace p01___ReverseArray
{
using System;
public class ReverseArray
{
public static void Main()
{
var numbersOfElements = int.Parse(Console.ReadLine());
var numbers = new int[numbersOfElements];
for (int i = 0; i < numbers.Length; i++)
{
... |
google/cloud/osconfig/agentendpoint/v1beta/google-cloud-osconfig-agentendpoint-v1beta-csharp/Google.Cloud.Osconfig.Agentendpoint.V1Beta/GuestPolicies.g.cs | googleapis/googleapis-gen | 7 | 7069886 | // <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/osconfig/agentendpoint/v1beta/guest_policies.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google... |
src/Cafe/Cafe.Waiter.Web.Tests/RunOncePerTestRun.cs | ronanmoriarty/cqrs-nu-tutorial | 0 | 7069887 | <reponame>ronanmoriarty/cqrs-nu-tutorial
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Cafe.Waiter.Web.Controllers;
using Microsoft.AspNetCore.Hosting.Internal;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions... |
dist/Ejercicio 7/Ejercicio7.cs | Sirikon/CFGS-R8 | 0 | 7069888 | using System;
using System.Text;
using System.IO;
namespace R8E7
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Concatenar ficheros de texto");
Console.WriteLine("Pásame dos ficheros y al final del primero añadiré el segundo");
Consol... |
tests/Sample/Customers/Domain/Events/Handlers/CustomerInsertDomainEventHandler.cs | vip32/Naos.Core | 10 | 7069889 | <gh_stars>1-10
namespace Naos.Sample.Customers.Domain
{
using Microsoft.Extensions.Logging;
using Naos.Foundation;
using Naos.Foundation.Domain;
public class CustomerInsertDomainEventHandler
: EntityInsertDomainEventHandler
{
public CustomerInsertDomainEventHandler(ILoggerFactory l... |
src/MahApps.Metro/Controls/MultiSelectionComboBox/AddingItemEventArgs.cs | kronic/MahApps.Metro | 8,016 | 7069890 | <reponame>kronic/MahApps.Metro
// 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;
using System.Globalization;
using System.Win... |
iBanFirst.NET.Tests/WalletsClientTests.cs | mrlund/iBanFirst.NET | 0 | 7069891 | <reponame>mrlund/iBanFirst.NET
using iBanFirst.NET.Clients;
using iBanFirst.NET.Entities;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace iBanFirst.NET.Tests
{
public class WalletsClientTests
{
[Fact]
public void CanIns... |
Grokking-Algorithms.Tests/GrokkingAlgorithms.Tests/Chapter7Test.cs | Egor-kl/Grokking-Algorithms | 1 | 7069892 | <filename>Grokking-Algorithms.Tests/GrokkingAlgorithms.Tests/Chapter7Test.cs
using Chapter_7;
using NUnit.Framework;
namespace GrokkingAlgorithms.Tests
{
class Chapter7Test
{
private readonly FindLowest find = new FindLowest();
[TestCase(ExpectedResult = "[a, 5], [b, 2], [fin, 6]")]
p... |
Textures/Light/Light.cs | mantis1262/MiASGK | 0 | 7069893 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Potok.Textures.Light
{
public abstract class Light
{
protected Float3 _position;
protected Float3 _ambient;
protected Float3 _diffuse;
protected Float3 ... |
source/OptimaJet.DWKit.StarterApplication/Models/UserRole.cs | garrett-hopper/appbuilder-portal | 24 | 7069894 | using System.ComponentModel.DataAnnotations.Schema;
using JsonApiDotNetCore.Models;
namespace OptimaJet.DWKit.StarterApplication.Models
{
public class UserRole : Identifiable
{
[HasOne("user", Link.None)]
public virtual User User { get; set; }
public int UserId { get; set; }
[HasOne("role", Link.... |
src/Services/Catalog/ReservationSystem.Catalog.Tests/AddService/IntegrationTests.cs | DawidMierzejewski/reservation-system | 0 | 7069895 | using System;
using System.Threading.Tasks;
using FluentAssertions;
using FluentValidation;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Moq;
using ReservationSystem.Base.Services.Identity;
using ReservationSystem.Base.Services.Outbox;
using ReservationSystem.Catalog.Core.Applic... |
src/_Authorization/Framework.Authorization.TestGenerate/ServerGenerators.Initialize.cs | Luxoft/BSSFramework | 18 | 7069896 | using System;
namespace Framework.Authorization.TestGenerate
{
public partial class ServerGenerators : GeneratorsBase
{
protected readonly ServerGenerationEnvironment Environment;
public ServerGenerators()
: this(ServerGenerationEnvironment.Default)
{
}
... |
src/MoveTo/TargetController.cs | ksasao/MoveTo | 4 | 7069897 | <reponame>ksasao/MoveTo<filename>src/MoveTo/TargetController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Diagnostics.Contracts;
using System.Runtime.InteropServices;
using Microsoft.VisualBasic.FileIO;
namespace MoveTo
{
/// <summary>
/// ファイル・フォルダの生成、検索... |
ClientApp.Cli/ShellAppContext.cs | mtebenev/mediafiles | 0 | 7069898 | using System;
using System.Threading.Tasks;
using McMaster.Extensions.CommandLineUtils;
using Mt.MediaFiles.AppEngine.Cataloging;
using Mt.MediaFiles.AppEngine.CatalogStorage;
using Mt.MediaFiles.AppEngine.Tasks;
using Mt.MediaFiles.ClientApp.Cli.Configuration;
namespace Mt.MediaFiles.ClientApp.Cli
{
/// <summary>
... |
Actividad.Mobile/Actividad.Mobile/Views/VerPage.xaml.cs | Bedolla/Actividad15 | 0 | 7069899 | using Actividad.Data.Entities;
using Actividad.Mobile.Services;
using Actividad.Mobile.ViewModels;
using System;
using Xamarin.Forms;
using Xamarin.Forms.Maps;
namespace Actividad.Mobile.Views
{
public partial class VerPage : ContentPage
{
public VerPage(Estacionamiento estacionamiento)
{
... |
Shamisen/Primitives/ReadResult.cs | MineCake147E/MonoAudio | 5 | 7069900 | <reponame>MineCake147E/MonoAudio
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
namespace Shamisen
{
/// <summary>
/// Represents a result of <see cref="IReadSupport{TSample}.Read(Span{TS... |
Reinforced.Lattice.CaseStudies.Filtering/doc/filter-range.cs | reinforced/Reinforced.Lattice.Samples | 3 | 7069901 | // configure multiselect filter with specified set of options
conf.Column(c => c.RegistrationDate).FilterRange(c => c.RegistrationDate, ui => ui.Inputdelay(10));
// type of x is TSource. By first parameter we define TSource
// property to be filtered
// If you use both cshtml and server configuration method then
// ... |
OggVorbisEncoder/Setup/Templates/BookBlocks/Stereo16/Coupled/Chapter2/Page4_0.cs | starburst997/.NET-Ogg-Vorbis-Encoder | 42 | 7069902 | <filename>OggVorbisEncoder/Setup/Templates/BookBlocks/Stereo16/Coupled/Chapter2/Page4_0.cs
namespace OggVorbisEncoder.Setup.Templates.BookBlocks.Stereo16.Coupled.Chapter2
{
public class Page4_0 : IStaticCodeBook
{
public int Dimensions { get; } = 2;
public byte[] LengthList { get; } = {
2, 3,... |
mxnet.csharp/lr_scheduler/MultiFactorScheduler.cs | imkow/mxnet.csharp | 23 | 7069903 | <reponame>imkow/mxnet.csharp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace mxnet.csharp.lr_scheduler
{
public class MultiFactorScheduler: LrScheduler
{
private readonly IList<int> _step;
private int _curStepInd;
... |
Momentum/Config/ConfigModel.cs | WiZaRd31337/Momentum | 13 | 7069904 | <reponame>WiZaRd31337/Momentum
using Momentum.Config.Slack;
using System.Collections.Generic;
namespace Momentum.Config {
public class ConfigModel {
public List<SlackModel> SlackModels { get; set; }
public ConfigModel() { }
}
} |
Programming/1.CSharpPartOne/3.OperatorsExpressionsAndStatements/10.IsNthBitOne/Program.cs | trinityimma/TelerikAcademy | 0 | 7069905 | <gh_stars>0
using System;
class Program
{
static void Main()
{
int v = 5, p = 1;
bool isOne = ((v >> p) & 1) == 1;
}
}
|
ShadowEye/Utils/ScreenShotVirtualScreen.cs | dhq-boiler/ShadowEye | 1 | 7069906 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ShadowEye.Utils
{
internal class ScreenShotVirtualScreen : ScreenShotArea
{
internal ScreenShotV... |
Assets/Code/Missions/SolutionCheckers/ProductChecker.cs | richardkopelow/OperationPegasus | 0 | 7069907 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
public class ProductChecker : SolutionChecker
{
public override bool CheckAnswer(Assembly program)
{
object broken = program.CreateInstance("Multiplier");
MethodInfo method = broken.G... |
UnityProject/Assets/Plugins/GameScripts/SimpleHealthAndDamage/DamageInfo.cs | ADoby/UnitySimpleLibrary | 0 | 7069908 | namespace SimpleLibrary
{
public class DamageInfo
{
public UnityEngine.Transform Sender = null;
public float Value = 0f;
public DamageInfo(float value, UnityEngine.Transform sender)
{
Value = value;
Sender = sender;
}
}
}
|
Scripts/Core/Interfaces.cs | NullTale/UnityEventBus | 3 | 7069909 | <reponame>NullTale/UnityEventBus
using System;
using System.Collections.Generic;
namespace UnityEventBus
{
/// <summary> Event messages receiver interface </summary>
public interface IEventBus : ISubscriber
{
void Send<TEvent, TInvoker>(in TEvent e, in TInvoker invoker)
where TInvoker... |
SharpMigrations.Tests.ReversibleMigrations/Migrations/002_Create_table_rev.cs | sharpmigrations/sharpmigrations | 28 | 7069910 | <filename>SharpMigrations.Tests.ReversibleMigrations/Migrations/002_Create_table_rev.cs
namespace SharpMigrations.Tests.ReversibleMigrations.Migrations {
public class _002_Create_table_bar : ReversibleSchemaMigration {
public override void Up() {
Add.Table("rev")
.WithColumns(
... |
src/Booma.Stats.Common/StatContainers/Combat/ICombatStatsContainer.cs | BoomaNation/Booma.Stats.Common | 0 | 7069911 | <filename>src/Booma.Stats.Common/StatContainers/Combat/ICombatStatsContainer.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Booma.Stats.Common
{
/// <summary>
/// Simplified interface that extends a <see cref="CombatStatType"/>
/// <see cref="IStatsCon... |
Source/UnitTests/ManagedIrbis/Pft/Infrastructure/Walking/VisitorContextTest.cs | fossabot/ManagedIrbis | 0 | 7069912 | <gh_stars>0
using System;
using ManagedIrbis;
using ManagedIrbis.Pft;
using ManagedIrbis.Pft.Infrastructure;
using ManagedIrbis.Pft.Infrastructure.Walking;
using Microsoft.VisualStudio.TestTools.UnitTesting;
// ReSharper disable UseObjectOrCollectionInitializer
namespace UnitTests.ManagedIrbis.Pft.Infrastructure.W... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.