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 |
|---|---|---|---|---|
Dashboard/Program.cs | Azure-Samples/Orleans-Cluster-on-Azure-Container-Apps | 0 | 7058718 | using Grains;
using Orleans;
using Orleans.Configuration;
using Orleans.Hosting;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddWebAppApplicationInsights("Dashboard");
builder.Host.UseOrleans(siloBuilder =>
{
siloBuilder
.Configure<ClusterOptions>(options =>
{
opt... |
src/Web/CloudPhoto.Web/Controllers/ImagesController.cs | chemiliq-git/CloudPhoto | 0 | 7058719 | <reponame>chemiliq-git/CloudPhoto<filename>src/Web/CloudPhoto.Web/Controllers/ImagesController.cs
namespace CloudPhoto.Web.Controllers
{
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text.Json;
... |
Assets/Conekton/Multiplayer/Scripts/UseCase/Avatar/Infrastructure/PlayerAvatarController.cs | miyatakoji/magic-leap-distance-checker | 0 | 7058720 | using UnityEngine;
using Zenject;
using Conekton.ARUtility.Player.Domain;
using Conekton.ARMultiplayer.Avatar.Domain;
namespace Conekton.ARMultiplayer.Avatar.Infrastructure
{
public class PlayerAvatarController : IAvatarController
{
[Inject] private IPlayer _player = null;
Pose... |
src/DBot/Commands/Common/SourceFileSettings.cs | asmorger/domain-bot | 0 | 7058721 | <gh_stars>0
using System.IO;
namespace DBot.Commands.Common;
public class SourceFileSettings : CommandSettings
{
[CommandArgument(0, "<file>")] public string FilePath { get; set; } = default!;
public override ValidationResult Validate() =>
File.Exists(FilePath)
? ValidationResult.Success... |
01. Programming_Basics/03. Simple-Conditions/PoolPipes/Program.cs | IvanKirov/SoftUni | 0 | 7058722 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PoolPipes
{
class Program
{
static void Main(string[] args)
{
var obemV = int.Parse(Console.ReadLine());
var pipe1 = int.Parse(Console.ReadLine(... |
ABC.App/ABC.Database/Migrations/201610021533408_InitialCreate.cs | HCB2-NPT/foreign-language-center | 0 | 7058723 | namespace ABC.Database.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class InitialCreate : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Agency",
c => new
{
... |
operators/enmasse/dotnet/Kubernetes/Crds/Operators/Enmasse/Iot/V1Alpha1/Outputs/IoTProjectSpecConfiguration.cs | pulumi/pulumi-kubernetes-crds | 0 | 7058724 | // *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Kubernetes.Types.O... |
src/EthernaCredit/Areas/Manage/Pages/Index.cshtml.cs | Etherna/etherna-credit | 0 | 7058725 | <filename>src/EthernaCredit/Areas/Manage/Pages/Index.cshtml.cs
// Copyright 2021-present <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/l... |
LinuxCommunicator/Monitoring/ConfigChangedEventArgs.cs | Azure/hpcpack-linux-agent | 2 | 7058726 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.Hpc.Communicators.LinuxCommunicator.Monitoring
{
public class ConfigChangedEventArgs : EventArgs
{
public MetricCountersConfig CurrentConfig { get; set... |
Mega Mix Mod Manager/Editors/Database/Property_Tex.cs | VelouriasMoon/Mega-Mix-Mod-Manager | 0 | 7058727 | <reponame>VelouriasMoon/Mega-Mix-Mod-Manager
using System.ComponentModel;
using MikuMikuLibrary.Databases;
using Mega_Mix_Mod_Manager.Objects;
namespace Mega_Mix_Mod_Manager.Editors.Database
{
internal class Property_Tex
{
[Category("Texture")]
[Browsable(true)]
[ReadOnly(false)]
... |
city_game_frontend/Assets/Scripts/RequestData/GuildDataRequestData.cs | nokia-wroclaw/innovativeproject-city-game | 3 | 7058728 | <reponame>nokia-wroclaw/innovativeproject-city-game<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class GuildDataRequestData
{
public int type = Const.MESSAGE_TYPE_GUILD_DATA_REQUEST;
public GuildDataRequestData()
{
... |
System.ServiceModel/System/ServiceModel/ComIntegration/MonikerBuilder.cs | cnork/referencesource | 911 | 7058729 | <filename>System.ServiceModel/System/ServiceModel/ComIntegration/MonikerBuilder.cs
//-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace Syste... |
CodeNav.Shared/Windows/FilterWindow.xaml.cs | nickmcummins/CodeNav | 0 | 7058730 | <reponame>nickmcummins/CodeNav
#nullable enable
using CodeNav.Helpers;
using CodeNav.Models;
using CodeNav.Shared.ViewModels;
using Microsoft.VisualStudio.PlatformUI;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
namespace CodeNav.Windows
{
public partial class FilterWindow : DialogWind... |
Nebula/Pages/ShowBillBoard.razor.cs | LYRA-Block-Lattice/LyraNebula | 1 | 7058731 | using Fluxor;
using Lyra.Data.API;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
using Nebula.Data;
using Nebula.Store.NodeViewUseCase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace Nebula.Pages
{
publi... |
Unity/Codes/HotfixView/Demo/UI/DlgRedDot/DlgRedDotSystem.cs | dingxing123/ET-EUI | 132 | 7058732 | using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
using UnityEngine.UI;
namespace ET
{
[FriendClass(typeof(DlgRedDot))]
public static class DlgRedDotSystem
{
public static void RegisterUIEvent(this DlgRedDot self)
{
}
public static void ShowWindow(this Dlg... |
BitFlyerDotNet.LightningApi/Private/SendChildOrder.cs | fiatsasia/BitFlyerDotNet | 3 | 7058733 | //==============================================================================
// Copyright (c) 2017-2021 Fiats Inc. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt in the solution folder for
// full license information.
// https://www.fiats.asia/
// Fiats Inc. Nakano, Tokyo, Japan
//
... |
JoinAGameTable/Services/ISendMailService.cs | joinagametable/joinagametable | 2 | 7058735 | <reponame>joinagametable/joinagametable
using System.Globalization;
using System.Threading.Tasks;
namespace JoinAGameTable.Services
{
/// <summary>
/// All mail service implementations must extend this interface.
/// </summary>
public interface ISendMailService
{
/// <summary>
/// S... |
ReservaSala/Views/UsuarioSalas/Copy.cshtml | reservaSala/reservasala_tcs | 0 | 7058736 | <reponame>reservaSala/reservasala_tcs<filename>ReservaSala/Views/UsuarioSalas/Copy.cshtml
@{
Layout = null;
ViewBag.Title = "Nova senha de acesso";
}
<div class="container margin-top-ajust margin-bot-ajust">
<div class="container index-z">
<div class="modal-dialog">
<div class="modal-... |
test/Nanophone.RegistryTenant.Nancy.Tests/StatusModuleShould.cs | lvermeulen/Nanophone | 25 | 7058737 | using System.Threading.Tasks;
using Nancy;
using Nancy.Testing;
using Xunit;
namespace Nanophone.RegistryTenant.Nancy.Tests
{
public class StatusModuleShould
{
[Fact]
public async Task ReturnSuccessAsync()
{
var browser = new Browser(new DefaultNancyBootstrapper());
... |
src/ENode.EventStore.MongoDb/MongoDbEventStore.cs | Caskia/ENode-Infrastructure | 9 | 7058738 | using ECommon.IO;
using ECommon.Logging;
using ECommon.Serializing;
using ENode.Eventing;
using ENode.EventStore.MongoDb.Collections;
using ENode.EventStore.MongoDb.Models;
using MongoDB.Driver;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threadi... |
src/apps/core/api/chatr/Devkit.ChatR/Configurations/ChatRConfiguration.cs | kostovmichael/devkit-dotnet-core | 4 | 7058739 | // -----------------------------------------------------------------------
// <copyright file="ChatRConfiguration.cs" company="RyanAd">
// See the [assembly: AssemblyCopyright(..)] marking attribute linked in to this file's associated project for copyright © information.
// </copyright>
// -----------------------... |
Xamarin.iOS.NativeBuild.Tasks/SshBasedTask.cs | mattleibow/Xamarin.NativeBuild.Tasks | 0 | 7058740 | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Xamarin.Messaging;
using Xamarin.Messaging.Client;
using Xamarin.Messaging.Client.Ssh;
using Xamarin.Messaging.Diagnostics;
using Xamarin.Messaging.V... |
src/Mixpanel/Mixpanel.Tests/MixpanelClient/BatchMessageWrapperTests.cs | jayj/mixpanel-csharp | 50 | 7058741 | <filename>src/Mixpanel/Mixpanel.Tests/MixpanelClient/BatchMessageWrapperTests.cs
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Mixpanel.Tests.MixpanelClient
{
[TestFixture]
public class BatchMessageWrapperTests : MixpanelTestsBase
{
private Mixpanel.Mixpanel... |
MyGeocachingManager/GMap.NET/GMapMarkerGCStats.cs | michaeloed/mgmgeo | 0 | 7058742 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using GMap.NET.WindowsForms;
using System.Drawing.Text;
using System.Drawing.Drawing2D;
namespace GMap.NET.WindowsForms.Markers
{
/// <summary>
/// Custom ma... |
src/Shashlik.Kernel.Test/Autowired/TestAutowireConditionClasses/FailConditionAutowire.cs | dotnet-shashlik/shashlik | 1 | 7058743 | <reponame>dotnet-shashlik/shashlik
using Microsoft.Extensions.DependencyInjection;
using Shashlik.Kernel.Attributes;
namespace Shashlik.Kernel.Test.Autowired.TestAutowireConditionClasses
{
public class FailConditionAutowire : IServiceAutowire
{
public void Configure(IKernelServices kernelServices)
... |
src/Lucene.Net.Analysis.Common/Analysis/Payloads/TokenOffsetPayloadTokenFilter.cs | SeanKilleen/lucenenet | 2 | 7058744 | namespace org.apache.lucene.analysis.payloads
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Ap... |
src/Persistence.Clients.PostgreSql/Migrations/0009_AddGetExpensesReportData.cs | bfren/mileage | 0 | 7058745 | <filename>src/Persistence.Clients.PostgreSql/Migrations/0009_AddGetExpensesReportData.cs
// Mileage Tracker
// Copyright (c) bfren - licensed under https://mit.bfren.dev/2022
using System;
using Mileage.Persistence.Common;
using Mileage.Persistence.Common.Reports;
using Mileage.Persistence.Tables;
using SimpleMigratio... |
src/NuGet.Clients/NuGet.PackageManagement.UI/Converters/CollectionToStringConverter.cs | carpnick/NuGet.Client | 4 | 7058746 | using System;
using System.Collections.Generic;
using System.Windows.Data;
namespace NuGet.PackageManagement.UI
{
internal class CollectionToStringConverter: IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
... |
Microsoft.Azure.Cosmos/src/ReadFeed/Pagination/ReadFeedBeginningState.cs | ayanMSFT/azure-cosmos-dotnet-v3 | 522 | 7058747 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.ReadFeed.Pagination
{
internal sealed class ReadFeedBeginningState : ReadFeedState
{
... |
ERP.Admin/Views/Personal/RegistroPersonalHorario.cshtml | AlexisVidal/VilocruErp | 0 | 7058748 | <reponame>AlexisVidal/VilocruErp
@using ERP.Admin.Models
@{
var _entidad = (PersonalHorarioErp)ViewBag.Entidad;
int id_personal_horario = 0;
int fk_proyecto = 0;
string proyecto = "";
string lugar = "";
string IDPERSONAL = "";
string nombres = "";
decimal lunes = 0;
decimal martes ... |
async-enumerable-dotnet/AsyncEnumerableAPI.cs | glenringer/async-enumerable-dotnet | 0 | 7058749 | // Copyright (c) <NAME> & Contributors.
// Licensed under the Apache 2.0 License.
// See LICENSE file in the project root for full license information.
using System.Threading.Tasks;
namespace async_enumerable_dotnet
{
/// <summary>
/// Until C# 8: Dispose a resource or sequence asynchronously in an awaitable ... |
src/connection/Connection.cs | raul-gherman/spotware-api-dotnet-core | 2 | 7058750 | <gh_stars>1-10
using System;
using System.Net.Security;
using System.Net.Sockets;
namespace spotware
{
public partial class Connection
{
private readonly ILog _log = LogManager.GetLogger();
private readonly string _gateway;
private readonly int _port;
private ... |
toJSON/Classes/Output/Templates/JSON/ObjectNode.cs | countchappy/toJSON | 0 | 7058751 | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace toJSON.Classes.Output.Templates.JSON
{
internal class ObjectNode : Node
{
public List<Node> Children { get; private set; } = new List<Nod... |
SharpDL/Graphics/ISurface.cs | JTOne123/SharpDL | 8 | 7058752 | using System;
namespace SharpDL.Graphics
{
public interface ISurface : IDisposable
{
/// <summary>File path from which the Surface's source content was loaded.
/// </summary>
string FilePath { get; }
/// <summary>Width of the Surface's renderable area.
/// </summary>
... |
Form_Item.Designer.cs | GCer-Hidenori/MinerGunBuilderCalculator | 7 | 7058753 | <reponame>GCer-Hidenori/MinerGunBuilderCalculator<gh_stars>1-10
namespace MinerGunBuilderCalculator
{
partial class Form_Item
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summar... |
BookStore/modules/Saas/Volo.Saas.Tenant.Application.Contracts/Volo/Saas/Tenants/SaasTenantApplicationContractsModule.cs | zhaojie/abp-vue-ant-template-demo | 0 | 7058754 | using Volo.Abp.Application;
using Volo.Abp.Localization;
using Volo.Abp.Modularity;
using Volo.Abp.VirtualFileSystem;
using Volo.Saas.Localization;
namespace Volo.Saas.Tenants
{
[DependsOn(
typeof(SaasDomainSharedModule),
typeof(AbpDddApplicationModule)
)]
public class SaasTenantApplicationContractsModule :... |
testsuite/dbt/api/dcps/sacs/publisher/code/test/sacs/Publisher4.cs | brezillon/opensplice | 133 | 7058755 | <gh_stars>100-1000
namespace test.sacs
{
/// <summary>
/// Tests the initial default DataWriterQos and the getting and setting
/// of the default DataWriterQos in the Publisher.
/// </summary>
/// <remarks>
/// Tests the initial default DataWriterQos and the getting and setting
/// of the de... |
SyslogServer/Common/MessageHandler.cs | zati-/NetCoreSyslogServer | 3 | 7058756 | <reponame>zati-/NetCoreSyslogServer
namespace SyslogServer
{
public enum ServerType
{
UDP,TCP, SSL_TLS
}
public abstract class MessageHandler
{
public virtual void OnReceived(System.Net.EndPoint endpoint, byte[] buffer, long offset, long size)
{
throw new Sys... |
Source/Solution/WS/Database/WS.Database.Migrations/Migrations/201601060906200_Update_ProductImages.cs | emir01/Web-Shop | 0 | 7058757 | <filename>Source/Solution/WS/Database/WS.Database.Migrations/Migrations/201601060906200_Update_ProductImages.cs
namespace WS.Database.Bootstrap.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Update_ProductImages : DbMigration
{
public override void Up()... |
MassTransitSample/MassTransitSample/Program.cs | kgalic/MassTransitSample | 1 | 7058758 |
using System;
using System.Threading.Tasks;
using MassTransit;
using Newtonsoft.Json;
using MassTransit.Serialization;
using MassTransit.Azure.ServiceBus.Core;
using System.Net.Mime;
namespace MassTransitSample
{
class Program
{
static string ContentTypeJson = "application/json";
static async... |
Src/Commons.Persistence.Sitecore/DefaultSetupTasks/RegisterConfigLoader.cs | hixio-mh/BoC | 20 | 7058759 | <filename>Src/Commons.Persistence.Sitecore/DefaultSetupTasks/RegisterConfigLoader.cs<gh_stars>10-100
using BoC.InversionOfControl;
using BoC.Persistence.SitecoreGlass.GlassConfig;
using Glass.Mapper.Configuration;
namespace BoC.Persistence.SitecoreGlass.DefaultSetupTasks
{
public class RegisterConfigLoader: ICont... |
ASP.NET Core Introduction/Panda/Panda.Services/ReceiptService.cs | NaskoVasilev/ASP.NET-Core-MVC-June-2019 | 1 | 7058760 | <filename>ASP.NET Core Introduction/Panda/Panda.Services/ReceiptService.cs<gh_stars>1-10
using Microsoft.EntityFrameworkCore;
using Panda.ViewModels.Receipt;
using Panda.Web.Data;
using System.Linq;
namespace Panda.Services
{
public class ReceiptService : IReceiptService
{
private readonly PandaDbContext context;... |
TDW.Servers/TDW.TRAServer/obj/Debug/netcoreapp3.1/GeneratedCode/Structs/Cac_DocumentReference.cs | mwherman2000/TrustedDigitalWeb | 2 | 7058761 | #pragma warning disable 162,168,649,660,661,1522
using System;
using System.Text;
using System.Collections.Generic;
using System.Collections;
using System.Collections.Concurrent;
using System.Runtime.InteropServices;
using System.Data;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using System.... |
CueX.Core/SpatialPubSubBuilder.cs | trevex/CueX | 0 | 7058762 | <reponame>trevex/CueX
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the Apache2 license. See LICENSE file in the project root for full license information.
using System;
using System.Numerics;
using System.Threading.Tasks;
using Orleans;
namespace CueX.Core
{
public abstract class SpatialPubSub... |
UpsMo.Data/UpsMoContext.cs | halilkocaoz/uptime-monitoring | 4 | 7058764 | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using UpsMo.Entities;
namespace UpsMo.Data
{
public partial class UpsMoContext : IdentityDbContext<AppUser, AppRole, int>
{
public UpsMoContext(DbContextOptions options) : base(options) { }
... |
src/WordTutor.Core/Redux/IReduxDispatcher.cs | theunrepentantgeek/wordtutor | 0 | 7058765 | namespace WordTutor.Core.Redux
{
public interface IReduxDispatcher
{
/// <summary>
/// Dispatch an application message
/// </summary>
/// <param name="message">Message to process.</param>
void Dispatch(IReduxMessage message);
}
}
|
Projects/DatabaseAccess/Repositories/Interfaces/IRepository.cs | delta-ops-holding/TQC-Solutions | 1 | 7058766 | using DatabaseAccess.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace DatabaseAccess.Repositories.Interfaces
{
public interface IRepository<T> where T : BaseEntity
{
Task<T> GetAsync(uint identifier);
Task<IEnumerable<T>> GetAllAsync();
}
}
|
test/TestWebApp/Controllers/ResponseTypeErrorController.cs | conficient/AspNetCore.Client | 0 | 7058767 | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TestWebApp.Controllers
{
[Route("errorResponseTypes")]
public class ResponseTypeErrorController : ControllerBase
{
[ProducesResponseType(type... |
exporters/BxDRobotExporter/BxDRobotExporter/BxDRobotExporter/Forms/DebugHighlightForm.Designer.cs | NWalker1208/synthesis | 0 | 7058768 | <reponame>NWalker1208/synthesis
namespace BxDRobotExporter.Forms
{
partial class DebugHighlightForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resource... |
src/Uno.UWP/Generated/3.0.0.0/Windows.Networking.NetworkOperators/ESimOperationStatus.cs | nv-ksavaria/Uno | 0 | 7058769 | #pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Networking.NetworkOperators
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Uno.NotImplemented]
#endif
public enum ESimOperationStatus
... |
Tests/Program.cs | Me222282/ZeneNeuralNetworking | 0 | 7058770 | using System;
using System.IO;
using System.Collections.Generic;
using Zene.NeuralNetworking;
using Zene.Structs;
using Zene.Windowing;
using System.Text;
using System.IO.Compression;
namespace NeuralNetworkingTest
{
class Program
{
private static double _mutation = 0.001;
private static void... |
webApi/HackZurich2021.WebApi/Model/RssiData.cs | LesnyRumcajs/hackzurich2021 | 2 | 7058771 | using System;
namespace HackZurich2021.WebApi.Model
{
public class RssiData
{
public enum RssiDataQuality
{
Undefined,
Weak,
Fair,
Good,
Excellent
}
public bool HasAnomaly { get; set; }
public RssiDataQuality ... |
src/IxMilia.BCad.Core/Primitives/PrimitiveEllipse.cs | ixmilia/bcad | 5 | 7058772 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using IxMilia.BCad.Entities;
using IxMilia.BCad.Extensions;
using IxMilia.BCad.Helpers;
namespace IxMilia.BCad.Primitives
{
public class PrimitiveEllipse : IPrimitive
{
public const double BezierConstant = 0.55... |
src/Orchard.Web/Modules/Orchard.AuditTrail/Services/IRecycleBin.cs | Lombiq/Open-Source-Orchard-Extensions | 0 | 7058773 | using System.Collections.Generic;
using Orchard.Collections;
using Orchard.ContentManagement;
namespace Orchard.AuditTrail.Services {
public interface IRecycleBin : IDependency {
/// <summary>
/// Returns all removed content items.
/// </summary>
IPageOfItems<ContentItem> ... |
PrototypeDesignPattern/Program.cs | alexandrebl/DesignPatternsGoF | 8 | 7058774 | <reponame>alexandrebl/DesignPatternsGoF
using System;
using System.Runtime.InteropServices;
namespace PrototypeDesignPattern
{
class Program
{
static void Main(string[] args)
{
var carro1 = new Carro {Ano = "2001", Marca = "Fiat", Modelo = "Uno"};
var carro2 = carro1;
... |
Challenges/GetEdgesGraph/GetEdgesGraph/Classes/Graph.cs | jaatay/Data_Structures_And_Algorithms | 0 | 7058775 | using System;
using System.Collections.Generic;
using System.Text;
namespace GetEdgesGraph
{
public class Graph
{
/// <summary>
/// sets root node for traversal
/// </summary>
public Node Root { get; set; }
/// <summary>
/// list of nodes used in other methods
/// </summary>
public List<Node> List... |
aspnet-core/modules/oss-management/LINGYUN.Abp.OssManagement.Application.Contracts/LINGYUN/Abp/OssManagement/FileShareInput.cs | icxldd/abp-vue-admin-element-typescript | 389 | 7058776 | <reponame>icxldd/abp-vue-admin-element-typescript<gh_stars>100-1000
using System;
using System.ComponentModel.DataAnnotations;
namespace LINGYUN.Abp.OssManagement
{
public class FileShareInput
{
[Required]
public string Name { get; set; }
public string Path { get; set; }
... |
testMonogame/testMonogame/Commands/PlayerMoveCommand.cs | johnfleming123/Zelda | 2 | 7058777 | using System;
using System.Collections.Generic;
using System.Text;
namespace testMonogame
{
class PlayerMoveCommand : ICommand
{
IPlayer player;
public PlayerMoveCommand(IPlayer playerIn)
{
player = playerIn;
}
public void Execute()
{
pla... |
src/client/tradingAccount/ProcessExecutionEvent.cs | raul-gherman/spotware-api-dotnet-core | 2 | 7058778 | using System;
namespace spotware
{
public partial class TradingAccount
{
private void ProcessExecutionEvent(ProtoOAExecutionEvent args)
{
if (args.ctidTraderAccountId != CtidTraderAccount)
return;
switch (args.executionType)
{
... |
src/Views/Comparison/Index.cshtml | groupdocs-total/GroupDocs.Total-for-Net-MVC | 2 | 7058779 | @{
GroupDocs.Total.MVC.Products.Common.Config.GlobalConfiguration config = new GroupDocs.Total.MVC.Products.Common.Config.GlobalConfiguration();
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
<title>Compar... |
GitUi.Core/ViewModels/DashboardViewModel.cs | Sellin0815/GitUi | 0 | 7058780 | <filename>GitUi.Core/ViewModels/DashboardViewModel.cs
using MvvmCross.ViewModels;
namespace GitUi.Core.ViewModels;
public class DashboardViewModel : MvxViewModel
{
public string Title { get; set; } = "Binding works";
}
|
RC-Car-Self-Driving/Assets/Scripts/RosCommunication/TrackSpeedSubscriber.cs | Beezlie/Self-Driving-Simulation | 0 | 7058781 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using RosSharp.RosBridgeClient;
using UnityEngine.SceneManagement;
public class TrackSpeedSubscriber : MonoBehaviour {
private float vel = 0.9f;
private bool isTrainingMode = false;
private float throttle;
private Vector3 ... |
src/Client/Runner/ClientErrorException.cs | julianghionoiu/tdl-client-dotnet | 0 | 7058782 | <gh_stars>0
using System;
namespace TDL.Client.Runner
{
internal class ClientErrorException : Exception
{
public ClientErrorException(string responseContent)
: base(responseContent)
{
}
}
}
|
AcTools.Render/Base/Sprites/StringMetrics.cs | Ultrawipf/actools | 209 | 7058783 | using System;
using SlimDX;
namespace AcTools.Render.Base.Sprites {
/// <summary>
/// Defines, in which area a specific text is rendered
/// </summary>
/// <remarks>
/// <para>The textblock is the area filled with actual characters without any overhang.</para>
/// <para>Overhangs enlarge the t... |
AstralEmpireProject/Assets/Sources/Utils/BesieCurve.cs | mefist0fel/Astral-Empire | 1 | 7058784 | <filename>AstralEmpireProject/Assets/Sources/Utils/BesieCurve.cs
using UnityEngine;
using System.Collections;
public class BesieCurve {
private const int defaultPointsInCurve = 7;
// Curve controls
public float Lenght { get { return fullLenght; } }
public readonly Vector3[] PathPoints;
private f... |
Form1.Designer.cs | seymenguney/Youtube-Mp3-Mp4-Downloader | 0 | 7058785 | <filename>Form1.Designer.cs
namespace Youtube_MP3_MP4_Download
{
partial class Form1
{
/// <summary>
///Gerekli tasarımcı değişkeni.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
///Kullanılan tüm kaynakları t... |
statsd.net-Tests/TimedLatencyPercentileAggregatorBlockTests.cs | forki/statsd.net | 0 | 7058786 | using System;
using System.Linq;
using System.Threading.Tasks.Dataflow;
using NSubstitute;
using Shouldly;
using statsd.net.Framework;
using statsd.net.shared.Messages;
using statsd.net_Tests.Infrastructure;
using Xunit;
namespace statsd.net_Tests
{
public class TimedLatencyPercentileAggregatorBlockTests
{
p... |
AudicaTools/Cue.cs | Zernys/Audica-.NET-Tools | 0 | 7058787 | <reponame>Zernys/Audica-.NET-Tools<filename>AudicaTools/Cue.cs
using System;
using System.Numerics;
namespace AudicaTools
{
[Serializable]
public class Cue
{
public int tick;
public int tickLength;
public int pitch;
public int velocity;
public GridOffset gridOffset;
... |
MyBlogGardenCss 2.0/MyBlogGardenCss 2.0/Views/Home/Index.cshtml | SeedQiGit/MyBlogCss | 0 | 7058788 | <reponame>SeedQiGit/MyBlogCss<gh_stars>0
@{
Layout = null;
}
<!DOCTYPE html>
<!-- saved from url=(0031)http://www.cnblogs.com/qixinbo/ -->
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
... |
src/BeetleX/Buffers/IMemoryReader.cs | e4ky/BeetleX | 760 | 7058789 | using System;
using System.Collections.Generic;
using System.Text;
namespace BeetleX.Buffers
{
public interface IBinaryReader
{
bool LittleEndian
{ get; set; }
int Read(byte[] buffer, int offset, int count);
System.IO.Stream Stream { get; }
Encoding Encoding { get; s... |
MA.Dao/MADaoTable.cs | muhammet-kandemir-95/MA.Dal.Dao | 0 | 7058790 | using System;
using System.Collections.Generic;
using System.Data;
using System.Reflection;
using System.Linq;
using MA.Dao.Attributes;
using MA.Dal;
using System.Linq.Expressions;
namespace MA.Dao
{
public abstract class MADaoTable<TModel> : MADaoBase<TModel> where TModel : MADaoTable<TModel>
{
#regi... |
Maha.JsonClient/JsonRpcRequest.cs | Managerment/Maha | 0 | 7058791 | using Maha.JsonClient.Invoker;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading.Tasks;
namespace Maha.JsonClient
{
/// <summary>
/// 注入Rpc上下文的委托
/// </summary>
/// <param name="collection"></param>
public delegate void GlobalContextHandler(IDictio... |
Assets/Scripts/Seed.cs | DNAniel213/toppletumble | 0 | 7058792 | <reponame>DNAniel213/toppletumble<filename>Assets/Scripts/Seed.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Seed : MonoBehaviour
{
public SeedScriptableObject seed;
private Rigidbody2D rb2d;
private SpriteRenderer spriteRenderer;
private Pol... |
test/W4k.AspNetCore.Correlator.UnitTests/Http/Extensions/HeaderDictionaryExtensionsTests.cs | wdolek/w4k-aspnetcore-correlator | 0 | 7058793 | using Microsoft.AspNetCore.Http;
using Xunit;
namespace W4k.AspNetCore.Correlator.Http.Extensions
{
public class HttpRequestHeadersExtensions
{
[Fact]
public void AddIfNotSet_ExpectHeaderToBeAdded()
{
// arrange
IHeaderDictionary headers = new HeaderDictionary()... |
YTSubConverter.Shared/Formats/Ass/Tags/AssRegularScriptTagHandler.cs | Meigyoku-Thmn/YTSubConverter | 414 | 7058794 | <reponame>Meigyoku-Thmn/YTSubConverter
namespace YTSubConverter.Shared.Formats.Ass.Tags
{
internal class AssRegularScriptTagHandler : AssTagHandlerBase
{
public override string Tag => "ytsur";
public override bool AffectsWholeLine => false;
public override void Handle(AssTagCo... |
Komodex.Remote (WP7)/Controls/AirPlaySpeakersDialog.xaml.cs | misenhower/WPRemote | 2 | 7058795 | using Clarity.Phone.Extensions;
using Komodex.Common;
using Komodex.Common.Phone;
using Komodex.DACP;
using Komodex.Remote.ServerManagement;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Net;
usi... |
CMNFvsUT/MathNetExtensions/RandomVector.cs | horribleheffalump/MinimaxResearch | 2 | 7058796 | <reponame>horribleheffalump/MinimaxResearch
using MathNet.Numerics.Distributions;
using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.LinearAlgebra.Factorization;
using MathNetExtensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
names... |
src/MitternachtBot/Extensions/Extensions.cs | offical-Cromatin/Mitternacht-NEW | 2 | 7058797 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using SixLabors.Ima... |
v3.1/Models/DB/Coverage.cs | LightosLimited/RailML | 0 | 7058798 | <gh_stars>0
using System;
using System.Collections.Generic;
namespace Models.DB
{
public partial class Coverage
{
public short CoverageId { get; set; }
}
}
|
3-Business/3-Modules/lm.Comol.Core.BaseModules/NoticeBoard/Presentation/IView/IViewNoticeboardRenderPage.cs | EdutechSRL/Adevico | 1 | 7058799 | <reponame>EdutechSRL/Adevico
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using lm.Comol.Core.BaseModules.NoticeBoard.Domain;
namespace lm.Comol.Core.BaseModules.NoticeBoard.Presentation
{
public interface IViewNoticeboardRenderPage : IViewNoticeboardPage
{
voi... |
Assets/AppleLocalMultiplayer/Source/Internal/LocalMultiplayer.Utility.cs | harrywsh/hackx-holokit | 2 | 7058800 | #if UNITY_IOS || UNITY_TVOS || UNITY_STANDALONE_OSX
using System;
using System.Text;
using System.Text.RegularExpressions;
namespace LostPolygon.Apple.LocalMultiplayer {
public static partial class AppleLocalMultiplayer {
public static class Utility {
private static readonly Regex kS... |
src/Envoy.Sample.WebAPI/Features/Widgets/Get.cs | PeterKneale/Envoy | 5 | 7058801 | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Envoy.Sample.WebAPI.Controllers
{
public class Get
{
public class Request : IRequest<Response>
{
public Request(int id)
{
Id = id;
... |
src/Consumption/Consumption.Core/Interfaces/IModuleComponent.cs | duanleping/WPF-Xamarin-Blazor-Examples | 0 | 7058802 | <gh_stars>0
/*
*
* 文件名 :IModuleComponent
* 程序说明 : 程序基础模块接口
* 更新时间 : 2020-05-11
* 联系作者 : QQ:779149549
* 开发者群 : QQ群:874752819
* 邮件联系 : <EMAIL>
* 视频教程 : https://space.bilibili.com/32497462
* 博客地址 : https://www.cnblogs.com/zh7791/
* 项目地址 : https://github.com/HenJigg/WPF-Xamarin-Bla... |
SearchApi/Valeriy.BLL/Services/ProductsService.cs | YevheniiStepaniuk/Cools-Hackaton | 0 | 7058803 | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Valeriy.DAL;
using Valeriy.Domain.Contracts.Services;
using Valeriy.Domain.Dtos;
using Valeriy.Domain.Entities;
using Valeriy.Domain.Extensions;
using Valeriy.Domain.Utils;
namespace Valeriy.B... |
src/NServiceBusSample/Handler.cs | NServiceBusExtensions/Newtonsoft.Json.Encryption | 20 | 7058804 | <filename>src/NServiceBusSample/Handler.cs
using NServiceBus;
using NServiceBus.Logging;
public class Handler :
IHandleMessages<MessageWithSecretData>
{
static ILog log = LogManager.GetLogger<Handler>();
public Task Handle(MessageWithSecretData message, IMessageHandlerContext context)
{
log.I... |
Starfield.Core/Networking/Packet/Server/Play/SP3AEntityHeadLook.cs | dskprt/nylium | 10 | 7058805 | namespace Starfield.Core.Networking.Packet.Server.Play {
[Packet(0x3A, ProtocolState.Play, PacketSide.Server)]
public class SP3AEntityHeadLook : MinecraftPacket {
public int EntityId { get; }
public float HeadYaw { get; }
public SP3AEntityHeadLook(MinecraftClient client, int ... |
CMS/TinyPngImageOptimizer.cs | diger74/Delete.Kentico12.TinyPng | 2 | 7058806 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using CMS.DataEngine;
using CMS.DocumentEngine;
using CMS.Helpers;
using CMS.MediaLibrary;
using CMS.SiteProvider;
using DeleteAgency.Kentico12.TinyPng.Events;
using DeleteAgency.Kentico12.TinyPng.Models;
using Newton... |
YukiYume.GitHub/IRepositoryService.cs | yukiyume/YukiYume.GitHub | 1 | 7058807 | #region MIT License
/*
* Copyright (c) 2009 <NAME> (<EMAIL>)
*
* 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, ... |
Assets/Scripts/Pages/SignInPage.cs | toculin38/Post-Board | 0 | 7058808 | <filename>Assets/Scripts/Pages/SignInPage.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SignInPage : MonoBehaviour {
public void OnUserSignIn(Firebase.Auth.FirebaseUser user) {
gameObject.SetActive(false);
}
public void OnUserSignOut(Firebase.Auth... |
Source/Machine.Specifications.ConsoleRunner.Specs/FakeConsole.cs | rho24/machine.specifications | 1 | 7058809 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Machine.Specifications.ConsoleRunner.Specs
{
public class FakeConsole : IConsole
{
readonly StringBuilder _console = new StringBuilder();
public List<string> Lines
{
get { ... |
Define.cs | dolaham/BulletScreenVoice | 0 | 7058812 | // 用户等级
public enum UserLevel
{
Common = 0, // 一般
Viceroy, // 总督
Governor, // 提督
Captain // 舰长
}
public enum UserConfigIndex
{
Common = 0, // 一般
Viceroy, // 总督
Governor, // 提督
Captain, // 舰长
Milord, // 老爷
Admin, // 房管
Count
}
// 需要去腾讯云申请 https://cloud.tencent.com/
internal class TencentSecret
{
... |
Masticore/ConditionalRequiredAttribute.cs | eralston/Masticore | 2 | 7058813 | <reponame>eralston/Masticore<gh_stars>1-10
using System;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
namespace Masticore
{
/// <summary>
/// Attribute for enforcing a "Required" field on an item, which is conditionally disregarded if:
/// The boolean value of the property at Igno... |
src/OrchardCore.Modules/OrchardCore.Twitter/Permissions.cs | lidanger/OrchardCore | 1 | 7058814 | using System.Collections.Generic;
using OrchardCore.Security.Permissions;
namespace OrchardCore.Twitter
{
public class Permissions : IPermissionProvider
{
public static readonly Permission ManageTwitterSignin
= new Permission(nameof(ManageTwitterSignin), "Manage Sign in with Twitter setting... |
Phidgets/Phidget888/Properties/AssemblyInfo.cs | intuiface/PhidgetsIA | 2 | 7058815 | // ****************************************************************************
// <copyright file="AssemblyInfo.cs" company="IntuiLab">
// INTUILAB CONFIDENTIAL
//_____________________
// [2002] - [2015] IntuiLab SA
// All Rights Reserved.
// NOTICE: All information cont... |
Assets/Scripts/FinalScripts/PlayerMovement.cs | Turtle50UP/Space-Division-First-Version | 0 | 7058816 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/* PlayerMovement:
* Allows the player to move within the game space. However, unlike BasicPlayerMovement, we now add in diagonal movement.
*
*/
public class PlayerMovement : MonoBehaviour
{
Rigidbody2D rb;
publi... |
packages/projects/Hercules.Api.Model/Hercules.Api.Model/Database/MoveFilter.cs | chessdbai/Hercules | 0 | 7058817 | // -----------------------------------------------------------------------
// <copyright file="MoveFilter.cs" company="ChessDB.AI">
// MIT Licensed.
// </copyright>
// -----------------------------------------------------------------------
namespace Hercules.Api.Model.Database
{
/// <summary>
/// A MoveFilter ... |
src/Uno.UI/UI/LayoutHelper.Android.cs | olirobert/uno | 5,973 | 7058818 | using System;
using System.Diagnostics.Contracts;
using System.Runtime.CompilerServices;
using Android.Views;
using Windows.Foundation;
using Windows.UI.Xaml;
using static System.Double;
namespace Uno.UI
{
partial class LayoutHelper
{
/// <summary>
/// Get relative bounds for native views.
/// </summary>
//... |
Assets/Scripts/CircuitCom/Manger/CircuitBFS.cs | 741645596/Lab | 0 | 7058819 | <reponame>741645596/Lab
using System.Collections.Generic ;
/// <summary>
/// 广度优先搜索算法
/// </summary>
/// <returns></returns>
public class CircuitBFS {
//搜索用过的绳子
private static List<EleLine> g_UserLineBFS = new List<EleLine>();
/// <summary>
/// 广度优先确认能否联通
/// </summary>
public static bool CheckloopConnectBF... |
SAToolsHub/Updater/LoaderDownloadDialog.cs | sonicretro/sa_tools | 53 | 7058820 | using System;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using SAToolsHub;
namespace SAToolsHub.Updater
{
public class LoaderDownloadDialog : ProgressDialog
{
private... |
MvvmCross-Forms/MvvmCross.Forms.Uwp/Presenters/MvxFormsUwpPagePresenter.cs | Oglan/MvvmCross | 1 | 7058821 | // MvxFormsWindowsPhonePagePresenter.cs
// 2015 (c) Copyright Cheesebaron. http://ostebaronen.dk
// MvvmCross.Forms is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - <NAME>, @cheesebaron, <EMAIL>
// Contributor - <NAME>, @Cobena... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.