text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
namespace Game1
{
public class TractorBeam : Item
{
public float length = 32... |
using System;
using System.Collections.Generic;
using System.Linq;
using OmniSharp.Extensions.LanguageServer.Protocol.Models;
namespace OmniSharp.Extensions.LanguageProtocol.Testing
{
public static class TestSourceHelpers
{
public static Position GetPositionAtIndex(string source, int index)
{
... |
using ConfigData;
using Microsoft.AspNetCore.Http;
using MongoDB.Bson;
using MongoDB.Driver;
using CollectWuFuWeChatSmallProcess.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace CollectWuFuWeChatSmallProc... |
namespace FileNamerCore.DataTypes
{
public class FileName
{
public string Name;
public string Path;
public FileName( string path, string name)
{
Name = name;
Path = path;
}
public string FullName { get { return GetFilePath(Path, Name);... |
// -----------------------------------------------------------------------
// <copyright file="CodegenTypeTests.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root
// for license information.
// </copyr... |
using Logic.Resource;
using NUnit.Framework;
using System;
namespace UnitTest4X {
[TestFixture]
public class ResourcesTest {
[TestCase]
public void Add_NoOverflow_CorrectResult() {
double hydrogenA = 1E10;
double hydrogenB = 1E10;
double commonMetalsA = 1E1... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreComponents.Threading.SubThreading
{
public interface IWorkItem<TID>
{
TID From
{
get;
}
}
}
|
//Class Name: Validator.cs
//Author: Kristina VanderBoog
//Purpose: This is the Decorator part of the decorator pattern it's going to set the functions needed
// for subclasses to implement.
// it is an abstract class
//Date: Aug. 14, 2020
namespace Project_3_Starter
{
//abstract decorato... |
namespace Buddy.Auth.SR
{
using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.ServiceModel;
using System.ServiceModel.Channels;
[DebuggerStepThrough, GeneratedCode("System.ServiceModel", "4.0.0.0")]
public class AClient : ClientBase<IA>, IA
{
pub... |
using Sandbox.Game.EntityComponents;
using Sandbox.ModAPI.Ingame;
using Sandbox.ModAPI.Interfaces;
using SpaceEngineers.Game.ModAPI.Ingame;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System;
using VRage.Collections;
using VRage.Game.Components;
using VRage.G... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using LuyenTriN... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Testownik.Model
{
public class Test : Entity
{
public Test()
{
TestQuestions = new List<Question>();
}
... |
using PlatformRacing3.Common.PrivateMessage;
using PlatformRacing3.Server.Game.Client;
using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json;
using PlatformRacing3.Server.Game.Communication.Messages.Outgoing;
namespace PlatformRacing3.Server.Game.Communication.Messages.Incoming;
internal class GetPm... |
namespace EkwExplorer.ConsoleApp;
internal static class ProgramInputExtensions
{
public static ProgramInput ReadFromConsole(this ProgramInput programInput)
{
var reader = new ProgramInputConsoleReader(programInput);
reader.Read();
return programInput;
}
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CarRentalWeb.MongoDb;
namespace CarRentalWeb.Controllers
{
public class BaseController : Controller
{
private CarRentalContext _carRentalContext;
public BaseController()
{
_carRentalContext = n... |
// Copyright 2018 Google Inc. 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 at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestCase.Services.Contracts
{
public interface IStringValidatorService
{
bool ValidateString(string str);
}
}
|
using CallCenter.Client.Core;
using CallCenter.Client.Storage;
public interface ICustomerRepository
{
ICustomer GetNexCustomer(IOperator @operator);
void SaveCustomer(ICustomer ustomer);
void DeleteCustomerById(int customerId);
} |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("TournamentDisplay")]
public class TournamentDisplay : MonoBehaviour
{
public TournamentDisplay(IntPtr address) : this(address, "TournamentDisplay")
{
}... |
/**Computer.cs
*
* Description: This class represents a computer player in a card game
*
* @authors Matthew Cormier, Kyle Warner, Chris Hobday
* @version 1.0
* @since 1.0 (04/15/2016)
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class PathSpline : BezierSpline
{
public List<PathSpline> StartPaths;
public List<PathSpline> EndPaths;
private void Start()
{
SortPaths();
}
private void SortPaths()
{
... |
using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections;
using Photon;
public class CartController : Photon.MonoBehaviour
{
public AnimationCurve RotationSpeedCurve;
public Rigidbody RigidB;
[SerializeField]
private float _movementSpeed = 0.0f;
public float MaxSpeed = 5.0f;
public float... |
using Bytes2you.Validation;
using Cinema.Data.Models;
using Cinema.Data.Models.Contracts;
using Cinema.Data.Services.Contracts;
using Cinema.Presenters.Contracts;
namespace Cinema.Presenters.FilmScreeningPresenters
{
public class UpdateFilmScreeningPresenter : IUpdateFilmScreeningPresenter
{
private r... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Switchex {
public partial class frmConfirmUpdate: Form {
public frmConfirm... |
namespace truckeventsXamPL.Models
{
public class Cor : BaseEntity
{
public string Descricao { get; set; } = null;
public string CorFromHex { get; set; } = null;
}
}
|
using System;
using System.Text;
namespace AbnLookup.SearchClientCSharpe {
/// <summary>
/// Callweb services using HttpGet
/// Handles four types of search (Name, Asic, Abn and postcode) /// </summary>
class HttpGetDocumentSearch : HttpGetSearch {
// -------------------------------------... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SetupManager : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
RenderSettings.ambientMode = UnityEngine.Rendering.AmbientMode.Flat;
RenderSettings.ambientEquatorCol... |
using OCP.Dashboard.Model;
namespace OCP.Dashboard
{
/**
* Interface IDashboardWidget
*
* This interface is used to create a widget: the widget must implement this
* interface and be defined in appinfo/info.xml:
*
* <dashboard>
* <widget>OCA\YourApp\YourWidget</widget>
* </dashboard>
*
* Multiple wi... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using SindikatAnkete.Entity;
namespace Sindikat.Ankete.Persistence
{
public class AnketeDbContext : DbContext
{
public Anket... |
// Copyright 2020 Google Inc. 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 at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... |
using ReactiveUI;
using System;
using System.Linq;
using System.Reactive;
using System.Reactive.Disposables;
using System.Reactive.Subjects;
namespace TableTopCrucible.Core.Models.Sources
{
public abstract class DisposableReactiveObjectBase : ReactiveObject, IDisposable
{
private readonly Subject<Uni... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PickersControllerTest.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// --------------------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace FandF.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class BattlePage : ContentPage
{
... |
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using MediatR;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.JsonRpc.Generation;
using OmniSharp.Extensions.LanguageServer.Protocol.Client;
using OmniSharp.Extensions.Langua... |
namespace Game.Entities
{
public class Player : Entity
{
public Player(
string name,
int damage, float damageMultiplier,
int armor, float armorMultiplier,
float hitChance, float hitChanceMultiplier,
float criticalHitChance, float criticalHitCh... |
using DataModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApp
{
public sealed class ProductManager
{
private List<ProductInCustomOrder> _products;
public ProductManager()
{
this._products = new List<Produ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AP_StartRoomPopulator : AP_RoomPopulator {
}
|
using System;
namespace GrandCloud.CS.Model
{
/// <summary>
/// The DeleteObjectResponse returned by CS.
/// </summary>
public class DeleteObjectResponse : CSResponse
{
}
} |
using LuaInterface;
using RO;
using SLua;
using System;
public class Lua_RO_LuaHoldObject : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int HoldObject(IntPtr l)
{
int result;
try
{
LuaHoldObject luaHoldObject = (LuaHoldObject)LuaObject.checkSelf(l);
object obj;
LuaObject.ch... |
using Dapper.Contrib.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace APIEcommerce.Models
{
[Table("Produto")]
public class Produto : BaseModel
{
[ExplicitKey]
public int IdProduto { get; set; }
public string Nom... |
using System.Collections;
using scripts.UI;
using UI;
using UnityEngine;
using UnityEngine.UI;
public class UIController : MonoBehaviour
{
public Text AlertText = null;
public PeasantModal peasantModal;
public Popup popup;
private static UIController _instance;
private IEnumerator _alertCoroutin... |
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MMSdb.dbo.Tables
{
[Table("tbl_Cars")]
public class tbl_Cars
{
[Key]
public long car_ID { get; set; }
public... |
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;
namespace Restorani
{
public partial class NewTypeTypes : Form
{
Boolean forced;
private OpenFileDialog iconDi... |
using System;
using Xunit;
namespace GymBooking.Tests
{
public class GymControllerTests
{
[Fact]
public void Test1()
{
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*
* Notes
*/
public class CameraController : MonoBehaviour
{
public float OrbitSensitivity = 5.0f;
public float OrbitStiffness = 10.0f;
public float ZoomSensitivity = 1.0f;
public float ZoomStiffness = 5.0f;
... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_LODGroup : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
LODGroup o = new LODGroup();
LuaObject.pushValue(l, true);
LuaObject.pushValue(... |
using Newtonsoft.Json;
using Secretarium.Helpers;
using System;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography;
namespace Secretarium.Test
{
public class Session
{
public enum DHSteps
{
ClientHello,
ClientChallenge,
ClientProof... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Data;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using Sys... |
using System;
using UnityEngine;
public interface IGameCharacterControllerBase
{
bool DecreaseHealth(int unit = 1);
}
public abstract class GameCharacterControllerBase : MonoBehaviour, IGameCharacterControllerBase
{
public float moveSpeed;
public CharacterStrength strength;
public GameObject bullet;
... |
using System;
using System.Collections.Generic;
using ETModel;
namespace ETHotfix
{
public static class CardHelper
{
private readonly static List<int> mCards = new List<int>();
private const int oneStarCardsCount = 30;
private const int twoStarCardsCount = 25;
private c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SmallHouseManagerBLL;
using SmallHouseManagerModel;
using System.IO;
namespace SmallHouseManagerWeb.Admin
{
public partial class Backup : System.Web.UI.Page
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
namespace FacultyV3.Web.Common
{
public class utf8Convert
{
private static utf8Convert instance;
public static utf8Convert Instance
{
... |
using ATS.Model.Context;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using test1.Interfaces.BLL;
using test1.Models;
using test1.UIUtility;
namespace test1.Controllers
{
public class TrainerController : Controller
{
private ITrainerManager _trainerManager;
public... |
using Sunny.Lib;
using System;
using System.Text;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.IO;
using Xunit;
namespace Sunny.Lib.Test
{
/// <summary>
///This is a test class for EncryptAndDecryptHelperTest and is intended
///to contain all Encryp... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using TxHumor.Common;
using TxHumor.Config;
using TxHumor.DAL;
using TxHumor.Model;
namespace TxHumor.Cache.Service.bll
{
public class srv_HumorInfo
{
public static T_H... |
namespace Game.ConsoleUI.Game.Services
{
using global::Game.ConsoleUI.Infrastructure.Helpers;
using Serilog;
public abstract class BaseServiceWithLogger<T>
{
protected ILogger Logger { get; }
protected BaseServiceWithLogger(ILogger logger)
{
ExceptionHelpers.ThrowO... |
using Calcifer.Engine.Components;
using OpenTK;
using OpenTK.Graphics.OpenGL;
namespace Calcifer.Engine.Scenegraph
{
public class TransformNode : SceneNode
{
private TransformComponent transform;
public TransformNode(SceneNode parent, TransformComponent transform) : base(parent)
{
... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UITexture : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
UITexture o = new UITexture();
LuaObject.pushValue(l, true);
LuaObject.pushValue(l, o);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Alea_Belli.Core.Objects
{
public class Brigade : AbstractObject
{
private List<Regiment> regiments = new List<Regiment>();
public int BrigadeId { get; set;... |
/*
Copyright 2018 | 2153735 ONTARIO LTD | https://Stru.ca
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 agreed to ... |
namespace IronMan.Core
{
public interface ILauncher
{
int MissileCount { get; }
void Launch();
}
} |
using System;
using System.Linq;
using Android.Content;
using Android.OS;
using Android.Views;
using Android.Widget;
using JKMAndroidApp.activity;
using JKMAndroidApp.Common;
using JKMPCL.Model;
namespace JKMAndroidApp.fragment
{
public class FragmentWhatMattersMost : Android.Support.V4.App.Fragment
{
... |
using Microsoft.AspNetCore.Mvc;
using Server.Services;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.EntityFrameworkCore;
using Server.Model;
namespace Server
{
public class ValidateUserIsPostAuthorFilterAttribute : ValidateAuth0UserFilterAttribute
{
public Valid... |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using SGDE.Domain.Supervisor;
using SGDE.Domain.ViewModels;
using System;
using System.Collections.Generic;
namespace SGDE.API.Controllers
{
[Authorize]
[Route("api/[controller]")]
[ApiController]... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class EnemyBehavior : MonoBehaviour
{
private Transform player;
//GameObject enemy_exist;
public int enemyType;
public float enemySpeed = 2f;
public float rotationSmooth = 1f;
//public Slider hpSlider;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Transactions;
using System.Data.SqlClient;
namespace UberFrba.Abm_Turno
{
public class Turno
{
public Int32 Codigo { get; set; }
public Decimal Ho... |
using System;
using System.Collections.Generic;
using System.Text;
namespace API.Omorfias.AppServices.Dto.Base
{
public class ErrorOutPutDto
{
public int Status;
public string Message;
public ErrorOutPutDto(int status, string message)
{
Status = status;
... |
using System;
using System.Collections.Generic;
namespace Infnet.Engesoft.SysBank.Model.Dominio
{
public abstract class ContaCorrente
{
public string Numero { get; set; }
public Pessoa Cliente { get; set; }
public decimal Saldo { get; set; }
public ContaCorrenteEstad... |
using System;
using System.ComponentModel.DataAnnotations;
namespace starkdev.spreadrecon.model
{
public class Loja
{
[Display(Name = "Cód.")]
public long id { get; set; }
[Display(Name = "Loja")]
[Required(ErrorMessage = "Nome da loja é obrigatório")]
public string no... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
namespace HZGZDL.YZFJKGZXFXY.DEL {
public class BaseDal<T> where T : class,new() {
Model.myEFTransFormerInfo db { get{
return DbsessionFactory.GetInstence();
} }
/// <summary>
/// 插入数据库
/// </sum... |
using System.Threading.Tasks;
using Abp.Application.Services;
using Mattelsa.Mindfulness.Sessions.Dto;
namespace Mattelsa.Mindfulness.Sessions
{
public interface ISessionAppService : IApplicationService
{
Task<GetCurrentLoginInformationsOutput> GetCurrentLoginInformations();
}
}
|
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
#endregion
namespace DotNetNuke.ComponentModel.DataAnnotations
{
public class PrimaryKeyAttribute : Attribute
{
... |
// <copyright>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
namespace Microsoft.DataStudio.Services.Data.Models.Interfaces
{
public interface IResourcePropertyRule
{
string Pattern { get; set; }
int Maxlength { get; set; }
int Max { get; set; }
i... |
namespace Papercut.Core.Rules.Implementations
{
using System;
using Papercut.Core.Helper;
[Serializable]
public class ConditionalForwardRule : ForwardRule
{
string _regexBodyMatch;
string _regexHeaderMatch;
public string RegexHeaderMatch
{
get { retur... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RulesEngine
{
/// <summary>
/// This program asks the user to type a paragraph and does some calculations based on rules.
/// </summary>
class Program
{
... |
using Babylips.Service.Models;
using Babylips.Service.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Babylips.Web.Controllers
{
public class StatsController : Controller
{
public ActionResult Index()
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
using Accounting.Entity;
using Accounting.Utility;
namespace Accounting.DataAccess
{
public class DaCurrency
{
public DaCurrency() { }
public static DataTable Get... |
using System;
using System.Collections.Generic;
using HaloSharp.Model;
namespace HaloHistory.Business.Models.Stats.Common
{
public class BasePlayer// : BasePlayerStat
{
public TimeSpan AvgLifeTimeOfPlayer { get; set; }
public bool DNF { get; set; }
public string GamerTag { get; set; }
... |
using Grimoire.Networking;
namespace ExamplePacketPlugin
{
public class JoinHandler : IXtMessageHandler
{
public string[] HandledCommands { get; } = {"tfer"};
public string MapToJoin { get; set; }
public void Handle(XtMessage message)
{
message.Arguments[7] = MapT... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hiraya.Domain.MongoDBCollections.Enumerations
{
public enum TransactionType
{
Registration = 100,
Amendment = 200,
Payment = 300
}
}
|
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using DotNetNuke.Abstractions.Portals;
using DotNetNuke.Entities.Portals;
using DotNetNuke.Entities.Tabs;
using DotNetNuke.E... |
using System;
using System.Collections.Generic;
namespace LevelEditor
{
public class LevelInfo
{
public string name;
public string sampleTrack;
public string trackName;
public int lengthInSeconds;
public int numberOfLanes;
public List<string> obstacles;
public float chanceOfPowerBox;
public string ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using BackOfficeWebsite.Models;
using TicketEngineClassLibrary;
using TicketSystem.RestApiClient;
namespace BackOfficeWebsite.Controllers
{
public class HomeC... |
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;
using UnitedPigeonAirlines.Data.Entities.PigeonAggregate;
using UnitedPigeonAirlines.Data.Entities.CartAggregate;
namespace UnitedPigeonAirlines.WebUI.Models
{
public class PigeonInCartDTO {
public PigeonViewModel Pigeon {get... |
using System.Collections.Generic;
using MediatR;
namespace SFA.DAS.Notifications.Application.Commands.SendEmail
{
public class SendEmailMediatRCommand : IRequest
{
public string TemplateId { get; set; }
public string RecipientsAddress { get; set; }
public Dictionary<string, string> Tok... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using AddressBookApp.Models;
namespace AddressBookApp.Controllers
{
/// <summary>
/// Handles all address book related actions
/// </sum... |
namespace OrderService.Client.Controllers
{
public class OrderModel
{
public int ProductId { get; set; }
public int Quantity { get; set; }
}
} |
using Microsoft.AspNetCore.Mvc;
using PlatformRacing3.Common.User;
using PlatformRacing3.Web.Extensions;
using PlatformRacing3.Web.Responses;
namespace PlatformRacing3.Web.Controllers;
[ApiController]
[Route("isloggedin")]
[Produces("text/xml")]
public class IsLoggedInController : ControllerBase
{
[HttpPost]
publi... |
using UnityEngine;
using System.Collections;
using uAdventure.Core;
namespace uAdventure.Editor
{
public class ExpectedGameIODOMWriter
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Neighbour : MonoBehaviour
{
public GameObject[] neighbouringIslands;
private ExploreIsland thisIsland;
// Start is called before the first frame update
void Start()
{
thisIsland = GetComponent<Expl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProyectoArqui.Logica
{
public class ContextoHilillo
{
//arreglo de registros 0-31
public int[] Registros = new int[32];
//proxima instruccion a ejecutar
... |
using Dock.Model.ReactiveUI.Controls;
namespace AvaloniaDemo.ViewModels.Documents
{
public class DocumentViewModel : Document
{
}
}
|
using System.Collections.Generic;
namespace IteratorPatternCore.Models
{
public class NewStudentList
{
protected List<Student> students = new List<Student>();
public void Add(Student student)
{
students.Add(student);
}
public Student GetStudentAt(int idx)
... |
//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.nopCommerce.com/Lic... |
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
// ReSharper disable once CheckNamespace
namespace MonoGame.Extended.ViewportAdapters
{
public enum BoxingMode
{
None,
Letterbox,
Pillarbox
}
public class BoxingViewportAdapter : ScalingViewpo... |
using Opbot.Core.Tasks;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Opbot.Tests.Tasks
{
public class FtpEnumeratorTests
{
public const string FtpHost = "betclick.upload.llnw.net";
public const string... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ArenaBase;
namespace ConsoleUI
{
public class InputResponse
{
public ConsoleWindowBase ResponseWindow { get; set; }
public bool Redraw { get; set; }
public string Msg { get; set; }
publi... |
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 FindAFriend.Data;
using FindAFriend.Models;
namespace FindAFriend.Controllers
{
public class Profil... |
using System.Collections.Generic;
using System.Linq;
namespace aoc2019
{
public class Day08
{
public int Solve(string input, int width, int height)
{
var layers = ParseLayers(input, width * height);
var best = int.MaxValue;
var bestLayer = new Layer(null);
... |
using KAM.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.ModelBinding;
using System.Collections;
namespace KAM.Pages
{
public partial class Details : System.Web.UI.Page
{
// Create a ser... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.