text stringlengths 13 6.01M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using SimpleJSON;
public class InboxContent : MonoBehaviour {
public string EventID;
public Text Description,Title;
public Button Claimed;
public Home HomeScript;
public GameObject Loading, Dialog;
public void ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Escribir un programa que imprima por pantalla una pirámide como la siguiente:
//*
//***
//*****
//*******
//*********
//El usuario indicará cuál será la altura de la pirámide ingre... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace MyNiceBlog.Migrations
{
public partial class blogdbmigration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Author",
... |
namespace gView.GraphicsEngine.Threading
{
public interface IThreadLocker
{
}
}
|
using Core;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace Core.ApplicationDbContext
{
public class AppDbContext : DbContext
{
public AppDbContext(DbContextOptions options) : base(options)
{
var created = Database.EnsureCr... |
using System.Reflection;
[assembly: AssemblyTitle("SkipIntro")]
[assembly: AssemblyVersion("1.8.2")]
|
using Microsoft.EntityFrameworkCore;
namespace Aranda.Users.BackEnd.Models
{
public partial class Aranda_User_Context : DbContext
{
public Aranda_User_Context()
{
}
public Aranda_User_Context(DbContextOptions<Aranda_User_Context> options)
: base(options)
{
... |
namespace DZzzz.Net.Http.Configuration
{
public class HttpServiceClientConfiguration
{
public string BaseUrl { get; set; }
}
} |
using MonitorBoletos.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MonitorBoletos.Business
{
public class LicencaBusiness
{
public bool validarLicenca(Licenca licenca)
{
if (licenca is null)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Office.Tools.Ribbon;
using Common.DataModel;
using Client_Outlook.ViewModel;
namespace Client_Outlook
{
public partial class MainContainerRibbon
{
#region ViewModel
private RibbonViewModel _... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAP.Entity.MES
{
/// <summary>
/// 变更明细内容
/// </summary>
public class OpenChangeInfo
{
/// <summary>
/// 事实编号
/// </summary>
public long FactID { get; set... |
using System.Web.Mvc;
using DevExpress.Web.Mvc;
using System.Threading;
namespace DevExpress.Web.Demos {
public partial class CommonController: DemoController {
public ActionResult AjaxForm() {
return DemoView("AjaxForm", new AjaxFormValidationData());
}
[HttpPost]
publ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EmberKernel
{
public interface IKernelService
{
}
}
|
using UnityEngine;
using System.Collections;
using TNet;
using Netplayer = TNet.Player;
[RequireComponent ( typeof (TNObject) )]
/* This is where we are going deal with the session management.
*/
public class SessionManager : TNSingleton<SessionManager> {
[SerializeField]
private int _maxNetworkUpdatesPerSecond ... |
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using MainCharacter;
using System.Text;
using System.IO;
public class Spawner : MonoBehaviour {
public List<GameObject> enemyToSpawn;
public float spawnRate;
private Queue<float> enemySpawnTimes;
private Queue<string> e... |
using System;
namespace WebAPI
{
public static class Program
{
public static void Main(string[] args)
{
Main(args, new ConsoleMethods());
}
public static void Main(string[] args, IConsoleMethods console)
{
try
{
using... |
using UnityEngine;
using UnityEngine.UI;
//using UnityEditor;
using UnityEngine.EventSystems;
using System.Collections;
using System.Collections.Generic;
using System.IO;
public class editor_menu : MonoBehaviour
{
public Camera m_MainCamera;
public Image m_SelectedTool;
private int m_iSelectedToolId = 1;... |
using GraphicalEditor.Enumerations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GraphicalEditor.DTO
{
public class RoomSchedulesDTO
{
public DateTime ScheduleTime { get; set; }
public ScheduleType ScheduleType { ... |
using Sales.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Sales.Services
{
public class SafeServices
{
public void AddSafe(Safe safe)
{
using (SalesDB db = new SalesDB())
{
db.Safes.Add(safe);
db.Sav... |
using MediaBrowser.Common.IO;
using MediaBrowser.Common.MediaInfo;
using MediaBrowser.Common.ScheduledTasks;
using MediaBrowser.Controller;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Entities.Movies;
using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.Providers.MediaInfo;
us... |
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 lab_018
{
public partial class Form1 : Form
{
string znak = null;
bool... |
using p2_shop.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace p2_shop.Controllers
{
public class AccountController : Controller
{
private ShopingEntities db = new ShopingEntities();
// GET: Account
public Act... |
using System;
using NUnit.Framework;
namespace Seterlund.CodeGuard.UnitTests
{
[TestFixture]
public class ComparableValidatorTests
{
#region ----- Fixture setup -----
/// <summary>
/// Called once before first test is executed
/// </summary>
[TestFixtureSetUp]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AxisPosCore
{
public interface IInputDataView:IInputView
{
/// <summary>
/// Заголовок формы
/// </summary>
string Caption
{
set;
}
/// <summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
namespace Roguelord {
public class CameraController : MonoBehaviour
{
// public GameObject player;
private Vector3 offset;
private bool moveCamera = false;
public float panSpeed = 20f;
public f... |
using System;
namespace Day5
{
partial class Computer
{
private readonly int[] _memory;
public Computer(int[] memory)
{
_memory = memory;
}
public void RunProgram()
{
var instructionPointer = 0;
while (_memory[instructionPoi... |
using MQTTnet.Protocol;
namespace MQTTnet.Packets
{
public sealed class MqttConnAckPacket : MqttBasePacket
{
public MqttConnectReturnCode ReturnCode { get; set; }
/// <summary>
/// Added in MQTT 3.1.1.
/// </summary>
public bool IsSessionPresent { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace LinqTOSQL
{
public partial class WebForm1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
HREntities hR... |
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace AspCoreBl.Model
{
// Add profile data for application users by adding properties to the ApplicationUser class
public class ApplicationUser : IdentityUs... |
using System;
namespace Calc
{
public class Class1
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
namespace TYNMU.manger
{
public partial class Login : System.Web.UI.Page
{
protected void Page_Load(object sender, ... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TitanBlog.Data;
using TitanBlog.Models;
namespace TitanBlog.Controllers.ApiControllers
{
[Route("api/[control... |
using System.Collections.Generic;
using System.Windows;
using System.Windows.Input;
using Slayer.Commands;
using Slayer.Models;
using Slayer.Services;
namespace Slayer.ViewModels
{
public interface IViewModel
{
IStatsViewModel StatsViewModel { get; set; }
IFightViewModel FightViewModel { get; ... |
//==============================================================================
// Copyright (c) 2012-2020 Fiats Inc. All rights reserved.
// https://www.fiats.asia/
//
using System;
using System.Linq;
using System.Reactive.Disposables;
namespace Financial.Extensions
{
public static class DateTimeExtensions
... |
using Newtonsoft.Json;
namespace SmartHome.Model
{
public class Scopes
{
[JsonProperty("scopeId")]
public string scopeId { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace BanSupport
{
//[CustomEditor(typeof(ScrollSystem))]
public class ScrollSystemEditor : Editor
{
private ScrollSystem script { get { return target as ScrollSystem; } }
public override void OnInspectorGUI(... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace ExpressionEvaluator.Operators
{
internal class BinaryOperator : Operator<Func<Expression, Expression, Expression>>
{
public BinaryOperator(string value, int precedence, bool leftassoc,
... |
// <copyright file="DatabaseCreator.cs" company="TreverGannonsMadExperiment">
// Copyright (c) TreverGannonsMadExperiment. All rights reserved.
// </copyright>
namespace Database
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
... |
namespace Proyecto.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Initial : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Administrador",
c => new
{
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
namespace _06.Zipping_Sliced_Files
{
class ZippingSlicedFile
{
const string InputFile = @"..\..\input.txt";
const string OutputFolder = @"..\..\_SplitFilesOutput\";
const int Parts = 5;
static List<string> files;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Domaci8_9_10
{
public partial class frmPlacanje : Form
{
List<Placanje> placanjeList = new List<Pla... |
public class Story
{
//陌生人
public static int meet(int task_id, int step)
{
Task.talk("陌生人","少年,我看你骨骼惊奇,天资聪慧,今有鞋精作怪,你可愿意帮忙?","role/face4_2.png",Message.Face.RIGHT);
Task.talk("主角","鞋精?","role/face2_1.png");
Task.talk("陌生人","没错,自从这鞋精有了法力后,村里不得安宁,希望你可以出手相助!","role/face4_2.png",Message.... |
namespace SFA.DAS.ProviderCommitments.Infrastructure.OuterApi.Requests
{
public class GetAccountLegalEntityRequest : IGetApiRequest
{
private readonly long _accountLegalEntityId;
public string GetUrl => $"accountLegalEntity/{_accountLegalEntityId}";
public GetAccountLegalEntityRequest(... |
namespace SubC.Attachments {
using System;
using System.Collections.Generic;
using UnityEngine;
[Serializable]
public abstract class AttachEventTrigger {
[Serializable]
public class Entry {
public AttachEventType eventType;
public AttachEvent callback = ne... |
using StardewValley.Buildings;
using System.Collections.Generic;
using System.Linq;
namespace BitwiseJonMods
{
class BuildingContentsInfo
{
public int NumberOfContainers { get; set; }
public int NumberReadyToHarvest { get; set; }
public int NumberReadyToLoad { get; set; }
publ... |
using System;
using UnityEngine.Events;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// None generic Unity Event of type `FloatPair`. Inherits from `UnityEvent<FloatPair>`.
/// </summary>
[Serializable]
public sealed class FloatPairUnityEvent : UnityEvent<FloatPair> { }
}
|
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using PFRCenterGlobal.ViewModels.Maps;
using Xamarin.Forms;
using Xamarin.Forms.Maps;
namespace PFRCenterGlobal.Views.AuthZone
{
public partial ... |
using AGD.DataAccess;
using ADP.BusinessLogic.Entity;
using System.Collections.Generic;
using System.Linq;
using System;
namespace ADP.BusinessLogic
{
public class UserBusinessLogic
{
public static bool CreateEmployee(string nama, string tempLahir, DateTime tglLahir, string noTlp, string email, string... |
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Docller.Core.Common
{
public interface ILocalStorage
{
string CreateTempFolder();
string EnsureCacheFolder(string folderName);
}
}
|
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Real : Scenario {
void Start()
{
this.gameObject.transform.localScale = new Vector3 (0.01f, 0.01f);
}
public IEnumerator Anim(float finalSize, string text)
{
if (this.gameObject != null)
{
while (Mathf.Abs(this.gameObjec... |
using System;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using Microsoft.Xna.Framework;
namespace DuckingAround.NPCs.Towns.EnemySpawnerNPC
{
[AutoloadHead]
public class EnemySpawnerNPC : ModNPC
{
private int center
{
get => (int)npc.ai[0];
set => npc.ai[0] = value;
}
private int ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Adventure_Game
{
class AdventureGame
{
//member variables
public Player1 player1;
public Player2 player2;
public Destination destination;
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content.Pipeline;
using Microsoft.Xna.Framework.Content.Pipeline.Graphics;
using Microsoft.Xna.Framework.Content.Pipeline.Processors;
// TODO: replace... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Net.Sockets;
using System.Net;
using System.Web;
namespace Juicy.DirtCheapDaemons.Http
{
public class HttpServer
{
public const int DefaultPortNumber = 8081;
private TcpList... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Library.Migrations
{
public partial class updateTransaction : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CheckoutId",
table... |
using System.Collections.Generic;
using UnityEngine;
using Object = System.Object;
public class GameDataFromOverlook : MonoBehaviour
{
//public GameDataToOverlook gameDataToOverlook;
[HideInInspector]
public List<SettingsConfigObject> settingsConfigObjects;
//Create references to all the Gam... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StartElevator : MonoBehaviour
{
public Animator leftDoorAnimator;
public Animator rightDoorAnimator;
// Start is called before the first frame update
void Start()
{
leftDoorAnimator.SetTrigger("fini... |
using System;
using System.Collections.Generic;
namespace HospitalSystem.Models
{
public partial class appointment_record
{
public long AppointmentID { get; set; }
public Nullable<long> DoctorID { get; set; }
public Nullable<long> PatientID { get; set; }
public Nullabl... |
using AlgorithmProblems.Arrays.ArraysHelper;
using AlgorithmProblems.Heaps.HeapHelper;
using AlgorithmProblems.matrix_problems;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Distributed_Algorithms
{
/// <summary>
... |
using SalaryCalculator.Interfaces;
namespace SalaryCalculator.TaxPlans
{
/// <summary>
/// Defines a tax deduction in sections.
/// There's a threshold section, a tax rate to apply to the first section
/// and a tax rate to apply to the rest of the money
/// </summary>
public class SectionDedu... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Security.Principal;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using ContestsPortal.WebSite.App_Start;
using ContestsPort... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Restart : MonoBehaviour {
void Awake()
{
gameObject.SetActive(false);
}
public void GameRestart()
{
SceneManager.LoadScene(0);
}
}
|
using System.Collections.Generic;
using System.Linq;
using Profiling2.Domain.Contracts.Queries;
using Profiling2.Domain.Contracts.Queries.Search;
using Profiling2.Domain.Contracts.Tasks;
using Profiling2.Domain.Prf;
using SharpArch.NHibernate.Contracts.Repositories;
namespace Profiling2.Tasks
{
public class Locat... |
using System.Web;
using System.Web.Mvc;
using System.Web.Http.Filters;
using LuckyMasale.WebApi.Filters;
namespace LuckyMasale.WebApi
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttri... |
using UnityEngine;
[RequireComponent(typeof(SpriteRenderer))]
public class SkinColorer : MonoBehaviour {
private void Start() {
EntityWorker worker = this.GetComponentInParent<EntityWorker>();
int skinTone = worker.info.skinTone;
this.GetComponent<SpriteRenderer>().color =
Ma... |
using System.Collections.Generic;
using System.Linq;
namespace Tools
{
public class Constants
{
public static readonly List<char> LatinAlphabetLower = "abcdefghijklmnopqrstuvwxyz".ToList();
public static readonly List<char> LatinAlphabetUpper = "abcdefghijklmnopqrstuvwxyz".ToUpper().To... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraGo : MonoBehaviour
{
private Transform myTransform;
private float speed;
private int record;
private int circle = 0;
private float curr_time;
void Start ()
{
curr_time = PlayerPrefs.G... |
using ManageProducts.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ManageProducts.Data
{
public class MyContext :DbContext
{
//ctor+double tab
//public MyContext():base("m... |
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Contexts;
using Newtonsoft.Json.Linq;
namespace DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Parts
{
public interface ITaxonomyPartGraphSyncer : IContentPartGraphSyncer
{
Task AddSyncComponentsForNonLeaf... |
using UnityEngine;
using System.Collections;
using UnityEngine.Networking;
public class PlayerStateController : MonoBehaviour
{
public enum playerStates
{
idle = 0,
left,
right,
jump,
landing,
falling,
kill,
resurrect,
firingWeapon,
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TutorialTrigger : MonoBehaviour
{
public string tutorialText;
public PlayerMovement requiredVehicle;
private bool activated = false;
private void OnTriggerEnter(Collider other)
{
PlayerMovement pm... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
public class UISlider : UIBase {
[System.Serializable]
public class UIEventFloat:UnityEvent<float> {
}
public UIEventFloat OnHoverFloat;
public UIEventFloat OnUnhoverFloat;
public UIE... |
using System;
using System.Collections.Generic;
using System.Text;
namespace SAAS.Mq.Socket.Channel
{
enum EMsgType : byte
{
/// <summary>
/// request
/// </summary>
request = 1,
/// <summary>
/// reply
/// </summary>
reply = 2,
/// <summ... |
using gView.Framework.Globalisation;
using gView.Framework.Web;
using System;
using System.Drawing;
using System.Windows.Forms;
namespace gView.Framework.UI.Dialogs
{
[gView.Framework.system.RegisterPlugIn("399FD7B5-915C-4035-84E6-FA4C5DFE1A95")]
public partial class OptionPageProxy : Form, IMapOptionPage, IEx... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Person
{
class Person
{
public string name;
public int age;
public Person()
{
name = "No name";
age = 1;
}
pub... |
///////////////////////////////////////////////////////////////////////////////
/// This code is provided for demonstration purposes only.
/// There's only minimal error checking and the code does not
/// meet production quality standards. Use it at your own risk.
//////////////////////////////////////////////////... |
using Grillisoft.FastCgi.Protocol;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Grillisoft.FastCgi.Repositories
{
public class SyncronizedRequestsRepository : IRequestsRepository
{
private readonly Dictionary<ushort, Request> _requests = new Dictionar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Docller.Core.Models
{
public class TransmittalUser:User
{
public long TransmittalId { get; set; }
public bool IsCced { get; set; }
}
}
|
using Microsoft.AspNetCore.Mvc;
using ProjectCompany.Services;
using ProjectCompany.Models;
using System.Collections.Generic;
namespace ProjectCompany.Controllers
{
[Route("api/[controller]")]
public class SkillController : Controller
{
private SkillService skillService;
public SkillContro... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _07.Selection_Sort
{
class SortArray
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
int[] arrNums = new int[n];
... |
using System.Collections.Generic;
using System.Linq;
namespace Dependencies
{
/// <summary>
/// A Dependency Node belongs to a Dependency Graph.
/// A node an abstraction that contains the links to its dependees and dependents.
/// </summary>
public class DependencyNode
{
private stri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Profile;
using System.Collections;
using DLib.DAL;
namespace BLL.DLib
{
public class Library
{
#region vars
private static DlibEntities Db
{
get
{
... |
using DAL;
using DAL.Basics;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace CateringWeb.Controllers
{
public class DishDevController : BaseController
{
D_OperationArea dOperationArea = new D_OperationArea();//作业区
... |
using UnityEngine;
using System.Collections;
public class GameLayer
{
public const int UI = 5;
}
|
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 Автошкола
{
public partial class ServiceMastersForm : Form
{
public ServiceMas... |
using EddiDataDefinitions;
using Newtonsoft.Json;
using System;
using System.Collections.ObjectModel;
namespace EddiConfigService.Configurations
{
/// <summary>Storage for configuration of cargo details</summary>
[JsonObject(MemberSerialization.OptOut), RelativePath(@"\cargomonitor.json")]
public class Ca... |
/**
* Definition for singly-linked list.
* public class ListNode {
* public int val;
* public ListNode next;
* public ListNode(int x) { val = x; }
* }
*/
public class Solution {
public void ReorderList(ListNode head) {
if (head == null) return;
ListNode slow = head, fast = head;
... |
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
using Alabo.Domains.Services;
using Alabo.Extensions;
using Alabo.Framework.Tasks.Schedules.Domain.Entities;
using Alabo.Reflections;
using Alabo.Runtime;
using Alabo.Schedules.Job;
using Alabo.Web.Mvc.Attributes;
using Microsoft.Extensions.Logging;
using... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Pobs.Domain;
using Pobs.Domain.Entities;
using Pobs.Web.Models.Tags;
namespace Pobs.Web.Models.Activity
{
public class ActivityListItemModel
{
public ActivityListItemModel() { }
public ActivityListIt... |
using UnityEngine;
using System.Collections;
using System;
using System.Collections.Generic;
using AnimationOrTween;
[Serializable]
public class Appclass : MonoBehaviour {
public LIST_CONTENT_FDLIVE _list_conent_fdlist;
public LIST_SCRIPT_LIST _list_script_list;
public LIST_COMMANDER _list_commander;
public LIST_... |
using System;
namespace qbq.EPCIS.Repository.Custom.Entities
{
class EventData
{
//-----------------------------------------------------------------
//-- Tabelle zum Zwischenspeichern der Wurzel-Event Daten
//-----------------------------------------------------------------
//
... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using FiiiChain.Consensus;
using FiiiChain.Entities;
using FiiiChain.Framework;
using FiiiChain.Messages;
using System;
using System... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Routing;
using Microsoft.AspNetCore.Routing;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Net;
using System.Net.Mail;
using System.Text;
using Syste... |
using STLFoodTruckFavorites2.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace STLFoodTruckFavorites2.ViewModels
{
public class FoodTruckListViewModel
{
public static List<FoodTruckListViewModel> GetFoodTruckListViewModels(ApplicationDbCon... |
using System;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core.Interops
{
public sealed partial class VlcManager
{
public bool GetVideoMarqueeEnabled(VlcMediaPlayerInstance mediaPlayerInstance)
{
if (mediaPlayerInstance == IntPtr.Zero)
throw new ... |
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
namespace Vanara.PInvoke
{
public static partial class Kernel32
{
/// <summary>
/// An application-defined function registered with the RegisterBadMemoryNotification function that is called when one or more bad memory pages a... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MapArcGIS
{
public struct FeatureTableItem
{
//byte[] item;
}
}
|
using System;
using System.Reflection;
using System.Text.RegularExpressions;
using Terminal.Gui.TextValidateProviders;
using Xunit;
namespace Terminal.Gui.ViewTests {
public class TextValidateField_NET_Provider_Tests {
[Fact]
[AutoInitShutdown]
public void Initialized_With_Cursor_On_First_Editable_Character... |
using UnityEngine;
using System.Collections;
using System;
public class overallControl : MonoBehaviour {
GameObject canvas;
GameObject settings;
bool audioOn;
GameObject inGameGuide;
System.Random random;
float startTime;
float timeUntilChange;
GameObject changingDisplay;
SpriteRe... |
// <copyright file="MultipleSubstitution.cs" company="WaterTrans">
// © 2020 WaterTrans
// </copyright>
using System.Collections.Generic;
namespace WaterTrans.GlyphLoader.Internal.OpenType.GSUB
{
/// <summary>
/// The GSUB multiple substitution lookup.
/// </summary>
internal sealed class MultipleSub... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.