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 |
|---|---|---|---|---|
Assets/HoloLight/Stylus/Examples/DrawScenes/Writing/Scripts/DisableAtFocus.cs | Holo-Light/HoloStylusToolkit-Unity | 8 | 7056167 | <gh_stars>1-10
#region copyright
/*******************************************************
* Copyright (C) 2017-2018 Holo-Light GmbH -> <<EMAIL>>
*
* This file is part of the Stylus SDK.
*
* Stylus SDK can not be copied and/or distributed without the express
* permission of the Holo-Light GmbH
*
* Author of ... |
RacingMod/Keybind.cs | austinvaness/RacingDisplay | 3 | 7056168 | <filename>RacingMod/Keybind.cs<gh_stars>1-10
using Sandbox.ModAPI;
using VRage.Input;
// In part from Relative Spectator v2, Keybind.cs
namespace avaness.RacingMod
{
public struct Keybind
{
public MyKeys key;
public bool shift;
public bool ctrl;
public bool alt;
public Keybind(MyKeys key, bool shift, boo... |
c#/Book/PetrolPump/PetrolPump/PetrolPump/Chapter2/Section13/AccumulatePulses.cs | mopleen/sodium | 0 | 7056169 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PetrolPump.Pump;
using Sodium;
namespace PetrolPump.Chapter2.Section13
{
public class AccumulatePulses : IPump
{
public Outputs Create(Inputs inputs) {
Behavior<UpDown> nozzle1 = inp... |
EIDSS v6.1/vb/EIDSS/EIDSS.Reports/Parameterized/Human/AJ/Reports/ZoonoticAZReport.Designer.cs | EIDSS/EIDSS-Legacy | 2 | 7056170 | <filename>EIDSS v6.1/vb/EIDSS/EIDSS.Reports/Parameterized/Human/AJ/Reports/ZoonoticAZReport.Designer.cs
namespace EIDSS.Reports.Parameterized.Human.AJ.Reports
{
partial class ZoonoticAZReport
{
#region Designer generated code
/// <summary>
/// Required method for Designer supp... |
OOP/SOLID/P02.Graphic_Editor/Editors/ConsoleDrawer.cs | hidden16/Softuni-Advanced | 0 | 7056171 | <filename>OOP/SOLID/P02.Graphic_Editor/Editors/ConsoleDrawer.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace P02.Graphic_Editor.Editors
{
public class ConsoleDrawer : Drawer
{
public override void DrawShape(IShape shape)
{
Console.WriteLine(shape.Dra... |
Asphalt-ModKit/Events/EventPriority.cs | Kronnox/Asphalt-ModKit | 7 | 7056172 | <filename>Asphalt-ModKit/Events/EventPriority.cs
/**
* ------------------------------------
* Copyright (c) 2018 [Kronox]
* See LICENSE file in the project root for full license information.
* ------------------------------------
* Created by Kronox on March 25, 2018
* ------------------------------------
**/
... |
UserInterface/Interface.cs | irazozulya/cursach | 0 | 7056173 | using System;
using System.Collections.Generic;
using BowlingLibrary;
using System.Xml.Serialization;
using System.IO;
using Throws;
using Frames;
namespace UserInterface
{
public class Interface // Клас інтерфейсу
{
protected Game game;
public Interface(Game game) // Конструктор... |
src/StardustDL.Algorithms.Sequences/Deque.cs | StardustDL/Algorithms-in-CSharp | 0 | 7056174 | <filename>src/StardustDL.Algorithms.Sequences/Deque.cs<gh_stars>0
using System.Collections.Generic;
namespace StardustDL.Algorithms.Sequences
{
public class Deque<T> : IQueue<T>
{
private LinkedList<T> Content { get; set; } = new LinkedList<T>();
public T Front => Content.First!.Value;
... |
DDR/Assets/Scripts/Manager/WindowManager.cs | Davidccy/Unity-DDR | 0 | 7056175 | using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine;
public class WindowManager : ISingleton<WindowManager> {
#region Serialized Fields
[SerializeField]
private Transform _tfWindowRoot = null;
#endregion
#region Internal Fields
private List<UIGenericWindow> _load... |
src/Mvc/Shop.Mvc/Application/Exceptions/ProducerNotFoundValidationException.cs | kamilagruhlke/wizload-shop | 1 | 7056176 | <gh_stars>1-10
using System;
namespace Shop.Mvc.Application.Exceptions
{
public class ProducerNotFoundValidationException : ValidationException
{
public ProducerNotFoundValidationException(Guid id) : base($"Producer '{id}' not found")
{
}
}
}
|
src/Pickaxe.Blockchain.Contracts/Serialization/TransactionData.cs | ThePickaxeTeam/Pickaxe.Blockchain | 0 | 7056177 | <filename>src/Pickaxe.Blockchain.Contracts/Serialization/TransactionData.cs
namespace Pickaxe.Blockchain.Contracts.Serialization
{
public class TransactionData
{
public string From { get; set; }
public string To { get; set; }
public long Value { get; set; }
public long Fee { ... |
sdk/src/Examples/Standard2/RedisTest.cs | jdcloud-api/jdcloud-sdk-net | 12 | 7056178 | <filename>sdk/src/Examples/Standard2/RedisTest.cs
using JDCloudSDK.Core.Auth;
using JDCloudSDK.Core.Client;
using JDCloudSDK.Core.Http;
using JDCloudSDK.Redis.Apis;
using JDCloudSDK.Redis.Client;
using JDCloudSDK.Redis.Model;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
usi... |
src/ROOK/LexicalAnalyzer/LexicalConstants.cs | PLMCSIT/Compiler | 0 | 7056179 | <reponame>PLMCSIT/Compiler
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lexical_Analyzer
{
public class LexicalConstants
{
public class ReservedWords
{
public List<string> rw_whitespace = new List<stri... |
Programming - Fundamentals/Objects and Classes - Lab/02. Randomize Words/Program.cs | sevgin0954/SoftUni-Projects | 0 | 7056180 | using System;
class Program
{
static void Main()
{
string[] words = Console.ReadLine().Split();
Random random = new Random();
for (int a = 0; a < words.Length; a++)
{
int randomIndex = random.Next(0, words.Length);
string temp = words[a];
wor... |
VideoApi/VideoApi.DAL/Commands/CreateConsultationRoomCommand.cs | uk-gov-mirror/hmcts.vh-video-api | 5 | 7056181 | using Microsoft.EntityFrameworkCore;
using System;
using VideoApi.DAL.Commands.Core;
using VideoApi.DAL.Exceptions;
using VideoApi.Domain;
using VideoApi.Domain.Enums;
using Task = System.Threading.Tasks.Task;
namespace VideoApi.DAL.Commands
{
public class CreateConsultationRoomCommand : ICommand
{
pub... |
samples/Core22/Program.cs | mzorec/NCaller | 0 | 7056182 | <reponame>mzorec/NCaller<filename>samples/Core22/Program.cs
using NCaller;
using System;
using System.Diagnostics;
using NCaller.ExtensionAPI.Array;
using System.Collections.Generic;
using System.Linq;
using NCaller.Core.Model;
namespace Core22
{
class Program
{
public static DateTime TempTime;
... |
src/NETXUSASharp/Controllers/Order.cs | Overgroup/NETXUSASharp | 1 | 7056183 | using NETXUSASharp.Models;
namespace NETXUSASharp.Controllers
{
/// <summary>
/// Used to manage orders with NETXUSA: send (Post), lookup (Get), and cancel (Delete). There is not an update method; instead,
/// it is expected you would cancel and then send a new one.
/// </summary>
public class O... |
b2xtranslator/Common/OfficeDrawing/Shapetypes/TextArchUpPour.cs | kafkaesqu3/Macrome | 484 | 7056184 | using System.Collections.Generic;
namespace b2xtranslator.OfficeDrawing.Shapetypes
{
[OfficeShapeType(148)]
public class TextArchUpPour : ShapeType
{
public TextArchUpPour()
{
this.TextPath = true;
this.Joins = JoinStyle.none;
this.ExtrusionOk = true;
... |
src/SmartNote.Domain/Spaces/Background.cs | linwenda/FunZone | 4 | 7056185 | <gh_stars>1-10
namespace SmartNote.Domain.Spaces
{
public record Background
{
public Background()
{
Color = "#00AB55";
}
public Background(string color, Guid? imageId)
{
if (string.IsNullOrEmpty(color) && imageId == null)
{
... |
src/Gsemac.Net.WebBrowsers/ChromeCookieDecryptor.cs | gsemac/Gsemac.Common | 7 | 7056186 | <reponame>gsemac/Gsemac.Common<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
namespace Gsemac.Net.WebBrowsers {
public class ChromeCookieDecryptor :
ICookieDecryptor {
// Public members
public ChromeCookieDecryptor() {
decryptors.Add(new A... |
test/WebSites/TagHelpersWebSite/TagHelpers/NestedGlobalImportTagHelper.cs | walkeeperY/ManagementSystem | 0 | 7056187 | <reponame>walkeeperY/ManagementSystem
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
using Microsoft.AspNet.Razor.TagHelpers;
names... |
src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Symbols/PropertySymbol.cs | ivandrofly/corefx | 6 | 7056188 | // 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.Diagnostics;
using System.Reflection;
namespace Microsoft.CSharp.RuntimeBinder.Semantics
{
// ----... |
FunctionApp/Configurations/OpenApiConfigurationOptions.cs | devkimchi/azure-functions-oauth-authentications-via-swagger-ui | 1 | 7056189 | <filename>FunctionApp/Configurations/OpenApiConfigurationOptions.cs
using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Configurations;
using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Enums;
namespace FunctionApp.Configurations
{
public class OpenApiConfigurationOptions : DefaultOpenApiConfigurationOptions... |
HttpReverseProxy.UnitTests/HeaderTransformerTest.cs | rubicon-oss/egoraStammportal | 3 | 7056190 | <reponame>rubicon-oss/egoraStammportal
/*************************
Diese Software ist ein Beispiel (sample code) und unterliegt der Microsoft Public License.
Die Verwendung des Codes ist unter den Bedingungen der Microsoft Public License erlaubt.
*************************
This software is sample code and is subject to ... |
Escape_Game/Assets/Scripts/Objects/Scriptable_Objects/Obstacles/Plus.cs | ChristianSourisseau/Projet-Escape-Game | 0 | 7056191 | <reponame>ChristianSourisseau/Projet-Escape-Game<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "Plus", menuName = "Objects/Obstacles/Plus")]
public class Plus : Obstacle
{
[SerializeField]
private Tableau tableau = null;
public override ... |
simple-aws/services/JobProcessor/Mcma.Aws.JobProcessor.PeriodicJobCleanup/ContextVariableProviderExtensions.cs | ebu/mcma-projects-dotnet | 3 | 7056192 | <reponame>ebu/mcma-projects-dotnet<gh_stars>1-10
using Mcma.Context;
namespace Mcma.Aws.JobProcessor.PeriodicJobCleanup
{
public static class ContextVariableProviderExtensions
{
public static int? JobRetentionPeriodInDays(this IContextVariableProvider contextVariableProvider)
=>
... |
src/Blazor.BrowserExtension.Build/Tasks/ExtensionManifest/ManifestV2Validator.cs | BlazorHub/Blazor.BrowserExtension | 141 | 7056193 | using System.Collections.Generic;
namespace Blazor.BrowserExtension.Build.Tasks.ExtensionManifest
{
internal class ManifestV2Validator : IValidator
{
public IEnumerable<ValidationResult> Validate(IDictionary<ManifestItemKey, ManifestItem> manifestItems)
{
var validationResults = ne... |
App/Assets/Scripts/ThemeSettings.cs | ericleeDev/ChineseLearningApp | 0 | 7056194 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Experimental.UIElements;
public class ThemeSettings : MonoBehaviour
{
public GameObject BackgroundImage01;
public GameObject BackgroundImage02;
public GameObject BackgroundImage03;
public GameObject Backgr... |
AW.Core/AW/Exceptions/SDKWrapperException.cs | Bloyteg/AW.SDK.Core | 4 | 7056195 | <filename>AW.Core/AW/Exceptions/SDKWrapperException.cs
// // (c) 2007 - 2011 <NAME> under the terms of the Ms-PL license.
using System;
using System.Diagnostics;
using System.Reflection;
namespace AW
{
/// <summary>
/// Exception thrown when an instance based operation fails.
/// </summary>
p... |
core/Crosscutting/ICloneable.cs | RPalejiya/kafka-streams-dotnet | 238 | 7056196 | <reponame>RPalejiya/kafka-streams-dotnet<filename>core/Crosscutting/ICloneable.cs
namespace Streamiz.Kafka.Net.Crosscutting
{
/// <summary>
/// Supports cloning, which creates a new instance of a class with the same value as an existing instance.
/// </summary>
/// <typeparam name="T">Type of clone obj... |
Items/EssenceOfTerraria.cs | W1K1/tsorcRevamp | 0 | 7056197 | using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace tsorcRevamp.Items {
class EssenceOfTerraria : ModItem {
public override void SetStaticDefaults() {
DisplayName.SetDefault("Essence of Terraria");
Tooltip.SetDefault("Summons almost every boss at once." + "\nYou ... |
src-server/QboxNext.Server.Frontend/Controllers/DataQueryController.cs | StefH/QboxNext | 2 | 7056198 | <filename>src-server/QboxNext.Server.Frontend/Controllers/DataQueryController.cs<gh_stars>1-10
using AspNetCore.Security.Auth0.Authorization;
using JetBrains.Annotations;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using QboxNext.... |
src/Build/NuGet.Build.Packaging.Tests/ReadLegacyJsonDependenciesTests.cs | iskiselev/NuGet.Build.Packaging | 77 | 7056199 | using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Xunit;
using Xunit.Abstractions;
using NuGet.Build.Packaging.Tasks;
using NuGet.Versioning;
namespace NuGet.Build.Packaging
{
public class ReadLegacyJsonDependenciesTests
{
ITestOutputHelper output;
MockBuildEngine engine;
... |
Objects/Card.cs | DataJuggler/RandomShuffler | 0 | 7056200 | <reponame>DataJuggler/RandomShuffler
#region using statements
using DataJuggler.RandomShuffler.Enumerations;
using DataJuggler.RandomShuffler.Interfaces;
using System.Collections.Generic;
#endregion
namespace DataJuggler.RandomShuffler.Objects
{
#region class Card
/// <summary>
/// This class represe... |
CJBCheatsMenu/Framework/Components/CheatsOptionsNPCSlider.cs | kelvindules/SDV-Mods | 90 | 7056201 | <filename>CJBCheatsMenu/Framework/Components/CheatsOptionsNPCSlider.cs
using System;
using CJB.Common;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StardewValley;
using StardewValley.Menus;
namespace CJBCheatsMenu.Framework.Components
{
/// <summary>A UI slider for setting a village... |
src/Chromely.Core/Configuration/WindowSize.cs | bubdm/Chromely | 1,134 | 7056202 | <filename>src/Chromely.Core/Configuration/WindowSize.cs
// Copyright © 2017 Chromely Projects. All rights reserved.
// Use of this source code is governed by MIT license that can be found in the LICENSE file.
namespace Chromely.Core.Configuration;
/// <summary>
/// Application window size - width, height.
/// </summ... |
Orm/Xtensive.Orm.Tests/Issues/IssueJira0712_IncorrectDefaultEnumValueTranslation.cs | alex-kulakov/dataobjects-net | 0 | 7056203 | // Copyright (C) 2017 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: <NAME>
// Created: 2017.09.15
using System;
using NUnit.Framework;
using Xtensive.Orm.Configuration;
using Xtensive.Orm.Model;
using model = Xtensive.Orm.Tests.Issues.IssueJi... |
ProgrammingFundamentalsWithC#/ProjectsAndSolutions/3ex-Arrays/05. Top Integers/Program.cs | LyubomirRashkov/Software-University-SoftUni | 0 | 7056204 | using System;
using System.Linq;
namespace _05._Top_Integers
{
class Program
{
static void Main(string[] args)
{
int[] input = Console.ReadLine().Split(" ", StringSplitOptions.RemoveEmptyEntries).Select(int.Parse).ToArray();
for (int i = 0; i < input.Length; i++)
... |
src/Base/IXMacroExtension.cs | EddyAlleman/xcad | 38 | 7056205 | <reponame>EddyAlleman/xcad
//*********************************************************************
//xCAD
//Copyright(C) 2021 Xarial Pty Limited
//Product URL: https://www.xcad.net
//License: https://xcad.xarial.com/license/
//*********************************************************************
using System.Linq;
us... |
EducaINT/Tema.cs | AdrielRA/EducaINT | 0 | 7056206 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Windows.Forms;
namespace EducaINT
{
public partial class frm_Tema : Form
{
public static bool voltou = false;
public static List<Pergunta> perguntas_selecionadas = null;
private List<stri... |
Tool-Windows/Crypto.cs | cr4r/Tool-Windows | 0 | 7056209 | <filename>Tool-Windows/Crypto.cs
using System;
using System.Text;
using System.Security.Cryptography;
using System.IO;
namespace Tool_Windows
{
class Crypto
{
public static string AesCrypt(string raw)
{
byte[] key = Encoding.UTF8.GetBytes("<KEY>");
byte[] iv = Encoding.... |
WixHelper/CommandLine.cs | the-nerbs/HexEdit | 0 | 7056210 | <filename>WixHelper/CommandLine.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WixHelper
{
class CommandLineArgument
{
public int Index { get; }
public string? Name { get; }
publ... |
Gigya.Microdot.Logging.NLog/NLogLogger.cs | locmxse60602/microdot | 1,452 | 7056212 | <reponame>locmxse60602/microdot<gh_stars>1000+
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Gigya.Microdot.SharedLogic.Events;
using Gigya.Microdot.SharedLogic.Logging;
using NLog;
namespace Gigya.Microdot.Log... |
ClubPenguin.Igloo.UI/InMyIglooDecorationCategoryFilter.cs | smdx24/CPI-Source-Code | 8 | 7056214 | // InMyIglooDecorationCategoryFilter
using ClubPenguin.Core;
using ClubPenguin.DecorationInventory;
using ClubPenguin.Igloo.UI;
using ClubPenguin.ObjectManipulation;
using ClubPenguin.SceneManipulation;
using Disney.LaunchPadFramework;
using System.Collections.Generic;
internal class InMyIglooDecorationCategoryFilter ... |
Injector.cs | MilesFM/V2MemInjector | 7 | 7056215 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Diagnostics;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace V2MemInjector
{
class Injector
{
/// <summary>
/// I copied a lot of th... |
patchCreator/Assets/Scripts/PersistTool.cs | zackszhu/SE340_HCI | 0 | 7056216 | <reponame>zackszhu/SE340_HCI
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace Assets.Scripts
{
class PersistTool
{
public static T Xml2Obj<T>(string xml) {
using (StringReader sr = new StringRe... |
src/Stratis.SmartContracts.Tools.Sct/Report/StreamTextRenderer.cs | herbepau/StratisBitcoinFullNode | 7 | 7056217 | <filename>src/Stratis.SmartContracts.Tools.Sct/Report/StreamTextRenderer.cs
using System.Collections.Generic;
using System.IO;
using Stratis.SmartContracts.Tools.Sct.Report.Elements;
namespace Stratis.SmartContracts.Tools.Sct.Report
{
/// <summary>
/// Renders report sections to a <see cref="T:System.IO.TextW... |
Editor/EditorPrefEntry.cs | carreraSilvio/brightprefs | 0 | 7056218 | <reponame>carreraSilvio/brightprefs
namespace BrightPrefs.Editortime
{
/// <summary>
/// Maintains key and value of an EditorPref
/// </summary>
public sealed class EditorPrefEntry<T>
{
public T Value
{
get
{
return _value;
}
... |
src/ParkingLotTest/Commnds/RegistrationNumbersForCarsWithColourTest.cs | rahulchrty/ParkingLot | 0 | 7056219 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ParkingLot.BusinessInterfaces;
using ParkingLot.RepositoryInterfaces;
using Moq;
using ParkingLot.Business;
using ParkingLot.Model;
namespace ParkingLotTest.Commnds
{
[TestClass]
public class RegistrationNumbersForCarsWithColourTest
{... |
msvc/BlocklyMruby/Ruby/Lists.cs | h7ga40/BlocklyMruby | 0 | 7056220 | // Porting from
// https://github.com/jeanlazarou/blockly2ruby
// Copyright (c) 2014 <NAME>
// MIT Lisence
using System;
using Bridge;
using System.Collections.Generic;
namespace BlocklyMruby
{
partial class Ruby
{
public node lists_create_empty(ListsCreateEmptyBlock block)
{
// Create an empty list.
var ... |
sdk/dotnet/Ses/EventDestination.cs | Dominik-K/pulumi-aws | 0 | 7056221 | <gh_stars>0
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serializa... |
Web/AuctionHouse.Web.ViewModels/Users/UserViewModel.cs | Georgi-Ilchev/Auction-house | 8 | 7056222 | <reponame>Georgi-Ilchev/Auction-house
namespace AuctionHouse.Web.ViewModels.Users
{
using System.ComponentModel.DataAnnotations;
using AuctionHouse.Data.Models;
using AuctionHouse.Services.Mapping;
using static AuctionHouse.Data.Models.DataConstants.DataConstants;
public class UserViewM... |
StoreApp/StoreUI/CustomerLocationMenu.cs | rjhakes/Richard_Hakes-P0 | 0 | 7056223 | using System;
using System.Collections.Generic;
using StoreModels;
using StoreBL;
using StoreDL;
//using Linq;
namespace StoreUI
{
class CustomerLocationMenu : AMenu, IMenu
{
private readonly string _menu;
private ILocationBL _locationBL;
private Location _location;
private Custo... |
Sharp3DBinPacking/Algorithms/BinPackGuillotineAlgorithm.cs | treeDiM/Sharp3DBinPacking | 1 | 7056224 | using Sharp3DBinPacking.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Sharp3DBinPacking.Algorithms
{
public class BinPackGuillotineAlgorithm : IBinPackAlgorithm
{
private readonly BinPackParameter _parameter;
private readonly FreeCuboidChoiceH... |
src/Modules/LoadDataModule/DataSourcesFactory/DataSourceFactory.cs | MohsenM01/CartesianViewer | 0 | 7056225 | namespace LoadDataModule.DataSourcesFactory
{
/// <summary>
/// it is implemented with Abstract Factory pattern
/// There are several ways to implement this scenario
/// </summary>
public class DataSourceFactory : IDataSourceFactory
{
/// <summary>
///
/// </summary>
... |
Snuggle.Core/CRC.cs | yretenai/Equilibrium | 3 | 7056227 | using System;
using System.Text;
using JetBrains.Annotations;
namespace Snuggle.Core;
[PublicAPI]
public static class CRC {
private const uint Polynomial = 0xEDB88320;
public static readonly uint[] Table;
static CRC() {
Table = new uint[256];
for (uint i = 0; i < 256; i++) {
v... |
Project/ARMRP-unity/Assets/ThirdParty/PlayMaker/Actions/Transform/LookAtDirection.cs | euphoriaer/Roguelike-fantasy | 1 | 7056229 | // (c) Copyright HutongGames, LLC 2021. All rights reserved.
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory(ActionCategory.Transform)]
[Tooltip("Rotates a Game Object so its forward vector points in the specified Direction.")]
public class LookAtDirection : ComponentAction<Tr... |
src/AlemdarLabs.ColorPalette.Shared/Quantizers/Helpers/TaskRange.cs | eyupalemdar/AlemdarLabs.ColorPalette | 0 | 7056230 | namespace AlemdarLabs.ColorPalette.Quantizers.Helpers
{
public class TaskRange
{
/// <summary>
/// Gets or sets the start offset.
/// </summary>
public int StartOffset { get; private set; }
/// <summary>
/// Gets or sets the end offset.
/// </summary>
... |
src/MySqlCdc/Parsers/HeartbeatEventParser.cs | SolomatovS/MySqlCdc | 0 | 7056231 | using System.Buffers;
using MySqlCdc.Events;
using MySqlCdc.Protocol;
namespace MySqlCdc.Parsers
{
public class HeartbeatEventParser : IEventParser
{
public IBinlogEvent ParseEvent(EventHeader header, ReadOnlySequence<byte> buffer)
{
var reader = new PacketReader(buffer);
... |
src/TeaMaki.Menu/ProductAggregate/Product.cs | harshashivashankar8/demofile | 0 | 7056232 | namespace TeaMaki.Menu.ProductAggregate
{
public class Product
{
public string Id { get; protected set; }
public string Name { get; protected set; }
public decimal Price { get; protected set; }
public decimal Tax { get; protected set; }
public string ImagePath { get; pro... |
DirectN/DirectN/Generated/_DXGK_VIDPNSOURCEMODESET_INTERFACE.cs | Steph55/DirectN | 124 | 7056233 | <gh_stars>100-1000
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\d3dkmddi.h(6748,9)
using System;
using System.Runtime.InteropServices;
using DXGKDDI_VIDPNSOURCEMODESET_ACQUIREFIRSTMODEINFO = System.IntPtr;
using DXGKDDI_VIDPNSOURCEMODESET_ACQUIRENEXTMODEINFO = System.IntPtr;
using DXGKDDI... |
Hospital.API/Infrastructure/Repositories/Resources/RoomSqlRepository.cs | PSW-2020-ORG9/HealthcareIS | 6 | 7056234 | <filename>Hospital.API/Infrastructure/Repositories/Resources/RoomSqlRepository.cs
using General;
using General.Repository;
using Hospital.API.Model.Resources;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace Hospital.API.Infrastructure.Repositories.Resources
{
pu... |
VR Escape the dungeon/Assets/Scripts/CheckKnife.cs | armin-tahirovic/VR-Escape-the-dungeon | 0 | 7056235 | <reponame>armin-tahirovic/VR-Escape-the-dungeon
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CheckKnife : MonoBehaviour
{
public static bool knife;
private void OnTriggerEnter(Collider other)
{
if (other.gameObject.CompareTag("knife"))
{
knife = true;... |
src/KeyVault/KeyVault/Models/ManagedStorageAccounts/PSDeletedKeyVaultManagedStorageAccount.cs | mbentancour/azure-powershell | 3,336 | 7056236 | <gh_stars>1000+
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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... |
src/Microsoft.MobileBlazorBindings/Elements/AttributeValueHolderFactory.cs | sabitertan/MobileBlazorBindings | 864 | 7056237 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
namespace Microsoft.MobileBlazorBindings.Elements
{
/// <summary>
/// Utility class to convert between <see cref="AttributeValueHolder"/> instances and
/// the data being held.
/// </summary>
public static cl... |
examples/XEFExtract/XEFWriters/XEFFloorWriter.cs | mattrossman/KinectXEFTools | 0 | 7056238 | <filename>examples/XEFExtract/XEFWriters/XEFFloorWriter.cs
using KinectXEFTools;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace XEFExtract
{
class XEFFloorWriter : IXEFDataWriter, IDisposable
{
//
// Members
//
private StreamWrit... |
Assets/Script/Move.cs | BSAA0203/VR_Physics | 0 | 7056239 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Move : MonoBehaviour
{
public static int check; // Button check
public void Mgo() //go to main scene
{
SceneManager.LoadScene("Main");
}
public void ... |
TokenService/Application/Common/Validation/UserValidation.cs | rramesh2000/OAuthService | 3 | 7056240 | using Application.Common.Models;
using FluentValidation;
namespace Application.Common.Validation
{
public class UserValidation : AbstractValidator<UserDTO>
{
public UserValidation()
{
RuleFor(user => user.UserName).NotEmpty().NotNull();
RuleFor(user => user.password).No... |
Source/Translation.Client.Web/Models/Organization/OrganizationTokenRequestLogListModel.cs | hasancbk/translation | 1 | 7056241 | using System;
using Translation.Client.Web.Models.Base;
namespace Translation.Client.Web.Models.Organization
{
public sealed class OrganizationTokenRequestLogListModel : BaseModel
{
public Guid OrganizationUid { get; set; }
public OrganizationTokenRequestLogListModel()
{
... |
src/Futurum.ApiEndpoint/DebugLogger/ApiEndpointDebugNode.cs | futurum-dev/dotnet.futurum.apiendpoint | 0 | 7056242 | namespace Futurum.ApiEndpoint.DebugLogger;
public class ApiEndpointDebugNode
{
public string Name { get; init; }
public List<ApiEndpointDebugNode> Children { get; set; } = new();
} |
OpenShopVHBackend/OpenShopVHBackend/Models/CartProductVariant.cs | serpel/openshop_backend | 3 | 7056243 | <reponame>serpel/openshop_backend<filename>OpenShopVHBackend/OpenShopVHBackend/Models/CartProductVariant.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace OpenShopVHBackend.Models
{
public class CartProductVariant
{
... |
LevelEditor.Extensibility/ImportExport/ILayerDataIOExtension.cs | bitcraftCoLtd/level-editor | 8 | 7056244 | <filename>LevelEditor.Extensibility/ImportExport/ILayerDataIOExtension.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LevelEditor.Extensibility.ImportExport
{
public interface ILayerDataIOExtension : IConfigurableExtension
... |
geomdata.vector.split/Program.cs | santoshkaranam/geomdata.vector | 0 | 7056245 | <filename>geomdata.vector.split/Program.cs
using Serilog;
using Serilog.Sinks.SystemConsole.Themes;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using geomdata.vector.io;
using NetTopologySuite.Features;
using NetTopologySuite.IO;
namespace geomdata.vector.split
{
class Prog... |
Managed/main/SoundEvent.cs | undancer/oni-data | 1 | 7056246 | using System;
using System.Diagnostics;
using FMOD.Studio;
using UnityEngine;
[DebuggerDisplay("{Name}")]
public class SoundEvent : AnimEvent
{
public static int IGNORE_INTERVAL = -1;
protected bool isDynamic;
public string sound { get; private set; }
public HashedString soundHash { get; private set; }
public... |
Assets/Scripts/Crosswordle/Crossword/Struct/WordData.cs | admiral-akk/Crosswordle | 0 | 7056247 | using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public readonly struct WordData
{
public readonly Word Word;
public readonly Vector2Int StartPosition;
public readonly bool IsHorizontal;
public WordData(Word word, Vector2Int pos, bool horizontal)
{
Word = word;
... |
XamlingIOTCore/XIOTCore.FTDI/Contract/IXI2CDevice_FTDI.cs | jakkaj/XIOTCore | 3 | 7056248 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XIOTCore.Contract.Interface.Basics;
namespace XIOTCore.FTDI.Contract
{
public interface IXI2CDevice_FTDI : IXI2CDevice
{
bool SetGPIODirection(byte pin, byte dir);
bool Set... |
Aragas.Network-2.Tests/VariantDecodeTests.cs | Aragas/Aragas.Network-2 | 0 | 7056249 | using Aragas.Network.Data;
using System;
using Xunit;
namespace Aragas.Network_2.Tests
{
public class VariantDecodeTests : IVariant
{
int IVariant.Size => throw new NotImplementedException();
Span<byte> IVariant.Encode() => throw new NotImplementedException();
[Fact]
public... |
Runtime/Modules/Avatar/SubModels/Groups/HumanGroupModels.cs | 2kah/HPTK | 276 | 7056250 | <reponame>2kah/HPTK<filename>Runtime/Modules/Avatar/SubModels/Groups/HumanGroupModels.cs<gh_stars>100-1000
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace HandPhysicsToolkit.Modules.Avatar
{
[Serializable]
public class HumanTorsoModel
{
public... |
Plugins/BombDefense/BombDefensePlugin.cs | oddluck/CBot | 0 | 7056251 | using System;
using System.Collections.Generic;
using System.Timers;
using CBot;
using AnIRC;
namespace BombDefense {
[ApiVersion(3, 7)]
public class BombDefensePlugin : Plugin {
private Timer DefuseTimer = new Timer() { AutoReset = false };
private Timer RejoinTimer = new Timer(30e+3) { Auto... |
src/extensions/Logging/TerminalLoggerMessage.cs | vezel-dev/cathode | 2 | 7056252 | namespace Vezel.Cathode.Extensions.Logging;
[SuppressMessage("", "CA1815")]
public readonly struct TerminalLoggerMessage
{
public DateTime Timestamp { get; }
public LogLevel LogLevel { get; }
public string CategoryName { get; }
public EventId EventId { get; }
public string Message { get; }
... |
Source/Singulink.IO.FileSystem/SearchOptions.cs | Singulink/Singulink.IO.FileSystem | 19 | 7056253 | using System;
using System.IO;
namespace Singulink.IO
{
/// <summary>
/// Provides options that control search behavior in directories.
/// </summary>
public class SearchOptions
{
internal static readonly EnumerationOptions DefaultEnumerationOptions = new EnumerationOptions() {
... |
Source/Plugin.BLE.UWP/Adapter.cs | yannleprovost/xamarin-bluetooth-le | 0 | 7056254 | <reponame>yannleprovost/xamarin-bluetooth-le
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Toolkit.Uwp.Connectivity;
using Windows.Devices.Blueto... |
Code/SifCommonFramework/Systemic.Sif.Framework/Publisher/ISifResponseIterator.cs | open-adk/SifCommonFramework-dotNet | 2 | 7056255 | /*
* Copyright 2010-2011 Systemic Pty Ltd
*
* 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 ... |
src/GR.Extensions/GR.Forms.Extension/GR.Forms.Abstractions/ViewModels/FormViewModels/ColumnViewModel.cs | indrivo/GEAR | 7 | 7056256 | using System;
using System.Collections.Generic;
namespace GR.Forms.Abstractions.ViewModels.FormViewModels
{
public class ColumnViewModel
{
public IEnumerable<Guid> Fields { get; set; }
public Guid Id { get; set; }
public ConfigViewModel Config { get; set; }
public string ClassN... |
Citp/Packets/PInf/CitpPInfHeader.cs | barjonas/ACN | 8 | 7056257 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Citp.IO;
namespace Citp.Packets.PInf
{
public class CitpPInfHeader : CitpHeader
{
public const string PacketType = "PINF";
public CitpPInfHeader():base(PacketType)
{
}
#region ... |
Mqtt.LoadBalance.Worker/AWorker.cs | jbruening/Mqtt.LoadBalance | 0 | 7056258 | <filename>Mqtt.LoadBalance.Worker/AWorker.cs
using MQTTnet;
using MQTTnet.Protocol;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Mqtt.LoadBalance.Worker
{
public abstract class AWorker : IDisposable
{
public WorkerManager Manager { get; }
... |
UnitTests/Services/JsonFileProductServiceTests.cs | ChungNYCU/Online-resume-builder | 0 | 7056259 | using Microsoft.AspNetCore.Mvc;
using NUnit.Framework;
using ContosoCrafts.WebSite.Pages.Product;
using ContosoCrafts.WebSite.Models;
using System.Linq;
/// <summary>
/// Unit Test for all JsonFileProductServiceTests.cs blocks
/// </summary>
namespace UnitTests.Services.JsonFileProductServiceTests
{
/// <summary>
... |
Barriot.Core/Interaction/Services/SarMakeService.cs | Rozen4334/Barriot | 1 | 7056260 | using Barriot.Models.Services;
namespace Barriot.Interaction.Services
{
public class SarMakeService
{
private readonly Dictionary<ulong, SarCreationArgs> _dataCache;
private readonly System.Timers.Timer _timer;
private readonly SarManageService _manageService;
public SarMake... |
Views/PivotTreeMap/Default.cshtml | syncfusion/aspnet-mvc-ej1-demos | 3 | 7056261 | <reponame>syncfusion/aspnet-mvc-ej1-demos<gh_stars>1-10
@section SampleHeading{ <span class="sampleName">PivotTreeMap-Default Functionalities-RelationalDB-ASP.NET MVC-SYNCFUSION</span>}
@section MetaTags{
<meta name="description" content="This demo for Syncfusion Essential JS1 for ASP.NET MVC pivot tree map control... |
Tests/WordCounterTests.cs | CharlesEmrich/word-counter-cs | 0 | 7056262 | <reponame>CharlesEmrich/word-counter-cs
using Xunit;
using System;
using System.Collections.Generic;
using WordCounter.Objects;
namespace WordCounter
{
public class WordCounterTest
{
[Fact]
public void CountRepeats_WordAppears_CatOne()
{
//Arrange
RepeatCounter instance = new RepeatCounter(... |
Prius.MySql/Connection.cs | Bikeman868/Prius | 5 | 7056263 | using System;
using System.Data;
using System.Text;
using System.Threading;
using MySql.Data.MySqlClient;
using Prius.Contracts.Attributes;
using Prius.Contracts.Exceptions;
using Prius.Contracts.Interfaces.Commands;
using Prius.Contracts.Interfaces.Connections;
using Prius.Contracts.Interfaces.External;
usi... |
BlazorApp/Pages/Index.razor.cs | Mohammad-Diab/BlazorApp | 0 | 7056264 | using BlazorApp.Shared;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorApp.Pages
{
public partial class Index
{
/// <summary>
/// Property to bind allow multi select checkbox.
/// </summary>
bool AllowMultiSelect... |
Common/Fishing.Common/TableData/TbDataTaskDialogue.cs | qq576067421/Fishing | 53 | 7056265 | using System;
using System.Collections.Generic;
using System.Text;
using GF.Common;
public struct OneDialogue
{
public bool is_me;
public string dialogue;
}
public class TbDataTaskDialogue : EbData
{
//-------------------------------------------------------------------------
public int NpcId { get; p... |
GalacticScale2/Scripts/GalacticScale2.0/Patches/PlanetModelingManager/ModelingPlanetCoroutine.cs | davv1/DSP_Plugins | 42 | 7056266 | <reponame>davv1/DSP_Plugins
using HarmonyLib;
namespace GalacticScale
{
public partial class PatchOnPlanetModelingManager
{
[HarmonyPrefix]
[HarmonyPatch(typeof(PlanetModelingManager), "ModelingPlanetCoroutine")]
public static bool ModelingPlanetCoroutine()
{
if (GS... |
Assets/Scripts/Player/PlayerController.cs | SpeedyE1780/Light-Is-Your-Friend | 0 | 7056267 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
public FlashLightController FlashLight;
public Transform PickUpHand;
//Disables the zombies from detecting the player without seeing the player
readonly private i... |
Algo/Candles/Compression/CandleBuilderContainer.cs | usimjo/stocksharp_local | 1 | 7056268 | #region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/St... |
WitStyle.Web/Infrastructure/ServiceRegistrator.cs | WeeManMSK/wit-style.ru | 0 | 7056269 | using AutoMapper;
using Microsoft.Extensions.DependencyInjection;
using WitStyle.Common;
using WitStyle.Data;
using WitStyle.Services;
namespace WitStyle.Web
{
public static class ServiceRegistrator
{
public static void RegisterApplicationServices(this IServiceCollection serviceCollection)
{
... |
Assets/Scripts/Enemy/EnemyMovement.cs | indikman/AMDT-2021MAY23-GAME | 1 | 7056270 | <reponame>indikman/AMDT-2021MAY23-GAME<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyMovement : MonoBehaviour
{
public enum EnemyState
{
IDLE,
ALERT,
ACTION,
DEAD
}
public Transform player;
public Enem... |
src/Microsoft.DotNet.Interactive/Notebook/NullableJsonElementExtensions.cs | HowardvanRooijen/interactive | 3 | 7056271 | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Text.Json;
namespace Microsoft.DotNet.Interactive.Notebook
{
internal static c... |
Models/TicketNotification.cs | drrky-g/DG_BugTracker | 0 | 7056272 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DG_BugTracker.Models
{
public class TicketNotification
{
public int Id { get; set; }
public int TicketId { get; set; }
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.