text stringlengths 13 6.01M |
|---|
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class GUI : MonoBehaviour
{
public GameObject titleTextObj = null;
public GameObject scoreTextObj=null;
public GameObject scoreTextPanel = null;
public GameObject messageTextObj = null;
public GameObject stageObj = null;
... |
/**
*
* name : MemberType.cs
* author : Aleksy Ruszala
* date : 29/04/2019
*
* */
namespace Application.Data.Models
{
/// <summary>
/// the enum class represents type of member
/// </summary>
public enum MemberType
{
Member,
Senior,
Junior
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace JabberPoint.Domain
{
interface ISlideshow
{
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using System.Xml;
using InvoiceClient.Helper;
using InvoiceClient.Properties;
using InvoiceClient.WS_Invoice;
using Model.Resource;
using Model.Schema.EIVO;
using ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace HC8_3
{
public partial class Form1 : Form
{
pu... |
using System.Collections.Generic;
using System.Threading.Tasks;
using lauthai_api.DataAccessLayer.Data;
using lauthai_api.Models;
using lauthai_api.DataAccessLayer.Repository.Interfaces;
using Microsoft.EntityFrameworkCore;
namespace lauthai_api.DataAccessLayer.Repository.Implements
{
public class ProfileRepositor... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
namespace Flower.Repository.Repository
{
public class FlowerRepository : BaseRepository<Model.Model.Flower>, IFlowerRepository
{
public ove... |
using System;
using UnityEngine;
namespace RO
{
public class FollowMainCamera_Rot : MonoBehaviour
{
private void LateUpdate()
{
if (SingleTonGO<CameraController>.Me)
{
base.get_transform().set_rotation(SingleTonGO<CameraController>.Me.cameraRotation);
}
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
public float speed = 8;
public float angularSpeed = 100;
float horizontal;
float vertical;
private Animator animator;
private Rigidbody rb;
public GameObject ShCam;
public Transform S... |
namespace ImageProcessorModule
{
using System;
using System.Runtime.Loader;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Azure.Devices.Client;
using Microsoft.Azure.Devices.Cli... |
using Heranca.Entities;
using System;
namespace Heranca
{
class Program
{
static void Main(string[] args)
{
Account conta = new Account(1001, "Alex", 0.0);
BusinessAccount contaNegocio = new BusinessAccount(1002, "Maria", 0.0, 500.0);
//UPCASTING : conversã... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lotus.Client.Data.Models
{
public class MessageBlock
{
public int Id;
public int Value;
public string Data;
}
}
|
using System;
namespace SilverBP.Extensions.Wcf
{
/// <summary>
/// Provides a mechanism for wrapping a WCF Service implementation that allows a using statement where the Service is disposed correctly.
/// <see href="http://msdn.microsoft.com/en-us/library/aa355056.aspx" />. Also allows it to b... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BoardGame
{
public class PositiveTile : Tile
{
private int _position;
public PositiveTile(int position) : base(position)
{
_position = position;
}
public override string SpecialEvent(Player p)
{
Random rnd = new Random(... |
using BallsCommon;
using System.Drawing;
using System.Windows.Forms;
namespace DiffusionWindowsFormsApp
{
public class RedMolecule : BilliardsBall
{
public RedMolecule(Form form) : base(form)
{
centreX = random.Next(LeftSide(), middleLine);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace QuestomAssets.AssetsChanger
{
public class Channel
{
public Channel(AssetsReader reader)
{
Parse(reader);
}
public byte Stream { get; set; }
public byte Offset { get; set; }
... |
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace ShadowAPI.Migrations
{
public partial class InitialMigration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VaccinationApp
{
public class BeneficiaryDetails
{
//Creating the Properties for BeneficiaryDetails
public string Name { get; set; }
public int Reg... |
using System;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace ConsoleApp1.file_handling
{
[Serializable]
class Student2
{
public int rollno;
public string name;
public Student2(int rollno,string name)
{
this.rollno = rollno;
... |
using System;
using Foundation;
using UIKit;
using Lettuce.Core;
namespace Lettuce.IOS
{
public partial class NotificationsViewController : UIViewController
{
private NotificationsTableSource dataSource;
private bool refreshNeeded = false;
public NotificationsViewController () : base ("NotificationsViewCont... |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PauseManager : MonoBehaviour
{
public TextMeshProUGUI scoreText;
public TextMeshProUGUI levelText;
public TextMeshProUGUI failScoreText;
public TextMeshProUGUI f... |
using System.Collections;
using System;
using System.Collections.Generic;
using UnityEngine;
public static class GameTriggers
{
public static Action OnPlayerAssigned;
public static Action OnWaveEnd;
public static Action OnCharSelect;
public static Action OnGameEnd;
public static Action OnGame... |
using System;
using System.CodeDom;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace RandomList
{
public class Startup
{
public static void Main(string[] args)
{
var list = Console.ReadLine();
var randomList = new RandomList();
... |
using UnityEngine;
using System.Collections;
public class ItemController : MonoBehaviour
{
public float speed = 10.0f;
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
transform.Rotate (Vector3.forward, speed * Time.deltaTime);
}
void OnTriggerEnter... |
using Information_System_MVC.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Information_System_MVC.Controllers
{
public class WorkPlaceController : Controller
{
ISContext db = new ISContext();
... |
using System;
using UnityEngine;
namespace RO
{
[CustomLuaClass, RequireComponent(typeof(UICenterOnChild))]
public class UIScrollCenterTween : MonoBehaviour
{
public float deltaAddScale = 0.4f;
public float deltaDistance;
public int startIndex;
private UIPanel clipPanel;
private UICenterOnChild center... |
namespace Kers.Models.Entities.KERScore
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
public partial class CountyEvent:ExtensionEvent
{
public int? classicCountyEventId { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Mapping.ByCode;
using System.Reflection;
using System.Threading.Tasks;
using Dapper;
using NHibernate.Cfg.MappingSchema;
using NHibernate.Connectio... |
namespace Enrollment.Common.Configuration.ExpansionDescriptors
{
public class SelectExpandItemQueryFunctionDescriptor
{
public SortCollectionDescriptor SortCollection { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SheetalPokerGame_Demo
{
class PlayPokerGame
{
static void Main(string[] args)
{
int totalRounds;
Console.WriteLine("---------------... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Html;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Data.Entity;
using System.Web;
using System.Data.Sql;
using System.Data.SqlClient;
using System.ComponentModel.DataAnnotations;
using System.Dat... |
using System;
using SQLite;
namespace SqLitePcl.Common.Entities
{
public class Author
{
[PrimaryKey, AutoIncrement]
public long Id { get; set; }
public string Name { get; set; }
public string Surname { get; set; }
public string BornDate { get; set; }
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
namespace ttmControlServer.Models
{
public class dbMgr
{
private bool _usedDB = false;
private SqlConnection _sqlConn = null;
public dbMgr()
... |
using System;
using UnityEngine;
public abstract class MonoSingleton<T> : MonoBehaviour where T : Component
{
protected static T s_instance;
private Transform m_cachedTrans;
public static T ins
{
get
{
if (MonoSingleton<T>.s_instance == null)
{
MonoSingleton<T>.CreateSingleton();
}
return Mon... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("WelcomeQuests")]
public class WelcomeQuests : MonoBehaviour
{
public WelcomeQuests(IntPtr address) : this(address... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
namespace RouteIF
{
public class Command
{
static public string ExecuteCmd(string arguments)
{
string output;
// Start the child process.
using (Process p... |
using UnityEngine.Events;
using UnityEngine;
using Assets.Scripts.ScriptableObjects.Events;
public class GameEventListener : MonoBehaviour
{
[Tooltip("Event to register with.")]
public GameEvent Event;
[Tooltip("Response to invoke when Event is raised")]
public NumberUnityEvent Response;
privat... |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.UI.WebControls;
using MrHai.Application;
namespace MrHai.Api.Controllers
{
/// <summary>
/// 测试
/// </summary>
[E... |
namespace SGDE.DataEFCoreMySQL.Configurations
{
#region Using
using Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
#endregion
public class SettingConfiguration
{
public SettingConfiguration(EntityTypeBuilder<Setting> e... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace CT.Data
{
public class AttackReport
{
public readonly int ID;
public BaseData attacked;
public string attackerUsername;
public int takenGold;
public int takenElixir;
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/*
销毁接口
*/
interface IDispose
{
void dispose();
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Car : MonoBehaviour
{
private Rigidbody2D rbody;
public float acceleration = 0.5f;
public float deceleration = 1f;
public float maxSpeed = 10f;
private void Awake()
{
rbody = GetComponent<Rigi... |
using syscrawl.Game.Models.Levels;
namespace syscrawl.Game.Services.Levels
{
public interface ILevelGenerator
{
LevelGraph Generate();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EASEntity
{
/// <summary>
/// 数据操作版本
/// </summary>
public class VersionHistory<T> where T : class
{
public DateTime Date { get; set; }
public Operate Operate { get; set; ... |
using Entities.Concrete;
using FluentValidation;
namespace Business.ValidationRules.FluentValidation
{
public class PaymentValidator:AbstractValidator<Payment>
{
public PaymentValidator()
{
RuleFor(c => c.NameOnTheCard).NotEmpty().WithMessage("Kart üzerindeki isim boş geçilemez");
... |
using System;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.Serialization;
using UnityEngine.UI;
public class CollectionDot : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHandler
{
public int value, lvl;
public RawImage rawImage;
public RectTransform radius;
public Scr... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace InfiniteMeals
{
public partial class InfoPage : ContentPage
{
public InfoPage()
{
InitializeComponent();
}
void DeliveryDaysClick(System.Object sender, System.EventArgs e)
{
... |
using Xamarin.Forms;
namespace App1.Renderers
{
public class NewButton : Button
{
public NewButton()
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
namespace BlockchainAppAPI.DataAccess
{
public class BaseDAL
{
private string _source { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace MES_Bosch_Simulator
{
public class XMLParser
{
public string Code = "";
public XMLParser()
{
Code = "";
}
public v... |
using DbRestify.Data.Schema;
using DbRestify.Data.Templates;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DbRestify.Data
{
public class Database
{
DbConnection _connection;
... |
using FluentValidation;
namespace Application.Couriers.Commands.UpdateCourierCommands {
public class UpdateCourierCommandValidator : AbstractValidator<UpdateCourierCommand> {
public UpdateCourierCommandValidator () {
RuleFor (e => e.Courier.IdCourier)
.NotEmpty ().WithMessage ("... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
namespace NetworkToolkit.Tests
{
internal abstract class TestStreamBase : Stream, IScatterGatherStream, ICompletableStream, ICancellable... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ReadWriteLock
{
class Program
{
public static RW rw = new RW();
public static Mutex mu = new Mutex(false,"my mutex");
public static obje... |
using RO;
using System;
using System.IO;
using System.Net;
public class HTTPFileDownloader : HTTPFileLoader
{
public enum E_Error
{
None,
NetErr,
FileNotFull,
MD5Inconsistent
}
private class RequestState
{
public const int BUFFER_SIZE = 1024;
public byte[] m_buffer;
public HttpWebRequest m_reques... |
namespace Triton.Game.Mapping
{
using ns25;
using ns26;
using System;
using System.Collections.Generic;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("GameToastMgr")]
public class GameToastMgr : MonoBehaviour
{
public GameToastMgr(IntPtr address) : this(address, "... |
using System;
namespace Desafio_Aula_18._11
{
class Program
{
static void Main(string[] args)
{
int numero2;
int numero1;
int numero3;
Console.WriteLine("Série de Fibonacci \n Calculo da série de Fibonacci até que o número seja maior que 500");
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace Levels
{
public class MonsterTrigger : MonoBehaviour
{
// Start is called before the first frame update
public UnityEvent monsterTrigger;
private void OnTriggerEnter2D(Collider2D o... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Experimental.Rendering;
public class LampLightCollider : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
... |
using BAL;
using DAL;
using MetaDados;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VetOnTrack.Models;
n... |
/// <summary>
/// Address result.
/// Used to parse values to an object when getting a location from Google based on your longitude and latitude
/// </summary>
namespace MCCForms
{
public class AddressResult
{
public string HouseNumber { get; set; }
public string Street { get; set; }
public string City { ge... |
using RestaurantOrder.Entities;
using System.Collections.Generic;
using System.Linq;
namespace RestaurantOrder.Business
{
/// <summary>
/// Menu selector helper.
/// </summary>
public class MenuSelector
{
#region Public methods
/// <summary>
/// Executes the select of a me... |
// UploadArchive
using System;
using System.Text; // StringBuilder
using System.IO; // File
using System.Net.Mail;
// requires references AWSSDK.Core and AWSSDK.Glacier
using Amazon.Glacier;
using Amazon.Glacier.Transfer;
using Amazon.Runtime;
namespace UploadArchive
{
class Program
{
... |
namespace AquaServiceSPA.Services
{
public interface IEncryptedDataStoreService
{
void SetEncrypted(byte[] buffer);
byte[] GetEncrypted();
}
}
|
using System;
using System.Numerics;
public class Utils {
private const int WORDBITS = 32;
public static uint FloorLog2 (uint x) {
x |= (x >> 1);
x |= (x >> 2);
x |= (x >> 4);
x |= (x >> 8);
x |= (x >> 16);
return (uint) (NumBitsSet (x) - 1);
}
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PerformanceEntityFramework
{
using AdsDbModel;
using System.Data.Entity;
class Program
{
static void Main(string[] args)
{
PrintAdsWit... |
namespace GameTests.Helpers
{
using Moq;
using Serilog;
public static class MockHelpers
{
public static Mock<ILogger> LoggerMock<T>()
{
var mockLogger = new Mock<ILogger>();
mockLogger.Setup(m => m.ForContext<T>()).Returns(mockLogger.Object);
return... |
using System;
using System.Collections.Generic;
using OpenTK;
using OpenTK.Graphics.OpenGL;
namespace Physics
{
public interface IRenderable
{
void Render();
}
public interface IUpdatable
{
void Update(float dt);
}
public struct Placement : IDisposable
{
publi... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HardSingleProblem
{
public class BotCleanPartiallyObservable
{
public void next_move(int posx, int posy, String[] board)
{
int x = -1;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Sun : MonoBehaviour
{
//float Spacing = 7;
//float DayValue = 20f; //SPEED PER SEC
//Hashtable RotArHT;
void Start()
{
//RotArHT = new Hashtable();
//RotArHT.Add("from", 0f);
//Ro... |
/**
*┌──────────────────────────────────────────────────────────────┐
*│ 描 述:
*│ 作 者:lw
*│ 版 本:1.0 模板代码自动生成
*│ 创建时间:2019-05-23 16:43:42
*└... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.Media;
namespace QOMS.Class
{
public class LoginPerInfo
{
/// <summary>
... |
// Copyright 2016 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... |
using UnityEngine;
using System.Collections.Generic;
public class Enviroment : MonoBehaviour
{
public static Transform myTransform
{
get
{
return tf;
}
}
static Transform tf;
private void Start()
{
tf = transform;
}
}
|
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ServerEdit.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// -------------------------------------------------------------------------------------... |
using FacultyV3.Core.Constants;
using FacultyV3.Core.Interfaces;
using FacultyV3.Core.Interfaces.IServices;
using FacultyV3.Core.Models.Entities;
using FacultyV3.Web.Common;
using FacultyV3.Web.ViewModels;
using System;
using System.Web.Mvc;
namespace FacultyV3.Web.Areas.Admin.Controllers
{
public class LecturerC... |
/*
Copyright (c) 2010, Direct Project
All rights reserved.
Authors:
Umesh Madan umeshma@microsoft.com
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the a... |
using MCC.Plugin;
using MCC.Utility;
using MCC.Utility.Text;
using System.Collections;
using System.Collections.Generic;
using System.Text.Json;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace MCC.NicoLive
{
public class NicoLive : IPluginSender, ILogged
{
private NicoLiv... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Assignment4CB11.Enums;
using Assignment4CB11.SortingAlgorithms;
namespace Assignment4CB11
{
class Program
{
static void Main(string[] args)
{
SyntheticData db = new Syntheti... |
using UnityEngine;
[System.Serializable]
public class CharacterSkillData
{
[System.Serializable]
public struct SkillData
{
public CharacterSkill.ComboKey key;
public BattleAttack skill;
[HideInInspector]
public Timer cooldownTimer;
}
public SkillData[] skills;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ToggleWalletKeyListener : MonoBehaviour {
bool isActive;
public GameObject GUI;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetKeyDo... |
// GIMP# - A C# wrapper around the GIMP Library
// Copyright (C) 2004-2009 Maurits Rijk
//
// GuideCollection.cs
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2 ... |
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
namespace JJApi.Controllers
{
//[Produces("application/json")... |
using Newtonsoft.Json;
using System;
/// <summary>
/// Scribble.rs ♯ JSON converters namespace
/// </summary>
namespace ScribblersSharp.JSONConverters
{
/// <summary>
/// A class used for convert player state to JSON and vice versa
/// </summary>
internal class PlayerStateJSONConverter : JsonConverter... |
namespace Kers.Models.Entities.KERScore
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.IO;
using System.Runtime.Serialization;
using Newtonsoft.Json;
/// <summary>
/// Th... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ProtocolCS;
using ProtocolCS.Constants;
// jwvggwvvg
namespace Server.AI
{
sealed class AutoPlayer : Ingame.IngameService
{
IAi ai { get; set; }
/// <summary>
///... |
using UnityEditor;
using UnityEngine;
using System.Collections;
namespace PostProcess
{
[CustomEditor(typeof(CameraMotionBlur))]
public class CameraMotionBlurEditor : Editor
{
private SerializedProperty filterType = default;
private SerializedProperty movementScale = default;
private SerializedProperty jitter... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP.Files.Search
{
/**
* @since 12.0.0
*/
public interface ISearchQuery
{
/**
* @return ISearchOperator
* @since 12.0.0
*/
ISearchOperator getSearchOperation();
/**
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace App15
{
public partial class MainPage : ContentPage
{
Button[] map = new Button[120];
int[] varr = new int[9]; // vision array
Enemy e1,... |
using System;
namespace Paralect.Schematra.Exceptions
{
public class SchematraException : Exception
{
public SchematraException(String message, params object[] args) : base(String.Format(message, args)) {}
public SchematraException(String message, Exception innerException, params object... |
namespace Standard
{
using System;
internal enum OLECMDID
{
ALLOWUILESSSAVEAS = 0x2e,
CLEARSELECTION = 0x12,
CLOSE = 0x2d,
COPY = 12,
CUT = 11,
DELETE = 0x21,
DONTDOWNLOADCSS = 0x2f,
ENABLE_INTERACTION = 0x24,
FIND = 0x20,
FOC... |
using AutoFixture;
using AutoFixture.AutoMoq;
using AutoFixture.Xunit2;
using System;
namespace Crt.Tests
{
[AttributeUsage(AttributeTargets.Method)]
public sealed class AutoMoqDataAttribute : AutoDataAttribute
{
public AutoMoqDataAttribute()
: base(() => new Fixture().Customize(new Au... |
// Copyright 2020 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... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace DotNetNuke.Entities.Portals
{
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace RemoteTestFramework
{
class CleanupFailureException : UnitTestAssertException
{
public ... |
using sovos_ramonvalerio.core.Domain.Customers;
using sovos_ramonvalerio.core.Domain.Orders;
using System.Collections.Generic;
namespace sovos_ramonvalerio.core.Infrastructure
{
public interface IOrderRepository
{
Order GetById(Customer customer, string orderId);
IEnumerable<Order> GetByCusto... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;
using System.Text.RegularExpressions;
using EnergyDataRetriever.Models;
using System.Web.Hosting;
namespace EnergyDataRetriever
{
public class DataStore
{
Dictionary<int, ProjectData> _dictProjectIdTo... |
//Problem 6. First larger than neighbours
//Write a method that returns the index of the first element in array that is larger than its neighbours, or -1, if there’s no such element.
//Use the method from the previous exercise.
using System;
namespace Problem06FirstLargerThanNeighbours
{
class FirstLargerThanNe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using BUS;
using DevExpress.XtraGrid;
using DevExpress.XtraGrid.Views.Grid;
using System.Drawing;
using System.Security.Cryptography;
using DevExpress.XtraEditors;
namespace GUI
{
sealed... |
using Service;
using MKService.DefaultModel;
using MKService.ModelFactories;
using MKService.Queries;
using MKService.Updates;
namespace MKService.QueryFactories
{
internal class UserQueryFactory : QueryFactoryBase<UserQuery>
{
private UserQuery query;
public UserQueryFactory(
IMo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.