text stringlengths 13 6.01M |
|---|
public class Solution {
public int Reverse(int x) {
int res = 0;
while (x != 0) {
if (Math.Abs(res) > int.MaxValue / 10) return 0;
res = res*10 + x%10;
x /= 10;
}
return res;
}
} |
using System.Collections.Generic;
using UnityEngine;
using SoulHunter;
public static class AudioManager // Mort - Followed Tutorial by Code Monkey, modified/adjusted to suit project
{
public enum Sound
{
PlayerWalkGrass, // Done
PlayerWalkWood, // Done
PlayerJump, // Do... |
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;
using System.Web.Http;
using System.Web.Http.Description;
using System.Web.Se... |
// Copyright (c) 2020, mParticle, Inc
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using MMDB.Extensions;
using MMDB.Utils;
namespace MMDB.Windows
{
/// <summary>
/// Interaction logic for TableFo... |
using System;
namespace Infrostructure.Exeption
{
public class InvalidInstallmentPaymentExeption : Exception
{
public InvalidInstallmentPaymentExeption(string message = "پرداهت اقساطی به درستی پر نشده است(لیست اقساط خالی است یا مبلغ نهایی ثبت نشده است)") : base(message) { }
}
}
|
using UnityEngine;
namespace ComLib.Unity.Components
{
public abstract class SingletonComponent<T> : SingletonComponent where T : MonoBehaviour
{
public static T Instance
{
get { return instance; }
}
private static T instance = default(T);
public override ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.matrix_problems
{
/// <summary>
/// A matrix is given with 0's and 1's and is sorted in ascending order in the rows and columns.
/// Calculate the number of 0's i... |
namespace AddVat
{
using System;
using System.Globalization;
using System.Linq;
using System.Threading;
public class Startup
{
public static void Main(string[] args)
{
Execute();
}
private static void Execute()
{
Thread.CurrentTh... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSVHandler
{
class AutomaticPayment : Transaction
{
protected String autoPayName, autoPayNumber;
public AutomaticPayment(String transDate, String transType, String autoPayNu... |
using System;
namespace Piovra.Ds;
public class RBTree<K, V> where K : IComparable<K> {
readonly Node _nil;
Node _root;
public RBTree() {
_nil = new Node { Color = BLACK };
_root = _nil;
}
public Result<V> GetValue(K key) {
var x = _root;
while (x != _nil) {
... |
using System.IO;
using Microsoft.DeepZoomTools;
namespace Docller.Core.Images
{
public class DeepZoomImageProvider : IZoomableImageProvider
{
public string GenerateZoomableImage(string inputImage, string destFolder)
{
ImageCreator ic = new ImageCreator
{
... |
using System;
using CRUD_Razor_2_1.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
namespace CRUD_Razor_2_1.Data
{
public class DbInitializer: IDbInitialize
{
private readonly ApplicationDbContext _db;
private readonly UserManager<IdentityUser> _userManager;
... |
using Domain;
using Repository;
using RepositoryInterface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace WebAPI.Controllers
{
public class MenuController : ApiController
{
public IList<VMEN> GetMenuByUser(TU... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using ApartmentApps.Data;
namespace ApartmentApps.Api.Modules
{
[Persistant]
public class Message : PropertyEntity
{
public string FromId { get; set; }
[ForeignKey("FromId"),Searchable]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MoodleObjects;
namespace HonsService
{
[TestClass]
public class TestsMoodleDB
{
[TestMethod]
public void GetCourseByID()
{
int... |
using PhotonInMaze.Common.Model;
using System.Collections.Generic;
namespace PhotonInMaze.Common.Controller {
public interface IMazeCellManager {
IMazeCell GetMazeCell(int row, int column);
bool IsPathToGoalVisited(HashSet<IMazeCell> visitedCells);
bool IsATrap(HashSet<IMazeCell> visited... |
using System.Collections.Generic;
using Uintra.Core.Activity;
using Uintra.Core.Activity.Entities;
using Uintra.Core.Jobs.Models;
namespace Uintra.Features.Jobs
{
public class UpdateActivityCacheJob : UintraBaseIntranetJob
{
private readonly IEnumerable<IIntranetActivityService<IIntranetActivity>> _ac... |
using System;
using System.IO;
#if WINRT
using Windows.Storage.Streams;
#endif
namespace Jypeli
{
public partial class FileManager
{
/*
public LoadState BeginLoadContent( string assetName )
{
if ( Game.Instance == null )
throw new InvalidOperationException( ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace DSSAHP
{
public class NodeProject
{
public string Name { get; set; }
public int Level { get; set; }
public string Description { ... |
using A4CoreBlog.Data.Infrastructure;
using A4CoreBlog.Data.ViewModels;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace A4CoreBlog.Web.Areas.Admin.ViewComponents
{
public class PaginatedListControllsComponent : ViewComponent
{
public PaginatedListControllsComponent()
{
... |
namespace Sentry.Tests;
public class SessionTests
{
private readonly IDiagnosticLogger _testOutputLogger;
public SessionTests(ITestOutputHelper output)
{
_testOutputLogger = new TestOutputDiagnosticLogger(output);
}
[Fact]
public void Serialization_Session_Success()
{
// A... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.Sconit.PrintModel.ORD;
using com.Sconit.Entity;
using com.Sconit.Entity.MRP.TRANS;
using com.Sconit.Entity.MRP.VIEW;
using NPOI.SS.UserModel;
namespace com.Sconit.Utility.Report.Operator
{
public class RepShiftPlanExOp... |
using Xunit;
namespace dgPower.KMS.Tests
{
public sealed class MultiTenantFactAttribute : FactAttribute
{
public MultiTenantFactAttribute()
{
if (!KMSConsts.MultiTenancyEnabled)
{
Skip = "MultiTenancy is disabled.";
}
}
}
}
|
using System.ComponentModel.DataAnnotations;
namespace SciVacancies.WebApp.ViewModels
{
public class InterestDetailsViewModel : InterestEditViewModel
{
}
public class InterestEditViewModel
{
[MaxLength(1500, ErrorMessage = "Длина строки не более 1500 символов")]
public string IntN... |
using DirectFerries.Business;
using DirectFerries.Business.Interfaces;
using DirectFerries.Models;
using System;
using System.Configuration;
using System.Linq;
using System.Web.Mvc;
namespace DirectFerries.Controllers
{
public class HomeController : Controller
{
private IDateService _dateOfBirthAndFul... |
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentat... |
public class Solution {
public int MaxPoints(int[][] points) {
int n = points.Length;
int res = 0;
for (int i = 0; i < n; i ++) {
int x1 = points[i][0];
int y1 = points[i][1];
int duplicate = 1;
for (int j = 1; j < n; j ++... |
using PatientService.Model;
namespace PatientService.Repository
{
public interface IPatientRepository
{
Patient Get(string jmbg);
Patient GetLazy(string jmbg);
void Update(Patient patient);
void Add(Patient patient);
}
}
|
using System;
namespace ShoppingListApi.Models.SharedModels
{
public class BasePagination
{
public int? PageSize { get; set; }
public int? PageNumber { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.IO;
using System.Configuration;
public partial class Admin_brandlist : System.Web.UI.Page
{
SqlConnection con = new SqlConn... |
using System;
using Juicy.WindowsService;
namespace SampleService.Tasks
{
class DailyReportTask : ScheduledTask
{
readonly static log4net.ILog Log =
log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
protected override void Execute(DateTime scheduled... |
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace RU.Tinkoff.Core.Log.Internal {
// Metadata.xml XPath class reference: path="/api/package[@name='ru.tinkoff.core.log.internal']/class[@name='AndroidLogger']"
[global::Android.Runtime.Register ("ru/tinkoff/core/log/internal/AndroidLogger... |
using UnityEngine;
using System.Collections;
public class addComponent : MonoBehaviour {
public int maxSpeedF;
public int maxSpeedB;
public int maxRotation;
public float rechargeMissileTime;
public float rechargeBulletTime;
public GameObject ship;
public ParticleSystem engineParticles;
private float lastM... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutomationFramework.KendoWrapper
{
/// <summary>
/// Grid filter
/// </summary>
public class GridFilter
{
public GridFilter(string columnName, FilterOperator filter... |
using Breeze.AssetTypes;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Breeze.Screens
{
public class XuiDialog
{
public static async Task<int> ShowDialog(SmartSpriteBatch spriteBatch, string title, string body,... |
namespace Ejercicio
{
public abstract class Villano
{
public abstract int poder();
public abstract void realizarMaldad();
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MapUI : MonoBehaviour {
// Singleton //
public static MapUI instance { get; protected set;}
void Awake () {
if (instance == null) {
instance = this;
} else if (instance != this) {
Dest... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Euler_Logic.Problems.AdventOfCode.Y2019 {
public class Problem02 : AdventOfCodeBase {
public override string ProblemName {
get { return "Advent of Code 2019: 2"; }
}
public override string GetAnswer()... |
using ScriptableObjectFramework.Events;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ScriptableObjectFramework.Conditions
{
[Flags]
public enum ComparableComparison
{
GreaterThan = 1,
LessThan = 2,
EqualTo = 4,
NotEq... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using KartObjects;
using DrvFRLib;
using KartObjects.Entities.Documents;
namespace AxisEq
{
public class ShtrihFR:AbstractPrinter
{
DrvFR ptr;
int CashPass, DocumentType;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using k8s;
using k8s.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using nemo_api_service.Models;
namespace nemo_api_service.Controllers
{
[Route("api/[controller]")]
[ApiController]
... |
using System;
using Alabo.Domains.Entities;
using Alabo.Framework.Core.WebApis;
using Alabo.Framework.Core.WebUis;
using Alabo.UI;
using Alabo.UI.Design.AutoForms;
using Alabo.Web.Mvc.Attributes;
namespace Alabo.Industry.Cms.Articles.UI
{
[ClassProperty(Name = "文章", Description = "文章")]
public class ArticleAu... |
using AlgorithmProblems.Arrays.ArraysHelper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Sorting
{
/// <summary>
/// Given a sorted integer array, return a sorted array of the squares.
/// The input sorted ... |
namespace KingNetwork.Shared.Encryptation
{
public class AdlerChecksum
{
public static uint Checksum(byte[] data, int index, int length)
{
const ushort adler = 65521;
uint a = 1, b = 0;
while (length > 0)
{
var tmp = length > 555... |
using AutoMapper;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using SFA.DAS.Tools.Support.Core.Models;
using SFA.DAS.Tools.Support.Infrastructure.Services;
using SFA.DAS.Tools.Support.Web.Configuration;
using SFA.DAS.Tools.Support.Web.Extensions;
using SFA.DAS... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using FiiiCoin.DTO;
using FiiiCoin.ServiceAgent;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
... |
using PhotonInMaze.Common;
using System.Collections.Generic;
namespace PhotonInMaze.Maze.Generator {
internal class NextCellToVisitFinder {
private int rows, columns;
public NextCellToVisitFinder(int rows, int columns) {
this.rows = rows;
this.columns = columns;
}... |
namespace sc80wffmex.WindsorIoC
{
using System.Linq;
using System.Reflection;
using System.Web.Mvc;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using sc80wffmex.GlassStructure;
public class ApplicationCastleI... |
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.ExceptionHandling;
using OpenMagic.ErrorTracker.WebApi.Logging;
namespace OpenMagic.ErrorTracker.WebApi.Infrastructure
{
public class LibLogExceptionLogger : IExceptionLogger
{
private static readonly ILog DefaultLogger = LogPr... |
using System.Reflection;
[assembly: AssemblyTitle("NewGamePlus")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyCompany("Quicksilver Fox")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
|
using System;
public partial class DataBound : System.Web.UI.Page
{
protected void Search_Click(object sender, EventArgs e)
{
//for run server side empty event(refrash)
}
} |
using RunNerdApp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace RunNerdApp.Controllers
{
public class UsersController : ApiController
{
// GET: api/Users
public IEnumerable<AthleteModel> Get()... |
using AutoMapper;
using Mbp.Ddd.Application.Mbp.UI;
using Mbp.EntityFrameworkCore.PermissionModel;
using EMS.Application.Contracts.AccountService.Dto;
using EMS.Application.Contracts.Demo.Dto;
using EMS.Application.Contracts.LogService.Dto;
using EMS.Domain.DomainEntities.Demo;
using System;
using System.Collections.G... |
using System;
using System.Collections.Generic;
using UnityEngine;
public class CardParent : MonoBehaviour
{
public IEnumerable<SendCard> FullSearch(Func<bool, int, bool> func)
{
var cardManager = GameObject.FindWithTag(nameof(CardManager)).GetComponent<CardManager>();
for (int i = 0; i < car... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class WorldState : IState
{
public void Enter()
{
GUIManager.Open<CityUIPanel>("City", "CityUIPanel");
}
public void Exit()
{
GUIManager.CloseAll();
}
public void Update()
{
}
}
|
using System;
using System.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CarFinanceCalculator.Domain.Tests
{
[TestClass]
public class AmortizationCalculatorTests
{
[TestMethod]
public void Test1()
{
var car = new Car(2009, "Infiniti", "G37",... |
using UBaseline.Shared.Node;
using UBaseline.Shared.Property;
namespace Uintra.Features.UserList.Models
{
public class UserListPanelModel : NodeModel
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Memento
{
class Factura
{
FacturaMemento ultimoEstadoCopiado;
public DateTime FechaEmision { get; set; }
public string Cliente { get; set; }
p... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PatronAbstract_Factory
{
public interface IFabricante
{
//Interfaz que permitira crear bebidas a todas las clases que la implementen
public IBebida crearBebida();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Anywhere2Go.DataAccess
{
public class Constant
{
public class Format
{
public const string ApiDateFormat = "yyyy-MM-dd HH:mm:ss";
}
public ... |
using Alabo.Domains.Enums;
using Alabo.Security.Enums;
using System;
using System.ComponentModel.DataAnnotations;
namespace Alabo.Security {
/// <summary>
/// 基础用户
/// </summary>
public class BasicUser {
/// <summary>
/// 用户ID
/// </summary>
public long Id { g... |
using System;
using UBaseline.Shared.Node;
namespace Uintra.Features.UserList.Models
{
public class UserListPanelViewModel : NodeViewModel
{
public MembersRowsViewModel Details { get; set; }
public Guid? GroupId { 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;
namespace PIBP
{
public partial class Usluge : Form
{
public Usluge()
{
... |
using Contracts;
using System.Collections.Generic;
namespace AnalysisEngine.Analyzers
{
public class ForFilesAnalyzer : AnalyzerBase, IAnalyzer
{
public ForFilesAnalyzer()
{
Name = "ForFiles";
Threats = new List<Threat>(){
new Threat{FilePath = @"C:\Wind... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
namespace DogFetchApp
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading.Tasks;
using Xamarin.Forms;
using KSF_Surf.ViewModels;
using KSF_Surf.Models;
using System.Collections.ObjectModel;
namespace KSF_Surf.Views
{
[DesignTimeVisible(false)]
public partial class RecordsRecentPage... |
using System.ComponentModel.DataAnnotations;
namespace starteAlkemy.Models.ViewModels
{
public class HomeImagesViewModel
{
#region Ctor
public HomeImagesViewModel(){ }
public HomeImagesViewModel(HomeImages h)
{
IdImage = h.Id;
LinkImage = h.Link;
... |
using Microsoft.EntityFrameworkCore;
using Repository.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using ArticlesProject.Repository.Interfaces;
using ArticlesProject.DatabaseEntities;
namespace ArticlesProject.Repository.Implementations
{
public class ReplyReposito... |
using DatVentas;
using EntVenta;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusVenta
{
public class BusKardex
{
public List<Kardex> ListarMovimiento_kardex(int buscar, string opcion)
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Kulula.com.Models
{
class Aircraft
{
public int AircraftID { get; set; }
public string AircraftName { get; set; }
public string CarrierName { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraScript : MonoBehaviour {
public static CameraScript instance;
public float idleAmplitude = 0f;
public float shakeAmplitude = 3f;
Vector3 initialRotation;
Cinemachine.CinemachineBasicMultiChannelPerlin m_perlin;
C... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using DBDiff.Schema.Model;
namespace DBDiff.Schema.SQLServer.Generates.Model
{
public class Constraints<T> : SchemaList<Constraint,T> where T:ISchemaBase
{
public Constraints(T parent)
: base(parent... |
using System;
using System.Collections.Generic;
namespace UnityAtoms
{
public abstract class BaseObservable<T> : IObservable<T>
{
protected List<IObserver<T>> _observers = new List<IObserver<T>>();
protected abstract bool IsCompleted { get; }
public IDisposable Subscribe(IObserver<T> ... |
using System;
using System.Collections.Generic;
using System.Linq;
using MySql.Data.MySqlClient;
using System.Text;
using System.Data;
using System.Collections;
namespace PlanMGMT
{
public class LoginBLL
{
private static LoginBLL _instance;
private static readonly object _lock =... |
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.Imaging;... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ProjectCore.Model.Parameter
{
public class BasePagingParam
{
public string SearchText { get; set; } = null;
public int PageNumber { get; set; } = 1;
public int PageSize { get; set; } = 10;
public strin... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TWeapon : MonoBehaviour
{
public GameObject bullet;
public IWeaponBase weapon;
public float start_ATK=100, start_range=10, start_speed=5f,start_bullet_speed=15f;
private int atk_mouse_code = 0;
... |
public class Solution {
public IList<IList<int>> ThreeSum(int[] nums) {
var res = new List<IList<int>>();
if (nums.Length < 3) return res;
Array.Sort(nums);
for (int i = 0; i < nums.Length - 2; i ++) {
if (i != 0 && nums[i] == nums[i-1]) continue;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using alg;
/*
* tags: dp
* Time(n), Space(n), n is width of num
*/
namespace leetcode
{
public class Lc600_Nonnegative_Integers_without_Consecutive_Ones
{
public int FindIntegers(int num)
{
... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading;
using System.Windows.Forms;
using System.Xml.Serialization;
using AxiRepositories.Repositories;
using KartLib;
using KartLib.Common;
using KartLib.Special;
using... |
using System.Collections.Generic;
namespace Traffic_Light_Simulator
{
public class TrafficMonitor
{
public IList<BaseCrossing> Crossings { get; set; }
public void Save() { }
public void Load() { }
public void SaveAs() { }
public bool AddCrossing(BaseCrossing crossing) ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Lifetime : MonoBehaviour
{
public int lifeLeft = 1;
private Animator animator;
private void Start()
{
animator = GetComponent<Animator>();
}
// Update is called once per frame
void Update... |
using BuilderCore;
using ChampionsOfForest.Player;
using TheForest.Items.World;
using UnityEngine;
namespace ChampionsOfForest
{
public class SomeFuckingBowControllerClass : BowController
{
protected override void Start()
{
try
{
if (_bowItemId == 79)
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace HideAndSeekTests
{
using System;
using HideAndSeek;
using System.Collections.Generic;
using System.Diagnostics;
[TestClass]
public class LocationTests
{
private Location center;
/// <summary>
/// Init... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using BanSupport;
using System;
public class Example : MonoBehaviour
{
public static int global_index = 0;
public bool useOpenCloseRefreshEvent = false;
public bool useBeginDragEvent = false;
public bool useDrag... |
using System;
using System.Collections.Generic;
using System.Globalization;
namespace ExercicioFuncionario
{
class Program
{
static void Main(string[] args)
{
Console.Write("How many employees will be registered? ");
int n = int.Parse(Console.ReadLine());
... |
using Unity.Collections;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.XR.ARFoundation;
using Klak.Ndi;
namespace Rcam2 {
sealed class Controller : MonoBehaviour
{
#region Editable attributes
[Space]
[SerializeField] Transform _cameraTransform = null;
[SerializeField] ARCameraManager _ca... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.WriteLine("Drugie info");
... |
namespace Properties.Core.Interfaces
{
public interface IPropertyDetailServiceAdvertisingFacade : IPropertyDetailService
{
}
} |
namespace com.Sconit.Entity.SI.SD_ORD
{
using System;
using System.Collections.Generic;
[Serializable]
public partial class PickListMaster
{
#region O/R Mapping Properties
public string PickListNo { get; set; }
public string Flow { get; set; }
public com.Sconit.Code... |
using CollaborativeFiltering;
using CollaborativeFilteringUI.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace CollaborativeFilteringUI.Views.AddUser
{
public interface IAddUserViewModel : IViewModel
... |
using System;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.InteropServices;
namespace IronAHK.Scripting
{
partial class ILMirror
{
private delegate byte[] GetBytes<T>(T arg);
public FieldInfo GrabField(FieldInfo Field)
{
return GrabField(Field, null);
}
protected FieldIn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSCI312_HashingExample
{
public class OurHashTable<T>
{
private KeyValuePair<int, T>[] _data;
public OurHashTable()
{
_data = new KeyValuePair<int, ... |
using FluentScheduler;
using System;
using System.Collections.Generic;
using System.Text;
using aural_server_console_weather.Job;
namespace aural_server_console_weather.Timer
{
public class RegistryInitializer : Registry
{
public RegistryInitializer()
{
Schedule<GetWeather>()
... |
// ReSharper disable once CheckNamespace
namespace Sentry;
public static class HttpClientExtensions
{
public static IEnumerable<HttpMessageHandler> GetMessageHandlers(this HttpClient client)
{
var invoker = typeof(HttpMessageInvoker);
var fieldInfo = invoker.GetField("handler", BindingFlags.N... |
using System.Windows.Input;
using TRPO_labe_1.Model;
using TRPO_labe_1.Model.Command;
using RichTextBox = Xceed.Wpf.Toolkit.RichTextBox;
namespace TRPO_labe_1.ModelView
{
class MainWindowModelView : ModelViewBase
{
#region Fields
private string _text;
private string _findText;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Configuration;
using System.Web.Mvc;
namespace ShengUI.Filters
{
public class ErrorHandlerAttribute:System.Web.Mvc.HandleErrorAttribute
{
public override void OnException(System.Web... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System;
public static class CSingleton {
//MonoBehavoir Singleton
/// <summary>
/// Gets the singleton instance.
/// This function just work for type of classes that inherit form MonoBehavior.
//... |
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
namespace Inventory.BLL.DTO
{
[DataContract]
public class CustomerDTO
{
[DataMember, Required]
public DateTimeOffs... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.