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 |
|---|---|---|---|---|
Project/Src/AddIns/ReSharper610/Core/StyleCopStageProcess.cs | sarvex/StyleCop | 0 | 7035710 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="StyleCopStageProcess.cs" company="http://stylecop.codeplex.com">
// MS-PL
// </copyright>
// <license>
// This source code is subject to terms and conditions of the Micro... |
HydroData.admin/Areas/Admin/Controllers/LogController.cs | jirikadlec2/hydrodatacz | 0 | 7035711 | <gh_stars>0
using Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace HydroData.Areas.Admin.Controllers
{
public class LogController : BaseController
{
//
// GET: /Log/
public ActionResult Index(int? pg)
{
var p = db.Page<logging>(pg... |
src/Neo.Compiler.MSIL/StandardMethods.cs | Qiao-Jin/neo-devpack-dotnet | 0 | 7035712 | <filename>src/Neo.Compiler.MSIL/StandardMethods.cs<gh_stars>0
namespace Neo.Compiler
{
internal static class StandardMethods
{
public const string Verify = "verify";
public const string Deploy = "_deploy";
}
}
|
C-Sharp-101/variables/Program.cs | murtcay/Kodluyoruz-Patikasi | 0 | 7035713 | <filename>C-Sharp-101/variables/Program.cs
using System;
namespace variables
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("");
string variable = " ";
byte b = 5; // 0 to 255, 1 byte
sbyte c = 5; // -128 ... |
sdk/src/Services/IoTSiteWise/Generated/Model/TumblingWindow.cs | diegofrata/aws-sdk-net | 0 | 7035714 | <filename>sdk/src/Services/IoTSiteWise/Generated/Model/TumblingWindow.cs
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License ... |
GitterSharp/GitterSharp/Model/UnreadItems.cs | warrenbuckley/gitter-api-pcl | 12 | 7035715 | <gh_stars>10-100
using System.Collections.Generic;
using Newtonsoft.Json;
namespace GitterSharp.Model
{
public class UnreadItems
{
[JsonProperty("chat")]
public IEnumerable<string> Messages { get; set; }
[JsonProperty("mention")]
public IEnumerable<string> Mentions { get; set;... |
app/Assets/Plugins/TriggerAction/Actions/QueueAnimationAction.cs | jshou/party-game | 2 | 7035716 | using UnityEngine;
using System.Collections;
public class QueueAnimationAction : ActionBase {
public GameObject target;
public string animationName;
public override void Act() {
target.animation.CrossFadeQueued(animationName);
}
}
|
SW.Mtm.Api/Resources/Accounts/SetupTotp.cs | simplify9/Mtm | 6 | 7035717 | <reponame>simplify9/Mtm<filename>SW.Mtm.Api/Resources/Accounts/SetupTotp.cs
using SW.Mtm.Model;
using SW.PrimitiveTypes;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using OtpNet;
using SW.Mtm.Domain;
using System.Linq;
using... |
src/orleans/Chess.Orleans.Contract/IMatchRegistryGrain.cs | jroliveira/chess | 29 | 7035718 | namespace Chess.Orleans.Contract
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Chess.Infra.Monad;
using global::Orleans;
public interface IMatchRegistryGrain : IGrainWithStringKey
{
Task<Unit> AddMatchGrain(IMatchGrain matchGrain);
Task<IReadOnlyCol... |
HMA.BLL.Tier2/Services/HouseT2Service.cs | illja96/hma-api | 0 | 7035719 | <filename>HMA.BLL.Tier2/Services/HouseT2Service.cs<gh_stars>0
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using HMA.BLL.Tier1.Exceptions.User;
using HMA.BLL.Tier1.Services.Interfaces;
using HMA.BLL.Tier2.Services.Interfaces;
using HMA.DTO... |
DICOM/Network/Client/States/DicomClientAbortState.cs | hkoestin/fo-dicom | 0 | 7035720 | <gh_stars>0
using System;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using Dicom.Network.Client.Events;
namespace Dicom.Network.Client.States
{
public class DicomClientAbortState : DicomClientWithConnectionState, IDisposable
{
private readonly DicomClie... |
DosWindowNet/DosWindowList.cs | toncho11/DosWindowsNet | 3 | 7035721 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DosWindowNet
{
public delegate void ChangedEventHandler(object sender, int index);
public class DosWindowList : DosWindow
{
int currentDow;
int maxRow... |
Entities/Humanoids/Humans/ImplementedStat.cs | AnOddDoorKnight/A-Simple-RPG | 1 | 7035722 | <gh_stars>1-10
using OddsLibrary.Algebra;
namespace ASimpleRPG.Entities
{
public class Stat
{
public const byte hardCap = 99;
private byte _value;
public byte Value
{
get => _value;
set => _value = checked((byte)Algebra.LimitValue(value, 0, hardCap));
}
public Stat(byte value) => Value = value;
... |
server/Core/Database/Tables/PlayersStatsTable.cs | jaenudin86/PointBlank | 9 | 7035723 | <filename>server/Core/Database/Tables/PlayersStatsTable.cs
/*
* C# Server Emulator Project Blackout / PointBlank
* Authors: the__all
* Copyright (C) 2015 | OZ-Network
*/
using Core.Database;
using Core.Model;
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
namespace Core.Database.Tab... |
KeepItAlive/Assets/Scripts/Kernel/Ease.cs | LinAndAGame/KeepItAlive | 0 | 7035724 | <filename>KeepItAlive/Assets/Scripts/Kernel/Ease.cs
/****************************************************
文件:Ease.cs
作者:林文豪
日期:2020/04/06 14:03:22
功能:核心层,设置了一些缓动函数
*****************************************************/
using System;
namespace MyGameKernel {
public enum EaseType {
Liner = 0,
Si... |
Volley.UI.Core/Extensions.cs | KokiOishi/Volley | 1 | 7035725 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace Volley.UI
{
public static class Extensions
{
public static void SetAndNotifyIfChanged<TValue,TSender>(this TSender sender, PropertyChangedEventHandler @event
, ref TValu... |
EDAnalyzer/Models/EDSC/Response/SystemsInRangeResponseMetadata.cs | andersosthus/EDAnalyzer | 0 | 7035726 | using Newtonsoft.Json;
namespace EDAnalyzer.Models.EDSC.Response
{
public class SystemsInRangeResponseMetadata
{
[JsonProperty(PropertyName = "ver")]
public float Version { get; set; }
[JsonProperty(PropertyName = "date")]
public string Date { get; set; }
[JsonProperty(PropertyName = "status")]
public... |
src/Skybrud.Umbraco.Redirects/Import/Csv/CsvCell.cs | TimGeyssens/Skybrud.Umbraco.Redirects | 0 | 7035727 | using System;
namespace Skybrud.Umbraco.Redirects.Import.Csv
{
/// <summary>
/// Class representing a cell in an instance of <see cref="CsvFile"/>.
/// </summary>
public class CsvCell
{
#region Properties
/// <summary>
/// Gets a reference to the parent <see cref="CsvFile... |
Source/Swarm2D.Engine.Logic/Game/SceneManager.cs | kiyakkoray/Swarm2D | 7 | 7035728 | <reponame>kiyakkoray/Swarm2D
/******************************************************************************
Copyright (c) 2015 <NAME>
http://www.swarm2d.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to dea... |
CoreBoy/sound/SoundMode4.cs | john-h-k/CoreBoy | 462 | 7035729 | namespace CoreBoy.sound
{
public class SoundMode4 : SoundModeBase
{
private int _lastResult;
private readonly VolumeEnvelope _volumeEnvelope;
private readonly PolynomialCounter _polynomialCounter;
private readonly Lfsr _lfsr = new Lfsr();
public SoundMode4(bool gbc):base... |
test/Abp.EntityFramework.Tests/Repositories/EntityFrameworkGenericRepositoryRegistrar_Tests.cs | luyuxi14Linbaw/ZERO | 2 | 7035731 | using System;
using System.Data.Entity;
using Abp.Dependency;
using Abp.Domain.Entities;
using Abp.Domain.Repositories;
using Abp.EntityFramework.Repositories;
using Abp.Tests;
using Castle.MicroKernel.Registration;
using Shouldly;
using Xunit;
namespace Abp.EntityFramework.Tests.Repositories
{
public class Entit... |
UnitTest/UnitTest1.cs | HMBSbige/CSharp | 2 | 7035732 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using System;
namespace UnitTest
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
var model = new TestModel();
var json = JsonConvert.SerializeObject(model, Formatting.Indented);
Console.WriteL... |
src/Entities/Kinight.cs | lucaspalmanew/rpg | 0 | 7035733 | <reponame>lucaspalmanew/rpg<filename>src/Entities/Kinight.cs
using System;
namespace POO.src.Entities
{
public class Kinight : Hero
{
public string Attack(int bonus)
{
if (bonus > 25)
{
Console.ForegroundColor = ConsoleColor.Red;
return ... |
src/Essensoft.Paylink.Alipay/Domain/ApSummaryBillViewQueryOrder.cs | essensoft/paymen | 522 | 7035735 | <filename>src/Essensoft.Paylink.Alipay/Domain/ApSummaryBillViewQueryOrder.cs
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Domain
{
/// <summary>
/// ApSummaryBillViewQueryOrder Data Structure.
/// </summary>
public class ApSummaryBillViewQu... |
OAuthApp/Areas/Identity/Pages/Account/Login.cshtml | geffzhang/IdentityServer4.MicroService | 13 | 7035736 | <reponame>geffzhang/IdentityServer4.MicroService<gh_stars>10-100
@page
@model LoginModel
@{
ViewData["Title"] = "Log in";
var TenantContext = OAuthApp.Tenant.TenantValidatorHelper.GetTenantWithProperties(HttpContext);
}
<div class="mt-5 pt-5" style="width: 100%; max-width: 420px; padding: 15px; margin: auto;">
<form i... |
Mono.Cecil/Mono.Cecil.Cil/Document.cs | tuandoi1/simple-assembly-exploror | 184 | 7035737 | //
// Document.cs
//
// Author:
// <NAME> (<EMAIL>)
//
// Copyright (c) 2008 - 2011 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
//... |
Rocket.Unturned/Utils/AutomaticSaveWatchdog.cs | fossabot/Rocket.Unturned | 0 | 7035738 | using SDG.Unturned;
using System;
using Rocket.API;
using Rocket.API.Logging;
using Rocket.Core.Logging;
using Rocket.API.Scheduling;
using Rocket.Core.Scheduling;
namespace Rocket.Unturned.Utils
{
public class AutomaticSaveWatchdog
{
private readonly ILogger logger;
private DateT... |
src/DevNcore.UI.Design/Controls/Icons/AlphaUBoxIcon.cs | devncore/ncore | 1 | 7035739 | using System.Windows;
using DevNcore.UI.Design.Controls.Primitives;
namespace DevNcore.UI.Design.Controls
{
public class AlphaUBoxIcon : Icon
{
static AlphaUBoxIcon()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(AlphaUBoxIcon), new FrameworkPropertyMetadata(typeof(AlphaUBoxIco... |
src/MagentoApi.SoapClient.RemoteServices.Core243/ResourceModel/DirectoryCountryInformationAcquirerV1.cs | compori/magentoapi | 0 | 7035740 | //------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
//
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//-... |
QuantityMeasurementApplication/Controllers/WeightController.cs | Biru4015/QuantityMeasurementAPI | 0 | 7035741 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using QuantityMeasurementManager.IQuantityManager;
using QuantityMeasurementModel;
namespace QuantityMeasurementApplication.Controllers
{
[Route("api/[c... |
app/Server/src/SERVERAPI/Pages/Ranch/RanchAnimals/Index.cshtml.cs | plasticviking/agri-nmp | 6 | 7035742 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Agri.Models;
using Agri.Models.Farm;
using AutoMapper;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using SERVERAPI.Filters;
using SERV... |
kureshi-stack/Assets/Scripts/ConfigModalWindow/PlayBGMButton.cs | sam0830/kureshi-stack | 0 | 7035743 | <reponame>sam0830/kureshi-stack<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayBGMButton : MonoBehaviour {
[SerializeField]
private Slider bgmSlider;
private const string TRY_BGM_NAME = "TryBGM";
private void Start() {
if(bgmSli... |
CafeStudio.UI/Windows/PropertyWindow.cs | S41L0R/Cafe-Shader-Studio | 34 | 7035744 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Toolbox.Core;
using Toolbox.Core.IO;
using Toolbox.Core.ViewModels;
using ImGuiNET;
namespace CafeStudio.UI
{
public class PropertyWindow
{
public NodeBase ActiveNode = null;
... |
PeopleManagement.Models/Relationship.cs | afmorris/PeopleManagement | 0 | 7035745 | using PeopleManagement.Constants;
namespace PeopleManagement.Models
{
public class Relationship : BaseModel
{
public Person Owner { get; }
public Person Related { get; }
public RelationshipType Type { get; }
public Relationship(Person owner, Person related, RelationshipType ty... |
aliyun-net-sdk-outboundbot/OutboundBot/Transform/V20191226/GenerateOverallStatisticsReportResponseUnmarshaller.cs | bbs168/aliyun-openapi-net-sdk | 1 | 7035746 | <reponame>bbs168/aliyun-openapi-net-sdk<filename>aliyun-net-sdk-outboundbot/OutboundBot/Transform/V20191226/GenerateOverallStatisticsReportResponseUnmarshaller.cs
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this wor... |
tests/MassTransit.Tests/SagaStateMachineTests/Automatonymous/EventObservable_Specs.cs | kjrobrien/MassTransit | 1 | 7035747 | namespace MassTransit.Tests.SagaStateMachineTests.Automatonymous
{
using System;
using NUnit.Framework;
[TestFixture]
public class When_an_event_is_raised_on_an_instance
{
[Test]
public void Should_have_raised_the_initialized_event()
{
Assert.AreEqual(_machine.... |
Src/SimpleFeedly.DbUpdater/Migrations/SimpleFeedlyDb/StoredAndScripts/SimpleFeedlyDb_20200415_112301_insert_feed.cs | minhhungit/SimpleFeedly | 14 | 7035748 | using DatabaseMigrateExt;
using DatabaseMigrateExt.Utils;
using FluentMigrator;
using System;
namespace SimpleFeedly.DbUpdater.Migrations.SimpleFeedlyDb
{
[ExtMgrStoredProcedureAndScript(2020,04,15,11,23,01)]
public class SimpleFeedlyDb_20200415_112301_insert_feed : Migration
{
public override voi... |
Tests/LinqToDB.EntityFrameworkCore.PostgreSQL.Tests/NpgSqlTests.cs | skomis-mm/linq2db.EntityFrameworkCore | 0 | 7035749 | <filename>Tests/LinqToDB.EntityFrameworkCore.PostgreSQL.Tests/NpgSqlTests.cs
using System;
using System.Linq;
using LinqToDB.Data;
using LinqToDB.EntityFrameworkCore.BaseTests;
using LinqToDB.EntityFrameworkCore.PostgreSQL.Tests.Models.NpgSqlEntities;
using Microsoft.EntityFrameworkCore;
using NUnit.Framework;
... |
Portal.CodeAnalyzer.StandAlone/Modules/UnusedEnumRemover.cs | mchall/roslyn.analysis | 0 | 7035750 | using System;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Portal.CodeAnalyzer.StandAlone.Modules
{
public class UnusedEnumRemover : BaseSyntaxRewriter
{
public UnusedEnumRemover(Solution solution, SemanticM... |
dingtalk/csharp/core/conference_1_0/Models/CreateVideoConferenceRequest.cs | aliyun/dingtalk-sdk | 15 | 7035751 | // This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Dingtalkconference_1_0.Models
{
public class CreateVideoConferenceRequest : TeaModel {
/// <summary>
/// 会议主题: 文字,不超过20中文
/// </sum... |
src/Volo.Abp.OpenIddict.Domain/Volo/Abp/OpenIddict/Authorizations/AbpOpenIddictAuthorizationStore.cs | JadynWong/Abp.OpenIddict | 16 | 7035752 | <filename>src/Volo.Abp.OpenIddict.Domain/Volo/Abp/OpenIddict/Authorizations/AbpOpenIddictAuthorizationStore.cs
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using Micros... |
VisualStudio/Sources/RaceOptionsService/DriversService.cs | Heinzman/DigiRcMan | 0 | 7035753 | <reponame>Heinzman/DigiRcMan<filename>VisualStudio/Sources/RaceOptionsService/DriversService.cs
using System;
using System.Collections.Generic;
using Elreg.BusinessObjects;
namespace Elreg.RaceOptionsService
{
public class DriversService : ServiceBase<List<Driver>>
{
public event EventHandler S... |
EchoGun/EchoGun/Assets/Scripts/Enemies/FlatlineProjectileController.cs | rgammad/EchoGun | 1 | 7035754 | <filename>EchoGun/EchoGun/Assets/Scripts/Enemies/FlatlineProjectileController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FlatlineProjectileController : MonoBehaviour, ISpawnable {
public int projSpeed = 10;
public float projDamage = 10f;
[SerializeField... |
C_Sharp/CSharp DataBases/Entity Framework Core/Exams/10.12.2017/FastFood.DataProcessor/Serializer.cs | Mithras11/SoftUni-Software-Engineering | 4 | 7035755 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using FastFood.Data;
using FastFood.DataProcessor.Dto.Export;
using Newtonsoft.Json;
namespace FastFood.DataProcessor
{
public class Serializer
{
public static string ... |
Tup.Dota2Recipe.Spider/Common/ConcurrentConsumerQueue.cs | tupunco/Tup.Dota2Recipe.Spider | 0 | 7035756 | <filename>Tup.Dota2Recipe.Spider/Common/ConcurrentConsumerQueue.cs
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
namespace Tup.Dota2Recipe.Spider.Common
{
/// <summary>
/// 并行消费者队列
/// </summary>
public abstract class ConcurrentConsumerQueue<T... |
steamguard-cli/Controllers/ControllerBase.cs | heabijay/steamguard-cli | 0 | 7035758 | <filename>steamguard-cli/Controllers/ControllerBase.cs
using SteamGuard.Options;
using System;
namespace SteamGuard.Controllers
{
public abstract class ControllerBase<T> : IController where T : IOptions
{
public virtual void Execute(IOptions options)
{
if (!TryHandleMessage(options... |
CS/NutaDev.CsLib/IO/NutaDev.CsLib.IO/Directories/DirectoryHelper.cs | tariel36/SnippetsRepository | 1 | 7035759 | // The MIT License (MIT)
//
// Copyright (c) 2022 tariel36
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy,... |
Eshava.Core.Dynamic.Fields.Validation/ValidationMethods/BaseRangeValidation.cs | eshava/core | 1 | 7035760 | using System;
using System.Collections.Generic;
using Eshava.Core.Dynamic.Fields.Interfaces;
using Eshava.Core.Dynamic.Fields.Models;
using Eshava.Core.Dynamic.Fields.Validation.Models;
using Eshava.Core.Extensions;
using Eshava.Core.Validation.Enums;
using Eshava.Core.Validation.Models;
namespace Eshava.Core.Dynamic... |
Assets/Modules/Core/Services/Pool/PoolableGameObject.cs | dluga/Unity-Project-Sample | 2 | 7035761 | <filename>Assets/Modules/Core/Services/Pool/PoolableGameObject.cs
using System;
using UnityEngine;
namespace StansAssets.ProjectSample.Core
{
public abstract class PoolableGameObject : MonoBehaviour
{
Action m_OnRelease;
public abstract void Init();
protected abstract void OnRelease();
... |
src/Urunium.Stitch/ModuleTransformers/BabelModuleTransformer.cs | urunium/Urunium.Stitch | 0 | 7035762 | <filename>src/Urunium.Stitch/ModuleTransformers/BabelModuleTransformer.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Abstractions;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Urunium.Stitch.ModuleTransformers
{
public... |
Seq2SeqSharp/Layers/IFeedForwardLayer.cs | zhongkaifu/Seq2SeqSharp | 119 | 7035763 | <gh_stars>100-1000
using Seq2SeqSharp.Tools;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Seq2SeqSharp.Layers
{
public interface IFeedForwardLayer : INeuralUnit
{
IWeightTensor Process(IWeightTensor inputT, int batchSize,... |
MonkeyWorks/SMB/SMB2/SMB2CreateRequest.cs | NetSPI/MonkeyWorks | 52 | 7035764 | <gh_stars>10-100
using System;
using System.Linq;
namespace MonkeyWorks.SMB.SMB2
{
sealed class SMB2CreateRequest
{
private Byte[] bAllocationSize;
private readonly Byte[] StructureSize = { 0x39, 0x00 };
private readonly Byte[] Flags = { 0x00 };
private Byte[] RequestedOplockL... |
eShop/Controllers/AccountController.cs | kkr2/eShop | 0 | 7035765 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
namespace eShop.UI.Controllers
{
public class AccountController: Controller
{
private SignInManager<IdentityUser> _si... |
trunk/extensions/chromium/model/Formats/Chromedriver/Converters/PreprocessingManagerExtension.cs.cs | rkapl123/logjoint | 44 | 7035766 | using LogJoint.Preprocessing;
using System.Linq;
using System;
using LogJoint.Postprocessing;
using System.Threading;
using System.Threading.Tasks;
namespace LogJoint.Chromium.ChromeDriver
{
public class PreprocessingManagerExtension : IPreprocessingManagerExtension
{
readonly IStepsFactory preprocessi... |
FacioRatio.CSharpRailway/Extensions/NotAnyTaskT.cs | FacioRatio/CSharpRailway | 1 | 7035767 | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FacioRatio.CSharpRailway
{
[System.Diagnostics.DebuggerStepThrough]
public static class ResultNotAnyTaskTExtensions
{
public static async Task<Result<Empty>> NotAny<T>(this Task<Result<IEnum... |
Back-end/Startup.cs | aytacgedik/Cookify | 1 | 7035768 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Back_end.Data;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.... |
src/Binance.Spot/SpotService.cs | NonoElRobot/binance-connector-dotnet | 0 | 7035770 | <gh_stars>0
namespace Binance.Spot
{
using System.Net.Http;
using Common;
public abstract class SpotService : BinanceService
{
protected const string DEFAULT_SPOT_BASE_URL = "https://api.binance.com";
protected SpotService(
HttpClient httpClient,
string apiKey,
... |
SpaceFightForWindows/ElementsClass/Particle.cs | Astisus/SpaceFight | 3 | 7035771 | <filename>SpaceFightForWindows/ElementsClass/Particle.cs<gh_stars>1-10
#region Using Statements
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framewor... |
Alexa.NET.Interpreter.CoreExtensions/TimeInterpreter.cs | stoiveyp/Alexa.NET.Interpreter.CoreExtensions | 1 | 7035772 | using Alexa.NET.SkillFlow.CoreExtensions;
using Alexa.NET.SkillFlow.Interpreter;
namespace Alexa.NET.Interpreter.CoreExtensions
{
public class TimeInterpreter:ISkillFlowInterpreter
{
public bool CanInterpret(string candidate, SkillFlowInterpretationContext context)
{
return candida... |
Assets/Resources/DataBase/0Scripts/FeatureBase/ResistanceToState.cs | SkyClerik/jRPG-NextGen | 0 | 7035773 | using UnityEngine;
[System.Serializable]
public class ResistanceToState : FeatureBase
{
[SerializeField]
[Tooltip("Указать состояние")]
public StateDB state;
public ResistanceToState(string featureName = "Сопротивление состоянию", StateDB state = null)
{
base.featureName = featureName;
... |
uiSucks/Adding Forms/UserAdd.cs | Beek-Kefyalew/Rail-way-Management-system | 0 | 7035774 | <filename>uiSucks/Adding Forms/UserAdd.cs
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;
using System.Data.SqlClient;
using uiSucks.MyClasse... |
Plugins/Savior/Source/Savior3Editor/Savior3Editor.Build.cs | Lawrence-JD/Space-Egypt | 0 | 7035775 | // Copyright 2020 (C) <NAME>
using UnrealBuildTool;
using System.IO;
namespace UnrealBuildTool.Rules {
//
public class Savior3Editor : ModuleRules {
public Savior3Editor(ReadOnlyTargetRules Target) : base(Target) {
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PrivatePCHHeaderFile = "Public/Sav... |
Source/DaveSexton.XmlGel/Documents/TextElementVisitor.cs | RxDave/XMLGel | 2 | 7035776 | using System.Linq;
using System.Windows.Documents;
namespace DaveSexton.XmlGel.Documents
{
public abstract class TextElementVisitor : Visitor<ITextElementVisitor, ITextElementNode>, ITextElementVisitor
{
public ITextElementNodeFactory Factory
{
get
{
return factory;
}
}
private readonly ITextE... |
src/ASP.NET Core 5 + Angular 9/Server/Catstagram.Server/Features/Profiles/ProfilesController.cs | gnusmas12/MyTested.AspNet.TV | 439 | 7035777 | <gh_stars>100-1000
namespace Catstagram.Server.Features.Profiles
{
using System.Threading.Tasks;
using Follows;
using Infrastructure.Services;
using Microsoft.AspNetCore.Mvc;
using Models;
using static Infrastructure.WebConstants;
public class ProfilesController : ApiController
{
... |
KomfoSharp/Sessions/Authenticated/Requests/WithPollingBuilder.cs | Sitecore/KomfoSharp | 0 | 7035778 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="WithPollingBuilder.cs" company="Sitecore A/S">
// Copyright (C) 2015 by Sitecore
// </copyright>
// ------------------------------------------------------------------------------... |
Kapi.Domain.Core/Events/Message.cs | luca16s/KapibaraFinances | 1 | 7035780 | <filename>Kapi.Domain.Core/Events/Message.cs
namespace Kapi.Domain.Core.Events
{
using MediatR;
using System;
using System.Text.Json.Serialization;
public abstract class Message : IRequest<bool>
{
[JsonIgnore]
public Guid AggregateId { get; protected set; }
[JsonIgnore]
... |
tests/Pizza.Framework.IntegrationTests/OrdersCrudServiceTests/GetDataPage/FilterByDouble.cs | dwdkls/pizzamvc | 38 | 7035781 | <reponame>dwdkls/pizzamvc
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using NUnit.Framework;
using Pizza.Framework.DataGeneration;
using Pizza.Framework.IntegrationTests.OrdersCrudServiceTests.GetDataPage.Base;
using Pizza.Framework.TestTypes.Model.PersistenceModels... |
src/Libraries/SharpDox.Build.Roslyn/Parser/DocumentationParser.cs | CoderGears/sharpDox | 85 | 7035782 | <filename>src/Libraries/SharpDox.Build.Roslyn/Parser/DocumentationParser.cs<gh_stars>10-100
using SharpDox.Model.Documentation;
using SharpDox.Model.Documentation.Token;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml.... |
SecondHandClothes/WebConstatns.cs | DaniHristov/SecondHand-Web-Project | 1 | 7035783 | namespace SecondHandClothes
{
public class WebConstants
{
public const string GlobalMessageKey = "GlobalMessage";
public class Cache
{
public const string LatestProductsCacheKey = nameof(LatestProductsCacheKey);
}
}
}
|
Assets/Scripts/GameManager.cs | TomasRS26/Examen-Parcial-Primer-Corte | 0 | 7035784 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour
{
[SerializeField] GameObject pauseMenu;
[SerializeField] GameObject gameOverMenu;
[SerializeField] int numAnimals;
// Start is called... |
System.Activities/Microsoft/VisualBasic/Activities/XamlIntegration/VisualBasicSettingsConverter.cs | cnork/referencesource | 911 | 7035785 | //-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace Microsoft.VisualBasic.Activities.XamlIntegration
{
using System;
using System.... |
Toponym.Tools/Services/LocalityService.cs | chubrik/Toponym | 7 | 7035786 | <reponame>chubrik/Toponym
using Kit;
using OsmDataKit;
using OsmSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Toponym.Tools
{
public static class LocalityService
{
public static List<EntryData> Build()
{
re... |
dev/UniL2dExtension/Assets/Sample/Live2D/Cubism/Framework/MotionFade/ICubismFadeState.cs | Yoshida24/uni-l2d-extension | 187 | 7035787 | /**
* Copyright(c) Live2D Inc. All rights reserved.
*
* Use of this source code is governed by the Live2D Open Software license
* that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
*/
using System.Collections.Generic;
namespace Live2D.Cubism.Framework.MotionFade
{
... |
QLCore/Event.cs | OpenDerivatives/QLCore | 1 | 7035788 | /*
Copyright (C) 2020 <NAME> (<EMAIL>)
This file is part of QLCore Project https://github.com/OpenDerivatives/QLCore
QLCore is free software: you can redistribute it and/or modify it
under the terms of the QLCore and QLNet license. You should have received a
copy of the license along with this program; if not, l... |
Source/Framework/Calcium.Platform.Shared/DialogModel/Ios/DialogService.Ios.cs | CodonFramework/Calcium | 35 | 7035789 | #if __IOS__
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Calcium.Services;
using UIKit;
namespace Calcium.DialogModel
{
/// <summary>
/// iOS implementation of <see cref="Services.IDialogService"/>.
/// </summary>
public partial class DialogSer... |
AEGIS.Tests.Core.Spectral/Algorithms/Resampling/BilinearResamplingAlgorithmTest.cs | AegisSpatial/aegis-origin | 2 | 7035790 | <filename>AEGIS.Tests.Core.Spectral/Algorithms/Resampling/BilinearResamplingAlgorithmTest.cs<gh_stars>1-10
/// <copyright file="BilinearResamplingAlgorithmTest.cs" company="Eötvös Loránd University (ELTE)">
/// Copyright (c) 2011-2019 <NAME>. Licensed under the
/// Educational Community License, Version 2.0 (t... |
UnitTestProject1/UnitTest1.cs | blqw/blqw-Json | 0 | 7035791 | <filename>UnitTestProject1/UnitTest1.cs<gh_stars>0
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.IO;
using System.Data;
using System.Collections;
using blqw;
using blqw.Serializable;
namespace UnitTestProject1
{
#region 测试用例
[Serializable]
... |
SharpEssentials.Tests.Unit/SharpEssentials/Reflection/ReflectionExtensionsTests.cs | mthamil/SharpEssentials | 1 | 7035792 | using System;
using System.Collections.Generic;
using System.Linq;
using SharpEssentials.Reflection;
using SharpEssentials.Testing;
using Xunit;
using Xunit.Extensions;
namespace SharpEssentials.Tests.Unit.SharpEssentials.Reflection
{
public class ReflectionExtensionsTests
{
[Fact]
public void Test_GetDefaultVa... |
src/Tippy.Core/Migrations/20210526233521_RenameFailedTransactionsToRecordedTransactions.cs | homura/tippy | 18 | 7035793 | <reponame>homura/tippy<gh_stars>10-100
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Tippy.Core.Migrations
{
public partial class RenameFailedTransactionsToRecordedTransactions : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... |
Editor/_Core/Attributes/InspectorButtonEditor.cs | kaznowski/penknife | 1 | 7035794 | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEngine;
public abstract class InspectorButtonEditor : Editor
{
private class Button
{
public MethodInfo method;
public string title;
... |
Module-1/OOP/Homework/02-Defining-Classes-Part-2/Space3D/Point3D.cs | owolp/TelerikAcademy | 2 | 7035795 | <gh_stars>1-10
namespace Space3D
{
public struct Point3D
{
// fields
private static readonly Point3D ZeroPoint = new Point3D(0, 0, 0);
// constructors
public Point3D(double coordinateX, double coordinateY, double coordinateZ)
: this()
{
this.Coor... |
src/Rollvolet.CRM.APIContracts/DTO/Invoices/InvoiceRelationshipsDto.cs | rollvolet/crm-ap | 0 | 7035797 | using Rollvolet.CRM.APIContracts.JsonApi;
namespace Rollvolet.CRM.APIContracts.DTO.Invoices
{
public class InvoiceRelationshipsDto
{
public IRelationship Intervention { get; set; }
public IRelationship Order { get; set; }
public IRelationship Customer { get; set; }
public IRelat... |
WordHunt.Data/Identity/IdentityUserManager.cs | Saaka/WordHunt | 4 | 7035798 | <reponame>Saaka/WordHunt
using Microsoft.AspNetCore.Identity;
using System.Collections.Generic;
using WordHunt.Data.Entities;
using System.Threading.Tasks;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using System.Security.Claims;
using System;
namespace WordHunt.Data.Identity
{
public interface IIdent... |
src/Sportradar.OddsFeed.SDK/Entities/Internal/SportEventStatusMapper.cs | cclelio/UnifiedOddsSdkNetCore | 13 | 7035799 | <filename>src/Sportradar.OddsFeed.SDK/Entities/Internal/SportEventStatusMapper.cs<gh_stars>10-100
/*
* Copyright (C) Sportradar AG. See LICENSE for full license governing this code
*/
using Dawn;
using Sportradar.OddsFeed.SDK.Entities.REST;
using Sportradar.OddsFeed.SDK.Entities.REST.Internal.DTO;
using Sportradar.Odd... |
core/src/Ketchup.Core/Runtime/Server/Implementation/DefaultServiceIdGenerator.cs | microserviceframe/ketchup | 186 | 7035800 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Microsoft.Extensions.Logging;
namespace Ketchup.Core.Runtime.Server.Implementation
{
public class DefaultServiceIdGenerator : IServiceIdGenerator
{
public string GenerateServiceId(Metho... |
Orbits/Assets/Yodo1/MAS/Scripts/Platform/Android/Yodo1U3dAdsAndroid.cs | venkatesh21m/__ORBITS | 0 | 7035801 | using UnityEngine;
using System.Collections;
namespace Yodo1.MAS
{
public class Yodo1U3dAdsAndroid
{
#if UNITY_ANDROID
static AndroidJavaClass javaClass = null;
static AndroidJavaObject currentActivity;
static Yodo1U3dAdsAndroid()
{
if (Application.platform == Runti... |
CleanArchitecture.Template/CleanArchitecture.Application/Features/Events/Queries/GetEventsExport/GetEventsExportQueryHandler.cs | shaopard/CleanArchitectureTemplate | 0 | 7035802 | <reponame>shaopard/CleanArchitectureTemplate<gh_stars>0
using AutoMapper;
using CleanArchitecture.Application.Contracts.Infrastructure;
using CleanArchitecture.Application.Contracts.Persistence;
using CleanArchitecture.Domain.Entities;
using MediatR;
using System.Linq;
namespace CleanArchitecture.Application.Features... |
Src/IronPython/Runtime/DictionaryOps.cs | cwensley/ironpython2 | 1,078 | 7035803 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using Sys... |
ViennaNET.Word.Tests/Documents/ImageTestDocument.cs | tralivali1234/ViennaNET | 203 | 7035804 | namespace ViennaNET.Word.Tests.Documents
{
internal class ImageTestDocument : Document
{
public ImageTestDocument(string name, string value)
{
ImageState = (name, value);
}
public (string name, string value) ImageState { get; }
public override string FileName => nameof(ImageTestDocument)... |
Tynamix.ObjectFiller.Test/CollectionizerTest.cs | wztech0192/ObjectFiller.NET | 59 | 7035805 | using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tynamix.ObjectFiller.Test
{
public class CollectionizerPoco
{
public IEnumerable<string> MnemonicStrings { get; set; }
public ... |
src/Tweepics.Core/Parse/TimelineFromFile.cs | nicholasjgravante/tweepics | 0 | 7035806 | <reponame>nicholasjgravante/tweepics<filename>src/Tweepics.Core/Parse/TimelineFromFile.cs
using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using Tweepics.Core.Models;
namespace Tweepics.Core.Parse
{
// Read and use tweet data from file in lieu of additional Twitter requests.
... |
Arbore Partial de cost Minim/APM WPF/Muchie.xaml.cs | timitoc/Arbore-Partial-de-cost-Minim | 0 | 7035807 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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.Imaging;... |
src/Disqord.Rest/Json/Models/EmojiModelExtensions.cs | Anu6is/Disqord | 1 | 7035808 | <reponame>Anu6is/Disqord
using Disqord.Models;
namespace Disqord
{
internal static partial class ModelExtensions
{
public static IEmoji ToEmoji(this EmojiModel model)
{
if (model.Id == null)
return new Emoji
{
Name = mo... |
Source/Stencil.Server/Plugins/Stencil.Plugins.GitHub/Daemons/GitHubTicketInProgressDaemon.cs | watfordsuzy/stencil | 0 | 7035809 | <reponame>watfordsuzy/stencil
using Codeable.Foundation.Common;
using Codeable.Foundation.Common.Daemons;
using Codeable.Foundation.Core.Caching;
using Codeable.Foundation.Core.Unity;
using Stencil.Plugins.GitHub.Integration;
using Stencil.Primary;
using Stencil.Primary.Daemons;
using System;
using System.Threading;
... |
src/MAVN.Job.EthereumBridge/Services/MasterWalletBalanceChecker.cs | mavn-alliance/MAVN.Job.EthereumBridge | 0 | 7035810 | using System;
using System.Threading.Tasks;
using Common;
using Common.Log;
using Lykke.Common.Log;
using MAVN.Job.EthereumBridge.Domain.Services;
namespace MAVN.Job.EthereumBridge.Services
{
public class MasterWalletBalanceChecker : TimerPeriod
{
private static readonly TimeSpan IdlePeriod = TimeSpan.... |
SharpOfClans/Models/Locations/Location.cs | Matcheryt/SharpOfClans | 1 | 7035811 | <gh_stars>1-10
using Newtonsoft.Json;
namespace SharpOfClans.Models.Locations
{
public class Location
{
/// <summary>
/// The location's id.
/// </summary>
[JsonProperty("id")]
public int Id { get; set; }
/// <summary>
/// The location's name.
/... |
src/Cottle/ExpressionElement.cs | r3c/cottle | 84 | 7035812 | <filename>src/Cottle/ExpressionElement.cs<gh_stars>10-100
namespace Cottle
{
internal readonly struct ExpressionElement
{
public readonly Expression Key;
public readonly Expression Value;
public ExpressionElement(Expression key, Expression value)
{
Key = ... |
src/Wboy.WebApp/Controllers/HomeController.cs | wangboy91/EasyCMS | 3 | 7035813 | using System;
using System.Diagnostics;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Diagnostics;
using Microsoft.AspNetCore.Http.Features;
u... |
internals/src/EflSharp/EflSharp/efl/eina_accessor.cs | wantfire/TizenFX | 0 | 7035814 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using static Eina.TraitFunctions;
using static Eina.AccessorNativeFunctions;
namespace Eina
{
internal class AccessorNativeFunctions
{
[DllImport(efl.Libs.Eina)] [return: MarshalAs(Unmanag... |
MeowDSIO/DataTypes/MSB/PARTS_PARAM_ST/MsbPartsConnectHit.cs | C-Weinstein/MeowDSIO | 6 | 7035815 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MeowDSIO.DataTypes.MSB.PARTS_PARAM_ST
{
public class MsbPartsConnectHit : MsbPartsBase
{
internal override void DebugPushUnknownFieldReport_Subtype(out string su... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.