text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FoscamCleanup
{
abstract class FileGrouper
{
public string Source { get; set; }
public string Destination { get; set; }
public string Name { get; private set; }... |
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace XF40Demo.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class FramedTextView : StackLayout
{
#region Border
public static BindableProperty BorderColourProperty = BindableProperty.Create(nameof(BorderColour)... |
// <copyright file="DataPayload.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 the License ... |
using Entitas;
using Entitas.CodeGeneration.Attributes;
[GameState]
[Unique]
[Event(false)]
public sealed class ScoreComponent : IComponent
{
public int value;
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BookshelfProject1.Models
{
public class Book
{
//Private fields are created
//when your are building a... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BanSupport
{
public class UIExtensionManager : MonoBehaviour
{
private static UIExtensionManager Instance;
private List<ExBase> updateDatas;
private void Awake()
{
this.gameObject.hideFlags = HideFlags.HideInHiera... |
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 Lab_2
{
public partial class Form1 : Form
{
public Form1()
... |
using System;
using System.Collections.Generic;
using Company.Interface;
namespace Company.Models
{
class Manager : Employee, IManager
{
// private IList<Employee> emplList = new List<Employee>();
public Manager(string id, string firsName, string lastName, decimal salary, Department departmen... |
/*******************************************
*
* This class should only control Modules that involves Player Air Controls
* NO CALCULATIONS SHOULD BE DONE HERE
*
*******************************************/
using DChild.Gameplay.Objects;
using DChild.Gameplay.Objects.Characters;
namespace DChild.Gameplay.Play... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Otiport.API.Data.Entities.AddressInformations;
namespace Otiport.API.Contract.Response.Common
{
public class GetDistrictsResponse : ResponseBase
{
public IEnumerable<DistrictEntity> Districts;
}
... |
using System;
namespace FunctionalProgramming.Monad.Transformer
{
public sealed class IoEither<TLeft, TRight>
{
public readonly Io<IEither<TLeft, TRight>> Out;
public IoEither(Io<IEither<TLeft, TRight>> io)
{
Out = io;
}
public IoEither(IEither<TLeft, TRi... |
namespace A4CoreBlog.Data.ViewModels
{
public class PostDetailsViewModel : PostListBasicViewModel
{
public string Description { get; set; }
}
} |
using System.Text.RegularExpressions;
namespace Hz.Infrastructure.Common
{
public static class Validate
{
/// <summary>
/// 判断输入的字符串是否是一个合法的手机号
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public static bool IsMobilePhone(string input)
... |
using System;
namespace ppedv.Planner.Model
{
public class Urlaub : Entity
{
public virtual Mitarbeiter Mitarbeiter { get; set; }
public DateTime Von { get; set; }
public DateTime Bis { get; set; }
public UrlaubsStatus Status { get; set; }
}
public enum UrlaubsStatus
... |
using Pe.Stracon.SGC.Infraestructura.CommandModel.Base;
using System;
namespace Pe.Stracon.SGC.Infraestructura.CommandModel.Contractual
{
/// <summary>
/// Clase que representa la entidad Flujo Aprobacion Participante
/// </summary>
/// <remarks>
/// Creación: GMD 20150508 <br />
/// Modific... |
using System;
using System.IO;
using System.Windows.Forms;
namespace GeneratorApp
{
public class GenerateController
{
public void CreateController(string fileName,string modelName)
{
try
{
if (File.Exists(fileName))
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BoostPadScript : MonoBehaviour {
public enum AngularVelocityMode {
None, // skip setting angular velocity
Zero, // set angular velocity to 0
TowardsFacing, // set angular velocity relative to world, but with world forw... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using ReactData.Models;
using ReactData.Repositories;
namespace ReactData.Services
{
public class UserService : IUserService
{
private readonly IRepository _userReposito... |
using System.Reflection;
using BDTest.Test;
namespace BDTest.Extensions;
internal static class BuildableTestExtensions
{
internal static MethodInfo GetTestMethod(this BuildableTest buildableTest) => buildableTest?.BdTestBase?.GetType()?.GetMethods()?.FirstOrDefault(x => x.Name == buildableTest.CallerMember);
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace MSt.Data.Entity
{
/// <summary>
/// User used to identify a authenticated user
/// </summary>
public class User
{
/// <summary>
/// ID User
/// </summary>
[Key]
public Guid Guid { get; set; }
/// <... |
using System.ComponentModel;
namespace ProgressBar_test
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : System.Windows.Window
{
public MainWindow()
{
InitializeComponent();
}
Backgroun... |
using System;
using System.Collections.Generic;
using System.Linq;
using ApartmentApps.Api;
using ApartmentApps.API.Service.Models;
using Microsoft.Owin;
using Owin;
using Microsoft.Owin.Security.OAuth;
[assembly: OwinStartup(typeof(ApartmentApps.API.Service.Startup))]
namespace ApartmentApps.API.Service
{
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entities.Helpers
{
public class HelperEnums
{
public enum DataType
{
Number = 1,
Checkbox = 2,
Time = 3,
Text = 4,
... |
using AutoMapper;
using Communicator.Core.Domain;
using Communicator.Infrastructure.Dto;
namespace Communicator.Infrastructure.Mappers
{
public static class AutoMapperConfig
{
public static IMapper RegisterMapper()
{
return new MapperConfiguration(config =>
{
... |
using System;
namespace MultTable
{
class Program
{
static void Main(string[] args)
{
int[,] multArray = new int[10, 10];
for (int row = 0; row < 10; row++)
{
for (int col = 0; col < 10; col++)
{
multArray[... |
using System;
namespace SFA.DAS.ProviderCommitments.Web.Extensions
{
public static class DateTimeExtensions
{
public static DateTime? GetFirstDayOfMonth(this DateTime? dateValue)
{
if (!dateValue.HasValue) return null;
return new DateTime(dateValue.Value.Year, dateValu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TimeSheet
{
class TestTimeSheet
{
static public void testOfTimeSheet()
{
var win = App.Current.MainWindow as MainWindow;
var ts = win.m_animator... |
namespace Mim.V3109
{
public enum SchemaNames
{
COCT_MT050012UK04,
MCAI_MT040101UK03,
MCCI_IN010000UK13,
MCCI_MT010101UK12,
MCCI_MT020101UK12,
POII_IN040101UK01,
POII_IN050101UK01,
POII_MT040101UK01,
PORX_IN020101UK05,
PORX_IN020102UK05,
PORX_IN030101UK05,
PORX_IN050101UK05,
PORX_IN060102... |
using System;
using System.Linq;
using MyLoadTest.LoadRunnerSvnAddin.Gui;
namespace MyLoadTest.LoadRunnerSvnAddin.Commands
{
public class AddCommand : SubversionCommand
{
protected override void Run(string fileName)
{
SvnGuiWrapper.Add(fileName, WatchProjects().Callback);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using needle.EditorPatching;
using Unity.Profiling;
using UnityEditor;
using UnityEngine;
namespace Needle.Demystify
{
public static class UnityDemystify
{
[InitializeOnLoadMethod]
[RuntimeInitial... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Target : MonoBehaviour
{
//object health
public float maxHealth = 5f;
public float health;
void Start()
{
health = maxHealth;
}
//When damage is taken, decrease health
publ... |
using Database;
using Microsoft.AspNetCore.Components;
using Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FitnessTrack.Pages
{
public partial class MainTracker : ComponentBase
{
[Inject]
DataReader DataReader { get; set; }
privat... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PrefabReplacer : MonoBehaviour
{
[SerializeField] private List<GameObject> prefabs = new List<GameObject> ();
public enum View { List, Grid, Details }
public View view { get; set; } = View.Details;
public Li... |
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using SQLite.CodeFirst;
using Taggart.Data.Models;
namespace Taggart.Data
{
public class TrackLibraryContext : DbContext
{
public TrackLibraryContext() : base("TrackLibraryContext")
{
... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using System.Threading;
namespace Aquamonix.Mobile.Lib.Domain
{
public interface IDetailsApiRequest
{
RequestResponseHeader Header { get; set; }
CancellationToken CancellationToken { get; set... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ModeDialog : BaseDialog {
} |
using JetBrains.Annotations;
using SpeedSlidingTrainer.Core.Model.State;
namespace SpeedSlidingTrainer.Desktop.BoardFormatting
{
public interface IBoardFormatter
{
/// <exception cref="ArgumentNullException">If <see cref="boardState"/> is <c>null</c>.</exception>
[NotNull]
string ToStr... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.OleDb;
namespace WindowsFormsApp1
{
public partial class Reg : Form
{
... |
using System;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.ComponentModel;
using System.Collections.Specialized;
using SQLite;
namespace iPadPos
{
public class Invoice : BaseModel
{
int localId;
[PrimaryKey, AutoIncrement]
publ... |
// 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 UnityEditor;
using UnityAtoms.Editor;
using UnityAtoms.SceneMgmt;
namespace UnityAtoms.SceneMgmt.Editor
{
/// <summary>
/// Variable Inspector of type `SceneField`. Inherits from `AtomVariableEditor`
/// </summary>
[CustomEditor(typeof(SceneFieldVariable))]
public sealed class SceneFieldVaria... |
using System;
using System.Collections.Generic;
namespace PizzeriaApi.Models
{
public partial class Administrator
{
public int IdAdmin { get; set; }
public string Imie { get; set; }
public string Nazwisko { get; set; }
public string Login { get; set; }
public string Has... |
using System.Threading.Tasks;
using CryptoLab.Infrastructure.Commands;
using CryptoLab.Infrastructure.Commands.User;
using CryptoLab.Infrastructure.IServices;
namespace CryptoLab.Infrastructure.Handlers.User
{
public class RegisterHandler : ICommandHandler<Register>
{
private readonly IUserService _use... |
using System;
using AutoMapper;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Sfa.Poc.Result... |
using Motherload.Factories;
using Motherload.Interfaces;
using Newtonsoft.Json;
using System.Linq;
using System.Collections.Generic;
using Motherload.Models;
using Motherload.Interfaces.Unity;
namespace Motherload.Services
{
/// <summary>
/// Classe que implementa <see cref="IInventory"/>
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EBS.Application;
using Dapper.DBContext;
using EBS.Domain.Service;
using EBS.Domain.Entity;
using EBS.Domain.ValueObject;
using EBS.Application.DTO;
using Newtonsoft.Json;
using EBS.Application.Fac... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace InstituteOfFineArts.Models
{
public class StaffSubmitList
{
public string StaffId { get; set; }
public int Point { get; set; }
}
}
|
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using static CryptoReaper.Simulation.Player.Direction;
namespace CryptoReaper.Simulation
{
class Player : GameToken
{
private readonly Crypt _crypt;
private Crypt.Coords _cryptCoords;
private Direction _f... |
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.Data.Sqlite;
using Windows.Storage;
namespace Pane
{
public static class DataAccess
{
const string DBTEMPLATE = "(\"Key\" INTEGER NOT NULL UNIQUE," +
"\"Name\" TEXT NOT NULL UNIQUE," +
... |
using System;
using System.ComponentModel;
using ApartmentApps.Data;
namespace ApartmentApps.Api.Modules
{
[Persistant]
public class MessagingConfig : PropertyModuleConfig
{
public string SendGridApiToken { get; set; }
[DisplayName("Send From Email")]
public string SendFromEmail { g... |
using System;
using Apv.AV.Services.Data.Models.FC;
using Apv.AV.Services.DTO.FC;
using Apv.AV.Services.DTO;
using System.Collections.Generic;
namespace Apv.AV.Services.FC
{
public interface IApvFCServices
{
ICollection<AppVersion> getAllAppVersions();
ApvAPIResponse<AppVersion> getAppVersion... |
using System;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Web.Http;
//実験用で作ったコントローラだけど、完全にお遊び用
namespace WebAPI_Connection_ReExam.Controllers
{
public class MikuController : ApiController
{
[ActionName("get")]
public HttpResponseMessage getString(int id) {
... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Event Reference Listener of type `DoublePair`. Inherits from `AtomEventReferenceListener<DoublePair, DoublePairEvent, DoublePairEventReference, DoublePairUnityEvent>`.
/// </summary>
[EditorIcon("atom-icon-orange")]
[AddCom... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BenefitDeduction.Employees.FamilyMembers
{
interface IEmployeeChild: IFamilyMember
{
}
}
|
using System;
using System.Diagnostics;
using System.Net.Sockets;
using System.Xml;
using pjank.BossaAPI.Fixml;
namespace pjank.BossaAPI.DemoConsole.Modules
{
class NolCustomFixml : IDemoModule
{
public char MenuKey { get { return '4'; } }
public string Description { get { return "NolClient usage, cu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace KartObjects
{
/// <summary>
/// Страны
/// </summary>
[Serializable]
public class Country:SimpleDbEntity
{
[DBIgnoreAutoGenerateParam]
[DBIgnoreReadParam]
public override st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using RWCustom;
namespace Rainbow.CreatureAddition
{
public class WolfPaw : Limb
{
public WolfPaw(GraphicsModule owner, BodyChunk connection, int num, float rad, float sfFric, float aFric) : base(o... |
using Dapper.Contrib.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IconCreator.Core.Domain.Models
{
[Table ("Gebruikers")]
public class Gebruiker
{
[Key]
public string Code { get; set; }
pub... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SpaceBookTests
{
//[TestClass]
//public class HomeControllerTest
//{
// [TestMethod]
// public void TestIndexView()
// {
// var controller = new SpaceBook.HomeController();
// var result = controller.D... |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class highScoreControls : MonoBehaviour
{
enum ViewMode { Preview, View };
ViewMode currentViewMode = ViewMode.Preview;
[Header("Visualization")]
[SerializeField] ScrollRect scrollRect;
[SerializeField] Sprite[] sp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerCamera : MonoBehaviour
{
// This is a reference to the player movement script.
private PlayerMovement player;
// This is used to keep track of the last known player position.
private Vector3 lastPlayerPos... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using AxisEq;
using AxisPosCore;
using AxisPosCore.Common;
using FastReport;
using Formatter;
using KartObjects;
using KartObjects.Entities.Documents;
namespace AxisPosCore.EnvironmentObjects
{
/// <summary... |
using CEMAPI.DAL;
using CEMAPI.Models;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace CEMAPI.Controllers
{
public class TEEmailTriggerEventsAPIController : ApiController
{
TETechuv... |
using System;
using Petanque.Model.Repository;
using Petanque.Model.Teams;
namespace Petanque.Model.Results
{
public class Result : AbstractMongoEntity
{
public Team TeamWin { get; set; }
public Team TeamLoose { get; set; }
public DateTime Date { get; set; }
public in... |
using Pe.Stracon.Politicas.Infraestructura.QueryModel.Base;
using System;
namespace Pe.Stracon.Politicas.Infraestructura.QueryModel.General
{
/// <summary>
/// Representa los datos de Plantilla Notificacion
/// </summary>
/// <remarks>
/// Creación: GMD 27032015 <br />
/// Modificación: ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Wee.Common.Contracts
{
public interface IWeeModule : IWeePackage
{
string RootMenuDefaultTitle { get; }
}
}
|
namespace Tests.Pages.Advocacy
{
using System;
using Framework.Core.Common;
using Framework.Core.Config;
using OpenQA.Selenium;
public class AddressValidation
{
private Driver driver;
private IWebElement addressLine1;
private IWebElement zip5;
... |
namespace Backpressure
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
internal class BackpressureDropOperatorFactory<T> : IObservable<T>
{
private readonly IObservable<T> _source;
private readonly int _initialCount;
... |
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Collections.Generic;
using System.Threading;
namespace csharp_client
{
class Program
{
static void Main(string[] args)
{
bool connected = CommunicationManager.instance.Init();
if ... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace Domain
{
public class Todo
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
public s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;
namespace task1_Count_Working_Days
{
public class task1_Count_Working_Days
{
public static void Main()
{
var input = Console.ReadLine();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Max_Sequence_of_Equal_Elements
{
class Program
{
static void Main(string[] args)
{
int[] arr = Console.ReadLine()
.Split(new char[] { ' ' },... |
using System;
namespace Euler_Logic.Problems {
public class Problem100 : ProblemBase {
/*
Brute Force results
4 3
21 15
120 85
697 493
4060 2871
23661 16731
137904 ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using TRPO_labe_3.Interfaces;
using TRPO_labe_3.Utilities;
namespace TRPO_labe_3.Classes.Models
{
public class FigureRandomer
{
private Random rnd;
pr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Eevee.Models
{
public class Artist
{
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int ArtistID { get; set; }... |
using SGCFT.Dominio.Entidades;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace SGCFT.Apresentacao.Models
{
public class PerguntaViewModel
{
public int Id { get; set; }
[Required(ErrorMessage = "Informe a pergunta")]
public string Texto { get; se... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AppCenter;
using Welic.App.Models.Usuario;
using Welic.App.Services.API;
using static Welic.App.Services.API.WebApi;
namespace Welic.App.Models.Sche... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RAIN_EXAM_FINAL
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
var forceData = new Dictiona... |
using Newtonsoft.Json;
using Paged;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NotNullTest
{
public class Program
{
public static void Main(string[] args)
{
//Console.WriteLine("aaa");
//DateTime? ad = nul... |
using System.CodeDom;
using InRule.Repository.RuleElements;
namespace InRuleLabs.AuthoringExtensions.GenerateSDKCode.Features.Rendering
{
public static partial class SdkCodeRenderingExtensions_SendMailActionDef
{
public static CodeObjectCreateExpression ToCodeExpression(this SendMailActionAttachmentDef... |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Kata20170921_BreakCamelCase
{
[TestClass]
public class BreakcamelCaseTests
{
[TestMethod]
public void input_abc_should_return_abc()
{
BreakCamelCaseShouldBe("abc", "abc");
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace DataAccessLayer.dbDTO
{
public class TermNetwork
{
[Key]
public string graph { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace PingPongGame
{
class PingPong
{
static int firstPlayerPadSize = 4;
static int secondPlayerPadSize = 4;
static int ballPosition... |
namespace _04._BasicQueueOperations
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Startup
{
public static void Main()
{
int[] inputParts = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int numbersToDequeue = i... |
using System.Collections.Generic;
namespace SFA.DAS.ProviderCommitments.Web.Models.Cohort
{
public class FileUploadReviewEmployerDetails
{
public string LegalEntityName { get; set; }
public string AgreementId { get; set; }
public string CohortRef { get; set; }
public List<FileU... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Question : MonoBehaviour
{
public GameObject manager;
private Answer rightAnswer;
private Answer leftAnswer;
public Text question;
public Text rightText;
public Text leftText;
... |
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace HospitalSystem.Models.Mapping
{
public class adjust_price_recordMap : EntityTypeConfiguration<adjust_price_record>
{
public adjust_price_recordMap()
{
// Primary Key
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace Infrastructure.Logging
{
public class Logger
{
public Logger()
{
}
public void Info(string message,
... |
using System;
namespace Vlc.DotNet.Core.Interops.Signatures
{
public enum EventTypes
: int
{
MediaMetaChanged = 0,
MediaSubItemAdded,
MediaDurationChanged,
MediaParsedChanged,
MediaFreed,
MediaStateChanged,
MediaSubItemTreeAdded,
MediaPlay... |
namespace MovieRating.Data.Configurations
{
using Entities;
using System.Data.Entity.ModelConfiguration;
public class EntityBaseConfiguration<T>:EntityTypeConfiguration<T> where T:class,IEntityBase
{
public EntityBaseConfiguration()
{
HasKey(e => e.ID);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BuyNSell.Models;
namespace BuyNSell.Controllers
{
public class RatingController : Controller
{
BuyNSell_DbEntities objDbEntities = new BuyNSell_DbEntities();
// GET: Rating
... |
using DAL;
using DAL.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BL
{
public interface IDeclarationService
{
void Clear();
bool IsEdit { get; }
bool CanEditDeclaration(Declaration dec);
... |
using UnityEngine;
using System.Collections;
public class RotateAnimation : MonoBehaviour {
public float rotateX = 0;
public float rotateY = 0;
public float rotateZ = 0;
public float rotateTime = 1.0f;
public float delayTime = 1.0f;
public Direction direction = Direction.To;
void Awake()
... |
using Cottle.Functions;
using EddiDataDefinitions;
using EddiGalnetMonitor;
using EddiSpeechResponder.Service;
using JetBrains.Annotations;
using System;
namespace EddiSpeechResponder.CustomFunctions
{
[UsedImplicitly]
public class GalnetNewsMarkUnread : ICustomFunction
{
public string name => "Ga... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CableMan.ViewModel;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace CableMan.View
{
public partial class PageTraCuuThueBao : TabbedPage
{
public PageTraCuuThueBao()
... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace OwnArrayList.Core
{
public class PupilList
{
private int _nextIndex;
private Pupil[] _pupils;
public int Count
{
get { return _nextIndex; }
}
public in... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Xamarin.Forms;
namespace LorikeetMApp
{
public partial class ContactPage : ContentPage
{
private Data.MemberDatabase database;
private static string databasePath = DependencyService.Get<Data.IFileHelper>().GetLocalFilePa... |
namespace ArquiteturaLimpaMVC.Dominio.Entidades
{
public abstract class Entity
{
public int Id { get; protected set; }
protected abstract void ValidarDominio();
}
} |
namespace Common
{
public static class CO_MensajesSistema
{
public static string ExcepcionConsulta = "La cantidad de queries a ejecutar es mayor a los queries restantes en el programa";
public static string CantidadTest = "La cantidad de test cases a ejecutar debe ser mayor a 0 y menor a ";
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.