text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Haromszogek
{
public class DHaromszog
{
public double a
{
get { return aOldal; }
set
{
if (value > 0)
... |
using System;
namespace Phenix.Web.Client.Security
{
/// <summary>
/// 用户身份
/// </summary>
[Serializable]
public sealed class UserIdentity : Phenix.Core.Security.UserIdentity
{
/// <summary>
/// 初始化
/// </summary>
public UserIdentity(string userNumber, string password)
: base(userNum... |
using System;
using DevsoftSDK.Constans;
using log4net;
using SAPbouiCOM.Framework;
namespace Devsoft.AddonBase.ApplicationEvents
{
public static class MenuEvent
{
static readonly ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
public static void... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Serilog;
using Witsml;
using Witsml.Data;
using Witsml.ServiceReference;
using WitsmlExplorer.Api.Jobs;
using WitsmlExplorer.Api.Jobs.Common;
using WitsmlExplorer.Api.Models;
using WitsmlExplorer.Api.Query;
using WitsmlExplorer.Api.Services;
namespac... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
namespace JavaPackage
{
class MavenItems
{
private List<string> _packageDownUrl;
private List<string> _packageImage;
privat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LangInformant.Domain.Entities
{
public class Word
{
public int WordID { get; set; }
public string Name { get; set; }
public string Description { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EventTriggerTest : MonoBehaviour {
// Update is called once per frame
void Update () {
if (Input.GetKeyDown("q"))
{
EventManager.TriggerEvent("test");
}
//Grip button on right control... |
using HeBoGuoShi.DBModels;
using HeBoGuoShi.Models;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System.Data.Entity.Migrations;
using System.Threading.Tasks;
namespace HeBoGuoShi.Migrations
{
internal sealed class Configuration : DbMigrationsConfiguration<HeboContext>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Lab06_RemoteControl
{
public class Door
{
private PictureBox status;
public Door(PictureBox status)
{
this.status = sta... |
using System;
using System.Text;
using TeamCityChangeNotifier.Args;
using TeamCityChangeNotifier.Helpers;
using TeamCityChangeNotifier.XmlParsers;
namespace TeamCityChangeNotifier.Http
{
public class TeamCityAuth
{
private readonly ConfigSettings _settings = new ConfigSettings();
private readonly Req... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace ELEMENTS_DIFFERENTS
{
class Program
{
public static int lire_entier()
{
... |
using UnityEngine;
using System.Collections;
public class CheckStage : MonoBehaviour {
public static bool isCheck;
public static bool isOK;
public static bool isCancel;
// Use this for initialization
void Start () {
isOK = false;
isCancel = false;
}
// Update is called once per frame
void Update () ... |
namespace ConsoleApplication1
{
[Couple(Pair="Student", Probability=0.2, ChildType="Girl")]
[Couple(Pair="Botan", Probability=0.5, ChildType="Book")]
sealed class SmartGirl : Human
{
public string Surname { get; set; }
public SmartGirl()
{
Sex = Sex.Women;
... |
using System.Collections.Generic;
namespace SpaceHosting.Index.Sparnn.Helpers
{
internal static class TupleExtensions
{
public static void Deconstruct<TX, TY>(this IEnumerable<(TX, TY)> arrayOfTuples, out TX[] arrayX, out TY[] arrayY)
{
var listOfX = new List<TX>();
var ... |
using System;
using System.Linq;
using Microsoft.CQRS;
using System.Collections.Generic;
using Microsoft.UnifiedPlatform.Service.Common.Models;
namespace Microsoft.UnifiedPlatform.Service.Application.Commands
{
public class LogClientInfoCommand : Command<LogResult>
{
public override string DisplayName... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml.Serialization;
using Grabacr07.KanColleWrapper.Models;
using WhatToDevelop.Model.Raw;
namespace WhatToDevelop
{
public class WikiCreeper
{
public List<Item> List {... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LookieLooks.Api.Model
{
public class User
{
public string UserName { get; set; }
public string AvatarImageUrl { get; set; }
public int Score { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Data.OleDb;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AdventureGameTEst.Extension_Methods;
namespace AdventureGameTEst.Classes
{
public class Inventory
{
public string Name { get; set; }
public string... |
using Moq;
using Moq.Protected;
using System.Collections.Generic;
using Xunit;
namespace CreditCardApplications.Tests
{
public class CreditCardApplicationsEvaluatorShould
{
private Mock<IFrequentFlyerNumberValidator> mockValidator;
private CreditCardApplicationEvaluator sut;
public Cr... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
/// <summary>
/// 對話系統
/// 1.決定說話者名稱
/// 2.決定畫畫內容 - 可以有多段
/// 3.顯示每個段落對話完成圖示動態效果
/// </summary>
public class DialogueSystem : MonoBehaviour
{
#region 欄位
[Header("對話資料")]
public DialogueData data;
[Header("對話間格"), Range(0, 3)]
publi... |
using System;
using System.Linq;
using MerchantRPG.Simulation;
namespace MerchantRPG.ItemScore
{
class Program
{
public static void Main(string[] args)
{
Score("Antares' Stinger", attack:4, magicAttack:53, accuracy:56, criticalRate:7, hp:24, intelligence:5);
Score("Antares' Stinger", attack:3, magicAttack... |
using System;
using System.Collections.Generic;
using System.Text;
namespace RPG_Game
{
public class Spiderman : Character
{
public Spiderman( int level)
{
MaxAttackValue = CalculateMaxMoveValue( level);
MaxDefenseValue = CalculateMaxMoveValue( level);
CharN... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Mime;
using Atc.Rest.Results;
using Xunit;
namespace Atc.Rest.Tests.Results
{
public class ResultFactoryTests
{
[Theory]
[InlineData(HttpStatusCode.OK, null)]
[InlineData(HttpStatusCode.OK, "Hallo World")... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Grpc.Core;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System.Net.Http;
using Models;
namespace GrpcMovies
{
public class GreeterService : Greeter.GreeterBase
{
Http... |
using EntityLayer.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EntityLayer.Utility
{
public class HelperMethods
{
//Handles deposit of funds by counter draft
public static decimal Deposit(decimal amount)
... |
using System;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace Decryptor
{
class Program
{
static byte[] saltBytes = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 };
static void DecryptAll()
{
... |
using System;
using System.Drawing;
using System.Windows.Forms;
namespace KartSystem.Common
{
public partial class ShowLogoForm : Form
{
public delegate void DlgSetCaption(string caption);
public ShowLogoForm()
{
InitializeComponent();
}
public ShowLogoFor... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Xml.Serialization;
using System;
[Serializable]
public class EventOptions {
[XmlAttribute("id")]
public int id;
[XmlText]
public string text;
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace UseFul.Forms.Welic
{
[ToolboxBitmap(@"S:\Sistemas dotNet\Figuras\iRadiobutton.ico")]
public partial class Rad... |
using System;
using com.Sconit.CodeMaster;
namespace com.Sconit.Entity.MSG
{
[Serializable]
public partial class Message : EntityBase
{
#region O/R Mapping Properties
//[Display(Name = "Id", ResourceType = typeof(Resources.MSG.Message))]
public Int32 Id { get; set; }
//[Display(Name = "Sen... |
using MiApp.Interfaces;
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 MiApp
{
public partial class Form1 : Form
{
public Fo... |
// 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 System;
using System.Collections.Generic;
using System.Text;
namespace FiiiChain.DTO
{
public class GetPeerInfoOM
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour {
public int health = 3;
public int healthLossPerHit = 1;
private bool isBeingHit = false;
public float pushBackforce = 600f;
public float pushBackTime = 0.1f;
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
float h;
bool pulsado;
float v;
Vector3 moveDirection;
bool movePrevent;
public float speed = 15;
public GameObject slashPrefab;
CircleCollider2D attackCollider;
... |
using Caliburn.Micro;
using CustomTournamentsLibrary.DataAccess;
using CustomTournamentsLibrary.Interfaces;
using CustomTournamentsLibrary.Models;
using System.Linq;
namespace CustomTournamentsUI.ViewModels
{
public class LeagueViewModel : Screen, IEnterResult
{
// BACKING FIELDS
priv... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Tweetinvi.Models;
using Tweetinvi.Models.DTO;
using Tweetinvi.Parameters;
namespace Tweetinvi
{
public class MessageAsync
{
// Factory
public static async Task<IMessage> GetExistingMessage(long messageId)
{
... |
using SharpArch.Domain.DomainModel;
using NHibernate.Envers.Configuration.Attributes;
namespace Profiling2.Domain.Prf.Persons
{
public class PersonAlias : Entity
{
[Audited]
public virtual Person Person { get; set; }
[Audited]
public virtual string LastName { get; set; }
... |
// Stage menu: simple menu script connecting local and networked game signals to our scene manager.
using Godot;
using System;
using System.Collections.Generic;
using System.Linq;
public class StageMainMenu : Stage
{
private PictureStory _pictureStory;
private Panel _popAbout;
private PnlSettings _pnlSettings;
pri... |
using System;
//TODO: Add other using statements here.
namespace com.Sconit.Facility.Service
{
public interface IFacilityCategoryMgr : IFacilityCategoryBaseMgr
{
#region Customized Methods
//TODO: Add other methods here.
#endregion Customized Methods
}
}
#region Extend Interfac... |
using System;
using Leprechaun.Adapters;
using Leprechaun.TemplateReaders;
using Sitecore.DevEx.Serialization.Models;
namespace Leprechaun.InputProviders.Sitecore.Adapters
{
public class SitecoreItemFieldValueAdapter : IItemFieldValueAdapter
{
private readonly IItemFieldValue _itemFieldValue;
public SitecoreIt... |
using UnityEngine;
using System.Collections;
public enum eLoadType
{
Scene,
UI,
}
public class LoadManager : SingleTon<LoadManager>
{
}
|
using System;
namespace test1.Draw
{
public interface Object
{
}
}
|
using A4CoreBlog.Data.ViewModels;
using System.Linq;
using System.Threading.Tasks;
namespace A4CoreBlog.Data.Services.Contracts
{
public interface ICommentService
{
Task<int> Add<T>(T model);
Task<int> AddPostComment(PostACommentViewModel model);
Task<int> AddBlogComment(PostACommentVi... |
using System;
using ServiceStack.DataAnnotations;
using ServiceStack.Model;
namespace SsWkPdf.Model
{
public interface IRecord : IHasGuidId
{
[Required, Default(typeof (DateTimeOffset), "SYSDATETIMEOFFSET()")]
DateTimeOffset CreatedOn { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AIHomework3ProgrammingAssignment
{
class City
{
private string name;
private int milesToMiami;
private Dictionary<City, int> connectingCities;
public C... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AsteroidsGame
{
class GameConstants
{
//camera constants.
public const float CameraHeight = 25000.0f;
public const float PlayfieldSizeX = 16000f;
public const float PlayfieldSizeY = 12500f;
//as... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace sistemaDeGestionDeMantenimientos
{
public partial class FormEditarComentarioMensual : Form
{
public FormEdit... |
using EddiDataDefinitions;
using System;
using System.Collections.Generic;
using Utilities;
namespace EddiEvents
{
[PublicAPI]
public class MissionCompletedEvent : Event
{
public const string NAME = "Mission completed";
public const string DESCRIPTION = "Triggered when you complete a missi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Classwork1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("задание 1.1");
double a = Convert.ToDouble(Console.ReadLine())... |
using UserService.CustomException;
using UserService.Model.Memento;
namespace UserService.Model
{
public class City : IOriginator<CityMemento>
{
private int Id { get; }
private string Name { get; }
private Country Country { get; }
public City(int id, string name, int countryId... |
using System;
using System.Text;
using System.Collections.Generic;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NameSorter
{
/// <summary>
/// Summary description for NameSorterTests
/// </summary>
[TestClass]
public class NameSorterTests
{
[TestMethod... |
namespace Taggart.Data.Models
{
public class CuePoint
{
public int TrackId { get; set; }
public int Number { get; set; }
public float StartTime { get; set; }
public virtual Track Track { get; set; }
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Mastermind
{
class Program
{
static void Main(string[] args)
{
StartGame();
}
private static void StartGame()
{
//Generates the ... |
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 System.IO;
using System.Drawing;
public partial class nryqyxxkxiugai : System.Web.UI.Page
{
... |
namespace NomNom.FileCreationHandlers.Properties
{
#region Using Directives
using Domain;
#endregion
public class HandlerPlugins : IHavePlugins
{
}
} |
using Atc.OpenApi.Tests.XUnitTestData;
using Microsoft.OpenApi.Models;
using Xunit;
namespace Atc.OpenApi.Tests.Extensions
{
public class OpenApiPathsExtensionsTests
{
[Theory]
[MemberData(nameof(TestMemberDataForOpenApiPathsExtensions.GetPathsStartingWithSegmentName), MemberType = typeof(Test... |
using Flux.src.Flux.Renderer;
using OpenTK.Graphics.OpenGL;
namespace Flux.src.Platform.OpenGL
{
public class OpenGLVertexBuffer : VertexBuffer
{
public readonly int bufferId;
private BufferLayout layout;
internal OpenGLVertexBuffer(float[] vertices, BufferUsageHint hint)
{
bufferId = GL.GenBuffer();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UIController : MonoBehaviour {
public ShipController ship;
public LevelController level;
public Text health;
public Text ammo;
public Text score;
// Use this for initialization
void Start () {
... |
using System;
using System.Collections.Generic;
namespace Algorithms.LeetCode
{
public class CountVowelsPermutation
{
public int CountVowelPermutation(int n)
{
var dp = new Dictionary<char, int[]>();
var letters = new List<char>() { 'a', 'e', 'i', 'o', 'u' };
... |
namespace Groundwork.Domain
{
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Collections.Generic;
public class FakeRepository<TEntity, TopLevelDomain> : IRepository<TEntity, TopLevelDomain>
where TEntity : IEntity<TopLevelDomain>
{
public FakeRepos... |
using System.Collections.Generic;
#nullable disable
namespace Algorithms.LeetCode
{
public class NestedIterator
{
private Stack<(NestedInteger, int?)> _root;
private int? _next;
public NestedIterator(IList<NestedInteger> nestedList)
{
_root = new Stack<(NestedInteg... |
using CarManageSystem.helper;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.SessionState;
namespace CarManageSystem.handler.PersonalCenter.Reservation
{
/// <summary>
/// GetCarMileage 的摘要说明
/// </summary>
public class... |
/**
* Definition for a binary tree node.
* public class TreeNode {
* public int val;
* public TreeNode left;
* public TreeNode right;
* public TreeNode(int val=0, TreeNode left=null, TreeNode right=null) {
* this.val = val;
* this.left = left;
* this.right = right;
* ... |
using UnityEngine;
namespace PhotonInMaze.Manager {
public class BuildManager : MonoBehaviour {
void Start() {
Application.targetFrameRate = 30;
}
}
} |
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
using Selenio.Core.SUT;
using Selenio.Extensions;
namespace Selenio.NUnit.PageObjects
{
public class LandingPage : PageObject
{
[WaitForThisElement]
[FindsBy(How = How.Id, Using = "sb_form_q")]
public IWebElement SearchB... |
using Telegram.Bot.Types.ReplyMarkups;
namespace RSS_news_feed_bot.bot
{
interface IKeyboardInline
{
string KeyboardDescription { get; }
InlineKeyboardMarkup KeyboardMarkup { get; }
}
}
|
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
using SFA.DAS.ProviderCommitments.Web.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using SFA.DAS.ProviderCommitments.Web.Mappers.Cohort;
namespace SFA.DAS.ProviderCommitments.Web.UnitTests.Mappers.Coh... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ItemAttribute : MonoBehaviour {
public GameObject itemPrefab;
public string itemName;
public bool stackable = false;
void Start () {
}
void Update () {
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using Accounts.Domain;
using Accounts.Domain.Events;
using Linedata.Foundation.EventStorage;
using Linedata.Gateway.Common.Values;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using NodaTime;
using NodaTime.Serialization.JsonNet;
namespace... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using Inventor;
using Autodesk.DesignScript.Geometry;
using Autodesk.DesignScript.Interfaces;
using Autodesk.DesignScript.Runtime;
using Dynamo.Models;
using Dynamo.Utilities;
using InventorLibrary.Geomet... |
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.SpaServices.ReactDevelopmentServer;
using Micro... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BayMax2
{
class Avatar
{
private int apetito, diversión, energía;
public int Apetito { get => apetito; set => apetito = value; }
public int Divers... |
using gView.Framework.Carto;
using gView.Framework.Geometry;
namespace gView.Interoperability.GeoServices.Extensions
{
static class DisplayExtensions
{
static public void Image2World(this IDisplay display, IGeometry geometry)
{
if (geometry is IEnvelope)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class RestartMenu : MonoBehaviour
{
[SerializeField] Button _restartButton;
void Awake()
{
_restartButton.onClick.AddListener(OnRestartButtonClick);
}... |
namespace _15.RubiksMatrix
{
using System;
using System.Collections.Generic;
using System.Linq;
public class RubiksMatrix
{
public static void Main()
{
uint[] matrixSides = Console.ReadLine().Split().Select(uint.Parse).ToArray();
uint rows = matrixSides[0];
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using ProjectGrace.Data.Soaper.ServiceModels;
using ProjectGrace.Data.Soaper.ServiceMappers;
using ProjectGrace.Data.Access;
namespace ProjectGrace.Data.Soaper
{
// NO... |
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.Diagnostics;
using Xamarin.Forms;
using Kuromori.DataStructure;
using Kuromori.Pages;
namespace Kuromori
{
/// <summary>
/// simple page with a logo and three buttons going to their respective pages
/// </summary>
public partial class UserSelectPag... |
using AutoFixture;
using FluentAssertions;
using FluentAssertions.Execution;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Moq;
using NUnit.Framework;
using SFA.DAS.Authorization.Services;
using SFA.DAS.CommitmentsV2.Api.Client;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
using SFA.DAS.CommitmentsV2.Shared... |
//------------------------------------------------------------------------------
//
// 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 do... |
using System.Threading;
using System.Web.Mvc;
using DevExpress.Web.Mvc;
namespace DevExpress.Web.Demos {
public partial class DataViewController : DemoController {
public ActionResult DataBinding() {
return DemoView("DataBinding");
}
public ActionResult DataBindingPartial() {
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = ("Third Person Synty Character/New Transform Data") )]
public class TransformData : ScriptableObject
{
public Vector3 position = new Vector3 ();
public Vector3 eulerAngles = new Vector3 ();
public Ve... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class Tavern : MonoBehaviour
{
public TextMeshProUGUI level_1_text;
public TextMeshProUGUI level_2_text;
public TextMeshProUGUI costAncientText;
// public TextMeshProUGUI costCoinTe... |
using System;
using System.Collections.Generic;
using System.Linq;
using ILogging;
using ServiceDeskSVC.DataAccess.Models;
namespace ServiceDeskSVC.DataAccess.Repositories
{
public class HelpDeskTicketTypeRepository:IHelpDeskTicketTypeRepository
{
private readonly ServiceDeskContext _context;
... |
using System;
using System.Collections.Generic;
using System.Threading;
namespace EPollingApp
{
public class Program
{
Database db;
public Program()
{
db = new Database();
}
static void Main(string[] args)
{
while (true)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cracking
{
class DetectLoopStartInCycle
{
public static Node detect(Node head) {
Console.WriteLine("in detect");
Node slow = head;
... |
using Alabo.Datas.Stores.Page.EfCore;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Entities.Core;
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Alabo.Datas.Stores.Random.EfCore {
public abstract class RandomAsyncEfCoreStore<TEntity, TKey> : Ge... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AlgorithmsAndDataStructures.Tests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void BinaryTreeBuilding()
{
//arrange
BinaryTreeBuilder builder = new Binar... |
/*
* Создано в SharpDevelop.
* Пользователь: vlunev
* Дата: 28.05.2015
* Время: 15:54
*/
using System;
using System.Drawing;
//using BitMiracle.LibTiff.Classic;
using FreeImageAPI;
using System.Windows.Forms;
using System.IO;
namespace DesignationRecognition
{
/// <summary>
/// Класс для работы с изображениями... |
namespace Assets.Scripts.Models
{
public class UsableItem : BaseObject
{
}
}
|
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using NetTopologySuite.Geometries;
namespace DataAccess.Migrations
{
public partial class Init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilde... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using System.Threading;
using IRAP.Global;
using IRAP.Client.User;
using IRAP.Client.Global.GUI.Dialogs;
using IRAP... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EasySave.Model
{
/// <summary>
/// Format of the log to read from Json.
/// </summary>
public class Log
{
/// <summary>
/// Date of the execution
/// </summary>
public DateTime Date { get; ... |
using System;
using System.Collections.Generic;
namespace Zkull.Fuzzy
{
public class FzAND : FuzzyTerm
{
private List<FuzzyTerm> m_lstTerms;
public FzAND(FzAND self)
{
m_lstTerms = new List<FuzzyTerm>();
for(int i = 0; i < self.m_lstTerms.Count; i++)
{
m_lstTerms.Add(self.m_lstTerms[i]);
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
public class FingerTutorial : MonoBehaviour
{
[SerializeField] Transform Finger;
private void Start()
{
Sequence a = DOTween.Sequence();
a.Append(Finger.DOScale(new Vector3(1, 1, 1), 0.5f));
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
namespace MessengerStats {
class Navigation {
privat... |
using System;
using System.Linq;
using System.Collections.Generic;
namespace Exam_3
{
class Program
{
static void Main(string[] args)
{
List<string> paintings = Console.ReadLine().Split(' ', StringSplitOptions.RemoveEmptyEntries).ToList();
string command = Console.ReadLi... |
using System.Windows.Forms;
namespace Phenix.Security.Plugin.ResetLoginFailureCount
{
public partial class SetupForm : Phenix.Core.Windows.DialogForm
{
private SetupForm(Plugin plugin)
{
InitializeComponent();
_plugin = plugin;
this.resetIntervalNumericUpDown.Value = plugin.ResetInterva... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Abhs.Model.MonitorMiddle
{
public class SpecContent
{
/// <summary>
/// 总题数
/// </summary>
public int AllCount { get; set; }
///... |
using StardewModdingAPI;
using StardewModdingAPI.Events;
using System.Collections.Generic;
using Modworks = bwdyworks.Modworks;
using Microsoft.Xna.Framework;
using System.IO;
using Newtonsoft.Json;
namespace Moongates
{
public class Mod : StardewModdingAPI.Mod
{
internal static bool Debug = false;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.