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 |
|---|---|---|---|---|
GMLParserPL/Logic/Calculations.cs | mcegla/GeodataLoaderPL-test | 1 | 7058615 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Numerics;
namespace GMLParserPL.Logic
{
internal static class Calculations
{
/// <summary>
/// Finding max and min value for vectors set
/// </summary>
/// <param name="vectors"></param>
///... |
Test/UnitTests/TestStartupServices/TestAuthPStartupServices.cs | mramra3004/AuthPermissions.AspNetCore | 219 | 7058616 | <filename>Test/UnitTests/TestStartupServices/TestAuthPStartupServices.cs
// Copyright (c) 2021 <NAME>, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/
// Licensed under MIT license. See License.txt in the project root for license information.
using System.Linq;
using System.Threading.Tasks;
using AuthPe... |
RTSGame/Defiant/Defiant/Packs/Default/scripts/input/player/RTSUnitDataPanel.cs | RegrowthStudios/VoxelRTS | 11 | 7058617 | <reponame>RegrowthStudios/VoxelRTS<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using BlisterUI.Widgets;
using RTSEngine.Data.Team;
using RTSEngine.Interfaces;
using RTSEngine.Graphics;
using RTSEngine.Data;
using Microsoft.Xna.Fra... |
OOPTut/src/OOPTut.Web.Api/Controllers/BazaarListController.cs | ilyasaruca/dotnet-core-mvc-web-api-course | 17 | 7058618 | <filename>OOPTut/src/OOPTut.Web.Api/Controllers/BazaarListController.cs
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using OOPTut.Application;
using OOPTut.Core.Bazaar;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace OOPTut.Web.Api.Controllers
{
[Route("api/[... |
DungeonGame/DungeonGame/Items/ItemManager.cs | SamTheBay/LegendsOfDescent | 1 | 7058619 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Xml.Linq;
using LegendsOfDescent;
using Microsoft.Xna.Framework;
#if SILVERLIGHT
using System.Windows;
#endif
namespace LegendsOfDescent
{
public enum ItemClass
{
Normal,
Magic,
... |
Erlin.Lib.Common/Logging/FileLog.cs | ErlinEmrys/Lib.Common | 0 | 7058620 | <gh_stars>0
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using Erlin.Lib.Common.Reflection;
using Erlin.Lib.Common.Time;
namespace Erlin.Lib.Common.Logging
{
/// <summary>
/// System for logging to file
/// </summary>
public class FileLog : LogBase
{
private... |
Src/SAEA.MQTT/Protocol/MqttConnectReasonCodeConverter.cs | dsfop/SAEA | 0 | 7058621 | <reponame>dsfop/SAEA
using SAEA.MQTT.Exceptions;
namespace SAEA.MQTT.Protocol
{
public class MqttConnectReasonCodeConverter
{
public MqttConnectReturnCode ToConnectReturnCode(MqttConnectReasonCode reasonCode)
{
switch (reasonCode)
{
case MqttConnectReaso... |
src/Features/Core/Portable/Debugging/IProximityExpressionsService.cs | belav/roslyn | 0 | 7058622 | <reponame>belav/roslyn<filename>src/Features/Core/Portable/Debugging/IProximityExpressionsService.cs
// 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.
#nullable disa... |
src/GUI/POC/EntityFrameworkCore.Scaffolding.Handlebars/HbsCSharpScaffoldingGenerator.cs | funky81/EFCorePowerTools | 0 | 7058623 | <filename>src/GUI/POC/EntityFrameworkCore.Scaffolding.Handlebars/HbsCSharpScaffoldingGenerator.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Modifications copyright(C) 2017 <NAME>.
using Sys... |
TaskRipper.Core/IWorkExecutor.cs | Reapism/TaskRipper | 1 | 7058624 | namespace TaskRipper.Core
{
//TODO add a new Execute overload that takes in a func that helps mutate parameter values before or after an execution of a specific iteration
// of running the action/func.
// maybe instead of taking in a Action or Func delegate directly into the executor, it takes in a wrapper... |
HangfireConsoleWithServer/Tasks/LogResultTask.cs | collabratech/HangfireOrchestratorPOC | 0 | 7058625 | using Hangfire.Logging;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using System.Linq;
using Hangfire.Pipeline;
using System;
namespace PipelineTasks.Tasks
{
public class LogResultTask : IPipelineTask
{
public LogResultTask()
{
}
public Task<I... |
src/Common/Engine/Data/LocalDependencyValueExtensions.cs | CyberFlameGO/MineCase | 708 | 7058626 | <filename>src/Common/Engine/Data/LocalDependencyValueExtensions.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using MineCase.Engine.Data;
namespace MineCase.Engine
{
/// <summary>
/// 本地依赖值扩展
/// </summary>
public static class LocalDependencyValueE... |
src/XUMM.NET.SDK/Clients/XummHttpClient.cs | doblo89/XUMM.Net | 0 | 7058627 | <filename>src/XUMM.NET.SDK/Clients/XummHttpClient.cs
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using XUMM.NET.SDK.Clients.Interfaces;
using XUMM.NET... |
DataStore/Dto/SessionReportDto.cs | Rjtsahu/Signalr-Dashboard | 4 | 7058628 | <reponame>Rjtsahu/Signalr-Dashboard<gh_stars>1-10
using System.Threading.Tasks;
namespace SignalrDashboard.DataStore.Dto
{
internal class SessionReportDto : IDataTableObject
{
public int SessionReportId { get; set; }
public int SessionId { get; set; }
public bool IsStarted { get; set; ... |
src/Plaid/Entity/LinkTokenEUConfig.cs | coolhome/Going.Plaid | 25 | 7058630 | <gh_stars>10-100
namespace Going.Plaid.Entity;
/// <summary>
/// <para>Configuration parameters for EU flows</para>
/// </summary>
public class LinkTokenEUConfig
{
/// <summary>
/// <para>If <c>true</c>, open Link without an initial UI. Defaults to <c>false</c>.</para>
/// </summary>
[JsonPropertyName("headless")]... |
tests/EntrevistaFuncaoInformatica.IntegrationTests/EntityFrameworkTests/ClienteSistemaRepositoryTests.cs | yakkumo/EntrevistaFuncaoInformatica | 0 | 7058631 | namespace EntrevistaFuncaoInformatica.IntegrationTests.EntityFrameworkTests
{
using System;
using System.Linq;
using System.Threading.Tasks;
using EntrevistaFuncaoInformatica.Application.AutoMapper;
using EntrevistaFuncaoInformatica.Application.Dtos;
using EntrevistaFuncaoInformatica.Application... |
test/XPike.Extensions.DependencyInjection.WebApi.Tests/DependencyResolverTests.cs | xpike/microsoft-extensions | 0 | 7058632 | using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using XPike.Extensions.DependencyInjection.WebApi;
namespace XPike.Extensions.DependencyInjection.WebApi.Tests
{
[TestClass]
public class DependencyResolverTests
{
[TestMethod]
... |
publicApi/OCP/GroupInterface.cs | sucrose0413/nextcloud_net | 2 | 7058633 | <reponame>sucrose0413/nextcloud_net
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP
{
/**
* TODO actually this is a IGroupBackend
*
* @package OCP
* @since 4.5.0
*/
public interface GroupInterface
{
/**
* actions that user backend... |
src/Reni/FeatureTest/Validation/SyntaxError.cs | hahoyer/reni.cs | 2 | 7058634 | using System.Collections.Generic;
using System.Linq;
using hw.DebugFormatter;
using hw.Helper;
using hw.Scanner;
using hw.UnitTest;
using JetBrains.Annotations;
using Reni.FeatureTest.Helper;
using Reni.Parser;
using Reni.Validation;
namespace Reni.FeatureTest.Validation
{
[UnitTest]
[Target(@"1 #(x asdf y)# d... |
ILRepack/Steps/Win32Resources/Win32ResourceStep.cs | kant2002/il-repack | 5 | 7058635 | <filename>ILRepack/Steps/Win32Resources/Win32ResourceStep.cs
//
// Copyright (c) 2018 <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/LI... |
KoreanCafe.cs | WorkingRobot/fn-newsgrabber | 0 | 7058636 | using Newtonsoft.Json;
namespace NewsReader
{
public sealed class KoreanCafe : BaseItem
{
[JsonProperty("cafe_info")]
public KoreanCafeList CafeInfo;
}
public sealed class KoreanCafeList : BaseMessage
{
public KoreanCafeInformation[] Cafes;
}
public sealed class K... |
src/netstandard2.0/AnyGenerators/AutoFixtureWrapper/DummyContext.cs | grzesiek-galezowski/any | 10 | 7058637 | <gh_stars>1-10
using AutoFixture.Kernel;
namespace TddXt.AnyGenerators.AutoFixtureWrapper
{
public class DummyContext : ISpecimenContext
{
public object? Resolve(object request)
{
return null;
}
}
}
|
src/Silk.Core.Discord/Utilities/ThrowHelper.cs | IAmTomahawkx/Silk | 0 | 7058638 | <reponame>IAmTomahawkx/Silk<filename>src/Silk.Core.Discord/Utilities/ThrowHelper.cs<gh_stars>0
using System.Collections.Generic;
using System.Threading.Tasks;
using Silk.Shared.Abstractions.DSharpPlus.Interfaces;
namespace Silk.Core.Discord.Utilities
{
public static class ThrowHelper
{
//TODO: Use thi... |
ShoelessJoeWebApi.App/Startup.cs | TClaypool00/ShoelessJoeApiV2 | 0 | 7058639 | <gh_stars>0
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.OpenApi.Models;
using ShoelessJoeWebApi.App.Helpers;
usin... |
BM-RCON/BM_RCON_lib/interfaces/ILogger.cs | ShaigroRB/bm-rcon | 0 | 7058640 | using System;
using System.Collections.Generic;
using System.Text;
namespace BM_RCON.BM_RCON_lib
{
interface ILogger
{
/// <summary>
/// Default logging (no type of log specified)
/// </summary>
/// <param name="msg">Message to log</param>
void Log(string msg);
... |
Developer/Views/Bucket/DeleteBucket.cshtml | asxuen/Nexus | 0 | 7058641 | <reponame>asxuen/Nexus
@model Aiursoft.Developer.Models.BucketViewModels.DeleteBucketViewModel
@{
ViewData["Title"] = "Delete" + Model.BucketName;
}
<div class="container-fluid">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a asp-controller="Apps" asp-action="Index">Dashboard</a>
... |
imports/Voron/Impl/Journal/LazyTransactionBuffer.cs | bbqchickenrobot/Voron.Graph | 8 | 7058642 | using System;
using Voron.Impl.Paging;
namespace Voron.Impl.Journal
{
public unsafe class LazyTransactionBuffer : IDisposable
{
public bool HasDataInBuffer() => _firstPositionInJournalFile != null;
private LowLevelTransaction _readTransaction;
private long? _firstPositionInJournalFile... |
Compliance360.EmployeeSync.Library/Configuration/MapElementCollection.cs | SAIGlobal/compliance360-activedirectory-sync | 1 | 7058643 | using System;
using System.Configuration;
namespace Compliance360.EmployeeSync.Library.Configuration
{
[ConfigurationCollection(typeof(JobElement), AddItemName = "map")]
public class MapElementCollection : ConfigurationElementCollection
{
public MapElement this[int idx] => BaseGet(idx) as MapEleme... |
Assets/ROSBridgeSharp/Assets/RBSocket/Message/DefaultMsgs/std_msgs/MultiArrayLayout.cs | yuyaushiro/ARviz_unity | 1 | 7058644 | using System;
namespace RBS.Messages.std_msgs
{
[System.Serializable]
public class MultiArrayLayout : ExtendMessage
{
public RBS.Messages.std_msgs.MultiArrayDimension[] dim;
public uint data_offset;
public override string Type() { return "std_msgs/MultiArrayLayout"; }
public... |
src/Edi.RouteDebugger/RouteDebuggerMiddleware.cs | EdiWang/Edi.RouteDebugger | 20 | 7058645 | <filename>src/Edi.RouteDebugger/RouteDebuggerMiddleware.cs
using System.IO;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.AspNetCore.Routing;
namespace Edi.RouteDebugger
{
p... |
TTengineTest/Tests/TestTransparentChannels.cs | IndiegameGarden/TTengine | 0 | 7058646 | // (c) 2010-2017 <EMAIL>. Distributed under the FreeBSD license in LICENSE.txt
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using TTengine.Core;
using TTengine.Comps;
using TTengine.Modifiers;
using Artemis.Interface;
namespace TTengineTest
{
/// <summary>Tests a transpar... |
Services/QueueTriggerCosmosOutput/Startup.cs | alonf/AzureFunctionsMSADemo | 0 | 7058647 | <gh_stars>0
using AutoMapper;
using Microsoft.Azure.Functions.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using QueueTriggerCosmosOutput;
[assembly: FunctionsStartup(typeof(Startup))]
namespace QueueTriggerCosmosOutput;
public class Startup : FunctionsStartup
{
public overrid... |
src/BLL/DTOs/People/User/UserInfoDTO.cs | michalSali/InsuranceAgency | 0 | 7058648 | <reponame>michalSali/InsuranceAgency
using BLL.DTOs.Enums;
using System;
namespace BLL.DTOs.People.User
{
/// <summary>
/// DTO that is used to display user info
/// </summary>
public class UserInfoDTO : DTOBase
{
public string Name { get; set; }
public Gender Gender { get; set; }
... |
test/Serilog.Sinks.ApplicationInsights.Tests/CustomiseEventTelemetryConverterTest.cs | serilog-contrib/serilog-sinks-applicationinsights | 2 | 7058649 | <reponame>serilog-contrib/serilog-sinks-applicationinsights
using System;
using Microsoft.ApplicationInsights.DataContracts;
using Serilog.Events;
using Serilog.Sinks.ApplicationInsights.TelemetryConverters;
namespace Serilog.Sinks.ApplicationInsights.Tests;
public class CustomiseEventTelemetryConverterTest : Applic... |
Assets/Scripts/WalkTo.cs | BlazeCell/ld46-keep-the-unicorn-alive | 0 | 7058650 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WalkTo : MonoBehaviour
{
public GameObject[] goals; //
public GameObject currentGoal; //
public GameObject nextGoal; //
public int targetNumber;
public Vector3 currentTarget; //This w... |
back-end/Dtos/UserForGet.cs | leo1103/Reciclamarket | 0 | 7058651 | namespace basurapp.api.Dtos
{
public class UserForGet
{
public string username { get; set; }
public int role { get; set; }
}
} |
FileCabinetApp/Readers/FileCabinetRecordCsvReader.cs | PavelYakovlevich/FileCabinet | 0 | 7058652 | using System;
using System.Collections.Generic;
using System.IO;
namespace FileCabinetApp.Readers
{
/// <summary>
/// Class for a reading <see cref="FileCabinetRecord"/> objects from a csv file.
/// </summary>
public class FileCabinetRecordCsvReader : IFileCabinetRecordReader
{
private... |
Exercise2-SimpleCalculations/XAMClassroom/Program.cs | AscenKeeprov/Programming-Basics | 0 | 7058653 | <reponame>AscenKeeprov/Programming-Basics
using System;
namespace XAMClassroom
{
class Program
{
static void Main(string[] args)
{
var h = double.Parse(Console.ReadLine());
var w = double.Parse(Console.ReadLine());
var hSeats = Math.Truncate(h / 1.2);
var wSeats = Math.Truncate((w - 1) / 0.7);
Co... |
JCG/MainCarouselPage.cs | m-lukas/JCG | 0 | 7058654 | using System;
using Xamarin.Forms;
namespace JCG
{
public class MainCarouselPage : CarouselPage
{
public MainCarouselPage ()
{
this.Children.Add (new TimeTablePage());
this.Children.Add (new EventsPage());
this.Children.Add (new SettingsPage());
CurrentPage = this.Children [1];
this.Backgroun... |
Strings and Text Processing - Lab/01. Reverse String/ReverseString.cs | 1ooIL40/FundamentalsExtendetRepo | 0 | 7058655 | <reponame>1ooIL40/FundamentalsExtendetRepo<filename>Strings and Text Processing - Lab/01. Reverse String/ReverseString.cs
namespace _01.Reverse_String
{
using System;
using System.Collections.Generic;
using System.Linq;
public class ReverseString
{
public static void Main()
{
... |
AccountsApi/V1/UseCase/Interfaces/IGetByIdUseCase.cs | LBHackney-IT/account-api | 0 | 7058657 | <filename>AccountsApi/V1/UseCase/Interfaces/IGetByIdUseCase.cs
using AccountsApi.V1.Boundary.Response;
using System;
using System.Threading.Tasks;
namespace AccountsApi.V1.UseCase.Interfaces
{
public interface IGetByIdUseCase
{
public Task<AccountResponse> ExecuteAsync(Guid id);
}
}
|
timw255.Sitefinity.RestClient/Model/ConfigPropertyCollection.cs | timw255/timw255.Sitefinity.RestClient | 3 | 7058658 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace timw255.Sitefinity.RestClient.Model
{
public class ConfigPropertyCollection : KeyedCollection<string, ConfigProperty>
{
public ConfigPrope... |
src/System.Diagnostics.Tools/tests/System/Diagnostics/CodeAnalysis/SuppressMessageAttributeTests.cs | Realtao/corefx | 3 | 7058659 | <reponame>Realtao/corefx
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
namespace System.Diagnostics.CodeAnalysis.Tests
{
public class SuppressMessageAttributeTests
{
[Theory]
[... |
Assets/DataMesh/Samples/Collaboration/CollaborationSample.cs | DataMesh-OpenSource/SolarSystemExplor | 23 | 7058660 | <gh_stars>10-100
using System.Collections;
using UnityEngine;
using DataMesh.AR.Interactive;
using DataMesh.AR.Network;
using DataMesh.AR.UI;
using MEHoloClient.Core.Entities;
using MEHoloClient.Proto;
namespace DataMesh.AR.Samples.Collaboration
{
public enum ColorType
{
red = 0,
blue = 1,
... |
LmpClient/Systems/ShareReputation/ShareReputationMessageSender.cs | Lekashi/LunaMultiplayer | 316 | 7058661 | using LmpClient.Base;
using LmpClient.Base.Interface;
using LmpClient.Network;
using LmpCommon.Message.Client;
using LmpCommon.Message.Data.ShareProgress;
using LmpCommon.Message.Interface;
namespace LmpClient.Systems.ShareReputation
{
public class ShareReputationMessageSender : SubSystem<ShareReputationSystem>, ... |
cs-ipico-reader/TcpSockets/AsyncTcpSocketUtil.cs | chen0040/cs-ipico-reader | 2 | 7058662 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Threading;
using System.Net;
namespace IpicoReader.TcpSockets
{
public class AsyncTcpSocketUtil
{
private static int rPort;
private static ManualResetEvent connectCompl... |
src/openkit-shared/Core/Util/InetAddressValidator.cs | dlaubi-dt/openkit-dotnet | 1 | 7058663 | //
// Copyright 2018-2019 Dynatrace LLC
//
// 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 ... |
DatabaseSchemaViewer/SchemaToTreeview.cs | pshresth/dbschemareader | 276 | 7058664 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DatabaseSchemaReader.DataSchema;
namespace DatabaseSchemaViewer
{
static class SchemaToTreeview
{
private const string RightClickToScri... |
Dominion.Specs/Cards/Cellar.feature.cs | paulbatum/Dominion | 43 | 7058665 | <gh_stars>10-100
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (http://www.specflow.org/).
// SpecFlow Version:1.3.5.2
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect ... |
CouchDB.Client/Helpers/HttpClientHelper.cs | ttutisani/CouchDBClient | 6 | 7058666 | <filename>CouchDB.Client/Helpers/HttpClientHelper.cs
using Newtonsoft.Json;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace CouchDB.Client
{
internal static class HttpClientHelper
{
/// <summary>
/// Handle response as byte array.
/// </summary>
///... |
Assets/Scripts/PlayerController/PlayerController.cs | SpeedyE1780/Ability-System-Realtime | 3 | 7058667 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
[Header("Health & Shield")]
public RectTransform HealthBar;
public RectTransform ShieldBar;
public ParticleSystem HealthParticles;
[Header("Abilities")]
... |
Anno.Plugs.LogicService/Filters/Authorization.cs | staoran/Viper | 571 | 7058668 | <reponame>staoran/Viper<filename>Anno.Plugs.LogicService/Filters/Authorization.cs
using Anno.EngineData;
using Anno.EngineData.Filters;
using System;
using System.Collections.Generic;
using System.Text;
namespace Anno.Plugs.LogicService
{
/// <summary>
/// 服务权限过滤器
/// </summary>
public class Authoriza... |
VoiceRecognitionLibrary/VoiceRecognitionManager.cs | biss-git/KISS4V | 1 | 7058669 | <reponame>biss-git/KISS4V
using DataManager;
using System;
namespace VoiceRecognitionLibrary
{
public static class VoiceRecognitionManager
{
readonly static DataContent DCM = DataContent.Instance;
public static void InitializeSystemSpeech()
{
try
{
... |
Artesian/Artesian.SDK/Service/Query/Configuration/Enum.cs | JaneReilly/Artesian.SDK | 0 | 7058670 | <reponame>JaneReilly/Artesian.SDK<filename>Artesian/Artesian.SDK/Service/Query/Configuration/Enum.cs
// Copyright (c) ARK LTD. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for
// license information.
namespace Artesian.SDK.Service
{
enum ExtractionType
{
Act... |
Assets/Scripts/Editor/AssetExporterWindow.cs | CyberSys/SanAndreasUnity | 0 | 7058672 | <reponame>CyberSys/SanAndreasUnity<gh_stars>0
using UnityEditor;
using UnityEngine;
namespace SanAndreasUnity.Editor
{
public class AssetExporterWindow : EditorWindowBase
{
private Vector2 m_scrollViewPos = Vector2.zero;
private readonly AssetExporter m_assetExporter = new AssetExporter();
... |
VocaDbModel/Resources/SongValidationErrors.Designer.cs | cazzar/VocaDbTagger | 1 | 7058673 | <filename>VocaDbModel/Resources/SongValidationErrors.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
//
// Changes to this file may cause incorrect behavior and will be ... |
Assets/DataDiagram/Script/DD_DrawGraphic.cs | UnMay/BacteriaNN | 0 | 7058674 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DD_DrawGraphic : MaskableGraphic {
private int IsPointHorizontalInRect(Vector2 p, Rect rect) {
if (p.x < rect.x)
return -1;
if (p.x > (rect.x + rect.width))
... |
src/Picodex.Unity/Axiom/Plugins/Codecs/SDImageLoader.cs | objuan/picodex | 0 | 7058675 | <gh_stars>0
#region LGPL License
/*
Axiom Graphics Engine Library
Copyright © 2003-2011 Axiom Project Team
The overall design, and a majority of the core engine and rendering code
contained within this library is a derivative of the open source Object Oriented
Graphics Engine OGRE, which can be found at http://ogre.... |
PriceCalculator.Services/PriceCalculationServices/PriceCalculationService.cs | claudiu-bruma/PriceCalculator | 0 | 7058676 | using Microsoft.Extensions.Logging;
using PriceCalculator.Services.PriceCalculationStrategy;
using System;
namespace PriceCalculator.Services.PriceCalculationServices
{
public class PriceCalculationService : IPriceCalculationService
{
private readonly ILogger<PriceCalculationService> _logger;
... |
Arquivos do Projeto/SchoolFigther/Assets/Scripts/SaveData.cs | PabloXT14/Projeto_TCC-Jogo_School_Fighter | 0 | 7058677 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class SaveData : MonoBehaviour
{
public static SaveData current;
void Start()
{
}
void Update()
{
current = this;
}
public void Save()... |
Assets/Scripts/GameData.cs | Marshal666/ZR | 0 | 7058678 | <filename>Assets/Scripts/GameData.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameData : MonoBehaviour {
/// <summary>
/// Podaci potrebni za rad igre (postavke, reference, "template" objekti, grupe objekata za razne svrhe...)
/// ... |
Assets/Dissonance/Integrations/FishNet/Broadcasts/DissonanceFishNetBroadcast.cs | LambdaTheDev/DissonanceVoiceForFishNet | 4 | 7058679 | using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using Dissonance.Integrations.FishNet.Constants;
using FishNet.Broadcast;
using FishNet.Serializing;
using FishNet.Utility.Performance;
using Unity.Collections.LowLevel.Unsafe;
using UnityEngine;
namespace Dissonance.Integratio... |
ab/src/ab.Lab/Views/AB/Index.cshtml | danielcrenna/vault | 62 | 7058680 | @{
Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="vanity">
<h2>Experiments</h2>
<ul class="experiments" data-bind="foreach: experiments">
<li class="experiment ab_test">
<h3><span data-bind="text: name"></span> <span class="type" data-bind="text: type"></span></h... |
Gui/Menu/DropDownList.cs | gregory-diaz/agg-sharp | 0 | 7058681 | /*
Copyright (c) 2015, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disc... |
Example/Engine/LogEvent.cs | csinkers/VeldridCodeGen | 3 | 7058682 | <filename>Example/Engine/LogEvent.cs
namespace VeldridGen.Example.Engine
{
public class LogEvent : IEvent
{
public LogLevel Severity { get; }
public string Message { get; }
public string File { get; }
public string Member { get; }
public int? Line { get; }
publi... |
XSDSupportLib/ConsoleApp1/Program.cs | Tilovefa/XSDtoCsharpCodeGenerator | 0 | 7058683 | <filename>XSDSupportLib/ConsoleApp1/Program.cs
using System;
using System.IO;
using System.Xml.Serialization;
using ENT6Lib;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
var lib = new ENT6Lib.CCaseProjectsClass();
}
}
}
|
src/service/tdesign-dotnet-admin.api/Aggregates/RoleAgg/Command/BatchDeleteRoleCommand.cs | shapmanLv/tdesign-dotnet-admin | 0 | 7058684 | <gh_stars>0
namespace TDesignDotentAdmin.Aggregates.RoleAgg.Command;
public class BatchDeleteRoleCommand : IRequest
{
public BatchDeleteRoleCommand(long[] roleIds) => RoleIds = roleIds;
public long[] RoleIds { get; set; }
}
|
AtsEx.Core/BveHacker/BveHacker.cs | automatic9045/AtsEX | 2 | 7058685 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using HarmonyLib;
using Automatic9045.AtsEx.PluginHost;
using Automatic9045.AtsEx.PluginHost.BveTypeCollect... |
GameGraph/Common/Blocks/Collision/CollisionHandler.cs | michiruf/GameGraph | 2 | 7058686 | using System;
using GameGraph.Common.Helper;
using JetBrains.Annotations;
using UnityEngine;
namespace GameGraph.Common.Blocks
{
[GameGraph("Common/Collision")]
[UsedImplicitly(ImplicitUseTargetFlags.WithMembers)]
public class CollisionHandler : IStartHook
{
// Output
public Collision h... |
Unity.Interception.Serialization/DataContract/DataContractDefaultInterceptor.cs | pablodgonzalez/Unity.Interception.Serialization | 0 | 7058687 | // ---------------------------------------------------------------
// <autor><NAME></autor>
// <web>www.odra.com.ar</web>
// <blog>blog.odra.com.ar</blog>
// <email><EMAIL></email>
// <copyrigth>http://www.odra.com.ar/MIT.txt</copyrigth>
// ---------------------------------------------------------------
using System;... |
tests/ImageSharp.Tests/Drawing/FillRegionProcessorTests.cs | OrchardCMS/ImageSharp | 8 | 7058688 |
namespace ImageSharp.Tests.Drawing
{
using ImageSharp;
using Xunit;
using ImageSharp.Drawing;
using ImageSharp.Drawing.Processors;
using Moq;
using ImageSharp.PixelFormats;
using System;
using ImageSharp.Drawing.Pens;
using System.Numerics;
public class FillRegionProcessorTes... |
src/RabbitMQ.Next.Abstractions/Methods/IMethodRegistrationBuilder.cs | sanych-sun/RabbitMQ.Next | 7 | 7058689 | <gh_stars>1-10
namespace RabbitMQ.Next.Abstractions.Methods
{
public interface IMethodRegistrationBuilder<TMethod>
where TMethod : struct, IMethod
{
IMethodRegistrationBuilder<TMethod> HasContent();
IMethodRegistrationBuilder<TMethod> Use(IMethodParser<TMethod> parser);
IMethod... |
Operators/Types/ContextFloat.cs | still-scene/t3 | 23 | 7058690 | using System;
using T3.Core.Logging;
using T3.Core.Operator;
using T3.Core.Operator.Attributes;
using T3.Core.Operator.Slots;
namespace T3.Operators.Types.Id_e6072ecf_30d2_4c52_afa1_3b195d61617b
{
public class ContextFloat : Instance<ContextFloat>
{
[Output(Guid = "e368ba33-827e-4e08-aa19-ba894b40906a"... |
SimplePathSelector/ClassEqualityComparer.cs | zahnom/SimplePathSelector | 1 | 7058691 | <filename>SimplePathSelector/ClassEqualityComparer.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimplePathSelectorNamespace
{
public class ClassEqualityComparer : IEqualityComparer<object>
{
public new bo... |
C# Web Developer/C# Advanced/C# OOP/05.Polymorphism/Exercise/P03_WildFarm/Models/Animals/Dog.cs | radrex/SoftuniCourses | 7 | 7058692 | namespace P03_WildFarm.Models.Animals
{
using Models.Foods;
using System;
using System.Collections.Generic;
public class Dog : Mammal
{
//-------------- Constants -----------------
private const double DogWeightMultiplier = 0.40;
//------------- Constructors --------------... |
Chapter10/Chapter10.Lib/Activity01.cs | PacktWorkshops/The-C-Sharp-Workshop | 3 | 7058693 | <filename>Chapter10/Chapter10.Lib/Activity01.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace Chapter10.Lib
{
public class BankAccount
{
public BankAccount(double openingBalance)
=> OpeningBalance = openingBalance;
public double OpeningBalance { get;... |
test/Tester/OneWayDeactivationTests.cs | oising/orleans | 1 | 7058694 | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Orleans;
using Orleans.Configuration;
using Orleans.Configuration.Internal;
using Orleans.Hosting;
using Orleans.Runtime.GrainDirectory;
using Orleans.TestingHost;
using TestExtensions;
using UnitTests.G... |
Scripts/Builder/BuildingObject.cs | nothingTVatYT/ProceduralStructures | 2 | 7058695 | <reponame>nothingTVatYT/ProceduralStructures<filename>Scripts/Builder/BuildingObject.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ProceduralStructures {
public class BuildingObject {
public Vector3 position = Vector3.zero;
public Quaterni... |
src/AddIns/Misc/PackageManagement/Test/Src/VisualStudio/VsSolutionTests.cs | nylen/SharpDevelop | 1 | 7058696 | <gh_stars>1-10
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.PackageManagement.Design;
using ICSharpCode.PackageManagement.VisualStudio;
usi... |
src/ObjectLayoutInspector.Tests/Structs/ExplicitLayoutNoOverlapStruct.cs | 1996v/ObjectLayoutInspector | 487 | 7058697 | using System.Runtime.InteropServices;
namespace ObjectLayoutInspector.Tests
{
[StructLayout(LayoutKind.Explicit)]
public struct ExplicitLayoutNoOverlapStruct
{
[FieldOffset(0)]
public float one;
[FieldOffset(10)]
public long two;
}
}
|
Controllers/DashboardLayout/APIController.cs | ESA-Security-Group/ej2-aspnetmvc-samples | 0 | 7058698 | <filename>Controllers/DashboardLayout/APIController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace EJ2MVCSampleBrowser.Controllers
{
public partial class DashboardLayoutController : Controller
{
// GET: API
public ActionR... |
BUG95/UAIC.RealEstateAgency/UAIC.RealEstateAgency.Lib/Estates/Apartment.cs | BUG95/tap2020-t01 | 0 | 7058699 | using UAIC.RealEstateAgency.EstatesBase;
namespace UAIC.RealEstateAgency.Estates
{
public class Apartment : EstateAgency
{
public Apartment(decimal base_price) : base("Apartment", base_price) { }
}
}
|
Source/Orion/NukeFX.cs | RafaelDominiquini/ProjectOrion | 0 | 7058700 | using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace Orion
{
class NukeFX : MonoBehaviour
{
public KSPParticleEmitter[] PEmitters { get; set; }
public Light LightFx { get; set; }
public float StartTime { get; set; }
public float BlastRadius { get; set; }
public f... |
Public/Src/Engine/UnitTests/ExternalToolTests/RemoteExecutionTests.cs | DamGouz/BuildXL | 0 | 7058701 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using BuildXL.Pips.Builders;
using BuildXL.Processes.Remoting;
using Test.BuildXL.Executables.TestProcess;
using Test.BuildXL.Scheduler;
using Test.BuildXL.TestUtilities.Xunit;
using Xu... |
MessageForwarding/HandlerHelper/ICommandHandlerHelper.cs | SoMeDay-Zhang/MessageForwarding | 0 | 7058702 | using System;
using System.Collections.Generic;
namespace MessageForwarding.HandlerHelper
{
/// <summary>
/// Command 帮助接口
/// </summary>
public interface ICommandHandlerHelper
{
/// <summary>
/// 获取 Command 处理类型
/// </summary>
/// <returns></returns>
IEnume... |
src/SDKs/Automation/Management.Automation/Customization/SoftwareUpdateConfigurationRunsOperationsExtensions.cs | juniwang/azure-sdk-for-net | 1 | 7058703 | namespace Microsoft.Azure.Management.Automation
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Management.Automation.Models;
using System;
/// <summary>
/// Extension methods for SoftwareUpdateConfigurationRunsOperations.
/// </summary>
public static par... |
src/Bonsai/Code/Infrastructure/Attributes/ConfigurableRequestSizeLimitFilter.cs | Katarn/bonsai | 183 | 7058704 | <reponame>Katarn/bonsai<gh_stars>100-1000
using System;
using Bonsai.Code.Services.Config;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace Bonsai.Code.Infrastructure.Attributes
{
/// <summary>
/// A filter that sets <see cref="IHttpMa... |
PlatformRacing3.Web/Responses/Procedures/DataAccessGetMyLevels2Response.cs | aromaa/Platform-Racing-3-Backend | 0 | 7058705 | using PlatformRacing3.Common.Level;
namespace PlatformRacing3.Web.Responses.Procedures;
public class DataAccessGetMyLevels2Response : DataAccessDataResponse<LevelData>
{
private DataAccessGetMyLevels2Response()
{
}
public DataAccessGetMyLevels2Response(IReadOnlyCollection<LevelData> levels)
{
this.Rows = ne... |
Public/Src/Cache/ContentStore/DistributedTest/MetadataService/ContentMetadataEventLogTests.cs | miniksa/BuildXL | 328 | 7058706 | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics.ContractsLight;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;... |
src/Machine.Specifications.Runner.ReSharper.Tests/TestAgentManagerHost.cs | machine/machine.specifications.runner.resharper | 19 | 7058707 | <reponame>machine/machine.specifications.runner.resharper
using JetBrains.Application.Components;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.TestRunner.Abstractions.Isolation;
using JetBrains.ReSharper.UnitTestFramework.Execution.TestRunner;
using Machine.Specifications.Runner.ReSharper.Runner;
namespace... |
Source/Core/Resource/Cv_SpriteFontResource.cs | jocamar/Caravel | 6 | 7058708 | <filename>Source/Core/Resource/Cv_SpriteFontResource.cs
using System;
using System.IO;
using Caravel.Debugging;
using Microsoft.Xna.Framework.Graphics;
namespace Caravel.Core.Resource
{
public class Cv_SpriteFontResource : Cv_Resource
{
public class Cv_SpriteFontData : Cv_ResourceData
{
... |
src/Prima.Stable/Modules/RunModule.cs | PrimaShouji/Prima2 | 0 | 7058709 | using Discord;
using Discord.Commands;
using Prima.DiscordNet.Attributes;
using Prima.Resources;
using Prima.Services;
using Prima.Stable.Services;
using Serilog;
using System;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Prima.Stable.Modules
{
[Name("Run")]
... |
camunda-bpm-platform-net/engine-rest/engine-rest/src/test/java/org/camunda/bpm/engine/rest/history/HistoricCaseInstanceRestServiceInteractionTest.cs | luizfbicalho/Camunda.NET | 6 | 7058710 | <gh_stars>1-10
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
... |
src/PlatformEssentials/PlatformModuleCreator.cs | sizilium/Mosaic | 1 | 7058711 | <filename>src/PlatformEssentials/PlatformModuleCreator.cs
/* Copyright 2017 Cimpress
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 a... |
Assets/Scripts/Enemy/SimpleWalkEnemyMovement.cs | FridayNightGameJam/UnityMechanicsWithJustin | 0 | 7058712 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SimpleWalkEnemyMovement : MonoBehaviour, IEnemyMovement
{
[Header("Configuration")]
[SerializeField] protected Rigidbody2D Rigidbody2D;
[Header("Configuration")]
[SerializeField] private int Direct... |
NCaptcha/Utils/WavesFilter.cs | x2bool/NCaptcha | 17 | 7058713 | //
// WavesFilter.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2014 <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 limit... |
MVCApp.Presentation/Controllers/AccountController.cs | Serfin/MVCApp | 0 | 7058714 | <gh_stars>0
using System;
using System.Threading.Tasks;
using System.Web.Mvc;
using MVCApp.Core.Enums;
using MVCApp.Infrastructure.Interfaces;
namespace MVCApp.Presentation.Controllers
{
public class AccountController : Controller
{
public async Task<ActionResult> Index()
{
//await... |
Site/YourLife/YourLife/DAO/RankingDAO.cs | GabrielleBarbosa/ProjetoPraticaII | 0 | 7058715 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.EntityFrameworkCore;
using YourLife.Models;
namespace YourLife.DAO
{
public class RankingDAO
{
public void Adiciona(int pontos, string nickname)
{
Ranking rk = new Ranking();
... |
src/War3Net.Runtime.Api.Common/Enums/Object/AbilityStringFieldApi.cs | YakaryBovine/War3Net | 70 | 7058716 | <filename>src/War3Net.Runtime.Api.Common/Enums/Object/AbilityStringFieldApi.cs
// ------------------------------------------------------------------------------
// <copyright file="AbilityStringFieldApi.cs" company="Drake53">
// Licensed under the MIT license.
// See the LICENSE file in the project root for more infor... |
LivePreview/RusticExpression/Evaluators/StackReference.cs | ezaca/rustic-expression | 0 | 7058717 | using System;
namespace ExpressionStack.RusticExpression.Evaluators
{
class StackReference : RusticValueEvaluator
{
public RusticStack stack { get; }
public StackReference(RusticStack stack)
{
this.stack = stack;
}
public override object GetValue() => stack... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.