text stringlengths 13 6.01M |
|---|
using UnityEngine;
using System.Collections;
public class Ingame_Menu : MonoBehaviour
{
public Canvas pausemenu;
// Use this for initialization
void Start()
{
}
// Update is called once per frame
void Update()
{
//this works
/*if (Input.GetButtonDown("Menu"))
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace battleships
{
class Program
{
static void Main(string[] args)
{
Game game = new Game();
game.Start();
Console.WriteLine("Press any key to exit...");
Console... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace GdNet.Common.Tests
{
[TestClass]
public class StringExtensionsTests
{
[TestMethod]
public void ToVietnameseNoSign()
{
var input = "Không Đâu";
var result = input.ToVietnameseNoSign();
... |
using System;
using UnityEngine;
namespace HT.Framework
{
/// <summary>
/// 事件管理器
/// </summary>
[DisallowMultipleComponent]
[InternalModule(HTFrameworkModule.Event)]
public sealed class EventManager : InternalModuleBase
{
private IEventHelper _helper;
private EventManager... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HZGZDL.YZFJKGZXFXY.BLL {
public class SwitchMMAccessSercvice:AccessBaseService<Model.Switch_Manufactory_Model> {
public override void Delete(Model.Switch_Manufactory_Model entity, Func<Model.Switch_Manufactory_Model, bo... |
//=======================================================================
//
// <copyright file="GlobalVars.cs" company="not applicable">
// Copyright (c) thaCURSEDpie. All rights reserved.
// </copyright>
//
//-----------------------------------------------------------------------
// File: Glob... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SoulsLiteCharacter : Entity
{
public SoulsLiteController controller = null;
// Start is called before the first frame update
void Start()
{
StartCoroutine(lateInit());
}
// Update is called on... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Controls;
namespace ClassLibrary2
{
public class Ljubimac
{
private string naziv;
private string IDVlasnika;
private string vrsta;
private string rasa;
private int staro... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using adDataWeb.Interfaces;
using adDataWeb.Models;
namespace adDataWeb.Controllers
{
[Route("api/[con... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System;
public class SpawnNextPlat : MonoBehaviour {
const int MIN_GAP = 1;
const int MAX_GAP = 3;
const float MAX_HEIGHT_GAP = 4f;
const float LOSE_HEIGHT = -25f;
const int MAX_PLAT_COUNT = ... |
using System.Collections;
using System.Collections.Generic;
namespace Columns.Types
{
public class ColumnString : IColumn, IEnumerable
{
public IList Data { get; private set; } = new List<string>();
public int DataCount
{
get
{
return Data.Count... |
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FluentValidation;
using MediatR;
using Microsoft.Extensions.Logging;
using SFA.DAS.Notifications.Application.Interfaces;
using SFA.DAS.Notifications.Domain.Configuration;
using SFA.DAS.Notifications.Domain.Entities;
using SFA.... |
using System;
using System.Windows;
namespace Auth0.OidcClient
{
[Obsolete("It is recommended you leave Browser unassigned to accept the library default or assign an instance of WebBrowserBrowser if you need custom window handling.")]
public class PlatformWebView : WebBrowserBrowser
{
public Platf... |
using BPiaoBao.SystemSetting.Domain.Models.Businessmen;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
namespace BPiaoBao.SystemSetting.EFRepository.BusinessmenMap
{
public class BuyerMap : EntityTypeConfiguration<Buyer>
{
... |
using System.Threading.Tasks;
using Grimoire.Game;
namespace Grimoire.Botting.Commands.Combat
{
public class CmdRest : IBotCommand
{
public bool Full { get; set; }
public async Task Execute(IBotEngine instance)
{
await instance.WaitUntil(() => World.IsActionAvailable(LockA... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Lab2
{
public partial class Form1 : Form
{
private A... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using SprintFour.HUD;
using SprintFour.Player;
using SprintFour.Utilities;
namespace SprintFour.Collectibles
{
public class Rifle : DrawableGameComponent, ICollectible
{
private static Texture2D texture;
public bool Spawnin... |
using System;
using System.Collections.Generic;
using EchoBotForTest;
using EchoBotForTest.Command.Commands;
using EchoBotForTest.Commands;
using Telegram.Bot;
using Telegram.Bot.Args;
namespace Awesome
{
class Program
{
static TelegramBotClient botClient;
private static List<Command> commands... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class playerAttack : MonoBehaviour {
private bool attacking = false; //initialize attack to off
private float attackTimer = 0;
private float attackCd = 0.3f; //attack cooldown timer
public Collider2D attackTrigg... |
#region Usings
using System.Collections.Generic;
#endregion Usings
namespace CoreModel.Interfaces.Interfaces
{
public interface IDancerRepository
{
List<IDancer> ActiveDancers { get; }
List<IDancer> InactiveDancers { get; }
List<IDancer> Dancers { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// ReqStudent의 요약 설명입니다.
/// </summary>
public class Student
{
public int std_id { get; set; }
public int cstd_id { get; set; }
public string std_nickname { get; set; }
public string sattd_attend_type {... |
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RegionOrebroLan.EPiServer.Initialization;
namespace UnitTests
{
[TestClass]
public class ContentProviderConfigurationInitializationTest : DisableableInitializationTest<ContentProviderConfigurationInitialization>
{
#region Meth... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using NewsMooseClassLibrary.Models;
namespace NewsMooseClassLibrary.Interfaces
{
public interface IViewModel : INotifyPropertyChanged
{
List<Publisher> Publishers { get; set; }
List<NewsPaper> NewsPapers { get; set; }... |
namespace Renting.Domain.Apartments
{
public class ApartmentId
{
private string _id;
private ApartmentId(string apartmentId)
{
_id = apartmentId;
}
public static ApartmentId From(string apartmentId)
{
return new ApartmentId(apartmentId);
... |
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace Domain.Entities
{
public class ShortcutCalculator
{
public IEnumerable<Shortcut> Shortcuts(AdjacencyMatrix matrix, int start)
{
var iterations = CreateIterations(matrix, start).ToLis... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Sisc.Api.Common.Helpers
{
public class BaseQueryParams
{
public int PageIndex { get; set; } = 0;
public int PageSize { get; set; } = 1000;
public List<OrderByColumn> OrderByColumns { get; set; } = new List<Ord... |
using HelperLibrary.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HelperLibrary;
namespace ConnectLibrary.SQLRepository.Interfaces
{
public interface IGradeRepository : IRepository<GradeModel>
{
int AddGrade(GradeMode... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using ShoppingMall.Models;
namespace ShoppingMall.Data
{
public class ProductContext:DbContext
{
internal object products;
public ProductContext() : base("ShoppingContext")
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
namespace ManageAppleStore_DAO
{
class DataProviderDAO
{
public static string strConnect = @"Data Source=DESKTOP-BKVBUBB\SQLEXPRESS;Initial Catalog=ManageApp... |
using System.ComponentModel;
namespace StringSearch
{
[Description("Returns similar strings. Whitespaces insensitive")]
[StringSearchAlgorithm("Whitespaces insensitive", Version = "1.2")]
public class StringSearchWhitespaceInsensitive : ASearchAlgorithm
{
protected override string GetN... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Mercado.Dao;
using Mercado.Model;
using Mercado.Bo;
namespace Mercado.Bo
{
public class UsuarioBo : BaseBo
{
public void Editar(Usuario usuario)
{
Log.Trace(usuario);
var usuarioDao = new U... |
using UnityEngine;
using System.Collections;
public class Beacon : MonoBehaviour {
//bei Berührung wird der Spawnpunkt des Spielers auf die Position des gameObject gelegt
void OnTriggerEnter(Collider collider){
if (collider.tag == "Player") {
Persistent.persist.spawn = new Vector3(transform.parent.position.x... |
using MyBlog.Entities.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyBlog.DAL
{ // Seeding database after creation
public class MyBlogInitializer: DropCreateDatabaseIfModelChanges<MyBlogContext... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Raven.Client.Documents;
using Raven.Client.Documents.Session;
namespace BuildingBlocks.AspnetCoreIdentity.RavenDB
{
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace Game1
{
public class Textfield : GUIElement
{
public string text = "... |
using System;
using UnityEditor;
using UnityEngine;
class VungleBuildHelper
{
#if UNITY_5
[UnityEditor.MenuItem("Tools/Vungle/Prepare Windows 10 Build")]
static void prepareWin10()
{
PluginImporter pi = (PluginImporter)PluginImporter.GetAtPath("Assets/Plugins/Metro/VungleSDKProxy.winmd");
p... |
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== //
//
// Notes:
//
// ============================================================================ //
using UnityEngine;
namespace EnhancedEditor {
/// <summary>
/// Contains multiple <see cref="LayerMask"/>-related extension met... |
namespace Castle.MonoRail.ViewComponents.TestSite.Controllers
{
using Castle.MonoRail.Framework;
[Layout("default")]
public class GridController : SmartDispatcherController
{
public void Index()
{
PropertyBag["users"] = User.FindAll();
}
public void Alternate()
{
PropertyBag["users"]... |
using PracticalTest.Web.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace PracticalTest.Web.Services
{
public class CommonService
{
private readonly PracticalTestEntities _context;
public CommonService(PracticalTestEntities context)
... |
//-----------------------------------------------------------------------
// <copyright file="CloudAnchorController.cs" company="Google">
//
// Copyright 2018 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 th... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
using UnityEngine.SceneManagement;
using UnityEngine.AI;
//should work
public class LaserTurret : AudioObstacle, IDamageObstacle
{
private float _minLength;
public float _maxLength;
GameObject _energyWall;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using VendingMachineDomain;
using VendingMachineDomain.Models;
namespace VendingMachineAPI.Controllers
{
[Route("ap... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace TaskNote.Models
{
public class Usuario
{
public Guid ID { get; set; }
public String NombreApellido { get; set; }
public String Email { get; set; }
public DateTime Nacimiento ... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using DotNetNuke.Entities.Users;
namespace Dnn.ExportImport.Components.Interfaces
{
/// <summary>
/// Contract to convert all the datetiem proper... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using Inspinia_MVC5_SeedProject.Model... |
namespace SGDE.Domain.Supervisor
{
#region Using
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Converters;
using Entities;
using ViewModels;
#endregion
public partial class Supervisor
{
public List<Type... |
using P010_Libs;
using Proto;
using System;
using System.Threading.Tasks;
namespace P010_Order
{
public class OrderingActor : IActor
{
public Task ReceiveAsync(IContext context)
{
context.Parent.Tell(new Ship { Address = "aaabbbccc", Mobile = "025-5868-552", Shiptime = DateTime.No... |
/*
Equilibirium, a game simulator for balancing economic progress and environmental collapse.
Copyright (C) 2014, Mad House Studios.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using aspnet3.Data;
using Autofac;
using Microsoft.Extensions.Logging;
namespace aspnet3.Autofac
{
public class AutofacModule : Module
{
protected override void Load(ContainerBuilder builder)
{
... |
using System;
namespace TNBase.Objects
{
public class DateRange
{
public DateTime from { get; set; }
public DateTime to { get; set; }
public override bool Equals(Object obj)
{
if ((obj == null) || !this.GetType().Equals(obj.GetType()))
{
... |
using System.Collections.Generic; using System;
using System.Text;
using BrainDuelsLib.web;
using BrainDuelsLib.threads;
using BrainDuelsLib.view.forms;
using BrainDuelsLib.view;
using BrainDuelsLib.delegates;
using UnityEngine;
namespace BrainDuelsLib.widgets
{
public class GameWidget : Widget, IStoppable
... |
using Language.Analyzer;
namespace Language.Generator
{
public class MemoryPtr : IPlace
{
public int Offset;
public SemType Type;
public override string ToString()
{
return $"qword ptr [TMP+{Offset}]";
}
}
} |
using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Interactions;
using OpenQA.Selenium.Support.UI;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Remote;
namespace SeleniumDotNetCore
{
public enum ElementIdentifier{Id,Xpath};
class FrameworkHelper
{
private static IWebDriver _webDriver... |
/**
* Created 26/12/2020
* By: Omer Farkhand
* Last Modified 12/20/2020
* By: Omer Farkhand
*
* Contributors: Omer Farkhand
*/
using UnityEngine;
/*
* StreptobacillusMoniliformisHead handles the logic, AI and behaviour patterns of head of the StreptobacillusMoniliformis
*/
public class StreptobacillusMoni... |
using BPiaoBaoTPos.Domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBaoTPos.Domain.Services
{
public interface IBusinessmanClientProxy
{
/// <summary>
/// 取Pos商户列表
/// </summary>
/// <param name="businessmanName... |
using EfCore_1_1_2_QuerySpeedTest.Configurations;
using EfCore_1_1_2_QuerySpeedTest.Models;
using Microsoft.EntityFrameworkCore;
namespace EfCore_1_1_2_QuerySpeedTest
{
public class SampleDbContext : DbContext
{
private readonly string _connectionString;
public DbSet<Customer> Customers { get;... |
using System;
using System.Configuration;
using System.Data;
using System.Diagnostics;
using System.Reflection;
using WpfIntro.DataAccessLayer.DAO;
namespace WpfIntro.DataAccessLayer.Common
{
public class DALFactory
{
private static string _assemblyName;
private static Assembly _dalAssembly;
... |
#define SCENE_SPHERES_ONLY
using UnityEngine;
using UnityEngine.UI;
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
public class MInC_Player {
public int clonePos = -1;
public bool Missing = false;
public int SeqPos_Cur = 0; // 0 i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IVeraControl.Model;
namespace VeraControl.Model
{
public class UpnpStateVariable : IUpnpStateVariable
{
private readonly IVeraController _controller;
private readonly IUpnp... |
namespace ConsoleForum.Commands
{
using System;
using System.Collections.Generic;
using System.Linq;
using ConsoleForum.Contracts;
using ConsoleForum.Entities.Users;
using ConsoleForum.Utility;
public class ShowQuestionsCommand : AbstractCommand
{
public ShowQuestionsCommand(I... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Road : MonoBehaviour
{
public Transform Node;
public RoadType Type;
}
public enum RoadType
{
Straight,
Curved,
Merge,
Slip
} |
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
public Rigidbody rb;
public GameObject enemy;
public GameObject jumpBoost;
public GameObject shieldBoost;
public GameObject normal;
public GameObject speedBoost;
public int deathCounts;
public int rateOfSpawn;
int sp... |
using Microsoft.Kinect;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using Syste... |
/*
* Copyright © 2019 GGG KILLER <gggkiller2@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the “Software”), to deal in the Software without
* restriction, including without limitation the rights to use, copy, modi... |
using System;
namespace InstagramMVC.Globals
{
/// <summary>
/// Класс возвращает результат выполнения SQL-запросов INSERT, UPDATE, DELETE
/// </summary>
public class SQLReturnResult
{
public Globals.AppEnums.SQLExecResult Result { get; set; }
public string Message { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ScoreBoardItem : MonoBehaviour {
public Text[] playerText = new Text[4];
public Text teamAPointText;
public Text teamAPrevPointText;
public Text teamBPointText;
public Text teamBPrevP... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler;
namespace MonoGame.Extended.Content.Pipeline
{
public static class ContentWriterExtensions
{
public static void Write(this ContentWriter contentWriter, Color value)
{
contentWriter... |
using NUnit.Framework;
using NunitMoq.Lib;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Text;
//using ImpromptuInterface;
namespace NunitMoq.UnitTest
{
//FAKE!!!
public class NullLog : NunitMoq.Lib.ILog
{
public bool Write(string msg)
{
re... |
using System;
namespace ReactRestChat.Models.QueryModels
{
public class ConversationMessageQueryModel
{
public Guid Id { get; set; }
public DateTime Created { get; set; }
public ApplicationUserQueryModel Sender { get; set; }
public string Content { get; s... |
using Domain.Interfaces.InterfaceLogSistema;
using Entities.Entities;
using Infrastructure.Repository.Generics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Infrastructure.Repository.Repositories
{
public class RepositoryLogSistema :... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using UnityStandardAssets._2D;
using DG.Tweening;
using TMPro;
public class YouWinMenu : MonoBehaviour
{
public static YouWinMenu Instance;
public GameObject container;
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PharmacyDatabase
{
public partial class Product
{
public IEnumerable<Supplier> Suppliers
{
get
{
DataClassesDataContext db = new... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
namespace Swiddler.NetworkSniffer
{
class TCPState
{
public int PurgeTimeout { get; set; } = 1000;
public int Backoff { get; set; } = 1024;
public uint AckedSequence = 0;
public bool IsActive... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace PetSharing.Contracts.PetProfilesContract
{
public class PetProfileCreateContract
{
[Required]
public string Name { get; set; }
[DataType(DataType.ImageUrl)]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BuilderPattern
{
/*DIRECTOR*/
class AssemblyLine
{
public void Assemble(SandwichBuilder sandwichBuilder)
{
sandwichBuilder.AddBread();
sandw... |
using UnityEngine;
using UnityEditor;
class PipelineWindow : EditorWindow
{
[MenuItem("Tools/Generation Pipeline")]
public static void ShowWindow()
{
EditorWindow.GetWindow(typeof(PipelineWindow));
}
void OnGUI()
{
EditorGUILayout.BeginHorizontal();
EditorGUILayout.La... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SprintFour.Commands
{
public class CursorSelectCommand : ICommand
{
public void Execute() {
SprintFourGame.GetInstance().cursor.SelectChoice();
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.IO;
public class RecordManager : MonoBehaviour
{
//----------------------------------
// VARIABLES
//----------------------------------
public Text nombre;
public GameObject registro;
... |
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Proto.Commands;
using Spectre.Console.Cli;
using Spectre.Cli.Extensions.DependencyInjection;
var serviceCollection = new ServiceCollection()
.AddLogging(configure =>
configure
.AddSimpleC... |
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DbExample332.Classes
{
class DbConnector
{
public static DataTable Select(string sql) {
//Генерируем строку для под... |
/* 4. Write an expression that checks for given integer if its third digit (right-to-left) is 7. E. g. 1732 -> true. */
using System;
class ThirdDigitCheck
{
static void Main()
{
int test = 732;
for (int i = 0; i < 2; i++)
{
test /= 10;
}
bool isSeven = (te... |
using System;
namespace VavilichevGD.GameServices.Purchasing {
[Serializable]
public class ProductState {
public string productId;
public bool isViewed;
public ProductState(string productId) {
this.productId = productId;
this.isViewed = false;
}
}
} |
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 DS1.Mantenimientos
{
public partial class MunicipioForm : Form
{
CedulaEntitie... |
namespace RESTcursos
{
public class RequestEstudiante
{
public string DNI { get; set; }
public int estado{get; set;}
}
} |
using UnityEngine;
using System.Collections;
using UnityEditor;
namespace Dcl
{
[ExecuteInEditMode]
[DisallowMultipleComponent]
[AddComponentMenu("DclObject", 0)]
public class DclObject : MonoBehaviour
{
public bool visible = true;
[Tooltip("Only available for primitives")]
... |
#if UNITY_EDITOR_WIN
using System.Collections.Generic;
using System.Linq;
using System;
using System.Collections;
using UnityEngine;
using UnityEngine.Windows.Speech;
public class TakeObject : MonoBehaviour
{
public string objectName;
public GameObject turnOff;
public GameObject turnOn;
AudioSource ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
///<summary>
///将挂载的物体放在只会加载一次的场景中,以避免重复生成
///<\summary>
public class ItemList : MonoBehaviour
{
public List<Item> list;
public int pageCount = 0;
public GameObject statement;
private void Awake()
... |
namespace UnityEngine.Rendering.PostProcessing {
public static class PostProcessExtention {
static RenderTextureFormat depthTextureFormat = RenderTextureFormat.Depth;
static Shader _depthCopyShader;
public static Shader depthCopyShader {
get {
if (_depthCopySha... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using WebApp1.Pages;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using WebApp1.Model;
using System.Componen... |
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;
using FieldTalk.Modbus.Master;
using System.IO;
using System.IO.Ports;
using System.Globalization;
using System.Threading;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PackageBallCatcher : MonoBehaviour {
public string filterTag;
void OnTriggerEnter(Collider collider)
{
if(filterTag.Length == 0 || collider.tag.Equals(filterTag))
{
GetComponentInParent<... |
using Newtonsoft.Json;
using System;
using System.Xml.Serialization;
using XMLApiProject.Services.Models.PaymentService.XML.RequestService.Request;
using XMLApiProject.Services.Utilities.Constants;
namespace XMLApiProject.Services.Models.XML.RequestService.Request
{
/// <summary>
/// Payment Service request w... |
using BoardGame;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTests
{
[TestClass]
public class PlayerTests
{
[TestMethod()]
public void PlayerNamesInit()
{
var jonny = new HumanPlayer("Jonny");
var papa = new HumanPlayer("Papa");
Assert.AreEqual(jonny.Name, "Jonny");
Assert.... |
public class ScriptEngineParams
{ }
public class MouseClickParams : ScriptEngineParams
{
public enum clicktype { single_click=0, double_click};
public clicktype click { get; set; }
}
public class SelectWindowParams : ScriptEngineParams
{
public string window { get; set; }
}
public class SetCursorParams :... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace robotsVDinosResubmit
{
class Blaster : Weapon
{
public Blaster()
{
type = "Blaster";
attackPower = 30;
}
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace UdemyMurat.Models.Sınıflar
{
public class KargoTakip
{
[Key]
public int KargoTakipId { get; set; }
... |
using System;
namespace AccountApi.Core.Services.Responses
{
public class AccountResponse
{
public Guid CustomerId { get; set; }
public string Name { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Net;
public enum HttpVerb
{
GET,
POST,
PUT,
DELETE
}
namespace PetClientWindowsApplication
{
class RESTClient
{
public string EndPoint { ge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Accounting.Entity
{
public class PI_Print_Setting
{
public PI_Print_Setting() { }
#region Fields
/// <summary>
///
/// </summary>
//private int intSettingID = 0;
... |
namespace WagahighChoices.Kaoruko.GrpcServer
{
public class AsheServerOptions
{
public bool Screenshot { get; set; }
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.