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/Scripts/Menu Handlers/MainMenuHandler.cs | Alexander-Hjelm/Vector-Command | 0 | 7044453 | <reponame>Alexander-Hjelm/Vector-Command
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic; //For dicts
using System.Linq; //For getting toggle(FirstOrDefault)
public class MainMenuHandler : MonoBehaviour {
public GameObject initMenu;
public GameObject charMenu;
p... |
src/SFA.DAS.EmployerUsers.EndToEndTests/EmployerUsersSite/SignInPage.cs | SkillsFundingAgency/das-employerusers | 3 | 7044454 | <reponame>SkillsFundingAgency/das-employerusers<gh_stars>1-10
using OpenQA.Selenium;
namespace SFA.DAS.EmployerUsers.EndToEndTests.EmployerUsersSite
{
public class SignInPage : PageObject
{
public SignInPage(IWebDriver webDriver) : base(webDriver)
{
}
public string E... |
api/TransAction.API/Startup.cs | DSoLetsDev/TransAction | 0 | 7044455 | using AutoMapper;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Diagnostics.HealthChecks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.A... |
aliyun-net-sdk-emr/Emr/Transform/V20160408/RestoreBackupResponseUnmarshaller.cs | awei1688/aliyun-openapi-net-sdk | 0 | 7044456 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
src/CommandLineUtility/Parser.ValidateSettingsClass.cs | Foretold-Software/commandlineutility | 1 | 7044457 | // Copyright (c) <NAME>, LLC. All rights reserved. Licensed under the Microsoft Public License (MS-PL). See the license.md file in the project root directory for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
namespace CommandLineUtility
{
partial class CommandLineParse... |
X1PL_Backend/X1PL_Easy.cs | lewisjet/X1PL | 0 | 7044458 | using System;
using System.Collections.Generic;
using System.Text;
using X1PL_Backend.Interpretations;
using X1PL_Backend.IO;
using X1PL_Backend.Structures;
namespace X1PL_Backend
{
public class X1PL_Easy
{
public X1PL_Easy(string conrsPath)
{
StructureComprehender.Work(conrsPath, ... |
src/ResourceManagement/Sql/Domain/IServiceObjective.cs | graemefoster/azure-libraries-for-net | 0 | 7044459 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.Sql.Fluent
{
using Microsoft.Azure.Management.ResourceManager.Fluent.Core;
using Microsoft.Azure.Management.ResourceMa... |
src/Chest.Tests/Sdk/ChestFixture.cs | lykkecloud/chest | 0 | 7044460 | // Copyright (c) 2019 <NAME>.
// See the LICENSE file in the project root for more information.
using Chest.Client.Api;
using Lykke.HttpClientGenerator;
namespace Chest.Tests.Sdk
{
using System;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Net.Ht... |
PIXIEBatchProcessor/SearchSpec/TextSearchSpecProcessor.cs | PNNL-Comp-Mass-Spec/IMS-Metabolites-Finder | 1 | 7044461 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="TextSearchSpecProcessor.cs" company="PNNL">
// Written for the Department of Energy (PNNL, Richland, WA)
// Copyright 2015, Battelle Memorial Institute. All Rights Reserved.
... |
Src/Xigadee.Platform/Communication/Client/ClientHolder/ClientHolder_Generic.cs | xigadee/Microservice | 58 | 7044462 | #region Copyright
// Copyright <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... |
EthDenver2022/Library/PackageCache/com.unity.xr.core-utils@2.0.0-pre.6/Tests/Editor/BoundsUtilsTests.cs | BitHighlander/EthDenverHackathon | 1 | 7044463 | <reponame>BitHighlander/EthDenverHackathon
using System;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
namespace Unity.XR.CoreUtils.EditorTests
{
[TestFixture]
class BoundsUtilsTests
{
const float k_Delta = 1e-6f;
GameObject m_GameObject, m_Parent, m_Other;
... |
Assets/Scripts/UI/LoadElement.cs | OkbaWest/ProjectNorthStar | 1 | 7044464 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LoadElement : MonoBehaviour
{
List<Element> elements = new List<Element>();
[SerializeField]
TextAsset questdata;
// Use this for initialization
void Awake ()
{
string[] data = questda... |
Src/Scaffold.Test/Generator/Helper/AutoMapperHelperTests.cs | Draupner/Draupner | 1 | 7044465 | using System;
using NUnit.Framework;
using Rhino.Mocks;
using Scaffold.Configuration;
using Scaffold.Generator.Helpers;
using Scaffold.Io;
namespace Scaffold.Test.Generator.Helper
{
[TestFixture]
public class AutoMapperHelperTests
{
private AutoMapperHelper autoMapperHelper;
private IFileS... |
src/Rhubarb.SpecFlow.NetCore/Tasks/SpecFlowGenerateAppConfig.cs | Tragedian/Mufu.SpecFlow.NetCore | 0 | 7044466 | <reponame>Tragedian/Mufu.SpecFlow.NetCore
using System.Xml;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace Rhubarb.SpecFlow.NetCore.Tasks
{
public class SpecFlowGenerateAppConfig : Task
{
[Required]
public ITaskItem OutputAppConfigFile { get; set; }
[Requi... |
ByteBank/Funcionarios/GerenteDeConta.cs | caue-alves/CSharp-Polimorfismp | 3 | 7044467 | <reponame>caue-alves/CSharp-Polimorfismp<gh_stars>1-10
using ByteBank.Sistemas;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ByteBank.Funcionarios
{
class GerenteDeConta : Autenticavel
{
public GerenteDeConta(s... |
Work/Source/Sparrow.Chart/WindowsForms/Point/Point.cs | vinothsparrow/SparrowToolkit | 1 | 7044468 | <reponame>vinothsparrow/SparrowToolkit
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Sparrow.Chart
{
public class Point
{
internal double _x;
internal double _y;
public Point(double x, double y)
{
this... |
AlgebraSeminar-Mrvic/AlgebraSeminar/AlgebraSeminar/Views/Seminars/Delete.cshtml | jmilanovic/AlgebraC-2020 | 2 | 7044469 | @model AlgebraSeminar.Models.Seminar
@{
ViewData["Title"] = "Delete";
}
<h3>Želite li obrisati tecaj?</h3>
<div>
<hr />
<dl class="row">
<dt class = "col-sm-2">
@Html.DisplayNameFor(model => model.Naziv)
</dt>
<dd class = "col-sm-10">
@Html.DisplayFor... |
ConsoleTest/Program.cs | Schumix/NLua | 0 | 7044470 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NLua;
using NLuaTest.Mock;
using NLuaTest;
namespace ConsoleTest
{
public class Program
{
static void Main (string [] args)
{
Core c = new Core ();
c.Setup ();
c.... |
src/Sportradar.OddsFeed.SDK.Entities/Internal/EntitiesImpl/OutcomeDefinition.cs | sportradar/UnifiedOddsSdkNet | 15 | 7044471 | <filename>src/Sportradar.OddsFeed.SDK.Entities/Internal/EntitiesImpl/OutcomeDefinition.cs
/*
* Copyright (C) Sportradar AG. See LICENSE for full license governing this code
*/
using System;
using System.Collections.Generic;
using Dawn;
using System.Globalization;
using System.Linq;
using Sportradar.OddsFeed.SDK.Common... |
src/myoddweb.directorywatcher/utils/Helper/RenamedFileSystemEvent.cs | JTOne123/myoddweb.directorywatcher | 39 | 7044472 | // Licensed to <NAME> under one or more agreements.
// <NAME> licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.IO;
using myoddweb.directorywatcher.interfaces;
namespace myoddweb.directorywatcher.utils.Helper
{
/// <inheritdoc cref="IRen... |
DataTypes/11PracticeCharactersAndStrings/Program.cs | Avarea/Programming-Fundamentals | 0 | 7044473 | <filename>DataTypes/11PracticeCharactersAndStrings/Program.cs<gh_stars>0
using System;
namespace _11PracticeCharactersAndStrings
{
class Program
{
static void Main()
{
string softUni = "Software University";
char b = 'B';
char y = 'y';
char e = '... |
RestfulApiBestPracticesAspNetCore/Controllers/RootController.cs | Devdiegoadias/RestfulApiBestPracticesAspNetCore | 21 | 7044474 | using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using RestfulApiBestPracticesAspNetCore.Dto;
using RestfulApiBestPracticesAspNetCore.Models;
namespace RestfulApiBestPracticesAspNetCore.Controllers
{
[Route("api")]
//[ApiVersion("1.0")]
//[Produces("ap... |
Website/SourceCode/Profiles/Profiles/ORCID/Utilities/ProfilesRNSDLL/_CG/BO/ORCID/PersonWorkIdentifier.cs | kapelletier/ProfilesRNS-Orchard | 13 | 7044475 | <gh_stars>10-100
using System;
using System.Collections.Generic;
namespace Profiles.ORCID.Utilities.ProfilesRNSDLL.BO.ORCID
{
public partial class PersonWorkIdentifier : ProfilesRNSBaseClassBO, BO.Interfaces.ORCID.IPersonWorkIdentifier, IEqualityComparer<PersonWorkIdentifier>, IEquatable<PersonWorkIdentifier>... |
Mars/src/PlanetScript.cs | Toastmastern87/Toast | 17 | 7044476 | <reponame>Toastmastern87/Toast
using System.Collections.Generic;
using System;
using Toast;
class PlanetScript : Entity
{
private Entity mCameraEntity;
private TransformComponent mCameraTransform;
private Matrix4 mCameraOldTransform;
private PlanetComponent mPlanetComponent;
void OnCreate()
... |
src/Algorithms/Strings/StrongPassword.cs | awquadros/hackerrank | 0 | 7044477 | <filename>src/Algorithms/Strings/StrongPassword.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Algorithms.Strings
{
// Challenge: https://www.hackerrank.com/challenges/strong-password/problem
public class StrongPassword
{
public... |
Project/Assets/PlayFabClientSDK/Playfab/Examples/Scripts/PlayFabTitleData.cs | VN0/UNION-OpenSource-MOBA | 41 | 7044478 | <reponame>VN0/UNION-OpenSource-MOBA
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using PlayFab;
using PlayFab.ClientModels;
namespace PlayFab.Examples{
public class PlayFabTitleData : MonoBehaviour {
public static bool PlayFabTitleDataLoaded = false;
public static Dictionary<st... |
src/MediatR.DDD/Exceptions/MethodNotAllowedException.cs | thecodereaper/mediatr.ddd | 0 | 7044479 | using System;
namespace MediatR.DDD.Exceptions
{
public class MethodNotAllowedException : Exception
{
public MethodNotAllowedException() { }
public MethodNotAllowedException(string message)
: base(message) { }
public MethodNotAllowedException(string message, Exception inn... |
taa/Config/Config.cs | xztaityozx/taa | 0 | 7044480 | <reponame>xztaityozx/taa
using System;
using System.Collections.Generic;
using System.IO;
using taa.Extension;
using YamlDotNet.Serialization;
namespace taa.Config {
public sealed class Config {
// conditions BNF
// <condition> := <name>: <cond>
// <cond> := <value><operator><valu... |
GGJ2022/Assets/Scripts/Score/ScoreBehaviour.cs | RemiFusade2/GGJ2022 | 0 | 7044481 | <reponame>RemiFusade2/GGJ2022<filename>GGJ2022/Assets/Scripts/Score/ScoreBehaviour.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScoreBehaviour : MonoBehaviour
{
public float lifetime = 1f; // in seconds
public float moveUpDistanceInPixels = 5;
p... |
tests/Neo.Network.RPC.Tests/UT_Utility.cs | zpano/neo-modules | 34 | 7044482 | <gh_stars>10-100
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Neo.SmartContract;
using Neo.Wallets;
using System;
using System.Numerics;
namespace Neo.Network.RPC.Tests
{
[TestClass]
public class UT_Utility
{
private KeyPair keyPair;
private UInt160 scriptHash;
private ... |
lzhh_client/Assets/Scripts/GameLogic/socket/MJHuan.cs | qianqians/abelkhan_demo_mj | 12 | 7044483 | <filename>lzhh_client/Assets/Scripts/GameLogic/socket/MJHuan.cs<gh_stars>10-100
using System;
using common;
using UnityEngine;
using System.Collections;
using TinyFrameWork;
namespace Assets.Scripts.GameLogic.socket
{
public class MJHuan: imodule
{
public MJHuan()
{
reg_event("deal"... |
MillennialResortManager/DataAccessLayer/ISponsorAccessor.cs | tektechnologies/SoftwareDevelopmentCapstone | 0 | 7044484 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataObjects;
namespace DataAccessLayer
{
/// <summary>
/// Author: <NAME>
/// Created : 2019/02/20
/// The ISponsorAccessor is an interface for talking to the data
/// </summar... |
BaiduAPITest/RetData.cs | A9T9/Baidu-OCR-API | 11 | 7044485 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BaiduAPITest
{
public class RetData
{
public Rect rect { get; set; }
public string word { get; set; }
}
}
|
src/LightWiki.Shared/Validation/WorkspaceAccessValidator.cs | Tarikan/LightWiki | 0 | 7044486 | using System.Linq;
using FluentValidation;
using LightWiki.Domain.Enums;
using LightWiki.Domain.Extensions;
using LightWiki.Domain.Models;
using LightWiki.Infrastructure.Auth;
using LightWiki.Shared.Extensions;
using Microsoft.EntityFrameworkCore;
namespace LightWiki.Shared.Validation;
public class WorkspaceAccessVa... |
pwiz_tools/Skyline/Executables/SharedBatch/SharedBatch/XMLUtil.cs | vagisha/pwiz | 0 | 7044487 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text.RegularExpressions;
using System.Xml;
using System.Xml.Serialization;
namespace SharedBatch
{
/// <summary>
/// A set of extension functions on <see cref="XmlWriter"/> and
/// <see cr... |
Portifolio-API/Controllers/ProjetoController.cs | buenex/Portisign | 0 | 7044488 | <reponame>buenex/Portisign<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using System.Data.SqlClient;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Portifolio_API.Models;
using Portifolio_API.... |
ViruBoy/VirtualCpu.cs | virusek20/ViruBoy | 0 | 7044489 | using System;
using System.Diagnostics;
namespace ViruBoy
{
public class VirtualCpu
{
public const ushort IEAddress = 0xFFFF;
public const ushort HighRamAddress = 0xFF80;
public const ushort EmptyIO2Address = 0xFF4C;
public const ushort IOAddress = 0xFF00;
public const ... |
MessageBusLibDemo/FormTest.cs | inspiredtechnologies/MessageBusLib | 0 | 7044490 | <reponame>inspiredtechnologies/MessageBusLib
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using MessageBusLib;
namespace MessageBusLibDemo
{
public partial clas... |
MarioCat/Assets/Scripts/CarUserControl.cs | jcondek/MarioCat | 0 | 7044491 | using UnityEngine;
using System.Collections;
using Managers;
public class CarUserControl : MonoBehaviour
{
private ICarController controller = null;
private float steering = 0f;
private float acceleration = 0f;
private float brake = 0f;
private float boost = 0f;
private bool registered = fal... |
alpha/DSA/bgCoder Adsa/Guards/Guards.cs | ekov1/TelerikAcademy-Exercises | 0 | 7044492 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp7.Guards
{
public class GuardsTest
{
public const int Infinity = int.MaxValue;
public const int NormalStep = 1;
public const int GuardStep = 3;
... |
com/netfx/src/framework/winforms/managed/system/winforms/imessagefilter.cs | npocmaka/Windows-Server-2003 | 17 | 7044493 | <reponame>npocmaka/Windows-Server-2003
//------------------------------------------------------------------------------
// <copyright file="IMessageFilter.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright> ... |
src/LonShopWeb/Configuration/ConfigureWebServices.cs | lonzsuyi/LonShop | 0 | 7044494 | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using LonShop.LonShopWeb.Interfaces;
using LonShop.LonShopWeb.Services;
namespace LonShop.LonShopWeb.Configuration
{
public static class ConfigureWebServices
{
public static IServiceCollection AddWebServices(this ... |
SugarRest/Model/BeanResponse.cs | shikelong/SugarSharp | 10 | 7044496 | using System;
using System.Collections.Generic;
namespace SugarRest.Model
{
public class BeanResponse : BeanListBase
{
public List<Bean> records { get; set; }
}
}
|
Assets/Scripts/MLP/System/GeneticTrainerInitializationSystem.cs | Natches/NeuralNetworkUnityECS | 1 | 7044498 | <gh_stars>1-10
using UnityEngine;
using Unity.Entities;
using Unity.Collections;
using ECS.Utils;
using ECS.Physics;
using ECS.Race;
using Unity.Transforms;
using ECS.Timer;
namespace ECS {
namespace NeuralNetwork {
[UpdateBefore(typeof(NeuralNetworkBootstrapSystem)), UpdateBefore(typeof(CopyColliderI... |
src/2048.Game/Utils/ColorOutput.cs | Steve83166/2048.Game | 1 | 7044499 | <reponame>Steve83166/2048.Game
using System;
namespace Game.App
{
public class ColorOutput : IDisposable
{
/// <summary>
/// Initializes a new instance of the <see cref="ColorOutput" /> class.
/// </summary>
/// <param name="foregroundColor">Color of the foreground.</param>
... |
AuthPermissions/PermissionsCode/IUsersPermissionsService.cs | mramra3004/AuthPermissions.AspNetCore | 219 | 7044500 | // 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.Collections.Generic;
using System.Security.Claims;
namespace AuthPermissions.PermissionsCode
{
/// <summary>
///... |
src/Microsoft.Extensions.DependencyInjection/DefaultServiceProviderFactory.cs | Cologler/DependencyInjection | 3 | 7044501 | <reponame>Cologler/DependencyInjection
using System;
namespace Microsoft.Extensions.DependencyInjection
{
public class DefaultServiceProviderFactory : IServiceProviderFactory<IServiceCollection>
{
private readonly ServiceProviderOptions _options;
public DefaultServiceProviderFactory() : this(... |
DigitalPlatform/4.0/ConfirmSupervisorDialog.cs | jasonliaocn/dp2 | 95 | 7044502 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace DigitalPlatform
{
/// <summary>
/// 为了确认超级用户身份而登录的对话框
/// </summary>
public partial class ConfirmSupervisorDialog : Form
{
... |
Torque6/Engine/SimObjects/OpenFileDialog.cs | lukaspj/Torque6-Embedded-C- | 0 | 7044503 | <reponame>lukaspj/Torque6-Embedded-C-
using System;
using System.Linq;
using System.Runtime.InteropServices;
using Torque6.Engine.SimObjects;
using Torque6.Engine.SimObjects.Scene;
using Torque6.Engine.Namespaces;
using Torque6.Utility;
namespace Torque6.Engine.SimObjects
{
public unsafe class OpenFileDialog : File... |
eIVOGo/Module/UI/popupmodalmessage.cshtml | uxb2bralph/IFS-EIVO03 | 0 | 7044504 | <reponame>uxb2bralph/IFS-EIVO03
@{ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" }
@{ Register Src="~/Module/UI/FunctionTitleBar.ascx" TagName="FunctionTitleBar" TagPrefix="uc1" }
<asp:Button ID="btnPopup" runat="server" Text="Button" Style="display: none" />
<asp:Panel ID="Pan... |
src/CodeArts.Db/ParameterValue.cs | lejiebianlidian/codearts | 5 | 7044505 | using System;
namespace CodeArts.Db
{
/// <summary>
/// 数据。
/// </summary>
public sealed class ParameterValue : IEquatable<ParameterValue>
{
/// <summary>
/// 构造函数。
/// </summary>
/// <param name="value">值。</param>
/// <exception cref="ArgumentNullException"... |
Assets/TerrainBuilder/Editor/com.unity.terrain-tools/Editor/TerrainTools/GUI/TerrainToolGUIHelper.cs | Roland09/TerrainBuilder | 3 | 7044506 | <reponame>Roland09/TerrainBuilder
using System;
using UnityEngine;
using UnityEditor;
using UnityEditor.TerrainTools;
[Serializable]
internal class TerrainFloatMinMaxValue
{
[SerializeField]
private bool m_Expanded = false;
[SerializeField]
private float m_Value = 0.0f;
[SerializeField]
private... |
KoPlayer/Forms/EqualizerWindow.cs | koaset/KoPlayer | 7 | 7044507 | <reponame>koaset/KoPlayer
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using CSCore.Streams;
using CSCore.Streams.Effects;
namespace KoPlayer.Forms
{... |
Shove.Fx/Gateways/Weixin/Gongzhong/Message/RequestMessage/RequestTextMessage.cs.cs | eimslab/Shove.NetStandard | 1 | 7044508 | <filename>Shove.Fx/Gateways/Weixin/Gongzhong/Message/RequestMessage/RequestTextMessage.cs.cs
using System;
using System.Collections.Generic;
using System.Web;
namespace Shove.Gateways.Weixin.Gongzhong
{
/// <summary>
///RequestTextMessage 的摘要说明
/// </summary>
public class RequestTextMessage :... |
Draughts/Domain/AuthContext/Events/UserGainedRole.cs | Mattias1/ddd-draughts | 1 | 7044509 | using Draughts.Common.Events;
using Draughts.Domain.AuthContext.Models;
using Draughts.Domain.UserContext.Models;
using NodaTime;
using System;
namespace Draughts.Domain.AuthContext.Events {
public class UserGainedRole : DomainEvent {
public const string TYPE = "role.gained";
public RoleId RoleId ... |
src/CRMit.Customers/Controllers/CustomersController.cs | dropik/CRMit.Customers | 0 | 7044510 | using CRMit.Customers.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace CRMit.Customers.Controllers
{
[Route("crmit/v1/[cont... |
Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Utils/RequestHandlerHelper.cs | ayanMSFT/azure-cosmos-dotnet-v3 | 522 | 7044511 | <reponame>ayanMSFT/azure-cosmos-dotnet-v3
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.SDK.EmulatorTests
{
using System;
using System.... |
Kiwi.Markdown/Tranformers.cs | arcandio/snarkdown | 1 | 7044512 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using ColorCode;
namespace Kiwi.Markdown
{
public class Tranformers : ITranformers
{
private const string CodeBlockMarker = "```";
private readonly CodeColorizer _syntaxHighlighter;
pri... |
YetiVSI.Tests/DebugEngine/Variables/RemoteValueLLDBFormatTests.cs | googlestadia/vsi-lldb | 28 | 7044513 | // Copyright 2020 Google 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 law or agreed to in ... |
Assets/Scripts/Interactable/Interactable.cs | ARAMODODRAGON/KnowledgevaniaDemo | 0 | 7044514 | <reponame>ARAMODODRAGON/KnowledgevaniaDemo
using UnityEngine;
public abstract class Interactable : MonoBehaviour {
public abstract void OnEnterRange(PlayerController player);
public abstract void OnExitRange(PlayerController player);
public abstract void OnInteract(PlayerController player);
}
|
src/SDML.NET.Core/Exceptions/InvalidElementDeclarationException.cs | ThomasJayWilliams/SDML.NET | 0 | 7044515 | <reponame>ThomasJayWilliams/SDML.NET
using System;
namespace SDML.NET.Core
{
// Appears, when input element is invalid
public class InvalidElementDeclarationException : Exception
{
private static string _defaultMessage = "Element is not well formed!";
public InvalidElementDeclarationExceptio... |
Assets/Scripts/Objects/Recipe.cs | CraftMan3512/WonderJamA2020 | 0 | 7044516 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Recipe
{
public Recipe(Item[] items)
{
this.items = items;
}
public Item[] items;
public Effect effect;
public bool Compare(Recipe recipe)
{
int[] idHolder1 = new i... |
Loja_de_calcados/Forms/cadFuncionarios.cs | bbeltrame01/calcados | 0 | 7044517 | <reponame>bbeltrame01/calcados<filename>Loja_de_calcados/Forms/cadFuncionarios.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Ac... |
source/MarkdownCodeEmbed/Program.cs | csharp-today/MarkdownCodeEmbed | 1 | 7044518 | <filename>source/MarkdownCodeEmbed/Program.cs
using CommandLine;
using MarkdownCodeEmbed.Logger;
using System;
using System.Reflection;
using Unity;
namespace MarkdownCodeEmbed
{
public class Program
{
public static void Main(string[] args) => Parser.Default
.ParseArguments<InputArgs>(args... |
Source/MagicNumber/Core/ViewModel/Connect.cs | bl0rq/MagicNumber | 0 | 7044519 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MagicNumber.Core.ViewModel
{
[Utilis.RegisterService]
public class Connect : Utilis.UI.ViewModel.Base
{
public Connect ( )
{
DoConnect = new Utilis.UI.N... |
src/EA.Weee.Web/Areas/Scheme/ViewModels/SubmissionType.cs | uk-gov-mirror/defra.prsd-weee | 2 | 7044520 | <gh_stars>1-10
namespace EA.Weee.Web.Areas.Scheme.ViewModels
{
public static class SubmissionType
{
public static string EeeOrWeeeDataReturns = "EEE/WEEE data returns";
public static string MemberRegistrations = "Member registrations";
}
} |
Portfolio/Views/Jobs/Create.cshtml | dev-academy-phase4/cs-portfolio | 0 | 7044521 | @using Portfolio.Models
@model Portfolio.Models.JobEditViewModel
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
<div class="form-group">
@Html.LabelFor(model => model.Start, h... |
SGEP/Migrations/ContextoBDModelSnapshot.cs | RevolverOcelotIII/SGEP | 0 | 7044522 | <gh_stars>0
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using SGEP.Banco;
namespace SGEP.Migrations
{
[DbContext(typeof(ContextoBD))]
partial class ContextoBD... |
JLCSUtils/JLUtilsTest/Reflection/ExpressionToBoundPropertyTest.cs | JohnLambe/JLCSUtils | 0 | 7044523 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JohnLambe.Util.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using static JohnLambe.Tests.JLUtilsTest.TestUtil;
using System.ComponentModel;
using System.ComponentModel.DataAnno... |
Arrays/YMS5120_Arrays/Form1.Designer.cs | SuatOzcan/WIndowsForms | 0 | 7044524 | <filename>Arrays/YMS5120_Arrays/Form1.Designer.cs
namespace YMS5120_Arrays
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources b... |
LateBindingGui/Controls/ModulGrid/ModulGridControl.cs | NetOfficeFw/LateBindingApi.CodeGenerator | 4 | 7044525 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Linq;
namespace LateBindingApi.CodeGenerator.WFApplication.Controls.ModulG... |
src/DevEngine.Tests/TestBasicGraph.cs | pascx64/DevEngine | 0 | 7044526 | using DevEngine.FakeTypes.Class;
using DevEngine.Core.Class;
using DevEngine.Graph;
using DevEngine.FakeTypes.Method;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevEngine.Core.Graph;
using DevEngine.FakeTypes.Project;
u... |
LCULib/Utils.cs | ynk/LolAccountManager | 10 | 7044527 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LCULib
{
public static class Utils
{
public static void RemoveLogDirectories()
{
throw new NotImplementedException("Not added yet!");
}
}
}
|
Damng La Balada del Capitan/Assets/Scripts/Pathfinding.cs | XCJGames/Damng-la-balada.del-capitan | 1 | 7044528 | using System.Collections;
using System.Collections.Generic;
using System.Xml.Serialization;
using UnityEngine;
public class Pathfinding
{
private const int MOVE_STRAIGHT_COST = 10;
private const int MOVE_DIAGONAL_COST = 14;
public static Pathfinding Instance { get; private set; }
private Grid<PathNo... |
EA.Gen.Model/IOperationPreCondition.cs | channell/Ea.Gen | 0 | 7044529 | <reponame>channell/Ea.Gen
/*
* Copyright Cepheis Ltd 2022
* All rights reserves
*/
namespace EA.Gen.Model
{
public interface IOperationPreCondition
{
string Notes { get; set; }
IOperation operation { get; set; }
int OperationId { get; set; }
string PreCondition { get; set; }
... |
modules/pricer/src/main/java/com/opengamma/strata/pricer/impl/cms/BlackFlatCmsPeriodPricer.cs | ckarcz/Strata.ConvertedToCSharp | 0 | 7044530 | <filename>modules/pricer/src/main/java/com/opengamma/strata/pricer/impl/cms/BlackFlatCmsPeriodPricer.cs
using System;
/*
* Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
namespace com.opengamma.strata.pricer.impl.cms
{
using Curren... |
sourceCode/dotNet4.6/wpf/src/Framework/System/Windows/Controls/Border.cs | csoap/csoap.github.io | 5 | 7044531 | //---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
// File: Border.cs
//
// Description: Contains the Border Decorator class.
// Spec at http://avalon/layout/Specs/Border.xml
//
// History:
// 06/05/2003 : gr... |
Shell/ShellWindow.cs | VishalVSV/fluorine-editor | 0 | 7044532 | using System;
using System.Collections.Generic;
namespace FluorineEditor.Shell
{
public partial class ShellWindow : ConsoleWindow
{
public override void Draw()
{
}
public override void OnFocus()
{
}
public override void OnUpdate(List<ConsoleKeyInfo> ... |
TouchVPN/ViewModel/Screen/AccountScreenViewModel.cs | pakbch/touchvpn-source | 0 | 7044533 | <reponame>pakbch/touchvpn-source<filename>TouchVPN/ViewModel/Screen/AccountScreenViewModel.cs<gh_stars>0
using System;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using System.Windows.Input;
using System.Windows.Media;
using Hydra.Sdk.Windows;
using Mystique.Infrastructure.MystiqueSettings;
us... |
Src/KBCsv.UnitTests/Internal/CsvParserRfc4180ComplianceFixture.cs | Xaar37/KBCsv | 82 | 7044534 | namespace KBCsv.UnitTests.Internal
{
using System.IO;
using KBCsv.Internal;
using Xunit;
// see https://tools.ietf.org/html/rfc4180
public sealed class CsvParserRfc4180ComplianceFixture
{
[Fact]
public void parser_complies_with_2_1()
{
var CRLF = "\r\n";
... |
NSG.Library.Logger/ListLogger.cs | PHuhn/NSG.Library | 0 | 7044535 | // ===========================================================================
//
// ===========================================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
//
namespace NSG.Library.Logger
{
/// <summary>
/// The <s... |
SystemUi/Markup/Generators/ToggleGroup.cs | josinSbazin/LeopotamGroupLibraryUnity | 0 | 7044536 | <gh_stars>0
// ----------------------------------------------------------------------------
// The MIT License
// LeopotamGroupLibrary https://github.com/Leopotam/LeopotamGroupLibraryUnity
// Copyright (c) 2012-2017 Leopotam <<EMAIL>>
// ----------------------------------------------------------------------------
usin... |
TreeProcessing.NET/Nodes/Literals/NullLiteral.cs | KvanTTT/TreesProcessing.NET | 3 | 7044537 | using ProtoBuf;
using System;
using System.Runtime.Serialization;
using MessagePack;
namespace TreeProcessing.NET
{
[NodeAttr(NodeType.NullLiteral)]
[Serializable]
[DataContract]
[ProtoContract]
[MessagePackObject]
public class NullLiteral : Token
{
[IgnoreMember]
public ov... |
test/ScriptCs.Tests/VersionCommandTests.cs | ztone/scriptcs | 0 | 7044538 | <reponame>ztone/scriptcs<gh_stars>0
using System.Diagnostics;
using System.Reflection;
using Moq;
using Moq.Protected;
using Ploeh.AutoFixture.Xunit;
using ScriptCs.Command;
using ScriptCs.Contracts;
using ScriptCs.Hosting;
using Xunit.Extensions;
namespace ScriptCs.Tests
{
public class VersionCommandTests
... |
src/System.Activities/Activity.cs | wforney/corewf | 0 | 7044539 | // This file is part of Core WF which is licensed under the MIT license. See LICENSE file in the
// project root for full license information.
namespace System.Activities
{
using System;
using System.Activities.DynamicUpdate;
using System.Activities.Expressions;
using System.Activities.Hosting;
usi... |
Assets/Fingers/Prefab/Script/Components/FingersPanRotateScaleComponentScript.cs | PakonAges/Splines | 0 | 7044540 | //
// Fingers Gestures
// (c) 2015 Digital Ruby, LLC
// http://www.digitalruby.com
// Source code may be used for personal or commercial projects.
// Source code may NOT be redistributed or sold.
//
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using ... |
dgHundred/Research(1)/src/Fooww.Research.EntityFrameworkCore/EntityFrameworkCore/ResearchDbContextModelCreatingExtensions.cs | PowerDG/Hundred-Micro | 1 | 7044541 | using System;
using Microsoft.EntityFrameworkCore;
using Volo.Abp;
namespace Fooww.Research.EntityFrameworkCore
{
public static class ResearchDbContextModelCreatingExtensions
{
public static void ConfigureResearch(
this ModelBuilder builder,
Action<ResearchModelBuilderConfigura... |
src/net-apps/DistributedStreamProcessing.ApacheKafka.WindowedStats/Program.cs | Vanlightly/StreamProcessingSeries | 43 | 7044542 | using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Linq;
using System.Threading;
namespace DistributedStreamProcessing.ApacheKafka.WindowedStats
{
class Program
{
static void Main(string[] args)
{
Console.Title = "Statistics";
var... |
src/GameLogic/PointExtensions.cs | psydox/OpenMU | 351 | 7044543 | // <copyright file="PointExtensions.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.GameLogic
{
using MUnique.OpenMU.DataModel.Configuration;
using MUnique.OpenMU.Pathfinding;
/// <summar... |
Courses/Software Technologies/Databases/Homework/03. Processing-JSON-in-.NET/RSSParser/Program.cs | todorm85/TelerikAcademy | 0 | 7044544 | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace RSSParser
{
class Program
{
static void Main()
{
// ... |
test/Atc.CodeAnalysis.CSharp.Tests/SyntaxFactories/SyntaxClassDeclarationFactoryTests.cs | atc-net/atc | 15 | 7044545 | <reponame>atc-net/atc<gh_stars>10-100
using System.Linq;
using Atc.CodeAnalysis.CSharp.SyntaxFactories;
using Xunit;
namespace Atc.CodeAnalysis.CSharp.Tests.SyntaxFactories
{
public class SyntaxClassDeclarationFactoryTests
{
[Fact]
public void Should_Generate_Partial_Class_Definition()
... |
AdventCode2021/DailyXunitTests/Day01SonarSweepUnitTests.cs | DavidLundKIT/AdventOfCode | 0 | 7044546 | <reponame>DavidLundKIT/AdventOfCode
using AdventCode2021;
using System.Collections.Generic;
using Xunit;
namespace DailyXunitTests
{
public class Day01SonarSweepUnitTests
{
private List<int> testList;
public Day01SonarSweepUnitTests()
{
testList = new List<int>()
... |
Assets/Scripts/Systems/Units/SpawnUnit.cs | DanielParra159/GameOff2018 | 0 | 7044547 | <reponame>DanielParra159/GameOff2018
using Components.Common;
using Components.Player;
using Components.Units;
using JetBrains.Annotations;
using Unity.Entities;
using UnityEngine.Assertions;
namespace Systems.Units
{
[UsedImplicitly]
public class SpawnUnit : ComponentSystem
{
private struct Player... |
tests/trx2junit.Core.Tests/Extensions/XElementExtensionsTests/Write.cs | gfoidl/trx2jun | 48 | 7044548 | <filename>tests/trx2junit.Core.Tests/Extensions/XElementExtensionsTests/Write.cs<gh_stars>10-100
// (c) gfoidl, all rights reserved
using System;
using System.Xml.Linq;
using NUnit.Framework;
namespace gfoidl.Trx2Junit.Core.Tests.Extensions.XElementExtensionsTests;
[TestFixture]
public class Write
{
[Test]
p... |
SchoolServer/School.BL/Pupil/ClassService.cs | idogga/school_back | 0 | 7044549 | namespace School.BL.Pupil
{
using System;
using System.Threading.Tasks;
using School.Abstract;
using School.Database;
public class ClassService : CrudService<Class>
{
public ClassService(SchoolContext context)
: base(context)
{
}
public override Ta... |
OpenTracker.UnitTests/Models/DungeonNodes/DungeonNodeTestBase.cs | jimfasoline/OpenTracker | 0 | 7044550 | using Autofac;
using OpenTracker.Models.AccessibilityLevels;
using OpenTracker.Models.DungeonNodes;
using OpenTracker.Models.Dungeons;
using OpenTracker.Models.Items;
using OpenTracker.Models.KeyDoors;
using OpenTracker.Models.Locations;
using OpenTracker.Models.Modes;
using OpenTracker.Models.RequirementNodes;
using O... |
WinForms/tutorialResult/Driver/Windows/MultiUserControlFormDriver.cs | HiroyukiKodama/TestAssistantPro.Manual | 3 | 7044551 | using Codeer.Friendly;
using Codeer.Friendly.Dynamic;
using Codeer.Friendly.Windows;
using Codeer.Friendly.Windows.Grasp;
using Codeer.TestAssistant.GeneratorToolKit;
using Ong.Friendly.FormsStandardControls;
using System.Linq;
namespace Driver.Windows
{
[WindowDriver(TypeFullName = "WinFormsApp.MultiUserControlF... |
src/DependencyInjectionExtensionsTest/TestSingleton.cs | CarsonPan/DuckGo.DependencyInjection | 0 | 7044552 | <filename>src/DependencyInjectionExtensionsTest/TestSingleton.cs
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Text;
namespace DependencyInjectionExtensionsTest
{
public interface ITestSingleton : ISingleton
{
}
public class TestSingleton... |
Scripts/Mobiles/Animals/Cows/Bull.cs | greeduomacro/vivre-uo | 0 | 7044553 | using System;
using Server.Mobiles;
namespace Server.Mobiles
{
[CorpseName( "Un corps de taureau" )]
public class Bull : BaseCreature
{
[Constructable]
public Bull() : base( AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
{
Name = "Un taureau";
Body = Utility.RandomList( 0xE8, 0xE9 );
BaseSo... |
DragonSpark.Testing/Compose/Extents/Conditions/ConditionContextTests.cs | DragonSpark/Framework | 10 | 7044554 | <reponame>DragonSpark/Framework
using DragonSpark.Compose;
using DragonSpark.Model.Selection.Conditions;
using FluentAssertions;
using Xunit;
namespace DragonSpark.Testing.Compose.Extents.Conditions;
public sealed class ConditionContextTests
{
[Fact]
public void Verify()
{
Start.A.Condition.Of.Any.By.Always.Get... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.