text stringlengths 13 6.01M |
|---|
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 Desafio_Encode
{
public partial class Suscriptores : System.Web.UI.Page
{
protected voi... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using UnityEngine;
using System.Runtime.Serialization;
public class SaveManager : MonoBehaviour
{
public void Awake()
{
//_level = GameObject.FindObjectOfType<Level>();
... |
using MetroFramework;
using MetroFramework.Forms;
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 RMS
{
public partial class MainRMS
{
private void ClickCre... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class SceneLoader : MonoBehaviour
{
public string CurrentSceneName;
public string NextSceneName;
public string MainMenuName = "Main Menu";
// Start is called before the ... |
// Copyright (c) Shawn Oster. All rights reserved.
// Licensed under the MIT license.
namespace Bingo.Answers.Extensions
{
using System;
using System.Collections.Generic;
using Microsoft.Azure.Cosmos;
using Microsoft.Azure.Cosmos.Fluent;
using Microsoft.Extensions.DependencyInjection;
using Bin... |
namespace AvaloniaDemo.Models.Tools
{
public class Tool6
{
}
}
|
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 DNA
{
public partial class SecondForm : Form
{
public SecondForm()
{
InitializeComponent... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Task 14
namespace Decimal_to_Hexadecimal_Number_System
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter number: ");
int n = int... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace PhotoAlbum.Domain.Entities
{
[Table(name:"tblCredentials")]
public class Credentials
{
[Key]
public int Id { get; set; }
public string FAppId { get; set; }
public st... |
using System;
using System.Management.Automation.Host;
using System.Threading;
namespace doob.Scripter.Engine.Powershell
{
internal class CustomPsHost : PSHost
{
private Guid _hostId = Guid.NewGuid();
private CustomPSHostUserInterface _ui;
private bool logToConsole;
p... |
using AutoMapper;
using Finances.Core.Application.Incomings.Commands.CreateIncoming;
using Finances.Core.Application.Incomings.Queries.GetIncomingsByUserId;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Finances.Api.Controllers
{
publi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Cinemachine;
public class CameraAiming : MonoBehaviour
{
public static CameraAiming instance;
public Transform cameraLookAT;
public Cinemachine.AxisState xAxis;
public Cinemachine.AxisState yAxis;
public GameObj... |
using System;
using System.Globalization;
using System.Windows.Data;
namespace Hsp.Mvvm
{
public class EventedConverter : IValueConverter
{
public event EventHandler<ConverterEventArgs> OnConvert;
public event EventHandler<ConverterEventArgs> OnConvertBack;
public object Convert(object value, Typ... |
using BLL.Dtos;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace PL.ViewModels
{
public class ProductFormViewModel
{
public IEnumerable<CategoryDto> Categories { get; set; }
public bool CategoryIsFixed { get; set; }
public int? Id... |
/*
* Created by SharpDevelop.
* User: USER
* Date: 09/09/2018
* Time: 20:59
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Drawing;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Windows.Forms;
namespace dal
... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
[Attribute38("PremiumMaterialSwitcher")]
public class PremiumMaterialSwitcher : MonoBehaviour
{
public PremiumMaterialSwitcher(IntPtr address) : this(address, "PremiumMaterialSwi... |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Wpf.Test.Framework
{
public static class Wait
{
public const int DEFAULT_TIMEOUT = 10 * 1000;
public const int INTERVAL = 200;
public static bool Until(Func<bool> predicate, int timeout = DEFAULT_TIMEOUT, in... |
namespace WebApplication1.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Firebird.REL_T_LINk")]
public partial class RelationTypeLink
{
... |
namespace CakeShop.Data
{
using CakeShop.Data.Models;
using IdentityServer4.EntityFramework.Options;
using Microsoft.AspNetCore.ApiAuthorization.IdentityServer;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
public class ApplicationDbContext : ApiAuthorizationDbContex... |
using AutoMapper;
using ZooApp.Application.Common.Mappings;
using ZooApp.Domain.Entities;
namespace ZooApp.Application.Animal.Queries
{
public class AnimalDto : IMapFrom<AnimalEntity>
{
public virtual int Id { get; set; }
public virtual string Nombre { get; set; }
public virtual string ... |
//
// 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;
using Telerik.Web.UI;
#endregion
namespace DotNetNuke.Web.UI.WebControls
{
public class DnnGridItemSelectedEventArgs ... |
using System.IO;
using System.Net;
namespace OLinqProvider
{
internal static class RequestHelper
{
internal static string AddParameter(this string url, string param)
{
return string.Format(url.Contains("?") ? "{0}&{1}"
: "{0}?{1}", url, param);
}
i... |
using Labs.WPF.TvShowOrganizer.Data.Model;
using System;
using System.Collections.Generic;
namespace Labs.WPF.TvShowOrganizer.Data.Repositories.Interface
{
public interface ITvShowRepository
{
TvShow GetById(Guid id);
TvShow GetBySerieId(int serieId);
IEnumerable<TvShow> Series();
... |
using System;
namespace WindowsFormsApplication1
{
/* To collapse all prese : Ctrl + 'M' + 'O'*/
/* To open all prese : Ctrl + 'M' + 'L'*/
public class Vigenere
{
/* Variable of this class*/
public string plainText
{
get
{
return _p... |
using NuGet.Protocol.Core.Types;
using NuGet.Packaging.Core;
using NuGet.Packaging.Core;
using NuGet.Protocol.Core.Types;
using NuGet.Protocol.Core.v3;
using NuGet.Versioning;
using System;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Client.V3Test
{
public class DownloadResourceTe... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using static XCI_Organizer.Form1;
using XCI_Organizer.XTSSharp;
using System.Runtime.InteropServices;
using System.Drawing;
namespace XCI_Organizer {
internal static class Util {
public static string GetMkey(byt... |
using SDL2;
using System;
namespace SharpDL.Graphics
{
[Flags]
public enum RendererFlags : uint
{
None = 0,
RendererAccelerated = SDL.SDL_RendererFlags.SDL_RENDERER_ACCELERATED,
RendererPresentVSync = SDL.SDL_RendererFlags.SDL_RENDERER_PRESENTVSYNC,
SupportRenderTargets = S... |
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 WindowsFormsApp4
{
public partial class Form1 : Form
{
public Form1()
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MoveUp : MonoBehaviour {
public float speed;
void FixedUpdate () {
transform.Translate(Vector3.up * speed);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProgramingCsharpSamples.Inheritance.Sample6_6
{
class Impl : IBoth
{
public void Method3()
{
throw new NotImplementedException();
}
public ... |
namespace Ratings
{
public enum RateReadiness
{
// All good.
Ready = 0,
// Temporary Setbacks
MinorFailures = 100,
FailPostponed,
// Real Setbacks
MediumFailures = 200,
FailLaunchTime,
FailInstallTime,
FailSessionC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EnumsComponent
{
public enum SampleEnum
{
ValueOne,
ValueTwo,
ValueThree
}
public class EnumDemo
{
public SampleEnum EnumField { get; set; }... |
using NetworkToolkit.Http.Primitives;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace NetworkToolkit.Http
{
/// <summary>
/// A <see cref="HttpMessageHandler"/> that operates over <see cref="HttpConnection"/>.
/// </sum... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ENTITY;
namespace ENTITY
{
public class RoleInfo
{
private decimal _roleId;
private string _role;
private string _narration;
private DateTime _extraDate;
private string _extra1;
... |
using FirstEnergy.Logging;
using System.Web.Mvc;
namespace EnterpriseRequests.Web.Controllers
{
public class BaseController : Controller
{
protected IEventLogger Log;
public BaseController()
{
Log = EventLogger.GetLogger(GetType());
}
protected override vo... |
using System;
using System.IO;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
namespace RenderHeads.Media.AVProVideo.Demos
{
public class VCR : MonoBehaviour
{
public MediaPlayer _mediaPlayer;
public MediaPlayer _mediaPlayerB;
public DisplayUGUI _mediaDisplay;
public Slider _videoSeekS... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace DroneController{
public partial class IPPage : ContentPage{
public Entry ipEntry;
public Button connectButtonO;
public Label stateLabelO;
public static IPPage Instance;
void Awake(){
Instance = this;
}
public IPPage... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace yocto.tests.Mocks
{
interface IPooled
{
long Count { get; }
}
public class Pooled : IPooled
{
private static long _count;
... |
using KnapsackProblem.Common;
using System;
using System.Collections.Generic;
using System.Text;
namespace KnapsackProblem.ConstructiveVersion
{
public class ConstructiveResult: AbstractResult<KnapsackInstance>
{
public KnapsackConfiguration Configuration { get; set; }
public double RunTimeMs ... |
using CommandLine;
using CommandLine.Text;
using System.Collections.Generic;
using System.Text;
namespace ParallelExecution
{
public class Options
{
[Option(shortName: 's', longName: "server", HelpText = "Server to use as the controller of the processes when running as a client.")]
public stri... |
// Written by Aaron Bellis u0981638 for CS 3500 2017 Fall Semester.
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SS;
using System.Collections.Generic;
using SpreadsheetUtilities;
namespace SpreadsheetModelTests
{
[TestClass]
public class SpreadsheetTests
{
/// <summary>... |
using UnityEngine;
using System.Collections;
public class ElevatorButton : MonoBehaviour {
public bool elevatorLeftOpening = false;
public bool elevatorLeftClosing = false;
public bool elevatorRightOpening = false;
public bool elevatorRightClosing = false;
void OnMouseDown(){
elevatorLeftOpening = true;
el... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP.Dashboard.Model
{
/**
* Interface IWidgetConfig
*
* This object contains the configuration of a widget for a userId
*
* @see IDashboardWidget::loadWidget
*
* @since 15.0.0
*
* @package OCP\Dashboard\Model
*/
public interfac... |
using UnityEngine;
using System.Collections;
//totally copied from andy moore: http://captain-andy.com/post/91110372105/hovercars-in-unity-make-this-game
public class Thruster : MonoBehaviour {
[SerializeField]
private float thrusterStrength;
[SerializeField]
private float thrusterDistance;
[Ser... |
using System.Security.Principal;
using Microsoft.AspNet.Identity;
namespace Web.Identity
{
public class CurrentUser : ICurrentUser
{
private readonly IIdentity _identity;
private readonly ApplicationUserManager _userManager;
private ApplicationUser _currentUser;
public Current... |
using System;
namespace Caliburn.Light
{
/// <summary>
/// EventArgs sent during activation.
/// </summary>
public sealed class ActivationEventArgs : EventArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="ActivationEventArgs"/> class.
/// </summary>
... |
using System;
class Program
{
public static void Main()
{
double distance = double.Parse(Console.ReadLine());
string solus = Console.ReadLine().ToLower();
double taxiFee = double.MaxValue;
double busFee = double.MaxValue;
double trainFee = double.MaxValue;
if ... |
using System;
using NUnit.Framework;
using GeneticSharp.Domain.Chromosomes;
using GeneticSharp.Domain.Randomizations;
using Rhino.Mocks;
namespace GeneticSharp.Domain.UnitTests.Chromosomes
{
[TestFixture]
public class IntegerChromosomeTest
{
[Test]
public void ToFloatingPoint_NoArgs_Double()
{
Randomizati... |
/***********************************************************************
* Copyright(c)
* CLR 版本: 4.0.30319.34014
* 命名空间: BPiaoBao.AppServices
* 文 件 名:ExtOperationInterceptorAttribute.cs
* 创 建 人:duanwei
* 创建日期:2014/11/11 17:40:11
* 备注描述:
***********************************************... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VendingMachine.Models;
namespace VendingMachine.Interfaces
{
public interface ICoinsRepository
{
List<Coin> GetAll();
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Scores : MonoBehaviour
{
public Text ScoreText;
private CurrentGameData m_GameData;
private int m_AnswerNumber;
private int m_Scores;
private int m_WrongScores;
private bool Initi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SLAM4_TP2_Martin_laugere
{
class Parcelle
{
private int id_parcelle;
private DateTime date_semis;
private DateTime date_recolte_prevue;
private int surf... |
namespace TestEF1.DbEntities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class Table1
{
public Table1()
{
Table... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SalaoG.Data;
using SalaoG.Models;
using Xamarin.Forms;
namespace SalaoG
{
public class ServicoService
{
public List<ListaServico> ListaServico()
{
ServicoDAO dao = new ServicoDAO... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace REQFINFO.Utility
{
public class CreateGig
{
public int IDUDFType { get; set; }
public string Name { get; set; }
public Nullable<bool> IsRequired { get; set; }
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using GestDep.Services;
namespace GestDep.GUI
{
public partial class Empleado : Form
{
p... |
using LuaInterface;
using SLua;
using System;
public class Lua_UnityEngine_CollisionDetectionMode : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UnityEngine.CollisionDetectionMode");
LuaObject.addMember(l, 0, "Discrete");
LuaObject.addMember(l, 1, "Continuous");
LuaObject.addMemb... |
using System;
namespace lianda.Component
{
/// <summary>
/// BaseUC 的摘要说明。
/// </summary>
public class BaseUC
{
public BaseUC()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
}
}
|
using System;
using System.Collections.Generic;
namespace CIS4800
{
public class Shape {
private List<Surface> surfaces;
private List<Edge> edges;
public Shape () {
this.surfaces = new List<Surface> ();
edges = new List<Edge> ();
}
public List<Surface> getSurfaces () {
return this.surfaces;
... |
//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.nopCommerce.com/Lic... |
//
// - PropertyNameLookupHelperTests.cs -
//
// Copyright 2014 Carbonfrost Systems, Inc. (http://carbonfrost.com)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apa... |
using NUnit.Framework;
using syscrawl.Common.Services;
namespace syscrawl.Tests
{
[TestFixture]
public class RandomGeneratorTests
{
[Test]
public void TestSeed()
{
var rng1 = new RandomGenerator("SeedThing");
var rng2 = new RandomGenerator("SeedThing");
... |
using DotnetCoreAssignment.Models;
using DotnetCoreAssignment.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace DotnetCoreAssignment.Controllers
{
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Woosan.SurvivalGame
{
public class RagdollController : MonoBehaviour
{
List<Rigidbody> rigidbodies;
public Animator animator;
public CapsuleCollider capsuleCollider;
public Transform root;... |
using Microsoft.Extensions.DependencyInjection;
using Hayalpc.Fatura.Vezne.External.Services;
using Hayalpc.Fatura.Vezne.External.Services.Interfaces;
using System.Linq;
using System.Reflection;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace Hayalpc.Fatura.Vezne.External.Extensions
{
public ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Level3Manager : MonoBehaviour
{
public GameObject boss;
public GameObject alcool;
public GameObject mask;
public GameObject vaccine;
public int[] spawnBounds;
private float spawnY = -4.16f;
private... |
using System;
using System.Collections.Generic;
namespace RestApiEcom.Models
{
public partial class TRAgentModuleDroit
{
public int AmdId { get; set; }
public int AmdIdagent { get; set; }
public int AmdIdmodule { get; set; }
public int AmdIddroit { get; set; }
public v... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class Oppgave0 : LevelInterface
{
public CannonState getInitialState()
{
CannonState state = new CannonState();
System.Random rnd = new System.Random();
state.levelName = "Oppgave 0";
... |
Using TypeScript 4.1 for IntelliSense.
|
// Copyright 2019 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 the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... |
/*
Bugs
Enemy punches when in reel state
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class acolytePlayerDetection : MonoBehaviour {
public acolyteBehavior AB;
public Animator anim;
public bool playerDetected;
public LayerMask playerLayer;
public Collider2D curre... |
using System;
using System.IO;
using Spectre.Console;
using CfgComparator.Writers;
using CfgComparator.Models;
using CfgComparator.Readers;
using CfgComparator.UI;
namespace CfgComparator
{
class Program
{
static void Main(string[] args)
{
var configurationFileReader = new Configur... |
using System;
public class Program
{
public static void Main()
{
var firstNumber = int.Parse(Console.ReadLine());
var secondNumber = int.Parse(Console.ReadLine());
var startingIndex = Math.Min(firstNumber, secondNumber);
var endingIndex = Math.Max(firstNumber, secondNumber);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using BrighterFutures.ViewModels;
using BrighterFutures.Models;
using Newtonsoft.Json;
using System.Net;
using System.Net.Http;
using CloudantDotNet.Controllers;
using System.Text;
// For more ... |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moonmile.XmlDom;
namespace TestXmlDom
{
[TestClass]
public class TestXmlDocument
{
[TestMethod]
public void TestParse1()
{
string xml = "<root><name>masuda tomoak... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public delegate void TimerDelegate();
public class TimerManager
{
static TimerManager instance;
List<Timer> timers;
List<Timer> toAdd;
List<Timer> toRemove;
/// <summary>
///... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LogUrFace.DTOs
{
public class EmployeeInputModel
{
public string EmployeeNumber { get; internal set; }
public string Fullname { get; internal set; }
public stri... |
namespace ConsoleForum.Commands
{
using System;
using System.Collections.Generic;
using System.Linq;
using ConsoleForum.Contracts;
using ConsoleForum.Entities.Users;
using ConsoleForum.Utility;
public class LoginCommand : AbstractCommand
{
public LoginCommand(IForum forum)
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace Music_Game
{
public class Task : INotifyPropertyChanged
{
List<Question> list_Question;
public List<Question> List_Question
{
get { return list_Ques... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MP3ManagerBase.factory
{
/// <summary>
/// The objectes of this class stores the information from the MP3-File. The inofrmations are read from the filesystem or the ID3-Tag in the MP3-File.
/// </summary>
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JoveZhao.Framework.DDD;
namespace BPiaoBao.DomesticTicket.Domain.Models.FrePasser
{
public class FrePasserBuilder : IAggregationBuilder
{
public FrePasser CreateFrePasser()
{
return new FreP... |
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 System.Windows.Media.Effects;... |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Sbidu.Data;
using Sbidu.Helper;
using Sbidu.Models;
using Sbidu.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Sbidu.Areas.Admin.... |
using UnityEngine;
using System.Collections;
public class GroundCheck : MonoBehaviour {
private Mage mage;
void Start()
{
mage = gameObject.GetComponentInParent<Mage>();
}
void OnTriggerEnter2D(Collider2D col)
{
mage.grounded = true;
}
void OnTriggerStay2D(Collider2D ... |
using ConsoleTable.Settings.Symbols;
namespace ConsoleTable.Settings
{
public class ConsoleTableSettings : IConsoleTableSettings
{
public ConsoleTableSettings(TableSymbols tableSymbols = null, bool sameRowLength = false)
{
if (tableSymbols == null)
{
tab... |
using GPSImageTag.Core.Interfaces;
using Plugin.Media;
using System;
using System.IO;
using System.Threading.Tasks;
namespace GPSImageTag.Core.Services
{
public class PhotoService: IPhotoService
{
private bool isPhotoAccessEnabled=false;
public bool IsPhotoAccessEnabled
{
g... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
namespace Dao.Solicitud
{
public class DepartamentoDao : GenericDao<Estados>, IDepartamentoDao
{
}
}
|
using System.Collections.Generic;
using System.Threading.Tasks;
using Shared.Models;
namespace Services.Abstractions
{
public interface ISoccerStore
{
Task AddOrUpdateData(List<League> leagues, List<Shared.Models.Team> teams, List<Game> games);
Task<List<League>> GetLeagues();
Task<Lis... |
using Roaring.DataStores;
using System;
using System.Runtime.CompilerServices;
namespace Roaring
{
public partial class RoaringBitmap
{
[MethodImpl(MethodImplOptions.NoInlining)]
public IRoaringBitmap Or(IRoaringBitmap bitmap) => Or(bitmap as IRoaringBitmapInternal, false, false);
[Met... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace SimplePlatformer
{
public class Camera
{
public float Zoom { get; set; }
public Vector2 Position { get; set; }
public Rectangle Bounds { get; protected set; }
public Color ClearColor = Color.White;... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SO.Urba.Managers;
namespace SO.Urba.Web.Tests
{
[TestClass]
public class MemberManagerTest
{
private MemberManager memberManager = new MemberManager();
[TestMethod]
public void memberUpdateTest()
{
... |
using System;
using System.Linq;
public class Solution {
public static void Main(String[] args) {
int[] rankedScores = readArrayInput().Distinct().ToArray();
int[] newScores = readArrayInput();
foreach(var score in newScores) {
int scorePosition = getIndexWithDivideAndConquer(score, rankedScores) + 1;
... |
using System;
using System.Threading.Tasks;
using DavisVantage.WeatherReader.Models;
using DavisVantage.WeatherReader.Models.Extremes;
namespace DavisVantage.WeatherReader
{
public interface IDataLogger<T> : IDisposable where T : IDataLoggerSettings
{
T Settings { get; set; }
/// <summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Filler : MonoBehaviour {
//params needed for level fills;
[SerializeField]
private FaceScript a;
[SerializeField]
private FaceScript b;
[SerializeField]
private FaceScript virus;
//max vals for upper and lower panel... |
// LE TON NANG - 20194339
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using BUS;
namespace GUI
{
public partial class Form1 : Form
{
private Panel left;
private Button currentBtn;
[DllImport("user32.DLL", EntryPoint... |
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.Web.Mvc;
using System.Data;
using System.Data.Entity;
using System.Threading.Tasks;
using CriticalPath.Data;
using CriticalPath.Web.Models;
using CP.i8n;
using CriticalPath.Web.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SporeCloud : MonoBehaviour
{
public Spores sporeProduced;
private void OnTriggerEnter(Collider other)
{
if (other.gameObject.CompareTag("Player"))
{
if (!other.gameObject.GetComponent<Pla... |
using Microsoft.EntityFrameworkCore;
using MyPage.Areas.Treinamento.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MyPage.Areas.Treinamento.Data.DAL
{
public class TreinoDAL
{
private readonly Contexto _contexto;
public Treino... |
using Assets.Scripts.RobinsonCrusoe_Game.RoundSystem;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ShowScore : MonoBehaviour
{
public Text FromWood;
public Text FromFood;
public Text FromPermanentFood;
public Text FromHealth;
pub... |
using UnityEngine;
using System.Collections;
public class BattleAI : BattlePlayerControl{
protected override void CastSkill(){
if (UnityEngine.Random.Range (0, heroContainer.npcCsv.level) < 1) {
int skillID = heroContainer.npcCsv.skill [(int)(heroContainer.npcCsv.skill.Length * UnityEngine.Random.value)];... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.