text stringlengths 13 6.01M |
|---|
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 TableroComando.Dominio;
using TableroComando.GUIWrapper;
using Dominio;
using TableroComando.Clases;
namespace Tabl... |
using Client.Helpers.System;
using MahApps.Metro.Controls;
using MahApps.Metro.Controls.Dialogs;
using System;
using System.Windows;
using System.Windows.Controls;
using WPF.NewClient.ViewModel;
using WPF.NewClientl.Model;
namespace Meeting.NewClient.UI
{
/// <summary>
/// Description for Welcome.... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Coldairarrow.Entity.Sto_ProManage
{
/// <summary>
/// Pro_UseMateriel
/// </summary>
[Table("Pro_UseMateriel")]
public class Pro_UseMateriel
{
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Text;
using AutoMapper;
using TestShop.Application.Models.Cart;
using TestShop.Domain.Models;
namespace TestShop.Application.AutoMapperProfiles
{
public class CartProfile : Profile
{
public CartProfile()
{
CreateMap<Order... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CoolDown : MonoBehaviour
{
public float tempoAtaqueFogo;
public float tempoAtaqueRaio;
public float tempoAtaqueSnare;
public float waitFireRateFogo = 1;
public float waitFireRateRaio = 1;
public float w... |
using Xamarin.Forms;
namespace BattleShots
{
public static class Theme
{
public static Color BgColour = Color.Green;
public static Color LabelTextColour = Color.White;
public static Color EntryTextColour = Color.White;
public static Color EntryBgColour = Color.YellowGreen;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerUI : MonoBehaviour
{
public Image HPImage;
public Image HungerImage;
public Image StaminaImage;
public Image EatImage;
public Image SleepImage;
public Text FoodText;
pu... |
using System;
using Newtonsoft.Json;
using SQLite;
namespace iPadPos
{
public class InvoiceLine : BaseModel
{
[PrimaryKey, AutoIncrement]
public int LocalId { get; set; }
public int LocalParentId { get; set;}
public InvoiceLine ()
{
}
public InvoiceLine(Item item)
{
Qty = 1;
Description = item... |
using UnityEngine;
namespace Grandma.PF
{
public class ReloadState : TimedState
{
public ReloadData Data { get; set; }
public SubscriptionValue<int> CurrentAmmo { get; set; }
protected override void OnTimerFinished()
{
base.OnTimerFinished();
Reload();... |
using System;
using System.Windows.Forms;
namespace Tic_Tac_Toe_WF
{
public partial class Winscreen : Form
{
// Variable to catch the old playfield
private Game oldPlayfield;
// the old playfield is passed in the constructor
public Winscreen(Game opf)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Assets.Code.Items
{
/// <summary>
/// Interface for all items that can be carried in the inventory of the player
/// </summary>
public interface IItem : IDropable
{
string Name { get; }
}
}
|
using Focuswin.SP.Base.Utility;
using Microsoft.SharePoint;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YFVIC.DMS.Model.Models.Common;
using YFVIC.DMS.Model.Models.HR;
using YFVIC.DMS.Model.Models.Settings;
using YFVIC.DMS.Model.Models.FileI... |
using Allyn.Domain.Models.Front;
using Allyn.Domain.Repositories;
using Allyn.Domain.Repositories.Front;
using Allyn.Domain.Specifications.Definite;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Allyn.Infrastr... |
namespace VV_ProjetoLobosOvelhas
{
internal class Localizacao
{
private int linha;
private int coluna;
public Localizacao(int linha, int coluna)
{
this.linha = linha;
this.coluna = coluna;
}
public bool Equals(object obj)
{
... |
// This file is part of LAdotNET.
//
// LAdotNET 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 3 of the License, or
// (at your option) any later version.
//
// LAdotNET is distributed in t... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Text input script. Takes input from the player, displays it and call InputActions
/// </summary>
public class TextInputScript : MonoBehaviour
{
public InputField inputField;
GameControllerScript g... |
using System;
using System.ComponentModel;
namespace IPTV_Checker_2.Models
{
public class Channel : INotifyPropertyChanged
{
private string _name;
private string _server;
private Status _status;
private string _url;
private string _country;
public event Prop... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AspNetMvcSample.Core.StoredProc.Input
{
public class Employee_Input
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SmartLinkCalculator
{
class DeviceButtonFactory
{
public string Code { set; get; }
public string Tag1 { set; get; }
public string Tag2 { set; get; }
pub... |
using UnityEngine;
/* Programmer: Max Nastri
* Project: Spooky Knight Adventures
* Script: EnemyStats.cs
* Purpose: Class holding the base values for enemies including HP, damage, cooldowns, and ranges
*/
public class EnemyStats : MonoBehaviour
{
// Base values for the enemy
[Header("Base Values")]
pu... |
using System.Threading;
using Framework.Core.Config;
using Tests.Data.ActionID;
using Framework.Core.Common;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
using OpenQA.Selenium.Support.UI;
namespace Tests.Pages.ActionID
{
public class ActionIdMyProfile : Actio... |
using System;
using System.Collections.Generic;
using NHibernate.Envers.Configuration.Attributes;
using Profiling2.Domain.Prf.Careers;
using Profiling2.Domain.Prf.Responsibility;
using Profiling2.Domain.Prf.Units;
using SharpArch.Domain.DomainModel;
namespace Profiling2.Domain.Prf.Organizations
{
public class Org... |
using GameFrame;
public class HeroMsgDefine
{
// public static Msg heroStandMsg = new Msg("standMsg");
//public static Msg heroMoveMsg = new Msg("moveMsg");
public static Msg heroAttackMsg = new Msg("attackMsg");//攻击消息(UI发送)
//public static Msg heroAttack1Msg = new Msg("heroAttack1Msg");//攻击消息(攻击1动画事件触发... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using Inventor;
using Autodesk.DesignScript.Geometry;
using Autodesk.DesignScript.Interfaces;
using Autodesk.DesignScript.Runtime;
using Dynamo.Models;
using Dynamo.Utilities;
using InventorLibrary.Geom... |
using System;
using Android.Net;
using Java.Net;
using CC.Mobile.Services;
using Gojimo.Tutor.Services;
namespace CC.Mobile.Services
{
public class ReachabilityService : IReachabilityService
{
public ReachabilityService ()
{
}
private ConnectivityManager connectivityManager;
... |
using UnityEngine;
public class Block
{
// The Block class is used to represent the rectangles during gameplay
private float height; // Size of the block
private float width; // -- -- -- -- --
private int value; // Unique value for each block
private Vector3 possition; // Possition on the screen
... |
using System;
namespace SpriteBook
{
[Serializable]
public class SpriteSizeException : Exception
{
public SpriteSizeException()
: base()
{ }
public SpriteSizeException(string message)
: base(message)
{ }
}
} |
using System.Collections.Generic;
namespace Airelax.Application.Houses.Dtos.Response
{
public class SimpleHouseDto
{
public string Id { get; set; }
public IEnumerable<string> Picture { get; set; }
public WishListDto WishList { get; set; }
public string Address { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Movie.Models
{
public interface IMovieRepository
{
void Add(Movie movie);
IEnumerable<Movie> GetAll();
Movie FindMovie(int Id);
void Remove(int Id);
void Update(Mo... |
using UnityEngine;
namespace DChild.Gameplay.Objects
{
[System.Serializable]
public struct ParticleTimeHandler
{
[SerializeField]
[HideInInspector]
private ParticleSystem[] m_particleSystems;
public ParticleTimeHandler(ParticleSystem[] m_particleSystems)
{
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace BibleBrowserUWP
{
static class BibleSearch
{
public const int TOOMANYRESULTS = 200;
#region Methods
/// <su... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ZOO_MANAGEMENT_SYSTEM
{
class Animal
{
public string Name;
public int Age;
public string Description;
public Animal()
{
}
public Animal(string Name)
{
this.... |
namespace MySurveys.Web.Areas.Administration.Controllers
{
using System.Collections;
using System.Web.Mvc;
using Kendo.Mvc.UI;
using MvcTemplate.Web.Infrastructure.Mapping;
using Services.Contracts;
using ViewModels;
public class ResponsesController : AdminController
{
private ... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Drawing;
using System.Text;
using System.Threading.Tasks;
namespace HW7_PlaneShooting
{
class CEnemy
{
public Point pt=new Point(0,0);
public Rectangle rec;
public in... |
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;
using Microsoft.Reporting.WebForms;
using Elmah;
namespace CreamBell_DMS_WebApps
{
public partial class frmIndentVSInvoice : Sy... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Event : MonoBehaviour
{
public GameObject hoiThoaiPanel, facePanel, luaChon;
public Text ten, talk, luaChon1, luaChon2;
public int story, textNum;
public bool enableNext = false;
}
|
using System.Collections;
using UnityEngine;
public class Boss : Enemy
{
public int NumShots = 10;
public float TimeBetweenWaves;
public float TimeBetweenShots;
public float BulletSpeed = 80F;
private GameObject _playerObj;
public GameObject bossPrefab;
public float minSize = 0.20f;
private bool _shieldUp = ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace TreeSolver
{
public class ScheduleSolver
{
public List<Patient> patients;
public int firstDoseTime;
public int secondDoseTime;
public int gapTime;
// TOGGLE FIRSTFIT ... |
using Xunmei.Docs.Localization;
using Volo.Abp.AspNetCore.Mvc.UI.RazorPages;
namespace Xunmei.Docs.Web.Pages
{
/* Inherit your PageModel classes from this class.
*/
public abstract class DocsPageModel : AbpPageModel
{
protected DocsPageModel()
{
LocalizationReso... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Alabo.Datas.Queries.Enums;
using Alabo.Domains.Entities;
using Alabo.Domains.Enums;
using Alabo.Domains.Repositories.Mongo.Extension;
using Alabo.UI;
using Alabo.Web.Mvc.Attributes;
using MongoDB.Bson;
using MongoDB.... |
using System.Windows;
using System.Windows.Input;
namespace KeypadEntryApplication
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using HomeDataCenterCore.Services;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using generalClassLibrary;
using System.Data;
using System.Text;
using System.IO;
using System.Drawing;
public partial class Messaging_Module_createAccount : System.We... |
using KeePassLib.Keys;
using System.Windows.Forms;
namespace NfcMyKeePass
{
public class NfcTagKeyProvider : KeyProvider
{
public override string Name => "Unlock via NFC tag";
public override byte[] GetKey(KeyProviderQueryContext ctx)
{
NfcPrompt prompt = new NfcPrompt();
... |
using OptionalTypes.JsonConverters.Tests.TestDtos;
using Xunit;
namespace OptionalTypes.JsonConverters.Tests.Unit.Write
{
public static class IntTests
{
[Fact]
public static void CanWriteUndefined()
{
//Arrange
var dto = new IntDto();
//Act
... |
using Terraria.ID;
using Terraria.ModLoader;
namespace StarlightRiver.Items
{
public class GreenhouseGlassItem : QuickTileItem
{
public GreenhouseGlassItem() : base("Greenhouse Glass", "Speeds up the growth the plant below it\nNeeds a clear area above it", ModContent.TileType<Tiles.Herbology.GreenhouseGlass>... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WorldObject : MonoBehaviour
{
public virtual bool IsPlayer() { return false; }
public virtual bool IsIA() { return false; }
public virtual bool IsObstacle() { return false; }
}
|
using System.Collections.Generic;
using System.Linq;
using MethodToDelegate.PartialApplication;
namespace MethodToDelegate.Ninject.Test.PartialApplication
{
public delegate void RepeatedlyAddToList(List<string> list, string elem, int times);
public static class ActionDelegateExample
{
public dele... |
using DMSkin.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Shapes;
using System.Drawing;
using System.Runtime.CompilerServices;
namespace JarPackagesDowdload.cs
{
public class Item : MyControlItem
{
pu... |
using MyHeroKill.Model.Wepons;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyHeroKill.Model.Weapons
{
public class YuruyiWeapon : BaseWeapon
{
public YuruyiWeapon()
{
this.Name = "玉如意";
t... |
using System;
using System.Data;
namespace Testr.Models.Queries
{
public interface IQuery<T>
{
T Execute(IDbConnection connection, IDbTransaction transaction);
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace InventoryControl.Models
{
public class Client
{
public int Id { get; set; }
public string Name { get; set; }
public string Address { get; set; }
public int ClientNum { get; set... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace test
{
public class GameController : MonoBehaviour
{
public static GameController instance;
public float timeElapsed;
public int keyCount;
public bool hasBow;
public bo... |
using Microsoft.Practices.Unity;
using Prism.Modularity;
using Prism.Regions;
using PrismTest1.Infrastructure;
using PrismTest1.People.ViewModels;
using PrismTest1.People.Views;
namespace PrismTest1.People
{
public class PeopleModule : IModule
{
private readonly IUnityContainer container;
priv... |
using Microsoft.SharePoint;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace YFVIC.DMS.Model.Models.WorkFlow
{
public class WFInstsEntity
{
/// <summary>
///流水编号
/// </summa... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Running;
namespace CSharp.Enumerables.SelectAndMany
{
public class Example01
{
[Params(10, 100, 1000)]
... |
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TestApi.InfraStructure.Repositories;
namespace TestApi.Controllers
{
[Route("api/[controller]")]
[ApiControll... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class ButtonResetPlayerprefs : MonoBehaviour
{
public GameObject ConfirmationGo;
public GameObject MenuGo;
public void ResetConfirmationText()
{
MenuG... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace EasyDev.Taobao
{
public interface IAPI
{ }
public class UserAPI : IAPI
{
public static readonly string GET_SUBSCRIBE = "taobao.appstore.subscribe.get";
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace geographymaster.Repositories
{
public class QuestionRepository : IDisposable
{
private Models.GeographyMasterEntities _db = new Models.GeographyMasterEntities();
private Random random = n... |
using AnyTest.DbAccess;
using AnyTest.IDataRepository;
using AnyTest.Model;
using AnyTest.Model.ApiModels;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AnyTest.MSSQLNetCoreDataRepository
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Lux.Framework;
namespace Lux.Physics
{
/// <summary>
/// The physics engine.
/// (This documentation should be elaborated.)
/// ((Please dont add Meta-Comments!))
/// </summary>
public class PhysicsEngine
{
priv... |
/*
Dataphor
© Copyright 2000-2008 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
usin... |
using Newtonsoft.Json;
namespace Billetautomat
{
public class LoginResponse
{
[JsonProperty("response")]
public string response { get; set; }
[JsonProperty("token")]
public string token { get; set; }
[JsonProperty("username")]
public string username { get; set... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace LimKaiYing
{
public partial class Registration : System.Web.UI.Page
{
protected voi... |
namespace com.Sconit.Web.Controllers
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.UI.WebControls;
using AutoMapper;
using com.Sconit.Entity;
using com.Sconit.Entity.ACC;
using com.Sconit.Entity.BIL;
using com.Sconit.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
//Gabriel Petkac, Nick Krotine, Jae Son
public class PlayerManager : MonoBehaviour {
private Rigidbody2D rb2d;
private Animator anim;
[SerializeField]
private GameObject player;
... |
using System;
namespace Uintra.Features.Notification.Models
{
public class ActivityEventIdentity
{
public Enum ActivityType { get; }
public Enum NotificationType { get; }
public ActivityEventIdentity(Enum activityType, Enum notificationType)
{
ActivityType = activi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Threading;
namespace Jypeli
{
public partial class FileManager : Updatable
{
internal static HttpClient Client = new HttpClient();
... |
/*
* Created : Sony NS @ SNC Bandung, 2013-11-11
* Descript : Polygon Tool.
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Drawing;
using System.Windows.Forms;
using DelftTools.Utils;
using GeoAPI.Extensions.Feature;
using GeoAPI.Geometries;
using log4net;
u... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cracking
{
class SearchRotatedArray
{
public static int searchRotated(int []arr,int low, int high, int key) {
int mid = low + (high - low) / 2; // low is the offs... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IWorkFlow.Host;
using IWorkFlow.ORM;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.IO;
using System.Web;
namespace BizService
{
class WordSe... |
using System;
using System.Collections.Generic;
using System.Text;
/// <summary>
/// Serana Wilger
/// 06/26/2020
/// Item.cs
///
/// A class for handling RPG items
/// </summary>
namespace sbwilger.DAL.Models.Items
{
public class Item : Entity
{
public string Name { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Datos.Interface
{
internal interface IUsuario : IGeneral
{
}
}
|
namespace PlanetHunters.Data.Store
{
using Models;
using System;
using System.Linq;
public static class StarSystemStore
{
public static StarSystem GetStarSystemByName(string name)
{
using (var context = new PlanetHuntersContext())
{
return co... |
using LinqSharp;
using System;
using System.Linq;
using Xunit;
namespace NStandard.Test
{
public partial class DpContainerTests
{
public class DpKnapsack : DpContainer<(int toGoods, int residualWeight), DpKnapsack.Result>
{
public class Result
{
public i... |
namespace BettingSystem.Application.Competitions.Leagues.Queries.Standings
{
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
public class GetStandingsQuery : IRequest<IEnumerable<GetStandingsResponseModel>>
{
public int Id { get; s... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Euler_Logic.Problems.AdventOfCode.Y2021 {
public class Problem05 : AdventOfCodeBase {
private List<Line> _lines;
private int _totals;
public override string ProblemName {
get { return "Advent of Code 2... |
using UnityEngine;
using System.Collections;
public class Wheels : MonoBehaviour
{
public GameObject Vehicle;
public Vector3 PositionInVehicleSpace;
public float k;
float normalLength;
Vector3 force;
Vector3 currentDistanceVector;
Rigidbody vehicleRigidbody;
Rigidbody wheelRigidbody;
... |
using UnityEngine;
using fNbt;
public abstract class AbstractBehaviorContainer : CellBehavior, IHasData, IContainer {
[SerializeField]
private Inventory _inventory = null;
protected Inventory inventory => this._inventory;
public virtual bool isFull => this.inventory.isFull();
public virtual bool... |
//@Author Justin Scott Bieshaar.
//For further questions please read comments or reach me via mail contact@justinbieshaar.com
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RotateTowardsCamera : MonoBehaviour {
void Update () {
transform.LookAt(Camera.main.trans... |
using System.ComponentModel;
using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace Appnotics.Library.UI.UserControls
{
/// <summary>
/// Interaction logic for DecimalUpDown.xaml
/// </summary>
public partial class DecimalUpDown : UserControl, INotifyPr... |
using System;
using Microsoft.Extensions.CommandLineUtils;
using Amazon.S3;
using System.Linq;
namespace WorldDominationCrawler
{
internal static class CliExtensions
{
public static int? ParseIntOption(this CommandOption cmdOption)
{
if (!cmdOption.HasValue()) return null;
... |
using UnityEngine;
using Mirror;
public class PlayerSetupScript : NetworkBehaviour
{
[SerializeField]
Behaviour[] componentsToDisable;
public override void OnStartClient()
{
if(!isLocalPlayer)
{
for (int i = 0; i < componentsToDisable.Length; i++)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ENode.Domain;
namespace ENode.Sample.Domain
{
public class Note : AggregateRoot<string>
{
private string _title;
public string Title {
get { return _title... |
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 com.Sconit.PrintMonitor.PUB_PrintOrderService;
namespace com.Sconit.PrintMonitor
{
public partial class Main : Form
{
... |
using System.Collections.Specialized;
using Framework.Core.Common;
using Framework.Core.Config;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Tests.Pages.Oberon.Common;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
namespace Tests.Pages.Oberon.Pledge
{
public class Pledg... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
using UnityEngine;
public class menuscript : MonoBehaviour
{
private const int FRAMES_PER_SEC = 60;
private int frameCount;
private int sec;
private bool stop;
void Start()
{
sec = 0;
... |
using RoboticMovementType.Enums;
using RoboticMovementType.Interface;
using System;
namespace RoboticMovementType.BaseMovementModel
{
/// <summary>
/// Rover base class
/// Moveable rover
/// </summary>
public class Rover : IRover
{
public Rover(IPosition position, Direction direction)... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public abstract class NodeBase : MonoBehaviour, IProgramNode
{
// Points to the next node
public IProgramNode nextNode;
public IProgramNode prevNode;
// GameObject that holds the nextNode
public G... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Day2CSharpAssignment
{
class MarkMainClass
{
public static void Main()
{
MarksStudent m1 = new MarksStudent
{
RollNo = 1234,
... |
using NUnit.Framework;
using NUnit.Framework.Interfaces;
using OpenQA.Selenium.Chrome;
using Selenio.Core.Reporting;
namespace Selenio.NUnit
{
[TestFixture]
public class TestClass
{
public IReporter Reporter;
[OneTimeSetUp]
public void ClassSetup()
{
}
[S... |
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.CommandWpf;
using System;
using System.Collections.ObjectModel;
using System.Windows.Input;
namespace CodingDojo4.ViewModel
{
public class MainViewModel : ViewModelBase
{
private Client clients;
private bool connect = false;
public st... |
using Newtonsoft.Json;
using Rebus.Auditing.Sagas;
using Rebus.Logging;
using Rebus.Sagas;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Azure.Storage.Blobs;
using Azure.Storage.Blobs.Models;
namespace Rebus.AzureBlobs.Sagas;
/// <summary>
///... |
using Assistenza.BufDalsi.Data.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Assistenza.BufDalsi.Web.Models.ImpiantoViewModels
{
public class InsertImpiantoViewModel
{
public Impianto imp { get; set; }
public IEnumerable<Clie... |
using System;
using System.Collections.Generic;
// understand the attribute of a card
public class Card{
public static readonly Card BLACK_ACE = new Card(11);
private readonly int _id;
public static readonly int CARD_MAX = 53;
public Card(int cardNumber)
{
if(cardNumber<0 || cardNu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebsiteManagerPanel.Models
{
public class FieldsViewModel
{
public int Id { get; set; }
public int DefinitionId { get; set; }
public int SiteId { get; set; }
public string... |
using UnityEngine;
public class GoalPostScript : MonoBehaviour {
public static GoalPostScript MainInstance;
public bool IsMainInstance = false;
public GameObject ContainerObject;
public GameObject PortalExit;
public GameObject PortalEffects;
[Space]
[Tooltip("If centerline placement should be raycasted")]
... |
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Musical_WebStore_BlazorApp.Shared;
namespace Musical_WebStore_BlazorApp.Services
{
public class UserService
{
private readonly HttpClient _httpClient;
public UserService(HttpClient ht... |
using System;
using System.Text;
using Xunit;
namespace NStandard.Test
{
public class ConvertExTests
{
[Fact]
public void ChangeTypeTest()
{
DateTime? ndt, expected;
ndt = ConvertEx.ChangeType("2019/12/11 8:58:57", typeof(DateTime?)) as DateTime?;
e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.