text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace mec.DataModelLayer.Models.Packs
{
public class BinParam : PageParam
{
public string OrgCode { get; set; }
public string Keyword { get; set; }
}
public class Bi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class ZombieBaseSpawner : MonoBehaviour {
[SerializeField]
protected GameData _gameData;
protected List<AIStateController> _allZombies = new List<AIStateController> ();
protected bool _zomzModeOn = false;... |
using System;
using System.Windows;
using System.Windows.Media.Imaging;
namespace SpotlightWallpaper
{
/// <summary>
/// Interaction logic for AutoWallpaper.xaml
/// </summary>
public partial class AutoWallpaper
{
public AutoWallpaper()
{
InitializeComponent();
... |
using Microsoft.EntityFrameworkCore;
using sbwilger.DAL.Models.Items;
using System;
using System.Collections.Generic;
using System.Text;
/// <summary>
/// Serana Wilger
/// 06/26/2020
/// RPGContext.cs
///
/// Database storage for the RPG
/// </summary>
namespace sbwilger.DAL
{
public class RPGC... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace SampleMVCSolution.Models
{
[CustomValidation(typeof(ExchangeRangeViewModel), "Validate")]
public class ExchangeRangeViewModel
{
private DateTime st... |
using System.Collections.Generic;
using System.Linq;
using iSukces.Code.Interfaces;
namespace iSukces.Code.Irony
{
public abstract partial class RuleBuilder : ICsExpression
{
public static string GetCode(ITypeNameResolver resolver, string delimiter, IEnumerable<ICsExpression> items)
{
... |
using System;
using Cards;
using Blackjack;
namespace Driver
{
public class Program
{
static void Main(string[] args)
{
BlackjackPlayer player;
BlackjackPlayer human = new("me");
human.Bank.Deposit(1000);
BlackjackPlayer bot = new("bot");
... |
// File Prologue
// Name: Brian Herbst
// CS 1400 Section X01
// Project: CS1400_Project2
// Date: 9/22/2012 11:45 AM
//
// I declare that the following code was written by me or provided
// by the instructor for this project. I understand that copying source
// code from any other source constitutes cheatin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerBehaviour : MonoBehaviour
{
[Header("Movement")]
public float horizontalForce;
public float verticalForce;
public bool isGrounded;
public Transform groundOrigin;
public float groundRadius;
publ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace WebApiPaymentDetails.Models
{
public class Payment
{
[Key]
[Required]
public int I... |
using System;
namespace MQTTnet.Diagnostics.Logger
{
public interface IMqttNetLogger
{
void Publish(MqttNetLogLevel logLevel, string source, string message, object[] parameters, Exception exception);
}
}
|
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Action of type `Vector3`. Inherits from `AtomAction<Vector3>`.
/// </summary>
[EditorIcon("atom-icon-purple")]
public abstract class Vector3Action : AtomAction<Vector3> { }
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace XH.APIs.WebAPI.Models.Enterprises
{
[DataContract]
public class UpdateEnterpriseRequest : CreateOrUpdateEnterpriseRequestModel
{
}
} |
using Autofac;
using EmberMemory.Components.Collector;
using System;
using System.Collections.Generic;
using System.Text;
namespace EmberMemory.Readers
{
public static class ReaderBuildHelper
{
public static CollectorBuilder ReadMemoryWith<T>
(this CollectorBuilder builder)
whe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Raven.Client;
using Raven.Client.Embedded;
using Raven.Client.Document;
namespace Integer.UnitTests
{
public abstract class InMemoryDataBaseTest : IDisposable
{
IDocumentStore dataBase;
protected IDocum... |
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.Drawing.Drawing2D;
using Microsoft.VisualBasic;
namespace fileOpener
{
public partial c... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BreakObs : MonoBehaviour {
private void OnDestroy() //Adds score when destroyed
{
Player.Get().AddScore();
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bullet : MonoBehaviour {
public float ballSpeed;
private Rigidbody2D theRB;
public GameObject bulleteffect;
// Use this for initialization
void Start () {
theRB = GetComponent<Rigidbody2D>();
}
// Update is c... |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class CodeWheel {
private int[] lookupTable;
private int offset;
// [0, 26)
public int Offset {
get => offset;
set => offset = Util.Mod(value, 26); // use real modulus to handle negative inputs
}
public CodeWheel(... |
using Game.Facade;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Web;
namespace WebApplication1
{
/// <summary>
/// MoneyChange 的摘要说明
/// </summary>
public class MoneyChange : IHttpHandler
{
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace TcpServerLibrary
{
public class ClientComunicator
{
public string ReadResponse(NetworkStream stream)
{
byte[] response = new byte[... |
using System;
namespace SampleDistributedSystem.Contracts.Messages.Core {
public class Event : Message {
public Event(Guid originatingCommandId, Guid eventId, MessageHeader header) {
this.OriginatingCommandId = originatingCommandId;
this.EventId = eventId;
this.TimeSta... |
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace WziumStars.Models
{
public class ApplicationUser : IdentityUser
{
[Display(Name = "Imię")]
public string ... |
using System.Collections.Generic;
using System.Linq;
using iSukces.Code.Interfaces;
using iSukces.Code.IO;
namespace iSukces.Code.Typescript
{
public class TsFile : ITsCodeProvider
{
public TsNamespace GetOrCreateNamespace(string namespaceName)
{
foreach (var i in Members.OfType<Ts... |
namespace P08CustomComparator
{
using System;
using System.Collections.Generic;
using System.Linq;
public static class CustomComparator
{
private class NewComparer : IComparer<int>
{
private readonly Predicate<int> valueValidator = x => x % 2 == 0;
public i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _035_BOOLEAN
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Введите координаты шахматной доски x1,y1,x2,y2 от 1 до 8");
... |
namespace Ejercicio
{
public class Habitante
{
private int cantidadDeDinero;
public int CantidadDeDinero { get => cantidadDeDinero; }
public Habitante(int cantidadDeDinero)
{
this.cantidadDeDinero = cantidadDeDinero;
}
public bool claseAlta(){
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace 成绩管理系统
{
public partial class W8 : UserControl
{
public W8()
{
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/*
* Entity
* Holds information about all connected (and registered) Players
* Allows new players to join (RPC synchronisation logic embedded), allows players to change their color (the function is called by PlayerView.cs)
*/
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FindAllCycles
{
class Node
{
public int ID { get; private set; }
public List<Edge> OutgoingEdges { get; private set; }
public Node(int nodeID)
{
ID = nodeID;
... |
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 Globales;
using Configuracion;
using Negocio;
namespace AerolineaFrba.Abm_Aeronave
{
public p... |
using System.Drawing;
using MegaMan.Common;
namespace MegaMan.Engine
{
public class BossDoorHandler : JoinHandler
{
public GameEntity Door { get; private set; }
private GameEntity otherDoor;
private bool open;
private int triggerSize;
public BossDoorHandler(GameEntity ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameLoader : MonoBehaviour {
[SerializeField]
private GameObject playerPrefab;
[SerializeField]
private GameObject aiPlayerPrefab;
[SerializeField]
private GameO... |
using AutoMapper;
using LinqKit;
using Microsoft.Extensions.Options;
using ServiceQuotes.Application.DTOs.Account;
using ServiceQuotes.Application.Exceptions;
using ServiceQuotes.Application.Filters;
using ServiceQuotes.Application.Helpers;
using ServiceQuotes.Application.Interfaces;
using ServiceQuotes.Domain;
using ... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace RRExpress.AppCommon.Models {
/// <summary>
/// ListView 分组数据模型
/// </summary>
/// <typeparam name="T"></typeparam>
public class Grouped<T> : List<T> {
public Grouped(IEnumerable<T> datas, Func<T, object> sortKey... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QTouristik.Data.Booking
{
class CustomerVoucher
{
public OfferInfo OfferInfo { get; set; } = new OfferInfo();
public TravelApplicant TravelApplicant { get; set; } = new... |
using System.Xml.Serialization;
namespace Witsml.Data
{
public class WitsmlRig
{
[XmlElement("airGap")]
public string AirGap { get; set; }
[XmlElement("commonData")]
public WitsmlCommonData CommonData { get; set; }
[XmlElement("name")]
public string Name { get;... |
using System;
using System.Collections.Generic;
namespace HungryNinja
{
class Buffet
{
public List<Food> Menu;
// Constructor
public Buffet()
{
Menu = new List<Food>()
{
new Food("Chicken Wings", 500, true, false),
new Foo... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Event of type `IntPair`. Inherits from `AtomEvent<IntPair>`.
/// </summary>
[EditorIcon("atom-icon-cherry")]
[CreateAssetMenu(menuName = "Unity Atoms/Events/IntPair", fileName = "IntPairEvent")]
public sealed class IntP... |
using LPC.ViewModels.NewCarsModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LPC.BL.NewCars.Interfaces
{
public interface IServiceNewCars
{
//Logic
IEnumerable<AllCarInAssemblyViewModel> GetAllCars();
... |
using Infrostructure.Enums;
using Infrostructure.Exeption;
namespace DomainModel.Entity.ProductParts
{
/// <summary>
/// نمایشگر
/// </summary>
public class Monitor : Device
{
public Monitor(string brand, string details, string name, string aspectRatio, Size screenSize, DisplayType... |
using System.Net;
using System.Web.Http;
using Swashbuckle.Swagger.Annotations;
using XH.Configurations;
using XH.Infrastructure.Configurations;
using XH.Infrastructure.Storage;
namespace XH.APIs.WebAPI.Controllers
{
[RoutePrefix("configurations")]
public class ConfigurationsController : ApiControllerBase
... |
using NUnit.Framework;
namespace Presents.Tests
{
[TestFixture]
public class PresentsTests
{
[TestCase(-5)]
[TestCase(0)]
[TestCase(-0.5)]
[TestCase(1.5)]
[Test]
public void PresentConstructorShouldSetValuesCorrectly(double magic)
{
var ... |
using OrchardCore.Modules.Manifest;
[assembly: Module(
Name = "Job profiles data transfer and indexing module",
Author = "National Careers Service",
Website = "https://github.com/SkillsFundingAgency/dfc-servicetaxonomy-editor",
Version = "0.0.1",
Description = "Sets up handlers to send job profile... |
namespace Alabo.UI {
public class IconFontawesome {
public const string glass = "fa fa-glass";
public const string music = "fa fa-music";
public const string search = "fa fa-search";
public const string envelope_o = "fa fa-envelope-o";
public const string heart = "fa fa-hea... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Battle_city;
namespace Battle_city_UnitTest
{
[TestFixture]
public class Bullet_UnitTest
{
[Test]
public void should_move_left()
{
Middle_tank m = new Midd... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using WebApiSupermercado.dominio.entidade;
using System.Web.Script.Serialization;
namespace Supermercado.dominio.negocio
{
public class ProdutoNegocioDesktop
{
pub... |
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.GraphSync.Extensions;
using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Contexts;
using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Interfaces.Fields;
using Newtonsoft.Json.Linq;
namespace DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Fields
{
public c... |
using Runtime = Sentry.PlatformAbstractions.Runtime;
namespace Sentry.Tests.PlatformAbstractions;
public class RuntimeTests
{
[Fact]
public void Current_Equal()
{
Assert.Equal(Runtime.Current, Runtime.Current);
}
}
|
using System;
using Prism.Mvvm;
namespace AGCompressedAir.Windows.Validation
{
public class ValidationBinder : BindableBase
{
private readonly string _message;
private readonly Func<bool> _ruleDelegate;
internal ValidationBinder(Func<bool> ruleDelegate, string message)
{
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.IO;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using Centroid.Models;
namespace Centroid.Areas.Admin.Controllers
{
[Authorize]
public class ServiceDetailsController : Con... |
using Loja.Models;
using Loja.Services;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Loja.Daos
{
public class PedidosDao
{
public async Task FazerPedido(Pedido pedido) =>
await ConsumirApi.Post("api/Pedidos", pedido);
public async Task<IEnumerable<Pedi... |
using System.Linq;
using Obacher.CardGame.Core;
namespace Obacher.CardGame.Poker.Analyzers
{
public sealed class StraightFlush : IAnalyzer
{
public int GetRank()
{
return 80;
}
public bool Analyze(Hand hand)
{
return hand.IsStraight() && hand.Is... |
namespace Tutorial.Functional
{
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Text;
internal static partial class Functions
{
internal static void PassByValue(Uri reference, int value)
{
reference = new Uri("https://flic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Groceries.Domain;
namespace Groceries.MonoDroid
{
[Activity (Label = "AddProductAdapter")]
pu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ExplosionExpandSize : MonoBehaviour {
[SerializeField]
private float m_maxSize;
private float m_currentSize;
[SerializeField]
private float m_growthSpeed;
// Use this for initialization
void Start () {
... |
using Controller.UsersAndWorkingTime;
using Model.Users;
using ProjekatZdravoKorporacija.ModelDTO;
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.Doc... |
using System;
using System.Collections.Generic;
using System.Data.Entity.Core.Objects;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZC_IT_TimeTracking.BusinessEntities;
namespace ZC_IT_TimeTracking.Services.Interfaces
{
public interface IGoalServices : IServiceBase
{
//Lis... |
using System;
using System.IO;
using System.IO.Compression;
using System.Runtime.Serialization.Json;
using System.Text;
namespace MdServices.Base
{
/// <summary>
/// Conversion metrics utilities
/// </summary>
public class Utilities
{
/// <summary>
/// Generate data size string. Wi... |
using ContactListSample.Models;
using ContactListSample.Services;
using ContactListSample.ViewModels;
using Xamarin.Forms;
namespace ContactListSample.Views
{
public partial class ContactsListPage : ContentPage
{
IContactService _contactsService;
INavigation navigation;
public C... |
using System;
using System.Configuration;
/*
The sample below was taken almost in its entirety directly from the MSDN sample for the ConfigurationElementCollection Class.
https://msdn.microsoft.com/en-us/library/system.configuration.configurationelementcollection(v=vs.110).aspx
Below is the config section... |
using AlgorithmProblems.Linked_List.Linked_List_Helper;
using AlgorithmProblems.Trees.TreeHelper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Trees
{
/// <summary>
/// Convert each level of a binary tree into a... |
using System;
using System.Net;
using System.Net.Mail;
using System.Text;
using System.Threading.Tasks;
using ApartmentApps.Api.Modules;
using Microsoft.AspNet.Identity;
using Ninject;
using SendGrid;
using SendGrid.Helpers.Mail;
namespace ApartmentApps.Api
{
public class EmailService : IIdentityMessageService, IE... |
using FluentValidation;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.SpaServices.AngularCli;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class bible : MonoBehaviour
{
/*
[Текст песни "Весёлая Песня"]
[Припев: Егор Крид & MORGENSHTERN]
Если вдруг меня не станет, бэйби (бэйби)
Так, наверно, будет даже легче (бе)
Теперь можешь тратить мои деньги... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ComponentFactory.Krypton.Toolkit;
using TY.SPIMS.Controllers;
using Microsoft.Office.Interop.Excel;
using TY.SPIMS.Client.Helper;
using TY.SPIMS.Cont... |
using System;
using System.Text;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
namespace Receive
{
class Receive
{
private static string exchangeName = "someExchange";
static void Main(string[] args)
{
var factory = new ConnectionFactory() {HostName = "localhost"};
... |
using UnityEngine;
using UnityEngine.UI;
//using UnityEngine.SceneManagement;
public class Restart : MonoBehaviour
{
float GoX,GoY;
float TeshHold = 45000;
float Time;
float LastTime;
void Update ()
{
GameObject Reciver = GameObject.Find ("OSCReciver");
GoX = Reciver.GetComponent< UniOSC.OSC_Data > ().... |
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.IO;
namespace CBNSTT
{
public partial class TextEditForm : Form
{
public Te... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using System.Threading.Tasks;
using Oracle.ManagedDataAccess.Client;
using Oracle.ManagedDataAccess.Types;
using Dapper;
namespace ChatAPI.Models.UsersModel
{
public class UsersRepository : IUsersRepository
{
readon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Console2Xx
{
static class WinHelper
{
[DllImport("kernel32.dll")]
public static extern Boolean AllocConsole();
[DllImport(... |
/******************************************************************************
* File : pLab_GeoPositionCharacter.cs
* Lisence : BSD 3-Clause License
* Copyright : Lapland University of Applied Sciences
* Authors :
* BSD 3-Clause License
*
* Copyright (c) 2019, Lapland Univers... |
namespace _1.TaskSchool
{
using System;
using System.Collections.Generic;
using System.Linq;
public class ISchool
{
string SchoolName { get; set; }
IEnumerable<Course> SetOfCourses { get; set; }
}
}
|
using System.Windows.Forms;
namespace gView.Framework.UI.Dialogs
{
internal partial class Icons : Form
{
public Icons()
{
InitializeComponent();
}
}
} |
using System.Web.Mvc;
using FluentHibernate.DAO.Models;
using FluentHibernate.DAO.Repositories;
namespace FluentHibernate.Sample.Controllers
{
public class HomeController : Controller
{
//
// GET: /Home/
private readonly IRepository _repository;
public HomeControll... |
using System;
using System.Collections.Generic;
using TraceWizard.Entities;
using TraceWizard.Analyzers;
using TraceWizard.Logging;
using TraceWizard.Disaggregation;
namespace TraceWizard.Disaggregation {
public abstract class Disaggregator : Analyzer {
public Log Log {get; set;}
protected Pa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mechanisam
{
public interface IRun
{
void RunFunctions(List<Action> listOfFunctions);
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Security.Principal;
namespace DAL.Models
{
public class Movie
{
[Key]
public Guid Id { get; set; }
[Display(Name = "Title")]
[StringLength(100)]
[Required]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Dispatcher_GUI
{
static class Program
{
/// <summary>
/// Start the program.
/// </summary>
/// <param name="args">
/// The additional ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using birdepobenzin.dataaccess;
namespace birdepobenzin.web.Helper
{
public static class CustomControls
{
public static MvcHtmlString GasPriceBox(this HtmlHelper helper, string name, string plea... |
using System;
public enum EDirection
{
DIR_EAST = 0,
DIR_SOUTH = 1,
DIR_WEST = 2,
DIR_NORTH = 3,
}
public enum EFlyState
{
FLY_READY = 0, // readay for fly
FLY_FLYING = 1, // flying
FLY_OVER = 2, // fly over
}
public en... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Collections;
namespace Filters
{
public class ColorComparer : IComparer
{
public int Compare(object x, object y)
{
int intensityX =... |
using Access.Primitives.IO;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using StackUnderflow.EF.Models;
using Access.Primitives.Extensions.ObjectExtensions;
using System.Linq;
using static StackUnderflow.Domain.Core.Contexts.Question.CreateQuestion.CreateQuestionRes... |
using Common.Log;
using Contracts.ContentOps;
using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.Threading.Tasks;
namespace Clients.ContentOps
{
public class ContentOpsAsyncUpdateProxy : DuplexClientBase<IContentOpsAsyncItemService>, IConten... |
namespace Allyn.Infrastructure.EfRepositories.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class _201799045347 : DbMigration
{
public override void Up()
{
AlterColumn("dbo.FMember", "Name", c => c.String(maxLength: 20, unicode: false));
... |
namespace UI
{
public class GenerateMapClickedSignal
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using Chess.Data.Entities;
namespace Chess.Data.Piece
{
public class Queen : ChessPiece
{
public Queen()
{
ScoreValue = 1000;
}
public override System.Collections.Generic.IEnumerable<Move> GetValidM... |
using Newtonsoft.Json;
namespace OpenApiLib.Json.Models
{
public abstract class AbstractJson
{
public override string ToString()
{
return JsonConvert.SerializeObject (this);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FXB.MyControl
{
class MyGroupBox : GroupBox
{
public MyGroupBox()
{
this.SetStyle(ControlStyles.UserPaint | ControlStyles.AllPain... |
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Input;
using System.ComponentModel;
using TraceWizard.Reporters;
using TraceWizard.Entities;
using TraceWizard.Entities.Adapters.Arff;
using TraceWizard.Entities.Adapters.Tw4Jet;
using TraceWizard.Environment;
namespace TraceW... |
using ICSharpCode.SharpZipLib.BZip2;
using ICSharpCode.SharpZipLib.GZip;
using ICSharpCode.SharpZipLib.Zip;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LauncherLib.Utilities
{
public static class Zip
{
/... |
using System;
namespace Echo
{
class Program
{
static void Main(string[] args)
{
if (args.Length == 0)
{
Random r = new Random();
string[] options = new string[] { "R", "P", "S", "L", "V" };
Console.WriteLine(options[r.Nex... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Umbraco.Core.Logging;
using Umbraco.Core.Services;
using Umbraco.Core.Composing;
using UBaseline.Core.Extensions;
using LightInject;
namespace Uintra.Core.Updater._2._0.Steps
{
public class ExtendDefaultAdminRightsStep : IM... |
using System;
using System.Collections.Generic;
using System.Text;
using jaytwo.Common.Extensions;
using System.Globalization;
using jaytwo.Common.Parse;
using System.Linq;
using System.Collections;
namespace jaytwo.Common.Futures
{
public class PolyType : IConvertible
{
public static PolyType NewOrNull(object va... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Web;
using System.Web.Mvc;
namespace WebQLKhoaHoc.Models
{
public class CustomizeAuthorize : AuthorizeAttribute
{
protected override bool AuthorizeCore(HttpContextBase httpContext)... |
using Frank.Scheduler.Client.Configuration;
using Frank.Scheduler.Client.ServiceBus.Extensions;
using Frank.Scheduler.Client.ServiceBus.Interfaces;
using Frank.Scheduler.Client.ServiceBus.Producers;
using Frank.Scheduler.Models.Messages;
using Microsoft.Azure.ServiceBus;
using Microsoft.Extensions.DependencyInjection;... |
using System;
using Newtonsoft.Json;
namespace BlazorFullCalendar.Data
{
public class CalendarDateItemQuery : JsonSerializable
{
[JsonProperty("start")]
public DateTime? Start { get; set; }
[JsonProperty("end")]
public DateTime? End { get; set; }
//public string custom... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ball : MonoBehaviour {
// Use this for initialization
void Start () {
var body = gameObject.GetComponent<Rigidbody2D>();
// 親オブジェクト canvas
var canvas = GetComponentInParent<Canvas>();
// 大きさが1になるように指定
var ... |
using System;
using List;
using Xunit;
using Xunit.Abstractions;
namespace TestProject1
{
public class UnitTest1
{
[Fact]
public void AddElementTest()
{
var ls = new List<int>();
ls.Add(4);
const int expected = 4;
var actual = ls.GetValue(... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayArea : MonoBehaviour
{
Player player;
LevelController levelController;
void Start()
{
player = FindObjectOfType<Player>();
levelController = FindObjectOfType<LevelController>();
}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.