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 |
|---|---|---|---|---|
Alpha-Stage-Subprojects/CCTP-Subproject-Gravity-Changing-Scale-Puzzler/Assets/Scripts/Gameplay/ScalingEffect.cs | GoatBandit/CCTP-Sub-Project-Beginning | 0 | 7035396 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScalingEffect : MonoBehaviour
{
private Transform targetObject; // The transform for the target interactible object
// INSPECTOR VARIABLES
[Tooltip ("The layer of the interactible objects.")]
public LayerMask i... |
PartsLibrary/PartObjects/BodyObject/FrontLightsTransform.cs | KillzXGaming/MK8-Parts-Bin-Converter | 1 | 7035397 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Syroot.NintenTools.MarioKart8.BinData;
using Syroot.NintenTools.MarioKart8.BinData.Parts;
namespace PartsEditor
{
public class FrontLightsTransform
{
[PartParam(Sect... |
source/MikhailKhalizev.Max/source/Program/Auto/z-1011-bfbf.cs | mikhail-khalizev/max | 3 | 7035398 | <gh_stars>1-10
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x1011_bfbf-2dbb8297")]
public void Method_1011_bfbf()
{
ii(0x1011_bfbf, 5); push(0x44); ... |
PixiEditor/Models/DataHolders/DocumentSizeChangedEventArgs.cs | marce1994/PixiEditor | 432 | 7035399 | namespace PixiEditor.Models.DataHolders
{
public class DocumentSizeChangedEventArgs
{
public DocumentSizeChangedEventArgs(int oldWidth, int oldHeight, int newWidth, int newHeight)
{
OldWidth = oldWidth;
OldHeight = oldHeight;
NewWidth = newWidth;
... |
CSharp Advanced/Stacks and Queues - Exercise/06. Truck Tour/Program.cs | stoyanovmiroslav/CSharp-Fundamentals | 0 | 7035400 | using System;
using System.Collections.Generic;
using System.Linq;
namespace _06._Truck_Tour
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
Queue<int[]> queue = new Queue<int[]>();
for (int i = 0; i < n; i++)
... |
Lib/Algorithms/BubbleSort.cs | andrei-galkin/Structures-and-Algorithms | 0 | 7035401 | namespace Algorithms
{
public class BubbleSort
{
/// <summary>
/// Bubble Sort
/// </summary>
public static void Sort(int[] array)
{
Sort(array, array.Length - 2);
}
private static void Sort(int[] array, int size)
{
if (si... |
The RegnAnt/Assets/Scripts/DialogueManager/StageFollow.cs | 11-VRapp/VR-project | 0 | 7035402 | <filename>The RegnAnt/Assets/Scripts/DialogueManager/StageFollow.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
public class StageFollow : MonoBehaviour
{
public GameObject imageBox;
public Text nameText;
public Text answer;
public string answer_... |
src/MarketDataViewer.Controls/Views/IAddSymbolView.cs | creatinnovator/wpf-market-data-viewer | 0 | 7035403 | <gh_stars>0
using System.Windows;
namespace MarketDataViewer.Controls.Views
{
public interface IAddSymbolView
{
Visibility Visibility { get; set; }
void SetSymbol(string symbol);
}
}
|
Matcha.Validation/Matcha.Validation/UrlRule.cs | winstongubantes/MatchaValidation | 3 | 7035404 | using System.Text.RegularExpressions;
namespace Matcha.Validation
{
public class UrlRule : ValidationRule<string>
{
public UrlRule(string propertyName) : base(propertyName)
{
ValidationMessage = "Invalid Url";
}
protected override bool CheckValue(string value)
... |
UnitTests/Backtracking/GenerateParentheses.cs | YLiohenki/leetcodeinterviewquestions | 0 | 7035405 | using leetcodeinterviewquestions.Backtracking;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace UnitTests.Backtracking
{
public class TestsGenerateParentheses
{
private GenerateParentheses solution;
[SetUp]
public void Setup()
... |
code/DeltaKustoIntegration/Parameterization/SourceParameterization.cs | mikelapierre/delta-kusto | 24 | 7035406 | using DeltaKustoLib;
using System;
using System.Linq;
namespace DeltaKustoIntegration.Parameterization
{
public class SourceParameterization
{
public AdxSourceParameterization? Adx { get; set; } = null;
public SourceFileParametrization[]? Scripts { get; set; } = null;
int... |
Assets/Doozy/Engine/UI/UIView/Internal/UIViewCategoryName.cs | MikeMuorte/GGJ-2021 | 1 | 7035407 | // Copyright (c) 2015 - 2020 Doozy Entertainment. All Rights Reserved.
// This code can only be used under the standard Unity Asset Store End User License Agreement
// A Copy of the EULA APPENDIX 1 is available at http://unity3d.com/company/legal/as_terms
using System;
using Doozy.Engine.UI.Base;
// ReSharper disable... |
GyroDroid/Scripts/Sensor.cs | Mastercava/chicago-ar | 0 | 7035408 | <filename>GyroDroid/Scripts/Sensor.cs<gh_stars>0
// #######################################
// ---------------------------------------
// ---------------------------------------
// prefrontal cortex -- http://prefrontalcortex.de
// ---------------------------------------
// Full Android Sensor Access for Unity3D
// ---... |
MobaHeros.Spawners/CreepSpawner.cs | moto2002/mobahero_src | 4 | 7035409 | <filename>MobaHeros.Spawners/CreepSpawner.cs
using Com.Game.Data;
using Com.Game.Manager;
using Com.Game.Module;
using Com.Game.Utils;
using MobaFrame.SkillAction;
using MobaHeros.Pvp;
using MobaProtocol.Data;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
... |
src/PropCalc/calc.cs | tolik-punkoff/proportion-calc | 0 | 7035410 | <reponame>tolik-punkoff/proportion-calc
using System;
using System.Collections.Generic;
using System.Text;
using System.Globalization;
namespace PropCalc
{
public static class calc
{
public static string ErrorMessage { get; private set; }
private static double? ToDouble(string Number)
... |
benchmark/MediatR.Extensions.Rpc.Functions.Benchmark/Requests/RequestFactory.cs | Kimmen/MediatR-RPC | 1 | 7035412 | using System;
using System.Collections.Generic;
using System.Linq;
namespace MediatR.Rpc.Functions.Benchmark.Requests
{
public class RequestFactory
{
private Dictionary<Type, object> requests;
public RequestFactory()
{
this.requests = RequestTypeScanner
.Fi... |
src/OmniSharp/Startup.cs | filipw/omnisharp-roslyn | 0 | 7035413 | using System;
using System.Collections.Generic;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Diagnostics;
using Microsoft.AspNet.Mvc;
using Microsoft.Framework.Cache.Memory;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Logging;
using M... |
src/Titan.Windows/D3D12/ID3D12Fence.cs | Golle/Titan | 4 | 7035414 | using System;
using System.Runtime.CompilerServices;
namespace Titan.Windows.D3D12;
public unsafe struct ID3D12Fence
{
public static readonly Guid UUID = new("0a753dcf-c4d8-4b91-adf6-be5a60d95a76");
private void** _vtbl;
//HRESULT(STDMETHODCALLTYPE* QueryInterface)(
//ID3D12Fence* This,
//REFIID ... |
packages/ComponentSpace SAML v2.0 for .NET/Examples/SSO/LowLevelAPI/Salesforce/SalesforceIdP/Login.aspx.cs | sergey128/HRI-Umbraco | 0 | 7035415 | <reponame>sergey128/HRI-Umbraco
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
namespace SalesforceIdP {... |
RestSharp.Portable.Microsoft.OneDrive/Model/ItemReference.cs | FubarDevelopment/RestSharp.Portable.Microsoft.OneDrive | 4 | 7035416 | // <copyright file="ItemReference.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RestSharp.Portable.Microsoft.OneDrive.Model
{
/// <summary>
/// T... |
test/Microsoft.AspNetCore.OData.TestCommon/Values/ODataObject.cs | ehtick/AspNetCoreOData | 223 | 7035417 | //-----------------------------------------------------------------------------
// <copyright file="ODataObject.cs" company=".NET Foundation">
// Copyright (c) .NET Foundation and Contributors. All rights reserved.
// See License.txt in the project root for license information.
// </copyright>
//-------------... |
Cake.Core/Configuration/SetupServices.cs | CakeAndBanana/Cake | 2 | 7035418 | using Cake.Core.Discord.Services;
using Microsoft.Extensions.DependencyInjection;
namespace Cake.Core.Configuration
{
public class SetupServices : ISetupServices
{
public ServiceCollection ReturnProvider()
{
var services = new ServiceCollection();
services.AddSingleton<... |
TeraPacketParser/TeraCommon/PacketLog/Parsing/BlockSplitter.cs | Roukanken42/Tera-custom-cooldowns | 91 | 7035419 | // Copyright (c) Gothos
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
namespace TeraPacketParser.TeraCommon.PacketLog.Parsing
{
internal class BlockSplitter
{
public event Action<int, int>? Resync;
public e... |
VkNet/Enums/AdStatus.cs | n0namer/vk | 0 | 7035420 | namespace VkNet.Enums
{
/// <summary>
/// Cтатус объявления.
/// </summary>
public enum AdStatus
{
/// <summary>
/// Объявление остановлено
/// </summary>
Stopped = 0,
/// <summary>
/// Объявление запущено
/// </summary>
Active,
/// <summary>
/// Объявление удалено
/// </summary>
Deleted
}... |
source/DefaultEcs/Technical/Serialization/TextSerializer/ComponentTypeWriter.cs | smolen89/DefaultEcs | 0 | 7035421 | <reponame>smolen89/DefaultEcs
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using DefaultEcs.Serialization;
namespace DefaultEcs.Technical.Serialization.TextSerializer
{
internal sealed class ComponentTypeWriter : IComponentTypeReader
{
#region Fields
... |
ThePicturesOfChaos/MainForm.Designer.cs | StefanescuEduard/ThePicturesOfChaos | 0 | 7035422 | <gh_stars>0
namespace ThePicturesOfChaos
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... |
Assets/Standard Assets/VoxelBusters/NativePlugins/Plugins/Features/Sharing/Binding/iOS/SharingIOS.Mail.Events.cs | orochii/repositorio-pruebas89 | 0 | 7035423 | using UnityEngine;
using System.Collections;
#if USES_SHARING && UNITY_IOS
namespace VoxelBusters.NativePlugins
{
public partial class SharingIOS : Sharing
{
private enum eMFMailComposeResult
{
CANCELLED,
SAVED,
SENT,
FAILED
}
}
}
#endif |
src/Network/Network/LoadBalancer/GetAzureLoadBalancerBackendPool.cs | mbentancour/azure-powershell | 3,336 | 7035424 | // ----------------------------------------------------------------------------------
//
// 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 at
// http://ww... |
API/Dtos/Product/ProductAdditionalInfoDto.cs | ZakariaDjebbes/DzTechly | 0 | 7035425 | <gh_stars>0
namespace API.Dtos.Product
{
public class ProductAdditionalInfoDto
{
public int Id { get; set; }
public int AdditionalInfoNameId { get; set; }
public string AdditionalInfoName { get; set; }
public string Unit { get; set; }
public string AdditionalInfoValue { g... |
src/FlubuCore/Tasks/Docker/Trust/DockerTrustSignTask.cs | jenzy-forks/flubu.core | 606 | 7035426 | <reponame>jenzy-forks/flubu.core<gh_stars>100-1000
//-----------------------------------------------------------------------
// <auto-generated />
//-----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Context;
using ... |
Monaco.PathTree/Abstractions/IPathTree.cs | stevemonaco/Monaco.PathTree | 1 | 7035428 | <gh_stars>1-10
using Monaco.PathTree.Abstractions;
namespace Monaco.PathTree
{
public interface IPathTree<TNode, TItem>
where TNode : IPathNode<TNode, TItem>
{
/// <summary>
/// Root of the tree
/// </summary>
TNode Root { get; set; }
/// <summary>
/// ... |
src/App/Gui/Controls/ProcessInfoView.xaml.cs | PolarGoose/ShowWhatProcessLocksFile | 17 | 7035429 | <reponame>PolarGoose/ShowWhatProcessLocksFile<gh_stars>10-100
using System.Windows.Controls;
namespace ShowWhatProcessLocksFile.Gui.Controls
{
public partial class ProcessInfoView : UserControl
{
public ProcessInfoView()
{
InitializeComponent();
}
}
}
|
Meridian/Interfaces/IAudio.cs | Stealth2012/meridian-uwp | 19 | 7035430 | using System;
namespace Meridian.Interfaces
{
/// <summary>
/// Audio
/// </summary>
public interface IAudio
{
/// <summary>
/// Id
/// </summary>
string Id { get; set; }
/// <summary>
/// Owner id
/// </summary>
string OwnerId { get... |
src/Elasticsearch.Net/Serialization/ElasticsearchSerializerExtensions.cs | mouseflow/elasticsearch-net | 1 | 7035431 | using Elasticsearch.Net.Extensions;
namespace Elasticsearch.Net
{
public static class ElasticsearchSerializerExtensions
{
/// <summary>
/// Extension method that serializes an instance of <typeparamref name="T"/> to a byte array.
/// </summary>
public static byte[] SerializeToBytes<T>(
this IElasticsearch... |
AsusAuraEffect/MainWindow.xaml.cs | kureha/asus-aura-effect-gpu-tempature | 0 | 7035432 | using AsusAuraEffect.monitor;
using AsusAuraEffect.output;
using AsusAuraEffect.utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
... |
src/Elvanto.Net/Core/BaseResponse.cs | scleaver/Elvanto.Net | 0 | 7035433 | using Newtonsoft.Json;
namespace Elvanto.Net.Core
{
public abstract class BaseResponse
{
[JsonProperty("generated_in")]
public double GeneratedIn { get; set; }
[JsonProperty("status")]
public string Status { get; set; }
}
}
|
TtsIrcClient/Model/Schema/BotSpecialUser.cs | icecreamdatabase/TtsIrcClient | 0 | 7035434 | using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
using Microsoft.EntityFrameworkCore;
namespace TtsIrcClient.Model.Schema
{
[SuppressMessage("ReSharper", "MemberCanBePrivate.Global")]
[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global")]
[SuppressMessage("R... |
Assets/Scripts/VFX/UnitVFXManager.cs | rin6321910/Github-GameOff-2021 | 0 | 7035435 | using UnityEngine;
public class UnitVFXManager : MonoBehaviour
{
private EventProcessor _unitEventHandler; // Internal event handler
private SpriteRenderer _unitSprite;
private Material _defaultMaterial;
[SerializeField] private Material highlightMaterial;
[SerializeField] private Material dissolve... |
end_project/Assets/MobileInput/Scripts/TouchJoystick.cs | googlecodelabs/cast-unity-plugin | 15 | 7035436 | <filename>end_project/Assets/MobileInput/Scripts/TouchJoystick.cs<gh_stars>10-100
/*
* Copyright 2015 Google Inc. 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.
* You may obtain a copy of the License at
*... |
Controller/Villains/Tiamat/CharacterCards/ElementalHydra/HydraWindTiamatCharacterCardController.cs | qoala/CauldronMods | 0 | 7035437 | using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
using System;
using System.Collections;
namespace Cauldron.Tiamat
{
public class HydraWindTiamatCharacterCardController : HydraTiamatCharacterCardController
{
public HydraWindTiamatCharacterCardController(Card card,... |
Platforms/Shared/Orbital.Video/ShaderEffect.cs | YairHalberstadt/Orbital-Framework | 0 | 7035438 | using System;
using System.IO;
using Orbital.IO;
namespace Orbital.Video
{
[Flags]
public enum ShaderEffectResourceUsage
{
/// <summary>
/// Vertex Shader
/// </summary>
VS = 1,
/// <summary>
/// Pixel Shader
/// </summary>
PS = 2,
/// <summary>
/// Hull Shader
/// </summary>
HS = 4,
/... |
YiSha.Util/YsSha.Dingtalk/DingTalk/Request/OapiSmartdeviceFacegroupCreateRequest.cs | lee890720/YiShaAdmin | 2 | 7035439 | using System;
using System.Collections.Generic;
using Top.Api.Util;
using Top.Api;
using Top.Api.DingTalk;
namespace DingTalk.Api.Request
{
/// <summary>
/// TOP API: dingtalk.oapi.smartdevice.facegroup.create
/// </summary>
public class OapiSmartdeviceFacegroupCreateRequest : BaseDingTalkRequest<DingT... |
Src/Application/Catalog/Railways/GetRailwaysList/GetRailwaysListOutput.cs | CarloMicieli/dotnetcore-clean-architecture | 1 | 7035440 | using System.Collections.Generic;
using TreniniDotNet.Common.Data.Pagination;
using TreniniDotNet.Common.UseCases.Boundaries.Outputs;
using TreniniDotNet.Domain.Catalog.Railways;
namespace TreniniDotNet.Application.Catalog.Railways.GetRailwaysList
{
public sealed class GetRailwaysListOutput : IUseCaseOutput
{... |
HLife/obj/Debug/MainWindow.g.i.cs | Tragedian-HLife/HLife | 0 | 7035441 | #pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A742AD9CD506E220017E060CCDDB2503"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to... |
Torch/Managers/DependencyManager.cs | N1Ran/Torch | 131 | 7035442 | <reponame>N1Ran/Torch
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using NLog;
using Torch.API.Managers;
namespace Torch.Managers
{
public sealed class DependencyManager : IDependencyManager
{
private static readonly Logger _log ... |
Tuxboard.Core/Domain/Entities/Widget.cs | weedkiller/Tuxboard | 14 | 7035443 | <filename>Tuxboard.Core/Domain/Entities/Widget.cs
using System.Collections.Generic;
namespace Tuxboard.Core.Domain.Entities
{
public partial class Widget
{
public Widget()
{
DashboardDefaultWidgets = new HashSet<DashboardDefaultWidget>();
WidgetDefaults = new HashSet<Wi... |
GCL/Bean/Middler/CreaterParameters.cs | baibing0004/GCL | 1 | 7035444 | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Reflection;
using GCL.IO.Config;
namespace GCL.Bean.Middler {
/// <summary>
/// 主要用于给生成者类提供各项参数
/// </summary>
public class CreaterParameters : IClosable {
private Li... |
Katkooti/EduSyriaApp/Assets/WordsFactory/_Scripts/UIManager.cs | Megapop/Norad-Eduapp4syria | 0 | 7035445 | <reponame>Megapop/Norad-Eduapp4syria
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class UIManager : MonoBehaviour {
public Text TimeText,LivesText,WordText,MainWord,CurrentletterText,StartMessage;
public Button Discard,Accept;
public GameObject Succcess;
public GameObject ... |
Vars.cs | Lynext/Jagger | 0 | 7035446 | <filename>Vars.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jagger
{
public static class Vars
{
public static string version = "v0.1";
public static string folderPath = "";
public static Main... |
PataNext.Simulation.Mixed/Network/Snapshots/Units/UnitDisplayedEquipmentSnapshot.cs | guerro323/patanext | 7 | 7035447 | using GameHost.Injection;
using GameHost.Revolution.NetCode;
using GameHost.Revolution.Snapshot.Serializers;
using GameHost.Revolution.Snapshot.Systems;
using GameHost.Revolution.Snapshot.Utilities;
using GameHost.Simulation.Utility.Resource;
using JetBrains.Annotations;
using PataNext.Module.Simulation.Components.Uni... |
U3D Client/Assets/GameMain/Scripts/Entity/CharacterMotion/CharacterMotion.AttackState.cs | CherryGameStudio/2D-Demo | 0 | 7035448 | <reponame>CherryGameStudio/2D-Demo
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Cherry
{
public sealed partial class CharacterMotion
{
private sealed class AttackState : StateBase
{
}
}
}
|
EShop.FrontEnd.Core/Configuration/WebConfigApplicationSettings.cs | michael2xiang/EShop.FrontEnd | 0 | 7035449 | using System;
using System.Configuration;
namespace EShop.FrontEnd.Core.Configuration
{
public class WebConfigApplicationSettings : IApplicationSettings
{
public string LoggerName
{
get { return ConfigurationManager.AppSettings["LoggerName"]; }
}
public string Numb... |
OpenWebToken/AZURE.API.OWTSERVICE/Controllers/OwtController.cs | alexphung/OpenWebToken | 0 | 7035450 | <reponame>alexphung/OpenWebToken<gh_stars>0
using AZURE.API.OWTSERVICE.Filter;
using AZURE.API.OWTSERVICE.Models;
using AZURE.API.OWTSERVICE.Utilities;
using Microsoft.IdentityModel.Tokens;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IdentityM... |
src/SFA.DAS.ProviderApprenticeshipsService.Application/Commands/DeleteRegisteredUser/DeleteRegisteredUserCommand.cs | uk-gov-mirror/SkillsFundingAgency.das-providerapprenticeshipsservice | 2 | 7035451 | <reponame>uk-gov-mirror/SkillsFundingAgency.das-providerapprenticeshipsservice<gh_stars>1-10
using MediatR;
namespace SFA.DAS.ProviderApprenticeshipsService.Application.Commands.DeleteRegisteredUser
{
public class DeleteRegisteredUserCommand: IRequest
{
public string UserRef { get; set; }
}
}
|
HealthCrossplatform.Core/Models/UserInfo.cs | wwwhackcom/HealthCrossplatform | 1 | 7035452 | using System;
namespace HealthCrossplatform.Core.Models
{
public class UserInfo
{
//basic information
public string Id { get; set; }
public string DOB { get; set; }
public string Gender { get; set; }
//health information
public float Height { get; set; }
... |
Assets/Editor/TravellingSalesman_GA/Window/GAWindow.Inspector.cs | Shkarface/Generic-Genetic-Algorithm | 0 | 7035453 | using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace KurdifyEditor.GA
{
public partial class GAWindow
{
static Rect InspectorRect;
static Vector2 InspectorScrollPosition;
static float InspectorScrollHeight;
private string[]... |
Roguelike2/GameMechanics/PlayerController.cs | AnotherEpigone/rl2 | 0 | 7035454 | <gh_stars>0
using Roguelike2.Entities;
using Roguelike2.GameMechanics.Time;
using SadConsole.Input;
using SadRogue.Primitives;
namespace Roguelike2.GameMechanics
{
public sealed class PlayerController : IPlayerController
{
private readonly DungeonMaster _dm;
private readonly TurnManager _turnM... |
CSF.Validation/ValidatorBuilding/RuleBuilderFactory.cs | csf-dev/CSF.Validation | 0 | 7035455 | <reponame>csf-dev/CSF.Validation<filename>CSF.Validation/ValidatorBuilding/RuleBuilderFactory.cs<gh_stars>0
using System;
namespace CSF.Validation.ValidatorBuilding
{
/// <summary>
/// A factory service which gets a <see cref="RuleBuilder{TRule}"/> from a specified
/// context and rule definition action.
... |
src/WooCommerceAccess/WooCommerceFactory.cs | skuvault/wooCommerceAccess | 0 | 7035456 | using WooCommerceAccess.Configuration;
using WooCommerceAccess.Services.Orders;
using WooCommerceAccess.Services.Products;
using WooCommerceAccess.Services.SystemStatus;
using WooCommerceAccess.Throttling;
namespace WooCommerceAccess
{
public class WooCommerceFactory : IWooCommerceFactory
{
public IWooC... |
src/Backend/Jp.Database/Identity/IdentityUserManager.cs | abdullahgb/JPProject.IdentityServer4.SSO | 0 | 7035457 | <reponame>abdullahgb/JPProject.IdentityServer4.SSO
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using JPProject.Sso.AspNetIdentity.Models.Identity;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace... |
Nop.Core/Domain/Customers/CustomerAddressMapping.cs | zbjlala/MyNop | 3 | 7035458 | using Nop.Core.Domain.Common;
using System;
using System.Collections.Generic;
using System.Text;
namespace Nop.Core.Domain.Customers
{
/// <summary>
/// Represents a customer-address mapping class
/// 表示客户地址映射类
/// </summary>
public partial class CustomerAddressMapping : BaseEntity
{
/... |
C# Web Developer/C# DB/02.Entity Framework Core/05.Entity Relations/Lab/Cars.Data/Migrations/20191130013151_UpdateMigration.cs | radrex/SoftuniCourses | 7 | 7035459 | <filename>C# Web Developer/C# DB/02.Entity Framework Core/05.Entity Relations/Lab/Cars.Data/Migrations/20191130013151_UpdateMigration.cs
using Microsoft.EntityFrameworkCore.Migrations;
namespace Cars.Data.Migrations
{
public partial class UpdateMigration : Migration
{
protected override void Up(Migrat... |
Technology Fundamentals/Programming Fundamentals - May 2017/Old Exams/03. Exam Preparation III/02. Command Interpreter/CommandInterpreter.cs | ilyogri/SoftUni | 4 | 7035461 | <filename>Technology Fundamentals/Programming Fundamentals - May 2017/Old Exams/03. Exam Preparation III/02. Command Interpreter/CommandInterpreter.cs
namespace _02.Command_Interpreter
{
using System;
using System.Collections.Generic;
using System.Linq;
public class CommandInterpreter
{
pu... |
Gov.News.WebApp/Views/Newsletters/Edition.cshtml | andrelashley/gcpe-news-webapp | 0 | 7035462 | <filename>Gov.News.WebApp/Views/Newsletters/Edition.cshtml
@using Gov.News.Website.Models
@model NewsletterViewModel
<div class="newsletters">
<h3><a href=@string.Format("../{0}", Model.Newsletter.Key)>@Model.Newsletter.Name</a></h3>
<h2>Edition: @Model.Edition.Name</h2>
<div class="home-features">
... |
0x09-csharp-linear_algebra/6-vector_addition/6-vector_addition.cs | Rode1o/holbertonschool-csharp-main | 3 | 7035463 | <gh_stars>1-10
using System;
/// <summary>This is the class object.</summary>
class VectorMath
{
/// <summary>This is the class object.</summary>
public static double[] Add(double[] vector1, double[] vector2)
{
double[] sum = new double[2];
int i;
if (vector1.Length != vector2.Le... |
src/toofz.NecroDancer/Data/NecroDancerDataReader.cs | leonard-thieu/toofz-necrodancer-core | 1 | 7035464 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using Humanizer;
using log4net;
namespace toofz.NecroDancer.Data
{
internal sealed class NecroDancerDataReader
{
#region Static Members
private static readonly ILog Log... |
highsunMobileOA/WebSite.Comman/StringHelper.cs | yudawei1230/angular.net | 0 | 7035465 | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.IO;
namespace WebSite.Comman
{
public class StringHelper
{
/// <summary>
/// 把数组转换为字符,以逗号分开
/// </summary>
/// <param name="strs"></param>
/// <returns>... |
Properties/AssemblyInfo.cs | philippbeckmann/SolGen | 0 | 7035466 | <reponame>philippbeckmann/SolGen<filename>Properties/AssemblyInfo.cs
#region Copyright MIT License
/*
* Copyright © 2008 <NAME> and <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 th... |
src/decorator/StarbuzzCoffee/Program.cs | EugenieAmalfitano/design-patterns | 0 | 7035467 | <filename>src/decorator/StarbuzzCoffee/Program.cs
using System;
using StarbuzzCoffee.Components;
using StarbuzzCoffee.Decorators;
namespace StarbuzzCoffee
{
public class Program
{
public static void Main(string[] args)
{
Beverage beverage = new Espresso();
Co... |
samples/tutorial/Extras-01-XAML-Extensions/Triggers/Triggers/Triggers/TriggersAndTriggerActions/TriggerConjunctionMutliConditionConverter.cs | moljac/Samples.Xamarin.Forms | 6 | 7035468 | using System;
using System.Globalization;
using Xamarin.Forms;
namespace Triggers
{
public partial class TriggerConjunctionMutliConditionConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if ((int)value > 0) // length > 0 ?
retu... |
Runtime/InspectorElements/SpecificImplementations/InspectorProperties/IntProperty.cs | marosicsaba91/MarosiUtility | 0 | 7035469 | using System;
namespace MUtility
{
public interface IInspectorInt : IInspectorProperty<int>
{
bool TryGetRange(object parentObject, out int min, out int max);
}
[Serializable]public abstract class IntProperty<TParentObject> : InspectorProperty<TParentObject, int>, IInspectorInt
{
public bool TryGetRange(object ... |
sdk/billing/Microsoft.Azure.Management.Billing/src/Generated/ICustomersOperations.cs | gjy5885/azure-sdk-for-net | 3,268 | 7035470 | <gh_stars>1000+
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if t... |
SkyCommerce.Loja/SkyCommerce.Domain/ViewObjects/PesquisarProdutoVO.cs | phillrog/curso-is4 | 0 | 7035471 | <reponame>phillrog/curso-is4
using AspNetCore.IQueryable.Extensions.Attributes;
using AspNetCore.IQueryable.Extensions.Filter;
using AspNetCore.IQueryable.Extensions.Pagination;
using AspNetCore.IQueryable.Extensions.Sort;
namespace SkyCommerce.ViewObjects
{
public class PesquisarProdutoVo : IQuerySort, IQueryPag... |
src/FubuMVC.Tests/ServiceBus/ErrorHandling/DelayedRetryContinuationTester.cs | RyanHauert/fubumvc | 100 | 7035473 | using FubuCore;
using FubuMVC.Core.ServiceBus.ErrorHandling;
using NUnit.Framework;
using Rhino.Mocks;
namespace FubuMVC.Tests.ServiceBus.ErrorHandling
{
[TestFixture]
public class DelayedRetryContinuationTester
{
[Test]
public void do_as_a_delay_w_the_timespan_given()
{
... |
src/Akka.DistributedData/ORMultiValueDictionary.cs | cuteant/akka.net | 0 | 7035474 | <reponame>cuteant/akka.net<gh_stars>0
//-----------------------------------------------------------------------
// <copyright file="ORMultiValueDictionary.cs" company="Akka.NET Project">
// Copyright (C) 2009-2018 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2018 .NET Foundation <https://git... |
PizzaApp/PizzaApp.WebApp/Models/Order.cs | 1806-jun25-net/coronado-project1 | 0 | 7035475 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace PizzaApp.WebApp
{
[Serializable]
public class Order
{
public int Id { get; set; }
[Display(Name = "User")]
public int? UserId { ge... |
CleanArch.School.Application/Repository/IClassroomRepository.cs | psmorandi/curso-clean-arch-dotnet | 0 | 7035476 | <reponame>psmorandi/curso-clean-arch-dotnet
namespace CleanArch.School.Application.Repository
{
using System.Threading.Tasks;
using Domain.Entity;
public interface IClassroomRepository
{
Task Save(Classroom classroom);
Task<Classroom> FindByCode(string level, string module, string cla... |
GraphLayout/MSAGL/Routing/Rectilinear/Nudging/Nudger.cs | Baudin999/automatic-graph-layout | 0 | 7035477 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Microsoft.Msagl.Core.DataStructures;
using Microsoft.Msagl.Core.Geometry;
using Microsoft.Msagl.Core.Geometry.Curves;
using Microsoft.Msagl.Core.Layout;
using Microsoft.Msagl.Core.Pr... |
BlueMountainPalace/Pages/Bookings/Booking.cshtml.cs | lylant/BlueMountainPalace | 0 | 7035478 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
using BlueMountainPalace.Data;
using BlueMountainPalace.Models;
using Microsoft.AspNetCore.Authorization;... |
EasyModbusServerSimulator/PropertyForm.Designer.cs | Novetta/EasyModbusTCP.NET | 538 | 7035479 | <gh_stars>100-1000
namespace EasyModbusServerSimulator
{
partial class PropertyForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
clr/LOLParser/Library.cs | tedneward/lolcomp | 0 | 7035480 | using System;
namespace LOLParser
{
public class Library
{
public const int MajorVersion = 0;
public const int MinorVersion = 1;
public const int RevisionVersion = 0;
public const string Version = "0.1.0";
}
}
|
src/Hangman.Persistence/Interfaces/IDbContext.cs | Arukim/hangman | 6 | 7035481 | using Hangman.Persistence.Entities;
using MongoDB.Driver;
using System.Threading.Tasks;
namespace Hangman.Persistence.Interfaces
{
public interface IDbContext
{
MongoClient Client { get; }
IMongoDatabase Database { get; }
Task InitAsync();
IMongoCollection<GameSaga> GameSagas ... |
Source/Web/ImageContestSystem.Web/Views/Home/Index.cshtml | TeamHOOPRINGHA/ImageContestSystem | 0 | 7035482 | @using ImageContestSystem.Web.Models.ViewModels
@model HomeViewModel
@{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>Image contest system</h1>
</div>
<div class="container">
<div class="row">
<div class="col-md-12" id="main-content">
@Html.Partial("_HomeContent", Model)
... |
src/QForum.Web/Views/Home/Admin.cshtml | uniQodeAB/qforum-web | 0 | 7035483 | <reponame>uniQodeAB/qforum-web
@{
ViewData["Title"] = "Admin";
}
<div class="info-container">
<h2>
Skapa nytt event
</h2>
<form id="adminForm">
<div class="input-group input-group-lg required">
<span class="input-group-addon" id="required-date">*</span>
<input t... |
src/Meziantou.Analyzer/Rules/UseStringComparerAnalyzer.cs | aljones/Meziantou.Analyzer | 0 | 7035484 | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Operations;
namespace Meziantou.Analyzer.Rules
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public sealed ... |
itext/itext.layout/itext/layout/properties/ParagraphWidowsControl.cs | criipto/itext7-dotnet | 990 | 7035485 | /*
This file is part of the iText (R) project.
Copyright (c) 1998-2021 iText Group NV
Authors: iText Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
AGPL licensing:
This program is free... |
dsis/src/CellImageBuilders/CellImageBuilder.Tests/src/Descartes/DescartesTest.cs | jonnyzzz/phd-project | 1 | 7035486 | <filename>dsis/src/CellImageBuilders/CellImageBuilder.Tests/src/Descartes/DescartesTest.cs
using System;
using System.Collections.Generic;
using System.Linq;
using DSIS.CellImageBuilder.BoxMethod;
using DSIS.CellImageBuilder.Descartes;
using DSIS.Core.Builders;
using DSIS.Core.System;
using DSIS.Core.System.Impl... |
src/JT808.Protocol/JT808Formatters/MessageBodyFormatters/JT808LocationAttach/JT808_0x0200_0x2AFormatter.cs | gisdevelope/GPSPlatform | 1 | 7035487 | <filename>src/JT808.Protocol/JT808Formatters/MessageBodyFormatters/JT808LocationAttach/JT808_0x0200_0x2AFormatter.cs
using JT808.Protocol.MessageBody.JT808LocationAttach;
using JT808.Protocol.Extensions;
using System;
namespace JT808.Protocol.JT808Formatters.MessageBodyFormatters.JT808LocationAttach
{
public clas... |
source/Octopus.Cli/Util/OctopusPhysicalFileSystem.cs | raton465/OctopusCLI | 0 | 7035488 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Threading;
using Serilog;
namespace Octopus.Cli.Util
{
public class OctopusPhysicalFileSystem : IOctopusFileSystem
... |
Texnomic.SecureDNS.Data/Models/Query.cs | ProjectZeroDays/SecureDNS | 1 | 7035489 | <reponame>ProjectZeroDays/SecureDNS
using System.Linq;
using System.Net;
using Texnomic.DNS.Abstractions.Enums;
using Texnomic.DNS.Models;
using Texnomic.DNS.Records;
namespace Texnomic.SecureDNS.Data.Models
{
public class Query
{
public IPEndPoint IPEndPoint { get; set; }
public Message Reque... |
src/Neuralm.Services/Neuralm.Services.TrainingRoomService/Neuralm.Services.TrainingRoomService.Persistence/Migrations/20200712104005_AddStagnentCounter.Designer.cs | neuralm/Neuralm-Server | 8 | 7035490 | <reponame>neuralm/Neuralm-Server
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using ... |
NewChess/ChessCoreEngine/Square.cs | A-Abdiukov/Chess-with-AI | 1 | 7035491 | <gh_stars>1-10
namespace ChessEngine.Engine
{
internal struct Square
{
internal Piece Piece;
#region Constructors
internal Square(Piece piece)
{
Piece = new Piece(piece);
}
#endregion
}
} |
OO/ByteBank_v2/Funcionarios/Designer.cs | scp2/csharp | 0 | 7035492 | <filename>OO/ByteBank_v2/Funcionarios/Designer.cs
using System;
namespace ByteBank_v2.Funcionarios
{
public class Designer : Funcionario
{
//Construtor
public Designer(string cpf) : base(1500, cpf)
{
}
public override double GetBonificacao()
{
return... |
sources/Framework/org.ohdsi.cdm.framework.common2/Core/Transformation/Premier/PremierPersonBuilder.cs | AnthonyMolinaro/ETL-LambdaBuilder | 3 | 7035493 | using System;
using System.Collections.Generic;
using System.Linq;
using Amazon.Runtime.Internal.Util;
using org.ohdsi.cdm.framework.common2.Base;
using org.ohdsi.cdm.framework.common2.Builder;
using org.ohdsi.cdm.framework.common2.Omop;
namespace org.ohdsi.cdm.framework.common2.Core.Transformation.Premier
{
/// ... |
Source/Tests/Trakt.NET.Objects.Authentication.Tests/Json/Writer/DeviceObjectJsonWriter/DeviceObjectJsonWriter_Object_Tests.cs | henrikfroehling/Trakt.NET | 39 | 7035494 | <filename>Source/Tests/Trakt.NET.Objects.Authentication.Tests/Json/Writer/DeviceObjectJsonWriter/DeviceObjectJsonWriter_Object_Tests.cs<gh_stars>10-100
namespace TraktNet.Objects.Authentication.Tests.Json.Writer
{
using FluentAssertions;
using System;
using System.Threading.Tasks;
using Trakt.NET.Tests... |
src/RazorSdk/Tasks/StaticWebAssets/ReadStaticWebAssetsManifestFile.cs | 0x53A/sdk | 1,671 | 7035495 | <reponame>0x53A/sdk
// 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.IO;
using System.Linq;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespac... |
Topten.Sharp86.TextGuiDebugger/TextGuiDebugger.cs | Zapeth/Sharp86 | 1 | 7035496 | // Sharp86 - 8086 Emulator
// Copyright © 2017-2021 Topten Software. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this product except in compliance with the License. You may obtain
// a copy of the License at
//
// http://www.apache.org/licenses/LICE... |
Jcd.Formatting.Tests/CustomFormatterBaseTests.cs | jason-c-daniels/Jcd.Formatting | 0 | 7035497 | <filename>Jcd.Formatting.Tests/CustomFormatterBaseTests.cs
using System;
using System.Collections.Generic;
using Xunit;
namespace Jcd.Formatting.Tests
{
public class CustomFormatterBaseTests
{
private const string FakeFormattedResult = "result";
private static FakeCustomFormatter Create... |
QQ.Framework/Utils/ResponsePacketProcessor.cs | pandolia/PCQQ-Agreement | 4 | 7035498 | using System;
using System.Linq;
using System.Reflection;
using QQ.Framework.Domains;
using QQ.Framework.Domains.Commands;
using QQ.Framework.Domains.Commands.ResponseCommands;
using QQ.Framework.Events;
using QQ.Framework.Packets;
namespace QQ.Framework.Utils
{
public class ResponsePacketProcessor<TPacketType> :... |
PremiumizeNET/PremiumizeNET.Test/MagnetTest.cs | rogerfar/Premiumize.NET | 0 | 7035499 | <filename>PremiumizeNET/PremiumizeNET.Test/MagnetTest.cs<gh_stars>0
/*
using System;
using System.Threading.Tasks;
using Xunit;
namespace PremiumizeNET.Test
{
public class MagnetTest
{
[Fact]
public async Task UploadMagnet()
{
var client = new PremiumizeNETClient("Premiumiz... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.