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 |
|---|---|---|---|---|
Viticulture/Screens/Game/IGameViewModel.cs | MadCowDevelopment/Viticulture | 0 | 7047486 | <filename>Viticulture/Screens/Game/IGameViewModel.cs
using Viticulture.Logic.GameModes;
using Viticulture.Screens.Game.Actions;
using Viticulture.Screens.Game.Cellar;
using Viticulture.Screens.Game.Crushpad;
using Viticulture.Screens.Game.Hand;
using Viticulture.Screens.Game.PlayerStatus;
using Viticulture.Screens.Game... |
Shared/Dtos/Administration/AdministrationDto.cs | MurielSoftware/MyArt | 0 | 7047487 | using Shared.Core.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.Dtos.Administration
{
public class AdministrationDto : BaseDto
{
public virtual int PaintingCount { get; set; }
public virtual int Artist... |
NHL.NET/Endpoints/Franchise/FranchiseEndpoints.cs | nolanbradshaw/NHL.NET | 0 | 7047488 | using NHL.NET.Constants;
using NHL.NET.Exceptions;
using NHL.NET.Http.Interfaces;
using NHL.NET.Models.Franchise;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NHL.NET.Endpoints.Franchise
{
public class FranchiseEndpoints : IFranchiseEndpoints
{
private r... |
HealthyEating.Client/Core/Commands/RecommendCommands/RecommendNotFullPortionsCommand.cs | DimitarYordanov/EatSmartApp | 0 | 7047489 | using Bytes2you.Validation;
using HealthyEating.Client.Core.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
namespace HealthyEating.Client.Core.Commands.RecomendCommands
{
public class RecommendNotFullPortionsCommand : Command, ICommand
{
private readonly IFoodRecomender ... |
Assets/Script/Tile/TileData.cs | Linus-Vallinder/Forsbergs-Assignment-Level-Editor | 0 | 7047490 | using UnityEngine;
namespace Tiles
{
[System.Serializable]
public class TileData
{
public float PositionX, PositionY;
public int tileType;
public TileData(Vector2 tilePosition, int tileType)
{
PositionX = tilePosition.x;
PositionY = tilePosition.y;
... |
src/MvpCompanion.Wpf/Helpers/TaskUtilities.cs | LanceMcCarthy/MvpApi | 33 | 7047491 | <gh_stars>10-100
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Threading;
namespace MvpCompanion.Wpf.Helpers
{
public static class TaskUtilities
{
public static void RunOnDispatcherThreadSync(Action func, CancellationTo... |
Source/ParserHandler.cs | RaaLabs/Connectors.Lora | 0 | 7047492 | <filename>Source/ParserHandler.cs
// Copyright (c) RaaLabs. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Serilog;
using RaaLabs.Edge.Connectors.Lora.Events;
using RaaLabs.Edge.Modules.EventHandling;
using System.Text;
usi... |
tvn-cosine.core/tvn-cosine.core/Text/Hashing/TextHasher.cs | itoledo/Birdie.Tesseract | 0 | 7047493 | <filename>tvn-cosine.core/tvn-cosine.core/Text/Hashing/TextHasher.cs
using System;
using System.Security.Cryptography;
namespace tvn.cosine.text.hashing
{
public class TextHasher : IEquatable<string>
{
private const int saltSize = 16;
private const int hashSize = 64;
private const int ... |
src/ExpressionCompilation.Tests/TestData/Sample.cs | MaxShoshin/ExpressionCompiler | 4 | 7047494 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using Mono.Cecil;
namespace NeedfulThings.ExpressionCompilation.Tests.TestData
{
public static class Sample
{
private static readonly TypeDefinition SampleType =
... |
WorkloadTools/Listener/Trace/TraceUtils.cs | shellninja/WorkloadTools | 0 | 7047495 | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WorkloadTools.Listener.Trace
{
internal class TraceUtils
{
public int GetTraceId(SqlConnection conn, string path)
{
string sql ... |
BSG/BSGButtonScript.cs | GrisWoldDiablo/UnityBSGMenu | 0 | 7047496 | /// <summary>
/// Description: Add a menu to the editor (BSGMenu > SceneS in build editor)
/// Build setting editor, add same scene multiple time in the build settings
/// Author: <NAME>
/// Date: 08 Oct 2018
/// Update: 19 Dec 2018. Now works properly with Unity 2018.3
/// GitHub: https://github.co... |
ExamsPractice/SUS/Apps/SharedTrip/Controllers/UsersController.cs | mitovV/C-Web-Basics-2020 | 0 | 7047497 | namespace SharedTrip.Controllers
{
using System.ComponentModel.DataAnnotations;
using Services;
using SUS.HTTP;
using SUS.MvcFramework;
using ViewModels.User;
public class UsersController : Controller
{
private readonly IUsersService usersService;
public UsersController(I... |
Assets/Scripts/Discord/DiscordController.cs | waterbuddy16/NitoriWare | 0 | 7047498 | <gh_stars>0
using System;
using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
public class DiscordController : MonoBehaviour
{
// https://github.com/discordapp/discord-rpc/blob/master/examples/button-clicker/Assets/DiscordController.... |
src/GitHub.Exports/ViewModels/IGitHubConnectSection.cs | joel7871/VisualStudio | 1 | 7047499 | using GitHub.Models;
using System.Windows.Input;
namespace GitHub.VisualStudio.TeamExplorer.Connect
{
public interface IGitHubConnectSection
{
void DoCreate();
void SignOut();
void Login();
bool OpenRepository();
IConnection SectionConnection { get; }
ICommand C... |
APIServer/OData/Controllers/MarcasController.cs | IDX-Sistemas/S4-Varejo-Backend | 0 | 7047500 | using System;
using IdxSistemas.AppRepository.Context;
using IdxSistemas.Models;
namespace IdxSistemas.AppServer.OData.Controllers
{
public class MarcasController : BaseController<Marca>
{
public MarcasController(DataContext db) => this.db = db;
}
} |
Consulting/SheetMetal/Code/EngIT.SheetMetalEstimator/SheetMetalResult.cs | TrevorDArcyEvans/EllieWare | 0 | 7047501 | <filename>Consulting/SheetMetal/Code/EngIT.SheetMetalEstimator/SheetMetalResult.cs
//
// Copyright (C) 2013 EllieWare
//
// All rights reserved
//
// www.EllieWare.com
//
namespace EngIT.SheetMetalEstimator
{
public class SheetMetalResult
{
public string Path { get; private set; }
public double Area { ... |
src/Game/Rooms/Users/GameRoomUser.cs | CakeA/Cortex-Server | 2 | 7047502 | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Cortex.Server.Game.Users;
using Cortex.Server.Game.Rooms.Users.Actions;
using Cortex.Server.Game.Rooms.Actions;
using Cortex.Server.Socket.Messages;
namespace Cortex.Server.Game.Rooms.Users {
class GameRoomUser {
[JsonProperty(... |
src/Example/Program.cs | flyneth/Unity.AppSettings | 0 | 7047503 | <reponame>flyneth/Unity.AppSettings
using System;
using AppSettings.Unity;
using Newtonsoft.Json;
using Unity;
namespace Example
{
class Program
{
static void Main(string[] args)
{
var container = UnityHelper.Container;
// Register your type's mappings here.
... |
Assets/draco18s/ParkitectMod/QueueBench.cs | Draco18s/Parkitect-Modding | 0 | 7047504 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Assets.draco18s.ParkitectMod {
public class QueueBench :
#if DLL_EXPORT
Seating
#else
MonoBehaviour
#endif
{
#if DLL_EXPORT
protected Queue queue;
[Serialized]
[DontSerializeIn(SerializationC... |
CosmosDbDocuments/Program.cs | prashantrsharma/azure-cosmosdb-examples | 0 | 7047505 | <reponame>prashantrsharma/azure-cosmosdb-examples
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using Microsoft.Azure.Documents.Client;
using Microsoft.Azure.Documents;
using Newtonsoft.Json;
using Microsoft.Azure.Documen... |
src/CrystalWind.VegaSharp/Core/Encodings/HyperlinkField.cs | CrystalWindSnake/CrystalWind.VegaSharp | 0 | 7047506 | <filename>src/CrystalWind.VegaSharp/Core/Encodings/HyperlinkField.cs
using Newtonsoft.Json;
namespace CrystalWind.VegaSharp.Core.Encodings
{
public interface IHyperlinkChannel
{
}
public class HyperlinkField : Field, IHyperlinkChannel
{
public dynamic Scale { get; set; }
public dy... |
src/BinaryDataExplorer/BinaryData/Data/DataItem/BinaryData_DefaultItemViewModel.cs | RayCarrot/BinaryDataExplorer | 2 | 7047507 | using System;
using BinarySerializer;
namespace BinaryDataExplorer;
public class BinaryData_DefaultItemViewModel : BinaryData_BaseItemViewModel
{
public BinaryData_DefaultItemViewModel(BinaryData_BaseItemViewModel parent, Pointer address, Type type, string name, string value)
: base(parent: parent, addr... |
ObjectsComparer/ObjectsComparer/ValueComparers/DynamicValueComparer.cs | rafysanchez/ObjectsComparer | 237 | 7047508 | using System;
using System.Reflection;
namespace ObjectsComparer
{
/// <summary>
/// Allows to provide comparison rule as a function.
/// </summary>
/// <typeparam name="T">Type of the objects.</typeparam>
public class DynamicValueComparer<T>: IValueComparer
{
private readonly Func<T, ... |
Controllers/DieTypeController.cs | 7is7/SVR2.0 | 3 | 7047509 | <reponame>7is7/SVR2.0
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
using VueExample.Models.SRV6;
using VueExample.Providers.Srv6.Interfaces;
using VueExample.ViewModels;
u... |
src/Library/Extension/Model/TaskQeury.cs | Lc3586/Microservice.Library | 8 | 7047510 | using System;
using System.Collections.Concurrent;
using System.Threading;
namespace Microservice.Library.Extension.Model
{
/// <summary>
/// 任务队列
/// LCTR 2019-08-27
/// </summary>
public class TaskQeury
{
public TaskQeury()
{
}
public TaskQeury(TimeSpan time... |
templates/Embed/Product.cshtml | commerble/template-starter-kit--dash | 3 | 7047511 | @functions {
public class ViewModel {
public string Code { get; set; }
public string Name { get; set; }
public string Thumbnail { get; set; }
public string Icon { get; set; }
public string MetaDescription { get; set; }
public int? PriceProductId { get; set; }
... |
src/Core/JSC_LMS.Application/Features/Academics/Queries/GetAcademicByFilter/GetAcademicByFilterQueryHandler.cs | ashishneosoftmail/JSC_LMS | 0 | 7047512 | <reponame>ashishneosoftmail/JSC_LMS<filename>src/Core/JSC_LMS.Application/Features/Academics/Queries/GetAcademicByFilter/GetAcademicByFilterQueryHandler.cs
using AutoMapper;
using JSC_LMS.Application.Contracts.Identity;
using JSC_LMS.Application.Contracts.Persistence;
using JSC_LMS.Application.Response;
using MediatR;... |
OpenTracker/ViewModels/ColorSelect/ColorSelectControlVM.cs | Baertierchen/OpenTracker | 37 | 7047513 | using System;
using System.ComponentModel;
using System.Threading.Tasks;
using Avalonia;
using Avalonia.Media;
using Avalonia.Threading;
using OpenTracker.Models.Accessibility;
using OpenTracker.Models.Settings;
using OpenTracker.Utils;
using ReactiveUI;
namespace OpenTracker.ViewModels.ColorSelect
{
/// <summary>... |
src/Usb.Net.UWP.Sample/TrezorExample.cs | JuryOberst/Device.Net | 1 | 7047514 | using Device.Net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Usb.Net.Sample
{
internal sealed class TrezorExample : IDisposable
{
#region Fields
#if(LIBUSB)
private const int PollMilliseconds = 6000;
#else
private const in... |
Honeypot/Honeypot.Services/Services/BookService.cs | spacex13/Honeypot | 1 | 7047515 | using System;
using System.Collections.Generic;
using System.Linq;
using Honeypot.Data;
using Honeypot.Models;
using Honeypot.Models.Enums;
using Honeypot.Services.Contracts;
using Microsoft.EntityFrameworkCore;
namespace Honeypot.Services
{
public class BookService : BaseService, IBookService
{
publi... |
src/iovation.LaunchKey.Sdk.ExampleCli/SharedServiceHelpers.cs | j7an/launchkey-dotnet | 3 | 7047516 | <reponame>j7an/launchkey-dotnet
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using iovation.LaunchKey.Sdk.Client;
using iovation.LaunchKey.Sdk.Domain.Service;
using iovation.LaunchKey.Sdk.Domain.Service.Policy;
using iovation.LaunchKey.Sdk... |
Assets/WorkSpace/Utils/Common.cs | ErikMoczi/Unity.TerrainConstructionTests | 4 | 7047517 | <filename>Assets/WorkSpace/Utils/Common.cs
using Unity.Mathematics;
using UnityEngine;
using WorkSpace.Settings;
namespace WorkSpace.Utils
{
internal static class Common
{
public static float NoiseValue(Vector2 point, NoiseSettings config)
{
var frequency = config.Frequency;
... |
src/Infrastructure/Tests/Riganti.Utils.Infrastructure.Services.Tests/Facades/Project.cs | Leeemons/infrastructure | 61 | 7047518 | using System.Collections.Generic;
using Riganti.Utils.Infrastructure.Core;
namespace Riganti.Utils.Infrastructure.Services.Tests.Facades
{
public class Project : IEntity<int>
{
public int Id { get; set; }
public ICollection<EmployeeProject> EmployeeProjects { get; set; }
}
} |
Unity/SIM Simulator/Assets/Scripts/ArduinoController.cs | rionaldichandraseta/sim-simulator | 1 | 7047519 | using System.Collections;
using System.Collections.Generic;
using System.IO.Ports;
using UnityEngine;
public class ArduinoController : MonoBehaviour {
public string port = "COM6";
public SerialPort stream;
// Use this for initialization
void Start () {
if (PlayerPrefs.HasKey ("Port")) {
port = PlayerPrefs.... |
bamcis.Lambda.Common/SageMaker/RandomCutForestInferenceResponse.cs | bamcis-io/AWSLambda.Common | 2 | 7047520 | <reponame>bamcis-io/AWSLambda.Common
using BAMCIS.Lambda.Common.SageMaker.Model;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace BAMCIS.Lambda.Common.SageMaker
{
/// <summary>
/// The response from an RCF algorithm
/// </summary>
public class RandomCutForestInferenceRe... |
src/FastPay.Application/Services/IUsersService.cs | devmentors/FastPay-workshops | 2 | 7047521 | <filename>src/FastPay.Application/Services/IUsersService.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using FastPay.Application.DTO;
namespace FastPay.Application.Services
{
public interface IUsersService
{
Task<UserDetailsDto> GetAsync(Guid id);
Task<UserDe... |
src/CoreServices/01.Services.Common/Services.Common/MethodResultUtils/ErrorResult.cs | horseznguyen/HCMTAX | 0 | 7047522 | <gh_stars>0
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Services.Common.MethodResultUtils
{
public class ErrorResult
{
public ErrorResult()
{
ErrorValues = new List<string>();
}
[JsonPropertyName("errorCode")]
public st... |
FakeBand/Utils/BandTypeConstants.cs | corsairmarks/fake-band | 42 | 7047523 | using System;
using System.Diagnostics.CodeAnalysis;
namespace FakeBand.Utils
{
public enum BandType
{
Unknown,
Cargo,
Envoy
}
internal class BandTypeConstants
{
internal static readonly BandTypeConstants Cargo = new BandTypeConstants(BandType.Cargo);
inte... |
CodeWarsTests/7kyu/HistogramDataTests.cs | a-kozhanov/codewars_csharp | 11 | 7047524 | <filename>CodeWarsTests/7kyu/HistogramDataTests.cs
using CodeWars;
using NUnit.Framework;
namespace CodeWarsTests
{
[TestFixture]
public class HistogramDataTests
{
[Test]
public void SimpleTest()
{
uint[] data = new uint[] {1, 1, 0, 1, 3, 2, 6};
Assert.AreEq... |
SourceCode/Sheng.WeixinConstruction.Management.Shell/Views/Settings/_LeftMenu.cshtml | fenglui/Sheng.WeixinConstruction | 695 | 7047525 | <div class="leftMenuItem @if(ViewBag.LeftMenu == "Docking"){@Html.Raw("leftMenuItem_active")}">
@Html.ActionLink("微信对接", "Docking", "Settings", null, new { @class = ViewBag.LeftMenu == "Docking" ? "a_white_16" : "a_black_16" })
</div>
<div class="leftMenuItem @if(ViewBag.LeftMenu == "Base"){@Html.Raw("leftMenuIte... |
Assets/Scripts/Lighting/RenderPipeline/FlatLightRPAsset.cs | mmword/MobileFakeLights | 2 | 7047526 | <gh_stars>1-10
//The MIT License (MIT)
//Copyright (c) 2018 <NAME>
//Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modi... |
Epsiloner.Wpf.Navigation/Epsiloner.Wpf.Navigation/INavigatableView.cs | Epsil0neR/Epsiloner.Wpf.Navigation | 0 | 7047527 | <reponame>Epsil0neR/Epsiloner.Wpf.Navigation
namespace Epsiloner.Wpf.Navigation
{
/// <summary>
/// Additional functionality when using <see cref="Navigation"/>. Should be used only on views and controls that are used to display data.
/// </summary>
public interface INavigatableView
{
/// <... |
src/Services/Audit/Audit.API/IntegrationEvents/Events/ReminderCreatedIntegrationEvent.cs | lkubis/RemindersOnContainers | 0 | 7047528 | <reponame>lkubis/RemindersOnContainers<filename>src/Services/Audit/Audit.API/IntegrationEvents/Events/ReminderCreatedIntegrationEvent.cs
using System;
using EventBus.Events;
namespace Audit.API.IntegrationEvents.Events
{
public class ReminderCreatedIntegrationEvent : IntegrationEvent
{
public Guid Rem... |
client/src/Cloudmersive.APIClient.NETCore.Barcode/Api/GenerateBarcodeApi.cs | Cloudmersive/Cloudmersive.APIClient.NETCore.Barcode | 1 | 7047529 | /*
* barcodeapi
*
* Barcode APIs let you generate barcode images, and recognize values from images of barcodes.
*
* OpenAPI spec version: v1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Syst... |
src/Sfa.Das.Sas.Infrastructure/Lars/Models/LarsDocument.cs | uk-gov-mirror/SkillsFundingAgency.das-apprenticeship-programs-indexer | 1 | 7047530 | <filename>src/Sfa.Das.Sas.Infrastructure/Lars/Models/LarsDocument.cs<gh_stars>1-10
using Nest;
namespace Sfa.Das.Sas.Indexer.Infrastructure.Lars.Models
{
public class LarsDocument
{
public LarsDocument(string documentType)
{
DocumentType = documentType;
}
[Keyword]... |
src/Horse.Messaging.Protocol/Models/RouterInformation.cs | twino-framework/horse-mq | 19 | 7047531 | <filename>src/Horse.Messaging.Protocol/Models/RouterInformation.cs
using System.Text.Json.Serialization;
using Newtonsoft.Json;
namespace Horse.Messaging.Protocol.Models
{
/// <summary>
/// Router Information
/// </summary>
public class RouterInformation
{
/// <summary>
/// Route na... |
sources/engine/Xenko.Input/Gestures/GestureConfigDrag.cs | nesrak1/xenko | 34 | 7047532 | <gh_stars>10-100
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using Xenko.Core.Mathematics;
namespace Xenko.Input
{
/// <summa... |
DatAdmin.Framework/Tools/AddonTool.cs | dbgate/datadmin | 0 | 7047533 | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Xml;
using System.ComponentModel;
namespace DatAdmin
{
public static class AddonTool
{
public static string ExtractDesctiption(object o)
{
if (o == null) return null;
foreach... |
src/ExcelRESTService.UnitTests.UWP/Tests/Application.UnitTest.cs | microsoftgraph/Microsoft-Graph-UWP-Excel-REST-API-Explorer | 0 | 7047534 | /*
* Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license.
* See LICENSE in the source repository root for complete license information.
*/
using System;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using ExcelRESTService.UnitTests.UWP.Helpe... |
Neulib/Idx/SingleArray.cs | widovd/NeunetCode | 0 | 7047535 | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Neulib.Exceptions;
using static System.Convert;
using static System.BitConverter;
using Neulib.Serializers;
namespace Neulib.MultiArrays
{
public class SingleArra... |
OQueue/Broker/BufferLogRecord.cs | OceanChip/OQueue | 0 | 7047536 | using OceanChip.Common.Storage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace OceanChip.Queue.Broker
{
public class BufferLogRecord : ILogRecord
{
public byte[] RecordBuffer { get; set; }
public vo... |
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp8.cs | Devisetty99/mystylecop | 0 | 7047537 | <reponame>Devisetty99/mystylecop<filename>StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/Lightup/SwitchExpressionArmSyntaxWrapperTestsCSharp8.cs
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license info... |
Credit.Unity/Assets/Scripts/CardDrag.cs | KienKent/Credit | 0 | 7047538 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(BoxCollider2D))]
public class CardDrag : MonoBehaviour {
public int power;
public int id;
public bool dragged;
public bool poweradded;
// Use this for initialization
void Start () {
power = 4;
dragged =... |
homework/06.Loops-Solution/05.Calculate!/Program.cs | tpulkov/CSharp-Part1 | 0 | 7047539 | using System;
namespace _05.Calculate_
{
class Program
{
static void Main()
{
short n = short.Parse(Console.ReadLine());
double x = double.Parse(Console.ReadLine());
double sum = 1;
double factorial = 1;
for (int i = 1 ; i <= n; i++)
... |
CodeChallenge/CodeChallenge.Common/Dto/ProjectDto.cs | korxaq/CodeChallenge | 1 | 7047540 | using System;
namespace CodeChallenge.Common.Dto
{
public class ProjectDto
{
public int Id { get; set; }
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public int Credits { get; set; }
}
}
|
src/SFA.DAS.EmployerIncentives.Web/Models/GetApplicationsModel.cs | uk-gov-mirror/SkillsFundingAgency.das-employer-incentives-web | 2 | 7047541 | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace SFA.DAS.EmployerIncentives.Web.Models
{
public class GetApplicationsModel
{
public IEnumerable<ApprenticeApplicationModel> ApprenticeApplications { get; set; }
public BankDetailsStatus BankDetailsStatus { get; set; }
... |
samples/IRO.Samples.Standalone/TelegramControllers/AnotherSampleController.cs | IT-rolling-out/IRO.Telegram.Bot.LikeMvc | 1 | 7047543 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Telegram.Bot.AspNetPipeline.Extensions;
using Telegram.Bot.AspNetPipeline.Extensions.ImprovedBot;
using Telegram.Bot.AspNetPipeline.Extensions.ReadWithoutContext;
using Telegram.Bot.AspNetPipeline.Mvc.... |
android/PdCore/src/main/jni/libpd/csharp/Managed/Events/FloatEventArgs.cs | Tiltification/sonic-tilt | 5 | 7047544 | <filename>android/PdCore/src/main/jni/libpd/csharp/Managed/Events/FloatEventArgs.cs
using System;
using LibPDBinding.Managed.Data;
namespace LibPDBinding.Managed.Events
{
public class FloatEventArgs : EventArgs
{
public string Receiver { get; private set; }
public Float Float { get; private set; }
public Flo... |
src/Server/Services/Http/DestinationAeTitleController.cs | collective4U/clara-dicom-adapter | 29 | 7047545 | /*
* Apache License, Version 2.0
* Copyright 2019-2020 NVIDIA Corporation
*
* 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 require... |
src/Microsoft.DotNet.Wpf/cycle-breakers/PresentationFramework/System.Windows.Documents.Serialization.SerializerWriterCollator.cs | KodamaSakuno/wpf | 5,937 | 7047546 | <reponame>KodamaSakuno/wpf
// 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.
// ------------------------------------------------------------------------------
// Chang... |
Mobile/Xamarin.Forms/UI/AppCommon/AppCommon/AppCommon/ApplicationInformationPage.ui.cs | aferin/Tizen-CSharp-Samples | 217 | 7047547 | <filename>Mobile/Xamarin.Forms/UI/AppCommon/AppCommon/AppCommon/ApplicationInformationPage.ui.cs
/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd 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 ... |
Mogade.Core/Components/IRequestContext.cs | mogade/mogade-csharp | 1 | 7047548 | namespace Mogade
{
public interface IRequestContext
{
string ApiVersion{get;}
string Secret { get; }
string Key { get; }
}
} |
src/Applicanty.Core/Entities/Abstract/Statable.cs | Exoft/Applicanty | 0 | 7047549 | using Applicanty.Core.Enums;
namespace Applicanty.Core.Entities.Abstract
{
public abstract class Statable : IStateable
{
public StatusType StatusId { get; set; }
}
} |
Assets/Scripts/ShipDock/Applications/Tools/ValueSubgroup.cs | firefishes/FWGame | 0 | 7047550 | using ShipDock.Tools;
using System;
using UnityEngine;
namespace ShipDock.Applications
{
[Serializable]
public class ValueSubgroup
{
public string keyField;
[HideInInspector]
public int valueType;
[HideInInspector]
public string str;
[HideInInspector]
... |
EM.GIS.Symbology/PointShape.cs | chiraylu/EMap | 1 | 7047551 | <filename>EM.GIS.Symbology/PointShape.cs
namespace EM.GIS.Symbology
{
/// <summary>
/// 点形状
/// </summary>
public enum PointShape
{
/// <summary>
/// 形状
/// </summary>
Unknown,
/// <summary>
/// 椭圆
/// </summary>
Ellipse,
/// <... |
UnityGameFramework/Runtime/Log/UnityLog.cs | yika-aixi/IGameFrameWork | 20 | 7047553 | //创建者:Icarus
//手动滑稽,滑稽脸
//ヾ(•ω•`)o
//2018年03月06日 21:32:19
//Client
using System;
using Icarus.GameFramework;
using UnityEngine;
using LogType = Icarus.GameFramework.LogType;
namespace Icarus.UnityGameFramework.Runtime
{
public class UnityLog : ILog
{
/// <summary>
/// 默认为True
/// </su... |
akhbarelyom.front.end.2021/MVC/Data/NewsPoll.cs | Akhbar-El-Yom/AkhbarElyomFrontEnd2021 | 0 | 7047554 | using System;
using System.Collections.Generic;
#nullable disable
namespace MVC.Data
{
public partial class NewsPoll
{
public int NewsId { get; set; }
public int PollId { get; set; }
public virtual Poll Poll { get; set; }
}
}
|
Bash.Common/Conversion/IntToColorConverter.cs | b3nk4n/ibash0r-app | 0 | 7047555 | using System;
using System.Windows.Data;
using System.Windows.Media;
namespace Bash.Common.Conversion
{
/// <summary>
/// The converter to get different colors for speech bubbles.
/// </summary>
public class IntToColorConverter : IValueConverter
{
public object Convert(object value, Type t... |
SkynetTCP/SkynetTCP/Models/Enums.cs | DreamTeamGDL/SkynetTCPServer | 0 | 7047556 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace SkynetTCP.Models
{
public enum ACTIONS
{
CONNECT,
TELL,
HELLO,
CONFIGURE,
ACKNOWLEDGE
}
}
|
RocketExtensions/Utilities/ColorReformatter.cs | ShimmyMySherbet/RocketExtensions | 5 | 7047557 | using System.Text.RegularExpressions;
namespace RocketExtensions.Utilities
{
public static class ColorReformatter
{
public static readonly Regex ColorOpeningMatch = new Regex(@"\[color=[a-zA-Z0-9#]+\]");
public static readonly Regex ColorClosing = new Regex(@"\[/color\]");
public stat... |
src/SmartDetectorsApplianceShared/Trace/WebJobTracer.cs | daweim0/SmartDetectorsMonitoringAppliance | 4 | 7047558 | <gh_stars>1-10
//-----------------------------------------------------------------------
// <copyright file="WebJobTracer.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespac... |
Co.Id.Moonlay.Simple.Auth.Service.Lib/Utilities/ReadResponse.cs | leslieaula/id.co.moonlay-simple-auth-service | 0 | 7047559 | using System;
using System.Collections.Generic;
using System.Text;
namespace Co.Id.Moonlay.Simple.Auth.Service.Lib.Utilities
{
public class ReadResponse<TModel>
{
public List<TModel> Data { get; set; }
public int Count { get; set; }
public Dictionary<string, string> Order { get; set; }... |
C-sharp-Web-Developer/C# OOP Basics/05. Inheritance/03. Mankind/MankindMain.cs | sevdalin/Software-University-SoftUni | 0 | 7047560 | <filename>C-sharp-Web-Developer/C# OOP Basics/05. Inheritance/03. Mankind/MankindMain.cs
using System;
public class MankindMain
{
public static void Main(string[] args)
{
try
{
var studentInput = Console.ReadLine().Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
... |
Scripts/System/Text/StringJoiner.cs | tbg10101/10101-Software-Unity-Commons | 2 | 7047561 | <reponame>tbg10101/10101-Software-Unity-Commons
namespace System.Text {
/// <summary>
/// <see cref="StringJoiner"/> is used to construct a string separated by a delimiter and optionally starting with a supplied prefix and ending with a supplied suffix.
///
/// Prior to adding something to the <see cref="Stri... |
src/SKIT.FlurlHttpClient.Wechat.Work/Models/CgibinKf/Customer/CgibinKfCustomerBatchGetResponse.cs | vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat | 419 | 7047562 | <reponame>vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat<filename>src/SKIT.FlurlHttpClient.Wechat.Work/Models/CgibinKf/Customer/CgibinKfCustomerBatchGetResponse.cs
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/kf/customer/batchget 接口的响应。</para>
/// </summary>
... |
src/NUnitFramework/tests/AsyncExecutionApiAdapter.cs | ZenonBuratta/nunit | 1 | 7047563 | // ***********************************************************************
// Copyright (c) 2018 <NAME>, <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... |
Source/DAO/Text/TextFromEndDAO.cs | adasoluciones/Log4Me.Manager | 0 | 7047564 | using Ada.Framework.Development.Log4Me.Entities;
using Ada.Framework.Extensions.IO;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Ada.Framework.Development.Log4Me.Manager.DAO.Text
{
internal class TextFromEndDAO : ALogTextDAO
{
public TextFromEndDAO() { }
... |
src/ElasticElmah.Appender/Search/LogWithId.cs | wallymathieu/ElasticElmah | 4 | 7047565 | using log4net.Core;
namespace ElasticElmah.Appender.Search
{
public class LogWithId
{
public readonly string Id;
public readonly LoggingEventData Data;
public LogWithId(string id, LoggingEventData data)
{
Id = id;
Data = data;
}
}
}
|
src/core/J6.DevFw.Core/Framework/Api/ApiClient.cs | atnet/devfw | 13 | 7047566 | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
using System.Web;
using System.Security.Cryptography;
using JR.DevFw.Framework.Net;
using JR.DevFw.Framework;
using JR.DevFw.Framework.Security;
namespace Com.Line.Api.Sdk
{
/// <summary>
/// 接口响应
/// </... |
dotnet/test/Selenium.WebDriverBackedSelenium.Tests/TestWaitForNot.cs | sreeks/Selenium2 | 0 | 7047567 | using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using System.Text.RegularExpressions;
using System.Threading;
namespace Selenium.Tests
{
[TestFixture]
public class TestWaitForNot : SeleniumTestCaseBase
{
[Test]
public void ShouldBeAble... |
src/JobcardCloud/CustomerManagement/Mappings/NewCustomerMap.cs | faniereynders/JobCard.vNext | 1 | 7047568 | using AutoMapper;
using JobcardCloud.CustomerManagement.Entities;
using JobcardCloud.CustomerManagement.Models;
using System;
namespace JobcardCloud.Customers.Mappings
{
public class CustomerProfile : Profile
{
public CustomerProfile()
{
CreateMap<NewPersonCustomerModel, PersonCust... |
Managed/firstpass/YamlDotNet/Core/IScanner.cs | undancer/oni-data | 1 | 7047569 | <filename>Managed/firstpass/YamlDotNet/Core/IScanner.cs
using YamlDotNet.Core.Tokens;
namespace YamlDotNet.Core
{
public interface IScanner
{
Mark CurrentPosition { get; }
Token Current { get; }
bool MoveNext();
bool MoveNextWithoutConsuming();
void ConsumeCurrent();
}
}
|
Third Party/NPersist/Source Code/NAspect/Tests/NET 2.0/TestProject1/TestProject1/StandardAspectTests/DirtyTrackedClass.cs | jjvanzon/JJ.TryOut | 0 | 7047570 | using System;
using System.Collections.Generic;
using System.Text;
using Puzzle.NAspect.Standard;
namespace KumoUnitTests
{
[DirtyTracked]
public class DirtyTrackedClass
{
#region Property SomeProp
private string someProp;
public virtual string SomeProp
{
get
... |
src/Assets/EcsRx/UnityEditor/Editor/EditorInputs/FloatEditorInput.cs | erinloy/ecsrx.unity | 229 | 7047571 | <gh_stars>100-1000
using UnityEditor;
namespace EcsRx.UnityEditor.Editor.EditorInputs
{
public class FloatEditorInput : SimpleEditorInput<float>
{
protected override float CreateTypeUI(string label, float value)
{ return EditorGUILayout.FloatField(label, value); }
}
} |
src/DonateTo.ApplicationCore/Models/Filtering/DonationRequestFilterModel.cs | cognizant-softvision/donate-to | 4 | 7047572 | <reponame>cognizant-softvision/donate-to
namespace DonateTo.ApplicationCore.Models.Filtering
{
public class DonationRequestFilterModel : BaseFilterModel
{
public string Title { get; set; }
public string CreatedDateBegin { get; set; }
public string CreatedDateEnd { get; set; }
pu... |
MultiChainLib/Model/UnspentResponse.cs | bitcoinbrisbane/MultiChain-Demo | 14 | 7047573 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MultiChainLib
{
public class UnspentResponse
{
[JsonProperty("txid")]
public string TxId { get; set; }
[JsonProperty("vout")]
pu... |
SS14.Web/Areas/Admin/Pages/Users/Index.cshtml | space-wizards/SS14.Auth | 1 | 7047574 | <reponame>space-wizards/SS14.Auth
@page
@model SS14.Web.Areas.Admin.Pages.Users.Index
@{
ViewData["Title"] = "Users";
}
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a asp-page="../Index">Hub Admin</a></li>
<li class="breadcrumb-item active" aria-current="page">@Vie... |
source/DasBlog.Web.UI.Core/Security/SiteSecurity.cs | Boldbayar/dasblog-core-master | 378 | 7047575 | using DasBlog.Web.UI.Core.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Security.Cryptography;
using System.Security.Principal;
using System.Text;
using System.Xml.Serialization;
namespace DasBlog.Web.UI.Core.Security
{
public class SiteSecurity :... |
NPPESAPI.net/NPPESApiClient.cs | ForcuraCo/npi-api-net | 5 | 7047576 | using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Forcura.NPPES.Core;
using Newtonsoft.Json;
namespace Forcura.NPPES
{
/// <summary>
/// NPPES Api for making requests to the NPPES NPI registry.... |
src/eyazisma.online.api.net5/Interfaces/Fluents/KisiFluent.cs | devhuseyinkartal/eyazisma.online.api | 0 | 7047577 | using System;
using eyazisma.online.api.Classes;
namespace eyazisma.online.api.Interfaces.Fluents
{
public interface IKisiFluent : IDisposable,
IKisiFluentIlkAdi,
IKisiFluentIkinciAdi,
IKisiFluentOnEk,
IKisiFluentSoyadi,
IKisiFluentUnvan
{
}
public interface IK... |
IndicatorsUI/MainUI/Models/UserAccess/TaskResult.cs | publichealthengland/fingertips-open | 2 | 7047578 | namespace IndicatorsUI.MainUI.Models.UserAccess
{
public class TaskResult
{
public bool Success { get; set; }
public string Message { get; set; }
}
} |
Assets/Debug/Editor/ScriptIDViewer.cs | yangxun983323204/unity-utils | 0 | 7047579 | using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace YX
{
public class ScriptIDViewer : EditorWindow
{
[MenuItem("Debug/ScriptIDViewer")]
public static void Open()
{
var wnd = GetWindow<ScriptIDViewer>("ScriptIDViewer")... |
CordovaResourceGenerator.UI/AttachedProperties/ShouldWindowCloseAttachedProperty.cs | cabralRodrigo/cordova-resource-generator | 0 | 7047580 | <gh_stars>0
using System.Windows;
namespace CordovaResourceGenerator.UI
{
/// <summary>
/// A attached property that specifies when the window should close.
/// </summary>
public static class ShouldWindowClose
{
/// <summary>
/// The dependency property of the attached property.
... |
SharpFightingEngine.Fighters/AdvancedFighter.cs | Alexxtheonly/SharpFightingEngine | 0 | 7047581 | using System;
using System.Collections.Generic;
using System.Linq;
using SharpFightingEngine.Battlefields;
using SharpFightingEngine.Combat;
using SharpFightingEngine.Engines;
using SharpFightingEngine.Engines.Ticks;
using SharpFightingEngine.Fighters.Intelligence;
namespace SharpFightingEngine.Fighters
{
public cl... |
Assets/ForgelightUnity/Editor/Utils/ScriptableObjectUtils.cs | jhett12321/Forgelight-Unity-Integration | 5 | 7047582 | <filename>Assets/ForgelightUnity/Editor/Utils/ScriptableObjectUtils.cs
namespace ForgelightUnity.Editor.Utils
{
using System;
using System.Collections.Generic;
using System.IO;
using ScriptableObjects;
using UnityEditor;
using UnityEngine;
public enum SortMode
{
None,
C... |
Src/WpfClient/ViewModels/ManualControl/DirectCommandViewModel.cs | vpilat/CNCLib | 1 | 7047583 | <filename>Src/WpfClient/ViewModels/ManualControl/DirectCommandViewModel.cs
/*
This file is part of CNCLib - A library for stepper motors.
Copyright (c) <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
to... |
Yggdrasil/Helpers/FontRenderer.cs | xdanieldzd/Yggdrasil | 14 | 7047584 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Drawing;
using System.Text.RegularExpressions;
using System.Drawing.Imaging;
using Yggdrasil.TextHandling;
namespace Yggdrasil.Helpers
{
public class FontRenderer
{
static byte[] paletteRaw = new b... |
GitHistoryGUI/Form1.cs | tylerforsythe/GitHistoryGUI | 0 | 7047585 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GitHistoryGUI
{
public partial class... |
DangerousAssumptions/SlowPerformance/FibonacciReader.cs | jeremybytes/interfaces-in-csharp-8 | 16 | 7047586 | <filename>DangerousAssumptions/SlowPerformance/FibonacciReader.cs<gh_stars>10-100
using System.Collections.Generic;
using System.Linq;
namespace DangerousAssumptions.SlowPerformance
{
public class FibonacciReader : IReader<int>
{
public IReadOnlyCollection<int> GetItems()
{
return ... |
src/Modules/SimplCommerce.Module.Reviews/obj/Debug/net5.0/Razor/Areas/Reviews/Views/Review/List.cshtml.g.cs | sujatabpawar/ecommerci_api | 0 | 7047589 | <filename>src/Modules/SimplCommerce.Module.Reviews/obj/Debug/net5.0/Razor/Areas/Reviews/Views/Review/List.cshtml.g.cs
#pragma checksum "H:\Client\SimplCommerce\src\Modules\SimplCommerce.Module.Reviews\Areas\Reviews\Views\Review\List.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7bde8a05c2691673273bd64b8c1b3f726291c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.