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 |
|---|---|---|---|---|
Source/Zafiro.Avalonia/Converters/PipelineConverter.cs | SuperJMN-Zafiro/Zafiro | 10 | 7049493 | <filename>Source/Zafiro.Avalonia/Converters/PipelineConverter.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Avalonia.Data.Converters;
namespace Zafiro.Avalonia.Converters
{
public class PipelineConverter : List<IValueConverter>, IValueConverter
{
... |
LBH.AdultSocialCare.Transactions.Api/V1/Domain/BillsDomain/BillCreationDomain.cs | LBHackney-IT/lbh-adult-social-care-transactions-api | 0 | 7049494 | <reponame>LBHackney-IT/lbh-adult-social-care-transactions-api
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LBH.AdultSocialCare.Transactions.Api.V1.Domain.BillsDomain
{
public class BillCreationDomain
{
public int PackageTypeId { get; set; }
... |
OY.Solution/OY.RSSRead/Model/DataModel.cs | objectyan/MyTools | 0 | 7049495 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OY.RSSRead.Model
{
/// <summary>
/// 数据模型
/// </summary>
public class DataModel
{
/// <summary>
/// 数据状态
/// </summary>
private int _status;
/// <sum... |
NetCoreWebApp/Startup.cs | jolmari/NetCore-Wcf-Service-Proxy | 48 | 7049496 | <reponame>jolmari/NetCore-Wcf-Service-Proxy<filename>NetCoreWebApp/Startup.cs
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using NetCoreWebApp.Models;
using Wcf... |
src/ikc/main/Ioke.Lang/Util/SaneHashSet.cs | olabini/ioke | 77 | 7049497 |
namespace Ioke.Lang.Util {
using System.Collections.Generic;
public class SaneHashSet<T> : HashSet<T> {
public SaneHashSet() : base() {}
public SaneHashSet(ICollection<T> ic) : base(ic) {}
public SaneHashSet(ICollection<T> ic, IEqualityComparer<T> iec) : base(ic, iec) {}
publi... |
FS.DBAccess/DbTool.cs | FallStar0/DbModelTool | 0 | 7049498 | //===================================================
// Copyright @ <EMAIL> 2016
// 作者:Fallstar
// 时间:2016-06-15 11:32:58
// 说明:一些数据库(SQL)相关的帮助方法
//===================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FS.DBAccess
{
... |
src/database/RosettaCTF.Database.PostgreSQL/PostgresChallengeRepository.cs | Emzi0767/RosettaCTF | 8 | 7049499 | // This file is part of RosettaCTF project.
//
// Copyright 2020 Emzi0767
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... |
test/Disclose.Tests/DiscloseClientTests/When_A_Message_Is_Received.cs | Seaal/disclose | 1 | 7049500 | <reponame>Seaal/disclose
using System;
using System.Threading.Tasks;
using Disclose.DiscordClient;
using Disclose.DiscordClient.DiscordNetAdapters;
using NSubstitute;
using NUnit.Framework;
using System.Linq;
namespace Disclose.Tests.DiscloseClientTests
{
[TestFixture]
public class When_A_Message_Is_Received
... |
Dicom/Iod/Modules/PresentationStateShutter.cs | econmed/ImageServer20 | 1 | 7049501 | #region License
// Copyright (c) 2009, ClearCanvas Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright not... |
src/IncidentReport.Application/UseCases/CreateDraftApplications/CreateDraftApplicationUseCaseValidator.cs | KmlPro/IncidentManagmentSystem | 3 | 7049502 | using FluentValidation;
using IncidentReport.Application.Boundaries.CreateDraftApplications;
using IncidentReport.Application.Common.Validators;
using IncidentReport.Application.Files;
using IncidentReport.Domain.Entities.Employees.ValueObjects;
namespace IncidentReport.Application.UseCases.CreateDraftApplications
{
... |
Lazurite/LazuriteUI.Windows.Preparator/TaskSchedulerUtils.cs | noant/Pyrite2 | 55 | 7049503 | using Microsoft.Win32.TaskScheduler;
using System;
using System.Diagnostics;
using System.IO;
namespace LazuriteUI.Windows.Preparator
{
public static class TaskSchedulerUtils
{
public static readonly string TaskFolder = "Lazurite";
public static readonly string TaskName = "Execute";
p... |
SoftUni/01. .NET Courses/04. C# OOP/04. Interfaces and Abstraction/Exercise/09. Collection Hierarchy/Program.cs | grekssi/Softuni-Courses | 0 | 7049504 | using System;
using System.Collections.Generic;
using System.Linq;
namespace CollectionHier
{
class Program
{
static void Main(string[] args)
{
AddCollection addCollection = new AddCollection();
AddRemoveCollection addRemoveCollection = new AddRemoveCollection();
... |
src/SKIT.FlurlHttpClient.ByteDance.OceanEngine/Models/Advertiser/Budget/AdvertiserBudgetGetResponse.cs | lucio-c/DotNetCore.SKIT.FlurlHttpClient.ByteDance | 11 | 7049505 | <gh_stars>10-100
namespace SKIT.FlurlHttpClient.ByteDance.OceanEngine.Models
{
/// <summary>
/// <para>表示 [GET] /2/advertiser/budget/get 接口的响应。</para>
/// </summary>
public class AdvertiserBudgetGetResponse : OceanEngineResponse<AdvertiserBudgetGetResponse.Types.Data>
{
public static class ... |
src/ProSuite.DomainModel.AO/Geodatabase/IGdbWorkspaceProvider.cs | ProSuite/ProSuite | 5 | 7049507 | using ESRI.ArcGIS.Geodatabase;
using ProSuite.Commons.AO.Geodatabase;
using ProSuite.Commons.Essentials.CodeAnnotations;
namespace ProSuite.DomainModel.AO.Geodatabase
{
public interface IGdbWorkspaceProvider
{
/// <summary>
/// Opens the workspace as specified by the provider properties. Always opens the
/// D... |
OdataParsers/CommonParsers/BooleanConstantParser.cs | hsinyu-chen/Hcs.Extensions.OdataClient | 0 | 7049508 | using Hcs.Extensions.Odata.Queryable.Expressions;
using System.Linq.Expressions;
namespace Hcs.Extensions.Odata.Queryable.OdataParsers
{
class BooleanConstantParser : IExpressionParser
{
public bool TryParse(ExpressionNodeContext context, bool withParameterName, out string output)
{
... |
src/Mvc/shared/Mvc.Core.TestCommon/TestClientModelValidatorProvider.cs | avragov/aspnetcore | 8,570 | 7049509 | <gh_stars>1000+
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Mvc.DataAnnotations;
using Microsoft.Extensions.Options;
namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
public class TestCli... |
src/Essential.Templating.Razor/Compilation/VBTemplateCompiler.cs | smolyakoff/essential-templating | 20 | 7049510 | using RazorEngine;
using RazorEngine.Configuration;
using RazorEngine.Templating;
namespace Essential.Templating.Razor.Compilation
{
internal class VBTemplateCompiler : BaseTemplateCompiler
{
public VBTemplateCompiler()
: base(new TemplateService(new TemplateServiceConfiguration
... |
Assets/Scripts/Game/slyz/Windows/AccountListWindow.cs | da1fanshu/1234ewsd | 2 | 7049511 | using Assets.Scripts.Common.Windows;
using com.yxixia.utile.Utiles;
using YxFramwork.Common;
using YxFramwork.Framework.Core;
namespace Assets.Scripts.Game.slyz.Windows
{
/// <summary>
/// 数据统计
/// </summary>
public class AccountListWindow : YxNguiWindow
{
public UIGrid GridPrefab;
... |
src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/QualityGuidelines/DoNotRaiseExceptionsInExceptionClauses.cs | Youssef1313/roslyn-analyzers | 1,296 | 7049512 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.Immutable;
using Analyzer.Utilities;
using Analyzer.Utilities.Extensions;
using Microsoft.CodeAnalysis;
using Micro... |
Sudoku.Test/GameTest.cs | kirkbroadhurst/sudoku | 0 | 7049513 | <filename>Sudoku.Test/GameTest.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sudoku;
namespace Sudoku.Test
{
[TestClass]
public class GameTest
{
[TestMethod]
public void GameConstructorTest()
... |
RideSharing/RideSharing/Controllers/RidersController.cs | MiroslavChobanov/RideSharing | 0 | 7049514 | namespace RideSharing.Controllers
{
using RideSharing.Data;
using RideSharing.Services.Riders;
using RideSharing.Models.Riders;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using RideSharing.Infrastructure;
using RideSharing.Services.Riders.Models;
using Rid... |
NAddressParser/Models/Socr.cs | vkorotenko/NAddressParser | 2 | 7049516 | #region License
// // Разработано: <NAME> (<NAME>)
// // email: <EMAIL>
// // skype:vladimir-korotenko
// // https://vkorotenko.ru
// // Создано: 20.06.2020 18:01
#endregion
namespace NAddressParser.Models
{
/// <summary>
/// Сокращения
/// </summary>
public class Socr
{
/// <summary>
... |
Source/Web/BeerApp.Web/Views/BeerType/Details.cshtml | ahansb/BeerCatalogue | 1 | 7049517 | <reponame>ahansb/BeerCatalogue
@model BeerApp.Web.ViewModels.BeerType.BeerTypeResponseViewModel
@{
ViewBag.Title = "Details";
}
<h2><a href="~/BeerType/Details/@Model.Url">@Model.Name</a></h2>
<div class="row">
@foreach (var recipe in Model.Recipes)
{
<div class="col-md-4">
... |
src/Aoc2019.Tests/IntcodeComputer/AssertAsync.cs | pappabj0rn/AdventOfCode2019 | 0 | 7049518 | using System;
using System.Threading.Tasks;
namespace Aoc2019.Tests
{
public static class AssertAsync
{
public static Task CompletesIn(int timeout, Action action)
{
var task = Task.Run(action);
var completedInTime = Task
.WaitAll(new[] { task }, TimeSpan... |
WindowsFormsApp1/WindowsFormsApp1/modele/UserDb.cs | nicolasj9/ProjetWindowsFormCsharp | 0 | 7049519 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MySql.Data.MySqlClient;
namespace prjCovoit.modele
{
class UserDb
{
public static List<métier.User> genererListeUser()
{
List<métier.User> uneListe... |
src/Bugfree.OracleHospitality.Clients/CrmParselets/Constants.cs | ronnieholm/Bugfree.OracleHospitality | 0 | 7049520 | namespace Bugfree.OracleHospitality.Clients.CrmParselets
{
static class Constants
{
// Attributes in alphabetic order
public const string code = nameof(code);
public const string currency = nameof(currency);
public const string conditions = nameof(conditions);
public con... |
parts/0000-TLPLib/Assets/Plugins/Vendor/TLPLib/Binding/Unity.cs | essess5/tlplib | 0 | 7049522 | using System;
using com.tinylabproductions.TLPLib.Concurrent;
using com.tinylabproductions.TLPLib.dispose;
using com.tinylabproductions.TLPLib.Extensions;
using com.tinylabproductions.TLPLib.Functional;
using com.tinylabproductions.TLPLib.Reactive;
namespace com.tinylabproductions.TLPLib.binding {
public static cla... |
Assets/Clicker.cs | cairo-robotics/ar-for-lfd | 1 | 7049523 | <gh_stars>1-10
/* Handles outcomes of the user clicking on a keyframe marker
* Toggles constraint visualization, marker recoloring, and text output
*/
using System.Collections;
using System.Collections.Generic;
using HoloToolkit.Unity.InputModule;
using UnityEngine;
public class Clicker : MonoBehaviour, IInputCli... |
src/HotChocolate/Spatial/src/Types/GeoJsonPositionType.cs | anadale/hotchocolate | 3,399 | 7049524 | using HotChocolate.Language;
using NetTopologySuite.Geometries;
using HotChocolate.Types.Spatial.Properties;
using HotChocolate.Types.Spatial.Serialization;
using static HotChocolate.Types.Spatial.WellKnownTypeNames;
namespace HotChocolate.Types.Spatial
{
/// <summary>
/// <para>
/// The Position scalar ty... |
csharp-data-structures-fundamentals/06.HeapsBSTExercise/E02.LowestCommonAncestor.Tests/LCATests.cs | vassdeniss/software-university-courses | 7 | 7049525 | using System;
using E02.LowestCommonAncestor;
using NUnit.Framework;
public class LCATests
{
private IAbstractBinaryTree<int> binaryTree;
[SetUp]
public void Setup()
{
this.binaryTree = new BinaryTree<int>(
12,
new BinaryTree<int>(5,
new BinaryTree<int>(... |
AllReadyApp/Web-App/AllReady/Areas/Admin/Features/Organizations/AllOrganizationsQueryHandler.cs | mk0sojo/allReady | 1,034 | 7049526 | using System.Collections.Generic;
using AllReady.Models;
using MediatR;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace AllReady.Areas.Admin.Features.Organizations
{
public class AllOrganizationsQueryHandler : IAsyncRequestHandler<AllOrganizationsQuery, IEnumerable<Organizatio... |
Program.cs | ruxo/mydb | 0 | 7049527 | using System;
using RZ.App;
using RZ.Foundation;
using static System.Console;
#region Person helpers
int PersonIdComparer(Person lhs, Person rhs) => Math.Sign(lhs.Id - rhs.Id);
#endregion
/* * /
var tree = new MemoryBTree<Person>(PersonIdComparer);
/*/
var tree = new FileBTree<Person>("data.bin", new PersonBinaryS... |
Exam/CSharp OOP Retake Exam - 19 December 2020/01. Structure & 02. Business Logic/Entities/Characters/Warrior.cs | NeSh74/CSharp-OOP-June-2021 | 0 | 7049528 | <reponame>NeSh74/CSharp-OOP-June-2021
using System;
using WarCroft.Constants;
using WarCroft.Entities.Characters.Contracts;
using WarCroft.Entities.Inventory;
namespace WarCroft.Entities.Characters
{
public class Warrior : Character, IAttacker
{
private const double WarriorBaseHealth = 100;
pr... |
RestierScaffolding/src/Microsoft.Restier.Scaffolding/SavedSettingsKeys.cs | ozippy/lab | 52 | 7049529 | <filename>RestierScaffolding/src/Microsoft.Restier.Scaffolding/SavedSettingsKeys.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Restier.Scaffolding
{
internal static class SavedSe... |
iOS/Code/Xamarin/bugTrap/bugTrapUITests/Tests.cs | colbylwilliams/bugtrap | 2 | 7049530 | <filename>iOS/Code/Xamarin/bugTrap/bugTrapUITests/Tests.cs
using System;
using System.IO;
using System.Linq;
using NUnit.Framework;
using Xamarin.UITest;
using Xamarin.UITest.iOS;
using Xamarin.UITest.Queries;
using System.Threading.Tasks;
using System.Threading;
namespace bugTrapUITests
{
[TestFixture]
public clas... |
sdk/dotnet/VideoAnalyzer/Inputs/RsaTokenKeyArgs.cs | sebtelko/pulumi-azure-native | 0 | 7049531 | <reponame>sebtelko/pulumi-azure-native
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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 Pulum... |
Altairis.NemesisEvents.Web/ViewModels/Account/ResetPasswordViewModel.cs | ridercz/NemesisEvents | 8 | 7049532 | <filename>Altairis.NemesisEvents.Web/ViewModels/Account/ResetPasswordViewModel.cs<gh_stars>1-10
using System.Threading.Tasks;
using Altairis.NemesisEvents.BL.DTO;
using Altairis.NemesisEvents.BL.Facades;
namespace Altairis.NemesisEvents.Web.ViewModels.Account
{
public class ResetPasswordViewModel : MasterPageViewMode... |
TDCG.Editor/SpriteRenderer.cs | opparco/tsoview-ao | 0 | 7049533 | <filename>TDCG.Editor/SpriteRenderer.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;
namespace TDCG.Editor
{
public class SpriteRenderer : IDisposable
{
... |
Top-Down Shooter/Assets/Scripts/ControlPanel System/Window.cs | ronituohino/Old-projects | 0 | 7049534 | <filename>Top-Down Shooter/Assets/Scripts/ControlPanel System/Window.cs
using TMPro;
using UnityEngine;
//Base for control windows
public class Window : MonoBehaviour
{
public Vector2 defaultSize;
public bool scalable;
public Vector2 scaleStep;
[Space]
public Vector2 minSize;
public Vector2 ... |
Graphic/Chip/ChipSet.cs | otakuto/TomatoTool | 2 | 7049535 | <filename>Graphic/Chip/ChipSet.cs
using System;
using System.Drawing;
namespace TomatoTool
{
public class ChipSet
{
public Chip this[int i, int j]
{
get
{
return chip[i, j];
}
set
{
chip[i, j] = value;
}
}
public int GetLength(int dimension)
{
return chip.GetLength(dimension)... |
Assets/Scripts/Counter.cs | AnanasikDev/UxClicker | 0 | 7049536 | <reponame>AnanasikDev/UxClicker
using UnityEngine;
using TMPro;
public class Counter : MonoBehaviour
{
public int Clicks = 0;
[SerializeField] private TextMeshProUGUI ClickTextMeshPro;
private Animator _TextAnimator;
private Animator _ButtonAnimator;
[SerializeField] private ParticleSystem Particle... |
code/ui/Hud.cs | gvarados1/deathrun | 0 | 7049537 |
using Sandbox;
using Sandbox.UI;
using Sandbox.UI.Construct;
using System;
using System.Threading.Tasks;
namespace HiddenGamemode
{
[Library]
public partial class Hud : Sandbox.Hud
{
public Hud()
{
if ( !IsClient )
return;
RootPanel.StyleSheet.Load( "/ui/Hud.scss" );
RootPanel.AddChild<RoundInf... |
Thief-Game/Monsters/MonsterViewLoader.cs | ArtemBorodinEvgenyevich/Pacman | 1 | 7049538 | <filename>Thief-Game/Monsters/MonsterViewLoader.cs
using System.Drawing;
using System.IO;
namespace Thief_Game
{
//Lev
/// <summary>
/// Monster sprite loader
/// </summary>
static class MonsterViewLoader
{
/// <summary>
/// Загрузить картинку монстра
/// <... |
Atlassian.Jira/ProjectVersionCollection.cs | kulpini/Tracker | 3 | 7049539 | <reponame>kulpini/Tracker<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
namespace Atlassian.Jira
{
/// <summary>
/// Collection of project versions
/// </summary>
public class ProjectVersionCollection : JiraNamedEntityCollection<ProjectVersion>
{
internal... |
src/GeneratedSerializers.Json/JwtDataDeserializer.cs | nventive/GeneratedSerializers | 0 | 7049540 | using System;
using System.Text;
namespace GeneratedSerializers
{
/// <summary>
/// Custom deserializer to parse a RFC 7519 JSON Web Token
/// </summary>
/// <remarks>
/// Header will be parsed as an dictionary.
/// </remarks>
public sealed class JwtDataDeserializer<TPayload> : ICustomTypeSerializer<JwtData<TP... |
src/A6k.Messaging.Kafka/DependencyInjection/ServiceCollectionExtensions.cs | AndyPook/A6k.Messaging | 0 | 7049541 | using System;
using A6k.Messaging.Kafka;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
namespace Microsoft.Extensions.DependencyInjection
{
public static class ServiceCollectionExtensions... |
WpfApplication1/MainWindow.xaml.cs | KnJbMfLAgdkwZL/YellowSubmarine | 0 | 7049542 | <reponame>KnJbMfLAgdkwZL/YellowSubmarine<filename>WpfApplication1/MainWindow.xaml.cs
using System;
using System.Collections.Generic;
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 Sy... |
Ivony.Html.LegacyDomModel/HtmlFragment.cs | Ivony/Jumony | 394 | 7049543 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ivony.Fluent;
namespace Ivony.Html
{
/// <summary>
/// HTML 文档碎片,游离节点的容器
/// </summary>
public class HtmlFragment : IHtmlContainer
{
private IHtmlNodeFactory _factory;
/// <summary>
/// 创建 HtmlFragment... |
src/Stripe.net/Services/SubscriptionItems/SubscriptionItemListOptions.cs | RobWalker/stripe.net | 1 | 7049544 | <reponame>RobWalker/stripe.net
namespace Stripe
{
using Newtonsoft.Json;
public class SubscriptionItemListOptions : ListOptions
{
/// <summary>
/// REQUIRED: The ID of the subscription whose items will be retrieved.
/// </summary>
[JsonProperty("subscription")]
publi... |
src/RestClient.Net.Abstractions/ISendHttpRequestMessage.cs | wagnerhsu/nuget-RestClient.Net | 299 | 7049545 | <filename>src/RestClient.Net.Abstractions/ISendHttpRequestMessage.cs<gh_stars>100-1000
using Microsoft.Extensions.Logging;
using System.Net.Http;
using System.Threading.Tasks;
namespace RestClient.Net
{
public interface ISendHttpRequestMessage
{
Task<HttpResponseMessage> SendHttpRequestMessage<TReques... |
course_1/algorithms_and_data_structures/Laba_9/9_1_1/9_1_1/DoublyLinkedList.cs | IlonaZellka/DonNU | 0 | 7049546 | using System;
namespace _9_1_1
{
public class DoublyNode
{
public Village data;
public DoublyNode Next;
public DoublyNode Previous;
}
public class DoublyLinkedList
{
DoublyNode head = null;
DoublyNode tail = null;
public void View... |
ViennaNET.Utils/Threading/LimitedConcurrencyLevelProcessingStrategy.cs | tralivali1234/ViennaNET | 203 | 7049547 | using System;
using System.Threading.Tasks;
namespace ViennaNET.Utils.Threading
{
/// <summary>
/// Асинхронная стратегия, порождающая ограниченное число потоков
/// </summary>
public class LimitedConcurrencyLevelProcessingStrategy : IAsyncProcessingStrategy
{
private readonly TaskFactory _taskFactory... |
BackStage.Web/Areas/Adm/Views/Demo/Gallery.cshtml | yycx0328/opcomunity-admin | 1 | 7049548 | @{
Layout = "/Areas/Adm/Views/Shared/_Layout_Body.cshtml";
}
@section StylesBefore
{
@Styles.Render("~/Template/Admin/content/Css/File")
}
@section Scripts
{
@Scripts.Render("~/JS/Admin/content/File")
}
<div class="profile-desk">
<aside class="p-aside">
<ul class="gallery">
<li... |
Projects/Csharp_Unity_Editor_json/Assets/Gen/ai/ENotifyObserverMode.cs | LiuOcean/luban_examples | 1 | 7049549 | <filename>Projects/Csharp_Unity_Editor_json/Assets/Gen/ai/ENotifyObserverMode.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is ... |
Process/Process/Models/Notebook/NotebookItem.cs | EgoistDeveloper/Process | 0 | 7049550 | <reponame>EgoistDeveloper/Process<gh_stars>0
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Windows.Input;
namespace Process.Models.Notebook
{
public class NotebookItem : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
publi... |
tests/Exeal.StranglerProxy.Tests.ProxyApi/Controllers/TestController.cs | xenxi/StranglerProxy | 4 | 7049552 | using Microsoft.AspNetCore.Mvc;
namespace ProxyApi.Controllers
{
[ApiController]
public class TestController : ControllerBase
{
[Route("test")]
[HttpGet]
public IActionResult Test()
{
return Ok(new { OverrideController = true });
}
[Route("test1... |
WeQuiz/Areas/Admin/Controllers/SchoolsController.cs | grendal11/ASP.NET-Core-Project-We-Quiz | 0 | 7049553 | <gh_stars>0
namespace WeQuiz.Areas.Admin.Controllers
{
using Microsoft.AspNetCore.Mvc;
using WeQuiz.Areas.Admin.Models.Schools;
using WeQuiz.Services.Schools;
public class SchoolsController : AdminController
{
private readonly ISchoolsService schools;
public SchoolsController(ISc... |
Assets/ShaderoSprite/Plugins/Editor/Nodes/FX/SuperGrayScale.cs | Hir-o/Settlers-of-Albion-Project-Files | 0 | 7049554 | <reponame>Hir-o/Settlers-of-Albion-Project-Files<filename>Assets/ShaderoSprite/Plugins/Editor/Nodes/FX/SuperGrayScale.cs
using UnityEngine;
using UnityEditor;
using System.Collections;
using _ShaderoShaderEditorFramework;
using _ShaderoShaderEditorFramework.Utilities;
namespace _ShaderoShaderEditorFramework
{
[Node(fal... |
src/Services/Permission/Permission.API/IntegrationEvents/PermissionEvents.cs | EventMS/EMS | 0 | 7049555 | using System;
using EMS.BuildingBlocks.EventLogEF;
namespace EMS.Events
{
public class UserCreatedEvent : Event // All events should inherit from Integration event
{
public Guid UserId { get; set; }
}
public class ClubCreatedEvent : Event // All events should inherit from Integration event
... |
SimpleSample/ViewModels/ArtistViewModel.cs | Clancey/SimpleSample | 9 | 7049556 | <gh_stars>1-10
using System;
using SimpleSample.Managers;
namespace SimpleSample
{
public class ArtistViewModel: BaseTableViewModel<Artist>
{
public ArtistViewModel ()
{
Title = "Artists";
}
public override void SetupEvents ()
{
base.SetupEvents ();
NotificationManager.Shared.SongDatabaseUpdated +... |
src/Cake.SemVer/SemVer.cs | jonasf/Cake.SemVer | 1 | 7049557 | <gh_stars>1-10
using Cake.Core;
using Cake.Core.Annotations;
namespace Cake.SemVer
{
/// <summary>
/// <para>Semantic Versioning aliases.</para>
/// <para>
/// In order to use aliases from this addin, you will need to also reference semver as an addin.
/// Here is what including Cake.SemVer in y... |
src/CreateMikLabelModel/DL/DownloadHelper.cs | mmitche/issue-labeler | 11 | 7049558 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using CreateMikLabelModel.DL.Common;
using CreateMikLabelModel.DL.GraphQL;
using CreateMikLabelModel.Models;
using ... |
src/UI/Panels/FreeCamPanel.cs | sinai-dev/Explorer | 26 | 7049559 | using UniverseLib.Input;
using UniverseLib.UI;
using UniverseLib.UI.Models;
namespace UnityExplorer.UI.Panels
{
internal class FreeCamPanel : UEPanel
{
public FreeCamPanel(UIBase owner) : base(owner)
{
}
public override string Name => "Freecam";
public override UIManag... |
MatomoDeviceDetector.NET/Services/Parser/BotParserAbstract.cs | zeshan-xeesoft/MatomoDeviceDetector.NET | 1 | 7049560 | // --------------------------------------------------------------------------------------------------------------------------
// <copyright file="BotParserAbstract.cs" company="Agile Flex Agency">
// Copyright © 2000-2020 by Agile Flex Agency. All rights reserved. Website: https://agile-flex.com
// </copyright>
// ---... |
Projects/Server/Biz/SF.Biz.Payments/Services/RefundState.cs | etechi/ServiceFramework | 2 | 7049561 | namespace SF.Biz.Payments
{
public enum RefundState
{
/// <summary>
/// 提交中
/// </summary>
Submitting,
/// <summary>
/// 处理中
/// </summary>
Processing,
/// <summary>
/// 成功
/// </summary>
Success,
/// <summa... |
Public/Src/Pips/Dll/Operations/PipGraphFragmentContext.cs | rongjiecomputer/BuildXL | 0 | 7049562 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.ContractsLight;
using BuildXL.Utilities;
using BuildXL.Utilities.Collections;
namespace BuildXL.Pips.Operations
{
/// <summary>
... |
camunda-bpm-platform-net/engine/src/test/java/org/camunda/bpm/engine/test/api/multitenancy/query/history/MultiTenancyHistoricExternalTaskLogTest.cs | luizfbicalho/Camunda.NET | 6 | 7049563 | <filename>camunda-bpm-platform-net/engine/src/test/java/org/camunda/bpm/engine/test/api/multitenancy/query/history/MultiTenancyHistoricExternalTaskLogTest.cs
using System.Collections.Generic;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreem... |
WhippedCream/WhippedCreamDataLayer.cs | KCL5South/WhippedCream | 0 | 7049564 | <filename>WhippedCream/WhippedCreamDataLayer.cs
using System.Collections.Generic;
using System.Collections.Concurrent;
using Microsoft.Practices.Unity;
using WhippedCream.DataServiceDataLayer;
using WhippedCream.InMemoryDataLayer;
namespace WhippedCream
{
/*
### ... |
SharpWeld/ClassProvider/AbstractObjectBuilder.cs | skylerparr/SharpWeld | 0 | 7049565 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace SharpWeld.ClassProvider
{
/// <summary>
/// This class isn't actually abstract, strangely enough. It's intention is to
/// take a base abstract class, create and instance o... |
SSASDiag/SSASDiag/SimpleMDXParser/MDXParser/MDXSelectNode.cs | jorge-py/SSASDiag | 29 | 7049566 | namespace SimpleMDXParser
{
using System;
using System.Collections.Generic;
using System.Text;
public class MDXSelectNode : MDXStatementNode
{
private MDXAxesListNode m_Axes;
private MDXExpListNode m_CellProps;
private string m_Cube;
internal List<MDXParameter> m_Pa... |
test/LunoClient.Test/ApiAuthenticationClientTest.cs | 0xdeafcafe/luno-dotnet | 7 | 7049568 | <filename>test/LunoClient.Test/ApiAuthenticationClientTest.cs
using System;
using System.Threading.Tasks;
using Luno.Models.ApiAuthentication;
using LunoClient.Test.Helpers;
using LunoClient.Test.Models.Test;
using Xunit;
namespace LunoClient.Test
{
public class ApiAuthenticationClientTest
{
public static readonl... |
Tests/MicroServiceFabric.Bootstrap.StatefulServices.Data.Tests/TransactionFactoryTests.cs | WonkiDonk/service-fabric | 0 | 7049569 | using System;
using FluentAssertions;
using Microsoft.ServiceFabric.Data;
using NSubstitute;
using Xunit;
namespace MicroServiceFabric.Bootstrap.StatefulServices.Data.Tests
{
public sealed class TransactionFactoryTests
{
[Fact]
public void ctor_StateManagerRequired()
{
Asser... |
TriviaNow/help.Designer.cs | yaninsanity/TriviaNowQuizSystem | 0 | 7049570 | <filename>TriviaNow/help.Designer.cs
namespace TriviaNow
{
partial class help
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used... |
CalculoCirculo/CalculoCirculo/Calculo.cs | JoaoVictorG/CSharpe | 1 | 7049571 | <filename>CalculoCirculo/CalculoCirculo/Calculo.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace CalculoCirculo
{
class Calculo
{
public double Raio;
public double Pi = 3.14;
public double Circunferencia()
{
return 2 * Pi... |
src/Armr.Azure/StorageAccountResourceBuilder.cs | faniereynders/dotnet-az | 5 | 7049572 | namespace Armr.Azure
{
public class StorageAccountResourceBuilder:ResourceBuilder<StorageAccount,StorageAccountResourceBuilder>
{
private readonly StorageAccount storageAccount;
public StorageAccountResourceBuilder()
{
storageAccount = new StorageAccount();
}
... |
Telerik - C# OOP/Old Homeworks/05. OOP Principles - Part 2/02. Bank accounts/MortgageAccount.cs | fr0wsTyl/TelerikAcademy-2015- | 0 | 7049573 | using System;
namespace _02.Bank_accounts
{
public class MortgageAccount : Account
{
public MortgageAccount(Bank inputBank, Customer inputCustomer, decimal inputBalance,
decimal inputInterestRate)
: base(inputBank, inputCustomer, inputBalance, inputInterestRate)
{
... |
NeoMir/Classes/ActivityDetector.cs | NeoMir/neomir-uwp | 0 | 7049574 | <filename>NeoMir/Classes/ActivityDetector.cs
using System;
using Windows.System.Threading;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace NeoMir.Classes
{
// Class to detect activity based on a Periodic timer.
public class ActivityDetector
{
#reg... |
TTR/gameobj/GoLEffect.cs | IndiegameGarden/TTR | 0 | 7049575 | // (c) 2010-2014 <EMAIL>. Distributed under the FreeBSD license in LICENSE.txt
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using TTR.main;
using TTengine.Core;
namespace TTR.gameobj
{
/**... |
src/Kalk.Core/Modules/FileModule.cs | xoofx/kalk | 173 | 7049576 | <reponame>xoofx/kalk<filename>src/Kalk.Core/Modules/FileModule.cs
using System;
using System.Collections;
using System.IO;
using System.Text;
using Kalk.Core.Helpers;
using Scriban.Runtime;
namespace Kalk.Core.Modules
{
/// <summary>
/// Modules providing file related functions.
/// </summary>
[KalkEx... |
Assets/Scripts/Model/Choices/Trash/Leave.cs | JeffSkyrunner/data-hunt | 0 | 7049577 | <reponame>JeffSkyrunner/data-hunt
using System.Threading.Tasks;
namespace model.choices.trash
{
public class Leave : ITrashOption
{
bool ITrashOption.IsLegal(Game game) => true;
async Task ITrashOption.Perform(Game game) => await Task.CompletedTask;
string ITrashOption.Art => "Images... |
Converters/GenericDataReader.cs | ffhighwind/Utilities | 1 | 7049578 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Reflection;
namespace Fasterflect
{
/// <summary>
/// Generic <see cref="DbDataReader"/> for use with ADO.NET SQL select commands. Converts from a <see cref="DataTab... |
_Backup/_Backup2/MbCasinosUserConfig.cs | veliamsli/CasinosClient | 3 | 7049579 | //// Copyright (c) Cragon. All rights reserved.
//namespace Casinos
//{
// using System;
// using System.Collections.Generic;
// using UnityEngine;
// public enum ConfigType
// {
// Dev = 0,
// Production
// }
// [Serializable]
// public class ConfigSection
// {
// pu... |
Restaurant/ConsoleApp1/Waiter.cs | adrian-badulescu/restaurant | 0 | 7049580 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApp1 {
public class Waiter
{
public enum waiterState
{
available = 1,
absent = 2,
notset = 3
}
public string waiterId { get; private set; }
... |
src/Service/DependenceInjectService.cs | kasimLZ/GoFastDFS.Client | 1 | 7049581 | <gh_stars>1-10
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Reflection;
namespace GoFastDFS.Client.Service
{
/// <summary>
/// A dependency injection service that is limited to use within the current project domain
/// </summary>
internal static class DependenceInjectService
{
pri... |
LuaBuildEvents/lua/io/LuaFileInfo.cs | jpdante/LuaBuildEvents | 0 | 7049582 | <reponame>jpdante/LuaBuildEvents<filename>LuaBuildEvents/lua/io/LuaFileInfo.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using LuaBuildEvents.lua.system;
using MoonSharp.Interpreter;
using MoonSharp.Interpreter.Interop;
// ReSharper disable InconsistentNaming
// Re... |
XFTranslator/XFTranslator.Android/Renderers/NavigationPageRenderer.cs | aimore/XamUI | 59 | 7049583 | <filename>XFTranslator/XFTranslator.Android/Renderers/NavigationPageRenderer.cs<gh_stars>10-100
using System;
using Android.Content;
using Xamarin.Forms;
using AView = Android.Views.View;
using Xamarin.Forms.Platform.Android;
using Xamarin.Forms.Platform.Android.AppCompat;
using XFTranslator.Controls;
[assembly: Expo... |
NilDev.MethodState/MethodState1.generated.cs | leri/NilDev.MethodState | 0 | 7049584 | <gh_stars>0
using System;
using System.Threading.Tasks;
namespace NilDev.MethodState
{
/// <summary>
/// Describes the possible states which can be returned by a method and gives the possibility to observe it when required.
/// </summary>
/// <typeparam name="T1">Type of a 1st possible state.</typepara... |
swashbuckle-example/src/WeatherForecastApi.Swashbuckle/Startup.cs | kane-armstrong/dotnet-core-api-versioning-and-open-api | 2 | 7049585 | <reponame>kane-armstrong/dotnet-core-api-versioning-and-open-api<filename>swashbuckle-example/src/WeatherForecastApi.Swashbuckle/Startup.cs
using System.Diagnostics;
using System.Text.Json;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.ApiExplorer;
using Microsof... |
src/Backfy.Api/Extensions/ConfigureServicesExtension.cs | gsGabriel/backfy | 0 | 7049586 | using Backfy.Albums.Query.Handler;
using Backfy.Albums.Repository;
using Backfy.Albums.Repository.Interfaces;
using Backfy.Api.Configs;
using Backfy.Common.Infra.Services;
using Backfy.Common.Infra.Services.Interfaces;
using Backfy.Sales.Command.Handler;
using Backfy.Sales.Query.Handler;
using Backfy.Sales.Repository;... |
src/Kkts.Expressions.UnitTest/Units/FilterGroupTest.cs | linhnle/Kkts.Expressions | 1 | 7049587 | <filename>src/Kkts.Expressions.UnitTest/Units/FilterGroupTest.cs<gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace Kkts.Expressions.UnitTest.Units
{
public class FilterGroupTest
{
[Fact]
public void TryBuildPredicate_FilterGroup_Succeed()
{
... |
GitGooey/PatchEntry.cs | jlennox/GitGooey | 0 | 7049588 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace GitGooey
{
enum EntryType { Ignored, Match, Add, Remove }
struct DifferentialPatch
{
// @@ -69,6 +69,7 @@ foobar.ini
... |
Assets/scripts/ScrollingBackground.cs | vidhi-sareen/Breathless-2D-game- | 1 | 7049589 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScrollingBackground : MonoBehaviour
{
public Renderer background;
public float backgroundSpeed;
void Start()
{
}
void Update()
{
background.material.mainTextureOffset... |
VSCode Projects/PASTR_Intranet_R7/NTier.Maintenance.Model/Entities/Worker.cs | berkdgs/MyProjects | 1 | 7049590 | using NTier.Core.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NTier.Maintenance.Model.Entities
{
public class Worker : CoreEntity
{
public String Name { get; set; }
public String LastName { get; set; }
... |
MonopolyPreUnity/Components/SystemRequest/Output/PrintFormattedLine.cs | BardiTheWeird/MonopolyPreUnity | 1 | 7049591 | <reponame>BardiTheWeird/MonopolyPreUnity<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace MonopolyPreUnity.Components.SystemRequest.Output
{
class PrintFormattedLine : IOutputRequest
{
public string OutString { get; set; }
public OutputStream OutputStr... |
src/OnionSeed.Data/Decorators/ComposedRepository.cs | TaffarelJr/OnionSeed.Data | 0 | 7049592 | <reponame>TaffarelJr/OnionSeed.Data<filename>src/OnionSeed.Data/Decorators/ComposedRepository.cs
using System;
using System.Collections.Generic;
namespace OnionSeed.Data.Decorators
{
/// <inheritdoc/>
/// <summary>
/// Joins an <see cref="IQueryService{TRoot, TIdentity}"/> and an <see cref="ICommandService{TRoot, ... |
Kahla.Server/Controllers/DevicesController.cs | JTOne123/Kahla | 0 | 7049593 | using Aiursoft.Archon.SDK.Services;
using Aiursoft.DocGenerator.Attributes;
using Aiursoft.Handler.Attributes;
using Aiursoft.Handler.Models;
using Aiursoft.Identity.Attributes;
using Aiursoft.Stargate.SDK.Services.ToStargateServer;
using Aiursoft.WebTools;
using Kahla.SDK.Events;
using Kahla.SDK.Models;
using Kahla.S... |
src/Core/Algorithms/GrahamScanAlgorithm.cs | robertogiachetta/aegis | 4 | 7049594 | // <copyright file="GrahamScanAlgorithm.cs" company="Eötvös Loránd University (ELTE)">
// Copyright 2016-2019 <NAME>. Licensed under the
// Educational Community 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 Lic... |
APIs/amazonaws.com/networkmanager/csharp/DemoAuto.cs | zijianhuang/openapi-directory | 0 | 7049595 | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------... |
src/PaySharp.Wechatpay/Response/BarcodePayResponse.cs | efenghuo/PaySharp | 3 | 7049596 | using PaySharp.Core;
using PaySharp.Core.Request;
using PaySharp.Wechatpay.Domain;
using PaySharp.Wechatpay.Request;
using System.Threading;
using System.Threading.Tasks;
namespace PaySharp.Wechatpay.Response
{
public class BarcodePayResponse : BaseResponse
{
/// <summary>
/// 用户标识
///... |
client/unity/GameMachine/Scripts/Editor/ServerConfigEditor.cs | schloepke/gamemachine | 121 | 7049597 | using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
using System.IO;
using System;
namespace GameMachine {
[CustomEditor(typeof(ServerConfig))]
public class ServerConfigEditor : Editor {
private string gameMachineProcess = "game_machine";
private string unityPro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.