text stringlengths 13 6.01M |
|---|
using AutoMapper;
using Sfa.Poc.ResultsAndCertification.Dfe.Application.Interfaces;
using Sfa.Poc.ResultsAndCertification.Dfe.Data.Interfaces;
using Sfa.Poc.ResultsAndCertification.Dfe.Domain.Models;
using Sfa.Poc.ResultsAndCertification.Dfe.Models;
using System.Linq;
using System.Threading.Tasks;
namespace Sfa.Poc.R... |
using System.Collections.Generic;
using System.Linq;
using DataAccess.Repository;
using Domain;
using Moq;
using NUnit.Framework;
namespace Services.Tests
{
[TestFixture]
public class BlogServiceTests
{
private Mock<IBlogRepository> _blogRepository;
private IBlogService _blogService;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dboEF6.EF;
namespace dboEF6
{
class BusinessLogicClass
{
//Хранит всю информацию о таблице проект
static List<project> list_project;
//Хранит всю информацию о табли... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.Sconit.Entity.MD;
using com.Sconit.Entity.Exception;
using com.Sconit.Persistence;
using System.Data.SqlClient;
using System.Data;
namespace com.Sconit.Service.Impl
{
public class FinanceCalendarMgrImpl : BaseMgr, IFin... |
using UnityEngine;
using System.Collections;
public class Magician2ProjectileScript : MonoBehaviour
{
// Opponents tag
public string opponentTag;
// If this projectile hits the opponent's projectile
public string opponentProjectileTag;
// Listen and change the health variables
public GameOb... |
using UnityEngine;
public class RainbowForm : PrimaryForm {
public void Start() {
projectile.GetComponent<RainbowWeapon>().damage = damage;
}
public override void Fire() {
GameObject[] rainboom = new GameObject[15];
int rainbowSpreadAngle = 50;
int rainbowBetweenProjectiles = (rainbowSpreadAngle / (15 -... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace StudyManagement.StudyManagement
{
public partial class StudentProfile : System.Web.UI.Page
... |
using UnityEngine;
using UnityEngine.Events;
[System.Serializable]
public class PassString : UnityEvent<string>{}
[System.Serializable]
public class PassColor : UnityEvent<Color>{}
[System.Serializable]
public class PassColorReturn : UnityEvent<Color , PassHolder>{} |
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 Mercadinho
{
public partial class Menu : Form
{
public Menu()... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MusicLibrary;
namespace BassPlayer.CS
{
class MusicFolder
{
public string folderName { get; protected set; }
public string folderType { get; pro... |
using System;
using Alabo.Domains.Repositories;
using Alabo.Industry.Shop.Categories.Domain.Entities;
namespace Alabo.Industry.Shop.Categories.Domain.Repositories
{
public interface ICategoryPropertyRepository : IRepository<CategoryProperty, Guid>
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.GraphSync.Models;
using DFC.ServiceTaxonomy.JobProfiles.DataTransfer.Extensions;
using DFC.ServiceTaxonomy.JobProfiles.DataTransfer.Models.ServiceBus;
using DFC.ServiceTaxonomy.JobProfiles.DataTr... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace day05
{
class Program
{
static void Main(string[] args)
{
string path = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Lo... |
using System;
using System.Collections.Generic;
using System.Linq;
using EasySave.Helpers.Files;
using EasySave.Model.Management;
namespace EasySave.Model.Task
{
/// <summary>
/// Singleton class. Manage the task and instanciate then.
/// </summary>
public sealed class TaskManager : ITaskManager
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using System.Net.Http;
namespace FinalExam
{
class Cities
{
static async Task<string[]> MainAsync(String text)
{
var client = new HttpClient()... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Action of type `Collision`. Inherits from `AtomAction<Collision>`.
/// </summary>
[EditorIcon("atom-icon-purple")]
public abstract class CollisionAction : AtomAction<Collision> { }
}
|
using System;
namespace LinkedList
{
/// <summary>
/// clases autoreferenciadas
/// Consiste en una secuencia de nodos, en los que se guardan campos de datos arbitrarios y una o dos referencias, enlaces o punteros al nodo anterior o posterior
/// Son estructuras de datos que no son primitivas de un le... |
using DChild.Gameplay.Objects;
using DChild.Gameplay.Objects.Characters;
using Sirenix.OdinInspector;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DChild.Gameplay.Environment
{
public abstract class SecretPassageBlockade : DestructableObject
{
[System.Serial... |
global using DiffEngine;
global using Microsoft.Data.SqlClient;
global using Microsoft.EntityFrameworkCore;
global using Microsoft.EntityFrameworkCore.Diagnostics;
global using Microsoft.EntityFrameworkCore.Diagnostics.Internal;
global using Microsoft.Extensions.Logging;
global using Sentry.DiagnosticSource.Integration... |
namespace qbq.EPCIS.Repository.Custom.Business
{
public static class ImportExtensions
{
public static string RemoveBlanks(this string str)
{
return str.Replace(" ", string.Empty);
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MultiplechoiseSystem.DTO
{
class UserDTO
{
private static UserDTO instance;
public static UserDTO Instance
{
get { if (instance == null) instance = ... |
using Microsoft.WindowsAzure.Storage.Table;
namespace AzureTableStorage.Patterns.Models
{
public class OrderStats : TableEntity
{
public int Count { get; set; }
}
} |
using OrgMan.DomainObjects.Common;
using System;
using System.Collections.Generic;
namespace OrgMan.DomainObjects.Adress
{
public class AdressManagementDetailDomainModel
{
//public IndividualPersonDomainModel IndividualPerson { get; set; }
public Guid UID { get; set; }
public string ... |
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;
using System.Collections;
namespace Login
{
public partial class frmUser : Form
{
public static int user_count;
... |
using System;
using Calculator;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SalaryCalculatorTestProject
{
[TestClass]
public class CalculatorTest
{
[TestMethod]
public void AnnualSalaryTest()
{
// Arrange
SalaryCalculator sc = new SalaryCal... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Web;
namespace Desideals.Models
{
public class Db : DbContext
{
public Db()
{
var adapter = (IObjectContextAdapter)this;
va... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace WPF.Model
{
public class SepetModel
{
public int Id { get; set; }
public string ProductImages { get; set; }
public string ProductNam... |
using System;
using System.Collections.Generic;
using System.Text;
namespace HCBot.Runner.Menu
{
public interface IMenuProvider
{
BotMenu Load();
}
}
|
using UnityEngine;
using VRStandardAssets.Utils;
namespace Shounds.IObj
{
// This script is a simple example of how an interactive item can
// be used to change things on gameobjects by handling events.
public class IObj : MonoBehaviour
{
[SerializeField] private Material m_NormalMater... |
namespace Prometheus.Models
{
public class Filter
{
public string Search { get; set; }
public string Location { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemySelfDestruct : MonoBehaviour
{
public FloatData enemyHealth;
public void Update()
{
if (enemyHealth.value <= 0)
{
Destroy(gameObject);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using iSukces.Code.Interfaces;
namespace iSukces.Code;
internal sealed class CsClassWriter
{
public CsClassWriter(CsClass @class)
{
Class = @class;
}
public bool WriteMethods(ICsCodeWriter writer, bool addEmptyLineBeforeRegion... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class cameraEnvent : MonoBehaviour
{
// Start is called before the first frame update
public Camera[] cams;
public void camMainMove()
{
cams[0].enabled = true;
cams[1].enabled = false;
}
p... |
using System;
using Proxynet.Models;
using Microsoft.AspNet.Identity;
using Microsoft.Owin.Security;
using System.Security.Claims;
using System.Web.Mvc;
using UsersLib.Service.Auth;
namespace Proxynet.Controllers
{
public class AccountController : Controller
{
private readonly IAuthenticationManager _... |
using System;
using System.Web;
using Funq;
using ServiceStack;
using ServiceStack.Configuration;
using ServiceStack.Data;
using ServiceStack.MiniProfiler;
using ServiceStack.MiniProfiler.Data;
using ServiceStack.OrmLite;
using SsWkPdf.ServiceInterface;
using SsWkPdf.ServiceModel.Type;
namespace SsWkPdf
{
public ... |
using EPI.HashTables;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.HashTables
{
[TestClass]
public class TestForPalindromeUnitTest
{
[TestMethod]
public void FindPalindromePermutations()
{
TestForPalindrome.CanWordBeAPalindrome("edified").Should().BeT... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class InventoryScreen : MonoBehaviour {
//Find TeamInventory, Define each slots there, and each Image there
GameObject inventoryPanel;
GameObject slotPanel;
public GameObject inventorySlot;
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using CXC = CustomXamarinControls;
using CXCiOS = CustomXamarinControls.iOS;
using Foundation;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly: ExportRenderer(ty... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ManageWeb.Controllers
{
public class WatchLogController : ManageBaseController
{
//
// GET: /WatchLog/
public ActionResult Index()
{
return View();... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class ExitPortal : MonoBehaviour
{
public string nextLevel;
void OnTriggerEnter2D(Collider2D collider)
{
if (collider.gameObject.tag == "Player") {
Sc... |
using System;
using System.Data;
using System.Text;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using netbu.Models;
using System.Data.SqlClient;
using System.IO;
using WpfBu.Models;
using Microsoft.AspNetCore.Authorization;
namespace netbu.Controllers
{
//[A... |
using OfficeOpenXml;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SeleniumWithGUI.Classes
{
class Scrapper
{
string TeamName = "//*[@class='p0c-competi... |
namespace TheClickerGame.Common.ClickUpgrades.SuperbClicker
{
public class SuperbClicker : ClickUpgrade
{
public override string Name => "Superb Clicker";
public override string Description => "Orci varius natoque penatibus et magnis dis parturient montes";
public override decimal Mul... |
using DChild.Gameplay.Objects;
using UnityEngine;
namespace DChild.Gameplay
{
public class OffCamEnemySpawner : EnemySpawner
{
private ICameraRoutine m_cameraRoutine;
private ISpawnable m_cachedSpawnable;
private Renderer[] m_renderers;
protected override bool CanSpawnAt(ISpa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO.Ports;
using System.Threading;
namespace SMSapplication
{
public class USSDHelper
{
#region Open and Close Ports
//Open Port
public SerialPort OpenPort(st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _7DRL_2021.Pathfinding.Dijkstra
{
class FibonacciMap<T, TKey> where TKey : IComparable<TKey>
{
FibonacciHeap<T, TKey> Heap;
Dictionary<T, FibonacciHeapNode<T, TKey>> He... |
// Copyright (C) 2008 Jesse Jones
//
// 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
// without limitation the rights to use, copy, modify, merge, publish,
/... |
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Windows.Input;
using Theatre.Model;
using Theatre.Services;
using Theatre.View;
using Xamarin.Forms;
namespace Theatre.ViewModel
{
public class CalendarResultListViewModel : INotifyPropertyChanged
{
public event PropertyCh... |
using Alabo.Domains.Entities.Core;
using Alabo.Validations.Aspects;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Alabo.Datas.Stores.Add {
public interface IAddAsyncStore<in TEntity, in TKey> where TEntity : class, IKey<TKey>, IVersion, IEntity {
/// <summary>
/// ... |
#region copyright
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIE... |
using System;
using System.Collections.Generic;
using Lucene.Net.Index;
using Lucene.Net.Documents;
using Lucene.Net.Analysis.Standard;
using Lucene.Net.Store;
using log4net;
using Cuyahoga.Core.Util;
using Cuyahoga.Core.Domain;
namespace Bo.Cuyahoga.Extensions.Search
{
/// <summary>
/// The IndexBuilder class take... |
namespace BettingSystem.Domain.Teams.Models
{
using System.Collections.Generic;
using System.Linq;
using Common;
using Common.Events.Teams;
using Common.Models;
using Exceptions;
using static Common.Models.ModelConstants.Common;
public class Team : Entity<int>, IAggregateRoot
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Veiculos
{
class Caminhao : Veiculos
{
private int numero_eixos;
private double peso;
private string carreta;
public Caminhao() : base()
{
numero_eixos = 0;
peso = 0.0;... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
using System;
using Valve.VR.InteractionSystem;
public class ButtonEffect : MonoBehaviour
{
public void OnButtonDown(Hand fromHand)
{
ColorSelf(Color.green);
fromHand.TriggerHapticPulse(1000);
StartCoroutin... |
using System.Collections.Generic;
using UnityEngine;
using static AtomosZ.Cubeshots.MusicCommander.MusicalCommander;
namespace AtomosZ.Cubeshots.MusicCommander
{
public class MusicalTrigger : MonoBehaviour
{
public List<TriggerEvent> musicalEvents;
void Start()
{
foreach (var musicEvent in musicalEvents)... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Input;
using CODE.Framework.Wpf.Mvvm;
namespace CODE.Framework.Wpf.Theme.Wildcat.Classes
{
/// <summary>
/// Special version of this control able to handle button positions
... |
using System;
namespace SFA.DAS.ProviderCommitments.Web.Models.Cohort
{
public class ReviewCohortSummaryViewModel
{
public string CohortReference { get; set; }
public string EmployerName { get; set; }
public int NumberOfApprentices { get; set; }
public string LastMessage { get;... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Parser_Console.Classes
{
public class F2_Info
{
public int Year { get; set; }
public List<string> FilePaths { get; set; }
public decimal WorkCycle { get; set; }
public decimal Outflow { get; set; }
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class ItemLook : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
{
public void OnLookItem(bool isLooked)
{
//Debug.Log(isLooked);
//MoveCtrl.isStopped = isLooked;
... |
using Cs_Gerencial.Dominio.Entities;
using Cs_Gerencial.Dominio.Interfaces.Repositorios;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Gerencial.Infra.Data.Repositorios
{
public class RepositorioAtribuicoes: RepositorioBase<Atribui... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DoubleDecimalTest
{
class Program
{
static void Main(string[] args)
{
Double hi = 6;
decimal bye = 899999999999999999999999999977.7777777777777777777777M;
}
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StatsBar : MonoBehaviour
{
public GameObject blockPrefab;
private static StatsBar m_instance;
private Dictionary<string, StatBlock> m_blocks = new Dictionary<string, StatBlock>();
private void A... |
using System;
using Microsoft.Xna.Framework;
using StardewModdingAPI;
using StardewValley;
using StardewValley.Objects;
namespace TVAnnouncements
{
/// <summary>The mod entry point.</summary>
public class ModEntry : Mod
{
/// <summary>The mod configuration from the player.</summary>
privat... |
using NfePlusAlpha.Application.ViewModels.ViewModel;
using NfePlusAlpha.Infra.Data.Retorno;
using NfePlusAlpha.UI.Wpf.Apoio.Controles;
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.Wi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CIS016_2.Week2.Exercise_3.Base;
namespace CIS016_2.Week2.Exercise_3.Clocks
{
class LocalClock : BaseClock
{
public LocalClock()
{
this.TimeDifferen... |
using Alabo.Cloud.Asset.FacePay.Domain.Services;
using Alabo.Helpers;
using Alabo.UI;
using Alabo.UI.Design.AutoReports;
using Alabo.UI.Design.AutoReports.Enums;
using System.Collections.Generic;
using System.Linq;
namespace Alabo.Cloud.Asset.FacePay.Report
{
public class FacePayReport : IAutoReport
{
... |
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ArquiteturaLimpaMVC.Aplicacao.DTOs
{
public class ProdutoDTO
{
public int Id { get; set; }
[Required(ErrorMessage = "O nome é obrigatório!")]
... |
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.Shared.Interfaces;
using SFA.DAS.Encoding;
using SFA.DAS.ProviderCommitments.Interfaces;
using SFA.DAS.ProviderCommitments.Web.Contr... |
using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using Aquamonix.Mobile.Lib.Domain;
using Aquamonix.Mobile.Lib.Domain.Requests;
using Aquamonix.Mobile.Lib.Domain.Responses;
using Aquamonix.Mobile.Lib.Utilities;
using Aquamonix.Mobile.Lib.Database;
names... |
using HouseRent.Data;
using HouseRent.Models;
using HouseRent.Utility;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Sy... |
using Alabo.Cloud.People.Relationship.Domain.Services;
using Alabo.Framework.Core.Reflections.Interfaces;
using Alabo.Helpers;
using Alabo.Users.Entities;
namespace Alabo.Cloud.People.Relationship
{
/// <summary>
/// 更新会员关系网
/// </summary>
public class UserRegAfter : IUserRegAfter
{
pu... |
using UnityEngine;
public interface NavigatorInterface
{
void SetDest(Vector3 dest, GameObject obj);
void UpdatePosition();
} |
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.Http.Json;
using System.Threading.Tasks;
namespace SimpleBlogBlazor.UI.Pages
{
public partial class FetchData
{
private WeatherForecast[] forecasts;
protected override async Task OnInitializedAsync()
{... |
using System;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using System.Linq;
using System.Numerics;
using System.Threading;
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.GraphSync.Interfaces;
namespace DFC.ServiceTaxonomy.GraphSync.Models
{
public class GraphReplicaSet : IGraph... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MLAgents;
public class AvoidBallsAgent : Agent
{
public GameObject ball;
public GameObject user;
ArrayList ballArray = new ArrayList();
public override void InitializeAgent()
{
}
public override void Coll... |
using BHLD.Data.Infrastructure;
using BHLD.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BHLD.Data.Repositories
{
public interface Ihu_shoes_settingRepository : IRepository<hu_shoes_setting>
{
IEnumerable<hu_... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class FireSpellItem : Collectable {
public int itemID = 1;
public List<GameObject> projectiles;
override protected void OnCollect(GameObject target){
var equipBehavior = target.GetComponent<Equip> ();
if(equipB... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using ICE_API.models;
using ICE_API.Services;
using System.Text;
using System.Security.Cryptography;
using Microsoft.Asp... |
namespace GatewayEDI.Logging.Factories
{
/// <summary> </summary>
public class TestLogFactory : NamedLogFactoryBase<TestLog>
{
/// <summary> Creates a log with the specified name. </summary>
/// <param name="name"> The name of the log. </param>
/// <returns> The log with the specifi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Method_prj
{
class Program
{
static void Main(string[] args)
{
var name = Console.ReadLine();
var mood = int.Parse(Console.ReadLine());
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class Cannon
{
#region Fields
public int dmg;
public int amount;
public Sprite gui;
#endregion
public virtual void Fire()
{
if(amount <= 0)
{
// TODO: ... |
namespace Shipwreck.TypeScriptModels.Statements
{
// 5.8
public sealed class ContinueStatement : Statement
{
public override T Accept<T>(IStatementVisitor<T> visitor)
=> visitor.VisitContinue(this);
}
} |
/*
* Created : Sony NS
* Descript : Defines a DXF line, with starting and ending point
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DxfFileProvider
{
public class Line
{
public List<GeoAPI.Geometries.ICoordinate> Location { get; set; }
... |
using Newtonsoft.Json;
namespace ARConfigurator
{
public static class Serialize
{
public static string MaterialData(MaterialData data) => JsonConvert.SerializeObject(data, Converter.Settings);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MemberRegistrationMicroservice.Business.Abstract;
using MemberRegistrationMicroservice.Entities.Concrete;
using MemberRegistrationMicroservice.MvcWebUI.Filters;
using MemberRegistrationMicroservice.MvcWebUI... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ServiceEventLogging.Events;
namespace ServiceEventLoggerTests.ServiceEventExtensions
{
class MyCustomServiceEvent : ServiceEvent
{
public MyCustomServiceEvent()
{
... |
using System;
using System.Threading;
using Autofac;
using Framework.Core.Common;
using Framework.Core.Helpers.Data;
using Tests.Data.Van;
using Tests.Pages.Van.LogIn;
using Tests.Pages.Van.Main;
using Tests.Pages.Van.Main.Common.DefaultPage;
using Tests.Pages.Van.Main.List;
using NUnit.Framework;
namespa... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace EmberKernel.Plugins
{
public interface IPluginsLoader : IScopeBuilder
{
ValueTask RunEntryComponents();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BradescoPGP.Web.Models
{
public class EventoFullCalendarViewModel
{
public int id { get; set; }
public string title { get; set; }
public string description { get; set; }
public DateTi... |
namespace FastFood.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("BANNER")]
public partial class BANNER
{
[Key]
public int... |
using System.Collections.Generic;
using System.Linq;
using Leprechaun.Adapters;
using Leprechaun.TemplateReaders;
using Rainbow.Model;
namespace Leprechaun.InputProviders.Rainbow.Adapters
{
public class RainbowItemLanguageAdapter : IItemLanguageAdapter
{
private readonly IItemLanguage _itemLanguage;
public Rai... |
namespace ApartmentApps.Api.ViewModels
{
public class MessageReceiptViewModel
{
public bool Opened { get; set; }
public string UserEmail { get; set; }
public string BuildingNumber { get; set; }
public string UnitNumber { get; set; }
public bool Error { get; set; }
... |
using Microsoft.Extensions.Options;
using MongoDB.Bson;
using MongoDB.Driver;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MessageOutbox.Outbox
{
public interface IMessageOutboxRepository
{
Task Save(IMessage message)... |
using RSS.Business.Models;
using System;
using System.Threading.Tasks;
namespace RSS.Business.Interfaces
{
public interface IAddressRepository : IRepository<Address>
{
Task<Address> GetAddressBySupplier(Guid supplierId);
}
}
|
using Common.Data;
using Common.Exceptions;
using Common.Extensions;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Runtime.Serialization;
namespace Entity
{
[DataContract]
public partial class SystemCategoryColumnsXmlPrefixes : IMappable
{
#region Con... |
// Copyright 2013-2016 Serilog Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//..
using System.Data;
using ETS.data;
using ETS.logic.Domain;
using ETS.logic;
namespace ETS.service
{
public class EmployeeService
{
public static List<Employee> GetEmpList()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
//**********************************************************************
//
// 文件名称(File Name):ICommandQueueScan.CS
// 功能描述(Description):
// 作者(Author):Am... |
using Data;
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.Me... |
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
namespace ServiceCenter.View.Storage
{
public partial class PageAddComponent : Page
{
public PageAddComponent()
{
InitializeComponent();
}
private void btnCancel_Click(object send... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.