text stringlengths 13 6.01M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum Stats
{
HP, SP, HPRegen, SPRegen, Attack, Defense, Card, Number, CritChance, CritDamage, Evasion
}
[System.Serializable]
public class Statistics {
[SerializeField, Header("Base Stats")]
float maxHP;
[Serialize... |
using DocumentsApproval.Commands;
using DocumentsApproval.Model;
using EventLite.Streams.StreamManager;
using System.Threading.Tasks;
namespace DocumentsApproval
{
public class CommandHandler
{
private readonly IEventStreamReader _eventStreamReader;
public CommandHandler(IEventStre... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using Pe.Stracon.SGC.Infraestructura.Core.QueryContract.Contractual;
using Pe.Stracon.SGC.Infraestructura.QueryModel.Contractual;
using Pe.Stracon.SGC.Infraestructura.Repository.Base;
using Pe.Stracon.Pol... |
namespace Sentry.Tests;
public class MeasurementUnitTests
{
[Fact]
public void DefaultEmpty()
{
MeasurementUnit m = new();
Assert.Equal("", m.ToString());
}
[Fact]
public void NoneDiffersFromEmpty()
{
MeasurementUnit m = new();
Assert.NotEqual(MeasurementUni... |
using System.Collections.Generic;
using CSConsoleRL.Ai.Interfaces;
using CSConsoleRL.Entities;
using CSConsoleRL.Helpers;
using CSConsoleRL.Ai.States;
using CSConsoleRL.Events;
using SFML.System;
namespace CSConsoleRL.Ai
{
public class AiGuard : IAi
{
protected readonly Entity _entity;
protected readonly A... |
using GardenControlCore.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GardenControlApi.Models
{
public class TaskActionDto
{
public TaskActionId TaskActionId { get; set; }
public string Name { get; set; }
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GeometricObjects
{
public class MovingEventArgs
{
public bool Cancel;
}
public class MovedEventArgs : EventArgs
{
private int _X;
private int _Y;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Docller.Core.Common
{
public enum CacheDurationHours
{
Default = 1,
Long=8
}
}
|
using LoanAPound.Db;
using LoanAPound.Db.Model;
using LoanAPound.Email;
using System;
using System.Threading.Tasks;
namespace LoanAPound.LoanEngine
{
public class DecisionService : IDecisionService
{
private ICreditScoreService _creditScoreService;
private ILoanApplicationRepository _loanAppli... |
/**********************************************
*
* Stats of Player that can be set to affect gameplay
*
**********************************************/
using DChild.Gameplay.Objects.Characters;
using DChild.Gameplay.Objects.Characters.Attributes;
namespace DChild.Gameplay.Player
{
public interface IPlayerC... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GoldDrop_GenbuLeg : MonoBehaviour {
public GameObject Gold_Coin_Prefab;
private bool ToDropCoin = true;
public int CoinsDrop_Amount;
void Start () {
}
// Update is called once per frame
void Update ... |
using System;
using System.Runtime.Serialization;
using System.Collections.Generic;
namespace Aquamonix.Mobile.Lib
{
/// <summary>
/// Base interface for all domain objects that have the unique identifier "Id" property.
/// </summary>
public interface IDomainObjectWithId
{
/// <summary>
/... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DiscoTest : MonoBehaviour
{
public DiscoController discoController;
void Start()
{
}
void Update()
{
if(UnityEngine.Input.GetKeyDown(KeyCode.UpArrow))
{
... |
using Autofac;
using AHAO.TPLMS.Service;
using AHAO.TPLMS.DataBase;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
namespace AHAO.TPLMS.Web
{
public class Autof... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.BIZ
{
public class DataDisplayHelper
{
private static CultureInfo _culture;
private static CultureInfo Culture
{
g... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Project371.Core;
using System;
namespace Project371.Components
{
/// <summary>
/// Collider which uses a box shape for collision
/// </summary>
class BoxCollider : Collider
{
/... |
using Aspose.Tasks.Saving;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Aspose.Tasks.Examples.CSharp.WorkingWithResourceAssignments
{
public class AddExtendedAttributesToRAWithLookUp
{
public static void Run()
{
// The path to the ... |
using Microsoft.Xna.Framework;
using ProjectMini.src.assets;
using ProjectMini.src.engine;
using ProjectMini.src.entitys;
using ProjectMini.src.world;
using ProjectSLN.darkcomsoft.src;
using System;
using System.Collections.Generic;
using System.Text;
namespace ProjectMini.src.game
{
public class GameApp : ClassB... |
using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankBatchService
{
/// <summary>
/// 银行扣款交易记录
/// </summary>
public class ProxyAccountDetail
{
/// <summary>
/// 2位银行标识+12位记账时间戳+循环的6位流水... |
using DAL.DTO;
using DAL.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL.Repositories
{
public class ProductRepository
{
private TurpialPOSDbContext _context;
public ProductRepository()
{
... |
using Abhs.Application.IService;
using Abhs.Common.Enums;
using Abhs.Data.Repository;
using Abhs.Model.Access;
using Abhs.Model.Common;
using Abhs.Model.ViewModel;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using StructureMap.Attributes;
using System;
using System.Collections.Generic;
using System.L... |
using BP12;
using BP12.Events;
using System;
using UnityEngine;
namespace DChild.Gameplay
{
public class ObjectLifetime : MonoBehaviour
{
[SerializeField]
private float m_lifeTime;
public event EventAction<EventActionArgs> Death;
void Update()
{
if (m_life... |
using UnityEngine;
using UnityEngine.Networking;
using Exception = System.Exception;
namespace DFrame
{
public class Vector2Int
{
/*数据*/
public int x, y;
/*构造*/
public Vector2Int() { x = 0; y = 0; }
public Vector2Int(int xIn, int yIn) { x = xIn; y = yIn; }
publi... |
using System;
using Whathecode.System.Algorithm;
namespace Whathecode.System
{
public static partial class Extensions
{
/// <summary>
/// Split a string into two strings at a specified position.
/// </summary>
/// <param name = "source">The source for this extension method.</param>
/// <param name = "ind... |
using System.Data.Entity;
using Abp.Authorization;
using Abp.Authorization.Roles;
using Abp.Authorization.Users;
using Abp.Configuration;
using Abp.EntityFramework;
using Abp.MultiTenancy;
namespace Abp.Zero.EntityFramework
{
/// <summary>
/// DbContext object for ABP zero.
/// </summary>
public class... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Mojang.Minecraft.Protocol.Providers
{
public class DefaultConnectProvider : IConnectProvider
{
private AutoRe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Born : MonoBehaviour
{
public GameObject player1Prefab;
public GameObject player2Prefab;
public bool isPlayer1;
// Start is called before the first frame update
void Start()
{
In... |
using System;
using System.Net;
namespace AssemblyResolver
{
/// <summary>
/// Class HttpAssembly.
/// </summary>
public class HttpAssembly : IAssemblyResolver
{
/// <summary>
/// Initializes a new instance of the <see cref="HttpAssembly"/> class.
/// </summary>
///... |
using LHRLA.Core.Helpers;
using LHRLA.DAL;
using LHRLA.LHRLA.Core.ApplicationHelper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Configuration;
using System.Web.Security;
namespace LHRLA.Controllers
{
public class LoginController : Contro... |
namespace GraphQLDynamic.Model
{
public record Relationship
(
string Name,
TypeDefinition RelationshipType,
RelationshipCategory RelationshipCategory
);
}
|
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 ControllerPage
{
public partial class FormProductselection : Form
{
public For... |
namespace CpsExtension
{
/// <summary>
/// Project capability constants.
/// </summary>
internal static class ProjectCapability
{
/// <summary>
/// The capability that identifies what this extension does.
/// See https://github.com/Microsoft/VSProjectSystem/blob/master/doc/o... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.SceneManagement;
public class BaseLineManager : MonoBehaviour {
public float BaseLineDuration = 120f;
public bool StartTimerDone = false;
bool BeginEndFade = false;
float StartTimerLengt... |
namespace Tomelt.Roles.Events {
public class UserAddedContext : UserRoleContext {}
} |
using UnityEngine;
using System.Collections;
public class HeadCtrlPlayer : MonoBehaviour {
public PlayerBtState PlayerState;
TweenColor HeadColor;
TweenScale HeadScale;
UISprite HeadSprite;
bool IsChangeHead;
bool IsHeadToSmall;
public static HeadCtrlPlayer _InstanceP1;
public static HeadCtrlPlayer GetIns... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
namespace ProductForm
{
public class AppConfig
{
private static SqlConnection con = new SqlConnection();
public static string ConnectionString = @"s... |
using System;
namespace Week2e
{
class MainClass
{
public static void Main (string[] args)
{
int score = 49;
// If statements are used to check if a result is true or false
if (score < 50)
Console.WriteLine ("Oh no you're failing!");
if (score == 0)
Console.WriteLine ("You... |
using System.Collections;
using System.IO;
using System.Collections.Generic;
using UnityEngine;
//A script by Michael O'Connell, extended by Benjamin Cohen
public class DialogueTriggerV2 : MonoBehaviour
{
//Attach this script to an empty gameobject with a 2D collider set to trigger
DialogueManagerV2 manager... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Euler_Logic.Problems {
public class Problem185 : ProblemBase {
private List<List<ulong>> _answers = new List<List<ulong>>();
private List<Guess> _guess = new List<Guess>();
private Dictionary<int, List<ulong>> _po... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Orders.Models;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
namespace Orders
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CountryProject.MODEL.ViewModel;
using CountryProject.BLL;
namespace CountryProject.UI
{
public partial class View_Countrys : System.Web.UI.Page
{
... |
using UnityEngine;
using System.Collections;
public class GridMouseOver : MonoBehaviour {
} |
using System;
using System.Collections.Generic;
using System.Collections;
using System.Collections.Specialized;
namespace LeetCodeTests
{
public abstract class Problem_0033
{
/*
Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7... |
using System;
using System.Collections.Generic;
using Apv.AV.Services.Data.Models.FC;
using System.Linq;
//using Apv.AV.Services.Data.FC;
using Microsoft.EntityFrameworkCore;
using Apv.AV.Common;
namespace Apv.AV.Services.Data.FC
{
public class ApvFCRepository : IApvFCRepository
{
ApvAppContext _cont... |
using Company.Master2.xmlmodel;
using Microsoft.master2.assembly;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.master2.model
{
class ModelUtils
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using FedericoWebApi.Models;
namespace FedericoWebApi.Controllers {
public class ValuesController : ApiController {
DomainModel dm = new DomainModel();
// GET api/values
public IE... |
using UnityEditor;
using System;
using UnityEngine;
[CustomEditor(typeof(BaseSpell))]
[CanEditMultipleObjects]
public class BaseSpellEditor : PolymorphicFieldEditor {
public override void OnInspectorGUI() {
DrawDefaultInspector();
if (serializedObject.FindProperty("warhead").hasMultipleDifferent... |
using Alabo.Cache;
using Alabo.Dependency;
using Alabo.Domains.Entities;
using Alabo.Domains.Enums;
using Alabo.Domains.Repositories;
using Alabo.Domains.Services.Add;
using Alabo.Domains.Services.Attach;
using Alabo.Domains.Services.Bulk;
using Alabo.Domains.Services.ById;
using Alabo.Domains.Services.Cache;
using Al... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Spool.Harlowe
{
partial class BuiltInMacros
{
public BuiltInMacros(Context context) => Context = context;
public Context Context { get; }
}
} |
using GraphicalEditorServer.DTO;
using Model.Users;
namespace GraphicalEditorServer.Mappers
{
public class DoctorMapper
{
public static DoctorDTO DoctorToDoctorDTO(Doctor doctor)
{
DoctorDTO doctorDTO = new DoctorDTO();
doctorDTO.Name = doctor.Name;
doctorDT... |
using Android.Content;
using ProgressBarSlider;
using ProgressBarSlider.Droid;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
[assembly: ExportRenderer(typeof(CustomProgressBar), typeof(CustomProgressBarRenderer))]
namespace ProgressBarSlider.Droid
{
public class CustomProgressBarRenderer : ProgressBa... |
//Written by skidz tweak
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Timers;
using Aurora.Framework;
using OpenMetaverse;
using OpenMetaverse.StructuredData;
using Aurora.Framework.Services;
using Aurora.Framework.Modules;
using Aurora.Framework.Utilitie... |
using System;
using System.ComponentModel;
using System.Drawing.Design;
using System.Windows.Forms.Design;
namespace gView.Framework.Symbology.UI
{
internal class HatchStyleTypeEditor : UITypeEditor
{
public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context)
{
... |
using ArquiteturaLimpaMVC.Dominio.Entidades;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace ArquiteturaLimpaMVC.Infra.Data.EntitiesConfiguration
{
public class CategoriaConfiguration : IEntityTypeConfiguration<Categoria>
{
public void Configure(En... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace DBDiff.Schema.SQLServer2000.Winzards
{
public partial class ConnectionStringForm : Form
{
public ConnectionStringForm()
... |
using System.Collections.Generic;
using System.Windows.Forms;
namespace Courier
{
public partial class Courier : Form
{
public Courier()
{
InitializeComponent();
}
private void BtnGenerate_Click(object sender, System.EventArgs e)
{
Person courie... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum OrthoDir {
[OrthoDirAttribute("North", 0, 1, 0, 0, 0, 1, 0, -1, 0)] North,
[OrthoDirAttribute("East", 1, 0, 0, 1, 0, 0, 1, 0, 1)] East,
[OrthoDirAttribut... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RightEdge.Common;
abstract class AsyncBrokerTest : BrokerTest
{
TaskCompletionSource<bool> _taskCompletionSource = new TaskCompletionSource<bool>();
List<WaitingEvent> _waitingEvents = new... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PADIbookCommonLib
{
[Serializable]
public class User
{
private String _username;
private String _spoofAdress;
private List<Post> _userPosts;
private List<Friend> _friends;
... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BDGeral = upSight.Consulta.Base.BD.Geral;
namespace upSight.CartaoCorp.Identificaca... |
using System;
namespace RRExpress.Seller.Entity {
public class GoodsInfo {
public long ID { get; set; }
public long StoreID { get; set; }
public string StoreName { get; set; }
public string Name { get; set; }
public int BigCat { get; set; }
public int SecondCa... |
using Nest;
namespace Uintra.Core.Search.Entities
{
public class SearchableDocument : SearchableBase
{
public string Data { get; set; }
public Attachment Attachment { get; set; }
}
} |
using System.Text;
using System.Threading.Tasks;
namespace SerializationDemo
{
public class C
{
public string Value { get; set; }
}
}
|
using Sentry.Extensibility;
namespace Sentry.Protocol.Envelopes;
/// <summary>
/// Represents an object which is already serialized as a stream.
/// </summary>
internal sealed class StreamSerializable : ISerializable, IDisposable
{
/// <summary>
/// Source stream.
/// </summary>
public Stream Source {... |
using System.Linq;
using System.Threading.Tasks;
using ClinicManagement.Infrastructure.Data;
using UnitTests.Builders;
using Xunit;
namespace IntegrationTests.Room
{
public class EfRepositoryList : BaseEfRepoTestFixture
{
private readonly EfRepository _repository;
public EfRepositoryList()
{
_r... |
using System.Threading;
using Framework.Core.Common;
using Tests.Pages.Van.LogIn;
using Tests.Pages.Van.Main.PredictiveDialerCampaign;
using Tests.Projects.Oberon.CustomForm;
using NUnit.Framework;
using Tests.Data.Van;
using Tests.Pages.Van.Main;
namespace Tests.Projects.Van.PredictiveDialer
{
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
using System.ComponentModel;
namespace KartSystem
{
public class AlcoTestRest : Entity
{
[DBIgnoreAutoGenerateParam]
[DBIgnoreReadParam]
public override string FriendlyName
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NumbersToWords.Tests
{
[TestClass]
public class TeensConverter_Tests
{
[TestMethod]
public void Given_I_Have_A_Value_Of_11_The_Value_Returned_Should_Be_Eleven()
{
// Given I have a val... |
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Terraria;
using Terraria.ModLoader;
namespace StarlightRiver.Food
{
class MainCourse : ModItem
{
public string IName;
public string ITooltip;... |
using System;
using AutoMapper;
using Microsoft.Practices.Unity;
using OrgMan.Data.UnitOfWork;
using OrgMan.Domain.Handler.HandlerBase;
using OrgMan.DomainContracts.Adress;
using OrgMan.DomainObjects.Adress;
using System.Data;
using OrgMan.DomainObjects.Common;
using System.Collections.Generic;
using OrgMan.DataModel;... |
namespace Fragenkatalog.Model
{
class Schueler : Benutzer
{
public Schueler(uint benutzer_nr, string login_name, string email_adresse, string passwort) : base(benutzer_nr, login_name, email_adresse, passwort, 3)
{
// TODO : eventuell anpassen
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WeatherApp1
{
public class WeatherCard
{
public DateTime Date { get; private set; }
public string Weather { get; private set; }
public DateTime UpdateTime { get; private set; }
publi... |
using SocketLite.Forms;
using System;
using System.Threading;
using System.Windows.Forms;
namespace SocketLite.Client
{
public partial class MainForm : ClientForm
{
NotifyIcon notifyIcon1 = new NotifyIcon();
public MainForm()
{
InitializeComponent();
notifyIco... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LocusNew.Core.Models
{
public class ListingImage
{
public int Id { get; set; }
public string FileName { get; set; }
public string Extension { get; set; }
public int ListingId { get; s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using API.Models;
using API.Repository;
namespace API
{
public class Mutation
{
private readonly IDataProfileRepository _dataProfileRepository;
public Mutation(IDataProfileRepository dataProfileRe... |
using System;
using System.Collections.Generic;
namespace fibonachi
{
class fibonachi
{
static void Main(string[] args)
{
Stack<long> fibonachi = new Stack<long>();
int n = int.Parse(Console.ReadLine());
fibonachi.Push(0);
fibonachi.Push(1);
... |
using Microsoft.AspNetCore.Razor.TagHelpers;
using System.Threading.Tasks;
namespace Wee.UI.Core.TagHelpers
{
[HtmlTargetElement("bootstrap-button-group")]
public class ButtonGroupTagHelper : TagHelper
{
[HtmlAttributeName("class")]
public string ButtonGroupClass { get; set; }
[HtmlAttributeName("o... |
namespace Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class InitialCreate : DbMigration
{
public override void Up()
{
CreateTable(
"Web._Users",
c => new
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VideoGameDependencyInjectionDemo
{
class Grenade : IWeapon
{
public Grenade(string weaponName)
{
WeaponName = weaponName;
}
public string W... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Xml.Linq;
namespace BibleBrowserUWP
{
/// <summary>
/// Represents XML Bible with all its metadata, and exposes the capacity to retrieve both meta information
/// and content from those Bible... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace System.Buffers.Tests
{
public class BufferEqualityTests
{
[Fact]
pu... |
using System;
using UnityEngine;
using UnityEngine.SceneManagement;
public class BreakoutGameManager : MonoBehaviour
{
// UI
[Header("UI")]
public GameObject titleCanvas;
public GameObject victoryCanvas;
public GameObject gameOverCanvas;
// Game objects
[Header("Game objects")]
public... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace cstrike2d
{
class Camera2D
{
public Matrix Transform { get; private set; }
public Vector2 Position;
public Camera2D()
{
Position = Vector2.Zero;
}
publi... |
using System;
namespace UsingOut
{
class MainApp
{
static void Divide(int a, int b, out int quotient, // int a와 b, quotient, remainder를 지역적으로 선언하면서 목과 나머지를 구하는 나눗셈 메소드를 구현
out int remainder) // out 형식은 출력전용 변수라는 표시, 원래 메소드에 들어가면 값을 끌고 들어가는게 아니지만, out이 붙으면 메인함수의 변수를 끌고 들어가서 메인함수의 변수값 자체를 바꿔준다.
{
quotien... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Threading;
using ThinNeo;
namespace NeoSpider
{
/// <summary>
/// MainWindow.xaml 的交互逻辑
/// </summary>
public partial class MainWindow : Window... |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace OnboardingSIGDB1.Domain.Interfaces
{
public interface IRepository<T> where T : class
{
Task<IEnumerable<T>> Get();
Task<IEnumerable<T>> Get(Predicate<T> predicate);
... |
using Backend.Model;
using FeedbackAndSurveyService.CustomException;
using FeedbackAndSurveyService.SurveyService.Model;
using System;
using System.Collections.Generic;
using System.Linq;
namespace FeedbackAndSurveyService.SurveyService.Repository
{
public class MedicalStaffSurveyResponseGeneratorRepository : IMe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace SomeTask.Test
{
[TestFixture]
public class BootstrapTest
{
[SetUp]
public void SetUp()
{
Bootstrap.Init();
}
[Test]
public voi... |
using UnityEngine;
using System.Collections;
public class ThrobForEffect : MonoBehaviour {
bool throbbing;
float startThrobTime;
public float throbPeriod = 0.3f;
public float throbScale = 1f;
public Transform thingToScale;
private Vector3 originalScale;
// Use this for initialization
void Start () {
th... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Saato.DAL;
using Saato.Repository;
namespace Saato.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.Dominio.Models.Menu.Enums;
using Welic.Dominio.Models.Menu.Mapeamentos;
using Welic.Dominio.Patterns.Pattern.Ef6;
namespace Welic.Dominio.Models.Menu.Dtos
{
public class MenuDto : Entity... |
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
namespace HRIS.Setup.PublicHolidayDetails.Dto
{
[AutoMap(typeof(Entities.Setup.PublicHolidayDetails))]
public class PublicHolidayDetailsDto : EntityDto
{
public int PublicHolidayId{ get; set; }
public DateTime? StartDate{ get; set; }
public DateTime? EndDate{ ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace APIWeb.Models
{
public class hardware
{
public long Id { get; set; }
public string Hardwa... |
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 Nemiro.OAuth;
using Nemiro.OAuth.LoginForms;
using System.IO;
using ExactOnline.Client.Models;
usin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Amazon.Lambda.Core;
using Amazon.DynamoDBv2.DocumentModel;
using Newtonsoft.Json;
using Amazon.DynamoDBv2.Model;
using Amazon.DynamoDBv2;
using Amazon.Lambda.DynamoDBEvents;
// Assembly attribute to enable the Lambd... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PADIbookCommonLib
{
[Serializable]
public class SignedQueryByFile : SignedMessage
{
public QueryByFile Query { get; set; }
public SignedQueryByFile(QueryByFile query, byte[] signature)
... |
using PizzaBezorgApp.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windo... |
using System;
using System.Threading;
using System.Threading.Tasks;
using CronScheduler.Extensions.StartupInitializer;
using Microsoft.Extensions.Logging;
namespace CronSchedulerApp.Jobs.Startup
{
public class TestStartupJob : IStartupJob
{
private readonly ILogger<TestStartupJob> _logger;
... |
using CommandLine;
namespace Common
{
public class Options
{
[Option('c', "connection", Required = true)]
public string ConnectionString { get; set; }
[Option('d', "database", Required = true)]
public string Database { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Mapster;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.