text stringlengths 13 6.01M |
|---|
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using PollyDemo.SPA.Clients;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using static Newtonsoft.Json.JsonConvert;
namespace PollyDemo.SPA.Controllers
{
[ApiController]
[Route("api/companies")]
public class Compani... |
using Abhs.Common.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Abhs.Model.ViewModel
{
public class StudentModelView
{
public StudentModelView(Dictionary<int, string> classDic)
{
thi... |
using System;
using System.Collections.Generic;
namespace Euler_Logic.Problems.AdventOfCode.Y2021 {
public class Problem24 : AdventOfCodeBase {
private Variables _var = new Variables();
private long[] _input;
private long[] _y;
private List<Tuple<int, int>> _set;
public ov... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PowerUpManager : MonoBehaviour
{
// For each of our powerups, have a bool.
private bool doublePoints;
private bool safeMode;
private bool slow;
private bool level;
// Have a int f... |
using System;
using System.Data;
namespace SimplySqlSchema.Attributes
{
public class AliasTypeAttribute : Attribute
{
public SqlDbType AsType { get; }
public AliasTypeAttribute(SqlDbType asType)
{
this.AsType = asType;
}
}
}
|
using UBaseline.Shared.ArticleStartPanel;
using Uintra.Core.Search.Converters.SearchDocumentPanelConverter;
using Uintra.Core.Search.Entities;
using Umbraco.Core;
namespace Uintra.Features.Search.Converters.Panel
{
public class ArticleStartPanelSearchConverter : SearchDocumentPanelConverter<ArticleStartPanelViewM... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace webApp.Areas.Flota.Controllers
{
public class AeronavegabilidadController : Controller
{
public ActionResult Aeronaves()
{
return View();
}
public A... |
using System;
using InvoiceSOLIDApp;
using NUnit.Framework;
namespace InvoiceSOLID_Test
{
[TestFixture]
public class Invoice
{
[Test]
public void CanAddFinalInvoice()
{
var finalInvoice = new FinalInvoice();
Assert.IsNotNull(finalInvoice);
Assert... |
using System;
using UnityEngine;
namespace Egret3DExportTools
{
public class AnimatorSerializer : AnimationSerializer
{
protected override bool Match(Component component)
{
var aniamtior = component as Animator;
if (aniamtior.runtimeAnimatorController == null)
... |
namespace Crystal.Plot2D
{
public static class Constants
{
public const double DoubleMinimum = 0.01d;
public const string ThemeUri = @"/Crystal.Plot2D;component/Themes/Generic.xaml";
public const string LegendResourceUri = @"/Crystal.Plot2D;component/LegendItems/LegendResources.xaml";
public const... |
// DataBinary: serializable data container class for data to be saved in a binary format. This is required for the Serializable attribute.
using System;
using System.Collections.Generic;
[Serializable()]
public class DataBinary
{
public Dictionary<string,object> Data {get; private set;} = new Dictionary<string, o... |
using AutoMapper;
using Exemplo.Application.ViewModel;
using Exemplo.Domain.Entities;
namespace Exemplo.Api.Config
{
public class AutomapperConfig : Profile
{
public AutomapperConfig()
{
CreateMap<Contato, ContatoViewModel>().ReverseMap();
}
}
}
|
using UnityEngine;
using System.Collections;
public class MirvBullet : MonoBehaviour {
public float timeBeforeExplosion;
public float bulletSpeed;
public float explosionSize;
GameObject explosionSphere;
GameObject explosion;
const float SPHERE_DURATION = 1f;
// Use this for initialization
void Start () {
... |
using UnityEngine;
public class BoxController : MonoBehaviour
{
public float Speed = 1f;
public string Type;
public bool IsDead = false;
public Sprite DefaultSprite;
public Sprite MissSprite;
public Sprite DeadSprite;
private float ResetSpriteCooldown = 1;
private SpriteRenderer _ren... |
namespace OrgMan.DomainObjects.Common
{
public class IndividualPersonDomainModel
{
}
}
|
// Copyright © 2020 TR Solutions Pte. Ltd.
// Licensed under Apache 2.0 and MIT
// See appropriate LICENCE files for details.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DeckBehaviour : MonoBehaviour
{
public Transform[] cards;
private Transform[] cardInsta... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BulletImpact : MonoBehaviour
{
private Vector3 bulletRadiusSize;
private float duration;
void Start()
{
}
// Update is called once per frame
void Update()
{
StartBul... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LizardCosmetics;
using Rainbow.Enum;
using UnityEngine;
using RWCustom;
namespace Rainbow.CreatureAddition
{
public class FormulatedLizardGraphics : LizardGraphics
{
public FormulatedLizardGraphics(PhysicalObje... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Input;
namespace Engine
{
public class StartScreenComp:BaseComponent
{
public override void Update()
{
if (GameState.KeyboardState.IsKeyDown(Keys.Space))
... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Event Reference Listener of type `float`. Inherits from `AtomEventReferenceListener<float, FloatEvent, FloatEventReference, FloatUnityEvent>`.
/// </summary>
[EditorIcon("atom-icon-orange")]
[AddComponentMenu("Unity Atoms/L... |
using Microsoft.Extensions.Configuration;
using System;
using System.IO;
namespace Langium.DataLayer
{
public class DbConnectionProvider
{
public static string GetConnectionString()
{
var builder = new ConfigurationBuilder();
builder.SetBasePath(Directory.GetCurrentDire... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Verse;
namespace D9Framework
{
/// <summary>
/// Class holding utility functions for the various included <c>PlaceWorkers</c>.
/// </summary>
class PlaceWorkerUtility
{
/// <summary>
... |
using Alabo.Domains.Entities.Core;
using System.Linq;
namespace Alabo.Domains.Query {
/// <summary>
/// 分页查询
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IPageQuery<T> : IOrderQuery<T> where T : class, IEntity {
/// <summary>
/// Gets or sets a val... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace CustomControl
{
public partial class HexTextBox : TextBox
{
public HexTextBox()
{
... |
namespace Sales.ViewModels
{
using System.Collections.ObjectModel;
using System.Windows.Input;
using Common.Models;
using GalaSoft.MvvmLight.Command;
using Helpers;
using Interfaces;
using Views;
using Xamarin.Forms;
public class MainViewModel
{
#region Properties
... |
#if UNITY_EDITOR
using Sirenix.OdinInspector;
using UnityEngine;
namespace DChildDebug
{
public class DebugMinionSceneController : MonoBehaviour
{
[SerializeField]
[MinionName]
private string m_minion;
[Button("Spawn Minion")]
private void SpawnMinion() => DebugMinionS... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
//this is essentially supposed to be the NPC script from the other video. I think normally you would attatch this to whatever NPC character you wanted.
//to make a new NPC thing with a new dialogue you would have to ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Tilemaps;
using UnityEngine;
using UnityEngine.UI;
public class Player : MonoBehaviour
{
public Tilemap floorTilemap;
public Tilemap wallTilemap;
public Tilemap slipperyTilemap;
public bool canMove = true;
public bool ... |
using UnityEngine;
using System.Collections;
public class Chronos : MonoBehaviour
{
Dreamer dreamer;
void Start()
{
dreamer = GameObject.FindGameObjectWithTag("Dreamer").GetComponent<Dreamer>();
}
void Update()
{
if (Input.GetKeyDown(KeyCode.Alpha1))
dreamer.dimen... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Cirrious.FluentLayouts.Touch... |
namespace Assets.Scripts.Models.Seedlings
{
public class Seedling : Food.Food
{
public Seedling()
{
CanBuy = true;
ShowDurability = false;
Durability = 1000;
GardenTimeStage1 = 1000;
GardenTimeStage2 = 800;
GardenTimeStage3... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class killEnemy : MonoBehaviour {
public GameObject Enemy;
void OnTriggerEnter2D(Collider2D cc)
{
if (cc.tag == "Player")
{
Destroy(Enemy);
}
}
// Use this for initializati... |
using AutoMapper;
using ShopAPI.Models;
using ShopBLL.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ShopAPI.App_Start
{
public class WebApiAutomapperProfile: Profile
{
public WebApiAutomapperProfile()
{
CreateMap<TovarApiMode... |
namespace gView.Framework.UI
{
/// <summary>
/// Privides access to members that define a contextmenu item for the TOC.
/// </summary>
/// <remarks>
/// A class that implements <c>IDatasetElementContexMenuItem</c> can be included to the TOC contextmenu. Everytime you right click a layer in the TOC ... |
using NUnit.Framework;
using FluentAssertions;
using System;
using System.Collections.Generic;
[TestFixture]
public class DatabaseTests
{
[SetUp]
public void SetUp()
{
}
[Test]
public void DoesConstructorSetIntegersCorrectlyWhe... |
namespace Sfa.Poc.ResultsAndCertification.CsvHelper.Models.Configuration
{
public class LearningRecordServiceSettings
{
public int VendorId { get; set; }
public string Ukprn { get; set; }
public string Username { get; set; }
public string Password { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Threading.Tasks;
namespace Bai1
{
class Program
{
static void Main(string[] args)
{
string hostName = Dns.GetHostName();
Console.WriteLine(hostName);
... |
using System;
using System.Linq;
using NUnit.Framework;
using AdventureWorksDB = AdventureWorks.Business.Entities.AdventureWorksDB;
using Harbin.Common.Queries;
using System.Collections.Generic;
namespace AdventureWorks.Business.Tests
{
[TestFixture]
public class GenericQueryExtensionsTests
{
[Tes... |
using Microsoft.SqlServer.Management.Smo;
using SqlServerWebAdmin.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace SqlServerWebAdmin
{
public partial class EditColumn : System.Web.U... |
namespace Zinnia.Extension
{
using UnityEngine;
/// <summary>
/// Extended methods for the <see cref="Collider"/> Type.
/// </summary>
public static class ColliderExtensions
{
/// <summary>
/// Gets the <see cref="Transform"/> of the container of the collider.
/// </sum... |
using SmartHome.Abstract;
using SmartHome.Model;
namespace SmartHome.Service.Response
{
public class StatusResponse : ResponseString<Status>
{
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace RXCO.AzureDevOps.REST.Pipelines.ReleaseManagement
{
public class ReleaseDefinition
{
}
}
|
using System;
using System.Collections.Generic;
using NHibernate;
namespace Profiling2.Domain.Contracts.Queries.Stats
{
public interface ISourceStatisticsQueries
{
int GetSourceCount(bool archived);
Int64 GetTotalSize();
Int64 GetTotalArchivedSize();
IList<object[]> GetSourc... |
/**************************************
*
* Usually a Debuff that can be inflicted to
* A character via damages
*
**************************************/
using DChild.Gameplay.Combat.StatusEffects.Configurations;
namespace DChild.Gameplay.Combat.StatusEffects
{
public interface IStatusEffect
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SelectableEventCard : MonoBehaviour, ISelectable<PlayerCard>
{
private PlayerCard card;
public Text label;
private EventCardHandler eventCardHandler;
public Sprite sprite;
void Awake(... |
using System;
namespace iSukces.Code
{
[Flags]
public enum CodeFormattingFeatures
{
None = 0,
ExpressionBody = 1,
Regions = 2,
IsNotNull = 4,
MakeAutoImplementIfPossible = 8
}
public struct CodeFormatting
{
public CodeFormatting(CodeFormattingFe... |
/*
* Class that represents the Casting Office room on the board.
* Since there can be only one Casting Office in the game, it is a Singleton.
* It exists only to allow players to upgrade their rank.
* Copyright (c) Yulo Leake 2016
*/
using Deadwood.Model.Exceptions;
using System;
using System.Collections.Gene... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using lesson1.Services;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
usin... |
using JhinBot;
namespace JhinBot.Tables.Objects
{
public class Event : DiscordObject
{
public string Name { get; set; } = "";
public ulong GuildID { get; set; } = 0;
public string Description { get; set; } = "";
public long Date { get; set; } = 0;
public string TimeZone... |
namespace Sentry.Maui.Tests.Mocks;
public class MockElement : Element
{
public MockElement(string name = null)
{
// The x:Name attribute set in XAML is assigned to the StyleId property
StyleId = name;
}
public event EventHandler CustomEvent;
protected virtual void OnCustomEvent() ... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apac... |
using System;
using System.Collections.Generic;
using System.Text;
using VendingMachine.Domain.Business.Contracts.Business;
using VendingMachine.Domain.Business.Contracts.Repository;
using VendingMachine.Domain.Models;
using VendingMachine.Repository.Repositories;
namespace VendingMachine.Domain.Business
{
public... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
//[CreateAssetMenu(fileName = "ShaderList", menuName = "ScriptableObjects/ShaderList", order = 1)]
public class ShaderListScritableObj : ScriptableObject {
public List<Shader> shaders;
public void AddShaders(List... |
using gView.Framework.Carto;
using gView.Framework.Data;
using gView.Framework.Data.Cursors;
using gView.Framework.Data.Filters;
using gView.Framework.Editor.Core;
using gView.Framework.Geometry;
using gView.Framework.LinAlg;
using gView.Framework.Symbology;
using gView.Framework.system;
using gView.Framework.UI;
using... |
using System;
using AxiEndPoint.EndPointClient.Transfer;
namespace AxiEndPoint.EndPointServer.MessageHandlers
{
public class CheckConnectionMessageHandler : FormatterMessageHandlerBase
{
private const string CHECK_CONNECTION_COMMAND = "CheckConnection";
public override bool SatisfyBy(Message message)
{
re... |
/***********************************************
*
* This class should only control PlayerCombat classes
* It Should not bother with any other behaviour other than this
*
***********************************************/
using System;
using DChild.Inputs;
using Sirenix.OdinInspector;
using Spine;
using UnityEng... |
namespace AzureAI.CognitiveSearch.CustomSkills.Infrastructure.Settings
{
public class FormRecognizerSettings
{
public string ApiEndpoint { get; set; }
public string ApiKey { get; set; }
public string ModelId { get; set; }
}
}
|
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof (GameManager))]
public class GameManagerInspector : Editor
{
public override void OnInspectorGUI ()
{
if (GUILayout.Button ("Generate")) {
(target as GameManager).GenerateLevel ();
}
base.OnInspectorGUI ();
}
}
|
using Newtonsoft.Json.Linq;
namespace DataRetriever
{
public class QueueConfiguration : Configuration
{
public QueueConfiguration(): base()
{
}
public QueueConfiguration(JObject config): base(config)
{
}
}
}
|
using System;
using UnityEngine;
public class FPSCameraControl : MonoBehaviour
{
readonly float mouseSensitivity = 100f;
[SerializeField] private Vector3 def = new Vector3(1, 1, 1);
public Transform playerBody;
public Transform cameraDad;
float xRotation = 0f;
void Start()
{
... |
using System;
namespace Snowflake.Core
{
/// <summary>
/// A unique, time-ordered, 64-bit unsigned value.
/// </summary>
/// <remarks>
/// This library closely mirrors the Discord interpretation of Snowflake.
/// That is to say that the format of a generated value looks like the following:
... |
/*
* Created by SharpDevelop.
* User: Gheyret Kenji
* Date: 2020/11/27
* Time: 13:25
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Drawing;
using System.Windows.Forms;
namespace UyghurEditPP
{
/// <summary>
/// Description of F... |
namespace BDTest.NetCore.Razor.ReportMiddleware.Constants;
public static class ColourConstants
{
public static readonly string PrimaryHex = "#2c3e50";
public static readonly string SuccessHex = "#18bc9c";
public static readonly string DangerHex = "#e74c3c";
public static readonly string WarningHex = "... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EBS.Domain.ValueObject;
using EBS.Infrastructure.Extension;
namespace EBS.Query.DTO
{
public class SupplierProductItemDto
{
public int ProductId { get; set; }
/// <summary... |
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KeepTeamAutotests.Pages
{
public class CommonPage : Page
{
public CommonPage(PageManager pageManager)
: bas... |
using UserService.Model;
using UserService.Repository.CRUD;
namespace UserService.Repository
{
public interface ISpecialtyRepository : IReadCollection<Specialty>
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TilePoint : MonoBehaviour {
public Vector3 pointPosition;
public bool pointActive;
public bool isdoor = false;
public int pointType;
public GameObject currentTile;
public TilesCollection tilesCollectio... |
using GalaSoft.MvvmLight;
using MarkdownUtils.MdAnimated;
using Miktemk;
using Miktemk.TextToSpeech.Core;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MarkdownAnimator.ViewModel
{
public class MdDocumentEnum... |
using System;
using System.Security.Principal;
namespace AbiokaScrum.Authentication
{
public interface ICustomPrincipal : IPrincipal
{
string UserName { get; set; }
string Email { get; set; }
Guid Id { get; set; }
}
}
|
using System;
using InRule.Authoring.Commanding;
using InRule.Authoring.Media;
using InRule.Authoring.Windows;
using InRule.Common.Utilities;
using InRule.Repository;
namespace InRule.Authoring.Extensions.RefreshTemplateEngine
{
public class Extension : ExtensionBase
{
private readonly VisualDelegateCommand _refr... |
using System;
using UnityEditor;
using UnityEngine;
namespace Daz3D
{
[CustomPropertyDrawer(typeof(DazBlendshape))]
public class DazBlendshapeDrawer : PropertyDrawer
{
// Draw the property inside the given rect
public override void OnGUI(Rect position, SerializedProperty property, GUIConten... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TestGame1
{
class Block
{
private string texture;
private bool solid;
public string Texture
{
get { return texture; }
set { texture = value; }
}
... |
using AppStore.Application.DataContracts.Users;
using AppStore.Application.Services.Exceptions;
using AppStore.Domain.Common;
using AppStore.Domain.Users;
using System;
namespace AppStore.Application.Services.Users
{
public class UserAppService : IUserAppService
{
private readonly IUnitOfWork _unitOfW... |
using System;
using App.Core.Helpers;
using App.Core.Interfaces.Dto;
using App.Core.Interfaces.Helpers;
using App.Core.Interfaces.Managers;
using App.Core.Interfaces.Providers;
using App.Core.Interfaces.Services;
using App.Core.Managers;
using App.Core.Providers;
using App.Core.Services;
using App.Data;
using App.Data... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Web.Script.Serialization;
namespace DSD_Bot
{
class Program
{
static void Main(string[] args)
{
pregunt... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
using System.Xml.Serialization;
namespace KartSystem
{
public class GoodsWithoutMovingReportViewSettings : Entity
{
[XmlIgnore]
public override string FriendlyName
{
get... |
using System;
using System.Drawing;
using System.Windows.Forms;
using Tulpep.NotificationWindow;
using CapaDatos;
using System.Data;
namespace CapaUsuario.Pagos.Cuenta_bancaria_empresa
{
public partial class FrmCuentaBancaria : Form
{
float saldo;
public FrmCuentaBancaria()
{
... |
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
/// <summary>
/// Summary description fo... |
namespace NetEscapades.AspNetCore.SecurityHeaders.Headers.ContentSecurityPolicy
{
/// <summary>
/// The worker-src directive specifies valid sources for Worker, SharedWorker, or ServiceWorker scripts.
/// </summary>
public class WorkerSourceDirectiveBuilder : CspDirectiveBuilder
{
/// <summa... |
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Globalization;
namespace SciVacancies.Captcha
{
/// <summary>
/// CAPTCHA Image
/// </summary>
/// <seealso href="http://www.codinghorror.com">Original By Jeff Atwood</seealso>
public cla... |
using System.Text;
using Xunit;
using Xunit.Abstractions;
using ZKCloud.Helpers;
namespace ZKCloud.Test.Helpers
{
/// <summary>
/// 加密测试
/// </summary>
public class EncryptTest
{
/// <summary>
/// 测试初始化
/// </summary>
public EncryptTest(ITestOutputHelper out... |
using System.Collections;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameOverManager : MonoBehaviour {
[SerializeField] protected float _delayToRedirect;
public void Awake() {
StartCoroutine(Redirect());
}
private IEnumerator Redirect() {
yield return new WaitForSeconds(_delayToRedir... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using UnityEngine.Networking;
/// <summary>
/// Diese Klasse dient zum Senden eines Requests zur Schnittstelle
/// </summary>
public class APIController : MonoBehaviour
{
/// <summary>
/// Erhält die URL zum Endpunkt ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShieldBehavior : MonoBehaviour {
GameObject parent;
SoundManager soundManagerScript;
float originalScaleX;
float originalScaleY;
float maxScaleX = 1.3f;
float maxScaleY = 1.3f;
... |
using Pe.Stracon.SGC.Infraestructura.CommandModel.Base;
using Pe.Stracon.SGC.Cross.Core.Base;
using System;
namespace Pe.Stracon.SGC.Infraestructura.Core.Base
{
/// <summary>
/// Repository contract: for persisting an entity.
/// </summary>
/// <remarks>
/// Creación: GMD 22122014 <br />
///... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.UI;
public class CreateProfile : MonoBehaviour
{
[SerializeField] InputField userNameInput;
[SerializeField] GameObject createProfileObject;
[SerializeField] GameObject profileButton;
[Seri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using WindowsFormsApplication2;
using System.IO;
public partial class right3 : System.Web.UI.Page
{
... |
using Microsoft.EntityFrameworkCore;
using System;
namespace MAS_Końcowy.Model
{
public class MASContext : DbContext
{
//public MASContext()
// : base(nameOrConnectionString: ConfigurationManager.ConnectionStrings["Postgres"].ConnectionString)
//{ }
public MASContext() { }
... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Predictr.Interfaces;
using Predictr.Models;
namespace Predictr.Services
{
public class UserProvider: IUserProvider
{
private readonly IHttpContextAccessor _contextAccessor;
private readonly UserManager<ApplicationUser>... |
// -----------------------------------------------------------------------
// <copyright file="LocalizationCache.cs">
// Copyright (c) Michal Pokorný. All Rights Reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Pentagon.Extensions.Localization
{
us... |
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
using Alabo.Industry.Offline.RechargeAccount.Entities;
using MongoDB.Bson;
namespace Alabo.Industry.Offline.RechargeAccount.Repositories
{
public class RechargeAccountLogRepository : RepositoryMongo<RechargeAccountLog, ObjectId>,
IRechargeAcc... |
namespace HandsOfCards
{
using System;
using System.Collections.Generic;
using System.Linq;
public class StartUp
{
public static void Main()
{
var input = Console.ReadLine();
var cards = new Dictionary<string, List<string>>();
var cardsPower = n... |
using UnityEngine;
using System.Collections;
using System;
/// <summary>
/// Player controller and behavior
/// </summary>
public class PlayerScript : MonoBehaviour
{
/// <summary>
/// 1 - The speed of the ship
/// </summary>
public int speed = 1;
public int jump = 160;
private Rigidbody2D player;
private bool... |
using PangyaFileCore;
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 Pangya_IffManger
{
public partial class Form1 : Form
{
p... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Journey.WebApp.Data
{
public partial class City
{
public City()
{
TravelersCities = new HashSet<TravelersCities>();
TripCities = new HashSet<TripCities>();
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using NHibernate;
using Profiling2.Domain.Contracts.Queries.Audit;
using Profiling2.Domain.Contracts.Queries.Stats;
using Profiling2.Domain.Contracts.Tasks;
using Profiling2.Domain.DTO;
using Profiling2.Domain.Prf.Careers;
using Profiling2.Domain.Prf.P... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
/*
* Truck game runner, score manager
*/
public class TruckCollectorManager : MonoBehaviour {
//Score
public static int scoreGoodCollected;
public static int scoreWrongCollected;
//Character Hit point(life)
pub... |
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using TaskMaster.Models;
using TaskMaster.Services;
using static TaskMaster.Helpers.RouteNames;
namespace TaskMaster.Controllers
{
/// <summary>
/// Employees controller
/// </summary>
public class EmployeesController : Controller
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Project_TouchCube
{
public partial class ChartUC : UserControl
{
/**
*
* ChartUC class
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace CourseHunter_94_Start_LINQ
{
public static class LinqExtensions
{
public static void ForEach<T>(this IEnumerable<T> source, Action<T> action)
{
if (source == null)
throw ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.