max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
src/core/Akka.Cluster.Tests/SBR/TestAddresses.cs | syncromatics/akka.net | 4,068 | 7063376 | //-----------------------------------------------------------------------
// <copyright file="TestAddresses.cs" company="Akka.NET Project">
// Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
//... |
Source/MapboxNetWPF/Map.xaml.cs | meJevin/MapboxNet | 2 | 7063377 | <filename>Source/MapboxNetWPF/Map.xaml.cs
using Newtonsoft.Json;
using System;
using System.ComponentModel;
using System.IO;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media.Imaging;
using CefSharp;
using CefSharp.Wpf;
using Mapbo... |
TaiSystem.CBE.Api.GWF/Node.cs | AboutZld/Taihe.CBE.API | 3 | 7063378 | <reponame>AboutZld/Taihe.CBE.API<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TaiheSystem.CBE.Api.Model;
namespace TaiheSystem.CBE.Api.GWF
{
public class Node
{
public static List<Gwf_Node> NodeList = Core.DbCon... |
FitCalculator/Source/Percentage/PercentageCalculator.cs | maxim-pervushin/FitCalc | 0 | 7063379 | using System;
using System.Collections.Generic;
namespace FitCalculator
{
public class PercentageCalculator
{
public enum ExerciseCategory
{
// TODO: Make this list changeble
BenchPress,
Deadlift,
Squat,
};
public List<PercentageData> Data {
get {
float maxWeight = Weight / (Percentage ... |
Animal.cs | Anne898/Animales | 0 | 7063382 | using System;
namespace Animales
{
abstract class Animal //una clase astracta
{
protected string nombre;
protected string apellido;
public string Apellido{
get => $"Señor {apellido}";
set =>apellido=value;
}
public abstract void HacerSo... |
FLORA/Interactive/Command/ExitCommand.cs | Parzivail-Modding-Team/FLORA | 0 | 7063383 | namespace FLORA.Interactive.Command
{
[InteractiveCommandDesc("exit", "exit", "Exits interactive mode.")]
internal class ExitCommand : InteractiveCommand
{
/// <inheritdoc />
public ExitCommand(string args) : base(args)
{
}
}
} |
Posy/PageModels/ResultPageModel.cs | sthewissen/KickassUI.InSpace | 40 | 7063384 | using System;
using FreshMvvm;
using Posy.Models;
using Xamarin.Forms;
namespace Posy.PageModels
{
public class ResultPageModel : FreshBasePageModel
{
private InputModel _input;
private void SetResultValues()
{
RiskPercentage = _input.RiskPercentage;
SuggestedQ... |
Forge/API/GameInputManager.cs | jacobdufault/forge-unity | 7 | 7063385 | using Forge.Entities;
using Forge.Networking.AutomaticTurnGame;
using System.Collections.Generic;
using UnityEngine;
namespace Forge.Unity {
public interface IGameInputManager {
/// <summary>
/// Pushes the given input command that will be sent across the network and eventually
/// execute... |
backend/src/Notifo.Domain/UserNotifications/IUserNotificationFactory.cs | idist-hn/notifo | 1 | 7063386 | // ==========================================================================
// Notifo.io
// ==========================================================================
// Copyright (c) <NAME>
// All rights reserved. Licensed under the MIT license.
// ================================================================... |
WpfTools/Dialogs/LoginDialog.xaml.cs | UltimateSeeSharp/aemarcoCommons | 6 | 7063387 | using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using aemarcoCommons.WpfTools.Commands;
namespace aemarcoCommons.WpfTools.Dialogs
{
/// <summary>
/// Interaktionslogik für LoginDialog.xaml
///... |
2021/Day01/Solution.cs | FaustVX/adventofcode | 1 | 7063388 | namespace AdventOfCode.Y2021.Day01;
[ProblemName("Sonar Sweep")]
class Solution : Solver
{
public object PartOne(string input)
=> Solve(input, i => i);
public object PartTwo(string input)
=> Solve(input, static source => source.Zip(source[1..], source[2..]).Select(t => t.First + t.Second + t.T... |
MCSimpleXMSTest/MCXMSLib/XMS/EventDispatcher.cs | Dialogic/dialogic-rest-csharp | 3 | 7063391 | <reponame>Dialogic/dialogic-rest-csharp
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading;
using MCantale.Helpers;
using Syzygy.Core.Logging;
namespace MCantale.XMS
{
#region enum Con... |
Trait.cs | kpdowns/bullet-train-dotnet-client | 0 | 7063392 | <reponame>kpdowns/bullet-train-dotnet-client<filename>Trait.cs<gh_stars>0
using System;
using Newtonsoft.Json;
namespace SolidStateGroup.BulletTrain
{
[JsonObject(MemberSerialization.OptIn)]
public class Trait
{
[JsonProperty("trait_key")]
private string key;
[JsonProperty("trait_value")]
privat... |
src/InvestmentAnalysis.Portfolio/Contracts/HistoryPriceContract.cs | andreypudov/InvestmentAnalysis | 0 | 7063394 | <filename>src/InvestmentAnalysis.Portfolio/Contracts/HistoryPriceContract.cs<gh_stars>0
// <copyright file="HistoryPriceContract.cs" company="<NAME>">
// Copyright (c) <NAME>. All Rights Reserved. Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information.
// </copy... |
Scripts/BlockClasses/Block20.cs | Duude92/KOTRunity | 2 | 7063395 | <filename>Scripts/BlockClasses/Block20.cs
using UnityEngine;
using System.Collections.Generic;
class Block20 : BlockType, IBlocktype
{
UnityEngine.GameObject _thisObject;
//public B3DScript script;
public UnityEngine.GameObject thisObject { get => _thisObject; set => _thisObject = value; }
MeshCollider ... |
src/Solvers/Literal.cs | cs17resch01003/gpurepair | 7 | 7063396 | <gh_stars>1-10
namespace GPURepair.Solvers
{
public class Literal
{
/// <summary>
/// The variable name.
/// </summary>
public string Variable { get; set; }
/// <summary>
/// The polarity of the literal.
/// </summary>
public bool Value { get; se... |
src/MFlow.Core/Internal/Validators/Strings/LengthValidator.cs | ccoton/MFlow | 1 | 7063397 | <reponame>ccoton/MFlow
using MFlow.Core.Validation.Validators.Strings;
using System;
using System.Collections.Generic;
namespace MFlow.Core.Internal.Validators.Strings
{
/// <summary>
/// Length Validator
/// </summary>
class LengthValidator : ILengthValidator
{
public bool Validate(st... |
TestApi/TestApi/Extensions/ConfigureServicesExtensions.cs | uk-gov-mirror/hmcts.vh-test-api | 2 | 7063398 | using System.Linq;
using System.Net.Http;
using BookingsApi.Client;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
using NSwag;
using NSw... |
AzureNotificationHub/Models/WindowsNativeNotification.cs | danielhenao22/IUGOTestNotifications | 0 | 7063399 | <reponame>danielhenao22/IUGOTestNotifications
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
namespace AzureNotificationHub.Models
{
public class WindowsNativeNotification : Notification
{
public string PayLoad { get; set; }
public WindowsNativeNotificati... |
Assets/InteractML/Scripts/IML Nodes/CRIMLConfiguration.cs | brightcxy/iml-unity | 1 | 7063400 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XNode;
using System.Linq;
using ReusableMethods;
using System;
namespace InteractML
{
[NodeWidth(300)]
[CreateNodeMenuAttribute("Interact ML/Machine Learning System/MLS Classification Regression")]
public class CRIMLConfi... |
Content/Calamity/GlobalModifications/GlobalItems/CalamityArmorSetManagement.cs | Pbone3/CataclysmMod | 0 | 7063401 | using System.Collections.Generic;
using System.Linq;
using CataclysmMod.Common.ArmorSets;
using CataclysmMod.Common.ModCompatibility;
using CataclysmMod.Content.Default.GlobalModifications;
using Terraria;
using Terraria.ID;
// TODO: move to default namespace and make it no longer associated with calamity?
namespace ... |
Mod/Heroes/MissMilitia/Cards/SniperRifleCardController.cs | jamespicone/potw | 2 | 7063402 | <reponame>jamespicone/potw<filename>Mod/Heroes/MissMilitia/Cards/SniperRifleCardController.cs
using Handelabra;
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using J... |
src/AsciiDocNet.Benchmarks/Program.cs | russcam/asciidocnet | 36 | 7063403 | using System;
using System.Reflection;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Running;
namespace AsciiDocNet.Benchmarks
{
class Program
{
static void Main(string[] args)
{
var switcher = BenchmarkSwitcher.FromAssembly(Assembly.GetCallingAssembly());
switcher.Run(args);
}
}
} |
Microsoft.Azure.Amqp/Amqp/Transport/WebSocketTransport.cs | CIPop/azure-amqp | 0 | 7063404 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.Amqp.Transport
{
using System;
using System.Net.WebSockets;
using System.Threading;
using System.Threading.Tasks;
public... |
Assets/Unisave/Editor/BackendUploading/CSharpFile.cs | Jirka-Mayer/Unisave | 2 | 7063405 | using System.Collections.Generic;
using System.Linq;
using UnityEditor;
namespace Unisave.Editor.BackendUploading
{
/// <summary>
/// Represents a C# source code file in the backend folder
/// </summary>
public class CSharpFile : BackendFile
{
/// <inheritdoc/>
public override strin... |
samples/Sample/Controllers/RouteController.cs | Maydear/Maydear-SFExpress | 2 | 7063406 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Maydear.SFExpress;
using Maydear.SFExpress.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Sample.Controllers
{
/// <summary>
/// 路由页面
/// </summary>
[Route("Rout... |
004_Conceptos_LinQ/ConsultasLinQ/ConsultasLinQ/Consultas/Ejercicio_017_lambda/AlumnoMateria.cs | lfzarazuaa/Programacion_en_C_sharp | 0 | 7063407 | <filename>004_Conceptos_LinQ/ConsultasLinQ/ConsultasLinQ/Consultas/Ejercicio_017_lambda/AlumnoMateria.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsultasLinQ.Consultas.Ejercicio_017_lambda
{
public class AlumnoMateria
{
public int idAlumno { get; set; }
pu... |
LibNoise/Modfiers/Select.cs | zak-reynolds/LibNoise | 3 | 7063408 | //
// Copyright (c) 2013 <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 without limitation
// the rights to use, copy, modify, merge, publis... |
Models/Actors/ClassElement.cs | HLCaptain/Hypr | 2 | 7063409 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HyprWinUI3.Models.Actors {
public class ClassElement : Element {
public bool Specification { get; set; }
public bool IsAbstract { get; set; }
public List<Variable> ... |
src/Elmah2AI.AppInsights/ErrorDto.cs | kudzaitsapo/elmah2ai | 0 | 7063410 | <reponame>kudzaitsapo/elmah2ai
using System;
namespace Elmah2AI.AppInsights
{
public class ErrorDto
{
public Guid Id { get; set; }
public string AppName { get; set; }
public string HostName { get; set; }
public string TypeName { get; set; }
public stri... |
Models/EnumLink/EnumLinkStatus.cs | odinsam/OdinPlugs.ApiLinkMonitor | 1 | 7063411 | <gh_stars>1-10
namespace OdinPlugs.ApiLinkMonitor.Models.EnumLink
{
public enum EnumLinkStatus
{
/// <summary>
/// 链路开始
/// </summary>
Start,
/// <summary>
/// 链路调用
/// </summary>
Invoker,
/// <summary>
/// 链路结束
/// </summar... |
Sources/Engine/NeoAxis.Core/Addons/NeoAxis.Addon.Pathfinding/SharpNav/Geometry/BBox2i.cs | intensifier/NeoAxisEngine | 457 | 7063412 | <filename>Sources/Engine/NeoAxis.Core/Addons/NeoAxis.Addon.Pathfinding/SharpNav/Geometry/BBox2i.cs
// Copyright (c) 2014-2015 <NAME> <<EMAIL>> and other contributors (see CONTRIBUTORS file).
// Licensed under the MIT License - https://raw.github.com/Robmaister/SharpNav/master/LICENSE
using System;
namespace SharpNav.... |
client/net/client/Com.Bj58.Spat.Gaea.Serializer/NumberSerializer.cs | dreameverything/Gaea | 318 | 7063413 | /*
* Copyright Beijing 58 Information Technology Co.,Ltd.
*
* 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
... |
PartitionCache/Persistence/Entities/Topic.cs | jeremychild/PartitionCache | 2 | 7063414 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PartitionCache.Persistence.Entities
{
public class Topic
{
public Topic()
{
Producers = new List<KeyVal>();
}
public DateTime SavedUtc { ge... |
src/Wally.Domain.Tests/Models/TransactionCategoryTest.cs | akmetainfo/WallyBackend | 1 | 7063415 | <filename>src/Wally.Domain.Tests/Models/TransactionCategoryTest.cs
using System;
using FakeItEasy;
using NUnit.Framework;
namespace Usol.Wally.Domain.Models
{
/// <summary>
/// Tests for <see cref="TransactionCategory"/>
/// </summary>
public class TransactionCategoryTest
{
[Test]
... |
src/Pretzel.Tests/ConfigurationTests.cs | vaginessa/pretzel | 0 | 7063416 | <filename>src/Pretzel.Tests/ConfigurationTests.cs<gh_stars>0
using System;
using System.IO.Abstractions.TestingHelpers;
using Pretzel.Logic;
using Pretzel.Logic.Extensions;
using Xunit;
namespace Pretzel.Tests
{
public class ConfigurationTests
{
private readonly Configuration _sut;
private co... |
WMath/Vector2.cs | Wesselmast/WMathLibrary | 1 | 7063417 | using System;
namespace WMath {
public struct Vector2 {
public float x;
public float y;
public static Vector2 zero => new Vector2(0, 0);
public static Vector2 one => new Vector2(1, 1);
public float Magnitude {
get {
return (float)WMath.Sqrt(WMa... |
OopRecursivity/OopRecursivity/RecursivityHelper.cs | Bogdan748/oop-recursivity | 0 | 7063418 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OopRecursivity
{
public class RecursivityHelper
{
public static int Factorial(int n)
{
if (n == 1 || n == 0) return 1;
return n * Factorial(n -... |
src/NFX.Web/Shipping/Shippo/ShippoCredentials.cs | agnicore/nfx | 86 | 7063419 | /*<FILE_LICENSE>
* NFX (.NET Framework Extension) Unistack Library
* Copyright 2003-2018 Agnicore Inc. portions ITAdapter Corp. Inc.
*
* 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:/... |
QStack.Web/Comon/AutoMapperConfig.cs | magicyqy/QStack.Framework | 2 | 7063420 | <gh_stars>1-10
using AutoMapper;
using QStack.Framework.Basic.Model;
using QStack.Framework.Basic.Model.Articles;
using QStack.Framework.Basic.Model.Auth;
using QStack.Framework.Basic.ViewModel;
using QStack.Framework.Basic.ViewModel.Articles;
using QStack.Framework.Basic.ViewModel.Auth;
using QStack.Framework.Core.Mo... |
Scripts/Behaviours/AnimateUV.cs | nostek/UnityCodebase | 0 | 7063421 | <filename>Scripts/Behaviours/AnimateUV.cs
using UnityEngine;
using System.Collections;
[RequireComponent(typeof(Renderer))]
public class AnimateUV : MonoBehaviour
{
[SerializeField]
bool animateU = true;
[SerializeField]
bool animateV = true;
[SerializeField]
float speed = 1;
new Renderer renderer;
Vector... |
KrogerScrape/Logic/ScrapeCommandLogic.cs | phyllis-vance/KrogerScrape | 4 | 7063422 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using KrogerScrape.Client;
using KrogerScrape.Entities;
using KrogerScrape.Settings;
using Microsoft.Extensions.Logging;
namespace KrogerScrape.Logic
{
public class ... |
src/Patreon.Net/UrlHelper.cs | sawch/Patreon.Net | 2 | 7063423 | using System;
using System.Text;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Reflection;
using System.Linq;
namespace Patreon.Net
{
internal static class UrlHelper
{
private static readonly Dictionary<Includes, IncludeAttribute> includeMap;
private static readonly Dic... |
Nucleus/Nucleus/Geometry/Cell Maps/PartialCellObscurance.cs | escooo/Nucleus | 15 | 7063424 | <reponame>escooo/Nucleus
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nucleus.Geometry
{
/// <summary>
/// Class that represents partial obscurance of a map cell
/// </summary>
[Serializable]
public class PartialCellO... |
Bud.Cp/CopyClashException.cs | urbas/Bud.Cp | 1 | 7063425 | <filename>Bud.Cp/CopyClashException.cs
using System;
namespace Bud {
/// <summary>
/// This exception is thrown when copying multiple source directories into a single targets directory and when two
/// source directories contain a file with the same relative path.
/// </summary>
public class CopyClashEx... |
Tettris/Assets/Tettris/Scripts/Domain/Board/Board.cs | edsonhunter/Tettris | 0 | 7063426 | using System.Collections;
using System.Collections.Generic;
using Tettris.Domain.Interface.Board;
using Tettris.Domain.Interface.Tetronimo;
using UnityEngine;
namespace Tettris.Domain.Board
{
public class Board : IBoard
{
public int Colunas { get; private set; }
public int Linhas { get; private... |
Gubbins/Models/Error.cs | Scullyon/gubbins | 0 | 7063427 | <filename>Gubbins/Models/Error.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the Apache 2 License (see LICENSE file in the project root for details).
using System;
using System.Text;
namespace Gubbins.Models
{
/// <summary>
/// Model containing information about an error.
/// </summa... |
Amazon.KinesisTap.Core/PluginLoader.cs | awslabs/kinesis-agent-windows | 35 | 7063428 | /*
* Copyright 2018 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 is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licens... |
HexGrid/CubeCoordinates.cs | Mahrak/HexGrid | 6 | 7063429 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Barbar.HexGrid
{
public struct CubeCoordinates
{
public readonly int Q;
public readonly int R;
public readonly int S;
public CubeCoordinates(int q, int r, int s)
{
... |
Src/Xigadee.Api.Server/Pipeline/WebApiMicroservicePipeline.cs | xigadee/Microservice | 58 | 7063430 | #region Copyright
// Copyright <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/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... |
KomfoSharp/Configuration/Providers/IXmlSource.cs | Sitecore/KomfoSharp | 0 | 7063431 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="IXmlSource.cs" company="Sitecore A/S">
// Copyright (C) 2015 by Sitecore
// </copyright>
// --------------------------------------------------------------------------------------... |
Updater/Unzip.cs | mps1209/Tai | 266 | 7063432 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Updater
{
public class Unzip
{
/// <summary>
/// 忽略的文件列表
/// </summary>
static r... |
WSPCompare/UserControls/FileBrowser.cs | ArnaultNouvel/wspcompare | 0 | 7063433 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Web;
namespace WSPCompare
{
[System.ComponentModel.DefaultBindingProperty("Url")]
public partial class FileBrowser ... |
Form1.cs | dredre-42/Calcul_dimensionnement_Escalier_droit | 0 | 7063434 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace découverte_Visual_Studio
{
public partial class Form1 : Form
{
public Form1()
... |
src/AzureDevOpsComponent.Domain/Repositories/IReleaseRepository.cs | JamiePed/almops | 3 | 7063435 | using System.Threading.Tasks;
using AlmOps.AzureDevOpsComponent.Domain.Models;
namespace AlmOps.AzureDevOpsComponent.Domain.Repositories
{
public interface IReleaseRepository
{
Task<ReleaseModel> CreateAsync(string projectName, string releaseDefinitionId, string buildId, string alias);
}
}
|
src/TicTacToe/TicTacToe/MiniMaxTree.cs | James-P-D/TicTacToeMinimax | 0 | 7063436 | <reponame>James-P-D/TicTacToeMinimax<filename>src/TicTacToe/TicTacToe/MiniMaxTree.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace TicTacToe
{
public class MiniMaxTree
{
/// <summary>
/// Calculates the MiniMax tree for a particular board
/// </summary>
... |
dev/products/eboards/DevOps/DevOps/DevOps.OpsScreen/FacilitatorControls/AppDevelopmentUi/DevelopingAppView.cs | business-sims-toolkit/business-sims-toolkit | 0 | 7063437 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Windows.Forms;
using Algorithms;
using CommonGUI;
using CoreUtils;
using Events;
using DevOps.OpsEngine;
using LibCore;
using Network;
using ResizingUi;
using... |
Neovolve.CodeAnalysis.ChangeTracking.UnitTests/Processors/PropertyMatchProcessorTests.cs | roryprimrose/Neovolve.CodeAnalysis.ChangeTracking | 0 | 7063438 | namespace Neovolve.CodeAnalysis.ChangeTracking.UnitTests.Processors
{
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Microsoft.Extensions.Logging;
using ModelBuilder;
using Neovolve.CodeAnalysis.ChangeTracking.Comparers;
using Neovolve.C... |
KerbalWeatherSystems/Weather/Clouds/Clouds.cs | AlexanderDzhoganov/Kerbal-Weather-Systems | 1 | 7063439 | //Code copied from Rbray's mod EVE, all proper credits go to him for such hard work.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using UnityEngine;
using System.IO;
using Utils;
using OverlaySystem;
using Weather;
namespace Clouds
{
[KSPAddon(KS... |
ecard/server/src/modules/ecardSystem/Clear.Settlement/AppServices/ISettlementAppService.cs | ShiningRush/HomeWorkForMyLittlePrincess | 0 | 7063440 | <reponame>ShiningRush/HomeWorkForMyLittlePrincess
using Clear.Settlement.AppServices.Dtos;
using PlatformService.BridgeComponent.Enum;
using PlatformService.BridgeComponent.WebApiConfig;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YiBan.Comm... |
src/BeavisCli/Jobs/JobLauncher.cs | ooaavee/beavis-cli | 3 | 7063441 | <gh_stars>1-10
using System;
using BeavisCli.JsInterop;
using BeavisCli.JsInterop.Statements;
using BeavisCli.Services;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace BeavisCli.Jobs
{
public static class JobScheduler
{
public static void Schedule(IJob job, R... |
Utility/SATypeAnalyzer/Core/ExtensionMethods.cs | DavidWise/StaticAbstraction | 1 | 7063442 | using System;
using System.Collections.Generic;
using System.Linq;
namespace SATypeAnalyzer.Core
{
public static class ExtensionMethods
{
private static string[] _commonNamespaces =
{
"System",
"System.Collections",
"System.Collections.Generic",
... |
SM2Core/GameMechanics/RandomnessProvider.cs | Raffo84/squadmanager2 | 1 | 7063443 | <filename>SM2Core/GameMechanics/RandomnessProvider.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SM2Core.GameMechanics {
public class RandomnessProvider {
private Random RNG = new Random();
/// <summary>
/// Override the random ... |
Unit-Testing/TelerikUnitTestingg/UnitTestingExam/UnitTestingExam-morning/IntergalacticTravel.Tests/TeleportStationTests.cs | shopOFF/TelerikAcademyCourses | 0 | 7063444 | <reponame>shopOFF/TelerikAcademyCourses
using System;
using NUnit.Framework;
using Moq;
using IntergalacticTravel.Constants;
using IntergalacticTravel.Contracts;
using IntergalacticTravel.Exceptions;
using IntergalacticTravel.Extensions;
using System.Collections.Generic;
namespace IntergalacticTravel.Tests
{
[Te... |
BashSoft/BashSoft/BashSoft/Launcher.cs | svetlimladenov/C-Sharp-Advanced---2016 | 0 | 7063445 | namespace BashSoft
{
class Launcher
{
static void Main()
{
InputReader.StartReadingCommands();
//IOManager.CreateDirectoryInCurrentFolder("*2");
//IOManager.ChangeCurrentDirectoryAbsolute(@"C:\Users\Lucho\Desktop");
//IOManager.ChangeCurrentDirect... |
services/email-service/API/Domain/SmtpConfig.cs | spoilerdo/bied | 0 | 7063446 | namespace EmailService.Domain
{
public class SmtpConfig
{
public string Server { get; set; }
public int Port { get; set; }
public Credentials Credentials { get; set; }
}
} |
Blocks/Configuration/Src/Design/Converters/BooleanToHiddenConverter.cs | milestonetg/EnterpriseLibrary6 | 0 | 7063447 | <gh_stars>0
//===============================================================================
// Microsoft patterns & practices Enterprise Library
// Core
//===============================================================================
// Copyright © Microsoft Corporation. All rights reserved.
// THIS CODE AND INFOR... |
Assets/GL/Scripts/Events/Home/LevelUppedPlayer.cs | hiroki-kitahara/GL | 0 | 7063448 | using GL.User;
using HK.Framework.EventSystems;
using UnityEngine;
using UnityEngine.Assertions;
namespace GL.Events.Home
{
/// <summary>
/// プレイヤーがレベルアップしたことを通知するイベント
/// </summary>
public sealed class LevelUppedPlayer : Message<LevelUppedPlayer, Player>
{
public Player Player => this.par... |
LastEditionalHomeWorkPageObjectModel/DemoqQAPageObject/Test/InteractionTests/DroppablePageTest.cs | DumanBG/Selenium_Homeworks | 0 | 7063449 | using DemoqQAPageObject.Pages.DroppablePage;
using DemoqQAPageObject.Tests;
using DemoqQAPageObject.Utilities.Extensions;
using NUnit.Framework;
using OpenQA.Selenium;
namespace DemoqQAPageObject.Interactions
{
[TestFixture]
public class DroppableTest : BaseTest
{
private DroppablePage _droppableP... |
GeometryDashAPI/Server/Responses/LevelPageResponse.cs | Folleach/GeometryDashAPI | 34 | 7063450 | using System.Collections.Generic;
using GeometryDashAPI.Server.Dtos;
namespace GeometryDashAPI.Server.Responses
{
public class LevelPageResponse : GameStruct
{
[StructPosition(0)]
[ArraySeparator("|")]
public List<LevelPreviewDto> Levels { get; set; }
[StructPosition(1... |
Assets/Scripts/Agent/FSM/AgentState.cs | damasioj/ML-Agents-FSM | 0 | 7063451 | using System;
/// <summary>
/// Holds functions related to the agent's FSM. This system is used in conjunction with the RL model.
/// The FSM is not actually used for the agent's AI, it's only used for executing basic logic and animations.
/// States are transitioned based on the external triggers or the model's outp... |
TaskEditor/TaskListView.Designer.cs | MaxIsAbin/TaskScheduler | 830 | 7063452 | namespace Microsoft.Win32.TaskScheduler
{
partial class TaskListView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing... |
test/NUIExGallery/TC/ActionSheetPopupTest.cs | rookiejava/Tizen.UIExtensions | 3 | 7063453 | using System.Threading.Tasks;
using Tizen.NUI;
using Tizen.NUI.BaseComponents;
using Tizen.UIExtensions.NUI;
using Color = Tizen.UIExtensions.Common.Color;
namespace NUIExGallery.TC
{
public class ActionSheetPopupTest : TestCaseBase
{
public override string TestName => "ActionSheetPopup Test";
... |
19_ModelValidations/Services/Foompany.Services.SampleService1/Models/Genre.cs | Phoesion/Phoesion.Glow.Samples | 1 | 7063454 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Foompany.Services.SampleService1.Models
{
public enum Genre
{
None = 0,
Classic = 1,
}
}
|
src/Implementation/FrannHammer.WebScraping.Domain/Olimar.cs | dunnaaron/FrannHammer | 53 | 7063455 | using FrannHammer.WebScraping.Domain.Contracts;
using FrannHammer.WebScraping.Unique;
using System;
using System.Collections.Generic;
namespace FrannHammer.WebScraping.Domain
{
public class Olimar : WebCharacter
{
public Olimar()
: base("Olimar",
uniqueScraperTypes: ne... |
MyMarket/Web/MyMarket.Web/Models/Ad/AdCreateViewModel.cs | itplamen/My-Market | 1 | 7063456 | <reponame>itplamen/My-Market
namespace MyMarket.Web.Models.Ad
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web;
using System.Web.Mvc;
using Category;
using Common;
using Common.Validators;
using Data.Models;
using Infrastructure.Mapp... |
modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain.Shared/EasyAbp/PaymentService/Payments/CreatePaymentEto.cs | seventh88/PaymentService | 42 | 7063457 | <filename>modules/EasyAbp.PaymentService/src/EasyAbp.PaymentService.Domain.Shared/EasyAbp/PaymentService/Payments/CreatePaymentEto.cs
using System;
using System.Collections.Generic;
using Volo.Abp.Data;
using Volo.Abp.MultiTenancy;
namespace EasyAbp.PaymentService.Payments
{
[Serializable]
public class Create... |
src/Microsoft.Diagnostics.Runtime.Utilities/Debugger/Enums/DebugOutCtl.cs | adamsitnik/clrmd | 340 | 7063458 | // 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 System;
namespace Microsoft.Diagnostics.Runtime.Interop
{
[Flags]
public enum DEBUG_OUTCTL : uint
... |
AcreshApi/ACRESH_API/DataTransferObjects/Ingredients/IngredientCardDTOout.cs | StackSmack007/AcreshApp-SPAngular.NET_CoreApp | 1 | 7063459 | <gh_stars>1-10
namespace DataTransferObjects.Ingredients
{
public class IngredientCardDTOout
{
public int Id { get; set; }
public string Name { get; set; }
public string PicUrl { get; set; }
public int UsageCount { get; set; }
public bool IsVegan { get; set; }
pu... |
NActiviti/Sys.Bpm.Model/Model/CallActivity.cs | zhangzihan/nactivity | 62 | 7063460 | using System.Collections.Generic;
/* 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 required by applicable law or agreed ... |
Views/Shared/Components/hrFieldset/Default.cshtml | badhitman/BootstrapViewComponentsRazorLibrary | 0 | 7063461 | <filename>Views/Shared/Components/hrFieldset/Default.cshtml
@*MIT License (https://github.com/badhitman)*@
@using BootstrapAspDynamicRender.service
@using BootstrapAspDynamicRender.components
@model hsFieldset
<fieldset @Html.Raw(Model.GetStringAttributes())>
@if (!string.IsNullOrWhiteSpace(Model.Legend))
{
... |
src/Eventuous.EventStoreDB/EsdbEventStore.cs | zbarrier/eventuous | 1 | 7063462 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using EventStore.Client;
using JetBrains.Annotations;
namespace Eventuous.EventStoreDB {
[PublicAPI]
public class EsdbEventStore : IEventStore {
readonly EventStoreClient _client;
... |
Assets/Scripts/MainCameraScreen.cs | atidem/MilkBrotherss | 0 | 7063463 | <reponame>atidem/MilkBrotherss
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.IO;
using System;
public class MainCameraScreen : MonoBehaviour
{
private MainCameraScreen instance;
public Camera cam;
// Start is called before the first frame... |
ScrabbleScorer/Models/Score.cs | BrookeZK/ScrabbleScorer | 0 | 7063464 | <filename>ScrabbleScorer/Models/Score.cs<gh_stars>0
using System.Collections.Generic;
using System.Linq;
namespace ScrabbleScorer
{
public class Score
{
private char _letter;
private List<int> _wordValue = new List<int>();
private static Dictionary<char, int> _letterScores = new Diction... |
CharacterCreator/Form1.Designer.cs | SGS-Ivar/CharacterCreator | 0 | 7063465 | namespace CharacterCreator
{
partial class frmMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// ... |
Application/Api/Collections/Misc.cs | hhsued/Portal | 0 | 7063467 | <filename>Application/Api/Collections/Misc.cs
namespace Application.Collections
{
public static class Misc
{
public enum OperatingSystems
{
Undefined,
Android,
Browser,
FreeBsd,
iOs, MacCatalyst, WatchOs, TvOs, MacOs,
Linux,
Windows
}
public enum OperatingSystemTypes
{
Mobile,
... |
ImPresent.Web/Controllers/AuthController.cs | Ombrelin/impresent | 1 | 7063468 | <reponame>Ombrelin/impresent
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
using Impresent.Web.Database;
using Impresent.Web.Model;
using Impresent.Web.Model.Dtos;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configurat... |
src/Orc.LicenseManager.Server/_T4/Repositories.Initializer.cs | vkx86/Orc.LicenseManager | 90 | 7063469 | <filename>src/Orc.LicenseManager.Server/_T4/Repositories.Initializer.cs
using System.Data.Entity;
using Orc.EntityFramework.Repositories;
using Orc.EntityFramework;
using Catel.IoC;
using Orc.LicenseManager.Server.Repositories;
using Orc.LicenseManager.Server;
namespace Orc.LicenseManager.Server
{
internal static par... |
src/KopSoftWms/ViewComponents/DictViewComponent.cs | LeeSong-Git/KopSoftWms | 515 | 7063470 | using IServices;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YL.Utils.Extensions;
using YL.Utils.Pub;
namespace KopSoftWms.ViewComponents
{
public class DictViewComponent : ViewComponent
{
private readonly ISys_... |
source/ServiceProxy/ServiceClientFactory.cs | mfelicio/ServiceProxy | 18 | 7063472 | <gh_stars>10-100
using Castle.DynamicProxy;
using ServiceProxy.Internal;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ServiceProxy
{
public class S... |
Observer_PublishSubscribe/Observer_PublishSubscribe/Control.cs | furkanisitan/CSharp_DesignPatterns | 1 | 7063473 | <gh_stars>1-10
namespace Observer_PublishSubscribe
{
abstract class Control
{
public string Text { get; set; }
public string Name { get; set; }
// Durum değiştiğinde çalışacak metod
public abstract void OnAction(string val);
public abstract void Add(IObservabl... |
Geckofx-Core/WebIDL/Generated/EventSource.cs | CharlesZHENG/Geckofx | 0 | 7063474 | <reponame>CharlesZHENG/Geckofx
namespace Gecko.WebIDL
{
using System;
public class EventSource : WebIDLBase
{
public EventSource(nsISupports thisObject) :
base(thisObject)
{
}
public nsAString Url
{
... |
eCommerceStarterCode/Controllers/ScoutJobTitlesController.cs | MadisonLifeAgent/MyProScoutBackEndRepo | 0 | 7063475 | <reponame>MadisonLifeAgent/MyProScoutBackEndRepo
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using eCommerceStarterCode.Data;
using eCommerceStarterCode.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc... |
CWE/Common/CWEEmbedBuilder.cs | n-Ultima/CWE | 1 | 7063476 | <reponame>n-Ultima/CWE
namespace CWE.Common
{
using System;
using System.Collections.Generic;
using Discord;
/// <summary>
/// Custom version of <see cref="EmbedBuilder"/> to include styles.
/// </summary>
public class CWEEmbedBuilder
{
private string title;
private str... |
ShikimoriSharp.Tests/Information/AchievementsTest.cs | EarsKilla-fork-stuff/ShikimoriSharp | 7 | 7063477 | using System.Threading.Tasks;
using NUnit.Framework;
using ShikimoriSharp.Exceptions;
using ShikimoriSharp.Settings;
namespace ShikimoriSharp.Tests.Information
{
[TestFixture]
public class AchievementsTest : TestBase
{
[Test]
public async Task HaveValueTest()
{
var valu... |
aliyun-net-sdk-polardbx/Polardbx/Transform/V20200202/DescribeDbListResponseUnmarshaller.cs | awei1688/aliyun-openapi-net-sdk | 572 | 7063478 | /*
* 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 Apache License, Version 2.0 (the
* "License"); you ... |
samples/BaseMiCakeApplication/Domain/Repositories/NewIdeaBoundary/INewIdeaRepository.cs | wrsxinlang/MiCake | 0 | 7063479 | using MiCake.DDD.Domain;
using BaseMiCakeApplication.Domain.Aggregates.Idea;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BaseMiCakeApplication.Domain.Repositories.NewIdeaBoundary
{
public interface INewIdeaRepository : IRepository<NewIdea, Guid>
{... |
addressbook-web-tests/addressbook-web-tests/tests/RemoveContactFromGroupTests.cs | jule-bahareva/csharp_training | 0 | 7063480 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace WebAddressbookTests
{
public class RemoveContactFromGroupTests : AuthTestBase
{
[Test]
public void RemoveContactFromGroupTest()
{
... |
13.Web-Services-and-Cloud/02.Consuming-Web-Services-using-CSharp/Consuming-Web-Services/ConsumeWebServices/CommentsResponseModel.cs | GeorgiPetrovGH/TelerikAcademy | 0 | 7063481 | <reponame>GeorgiPetrovGH/TelerikAcademy
namespace ConsumeWebServices
{
public class CommentsResponseModel
{
public int Id { get; set; }
public string Name { get; set; }
public string Email { get; set; }
public string Body { get; set; }
}
}
|
Assets/Scripts/Scriptable Objects/AnimData.cs | HinkyWinky/SEN2001-GameProject | 0 | 7063482 | using Sirenix.OdinInspector;
using UnityEngine;
namespace Game
{
[CreateAssetMenu(fileName = "Anim Data", menuName = "Scriptable Object/Anim Data")]
public class AnimData : ScriptableObject
{
public bool isClip;
[ShowIf("isClip")] public AnimationClip clip;
[SerializeField, HideIf(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.