text stringlengths 13 6.01M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CreditLogic : MonoBehaviour {
public GameObject collectionParticles;
private void OnCollisionEnter(Collision other) {
GameManager.instance.credits += 1;
Instantiate(collectionParticles, transform.position, collectionPar... |
using AlgorithmProblems.Heaps;
using AlgorithmProblems.Heaps.HeapHelper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Graphs.ShortestPathAlgos
{
/// <summary>
/// Given a directed/undirected graphs with weighted... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using FiiiCoin.Wallet.Win.Biz.Services;
using FiiiCoin.Wallet.Win.Common;
using FiiiCoin.Wallet.Win.Models.UiModels;
namespace Fiii... |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
using Caserraria.Items;
namespace Caserraria.Items.Healing
{
public class SearedHoneyfin : ModItem
{
public override void SetStaticDefault... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace KartObjects
{
public class AlcoLicenseRecord:SimpleDbEntity
{
[DBIgnoreReadParam]
[DBIgnoreAutoGenerateParam]
public override string FriendlyName
{
get { return "Алкоголь... |
using AutoMapper;
using DgKMS.Cube.CubeCore;
using DgKMS.Cube.CubeCore.Dtos;
namespace DgKMS.Cube.CustomDtoAutoMapper
{
/// <summary>
/// 配置EvernoteTag的AutoMapper映射
/// 前往 <see cref="CubeApplicationModule"/>的AbpAutoMapper配置方法下添加以下代码段
/// EvernoteTagDtoAutoMapper.CreateMappings(configuration);
/// </sum... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EQS.AccessControl.Application.ViewModels.Output.Register
{
public class RegisterPersonOutput
{
public RegisterPersonOutput()
{
Roles = new HashSet<RegisterRoleOutput>();
}
public int Id { ... |
// The MIT License (MIT)
//
// Copyright (c) 2014-2017, Institute for Software & Systems Engineering
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including wi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerScienceFinal
{
public static class ArrayListFinal
{
public class ArrayList
{
int[] arr;
int len = 0;
public ArrayList(int[] ... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class RotateModeUI : MonoBehaviour {
public Toggle strafeButton;
public Toggle rotateButton;
public CAVE2WandNavigator navController;
// Use this for initialization
void Start () {
navController = Get... |
using System;
using System.Linq;
namespace VideoMigrations
{
class Program
{
static void Main(string[] args)
{
SalesContext context = new SalesContext();
Console.WriteLine(context.Products.First().Name);
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Map : MonoBehaviour {
public GameObject Track;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
gameObject.tansform.psition = new Vectoe3(track... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MapPosition.Map
{
[Serializable]
public class Piecearea:ChinaArea
{
}
}
|
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 Miniprojet.Administrateur
{
public partial class Administrateur : Form
{
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fare
{
class Amenities
{
public bool Equipment { get; set; }
public int NumberOfPeople { get; set; }
public bool AirConditioning { get; set; }
public bo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class BaseEnemyAttack
{
public BaseAttack attack;
public int addedEffectChance;
}
|
using System;
namespace SumatraPDF
{
[Obsolete("Please use \"SumatraPDF\" instead.")]
public class SumatraPDFWrapper : SumatraPDFPrinter
{
public SumatraPDFWrapper(
IProcessFactory processFactory = null)
: base(processFactory)
{
}
public SumatraPDFW... |
using YourContacts.Contracts;
using YourContacts.Models;
using YourContacts.Services.Database.Sql.Translators;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace YourContacts.Services.Database.Sql
{
public class SqlAdaptor : IDataStore
{
private readonly Con... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using FiiiChain.Framework;
namespace Fii... |
using capacited_facility_location_problem.model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace capacited_facility_location_problem
{
class FacilityProblemData
{
public Facility[] Facilities { get; private set; }
pu... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class Restart : MonoBehaviour {
public TextMesh HST;
public void RestartGame(){
SceneManager.LoadScene ("First", LoadSceneMode.Single);
}
public void BackToStart(){
SceneManager.LoadScene ("Start", LoadSceneMode.Single... |
using System;
namespace Membership.Data
{
[Serializable]
public class AdminMenuItemGroup : BaseEntity
{
public AdminMenuItemGroup ParentAdminMenuItemGroup { get; set; }
public int? ParentAdminMenuItemGroupId { get; set; }
public string Name { get; set; }
public st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
public partial class MasterPage : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
if(!Syst... |
using System;
namespace SoftUniStore.App.ViewModels
{
public class GameEditViewModel
{
public int Id { get; set; }
public string Title { get; set; }
public string Trailer { get; set; }
public string ImageThumbnail { get; set; }
public float Size { get; set; }
... |
namespace Infrostructure.Enums
{
public enum NewOrderStatus
{
NewOrder,
AddOrder
}
}
|
using Mono.Cecil;
using Nailhang.IndexBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Nailhang.Processing.ModuleBuilder.Processing
{
class NailhangModuleBuilder : Base.IModuleBuilder
{
public IEnumerable<IndexBase.Module> CreateModules(AssemblyDefi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Console;
namespace ImplicitConversion
{
class Program
{
static void Main(string[] args)
{
Digit dig = new Digit(7, "svetlio");
WriteL... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Maze : MonoBehaviour
{
public int level;
bool[][] field;
public GameObject spawnObject, targetItem;
public Material matWal;
public Material[] matGemGroup;
public Material[] matSky;
public Transform man;
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Empresa.Investimentos.Investimentos
{
public class Arrojado : Investimento
{
string Nome = "Arrojado";
public double Calcula(double valor)
{
var ra... |
using IModels.Commons;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IInfra
{
public interface IPersonDataAccess
{
int Insert(IPerson person);
bool Update(IPerson person);
bool Delete(int id);
IPers... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace CopyLogs.Models
{
public class AppError
{
[Column("id_appError")]
public Guid Id { get; set; }
[Column("errorText")]
public string ErrorText {get; s... |
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 LabComparison
{
/// <summary>
/// JT> This form in unneccessary as the URL to pull the... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Problem_01
{
class Program
{
/*
Write a program, which validates a parking place for an online service. Users can register to park and unregister to leave.
The program receives 2 commands:
"register {username} {li... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// A neater overview of some of the following behaviours can be found in the last section of the README.md
/// </summary>
public class Steerings {
static public List <Vector3> RandomPositions = new List <Vector3>();
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using UnityEngine;
using Verse;
namespace RimWorld_ModSyncNinja
{
public class Dialog_ModSync_Window : Window
{
private List<ModSyncModMetaData> _relevantMods;
private st... |
using System;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core.Interops
{
public sealed partial class VlcManager
{
[Obsolete("Use GetAudioOutputDeviceList instead")]
public string GetAudioOutputDeviceLongName(string audioOutputDescriptionName, int deviceIndex)
{
... |
using System;
using System.Collections.Generic;
using System.Net;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using Properties.Controllers;
using Properties.Core.Interfaces;
using Properties.Core.Objects;
using Properties.Tests.Helper;
namespace Properties.Tests.UnitTests.Controllers
{
[TestFixture]... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Szogun1987.EventsAndTasks.Callbacks;
using Szogun1987.EventsAndTasks.Events;
using Szogun1987.EventsAndTasks.Promises;
using Xunit;
namespace Szogun1987.EventsAndTasks.Tests
{
public class TaskAdaptersTests
{
[Theory]
... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.CompilerServices;
namespace DanialProject.Models.Others
{
public class VerifyCodeViewModel
{
[Display(Name="Code")]
[Required]
public string Code
{
get;
set;
}
[Required]
public string Provider
{
get;
set;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using IRAP.Global;
namespace IRAP_MaterialRequestImport
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
///... |
namespace ProjetctTiGr13.Domain.FicheComponent
{
public class Attaque
{
public string NomAttaque { get; set; }
public byte BonusAuJet { get; set; }
public string TypeDegat { get; set; }
public byte BonusAuDegat { get; set; }
public byte DeDega... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace MapArcGIS
{
public abstract class WorkSpace
{
internal struct Head
{
public Int32 dataOffset;
public Int32 size;
}
internal WorkSpaceInfo wor... |
using CapaDatos;
using System;
using System.Drawing;
using System.Windows.Forms;
using Tulpep.NotificationWindow;
namespace CapaUsuario.Compras.Bienes_de_uso
{
public partial class FrmBienUso : Form
{
//private DUsuario usuarioLogueado;
//public DUsuario UsuarioLogueado { get => usuarioLoguead... |
using System.Windows;
using GalaSoft.MvvmLight;
namespace JeopardySimulator.Ui.Infrastructure
{
//Blend 4 buga resolution: http://mvvmlight.codeplex.com/discussions/82284
public class ViewModelLocatorHelper
{
public static void CreateStaticViewModelLocatorForDesigner(FrameworkElement control, object viewModelLoc... |
using System;
using Newtonsoft.Json;
namespace RotateMssql
{
public class SecretsEvent
{
public string SecretId;
public string ClientRequestToken;
public string Step;
}
public class SecretString
{
[JsonProperty("username")]
public string Username { get; set;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Meebey.SmartIrc4net;
using System.Threading;
using System.Xml.Serialization;
using System.IO;
using System.Text.RegularExpressions;
using Gobiner.PugRanking.Extensions;
using Gobiner.PugRanking.RankingAlgorithms;
using System.T... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
using System;
/*
* Local database managment
*/
public class Repository : MonoBehaviour {
public static Repository instance = null;
public static float truckMaxSc... |
using System;
using UnityEngine;
namespace Project.DialogueSystem
{
[Serializable]
public class Sentence
{
public string name;
public Sprite sprite;
[TextArea(3, 10)]
public string[] lines;
}
}
|
using System;
namespace App.Data
{
// TODO: Get SSL mode from env variables too.
public class PostgresConnectionParams
{
public string Host { get; set; } = "localhost";
public string Port { get; set; } = "5432";
public string Name { get; set; } = "webchat";
public string Use... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Upgrader.MySql;
namespace Upgrader.Test.MySql
{
[TestClass]
public class UprgradeMySqlTest : UpgradeTest<MySqlDatabase>
{
public UprgradeMySqlTest() : base(new MySqlDatabase(AssemblyInitialize.MySqlConnectionString), Assembly... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NfePlusAlpha.Domain.Entities
{
public class tbNotaFiscalInformacaoPagamento
{
public int nfp_codigo { get; set; }
public int nfp_indPag { get; set; }
public int... |
namespace MySelf_Inherit
{
public class Apple : Product
{
public string Testy { get; set; }
public Apple(int id, string name, string color, string size, string testy) : base(id, name, color, size)
{
Testy = testy;
}
}
} |
using System;
using System.Threading.Tasks;
namespace AddressBook.Core.Contacts
{
public interface IContactManager
{
Task<Contact> CreateAsync(string name, DateTime dateOfBirth, string address);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using TypeInThai.Models;
using TypeInThai.Repositories;
using TypeInThai.Controllers.API;
using TypeInThai.ViewModels;
using TypeInThai.Helpers;
namespace TypeInThai.Areas.API.Controllers... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FoodGallery.Models;
using System.Data.Entity;
using System.Net;
namespace FoodGallery.Controllers
{
public class ReviewController : Controller
{
EntityDB database = new EntityDB();
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using BE.Empresa;
namespace DA.Empresa
{
public interface IempresaDAO
{
String insertar(empresa empresa);
void modificar(empresa empresa);
List<Dictionary<String, Object>> getById(empresa empres... |
// Utility.cs
//
using System;
using System.Collections;
using System.Html;
using System.Runtime.CompilerServices;
using jQueryApi;
namespace SportsLinkScript.Shared
{
public delegate object jQuerySelectItemHandler(jQueryEvent ev, object data);
public delegate object jQueryRenderItemHandler(Element element, ... |
using GodaddyWrapper.Responses;
using GodaddyWrapper.Requests;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using GodaddyWrapper.Helper;
namespace GodaddyWrapper
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using WebSecurity = System.Web.Security;
using System.Web.SessionState;
using EasyDev.Security;
using System.Collections;
using System.Web.Security;
namespace EasyDev.EPS
{
public class Authent... |
using System;
using Xunit;
using WorkerService.Helpers;
namespace Tests
{
public class WorkerTests
{
[Theory]
[InlineData("8CE210B8-31B8-4D7B-8DA6-E62C47C7CB75", 19)]
[InlineData("8CE210B8-31B8-4D7B-8DA6-ED2C47C7CB75", 18)]
[InlineData("8CE210B8-31B8-4D7B-BDA6-ED2C4CC7CB75", 16)]
public void ... |
using Proyecto.Database;
using Proyecto.Models;
using Proyecto.Session;
using System;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Proyecto.Controllers
{
public class HomeController : Controller
{
private DBEntities db;
public HomeController()
{
db ... |
public class TwoToOne
{
public string Longest(string s1, string s2)
{
// your code
string tmpString = s1 + s2;
string longest = string.Empty;
foreach (var character in tmpString)
{
var isDuplicate = false;
for (int i = 0; i < longest... |
using System;
using System.Linq;
using System.Runtime.InteropServices;
using MassEffect.Exceptions;
namespace MassEffect.Engine.Commands
{
using MassEffect.Interfaces;
/*
--Sovereign - Dreadnought
-Location: Kepler-Verge
-Health: 200
-Shields: 400
-Damage: 150
-Fuel: 900.0
-Enhancements: ExtendedFuelCel... |
using System;
namespace SchedulerAkka.FileService
{
public class RecordsReaderMessage
{
public RecordsReaderMessage(string filePath, Type recordType)
{
FilePath = filePath;
RecordType = recordType;
}
public string FilePath { get; private set; }
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Integer.Infrastructure.Criptografia;
using System.Linq.Expressions;
namespace Integer.Domain.Acesso
{
public interface UsuarioTokens
{
UsuarioToken Com(Expression<Func<UsuarioToken, bool>> condicao);
vo... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.ServiceModel.Web;
using System.Security.Cryptography;
using System.IO;
using System.Web;
using System.ServiceModel.Activation;
using... |
using System.Collections.Generic;
using Properties.Core.Interfaces;
using Properties.Core.Objects;
namespace Properties.Infrastructure
{
public class ApiAuthenticationSettings : IApiAuthenticationSettings
{
public IEnumerable<ApiCredential> AuthorisedApiCredentials { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using Meshop.Core.Models;
using Meshop.Framework.Model;
using Meshop.Framework.Module;
using Meshop.Framework.Security;
using Meshop.Framework.Services;
using Meshop.Framework.ViewEngine;
using Meshop.Framework.Widgets;
namespace Meshop.... |
using Core.Utilities.Results;
using Entities.Concreate;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Text;
namespace Business.Abstract
{
public interface ICarImageService
{
IResult Add(IFormFile file, Photo carImage);
IResult Update(IFormFile fi... |
using Anywhere2Go.Library;
using ClaimDi.Business.Master;
using ClaimDi.DataAccess;
using ClaimDi.DataAccess.Entity;
using ClaimDi.DataAccess.Object.API;
using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClaimDi.Business
{
... |
namespace TomsToolbox.Wpf.Converters
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Windows.Data;
u... |
using System;
using System.Linq;
using iTextSharp.text.pdf;
using iTextSharp.text.pdf.parser;
namespace Framework.Core.Helpers.PDF
{
public static class PdfHelper
{
/// <summary>
/// Determines whether or not the specified section exists within a pdf document
/// </summary>
... |
namespace _03._FirstName
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Startup
{
public static void Main()
{
string[] names = Console.ReadLine().Split(' ');
SortedSet<string> letters = new SortedSet<string>(Console.ReadLin... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Euler_Logic.Problems.AdventOfCode.Y2017 {
public class Problem05 : AdventOfCodeBase {
public override string ProblemName {
get { return "Advent of Code 2017: 5"; }
}
public override string GetAnswer()... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WebAPI.Models;
namespace WebAPITest.Test
{
public class Example : TestBase
{
public static void Ejercicio3()
{
//var rnd = new Random... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using MarkdownUtils.MdAnimated;
using MarkdownUtils.Core;
using CommonMark;
using Microsoft.Win32;
using Newtonsoft.Json;
using System.Xml.Serialization;
namesp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace com.Sconit.Web.Models.SearchModels.INV
{
public class OutMiscOrderSearchModel:SearchModelBase
{
public string MiscOrderNo { get; set; }
public Int16? Status { get; set; }
public string Region... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class Dialog : MonoBehaviour {
public void ShowInParent(Transform t) {
transform.SetParent (t, false);
}
public void OnHidden() {
transform.SetParent (null, false);
Object.Destroy (gameObject);
}
}
|
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Construction_Project
{
public partial class EmployeeProfile : System.Web.UI.Page
{
... |
using Xamarin.Forms.Maps;
namespace PFRCenterGlobal.ViewModels.Maps
{
public class Place
{
public string PlaceName { get; set; }
public string Address { get; set; }
public string Icon { get; set; }
public string Distance { get; set; }
public string OpenNow { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MenuController : MonoBehaviour
{
public GameObject Canvas;
private bool toggleMenu = false;
public void ToggleMenu()
{
toggleMenu = !toggleMenu;
Canvas.SetActive(toggleMenu);
}
}
|
namespace Serilog.Tests.Core;
public class SafeAggregateSinkTests
{
[Fact]
public void AnExceptionThrownByASinkIsNotPropagated()
{
var thrown = false;
var s = new SafeAggregateSink(new[] { new DelegatingSink(_ => {
thrown = true;
throw new("No go, pal.");
})... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Media;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Entidades;
namespace PetShop
{
public partial class FrmAgregarProducto : F... |
/*
* --------------------------------------------------------------------------------
* <copyright file = "Person" Developer: Diogo Rocha @IPCA</copyright>
* <author>Diogo Miguel Correia Rocha</author>
* <email>a18855@alunos.ipca.pt</email>
* <date>26/06/2020</date>
* <description>Esta classe define um recuper... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProyectoLP2
{
public class DetalleFactura
{
private int idFactura;
private Producto producto;
private int cantidad;
private double subtotal;
pri... |
using System;
namespace _27._break_и_continue
{
class Program
{
// break завершает любой цикл и выходит из него
//continue лишь перепрыгивает вверх в начало цикла, упуская текущую итерацию
static void Main(string[] args)
{
for (int i = 0; i < 5; i++)
... |
using SelectionCommittee.BLL.DataTransferObject;
using SelectionCommittee.BLL.Interfaces;
using SelectionCommittee.DAL.Entities;
using SelectionCommittee.DAL.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SelectionCommittee.BLL.Services
{
public class S... |
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RabbitMQReceiver
{
public class TopicReceiver
{
public TopicReceiver()
{ }
//pub... |
using System;
using System.Collections.Generic;
using System.Text;
namespace HBPonto.Kernel.Helpers.Jiras
{
public class JiraIssueTimeTracking
{
public string originalEstimate { get; set; }
public string remainingEstimate { get; set; }
public string timeSpent { get; set; }
publ... |
#if UNITY_EDITOR
using System;
using DChild.Gameplay.Objects.Characters.Enemies;
using Sirenix.OdinInspector;
using UnityEngine;
namespace DChildDebug
{
public abstract class DebugMinionController<T> : MinionAttackDebugger where T : Minion
{
protected T m_minion;
private Vector3 m_spawnPositio... |
public class Solution {
public int FindMin(int[] nums) {
int left = 0, right = nums.Length - 1;
while (left + 1 < right) {
if (nums[left] < nums[right]) return nums[left];
while(left<nums.Length-1 && nums[left]==nums[left+1]) left++;
while(right>left && nu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Threading.Tasks;
using Microsoft.Data.SqlClient;
using System.Xml.Serialization;
using System.Net;
using System.IO;
namespace StoneX
{
public class Program
{
[Serializable, XmlRoot("Val... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml;
using System.Xml.Linq;
namespace Taggart.ITunes
{
public class MusicLibrary
{
readonly static private Regex VideoRegex = new Regex("video", RegexOptions.IgnoreCase);
pub... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
//**********************************************************************
//
// 文件名称(File Name):LoadNodeConfigRequest.CS
// 功能描述(Description):
// 作者(Author):Aministrator
// 日... |
body {
margin: 0;
padding: 0;
font: 11px Verdana, Tahoma, Arial, Helvetica, sans-serif;
}
html, body {
height: 100%;
}
.moduletable-spy img {
filter: progid: DXImageTransform.Microsoft.Alpha(opacity=60);
-moz-opacity: 0.6; /* Mozilla 1.6 */
-khtml-opacity: 0.6; /* Konqueror 3.1, Safari 1.1 */
opacity: 0.6; ... |
using System;
using System.Linq;
using NSpec;
using ServiceStack;
using ServiceStack.Data;
using ServiceStack.FluentValidation;
using ServiceStack.Model;
using ServiceStack.OrmLite;
using SsWkPdf.Common;
using SsWkPdf.ServiceModel;
using SsWkPdf.ServiceModel.Type;
namespace SsWkPdf.Specs.ServiceInterface
{
interna... |
namespace DAL.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class initialCreate : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Houses",
c => new
{
... |
using System.Collections.Generic;
using ApartmentApps.Data;
using ApartmentApps.Portal.Controllers;
namespace ApartmentApps.Api
{
public interface IIncidentsService : IService
{
int SubmitIncidentReport(ApplicationUser user, string comments, IncidentType incidentReportTypeId, List<byte[]> images, int? ... |
using MinhasClasses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WEP_Aula04
{
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
... |
using GameFrame;
/// <summary>
/// 战斗属性,当进入副本战斗时,每个敌人、英雄都要有此属性
/// </summary>
public class BattleAttributes : GameBehaviour
{
public float m_attackDistance = 0;//攻击距离
public int m_hp = 0;//血量
public int m_curHp = 0;//当前血量
public string m_name = "怪物";
public int m_speed = 0; //速度
public int m_a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.