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/StyleKitSharper.Web/Views/Home/About.cshtml | danielkatz/StyleKitSharper | 4 | 7066636 | <gh_stars>1-10
@{
ViewData["Title"] = "About";
}
<div class="container">
<h1 class="page-header">StyleKitSharper <small>PaintCode StyleKit transpiler from Java to C# for Xamarin.Android</small></h1>
<p>StyleKitSharper is a tool that transpiles StyleKits produced by <a href="https://www.paintcodeapp.com/"... |
AppMail/Model/MailPOP3.cs | chen1993nian/CPMPlatform | 0 | 7066637 | using EIS.AppBase;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace EIS.AppMail.Model
{
[Serializable]
public class MailPOP3 : AppModelBase
{
[Description("登录帐户")]
public string Account
{
get;
set;
}
[Description("自动接收")]
public int AutoReceive
{
ge... |
BandTracker/Views/Home/BandSuccess.cshtml | loisch22/band-tracker | 0 | 7066638 | @{
Layout = "_Layout";
}
<body id="band-form">
<h1 class="header">The band <em>@Model.GetName()</em> has been successfully added!</h1>
<div class="well detail-past">
<p class="detail"><strong>Band name:</strong> @Model.GetName()</p>
<p class="detail"><strong>Band price:</strong> $@Model.GetPrice()</p>
... |
Server/SchoolBusAPI/ViewModels/UserFavouriteViewModel.cs | ychung-mot/schoolbus | 2 | 7066639 | /*
* REST API Documentation for the MOTI School Bus Application
*
* The School Bus application tracks that inspections are performed in a timely fashion. For each school bus the application tracks information about the bus (including data from ICBC, NSC, etc.), it's past and next inspection dates and results, contac... |
src/SpecificationTranslator.UnitTests/Query/OracleWhereSqlGeneratorTests/DateTimeTypeSqlGeneratorTestsBase.cs | ShadowTracker/SpecificationTranslator | 0 | 7066640 | using SpecificationTranslator.Query;
using System;
namespace SpecificationTranslator.UnitTests.Query.OracleWhereSqlGeneratorTests
{
public abstract class DateTimeTypeSqlGeneratorTestsBase : GeneratorTestBase
{
protected string GetOracleDateTimeFormat(DateTime dateTime)
{
return ne... |
NGeo2.Shared/NGeoSettings.cs | Obalix/NGeo | 1 | 7066642 | <reponame>Obalix/NGeo
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NGeo
{
public static class NGeoSettings
{
private static byte s_maxParallelThreads = 4;
public static byte MaxParallelThreads
{
get { return s_maxParallelThrea... |
spatial/Models/WideWorldImportersContext.cs | cwoodruff/EFCore3Demos | 2 | 7066643 | <reponame>cwoodruff/EFCore3Demos<gh_stars>1-10
using Microsoft.EntityFrameworkCore;
namespace spatial.Models
{
public partial class WideWorldImportersContext : DbContext
{
public WideWorldImportersContext()
{
}
public WideWorldImportersContext(DbContextOptions<WideWorldImporte... |
BangumiX/Views/Collection/DailyCollection.xaml.cs | KIRI-Z/Bangumi-X | 2 | 7066644 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.... |
TX11/TX11Business/Selection.cs | N-Olbert/TouchX11 | 3 | 7066645 | using System;
using TX11Business.UIDependent;
namespace TX11Business
{
internal class Selection
{
private readonly int id;
private Client owner;
private Window ownerWindow;
private int lastChangeTime;
/**
* Constructor.
*
* @param id The sel... |
Sources/Tests/Core.Tests/Helpers/AlphanumericComparerTest.cs | mateuszokroj1/FileManipulator | 0 | 7066646 | using System.Linq;
using Xunit;
namespace Core.Tests.Helpers
{
public class AlphanumericComparerTest : IClassFixture<AlphanumericComparerFixture>
{
public AlphanumericComparerTest(AlphanumericComparerFixture fixture)
{
this.fixture = fixture;
}
private Alphanumeri... |
examples/Morsley.UK.People.API.Example.MVC/Models/GetPeople.cs | john-morsley/Users | 0 | 7066647 | <reponame>john-morsley/Users
namespace Morsley.UK.People.API.Example.MVC.Models;
public class GetPeople
{
public int PageNumber { get; set; } = Defaults.DefaultPageNumber;
public int PageSize { get; set; } = Defaults.DefaultPageSize;
public string? Fields { get; set; }
public string? Fi... |
NewDuster/Assets/Scripts/Rotate.cs | kaitsuks/CarGame2020 | 0 | 7066648 | using UnityEngine;
using System.Collections;
namespace KaitsuCar {
[AddComponentMenu("Playground/Movement/Rotate")]
[RequireComponent(typeof(Rigidbody2D))]
public class Rotate : Physics2DObject
{
[Header("Input keys")]
public Enums.KeyGroups typeOfControl = Enums.KeyGroups.ArrowKeys;
... |
src/Specification.Chains/Specifications/AmericanRestaurantSpecification.cs | christianmgreen/specification-chains | 0 | 7066649 | <reponame>christianmgreen/specification-chains<filename>src/Specification.Chains/Specifications/AmericanRestaurantSpecification.cs
using Specification.Chains.Core.Specifications;
using Specification.Chains.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
... |
Entitybase/Modification/Modifier.cs | shantiw/Entitybank | 0 | 7066650 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using XData.Data.Helpers;
using XData.Data.Objects;
using XData.Data.Schema;
namespace XData.Data.Modification
{
pub... |
src/Modules/ListingBotModule.cs | TropicalWeather/BotTerminator | 13 | 7066651 | using BotTerminator.Exceptions;
using RedditSharp;
using RedditSharp.Things;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BotTerminator.Modules
{
public abstract class ListingBotModule<T> : StatusPagePushableBotModule where T : Thing
{... |
Assets/Scripts/LiquidSwipe.cs | hsPark-df/LiquidSwipeUnity | 77 | 7066652 | using System;
using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
using SVGMeshUnity;
using Unity.VectorGraphics;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.Serialization;
using UnityEngine.UI;
public class LiquidSwipe : UIBehaviour, IBeginDragHandler,... |
Test.BLL/Interface/IArticleSvc.cs | JulienLuxx/ASP.NET-CORE-Demo-Postgre | 0 | 7066653 | <reponame>JulienLuxx/ASP.NET-CORE-Demo-Postgre<filename>Test.BLL/Interface/IArticleSvc.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Test.Core.Dto;
using Test.Core.IOC;
using Test.Service.Dto;
using Test.Service.QueryModel;
namespace Test.Service.Interface
{... |
Bulky/Converters/HalfConverter.cs | kishorejangid/ContentServerUploader | 1 | 7066654 | using System;
using System.Windows.Data;
namespace Bulky.Converters
{
class HalfConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
double? unit = (double?) value;
return unit /... |
scripts/EndGameUI.cs | Qualia91/MixAndJam2020 | 3 | 7066655 | using Godot;
using System;
public class EndGameUI : Node2D
{
private Label roundLabel;
private Label killCountLabel;
private Label timeLabel;
// Called when the node enters the scene tree for the first time.
public override void _Ready()
{
this.roundLabel = GetNode<Label>("RoundLabel");
this.killCountLabel ... |
aspnetcore/fundamentals/routing/samples/6.0/RoutingSample/Routing/ICoolMetadata.cs | jongalloway/AspNetCore.Docs | 5,343 | 7066656 | using Microsoft.AspNetCore.Mvc;
namespace RoutingSample.Routing;
// <snippet_InterfaceAttribute>
public interface ICoolMetadata
{
bool IsCool { get; }
}
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class CoolMetadataAttribute : Attribute, ICoolMetadata
{
public bool IsCool => tr... |
StateMachine/Machine.cs | patri0t86/ACManager | 8 | 7066657 | <gh_stars>1-10
using ACManager.StateMachine.Queues;
using ACManager.StateMachine.States;
using ACManager.Views;
using Decal.Adapter;
using Decal.Adapter.Wrappers;
using Decal.Filters;
using System;
using System.Collections.Generic;
namespace ACManager.StateMachine
{
/// <summary>
/// State Machine to handle a... |
src/NuGetGallery/Views/Authentication/SignIn.cshtml | projectkudu/NuGetGallery | 0 | 7066658 | <filename>src/NuGetGallery/Views/Authentication/SignIn.cshtml<gh_stars>0
@model SignInRequest
@{
ViewBag.Title = "Sign In";
}
<div id="SignIn">
<h1>Sign In</h1>
@Html.ValidationSummary(true)
@Html.Partial("_SignInForm", Model)
</div>
<div id="MiddleSeparator"></div>
<div id="Register">
<h1>... |
Startup.cs | dqmis/meistrelis | 0 | 7066659 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using meistrelis.Data;
using meistrelis.Data.IRepos;
using meistrelis.Data.SqlRepos;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
usin... |
Src/DevAge.Windows.Forms/Drawing/VisualElements/BackgroundLinearGradient.cs | janis3000/sourcegrid | 20 | 7066660 | using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace DevAge.Drawing.VisualElements
{
/// <summary>
/// Class used to draw a standard linear gradient background. If FirstColor == SecondColor a solid color is drawed.
/// </summary>
[Serializable]
public c... |
BurningKnight/entity/twitch/happening/MakeItemsDamageUse.cs | kwokfu/BurningKnight | 282 | 7066661 | <reponame>kwokfu/BurningKnight<filename>BurningKnight/entity/twitch/happening/MakeItemsDamageUse.cs
using BurningKnight.entity.creature.player;
namespace BurningKnight.entity.twitch.happening {
public class MakeItemsDamageUse : Happening {
public override void Happen(Player player) {
player.ItemDamage = true;
... |
core/Helpers/ApiHelper_Events.cs | yohsii/puck | 4 | 7066662 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.IO;
using puck.core.Base;
using System.Web;
using System.Threading.Tasks;
using puck.core.Abstract;
using System.Web.Mvc;
using puck.core.Concrete;
using System.Text.Re... |
WorkIt-Server/WorkIt-Server/Models/DTO/CreateDialogDTO.cs | prot3ct/WorkIt | 0 | 7066663 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WorkIt_Server.Models.DTO
{
public class CreateDialogDTO
{
public int User1Id { get; set; }
public int User2Id { get; set; }
}
} |
ODriveClientLibrary/NotificationExtensions.cs | metanoic/ODriveClientLibrary | 3 | 7066664 | <filename>ODriveClientLibrary/NotificationExtensions.cs
namespace ODriveClientLibrary
{
using System;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using System.Reactive.Linq;
using System.Reflection;
internal static class NotificationExtensions
... |
3-Business/4-Services/CommunityNews/Service/lm.Comol.Core.Msmq.Service.CommunityNews/CommunityNewsWinServiceInstaller.Designer.cs | EdutechSRL/Adevico | 0 | 7066665 | <filename>3-Business/4-Services/CommunityNews/Service/lm.Comol.Core.Msmq.Service.CommunityNews/CommunityNewsWinServiceInstaller.Designer.cs
using lm.Comol.Core.Msmq.Service.CommunityNews.Configurations;
using System.ServiceProcess;
namespace lm.Comol.Core.Msmq.Service.CommunityNews
{
partial class CommunityNewsW... |
solutions/NMF/Schema/IEC61968/Common/UserAttribute.cs | georghinkel/ttc2017smartGrids | 5 | 7066666 | //------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generi... |
problemas/1100/1115.cs | filimor/uri-online-judge | 10 | 7066667 | <gh_stars>1-10
using System;
namespace uri1115
{
internal static class Program
{
private static void Main()
{
while (true)
{
string[] entrada = Console.ReadLine().Split(' ');
int x = int.Parse(entrada[0]);
int y = int.Parse... |
Carbon/Configuration/CarbonConfiguration.cs | MikeCodesDotNET/SendToCarbon-VisualStudioExt | 1 | 7066668 | <gh_stars>1-10
using Carbon.Helpers.Extensions;
using Newtonsoft.Json;
namespace Carbon.Configuration
{
//To handle importing / exporting configurations
public class CarbonConfiguration
{
public static explicit operator CarbonConfiguration(LocalConfiguration addInConfiguration) => InternalConver... |
gerenciador-hashtags-twitter/gerenciador-hashtags-twitter.Application/Constants/ClaimsNameConstants.cs | martinslm/template-projeto-selecao | 1 | 7066669 | <filename>gerenciador-hashtags-twitter/gerenciador-hashtags-twitter.Application/Constants/ClaimsNameConstants.cs
namespace gerenciador_hashtags_twitter.Application.Constants
{
public static class ClaimsNameConstants
{
public const string UserId = "UserId";
public const string SecurityStamp = "S... |
Assets/Examples/ExampleScripts/UI/Inventory/Dataset/Inventory/InventoryDataset.cs | DonnYep/CosmosFramework | 110 | 7066670 | <gh_stars>100-1000
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Cosmos;
using System;
/// <summary>
/// 暂时不抽象,这个可能是背包,也可能是仓库,具体遇到再实现
/// </summary>
[CreateAssetMenu(fileName = "NewInventory", menuName = "CosmosFramework/Implement/InventoryDataSet/Inventory")]
[Serializable]
publ... |
MoneyTaker/Util/RegistryManager.cs | foryou8033j/MoneyTaker | 1 | 7066671 | using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MoneyTaker
{
public class RegistryManager
{
RegistryKey reg;
public RegistryManager()
{
reg = Registry.CurrentUser.CreateSu... |
src/BuildingBlocks/EventBus/EventBus.Test/EventHandle/TestIntegrationEventHandler.cs | bluetianx/eShopWithMicroservice | 0 | 7066672 | <reponame>bluetianx/eShopWithMicroservice
using System;
using System.Threading.Tasks;
using EventBus.Abstractions;
using EventBus.Test.Event;
namespace EventBus.Test.EventHandle
{
public class TestIntegrationEventHandler : IIntegrationEventHandler<TestEvent>
{
public bool Handled { get; private set; }
... |
Termigram/CommandLinkers/ICommandLinker`1.cs | Kir-Antipov/Termigram | 6 | 7066673 | using System.Collections.Generic;
using Termigram.CommandInfos;
using Termigram.Commands;
using Termigram.Converters;
using Termigram.DefaultValueProviders;
using Termigram.SpecialValueProviders;
namespace Termigram.CommandLinkers
{
public interface ICommandLinker<in TCommand> : ICommandLinker where TCommand : IC... |
src/Internal/Controls/ESRI.ArcGIS.Mapping.Controls/HeatMap/HeatMapConfigControl.cs | Esri/arcgis-viewer-silverlight | 7 | 7066674 | <filename>src/Internal/Controls/ESRI.ArcGIS.Mapping.Controls/HeatMap/HeatMapConfigControl.cs<gh_stars>1-10
/*
(c) Copyright ESRI.
This source is subject to the Microsoft Public License (Ms-PL).
Please see https://opensource.org/licenses/ms-pl for details.
All other rights reserved.
*/
using System;
using System.Net;
u... |
Z80.Kernel/Z80Assembler/Z80Instructions/SubRoutineInstructions/RetInstructionResolver.cs | konzolcowboy/TVCStudio | 3 | 7066675 | using System.Collections.Generic;
namespace Z80.Kernel.Z80Assembler.Z80Instructions.SubRoutineInstructions
{
internal class RetInstructionResolver : Z80InstructionResolver
{
public override bool Resolve(List<Operand> operands)
{
if (operands == null || operands.Count == 0)
... |
Assets/ObjectPool/Editor/PoolManagerEditor.cs | mdmnk/GameObjectPool | 7 | 7066676 | using UnityEngine;
using System.Collections;
using UnityEditor;
namespace GameObjectPool
{
[CustomEditor(typeof(PoolManager))]
public class PoolManagerEditor : Editor
{
public override void OnInspectorGUI()
{
DrawDefaultInspector();
var poolManager = (PoolManager)ta... |
AutoZap/view/EditContato.cs | paulocorcino/AutoZap | 0 | 7066677 | using SQLiteBAL.Common.DataShapes;
using SQLiteBAL.Services;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace AutoZap.view
{
public partial class EditContato : Form
{
TbContato... |
Tools/MigratePastoralWorkflowData/MigratePastoralWorkflowData/Program.cs | Northside-CC/RockPlugins | 15 | 7066678 | <filename>Tools/MigratePastoralWorkflowData/MigratePastoralWorkflowData/Program.cs
// <copyright>
// Copyright Southeast Christian Church
//
// Licensed under the Southeast Christian Church License (the "License");
// you may not use this file except in compliance with the License.
// A copy of the License shoud be in... |
UnityEngine/UIElements/FocusEvent.cs | SinsofSloth/RF5-global-metadata | 1 | 7066679 | public class FocusEvent : FocusEventBase<FocusEvent> // TypeDefIndex: 4178
{
// Methods
// RVA: 0x15BEC50 Offset: 0x15BED51 VA: 0x15BEC50 Slot: 7
protected internal override void PreDispatch(IPanel panel) { }
// RVA: 0x15BED10 Offset: 0x15BEE11 VA: 0x15BED10
public void .ctor() { }
}
|
TestApplication/Helpers/Utilities.cs | hebelmx/CQRSAndMediator-Scaffolding | 0 | 7066680 | <reponame>hebelmx/CQRSAndMediator-Scaffolding
using Application.Persistence;
namespace TestApplication.Helpers
{
public static class Utilities
{
public static void InitializeDbForTests(ApplicationDbContext db)
{
//add entities
db.SaveChanges();
}
public... |
sources/Interop/Windows/DirectX/um/d2d1effectauthor/ID2D1ComputeInfo.cs | reflectronic/terrafx.interop.windows | 0 | 7066681 | <reponame>reflectronic/terrafx.interop.windows<gh_stars>0
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d2d1effectauthor.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. A... |
P8-API/P8-API/Models/TripDocument.cs | AAU-projects/P8-API | 0 | 7066682 | using MongoDB.Bson.Serialization.Attributes;
using System.Collections.Generic;
namespace P8_API.Models
{
public class TripDocument
{
[BsonId]
public string DateId { get; set; }
public List<Trip> TripList { get; set; }
public TripDocument(string dateId, List<Trip> tripList)
... |
tests/NHSD.BuyingCatalogue.Solutions.Application.UnitTests/Solutions/Suppliers/GetSupplierBySolutionIdTests.cs | nhs-digital-gp-it-futures/BuyingCatalogueService | 2 | 7066683 | <filename>tests/NHSD.BuyingCatalogue.Solutions.Application.UnitTests/Solutions/Suppliers/GetSupplierBySolutionIdTests.cs
using System;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Moq;
using NHSD.BuyingCatalogue.Solutions.Application.Domain.Supplier... |
source/PoJun.Shadow.API/PoJun.Shadow.WebApi/Middleware/SetupAppMetricsMilddleware.cs | YGeneral/PoJun.Shadow | 37 | 7066684 | using App.Metrics;
using App.Metrics.Health;
using App.Metrics.Health.Builder;
using App.Metrics.Scheduling;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using PoJun.Shadow.Tools;
using System;
using System.Collections.Generic;
using Syst... |
Assets/Scripts/Crafting/CraftingRecipeUI.cs | CallMeCody/Survival-Test | 0 | 7066685 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class CraftingRecipeUI : MonoBehaviour
{
public CraftingRecipe recipe;
public Image backgroundImage;
public Image icon;
public TextMeshProUGUI itemName;
public Image[] resourceCo... |
Preferences.cs | 23786/C-Windows- | 0 | 7066686 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace C____Windows_ {
public interface PreferencesDelegate {
void didSetColor();
... |
FPS_Zombies_Gun_Customisations/Assets/Scripts/Weapon_Attachements/BaseWeaponMag.cs | adel-talhouk/gpr-470-01_portfolio | 0 | 7066687 | <reponame>adel-talhouk/gpr-470-01_portfolio
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "WeaponAttachments/Mag")]
public class BaseWeaponMag : ScriptableObject
{
//How many bullets in each magazine
public int magSize;
//How many additional mag... |
Assets/Shoot/Scripts/Missile.cs | PedroMR/cardboard-shoot | 0 | 7066688 | using UnityEngine;
using DG.Tweening;
using System.Collections;
public class Missile : MonoBehaviour
{
public Vector3 FlyingToPosition;
public float MaxSpeed = 20.0f;
public float Acceleration = 8f;
private float speed = 0;
public float TRIGGER_DISTANCE_SQ = 2 * 2;
public GameObject ExplosionEffect;
private bo... |
Assets/Scripts/Weapons/DroneGunBullet.cs | paidgeek/Withstand | 0 | 7066689 | using UnityEngine;
public class DroneGunBullet : Bullet
{
[SerializeField] private DroneGunBulletImpact m_ImpactPrefab;
private void Start()
{
m_ImpactPrefab.CreatePool(5);
}
protected override void OnHit(RaycastHit hit)
{
var target = hit.collider.GetComponent<ITarget>();
var impact = m_Imp... |
src/core/gateway/Union.Gateway/Internal/UnionGatewayBuilderDefault.cs | 491134648/UnionIOV | 4 | 7066690 | <reponame>491134648/UnionIOV<filename>src/core/gateway/Union.Gateway/Internal/UnionGatewayBuilderDefault.cs
using JT808.Protocol;
using Union.Gateway.Abstractions;
namespace Union.Gateway.Internal
{
public class UnionGatewayBuilderDefault : IUnionGatewayBuilder
{
public IJT808Builder JT808Builder { ge... |
OneDrive/Dependencies/DependencyModule.cs | hawken93/lukes-stash | 48 | 7066691 | using MediaBrowser.Common;
using MediaBrowser.Common.Plugins;
using OneDrive.Api;
using OneDrive.Configuration;
namespace OneDrive.Dependencies
{
public class DependencyModule : IDependencyModule
{
public void BindDependencies(IDependencyContainer container)
{
Bind<IConfigurationRe... |
sample/MultiMigrationSample/Library/LibraryDbContext.cs | christianacca/EntityFramework-MultiMigrate | 0 | 7066692 | using System.Data.Entity;
using CcAcca.BaseLibrary;
using CcAcca.EntityFramework.MigrationUtils.Conventions;
namespace CcAcca.Library
{
public class LibraryDbContext : BaseLibraryDbContext
{
public DbSet<Order> Orders { get; set; }
protected override void OnModelCreating(DbModelBuilder modelB... |
TheLittleOrangeChannel/TheLittleOrangeChannel/obj/Release/Package/PackageTmp/Views/Shared/_LoginPartial.cshtml | GilbertoAnderson/LittleOrange | 0 | 7066693 | <filename>TheLittleOrangeChannel/TheLittleOrangeChannel/obj/Release/Package/PackageTmp/Views/Shared/_LoginPartial.cshtml<gh_stars>0
@using TheLittleOrangeChannel.Controllers.Shared;
@if (SessionProfile.Logado)
{
<ul class="nav navbar-nav navbar-right">
<li>
@Html.ActionLink((string)Session["Nome"], "Index"... |
src/Sirius.Common/Collections/RangeDictionary.cs | siriusch/Sirius.Common | 0 | 7066694 | <reponame>siriusch/Sirius.Common<filename>src/Sirius.Common/Collections/RangeDictionary.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.Contracts;
using System.Linq;
namespace Sirius.Collections {
/// <summary>A key-value dictiona... |
Assets/TEMPLATES/Interfaces/IGetObjectByID.cs | xumera-hz/Multiplayer-prototip-shooter-Csharp-Unity | 0 | 7066695 | <reponame>xumera-hz/Multiplayer-prototip-shooter-Csharp-Unity
public interface IGetObjectByKey<Key, Return> : IInstanceGetObjectByKey<Key, Return>, ITryGetObjectByKey<Key, Return> { }
public interface IInstanceGetObjectByKey<Key, Return>
{
Return Get(Key key);
}
public interface ITryGetObjectByKey<Key, Return>
{... |
Lib.AspNetCore.WebSocketsCompression/WebSocketCompressionMiddleware.cs | tpeczek/Lib.AspNetCore.WebSocketsCompression | 23 | 7066696 | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.Extensions.Options;
using Lib.AspNetCore.WebSocketsCompression.Http.Features;
namespace Lib.AspNetCore.WebSocketsCompression
{
/// <summary>
/// Middleware providing support f... |
BPMScriptDebugger/CommandProcessor.cs | yyc12345/bpm | 0 | 7066697 | using CommandLine;
using ShareLib;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis;
using System.Runtime.Loader;
using System.Reflection;
namespace BPMScriptDebugger {
public static class Comm... |
Assets/Scripts/Controllers/PlayerController.cs | hesantan/UFO_Game | 0 | 7066698 | using Assets.Scripts.Managers;
using UnityEngine;
namespace Assets.Scripts.Controllers
{
/// <summary>
/// Controller for player actions
/// </summary>
public class PlayerController : MonoBehaviour
{
public float Speed;
public AudioClip CollectPickupAudio;
private Rigidbody2D _rigidbody2D;
private Audi... |
src/Services/ECommerce.Services.Catalogs/ECommerce.Services.Catalogs/Products/Models/ProductView.cs | BuiTanLan/ecommerce-microservices | 0 | 7066699 | <reponame>BuiTanLan/ecommerce-microservices
namespace ECommerce.Services.Catalogs.Products.Models;
public class ProductView
{
public long ProductId { get; set; }
public string ProductName { get; set; } = default!;
public long CategoryId { get; set; }
public string CategoryName { get; set; } = default!;... |
0_homeworks/C#/1 Console/4/algTime/ConsoleApp1/Program.cs | Team-on/works | 10 | 7066700 | using System;
using System.Diagnostics;
using System.Threading;
namespace ConsoleApp1{
class Program{
static void Main(string[] args){
double[,] b = new double[3, 4];
Random r = new Random();
for (byte i = 0; i < 3; ++i) {
for (byte j = 0; j < 4; ++j) {
b[i, j] = r.Nex... |
MultiplayerGameFramework/DatabaseCreation/Program.cs | dragagon/mgf-framework-2 | 19 | 7066701 | <gh_stars>10-100
using MGF;
using MGF.DataEntities;
namespace DatabaseCreation
{
class Program
{
static void Main(string[] args)
{
using (MGFContext entities = new MGFContext())
{
User user = new User() { LoginName = "admin" };
entities.U... |
source/dNES.Core/Mapper.cs | psykad/dNES | 0 | 7066702 | namespace dNES.Core
{
public abstract class Mapper
{
internal readonly byte PrgPages;
internal readonly byte ChrPages;
internal Mapper(byte prgPages, byte chrPages)
{
PrgPages = prgPages;
ChrPages = chrPages;
}
public abstra... |
source/R5T.S0030.F001/Code/Bases/Extensions/IDocumentationGeneratorExtensions.cs | SafetyCone/R5T.S0030 | 0 | 7066703 | using System;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using R5T.B0006;
using Instances = R5T.S0030.F001.Instances;
namespace R5T.S0030.F001
{
public static class IDocumentationGeneratorExtensions
{
public static XmlElementSyntax AddXMethodXmlSummaryElement(this ID... |
Assets/Scripts/Player Scripts/BaseController.cs | jose-Abel/ZombieCrasher | 0 | 7066704 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BaseController : MonoBehaviour
{
public Vector3 speed;
public float x_Speed = 8f, z_Speed = 15f;
public float accelerated = 15f, deccelarated = 10f;
protected float rotationSpeed = 10f;
protected float m... |
Cruncher/CssCruncher.cs | gfyans/Cruncher | 0 | 7066705 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CssCruncher.cs" company="<NAME>">
// Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0.
// </copyright>
// <summary>
// The css cruncher.
// </summary>... |
Yggdrasil/Controls/MessageEditor.Designer.cs | xdanieldzd/Yggdrasil | 14 | 7066706 | namespace Yggdrasil.Controls
{
partial class MessageEditor
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>... |
MainClass.cs | GPRS12/MyTimeTrack | 0 | 7066707 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Drawing;
using Microsoft.Win32;
namespace MyTimeTrack
{
public partial class MainClass : ApplicationContext
{
private NotifyIcon notifyIcon;
... |
test/FunctionalTests/Taupo/Source/Taupo.Query/Linq/LinqQuerySyntaxCodeGenerationVisitor.cs | Sreejithpin/odata.net | 629 | 7066709 | <filename>test/FunctionalTests/Taupo/Source/Taupo.Query/Linq/LinqQuerySyntaxCodeGenerationVisitor.cs
//---------------------------------------------------------------------
// <copyright file="LinqQuerySyntaxCodeGenerationVisitor.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserv... |
src/MAVN.Service.AdminAPI/Models/ActionRules/ImageAddRequest.cs | HannaAndreevna/MAVN.Service.AdminAPI | 0 | 7066710 | <reponame>HannaAndreevna/MAVN.Service.AdminAPI<gh_stars>0
using System;
namespace MAVN.Service.AdminAPI.Models.ActionRules
{
/// <summary>
/// Represents image add request for a burn rule
/// </summary>
public class ImageAddRequest
{
/// <summary>
/// Rule content ids
/// R... |
src/StripController/StripController/App.xaml.cs | anatoly-kryzhanovsky/Pulsar | 0 | 7066711 | using System.Windows;
using Ninject;
using StripController.Infrastructure.StripWrapper;
using StripController.Services;
using StripController.Services.ModuleConfig;
namespace StripController
{
public partial class App
{
protected override void OnStartup(StartupEventArgs e)
{
base.... |
Limpl.Tests/Tests/_LimplTest.cs | vanillity/limpl | 1 | 7066712 | using System;
using System.Collections.Generic;
using System.Text;
using Vanillity.Tests;
using Xunit.Abstractions;
namespace LimplTests
{
public class LimplTest : Test
{
public LimplTest(ITestOutputHelper o) : base(o) {}
}
}
|
Source/integration/AndroidsMod.cs | WinstontheButterfly/HumanlikeLifeStages | 0 | 7066713 | using Verse;
namespace HumanlikeLifeStages
{
public static class AndroidsMod
{
private static ThingDef ChjDroid = DefDatabase<ThingDef>.GetNamedSilentFail("ChjDroid"),
ChjBattleDroid= DefDatabase<ThingDef>.GetNamedSilentFail("ChjBattleDroid"),
ChjAndroid = DefDatabase<ThingDef>.... |
VectorImageEdit/Modules/Utility/SortedContainer.cs | theradeonxt/FastImageEditor | 3 | 7066714 | using System;
using System.Collections.Generic;
using JetBrains.Annotations;
namespace VectorImageEdit.Modules.Utility
{
// TODO: Investigate thread safety for iteration and lock overhead
/// <summary>
///
/// SortedContainer Module
///
/// - implements a sorted list of items, using their co... |
Assets/GameMain/Scripts/Editor/FocusElementEditor.cs | suweitao8/BattleOfTheTwoCities | 2 | 7066715 | <filename>Assets/GameMain/Scripts/Editor/FocusElementEditor.cs
using UnityEditor;
namespace GameMain
{
[CustomEditor(typeof(FocusElementEditor), true)]
public class FocusElementEditor : UnityEditor.Editor
{
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
... |
Eighty.Bench/DeepPs.cs | benjamin-hodgson/Eighty | 37 | 7066716 | using Eighty.Twenty;
namespace Eighty.Bench
{
public class DeepPs : HtmlBuilder
{
protected override void Build()
{
_DeepPs(1000);
}
private void _DeepPs(int lvl)
{
if (lvl == 0)
{
return;
}
us... |
DLEDotNet/Editor/Layouts/TextureAlignment.Designer.cs | overload-development-community/DLE.NET | 2 | 7066717 | namespace DLEDotNet.Editor.Layouts
{
partial class TextureAlignment
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
Neurotoxin.Godspeed/Neurotoxin.Godspeed.Core/Io/Stfs/Data/VideoMediaInfo.cs | mercenaryntx/godspeed | 6 | 7066718 | <filename>Neurotoxin.Godspeed/Neurotoxin.Godspeed.Core/Io/Stfs/Data/VideoMediaInfo.cs
using System;
using Neurotoxin.Godspeed.Core.Attributes;
using Neurotoxin.Godspeed.Core.Constants;
using Neurotoxin.Godspeed.Core.Models;
namespace Neurotoxin.Godspeed.Core.Io.Stfs.Data
{
public class VideoMediaInfo : BinaryMode... |
Agiil.Domain/CurrentEnvironment.cs | csf-dev/agiil | 0 | 7066719 | using System;
namespace Agiil.Domain
{
public class CurrentEnvironment : IEnvironment
{
public DateTime GetCurrentUtcTimestamp()
{
return DateTime.UtcNow;
}
public DateTime GetCurrentLocalTimestamp()
{
return DateTime.Now;
}
}
}
|
Address.API/Controllers/v1/BaseController.cs | LuisSanchez/WebApi-Core-3.0-Boilerplate | 3 | 7066720 | <filename>Address.API/Controllers/v1/BaseController.cs
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
namespace Address.API.Controllers.v1
{
[ApiController]
[GlobalExceptionFilter]
public class BaseController : ControllerBase
{
/// <s... |
01.Observer/src/C#-Stock/src/Program.cs | leoshiang/DesignPatterns | 1 | 7066721 | using System;
using System.Collections.Generic;
namespace DoFactory.GangOfFour.Observer.RealWorld
{
public interface IInvestor
{
void Update(Stock stock);
}
public abstract class Stock
{
private readonly List<IInvestor> Investors = new List<IInvestor>();
priva... |
Cloudy.Protobuf/Enums/DataType.cs | eigenein/cloudy | 1 | 7066722 | <reponame>eigenein/cloudy
using System;
namespace Cloudy.Protobuf.Enums
{
/// <summary>
/// Represents the way in what a value should be encoded to the Protobuf format.
/// </summary>
public enum DataType
{
/// <summary>
/// The default way for the specified .NET type will... |
Meru_Web/MeruAPI/DatabaseContext/DatabaseContext.cs | enigma34/MERU-App | 0 | 7066723 | <filename>Meru_Web/MeruAPI/DatabaseContext/DatabaseContext.cs<gh_stars>0
using System.Data.Entity;
using Meru_Web.Models;
namespace Meru_Web.DatabaseContext
{
public class MeruContext:DbContext
{
public MeruContext():base("DefaultConnection")
{
//Database.SetInitializer<MeruContext... |
src/Cimbalino.Phone.Toolkit.Background (WP71)/Services/IShellTileServiceTile.cs | Cimbalino/Cimbalino-Phone-Toolkit | 12 | 7066724 | <gh_stars>10-100
// ****************************************************************************
// <copyright file="IShellTileServiceTile.cs" company="<NAME>">
// Copyright © <NAME> 2013
// </copyright>
// ****************************************************************************
// <author><NAME></author>
// <emai... |
LMAOSoft/Inc/Forms/Tools/Game Info/frm_game_info_multiple.cs | ImSeaWorld/LMAOSoft | 0 | 7066725 | <reponame>ImSeaWorld/LMAOSoft
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Threading;
using Endian;
using X360.STFS;
using X360.Other;
using LMAOSoft... |
SteamConsoleHelper/ApiModels/Requests/GrindItemIntoGemsPostModel.cs | Marzipans/St3amConsoleHelper | 0 | 7066726 | namespace SteamConsoleHelper.ApiModels.Requests
{
public class GrindItemIntoGemsPostModel
{
public string SessionId { get; set; }
public uint AppId { get; set; }
public ulong AssetId { get; set; }
public uint ContextId { get; set; }
// ReSharper disable once Inconsis... |
CommandDotNet/Builders/ICustomAttributesContainer.cs | giuliov/commanddotnet | 405 | 7066727 | using System.Reflection;
namespace CommandDotNet.Builders
{
public interface ICustomAttributesContainer
{
/// <summary>The attributes defined on the method or class that define this object</summary>
ICustomAttributeProvider CustomAttributes { get; }
}
} |
modules/WebApp/Startup.cs | scout208/iot-edge-hmi-module | 9 | 7066728 | <gh_stars>1-10
/*
This code is called from Program.cs and activates other services and sets
configurations that the WebApp Module uses. This includes:
-Whether the WebApp using the InProcShelfDataGenerator.cs to generate data for
UI testing or connects to ModuleClient.cs for live data.
-Adding HostedService: Client... |
Assets/Scripts/Coin.cs | phelow/Stalagmite | 0 | 7066729 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Coin : MonoBehaviour
{
void OnTriggerEnter2D(Collider2D other)
{
if (other.gameObject.tag == "Body" || other.gameObject.tag == "Hand")
{
GameManager.ms_instance.GainCoin();
Destr... |
C#Advanced/ProjectsAndSolutionsFromLecturesAndExercises/05ex-FunctionalProgramming/04.FindEvensOrOdds/Program.cs | LyubomirRashkov/Software-University-SoftUni | 0 | 7066730 | <gh_stars>0
using System;
using System.Linq;
namespace _04.FindEvensOrOdds
{
class Program
{
static void Main(string[] args)
{
int[] boundaries = Console.ReadLine()
.Split(' ', StringSplitOptions.RemoveEmptyEntries)
.Select(int.Parse)
... |
CSharp/leetcodesln_test/FruitIntoBasketUnitTest.cs | user3301/TrialOfTheGrasses | 3 | 7066731 | <gh_stars>1-10
using leetcodesln;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace leetcodesln_test
{
[TestClass]
public class FruitIntoBasketUnitTest
{
public FruitIntoBaskets FruitIntoBaskets { get; set; }
[TestInitialize]
public void BeforeEach()
{
... |
Tulpep.PayULibrary/Models/Response/Response_PayUQueries/Ping/RootPayUQueriesPingResponse.cs | Tulpep/PayU | 6 | 7066732 | namespace Tulpep.PayULibrary.Models.Response.Response_PayUQueries.Ping
{
public class RootPayUQueriesPingResponse
{
public string code { get; set; }
public string error { get; set; }
public Response_QueryPing_Payload result { get; set; }
}
}
|
src/GildedRose.Console/GildedRoseForm.cs | nichitacebotari0/GildedRose | 0 | 7066733 | using System.Windows.Forms;
namespace GildedRose.Console
{
public partial class GildedRoseForm : Form
{
private readonly ItemUpdateView itemView;
public GildedRoseForm()
{
InitializeComponent();
itemView = new ItemUpdateView() { Dock = DockStyle.Fill };
... |
ZeroconfTest.RT/MainPage.xaml.cs | saldoukhov/ZeroconfRT | 8 | 7066734 | <filename>ZeroconfTest.RT/MainPage.xaml.cs
using System;
using System.Reactive.Linq;
using System.Diagnostics;
using Windows.UI.Xaml;
using Zeroconf;
namespace ZeroconfTest.RT
{
public sealed partial class MainPage
{
private IDisposable _d;
public MainPage()
{
InitializeCo... |
Avatarator/AbbreviationGenerator.cs | ashpetrosyan97/avatarator | 7 | 7066735 | using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Text;
using System.Linq;
namespace Avatarator
{
public class AbbreviationGenerator : IGenerateAvatar
{
public AbbreviationGenerator(IAvataratorConfig config)
{
this.config = config;
}
privat... |
src/Microsoft.Health.SqlServer/Features/Client/SqlConnectionWrapperFactory.cs | peizhou298/healthcare-shared-components | 28 | 7066736 | <gh_stars>10-100
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// ------------------------------------------... |
Msg/GenMsgs/pacmod_msgs/DetectedObjectRpt.cs | autocore-ai/Roslin | 0 | 7066737 | <gh_stars>0
namespace Roslin.Msg.pacmod_msgs
{
[MsgInfo("pacmod_msgs/DetectedObjectRpt", "bc712b16be2ea6767f3e682c00a854bc", @"Header header
float64 front_object_distance_low_res # Measured distance to nearest front object
float64 front_object_distance_high_res # Measured distance to nearest front o... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.