text stringlengths 13 6.01M |
|---|
using UnityEngine;
using System.Collections;
using System;
using UnityEngine.UI;
namespace BusinessTycoonSim
{
// Primary class for each store in the game
// One instance is created for each store in the gamedata XML
// The instance is attached as component of the store prefab
public class store : Mo... |
namespace Buffers.FTL
{
public enum PageState : byte
{
Free = 0,
Allc,
Live,
Dead,
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using Loggly.Config;
using Loggly.Responses;
using Loggly.Transports;
using Loggly.Transports.Syslog;
using Newtonsoft.Json;
using System.Threading.Tasks;
namespace Loggly
{
public class LogglyClie... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
using DevComponents.DotNetBar;
using DevComponents.DotNetBar.Controls;
using Tool;
namespace HPMS.Util
{
public static class Extende
{
public static T GetNumVali<T>(this NumericUpDown... |
namespace mg.hr.API.Models
{
public interface IEmployee
{
int id { get; }
string name { get; }
string roleName { get; }
decimal AnnualSalary();
}
}
|
using DataLayer.Helpers;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace DataLayer
{
public class Basket : IBasket
{
public Basket()
{
}
public string TransactionNumber { get; set; }
public int? NumberOfPassenge... |
using System.Linq;
using System.Reflection.Metadata.Ecma335;
namespace _6._Jagged_Array_Modification
{
using System;
class JaggedArrayModification
{
static void Main(string[] args)
{
int dimensions = int.Parse(Console.ReadLine());
int[,] matrix = new in... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class Health : NetworkBehaviour {
public int maxHealth = 100;
public int defence=0;
[SyncVar]public int Threat;
[SyncVar(hook ="OnChangeHealth")]public int currentHealth = 100;
RectTransform hb... |
using UnityEngine;
using System.Collections;
using System.Threading;
public class CollisionScript : MonoBehaviour {
// Use this for initialization
void Start () {
Debug.Log("Collision Script started for " + this.gameObject.name);
}
// Update is called once per frame
void Update () {
}
void OnCollisionE... |
using System.Collections.Generic;
using System.ComponentModel;
namespace QuestionBuilder.Models
{
public class QuestionToF : QuestionBase
{
public bool IsTrue { get; set; }
public bool IsFalse { get; set; }
public QuestionToF()
{
if (LicenseManager.UsageMode == Li... |
namespace iCopy.Model.Response
{
public class Client
{
public int ID { get; set; }
public Model.Response.ApplicationUser ApplicationUser { get; set; }
public Model.Response.Person Person { get; set; }
public int PersonId { get; set; }
public int ApplicationUserId { get; ... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
[Attribute38("HeroLabel")]
public class HeroLabel : MonoBehaviour
{
public HeroLabel(IntPtr address) : this(address, "HeroLabel")
{
}
public HeroLabel(IntPtr address, string className) : base(address, classN... |
using HardwareInventoryManager.Helpers;
using HardwareInventoryManager.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace HardwareInventoryManager.ViewModels
{
public class UserViewModel
{
... |
using Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Persistence.Configuration {
class ArticleConfiguration : IEntityTypeConfiguration<Article> {
public void Configure (EntityTypeBuilder<Article> builder) {
builder.HasKey ... |
namespace LearningSignalR.BackEnd.ViewModels.Messages
{
public class StatusMessage
{
public long CompanyId { get; set; }
public long TotalNoOfMessages { get; set; }
public long TotalNoOfUnreadMessages { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace _99dan_Project
{
public partial class BBForm : Form
{
private const int dot_size = 10;
private Bitmap bitmap;
//색상표
public List<string> colorList = new List<string>()
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IO.IoExamples
{
public static class DirectoryInfoExamples
{
public static void ShowDirectoryInfo()
{
var directory = new DirectoryInfo(@"D:... |
using Newtonsoft.Json;
using ShadesTriangles.Entities;
using ShadesTriangles.Extenstions;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShadesTriangles.Entities
{
public class Config
{
private Co... |
namespace Game.Online.API.Responses
{
public class Leaderboards : APIResponse
{
}
} |
using UnityEngine;
using System.Collections;
public class Shove : MonoBehaviour {
public bool push;
public Rigidbody rb;
public float startTime;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if(push == true && (Time.time - startTime) >... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WeightedTile : MonoBehaviour
{
private float initialPos;
public float moveSpeed;
public float force;
private bool rise = true;
private Rigidbody2D rb;
// Start is called before the first frame update
... |
//TextWithoutA
//By Renato Bueno
using System;
class TextWithoutA
{
static void Main()
{
string text;
bool hasA = false;
do
{
hasA = false;
Console.Write("Enter a text: ");
text = Console.ReadLine();
foreach (char letter in... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AcademyPopcorn
{
class EngineForShootingRacket : Engine
{
public EngineForShootingRacket(IRenderer renderer, IUserInterface ui) : base(renderer, ui)
{
... |
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 SelfExam
{
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponen... |
using CityTemperature.DTO;
using CityTemperature.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CityTemperature.Borders.Adapter
{
public interface IAddCitysAdapter
{
public TemperatureModel converterRequestCitys(AddCitysRequest reques... |
using System.Collections.Generic;
namespace PDV.DAO.Entidades.Financeiro
{
public class SituacaoConta
{
public decimal Codigo { get; set; }
public string Descricao { get; set; }
public SituacaoConta() { }
public SituacaoConta(decimal _Codigo, string _Descricao) {
... |
namespace Hayalpc.Fatura.Common.ReqRes
{
public class CreditCardPaymentResponse : BaseResponse
{
}
}
|
using FatCat.Nes.OpCodes.ClearingFlags;
using JetBrains.Annotations;
namespace FatCat.Nes.Tests.OpCodes.ClearingFlags
{
[UsedImplicitly]
public class ClearDecimalFlagTests : ClearFlagTests
{
protected override string ExpectedName => "CLD";
protected override CpuFlag Flag => CpuFlag.DecimalMode;
public Clear... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
namespace MKGo
{
public partial class App : Application
{
public static object dbLock;
private static Database database;
static Items items;
static Tours tours;
... |
using Microsoft.AspNetCore.Mvc.Rendering;
using online_knjizara.EntityModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace online_knjizara.ViewModels
{
public class RegistracijaSnimiVM
{
public L... |
using Sitecore.Resources.Media;
namespace SitecoreCDN.Request
{
public class CustomMediaRequest : MediaRequest
{
public string GetCustomMediaPath(string localPath)
{
return GetMediaPath(localPath);
}
}
}
|
using System;
using System.Collections.Generic;
using Voronov.Nsudotnet.BuildingCompanyIS.Entities;
namespace Voronov.Nsudotnet.BuildingCompanyIS.Logic.DbInterfaces.DataInterfaces
{
interface IVehicleRepository
{
ICollection<Vehicle> GetVehiclesByOrganizationId(int organizationId);
ICollection<Vehicle> GetVeh... |
using DarkSouls_DeathCount.DeathCount;
using IgroGadgets.Memory;
using System;
using System.Threading;
using System.Windows.Forms;
namespace DarkSouls_DeathCount
{
public partial class Form1 : Form
{
private int language = 0;
private DeathCounter DeathCounter { set; get; }
private stri... |
using MongoDB.Bson.Serialization.Attributes;
using ReactiveUI;
using System;
using System.Linq;
using System.Reactive.Linq;
using Webcorp.unite;
namespace Webcorp.Model
{
public class Nomenclature : CustomReactiveObject
{
int _ordre, _trans;
double _qte;
Time _prep, _exe;
strin... |
using Tizen.NUI;
using Tizen.NUI.BaseComponents;
namespace IMESample
{
/// <summary>
/// Content page of landscape keyboard
/// </summary>
public partial class IME_KEYBOARD_LAYOUT_QWERTY_LAND : View
{
/// <summary>
/// Landscape keyboard constructor
/// </summary>
pu... |
namespace Standard
{
using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Reflection;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Explicit)]
internal struct HRESULT
{
[FieldOffset(0)]
... |
using Microsoft.Xna.Framework;
using SprintFour.Blocks;
using SprintFour.Blocks.BlockStates;
using SprintFour.Collectibles;
using SprintFour.Enemies;
using SprintFour.Levels.Biomes;
using SprintFour.Utilities;
using System;
using System.Collections.Generic;
namespace SprintFour.Levels
{
public class Chunk
{
... |
using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
public float movementSpeed = 12f;
public float standingStillSpeed = 0.1f;
public float startMovingSpeed = 100f;
public Animator animator;
private Rigidbody rigidbody;
private void Awake() {
this.rigidbody = this.GetComponent<R... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.AI;
public class AINetwork : NetworkBehaviour {
public NavMeshAgent agent;
public bool vivo = true;
[SyncVar]
public float salud;
[SyncVar]
public float saludMax;
[SyncVar]
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using SubSonic.Extensions;
namespace Pes.Core
{
public partial class GameCategory
{
private static IQueryable<GameCategory> GetAllGameCategoryByName(string GameCategoryName)
{
return (from cate in All()
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ClimbPoints : MonoBehaviour
{
public Vector3 location;
public float disAway;
// Start is called before the first frame update
void Start()
{
location = this.transform.position;
}
public ... |
using Json;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using Range = Json.Range;
namespace JsonFacts
{
public class SequenceFacts
{
[Fact]
public void NullTextReturnFalse()
{
var ab = new Sequence( new Character('a'),new Character('b'))... |
using System.Reactive.Linq;
namespace OmniGui.Xaml.Layouts
{
using System;
using DynamicData;
using DynamicData.Binding;
using OmniGui.Layouts;
using Templates;
using Zafiro.PropertySystem.Standard;
public class List : Layout
{
private readonly Func<ResourceStore> containerFac... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.Mvc;
using FantaCalcioManager.Website.Models;
using log4net;
namespace FantaCalcioManager.Website.Controllers
{
[Authorize(Users = "Administrator")]
public class AdminController : ... |
using MediatR;
using OrderSimulator.Commands;
using OrderSimulator.Models;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace OrderSimulator.Handlers
{
public class OrderCommandHandler : AsyncRequestHandler<OrderCommand>
{
private readonly IMediator _mediator;
public... |
using Ecobit.Domain;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace EcobitStage.... |
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.Windows.Forms;
using System.IO;
using System.IO.Packaging;
using System.Linq;
using System.Text;
using Avago.ATF.StandardLibrary;
using Avago.ATF.Shares;
using Avago.ATF.Logger;
using Avago.ATF.LogService;
//using Avago.ATF.CrossDo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace No8.Solution.Printers.Factories
{
public class CanonFactory : AbstractPrinterFactory
{
public override Printer CreateNew(string model)
=> new CanonPrinter(model);
... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreComponents.Threading.SubThreading
{
public abstract class IsolatedThread<TID> : BaseIsolatedThread, IIsolatedThread, IDisposable
{
//... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameOver : MonoBehaviour
{
GameController gcontroller; public GameObject Gameover, GoodWork;
public Text Score; public Text Time;
// Start is called before the fir... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using vega.API.Controllers.Resources;
using vega.API.Core;
using vega... |
using System.Collections;
using System.Collections.Generic;
//using System.Linq;
using UnityEngine;
using UnityEngine.UI;
public class Unit : Person{
Person person;
public UnitUI unitUI;
public enum Sides { Ally, Enemy };
Sides side;
public enum Activation { Behaveable, AlreadyBehaved, Deactivated };
Activation... |
using JoveZhao.Framework.HttpServers;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
namespace BPiaoBao.DomesticTicket.Platform.Plugin
{
/// <summary>
/// 平台通知
/// </summary>
public interface IPlatformNotify
{
bo... |
using FatCat.Nes.OpCodes.AddressingModes;
namespace FatCat.Nes.OpCodes.SettingFlags
{
public class SettingInterruptFlag : SettingFlag
{
public override string Name => "SEI";
protected override CpuFlag Flag => CpuFlag.DisableInterrupts;
public SettingInterruptFlag(ICpu cpu, IAddressMode addressMode) : base(cp... |
using System;
namespace UnityUIPlayables
{
[Serializable]
public class TextAnimationClip : AnimationTimelineClip<TextAnimationBehaviour>
{
}
} |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System.Collections;
#endregion
namespace DotNetNuke.Security.Permissions
{
/// -----------------------------------------------... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
namespace Microsoft.EntityFrameworkCore.TestModels.ManyToManyFieldsModel
{
public class EntityComp... |
using System;
using System.Collections.Generic;
using MySql.Data.MySqlClient;
namespace UniversityRegistrar.Models
{
public class Course
{
private string CourseName;
private string CourseNumber;
private int Id;
public Course(string courseName, string courseNumber, int id=0)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Utilities
{
public static class ListChangeDetector
{
// Usage #1
// var result = ListChangeDetector.DetectChanges(
// (i, p) => (i.LendifyUserId == p.LendifyUserId),
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KPI.Model.ViewModel
{
public class LevelActionVM
{
public int key { get; set; }
public string code { get; set; }
public string title { get; set; }
publi... |
using System;
namespace csharp_scraper.Controllers
{
public class Credentials
{
public string LoginUrl { get; } = "https://login.yahoo.com/config/login?.intl=us&.lang=en-US&.src=finance&.done=https%3A%2F%2Ffinance.yahoo.com%2F";
public string Username { get; } = "tim@timwheeler.com";
... |
namespace Blorc.OpenIdConnect.DemoApp.Server
{
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hostin... |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using GameFifteenVersionSeven;
using System.IO;
namespace GameFifteenVersionSevenTests
{
[TestClass]
public class GameEngineClassTests
{
[TestMethod]
public void ShouldReturnTrue_DefineComma... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayAudio : MonoBehaviour {
// Use this for initialization
void Start () {
FindObjectOfType<AudioManager>().Play("Fire");
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace FIT5032_wefit.Models
{
public class Event
{
[Key] public int Id { get; set; }
public string EventName ... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace HotellbookingEF.Model
{
public class Room
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class scrEnemyBase : MonoBehaviour
{
public Transform Player;
[Header("Basic Properties")]
public float attackCooldownMax;
public float attackCooldownMin;
public float attackDuration;
float currentAttackDuration;
float curr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FeedBackPlatformDatabase.Models
{
public class Response
{
public int Id { get; set; }
public int SurveyId { get; set; }
public int? QuestionId { get; set; }
... |
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StreakerLibrary;
namespace COMP476Proj
{
public enum ConsumableType { SLIP, MASS, TURN, SPEED }
public class Consumable : EntityVisible
... |
using System;
namespace ClearSight.RendererAbstract.CommandSubmission
{
public abstract class Fence : DeviceChild<Fence.Descriptor>
{
public struct Descriptor
{
public long InitialValue;
}
protected Fence(ref Descriptor desc, Device device, string label) : base(ref... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Model.Models.ViewModel
{
public class POSDeviceViewModel : AuthTokenViewModel
{
[JsonIgnore]
public String company_id
{
get => SellerID;
set => ... |
/*--------------------------------------------------------------------------
Reactor.Web
The MIT License (MIT)
Copyright (c) 2015 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (t... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(RectTransform))]
public class FollowRotation : MonoBehaviour {
/// <summary>
/// The follow x rotation.
/// </summary>
public bool followX;
/// <summary>
/// The follow y rotation.
///... |
using System.Linq;
using MvcExample.DTO.User;
namespace MvcExample.Core.Services.User
{
public class UserService
{
private readonly DatabaseContext db;
public UserService()
{
db = new DatabaseContext();
}
public UserDto GetuserDetail(UserLoginDto dto)
... |
using System;
namespace Pomodoro_Zamanlayici.Siniflar
{
public class Zaman
{
public int Dakika { get; set; }
public int Saniye { get; set; }
public Zaman()
{
}
public Zaman(int dakika, int saniye)
{
Dakika = dakika;
... |
using UnityEngine;
using System.Collections;
using UnityEngine.Networking;
public class Podium : MonoBehaviour {
void OnTriggerEnter(Collider other) {
if (other.gameObject.tag == "Player") {
PlayerIdentity id = other.gameObject.GetComponent<PlayerIdentity>();
if (id.IsSeeker()) {... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BitMEX
{
public class Quote
{
public string timestamp = "";
public string symbol = "";
public string bidSize = "";
public string bidPrice = "";
public string askSize = "";
public string... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TravellingSalesman
{
internal partial class MapViewer : UserControl
{
private ... |
using System;
using System.Configuration;
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 System.Net;
using System.Net.Mail;
using System.Data.OleDb;
using Syste... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class W_ImpactEffects : MonoBehaviour
{
[SerializeField] GameObject effectProjectileStandard;
[SerializeField] GameObject effectDamageBlood;
[SerializeField] GameObject effectDamageGoo;
public void PlayImpactEffect(V... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Provides access to configuration data
/// </summary>
public static class ConfigurationUtils
{
private static ConfigurationData configurationData;
#region Properties
/// <summary>
/// Gets the paddle move... |
namespace OmniGui.Geometry
{
public static class GeometryExtensions
{
public static Size UniformResize(this Size size, Size target)
{
var originalFactor = size.GetProportion();
if (size.Width * originalFactor > target.Width)
{
re... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Xml;
using InvoiceClient.Properties;
using Utility;
using Model.Schema.TXN;
using InvoiceClient.Helper;
using InvoiceClient.TransferManagement;
namespace InvoiceClient.Agent
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Team3ADProject.Model;
using Team3ADProject.Code;
using System.Transactions;
//esther
namespace Team3ADProject.Protected
{
public partial class POStagingSummaryaspx : Sys... |
using System;
using System.IO.Ports;
namespace NanoSerialLib
{
public class Board
{
static SerialPort _arduino;
public Board(int Rate, string port)
{
_arduino = new SerialPort();
_arduino.BaudRate = Rate;
_arduino.PortName = port;
_arduin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RotationObjectScript : MonoBehaviour {
[SerializeField]
private float RotationSpeed;
[SerializeField]
private float RotationAngle;
public bool isRotating = false;
private bool... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Trettim.Framework.Data
{
public class CustomEnum<TEnum>
{
public TEnum EnumValue { get; set; }
public String Value { get; set; }
public CustomEnum(TEnum enumValue, String value)
{
... |
using UIKit;
using Xamarin.Forms.Platform.iOS;
using AuditAppPcl.CustomUI;
using Xamarin.Forms;
using OneSystemAudit.iOS.CustomUI;
[assembly: ExportRenderer(typeof(AuditTabbedPage), typeof(AuditTabbedPageRenderer))]
namespace OneSystemAudit.iOS.CustomUI
{
public class AuditTabbedPageRenderer : TabbedRenderer
... |
using System;
using System.Linq;
namespace KT.DB.CRUD
{
public class GeneratedTestsRepository : ICrud<GeneratedTest>
{
public GeneratedTest Create(GeneratedTest entity)
{
using (var db = new KTEntities())
{
db.GeneratedTests.AddObject(entity);
db.SaveChanges();
return entity;
}
}
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.Extensions.Logging;
using Microsoft.WindowsAzure.Storage.Queue;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Telegram.Bot.Types... |
using System;
using UnityEngine;
public class EnemyManager : MonoBehaviour
{
public static EnemyManager Instance;
[SerializeField]
private GameObject enemyPrefab;
[SerializeField]
private GameObject emptyShapePrefab;
[SerializeField]
private Transform enemyCointerner;
void Awake()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Task 4
namespace GivenNumInArray
{
public class GivenNumInArray
{
static void Main(string[] args)
{
Console.Write("Enter num for find: ");
int num = in... |
// <copyright file="ConfigViewModel.cs" company="Soloplan GmbH">
// Copyright (c) Soloplan GmbH. All rights reserved.
// Licensed under the MIT License. See License-file in the project root for license information.
// </copyright>
namespace Soloplan.WhatsON.GUI.Configuration.ViewModel
{
using System;
using Sy... |
using AutoDataReader.Entities;
using System.Collections.Generic;
namespace AutoDataReader.Service.Contracts
{
public interface IWordService
{
Word Get(int id);
void Create(Word word);
void Update(Word word);
void Delete(Word word);
ICollection<Word> GetAll();
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MPACore.PhoneBook.Web.Models.Persons
{
public class PersonListViewModel
{
}
} |
using UnityEngine;
using UnityEngine.UI;
namespace Ratings
{
[RequireComponent(typeof(Button))]
public class RateButton : MonoBehaviour
{
public bool SkipDialog;
public bool Review;
private void Awake()
{
GetComponent<Button>().onClick.AddListener(() =>
... |
using Microsoft.Dynamics365.UIAutomation.Browser;
using OpenQA.Selenium;
using Vantage.Automation.PortalUITest.Context;
using Vantage.Automation.PortalUITest.Helpers;
namespace Vantage.Automation.PortalUITest.Pages
{
public class WorkspacePage
{
private readonly UIContext _uiContext;
private ... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace SGDE.DataEFCoreSQL.Migrations
{
public partial class Add_WorkBudget_to_Table_Invoice : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "WorkB... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EaseOutColor : MonoBehaviour
{
[SerializeField] private Renderer rend;
[SerializeField] private float fadeSpeed = 10f;
// Update is called once per frame
private void Start()
{
StartCoroutine(FadeO... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.