text stringlengths 13 6.01M |
|---|
using ComInLan.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComInLan.Server
{
public delegate void ClientEventHandler(IClient client);
public delegate void ClientsEventHandler(List<IClient> clients);
public interface IComInLan... |
using System.Collections.Generic;
using LearningSystem.Models.BindingModels.Blog;
using LearningSystem.Models.ViewModels.Blog;
namespace LearningSystem.Services.Interfaces
{
public interface IBlogService
{
IEnumerable<ArticleVm> GetAllArticles();
void AddNewArticle(AddArticleBm bind, string userName);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebTest
{
public partial class DataVerification : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
... |
using System.Globalization;
using System.Linq;
using System.Net.Http.Formatting;
using Uintra.Core.Member.Entities;
using Uintra.Core.Member.Services;
using Umbraco.Web.Actions;
using Umbraco.Web.Models.Trees;
using Umbraco.Web.Mvc;
using Umbraco.Web.Trees;
namespace Uintra.Core.Member.Controllers
{
[Tree("member... |
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Common
{
public abstract class ScriptableSettingsBase : ScriptableObject
{
#if UNITY_EDITOR
[CustomEditor(typeof(ScriptableSettingsBase), true, isFallback = true)]
public class Editor : UnityEditor.Editor
{... |
using buildingEnergyLoss.Model;
using System.Collections.Generic;
namespace buildingEnergyLoss.Repository
{
public class MaterialsRepository : IMaterialsRepository
{
private static List<IMaterial> _defaultMaterials = new List<IMaterial>(new Material[]
{
new Material(0,"SDK", 0.... |
using Mashup.Data.Extensions;
using Mashup.Data.Model;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mashup.Data.Mapping.dbo
{
class WeatherMap : EntityTypeConfiguration<Weather>
{
... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public enum _data
{
username,
score
}
//Klasse kümmert sich um Ausgabe und Speichern des Highscores
public class HighscoreManager : Mono... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ReachColliderAI : MonoBehaviour
{
Ray AIToWallRay;
public GameObject Ball;
public GameObject Player;
public float hittingForce = 35f;
public bool inReach = false;
void OnTriggerEnter(Collider coll)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using DataAccess;
using DataAccess.Entities;
using Microsoft.AspNetCore.Identity;
using Models;
using Repositor... |
using Cs_Gerencial.Aplicacao.ServicosApp;
using Cs_Gerencial.Dominio.Entities;
using Cs_Gerencial.Dominio.Interfaces.Servicos;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Cs_Gerecial.Testes.AppTestes
{
public... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace Infrastructure.Migrations.Basket
{
public partial class removeKeys : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_CustomerBasket_Baske... |
using System;
using System.Collections;
public class CSet
{
private BitArray data;
public CSet()
{
data = new BitArray(5);
}
public void Add(int item)
{
data[item] = true;
}
public void Remove(int item)
{
data[item] = false;
}
public CSet Union(CSet aSet)
{
CSet tempSet = new CSet();
for... |
using CPClient.Data.Interfaces;
using CPClient.Domain.Entities;
using CPClient.Service.Interfaces;
using System;
using System.Collections.Generic;
namespace CPClient.Service.Services
{
public class EnderecoTipoService : IEnderecoTipoService
{
private IRepositoryWrapper _repoWrapper;
public E... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ClassLibraryIofly;
namespace GISDesign_ZY
{
/// <summary>
/// 渲染器工厂类
/// </summary>
static class RendererFactory
{
/// <summary>
/// 生成一个简单渲染器
... |
using System.Collections.Generic;
namespace DevilDaggersCore.Leaderboards.History.Completions
{
public class Completion
{
public bool Initialized { get; set; }
public Dictionary<string, CompletionEntry> CompletionEntries { get; set; } = new Dictionary<string, CompletionEntry>();
public float GetCompletionRa... |
namespace ArgumentRes.Services.interfaces
{
/// <summary>
/// Usage formatter for a type T
/// </summary>
/// <typeparam name="T">Type to display usage information for</typeparam>
public interface IUsageFormatter<T>
{
/// <summary>
/// Returns the formatted Usage string for the ... |
using Alabo.Test.Base.Attribute;
using Alabo.Test.Base.Core;
using Alabo.Test.Base.Core.Model;
using Xunit;
namespace Alabo.Test.Core.User.Domain.Services
{
public class IUserAdminServiceTests : CoreTest
{
[Theory]
[InlineData(2)]
[InlineData(1)]
[InlineData(-1)]
[TestMe... |
namespace DataLayer
{
using System;
using System.Data;
using System.Data.SqlClient;
public class ProcurementManager
{
public DataTable GetPOYearList()
{
SqlParameter[] parameterArray = new SqlParameter[0];
return clsConnectionString.returnConnection.executeS... |
using System.Collections.Generic;
namespace Algorithms.Basic
{
/*
Algorithm Time Complexity Space Complexity
Best Average Worst Worst
Mergesort Ω(n log(n)) Θ(n log(n)) O(n log(n)) O(n)
*/
public static class MergeSort
{... |
namespace AssessmentApp.Data.Models
{
using AssessmentApp.Data.Common.Models;
public class Assessment : BaseDeletableModel<string>
{
public string Name { get; set; }
public string Description { get; set; }
public string ImageUrl { get; set; }
public string ActionName { g... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text;
namespace Welic.App.Models.Menu
{
public class GroupHomeMenuItem: ObservableCollection<HomeMenuItem>, INotifyPropertyChanged
{
pr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using SbdProjekto.Models;
namespace SbdProjekto.Controllers
{
public class MagazynController : Controller
... |
using Microsoft.AspNet.Identity.EntityFramework;
using ReactMusicStore.Core.Data.Context;
using ReactMusicStore.Core.Domain.Entities.Identity;
namespace ReactMusicStore.WebApi.Framework.IdentityConfig
{
public class IdentityRoleStore : RoleStore<UserRole, int, UserAccountsUserRoles>
{
public IdentityRo... |
using ALFC_SOAP.Common;
using ALFC_SOAP.Data;
using ALFC_SOAP.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace ALFC_SOAP
{
class ReadingPlanView : ListView
{
public ReadingPlanView(bool isS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mojang.Minecraft.Protocol.Providers;
using fNbt;
namespace Mojang.Minecraft
{
public sealed class Nbt : IPackageField
{
private NbtFile _NbtFile;
public NbtCompound Root =>... |
using System.IO;
using System.Windows;
using InhaMate;
using InhaMate.Sources_Core;
namespace InhaMate
{
/// <summary>
/// App.xaml에 대한 상호 작용 논리
/// </summary>
public partial class App
{
public InhaLogin inhaLogin = InhaLogin.Instance();
private void applicationStartup(object send... |
using DAL.Entities;
using DAL.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL.Interfaces
{
public interface IUnitOfWork : IDisposable
{
IRepository<User> Users { get; }
IRepository<Message> Messages { ... |
using FeriaVirtual.Domain.SeedWork;
using FeriaVirtual.Domain.SeedWork.Query;
using Oracle.ManagedDataAccess.Client;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace FeriaVirtual.Infrastructure.Persistence.OracleContext.Queries
{
sealed class QueryManager
{
private readonly Or... |
using System;
using System.Collections.Generic;
using SQLite;
using SQLiteNetExtensions.Attributes;
namespace Tianhai.OujiangApp.Schedule.Models.Preferences{
public class TimeSchedule{
[PrimaryKey]
public int Id{get;set;}=1;
// session => [Start,End]
[TextBlob("TextBlobTable")]
public Dictionary<int,Lis... |
using Newtonsoft.Json;
namespace gView.Interoperability.GeoServices.Rest.Json.Renderers
{
public class Font
{
[JsonProperty("family")]
public string Family { get; set; }
[JsonProperty("size")]
public float Size { get; set; }
[JsonProperty("style")]
public stri... |
using System;
using System.Collections.Generic;
using System.Text;
namespace TheClickerGame.Common.ClickUpgrades.UpgradedClicker
{
public class UpgradedClicker : ClickUpgrade
{
public override string Name => "Upgraded Clicker";
public override string Description => "Mauris suscipit libero non... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL.Models
{
public class TurpialPOSDbContext: DbContext
{
public DbSet<Store> Store { get; set; }
public DbSet<Product> Product { get; set; }... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IRAP.Global;
using IRAPShared;
namespace IRAP.Entities.MES
{
/// <summary>
/// 当前正在生产的工单
/// </summary>
public class ProducingPWOFromWorkUnit
{
private Quantity quantityPWO = new Qua... |
using DamianTourBackend.Api.Helpers;
using DamianTourBackend.Application;
using DamianTourBackend.Application.Login;
using FluentValidation;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using System.Threading.Tasks;
namespace DamianTourBackend.Api.Cont... |
namespace BookCatalog.Client
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Data;
using Bussiness;
public class Startup
{
public static void Main()
{
var books = XmlImport.Impor... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;
using RPG.Saving;
namespace RPG.Cinmeatics
{
public class CinematicTrigger : MonoBehaviour, ISaveable
{
private bool alreadyPlayed = false;
private void OnTrigg... |
using System;
using System.ComponentModel;
namespace NStandard
{
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use ValueWrapper<string> instead.")]
public struct VString
{
public string String;
public VString(string str)
{
String = str;
}
... |
// Copyright © 2020 Void-Intelligence All Rights Reserved.
using Nomad.Core;
namespace Vortex.Pooler.Utility
{
public interface IPooler
{
public Matrix Pad(Matrix x, Matrix filter);
public Matrix Pool(Matrix x, Matrix filter);
public EPoolerType Type();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using tableModel;
using colModel;
namespace CreateMethod
{
public class FunctionGetListByPage
{
public string CreateFunctionGetListPage(TableModel tableModel)
{
string result = "";
if (... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Visitors.View
{
class InsertUsrCtrlVM: ObservableObject, IDataErrorInfo
{
public string Error { get { return null; } }
private string _user... |
using System;
namespace EmberKernel.Services.Statistic.DataSource.Variables
{
public class DataSourceVariableAttribute : Attribute
{
public string Name { get; set; } = null;
public string Description { get; set; } = null;
public string Id { get; set; } = null;
}
}
|
using System.Collections.Generic;
using ForumSystem.Data.Models;
using ForumSystem.Services.Mapping;
namespace ForumSystem.Web.ViewModels.Categories
{
public class PostInCategoryVewModel : IMapFrom<Post>
{
public string Title { get; set; }
public string UserUserName { get; set; }
pu... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Democlass.DTO
{
class EPAMailBox
{
}
// using System.Xml.Serialization;
// XmlSerializer serializer = new XmlSerializer(typeof(Xml));
// using (StringReader reader = new StringReader(xml))
// {
// var test = (Xml)serializ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using PoS.Models;
using System.Web.Security;
namespace PoS.Controllers
{
public class HomeController : Controller
{
private PoSContext db = new PoSContext();
//Login Page
// GET:... |
using Microsoft.AspNetCore.StaticFiles;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading.Tasks;
namespace PlatformStatusTracker.Web.Infrastracture
{
public class LetsEncryptWellKnownContentTypeProvider : IContentTypeProvider
{
... |
using LiveDemo_MVC.Data.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace LiveDemo_MVC.DataServices.Models
{
public class BookModel
{
public BookModel()
{
}
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JDWinService.Model
{
public class JD_SePriceApply_Log
{
/// <summary>
///
/// </summary>
public int ItemID { get; set; }
public int TaskID { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CarRental.API.BL.Models
{
public class CarModel
{
public Guid Id { get; set; }
public string Brand { get; set; }
public string Model { get; set; }
public int Mileage { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace V50_IDOMBackOffice.AspxArea.Booking.Models
{
public class ApplicationKeyViewModel
{
public string Id { get; set; }
public string Name { get; set; }
public string docType { get; set; }
... |
using System.Collections.Generic;
using Configy.Parsing;
namespace Leprechaun.Variables
{
public class ConfigPathVariableReplacer : ContainerDefinitionVariablesReplacer
{
private readonly string _configDirectory;
public ConfigPathVariableReplacer(string configDirectory)
{
_configDirectory = configDirector... |
using Caliburn.Micro;
using Caliburn.Micro.Xamarin.Forms;
using RRExpress.AppCommon;
using RRExpress.AppCommon.Attributes;
using RRExpress.Seller.ViewModels;
using System.Threading.Tasks;
namespace RRExpress.Seller.Settings {
[Regist(InstanceMode.Singleton, ForType = typeof(ISettingItem))]
public class Regis... |
using Mirror;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class LobbyPlayer : NetworkBehaviour
{
[Header("UI")]
[SerializeField] private GameObject lobbyUI = null;
[SerializeField] private TMP_Text[] playerNameTexts = new TMP_T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MAMA
{
public class CloseLoginViewEventArgs : EventArgs
{
public bool Loginsuccessful { get; private set; }
public CloseLoginViewEventArgs(bool loginsuccessfull)
... |
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Tools;
namespace _094
{
class Program
{
static void Main(string[] args)
{
Decorators.Benchmark(Solve, 1000000000);
}
private static long Solve(int upperLimit)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Platform : MonoBehaviour
{
private PlatformManager _platformManager;
private void OnEnable()
{
_platformManager = GameObject.FindObjectOfType<PlatformManager>();
if (_platformManager == ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace FBS.Customer.API.Controllers
{
[Route("[controller]")]
[ApiController]
public class CustomerController : ControllerBase
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CalcNumericoUtilCSharp;
namespace MetodoBisseccaoCSharp
{
class Program
{
static void Main(string[] args)
{
Calculate c = new Calculate();
c.Bissec... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using TMPro;
using Normal.Realtime;
using Michsky.UI.ModernUIPack;
public class EventCountdown : MonoBehaviour
{
private float currentTime = 0f;
public float countdownDurati... |
using GalaSoft.MvvmLight;
using MahApps.Metro.Controls;
namespace WPF.NewClientl.Model
{
public class TopicParamItem: ViewModelBase
{
private string _TopicId;
public string TopicId { get { return _TopicId; } set { Set(ref _TopicId, value); } }
private Flyout _ShowFlyout;
... |
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebsiteManagerPanel.Commands.DefinitionsInsertCommand
{
public class DefinitionInsertCommand:IRequest<int>
{
public int SiteId { get; set; }
public string Name { get; set; ... |
// <copyright file="SnapShotResponseHandler.cs" company="Firoozeh Technology LTD">
// Copyright (C) 2019 Firoozeh Technology LTD. All Rights Reserved.
//
// 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... |
using System;
namespace Zadanie_2A
{
class Program
{
//Jaka jest pesymistyczna złożoność obliczeniowa znanych algorytmów sortowania?
//Szybkie => n^2
//Scalanie => nlog n
//Wstawianie => n^2
//Wybieranie => n^2
//Bąbelkowe => n^2
static void Main(string[... |
using Xunit;
namespace RecursiveLab
{
public class FactorialTest
{
[Theory]
[InlineData(0, 1)]
[InlineData(1, 1)]
[InlineData(2, 2)]
[InlineData(3, 6)]
[InlineData(4, 24)]
[InlineData(5, 120)]
[InlineData(10, 3628800)]
public void Should_... |
using UnityEngine;
using System.Collections;
public class ChangeGravity : MonoBehaviour {
private Vector3 tempg = new Vector3(0,0,0);
// Use this for initialization
void Start () {
tempg = Physics.gravity;
}
// Update is called once per frame
void Update () {
if (Input.GetKeyDown (KeyCode.Alpha8))... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Inventory.Common;
using Inventory.Models;
using Inventory.Services;
namespace Inventory.ViewModels
{
#region OrderStatusHistoryDetailsArgs
public class OrderStatusHistoryDetailsArgs
{
static pub... |
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 Dominio.Models;
using Repositorio.Context;
namespace API.Controllers
{
[Route("api/[controller]")]
[ApiCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Deploy.Models
{
public class ContentDeploymentSettings
{
public bool ModifyingContentIfNotFoundCreateContent { get; set; }
public bool DeletingContentIfNotFoundNoMessageError { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.OleDb;
using System.Data.SqlClient;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace RestoPOS
{
public ... |
using Microsoft.OData.Edm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http.Controllers;
using System.Web.OData.Routing;
using System.Web.OData.Routing.Conventions;
namespace Northwind
{
public class Co... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Docller.Core.Models;
using Newtonsoft.Json;
namespace Docller.Models
{
public class FileMetaData
{
public string Name { get; set; }
public long Size { get; set; }
public string Id { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DSSCriterias.Logic
{
public class MtxCell<R, C, V>
{
public override string ToString()
{
return $"{Coords} {Value}: {From} - {To}";
}
publi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Control : MonoBehaviour
{
public GameObject BackgroundBır;
public GameObject BackgroundIkı;
Rigidbody2D fizikBir;
Rigidbody2D fizikIki;
float uzunluk = 0;
public float hiz = 3;
public float score... |
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Linq;
using Xamarin.Forms;
using Prism.Navigation;
using Prism.Events;
using Prism.Services;
using TestBrokenApp.Models;
using TestBrokenApp.Events;
using Prism.Commands;
using TestB... |
using System.Globalization;
using Framework.Core.Common;
using Framework.Core.Config;
using Tests.Data.Oberon;
using Tests.Pages.Oberon.Modals;
using OpenQA.Selenium;
namespace Tests.Pages.Oberon.Disbursement
{
public class DisbursementCreate : DisbursementBasePage
{
#region Page Objects
... |
using System;
namespace ArquiteturaLimpaMVC.API.Models
{
public class UsuarioToken
{
public string Token { get; set; }
public DateTime Expiracao { get; set; }
}
} |
using FailureSimulator.Core.RepairPolicy.Queues;
namespace FailureSimulator.Core.RepairPolicy.Factories
{
public class ImportantFirstRepairQueueFactory : BaseRepqairQueueFactory
{
public override IRepairQueue CreateQueue()
{
return new ImportantFirstRepairQueue();
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CRL.Product
{
public class IProduct : Product
{
}
/// <summary>
/// 产品
/// </summary>
[Attribute.Table(TableName = "Product")]
public class Product : ProductBase
{
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
using System.ComponentModel;
namespace KartSystem
{
/// <summary>
/// Строка спецификации приходной накладной по ассортименту
/// </summary>
public class InvoiceAssortSpecRecord:DocAssortSpecRecord... |
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.Threading;
namespace KnightAlgorithem
{
public partial class Form1 : Form
{
const int KMS = 100;
... |
namespace Apache.Shiro.Authz.Permission
{
public interface IPermissionResolver
{
IPermission ResolvePermission(string permissionId);
}
} |
using System;
namespace Prime_checker
{
class Program
{
static void Main(string[] args)
{
long num = long.Parse(Console.ReadLine());
bool primeOrNot = IsPrime(num);
Console.WriteLine(primeOrNot);
}
static bool IsPrime(long num)
{
... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Data.SqlClient;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using MonitoramentoBasesSql.Clients;
namespace MonitoramentoBasesSql
{
public class Worker : Backgrou... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kingdee.CAPP.Model;
using System.Data;
using Kingdee.CAPP.DAL;
/*******************************
* Created By franco
* Description: Process Procedure business access layer
*******************************/
namespace Kingdee.C... |
#if UNITY_EDITOR
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DChildDebug
{
public class HorizontalMovement : MonoBehaviour
{
public float m_speed;
private void Update()
{
if (Input.GetAxis("Horizontal") != 0)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Desideals.Models;
namespace Desideals.Pages
{
public class ViewSubscriberPage
{
public List<Subscriber> Subscribers { get; set; }
public int TotalPage { get; set; }
public List<int> Pages { get;... |
using System;
using Uintra.Core;
using Uintra.Features.Links.Models;
namespace Uintra.Features.Navigation.Models
{
public class ActivityFeedTabModel : TabModelBase
{
public Enum Type { get; set; }
public bool HasSubscribersFilter { get; set; }
public bool HasPinnedFilter { get; set; } ... |
using Cs_Gerencial.Aplicacao.Interfaces;
using Cs_Gerencial.Dominio.Entities;
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.... |
using Pe.Stracon.Politicas.Aplicacion.TransferObject.Response.General;
using Pe.Stracon.SGC.Aplicacion.TransferObject.Response.Contractual;
using Pe.Stracon.SGC.Presentacion.Core.ViewModel.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sy... |
using UnityEngine;
using System.Collections;
public class EnemyBackgroundManager : AbstractManager {
public Transform[] spawnLocations;
public Transform player;
public Transform player2;
public float intervalSeconds;
public int percentChance;
protected override IEnumerator ManageSpawn() {
for ( int i = ... |
using UnityEngine;
using System.Collections.Generic;
public class BossExplosion : MonoBehaviour
{
// base components
[HideInInspector] public Transform myTransform;
[HideInInspector] public GameObject myGameObject;
// orbs
List<GameObject> orbObjects;
// settings
public float orbRadius;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Xamarin.Forms;
namespace FuelRadar.UI
{
/// <summary>
/// Describes a page type shown in the navigation drawer
/// </summary>
public class DetailPageItem
{
/// <summary>
/// The title of this page type
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EasyThreading : MonoBehaviour {
public static EasyThreading Instance;
private Queue<Action> Tasks = new Queue<Action>();
public static void Dispatch(Action f) {
Instance.InternalDispatch(f);... |
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace AnalogDisplay
{
/// <summary>
/// Summary description for Form1.
/// </summary>
public class Form1 : System.Windows.Forms.Form
{
private System.Window... |
using HomeWork1;
using HomeWork2;
using HomeWork3;
using HomeWork4;
using System;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
Homework1 hw1 = new Homework1();
Console.WriteLine("1. Поменяйте содержимое переменных a и b местами.");
... |
using UnityEngine;
using System.Collections;
public class AnimationTest : MonoBehaviour {
void Start () {
animation.Play("Jump");
}
}
|
using Microsoft.EntityFrameworkCore.Migrations;
namespace ICE_API.Migrations
{
public partial class addedTableDurationAgeCagegory : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Age",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using TMPro;
[ExecuteInEditMode]
public class Week7 : MonoBehaviour
{
/*
* Create a function that returns the next prime number after the input.
*
* For example:
* - NextPrime(12) ➞ 13
* - NextPr... |
using System.Linq.Expressions;
namespace System.Web.Mvc.Html {
public static class Helper {
public static MvcHtmlString DescriptionFor<TModel, TValue>(this HtmlHelper<TModel> html, Expression<Func<TModel, TValue>> expression) {
return MvcHtmlString.Create(ModelMetadata.FromLambdaExpression(exp... |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Threading;
using System.Web.Services;
using System.Web.Services.Description;
using System.Web.Services.Protocols;
using System.Xml.Serialization;
namespace Microsoft.Reporting.WinForms.Internal.Soap.Reporti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.