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 |
|---|---|---|---|---|
TacoCatFyardMVC/Controllers/HomeController.cs | fyardlest1/TacoCatFyardMVC | 0 | 7046858 | <reponame>fyardlest1/TacoCatFyardMVC
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using TacoCatFyardMVC.Models;
namespace TacoCatFyard... |
NetsuiteEnvironmentViewer/forms/Main.cs | zacarius89/NetsuiteEnvironmentViewer | 0 | 7046859 | <reponame>zacarius89/NetsuiteEnvironmentViewer<filename>NetsuiteEnvironmentViewer/forms/Main.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows.Forms;
using DiffPlex;
using DiffPlex.DiffBuilder;
using DiffPlex.DiffBuilder.Model;
using System.Linq;
... |
Assets/Scripts/Model/Content/SecondEdition/Pilots/SheathipedeClassShuttle/AP5.cs | DejaFu/FlyCasual | 1 | 7046860 | using Actions;
using ActionsList;
using Ship;
using System.Collections;
using System.Collections.Generic;
using Tokens;
using Upgrade;
namespace Ship
{
namespace SecondEdition.SheathipedeClassShuttle
{
public class AP5 : SheathipedeClassShuttle
{
public AP5() : base()
{... |
src/Services/Identity/Identity.Infrastructure/RequestResponseModels/RequestRegister.cs | badamnshake/jobportal | 0 | 7046861 | <gh_stars>0
using System.ComponentModel.DataAnnotations;
namespace Identity.Infrastructure.RequestResponseModels
{
public class RequestRegister
{
[Required] public string FullName { get; set; }
[Required] [EmailAddress] public string Email { get; set; }
[Required] public string UserNa... |
samples/Tracker.WebService.EntityFrameworkCore/Domain/Status/StatusServiceRegistration.cs | loresoft/EntityFrameworkCore.CommandQuery | 1 | 7046862 | using System;
using System.Collections.Generic;
using KickStart.DependencyInjection;
using MediatR.CommandQuery.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Tracker.WebService.Domain.Models;
// ReSharper disable once CheckNamespace
namespace Tracker.WebService.Domain
{
public class St... |
mcs/errors/cs0464-5.cs | lefb766/mono | 469 | 7046863 | <gh_stars>100-1000
// CS0464: The result of comparing type `E?' with null is always `false'
// Line: 14
// Compiler options: -warnaserror
enum E
{
}
class X
{
public static void Main ()
{
E u = 0;
var b = u < (E?) null;
}
} |
src/Web/Elect.Web.DataTable/Utils/TypeUtils/TransformTypeInfoHelper.cs | nminhduc/Elect | 1 | 7046864 | <gh_stars>1-10
#region License
//--------------------------------------------------
// <License>
// <Copyright> 2018 © Top Nguyen </Copyright>
// <Url> http://topnguyen.net/ </Url>
// <Author> Top </Author>
// <Project> Elect </Project>
// <File>
// <Name> TransformTypeInfoHelper.cs </Name... |
Business/DTO/Frontend/CartAndPromoCodeFront.cs | KnJbMfLAgdkwZL/PhoneShop | 0 | 7046865 | <filename>Business/DTO/Frontend/CartAndPromoCodeFront.cs
using System.Collections.Generic;
using Database.Models;
namespace Application.DTO.Frontend
{
public class CartAndPromoCodeFront
{
public List<Cart> Cart;
public PromoCode PromoCode;
}
} |
src/server/Shared/Shared.Core/Domain/DomainEvent.cs | unchase/fluentpos | 327 | 7046866 | <reponame>unchase/fluentpos
// --------------------------------------------------------------------------------------------------
// <copyright file="DomainEvent.cs" company="FluentPOS">
// Copyright (c) FluentPOS. All rights reserved.
// The core team: <NAME> (iammukeshm), <NAME> (chhinsras), <NAME> (unchase).
// Lic... |
src/EfficientDynamoDb/Operations/BatchGetItem/BatchGetRequestBuilder.cs | playhardlab/EfficientDynamoDb | 104 | 7046867 | <reponame>playhardlab/EfficientDynamoDb
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using EfficientDynamoDb.DocumentModel;
using EfficientDynamoDb.Exceptions;
using EfficientDynamoDb.Operations.Query;
namespace EfficientDynamoDb.Operations.BatchGetItem
{
internal sealed ... |
08.Sets and Dictionaries Advanced - Lab/03. Product Shop/Product_Shop.cs | dimitar-v/CSharp-Advanced | 0 | 7046868 | <reponame>dimitar-v/CSharp-Advanced<gh_stars>0
using System;
using System.Collections.Generic;
namespace _03._Product_Shop
{
class Product_Shop
{
static void Main(string[] args)
{
var shops = new SortedDictionary<string, Dictionary<string, double>>();
string input;
... |
CADability/ToolsRoundIn.cs | SOFAgh/CADability | 17 | 7046869 | <filename>CADability/ToolsRoundIn.cs<gh_stars>10-100
using CADability.Curve2D;
using CADability.GeoObject;
using CADability.UserInterface;
using System;
namespace CADability.Actions
{
/// <summary>
///
/// </summary>
internal class ToolsRoundIn : ConstructAction
{
private GeoPoint objectP... |
IPPDotNetDevKitCSV3/Code/Intuit.Ipp.Utility/Serialization/XmlObjectSerializer.cs | chiller00/QuickBooks-V3-DotNET-SDK | 83 | 7046870 | <reponame>chiller00/QuickBooks-V3-DotNET-SDK
////*********************************************************
// <copyright file="XmlObjectSerializer.cs" company="Intuit">
/*******************************************************************************
* Copyright 2016 Intuit
*
* Licensed under the Apache License, Ver... |
C-sharp-Web-Developer/C# OOP Basics/06. Polymorphism/03. Wildfarm/Felime.cs | sevdalin/Software-University-SoftUni | 0 | 7046871 | <gh_stars>0
public abstract class Felime : Mammal
{
protected Felime(string name, double weight, string type, string livingRegion)
: base(name, weight, type, livingRegion)
{
}
} |
src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IValidationMetadataProvider.cs | avragov/aspnetcore | 8,570 | 7046872 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#nullable enable
namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata;
/// <summary>
/// Provides <see cref="ValidationMetadata"/> for a <see cref="DefaultModelMetadata"/>.
///... |
game/Assets/AcceloratorMadness9000.cs | plankt/train-hack-2019 | 1 | 7046873 | <filename>game/Assets/AcceloratorMadness9000.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AcceloratorMadness9000 : MonoBehaviour
{
List<Rigidbody> BallList = new List<Rigidbody>();
public float AcceleratorForce;
// Start is called be... |
src/Core/Domain/Sales/SalesDeliveryLine.cs | Monaqo/accountgo | 310 | 7046874 | <filename>src/Core/Domain/Sales/SalesDeliveryLine.cs
//-----------------------------------------------------------------------
// <copyright file="SalesDeliveryLine.cs" company="AccountGo">
// Copyright (c) AccountGo. All rights reserved.
// <author><NAME></author>
// <date>1/11/2015 9:48:38 AM</date>
// </copyright>
/... |
Dn6Poc.DocuMgmtPortal/Services/LoginService.cs | ongzhixian/dc6Poc | 0 | 7046875 | using Dn6Poc.DocuMgmtPortal.Api;
using Dn6Poc.DocuMgmtPortal.Api.Requests;
using System.IdentityModel.Tokens.Jwt;
namespace Dn6Poc.DocuMgmtPortal.Services;
public interface ILoginService
{
Task<string> LoginAsync(string username, string password);
}
public class LoginService : ILoginService
{
private readonl... |
Hoekstra Fotografie/Hoekstra Fotografie/Website Hoekstra/Website Hoekstra/Pages/UpdatePhoto.cshtml.cs | Florijnm/HoekstraWebsite | 0 | 7046876 | <reponame>Florijnm/HoekstraWebsite
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Website_Hoekstra.Pages
{
public class UpdatePhotoModel : PageModel
{
[BindProperty] pu... |
tdumt-gui/gui/wizards/patcheditor/parametervalue/ParameterValueDialog.Designer.cs | djey47/tdumt | 6 | 7046877 | <reponame>djey47/tdumt
namespace TDUModdingTools.gui.wizards.patcheditor.parametervalue
{
partial class ParameterValueDialog
{
/// <summary>
/// Variable nécessaire au concepteur.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <s... |
server/Game/Network/ServerPacket/CLAN/PROTOCOL_CLAN_MEMBER_LIST_ACK.cs | jaenudin86/PointBlank | 9 | 7046878 | /*
* C# Server Emulator Project Blackout / PointBlank
* Authors: the__all
* Copyright (C) 2015 | OZ-Network
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Game.Network.ServerPacket
{
class PROTOCOL_CLAN_MEMBER_LIST_ACK : SendPacket
{
public overr... |
SoftSpec/OS.cs | thyams/wolf | 4 | 7046879 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Globalization;
using System.Management;
using System.Net;
using System.Net.NetworkInformation;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using Wolf.SoftSpec;
us... |
Editor/WF_Common.cs | YukioKuroto/Unlit_WF_ShaderSuite | 1 | 7046880 | /*
* The MIT License
*
* Copyright 2018-2021 whiteflare.
*
* 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, ... |
Csharp OOP/11. Exam tasks and preparations/MortalEngines/IO/Engine.cs | danailstratiev/Csharp-SoftUni-Development | 0 | 7046881 | <filename>Csharp OOP/11. Exam tasks and preparations/MortalEngines/IO/Engine.cs
using MortalEngines.Core;
using MortalEngines.Core.Contracts;
using System;
using System.Collections.Generic;
using System.Text;
namespace MortalEngines.IO
{
public class Engine : IEngine
{
private MachinesManager machineM... |
original/RolePlayingGame/GameScreens/QuestNpcScreen.cs | lemdoublev/Xna-godot | 2 | 7046882 | <reponame>lemdoublev/Xna-godot
#region File Description
//-----------------------------------------------------------------------------
// QuestNpcScreen.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//--------------------------------------------------... |
src/Objects/GoogleSheetCell.cs | howcheng/GoogleSheetsHelper | 0 | 7046884 | using System;
using System.Drawing;
/// <summary>
/// Represents a single cell in a Google Sheet
/// </summary>
namespace GoogleSheetsHelper
{
public class GoogleSheetCell
{
/// <summary>Gets or sets the string value of the cell</summary>
public string StringValue { get; set; }
/// <summary>Gets or sets the ... |
byos/waf/scripts/source/portal/processor/src/Processor/Models/Transaction.cs | larryclaman/OpenHack | 148 | 7046885 | using System;
namespace Portal.Processor.Models
{
public class Transaction
{
public Guid Id { get; set; }
public Guid AccountId { get; set; }
public DateTimeOffset XtnDate { get; set; }
public string Description { get; set; }
public TransactionType XtnType { get; set; }
... |
Serializers.Data.Test/Any.cs | brwml/Serializers.Data | 0 | 7046886 | <reponame>brwml/Serializers.Data
using System;
using System.Security.Cryptography;
namespace Serializers.Data.Test
{
public static class Any
{
private static RandomNumberGenerator Rng = RandomNumberGenerator.Create();
public static char CharValue()
{
while (true... |
Assets/Scripts/Controllers/WindowStampController.cs | rraallvv/colorus | 90 | 7046888 | <filename>Assets/Scripts/Controllers/WindowStampController.cs<gh_stars>10-100
using UnityEngine;
using System.Collections;
public class WindowStampController : ControllerInterface {
GameState previousGameState = GameState.IN_GAME;
#region ControllerInterface implementation
public void init () {
WorkspaceEventM... |
MartinKMe/Controllers/ArticlesController.cs | martinkearn/mkme | 3 | 7046889 | using MartinKMe.Interfaces;
using MartinKMe.Models;
using MartinKMe.Models.ArticlesViewModels;
using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MartinKMe.Controllers
{
public class ArticlesCon... |
CodeGenerator/Models/Class/XamlCode.cs | p00037/CodeGenerator | 0 | 7046890 | using CodeGenerator.Common;
using CodeGenerator.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeGenerator.Models.Class
{
public class XamlCodeFody
{
private BaseInfoEntityList baseInfoEntityList = new BaseInfo... |
Source/Netduino.Foundation/ArrayEventArgs.cs | idlegoose/Netduino.Foundation | 55 | 7046891 | <filename>Source/Netduino.Foundation/ArrayEventArgs.cs<gh_stars>10-100
using System;
using Microsoft.SPOT;
namespace Netduino.Foundation
{
public class ArrayEventArgs : EventArgs
{
public int ItemIndex { get; set; }
public object Item { get; set; }
public ArrayEventArgs(int itemIndex, ... |
Septerra.Core/Formats/AM/AMImageLine.cs | xyx0826/Septerra | 6 | 7046892 | using System;
namespace Septerra.Core.AM
{
public struct AMImageLine
{
/* 00000000 */ public UInt32 ImageSegmentIndex;
/* 00000004 */ public UInt32 ImageSegmentCount;
}
} |
Core/Threading/LoadBalancer.cs | ulkyome/laucher_server | 0 | 7046893 | using System;
namespace Devcat.Core.Threading
{
public class LoadBalancer
{
public event EventHandler<EventArgs<Exception>> ExceptionOccur;
public void Start(int threadCount)
{
if (this.balancedThreadList != null)
{
throw new InvalidOperationException("Already started");
}
if (threadCount < 0... |
CSharp/RayTracerChallenge.App.Library.Tests/Fakes/FakeAsyncCommand.cs | jrockwood/RayTracerChallenge | 0 | 7046894 | <reponame>jrockwood/RayTracerChallenge
// ---------------------------------------------------------------------------------------------------------------------
// <copyright file="FakeAsyncCommand.cs" company="<NAME>">
// Copyright (c) <NAME>. All Rights Reserved. Licensed under the Apache License, Version 2.0. See
... |
WPILibInstaller-Avalonia/Interfaces/IProgramWindow.cs | thenetworkgrinch/WPILibInstaller-Avalonia | 0 | 7046895 | using System.Threading.Tasks;
using Avalonia.Controls;
namespace WPILibInstaller.Interfaces
{
public interface IProgramWindow
{
Task<string?> ShowFilePicker(string title, string extensionFilter, string? defaultPath = null);
Task<string?> ShowFolderPicker(string title, string? initialiDirectory... |
DartTracker.Model/ConversionRequests/ConsolePlayerConversionRequest.cs | mrlst16/DartTracker | 1 | 7046896 | using DartTracker.Model.Games;
using System;
using System.Collections.Generic;
using System.Text;
namespace DartTracker.Model.ConversionRequests
{
public class ConsolePlayerConversionRequest
{
public List<string> Names { get; set; }
public Game Game { get; set; }
}
}
|
Assets/Scripts/UI/VersionLabel.cs | KrasnovPavel/Elektronik-Tools-2.0 | 1 | 7046897 | using UnityEngine;
using UnityEngine.UI;
namespace Elektronik.UI
{
[RequireComponent(typeof(Text))]
[ExecuteInEditMode]
public class VersionLabel : MonoBehaviour
{
public string VersionNumber = "";
private void Awake()
{
VersionNumber = Application.version;... |
src/PiggyMetrics.Common/_g/Statistic.cs | xuanye/piggy-metrics | 0 | 7046900 | <reponame>xuanye/piggy-metrics
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: services/statistic.proto
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobu... |
tests/Alten.Tests/Career/ViewModels/JobViewModelPool.cs | nikita-sharov/alten | 0 | 7046901 | <filename>tests/Alten.Tests/Career/ViewModels/JobViewModelPool.cs<gh_stars>0
using Alten.Career.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace Alten.Career.ViewModels
{
internal static class JobViewModelPool
{
public static readonly JobViewModel ... |
sdk/monitor/Azure.ResourceManager.Monitor/tests/TestCase/ActionGroupCollectionTests.cs | sampa-msft/azure-sdk-for-net | 0 | 7046902 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.ResourceManager.Monitor;
using Azure.ResourceManager.Monitor.Tests;
using NUnit.Framework;
namespac... |
Assets/Scripts/MathsUtility/MathsUtility.cs | y3lousso/MathPhysProjetFinal | 2 | 7046904 | <reponame>y3lousso/MathPhysProjetFinal<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MathsUtility
{
// Return value in degrees
public static MyVector3 GetEulerAngleFromQuaternion(Quaternion q)
{
MyVector3 eulerAngles = new MyVector3();
... |
KilyCore.DataEntity/ResponseMapper/System/ResponsePreson.cs | EmilyEdna/KilyCore | 4 | 7046905 | <reponame>EmilyEdna/KilyCore
using System;
using System.Collections.Generic;
using System.Text;
/// <summary>
/// 作者:刘泽华
/// 时间:2018年5月29日11点29分
/// </summary>
namespace KilyCore.DataEntity.ResponseMapper.System
{
public class ResponsePreson
{
public Guid Id { get; set; }
/// <summary>
... |
Util.cs | spacechase0/EventRemembrance | 1 | 7046906 | using System.Collections.Generic;
using System.IO;
using Microsoft.Xna.Framework.Content;
using System.Reflection;
using System;
namespace EventRemembrance
{
class Util
{
// http://stackoverflow.com/questions/14238461/xna-content-directory-iteration
public static Dictionary<string, T> LoadCont... |
Content.Server/Power/EntitySystems/PowerReceiverSystem.cs | EmoGarbage404/space-station-14 | 0 | 7046907 | <filename>Content.Server/Power/EntitySystems/PowerReceiverSystem.cs<gh_stars>0
using Content.Server.Power.Components;
using Content.Shared.Examine;
using Content.Shared.Power;
namespace Content.Server.Power.EntitySystems
{
public sealed class PowerReceiverSystem : EntitySystem
{
public override void In... |
Mike.Utilities.Desktop/Backup.cs | mikemajesty/Minha-Dll | 5 | 7046908 | <filename>Mike.Utilities.Desktop/Backup.cs
using System;
using System.IO;
using System.Data.Entity;
using System.Windows.Forms;
namespace Mike.Utilities.Desktop
{
public static class Backup
{
public static int GerarBeckup(DbContext data)
{
try
{
string f... |
src/Compiler/Parsing/Syntax/Declarations/EnumMemberDeclaration.cs | danielcirket/language | 0 | 7046909 | using System;
using System.Collections.Generic;
using System.Linq;
using Compiler.Parsing.Syntax.Expressions;
namespace Compiler.Parsing.Syntax.Declarations
{
internal class EnumMemberDeclaration : Declaration
{
public Expression Value { get; }
public override SyntaxKind Kind => SyntaxKind.Enu... |
FamiFail/src/FamiFail.Common.Jellybean/Services/Ram.cs | kevkaran/famifail | 0 | 7046910 | <filename>FamiFail/src/FamiFail.Common.Jellybean/Services/Ram.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using FamiFail.Common.DataContracts.BusDevice.Memory;
namespace FamiFail.Common.Jellybean.Services
{
public class Ram : IMemory
{
public asy... |
Source/DigitalRune.Mathematics/Algebra/MatrixDecompositions/CholeskyDecompositionF.cs | Drul1337/DigitalRune | 234 | 7046911 | // DigitalRune Engine - Copyright (C) DigitalRune GmbH
// This file is subject to the terms and conditions defined in
// file 'LICENSE.TXT', which is part of this source code package.
using System;
namespace DigitalRune.Mathematics.Algebra
{
/// <summary>
/// Computes the Cholesky Decomposition of a matrix (sing... |
src/TT.Web/Views/QuestWriter/QuestConnection.cshtml | transformania/tt-game | 0 | 7046912 | <gh_stars>0
@model TT.Domain.ViewModels.Quest.QuestConnectionFormViewModel
<p>@Ajax.ActionLink("Click to view all quest states in this quest", MVC.QuestWriter.ShowAllQuestStates(Model.QuestConnection.QuestId), new AjaxOptions { UpdateTargetId = "swapMe", InsertionMode = InsertionMode.Replace, HttpMethod = "GET", OnS... |
Test/UnitTests/TestAuthPermissions/TestUsersPermissions.cs | mohamed-azhar/AuthPermissions.AspNetCore | 0 | 7046913 | // Copyright (c) 2021 <NAME>, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/
// Licensed under MIT license. See License.txt in the project root for license information.
using System.Security.Claims;
using AuthPermissions;
using AuthPermissions.BaseCode;
using AuthPermissions.BaseCode.PermissionsCode;
u... |
src/WebExtensions.Net/Generated/WebNavigation/GetFrameCallbackDetails.cs | dragnilar/WebExtensions.Net | 22 | 7046914 | <filename>src/WebExtensions.Net/Generated/WebNavigation/GetFrameCallbackDetails.cs
using JsBind.Net;
using System.Text.Json.Serialization;
namespace WebExtensions.Net.WebNavigation
{
// Type Class
/// <summary>Information about the requested frame, null if the specified frame ID and/or tab ID are invalid.</sum... |
Sss.GvErlenacker/Controllers/Pages/BlogController.cs | roli81/Sss.GvErlenacker | 0 | 7046915 | using Sss.GvErlenacker.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Umbraco.Web.Models;
using Umbraco.Web.Mvc;
namespace Sss.GvErlenacker.Controllers.Pages
{
public class BlogController : RenderMvcController
{
private readon... |
Sources/Platform/Core/Execution/MyThreadPool.cs | GoodAI/BrainSimulator | 313 | 7046916 | <gh_stars>100-1000
using System;
using System.Diagnostics;
using System.Threading;
namespace GoodAI.Core.Execution
{
/// Run the tasks
public class MyThreadPool
{
private int m_numOfThreads;
protected Thread[] m_threads;
protected ThreadExecInfo[] m_threadExecInfos;
... |
UserInterface/Views/AddSensorDialog.axaml.cs | jordandrako/hass-workstation-service | 0 | 7046917 | using Avalonia;
using Avalonia.Controls;
using Avalonia.Interactivity;
using Avalonia.Markup.Xaml;
using hass_workstation_service.Communication.InterProcesCommunication.Models;
using hass_workstation_service.Communication.NamedPipe;
using JKang.IpcServiceFramework.Client;
using Microsoft.Extensions.DependencyInjection... |
Imaging/ImagePalette.cs | Lichtblitz/AlbLib | 0 | 7046918 | using System;
using System.Collections.Generic;
using System.Collections;
using System.Drawing;
using System.IO;
using System.Linq;
using AlbLib.XLD;
namespace AlbLib.Imaging
{
/// <summary>
/// Color palette used when drawing images.
/// </summary>
[Serializable]
public abstract partial class ImagePalette : ILi... |
Common/Classes/Binary/Binary.cs | dxball/mma | 40 | 7046919 | #region Copyright
/*
This file came from Managed Media Aggregation, You can always find the latest version @ https://net7mma.codeplex.com/
<EMAIL> / (SR. Software Engineer ASTI Transportation Inc. http://www.asti-trans.com)
Permission is hereby granted, free of charge,
* to any person obtaining a copy of... |
LitleW/Views/Templates/CatalogItemTemplate.xaml.cs | frs535/LitleW | 1 | 7046920 | <gh_stars>1-10
using LitleW.Models.Base;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace LitleW.Views.Templates
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class CatalogItemTemplate : ContentView
{
public static readonly BindableProperty CatalogProperty = BindableP... |
V5_WinLibs/IDE/DataBase/Db/IDataBase.cs | qiyeyihao/V5_DataCollection | 17 | 7046921 | <filename>V5_WinLibs/IDE/DataBase/Db/IDataBase.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace V5_IDE._Class.DataBase.Db {
/// <summary>
/// 数据库基类
/// </summary>
public interface IDataBase {
#r... |
Abcoder.Tools/ABLoger/ABLogBean.cs | mx-ace/AbcoderSolution | 0 | 7046922 | <reponame>mx-ace/AbcoderSolution<gh_stars>0
using System;
namespace Abcoder.Tools.ABLoger
{
/// <summary>
/// 日志数据对象
/// </summary>
public class ABLogBean
{
/// <summary>
/// 日志类型
/// </summary>
public Enum Type;
/// <summary>
/// 日志的记录人时间
//... |
Threax.IdServer/InputModels/ClientQuery.cs | threax/Threax.IdServer | 1 | 7046923 | using System;
using System.Collections.Generic;
using Threax.AspNetCore.Halcyon.Ext;
using Threax.AspNetCore.Halcyon.Ext.ValueProviders;
using Threax.AspNetCore.Models;
using Threax.IdServer.EntityFramework.Entities;
namespace Threax.IdServer.InputModels
{
public class ClientQuery : PagedCollectionQuery
{
... |
System/Text/UTF8Encoding.cs | Dot42Xna/master | 1 | 7046924 | <filename>System/Text/UTF8Encoding.cs
// Copyright (C) 2014 dot42
//
// Original filename: UTF8Encoding.cs
//
// 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... |
src/Kaponata.iOS/MobileImageMounter/UploadImageRequest.cs | kaponata-io/kaponata | 10 | 7046925 | <reponame>kaponata-io/kaponata<filename>src/Kaponata.iOS/MobileImageMounter/UploadImageRequest.cs<gh_stars>1-10
// <copyright file="UploadImageRequest.cs" company="Quamotion bv">
// Copyright (c) Quamotion bv. All rights reserved.
// </copyright>
using Claunia.PropertyList;
using Kaponata.iOS.PropertyLists;
namespac... |
ZeldaOracle/GameOptimization/Common/Util/GdiCasting.cs | trigger-death/ZeldaOracle | 16 | 7046926 | using GdiColor = System.Drawing.Color;
using GdiPoint = System.Drawing.Point;
using GdiPointF = System.Drawing.PointF;
using GdiSize = System.Drawing.Size;
using GdiSizeF = System.Drawing.SizeF;
using GdiRectangle = System.Drawing.Rectangle;
using GdiRectangleF = System.Drawing.RectangleF;
using ZeldaOracle.Comm... |
Tetris/Garbage/ScreenManagement/ScalableSprite.cs | Eishaaya/Tetris-2 | 1 | 7046927 | <filename>Tetris/Garbage/ScreenManagement/ScalableSprite.cs
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Text;
namespace Tetris
{
class ScalableSprite : Sprite
{
public Vector2 scale;
public override Rectang... |
Assets/CustomUnity/Components/JaggedTableContent.cs | SAM-tak/CustomUnity | 2 | 7046928 | <reponame>SAM-tak/CustomUnity
using System;
using UnityEngine;
using UnityEngine.UI;
namespace CustomUnity
{
/// <summary>
/// Various size cell table view.
/// </summary>
[RequireComponent(typeof(RectTransform))]
public class JaggedTableContent : TableContentBase
{
public interface IDa... |
src/Veldrid/Graphics/ShaderStages.cs | mellinoe/Veldrid-3.0 | 0 | 7046929 | <reponame>mellinoe/Veldrid-3.0<filename>src/Veldrid/Graphics/ShaderStages.cs
using System;
namespace Veldrid.Graphics
{
/// <summary>
/// A bitmask enum specifying a shader stage, or a set of shader stages.
/// </summary>
[Flags]
public enum ShaderStages : byte
{
None = 0,
/// ... |
Swashbuckle.Dummy.Core/Controllers/FileUploadController.cs | rvegajr/Swashbuckle | 2,988 | 7046930 | using System;
using System.Net.Http;
using System.Web.Http;
namespace Swashbuckle.Dummy.Controllers
{
public class FileUploadController : ApiController
{
public int PostFormData()
{
throw new NotImplementedException();
}
}
}
|
VISOR/FrmVisorImagenes.Designer.cs | fabiomich/visor | 0 | 7046931 | <reponame>fabiomich/visor
namespace VISOR
{
partial class FrmVisorImagenes
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos que se estén usand... |
SaigeIncPy2Cs/IndicatorWarmupAlgorithm.py.cs | Synchronicity89/Lean | 0 | 7046932 | <gh_stars>0
using AddReference = clr.AddReference;
using System.Collections.Generic;
public static class IndicatorWarmupAlgorithm {
static IndicatorWarmupAlgorithm() {
AddReference("System");
AddReference("QuantConnect.Algorithm");
AddReference("QuantConnect.Indicators");
Add... |
ProjectMarco/Models/ForceJump.cs | JWootts/Project-Marco | 0 | 7046933 | using ProjectMarco.Interface;
using System;
namespace ProjectMarco.Models
{
public class ForceJump
{
public ForceJump(string clientStr, int m_ForceJump)
{
this.Offset = clientStr + Convert.ToString(m_ForceJump, 16);
}
public string Offset { get; set; } = "";
}
}
|
src/Sudoku.Core/Data/Cells.cs | micexu/Sudoku | 1 | 7046934 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Extensions;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.RegularExpressions;
using Sudoku.CodeGen;
using Sudoku.DocComments;
using static System.Numerics.BitOperations;
using static Sudoku.Constants... |
Programming Fundamentals May 2017/14_Exam Preparation I/02_SoftUniKaraoke/Program.cs | kr056/Softuni | 0 | 7046935 | <reponame>kr056/Softuni
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02_SoftUniKaraoke
{
class Program
{
static void Main(string[] args)
{
var participants = Console.ReadLine().Split(',')
... |
src/SFA.DAS.ReferenceData.Application.UnitTests/Queries/GetPublicSectorOrganisations/WhenIGetPublicSectorOrganisations.cs | uk-gov-mirror/SkillsFundingAgency.das-referencedata | 1 | 7046936 | using System.Collections.Generic;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.ReferenceData.Application.Queries.GetPublicOrganisations;
using SFA.DAS.ReferenceData.Domain.Interfaces.Data;
using SFA.DAS.ReferenceData.Domain.Models.Data;
using SFA.DAS.ReferenceData.Types.DTO;
namespace... |
DPA_Musicsheets/MusicXml/MusicXmlReader.cs | JoostVermeulen11/dpamuziekgenerator | 0 | 7046937 | <reponame>JoostVermeulen11/dpamuziekgenerator
using DPA_Musicsheets.Interfaces;
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DPA_Musicsheets.classes;
using System.Xml.Linq;
using System.Xml;
using... |
Libraries/Schema/Xms.Schema.Abstractions/CascadeType.cs | ganqiyin/xms | 518 | 7046938 | namespace Xms.Schema.Abstractions
{
public enum CascadeUpdateType
{
All = 1,
Actived = 2,
Owner = 3,
None = 4
}
public enum CascadeDeleteType
{
All = 1,
RemoveLink = 2,
Restrict = 3,
None = 4
}
} |
src/MinimalApis.Extensions/Filters/ValidationFilterRouteHandlerBuilderExtensions.cs | DamianEdwards/MinimalApis.Extensions | 138 | 7046939 | #if NET7_0_OR_GREATER
using System.Reflection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using MiniValidation;
namespace Microsoft.AspNetCore.Http;
/// <summary>
/// Validation extension methods for <see cref="RouteHandlerBuilder"/>.
/// </summary>
public... |
CosmicGraph/VertexProp.cs | odds-bods/CosmicGraph | 9 | 7046940 | <filename>CosmicGraph/VertexProp.cs
namespace CosmicGraph
{
public class VertexProp
{
public string Id { get; set; }
public string Value { get; set; }
}
}
|
Web/[Features]/Customers/List/Recent/Endpoint.cs | bobbyangers/FastEndpoints | 1 | 7046941 | <gh_stars>1-10
namespace Customers.List.Recent;
public class Endpoint : EndpointWithoutRequest
{
public override void Configure()
{
Verbs(Http.GET);
Routes("/customer/list/recent");
Policies("AdminOnly");
Roles(
Role.Admin,
Role.Staff);
... |
Models/IceCream.cs | RikiZilber/IceCreame | 0 | 7046942 | using crudTest.App_Start;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
namespa... |
src/FirstAML.Couriers.Tests/ParcelTest.cs | pvandervelde/interview-2020-firstaml | 0 | 7046943 | using System;
using NUnit.Framework;
namespace FirstAML.Couriers.Tests
{
public sealed class Tests
{
[Test]
public void When_CreatingAPackage_Then_DimensionsShouldBeSet()
{
var length = 1;
var width = 2;
var height = 3;
var ... |
samples/snippets/csharp/VS_Snippets_Winforms/System.Windows.Forms.DataGridViewSimpleUnbound/CS/simpleunbound.cs | pirluq/docs | 94 | 7046944 | //<Snippet00>
//<Snippet01>
using System;
using System.Drawing;
using System.Windows.Forms;
public class Form1 : System.Windows.Forms.Form
{
private Panel buttonPanel = new Panel();
private DataGridView songsDataGridView = new DataGridView();
private Button addNewRowButton = new Button();
private Butt... |
BalotoRandom.Android/CustomRenderers/AdMobInterstitial.cs | geojorg/BalotoRandom | 0 | 7046945 | <gh_stars>0
using Android.Gms.Ads;
using Android.Util;
using BalotoRand.CustomRenderers;
using BalotoRandom.Interfaces;
using Xamarin.Forms;
[assembly: Dependency(typeof(AdMobInterstitial))]
namespace BalotoRand.CustomRenderers
{
public class AdMobInterstitial : IAdInterstitial
{
InterstitialAd inters... |
Toggl.Core.UI/Parameters/EditDurationParameters.cs | medvedy/toggl | 0 | 7046946 | <filename>Toggl.Core.UI/Parameters/EditDurationParameters.cs
namespace Toggl.Core.UI.Parameters
{
public sealed class EditDurationParameters
{
public enum InitialFocus
{
Duration,
None
}
public DurationParameter DurationParam { get; }
public bool... |
LoanApp.DAL/LoanContext.cs | Plusce/Loan-app | 0 | 7046947 | <reponame>Plusce/Loan-app
using LoanApp.Entities.Base;
using LoanApp.Entities.Loan;
using Microsoft.EntityFrameworkCore;
namespace LoanApp.DAL
{
public class LoanContext : DbContext
{
public LoanContext(DbContextOptions<LoanContext> options)
: base(options)
{ }
public virt... |
src/EntityFramework/Core/Common/EntitySql/ScopeEntryKind.cs | TerraVenil/entityframework | 24 | 7046948 | <filename>src/EntityFramework/Core/Common/EntitySql/ScopeEntryKind.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Core.Common.EntitySql
{
internal enum ScopeEntryKind
{
SourceVar,... |
src/EFCore/DbFunctions.cs | pmiddleton/EntityFramework | 1 | 7046949 | <reponame>pmiddleton/EntityFramework
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.EntityFrameworkCore
{
/// <summary>
/// Provides CLR methods that get translated t... |
WPF-MachineLearning/WPF-MachineLearning/Controllers/KMeans.cs | StephenGoedhart/WPF-MachineLearning | 0 | 7046950 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WPF_MachineLearning.Controllers
{
class WhineOrder{
// Offer, Campaign, Varietal, Minimum, Origin, PastPeak
public int[] values { get; private set; }
public WhineO... |
src/Newbe.Claptrap.StateHolder.DeepCopy/Module/Providers/ClaptrapAppProvider.cs | Z4t4r/Newbe.Claptrap | 206 | 7046951 | using System.Collections.Generic;
namespace Newbe.Claptrap.Module.Providers
{
public class ClaptrapAppProvider : IClaptrapAppProvider
{
public IEnumerable<IClaptrapAppModule> GetClaptrapApplicationModules()
{
yield return new DeepClonerStateHolderModule();
}
}
} |
apis/Google.Cloud.EntityFrameworkCore.Spanner/Google.Cloud.EntityFrameworkCore.Spanner.IntegrationTests/Utilities/TestRelationalCommandBuilderFactory.cs | lkts/google-cloud-dotnet | 0 | 7046952 | <reponame>lkts/google-cloud-dotnet
// Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2... |
AGStateMachine/StateMutation/StateMutator.cs | ealgori/AGStateMachine | 0 | 7046953 | using System;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
using AGStateMachine;
namespace AGStateMachine.StateMutation
{
public class StateMutator<TInstance, TState> : IStateMutator<TInstance, TState> where TInstance : IInstance<TState>
where TState : Enum
... |
xFunc.Tests/Analyzers/SimplifierTests/MulSimplifierTest.cs | workgroupengineering/xFunc | 0 | 7046954 | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace xFunc.Tests.Analyzers.SimplifierTests;
public class MulSimplifierTest : BaseSimplifierTest
{
[Fact(DisplayName = "x * 2")]
public void Order1()
{
... |
LibuvSharp/Internal/uv_fs_t.cs | WebSharpProject/LibuvSharp | 1 | 7046955 | <reponame>WebSharpProject/LibuvSharp
using System;
using System.Runtime.InteropServices;
namespace LibuvSharp
{
[StructLayout(LayoutKind.Sequential)]
struct uv_fs_t
{
public int fs_type;
public IntPtr loop;
public IntPtr cb;
public IntPtr result;
public IntPtr ptr;
public IntPtr path;
public int error... |
src/EasyOjima/Video/Easing/IEasing.cs | Nodoka4318/EasyOjima | 0 | 7046956 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace EasyOjima.Video {
public interface IEasing {
string Name { get; }
double Calc(double x);
}
}
|
Colorizer/Colorizer/Imaging/LockBitmap.cs | InterlakeHighSchoolMachineLearningClub/Colorizer | 1 | 7046957 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Colorizer.Imaging
{
public class LockBitmap
{
public Color this[int x, int y]
... |
src/Numpy.Bare/Models/NDarray.aliases.cs | 0xzz/Numpy.NET | 5 | 7046958 | using System;
using System.Collections.Generic;
using System.Text;
namespace Numpy
{
public partial class NDarray
{
/// <summary>
/// Calculate the absolute value element-wise.
///
/// np.abs is a shorthand for this function.
/// </summary>
/// <pa... |
awesomename/Assets/Scripts/References.cs | henry4k/misfit-racing-with-mr-dude | 1 | 7046959 | <reponame>henry4k/misfit-racing-with-mr-dude
using System.Collections.Generic;
using UnityEngine;
public class References : MonoBehaviour {
public GameObject root;
public Camera mainCamera;
public PlayerReference playerReference;
public List<NpcReference> npcReferences = new List<NpcReference>();
}
|
examples/Example.Library/DataStores/MySql/Records/MySqlUserRecord.cs | xpike/repos | 0 | 7046960 | using XPike.Contracts;
namespace Example.Library.DataStores.MySql.Records
{
public class MySqlUserRecord
: IRecord
{
public int UserId { get; set; }
public string Username { get; set; }
}
} |
Source/Server/WebPortal/Modules/EmailBoxes/IssueRequest.ascx.cs | InstantBusinessNetwork/IBN | 21 | 7046961 | namespace Mediachase.UI.Web.Modules.EmailBoxes
{
using System;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Resources;
using Mediachase.IBN.Business;
using Mediachase.IBN.Business.Pop3;
using System.Reflection;
///... |
day11/day11Task/RulesEngine.cs | r0ka5/advent-of-code-2020 | 0 | 7046962 | <filename>day11/day11Task/RulesEngine.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace day11Task
{
public static class RulesEngine
{
public static List<List<char>> ApplyRules(List<List<char>> layout)
{
var newLayout = new List<List<char>>();
fo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.