text stringlengths 13 6.01M |
|---|
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Markup;
using System.Collections.Generic;
namespace JKW.Tasks.User.GetRoles
{
class ShowRoleGrid : Window, IComponentConnector
{
private bool _contentLoaded;
internal DataGrid grdRoles;
... |
using Project_1.DAL;
using Project_1.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.OleDb;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Project_1.BL
{
class MSAccess : ConvertDB
{
... |
using GraphQL.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TicketingSystem.Models;
namespace TicketingSystem.API.GraphQl
{
public class TicketType : ObjectGraphType<Ticket>
{
public TicketType()
{
Name = "Ticket";
... |
using System;
using System.Web;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Collections;
using System.Text;
namespace MyWeb.Module
{
sealed class MyHttpHandlerFactory : IHttpHandlerFactory
{
public static object objTypes = new object();
public static Hashtable C... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class volumenMusica : MonoBehaviour {
float musica;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update ()
{
musica = PlayerPrefs.GetFloat("musica");
GetComponent<AudioSo... |
using BPiaoBao.AppServices.Contracts.Cashbag;
using BPiaoBao.AppServices.DataContracts.Cashbag;
using BPiaoBao.Client.UIExt;
using GalaSoft.MvvmLight.Threading;
using System;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
namespace BPiaoBao.Client.Account.ViewModel
{
/// <summary>
/// 积分兑... |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace GamesInfo.API.Entities
{
public class Game
{
[BsonId]
public Ob... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
/// <summary>
/// RelayCommands - All button relay commands are setup here to allow MVVM architectural pattern to be enforced.
/// </summary>
namespace NapierBank.Commands
{
... |
using MF.ApplicationSettings.Domain;
using MF.ApplicationSettings.Persistence.SqlServer.Persistence;
using MF.ApplicationSettings.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MF.ApplicationSettings.Persistence.SqlServer.Rep... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Rewired;
public class PlayerController : FighterController {
protected override void Update()
{
base.Update();
if (canRecordInput)
{
if (!recordedAlready)
{
if (... |
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace ALM.Reclutamiento.Entidades
{
[Serializable]
public class EVacante
{
public int IdVacante { get; set; }
[Required(ErrorMessage = "Dato requerido")]
[StringLength(100)]
[Displa... |
using System;
using UnityEngine.Events;
namespace Unity_Dialogue
{
[Serializable]
// can decide which text to show and which options are triggered
public class DialogueOption
{
// Unity events triggered by clicking on buttons in UI Canvas
public string buttonText;
public UnityE... |
using System.IO;
using LearningEnglishWeb.Services.Abstractions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace LearningEnglishWeb.Controllers
{
public class AdministratorController : Controller
{
private readonly IImportVocabularyService _importVocabularyService;
p... |
using SGDE.Domain.Entities;
using SGDE.Domain.ViewModels;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace SGDE.Domain.Converters
{
public class WorkCostConverter
{
public static WorkCostViewModel Convert(WorkCost workCost)
{
if (workCost == n... |
using System;
namespace MessagingExampleApp.Interfaces
{
public interface ICommandService<T>
{
bool CreateItem(T item);
}
}
|
namespace RulesFakes
{
public class DisbursingAgent
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class buttonNav : MonoBehaviour {
public Image headerImg;
public Text titleText;
public Button attachButt;
//public Button accessButt;
public Button paintButt;
public Button exitButt;
... |
using System;
using System.Collections.Generic;
namespace human
{
// class Human
// {
// // Fields for Human
// public string Name;
// public int Strength;
// public int Intelligence;
// public int Dexterity;
// private int Health;
// // add a public "ge... |
using System.Collections.Generic;
namespace CloneDeploy_Entities.DTOs.ClientImaging
{
public class FileFolderCopySchema
{
public string Count { get; set; }
public List<FileFolderCopy> FilesAndFolders { get; set; }
}
} |
namespace Everest.Entities
{
public class AnuncioDetalleEntity
{
public int IdAnuncioDetalle { get; set; }
public int IdAnuncio { get; set; }
public int Metros2 { get; set; }
public int CantidadHabitaciones { get; set; }
public int CantidadBaños { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Kinect;
/* @Auther Somin Lee(makersm, sayyo1120@gmail.com)
* This is Skeleton event handler that can be handle about skeleton event.
* First, you can registEventListener using delegate type.
* When you regist even... |
using MKModel;
using MKViewModel;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
namespace MKView.Views
{
public class MageActionE... |
using UnityEngine;
using System.Collections;
public class Input_Script : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
MoveInputUpdate();
AttackInputUpdate();
}
void MoveInputUpdate()
{
Move_Script move... |
/*
DotNetMQ - A Complete Message Broker For .NET
Copyright (C) 2011 Halil ibrahim KALKAN
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option)... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace NUnit.Snapshot
{
public interface ISnapshotCache
{
String GetOrSaveSnapshot(String snapshot);
}
public class SnapshotCache : ISnapsh... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;
namespace Converter.UI.Helpers
{
/// <summary>
/// Helper class for various parse operations on numbers
/// </summary>
public static class NumberParserHelper
{
///... |
using Sbidu.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Sbidu.ViewModels
{
public class MyProfileViewModel
{
public List<AuctionProduct> AuctionProduct { get; set; }
public List<UserAuctionProduct> UserAuctionProducts { get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Rema1000.Data;
using Rema1000.Models;
namespace Rema1000.Services.CaategoryServices
{
public class CategorySqlService : ICategoryService
{
private readonly Rema10... |
using NUnit.Framework;
using Feilbrot.Graphics;
namespace Feilbrot.Graphics.UnitTests
{
[TestFixture]
public class ComplexRect2d_PointAtPercentShould
{
[Test]
public void PointAtPercent_ReturnProperPoint()
{
ComplexPoint2d point = new ComplexPoint2d(-4M, -4M);
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PhyloTunnel : MonoBehaviour {
public Transform _tunnel;
public AudioController_V2 aC;
public float _tunnelSpeed, _cameraDistance;
// Update is called once per frame
void Update () {
_tunnel.po... |
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 Demo_Upload_Multiple_Images.Models;
namespace Demo_Upload_Multiple_Images.Controllers
{
public class Sub_ImagesController... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CustomerAgenda.Business.Models
{
public class Customer : Entity
{
[Required]
public Guid HostelKey { get; set; }
[Required]
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TwitchLib;
using TwitchLib.Models.Client;
using TwitchLib.Events.Client;
... |
using System;
namespace MA.Common
{
public class Class1
{
}
}
|
using System;
namespace SKT.MES.Report.Model
{
[Serializable]
public class ReportInfo
{
private Int32 rTId;
private String rTName;
private String rTDescription;
private String rTContent;
private String report;
private String createBy;
private DateTim... |
using System;
using System.IO;
using MigraDocCore.DocumentObjectModel.MigraDoc.DocumentObjectModel.Shapes;
namespace BookConverter.Custom
{
class CoreImageSource : ImageSource
{
protected override IImageSource FromBinaryImpl(string name, Func<byte[]> imageSource, int? quality = 75)
{
return new CoreImageSour... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoursIngesup.Class.Interface
{
class Person : IPerson
{
private int age;
public int Age { get { return age; } set { age = value; } }
public Person(int age)
... |
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter11.Listing11_28
{
using System;
class EntityBase<T> where T : IComparable<T>
{
public virtual void Method<T>(T t)
where T : IComparable<T>
{
// ...
}
}
class Entity<T> : EntityBase<T>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BPiaoBao.AppServices.DataContracts.SystemSetting
{
public class SMSChargeSetDto
{
public int ID { get; set; }
/// <summary>
/// 商户Code
/// </summary>
public string Code { get... |
using API_Test.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Threading.Tasks;
namespace API_Test.Controllers
{
[Route("api/[cont... |
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter05.Listing05_43
{
class Employee
{
public Employee(int id)
{
Id = id;
}
// ...
public readonly int Id;
public void SetId(int newId)
{
// ERROR: read-only fields cannot be se... |
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== //
//
// Notes:
//
// ============================================================================ //
using UnityEditor;
using UnityEngine;
namespace EnhancedEditor.Editor {
/// <summary>
/// Special drawer for fields with the a... |
using JKMWindowsService.AlertJSONGenerator;
using JKMWindowsService.AlertManager;
using JKMWindowsService.AlertManager.Common;
using Moq;
using Xunit;
namespace JKMWindowsService.UnitTest
{
/// <summary>
/// Class Name : PreMoveConfirmationNotificationsTest
/// Author : Pratik Soni
/// C... |
using One_Sgp4;
using System;
using System.Collections.Generic;
namespace OneSGP4_Example
{
class Program
{
static void Main(string[] args)
{
//Parse three line element
Tle tleISS = ParserTLE.parseTle(
"1 25544U 98067A 19097.23063721 -.00000469 00000-... |
using DapperDB.CodeGen.Base;
using System;
using System.ComponentModel.DataAnnotations;
namespace DapperDB.Dal.Entities
{
public partial class temp_Transactions : BaseModel
{
/// <summary>
///
/// </summary>
[Display(Name = "")]
public Int32 ID { get; set; }
/// <summary>
///
/// </summary>
[D... |
using System;
using Reciclagem.Models;
using Reciclagem.Interfaces;
namespace Reciclagem.Models
{
public class FolhaSulfite : Materiais, IlataAzul
{
public bool Papel()
{
System.Console.WriteLine("Folha sulfite é papel, portanto pertence a lata Azul");
return true;
... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class UIManager : MonoBehaviour {
public static UIManager instance = null;
public Texture2D emptyProgressBar;
public Texture2D fullProgressBar;
private float progress = 100;
// Minimap variables
public RenderTexture ... |
// Copyright 2021 Google LLC. 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... |
namespace SharpDirectInput {
using System;
using System.Runtime.InteropServices;
/// <summary>
/// EntryPoint to the DirectInput API, classes and functions.
/// </summary>
public class DirectInput : IDisposable {
/// <summary>
/// Latest version of DirectInput.
... |
using RO;
using System;
using UnityEngine;
public class GameRoleReadyForLogin : MonoBehaviour
{
private void Start()
{
if (InputManager.Instance != null)
{
InputManager.Instance.disable = true;
}
}
private void OnDestroy()
{
if (InputManager.Instance != null)
{
InputManager.Instance.disable = fal... |
using Swiddler.Common;
using Swiddler.DataChunks;
using System;
using System.Collections.Generic;
using System.Net;
namespace Swiddler.Channels
{
/// <summary>
/// For every remote EndPoint creates a new child Session
/// </summary>
public class RemoteChildChannel : Channel
{
readonly Dict... |
using WebTeste.Models;
using System;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Net;
using System.Net.Http;
using System.Data.SqlClient;
using System.Glob... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UserInfo : MonoBehaviour
{
public int userId;
public Text txtGold;
public Text txtName;
public Image bloodBar;
public GoldPlusEffect effect;
public RectTransform flipCardTranform;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using LePapeo.Models;
using LePapeoGenNHibernate.CAD.LePapeo;
using LePapeoGenNHibernate.CEN.LePapeo;
using LePapeoGenNHibernate.EN.LePapeo;
namespace WEBLEPAPEO.Controllers
{
public class AdminControll... |
using System.Linq;
using System.Threading.Tasks;
using W3ChampionsStatisticService.PadEvents;
using W3ChampionsStatisticService.Ports;
using W3ChampionsStatisticService.ReadModelBase;
namespace W3ChampionsStatisticService.Ladder
{
public class PlayerWinrateHandler : IReadModelHandler
{
private readonl... |
using DataAccessLayer.basis;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data.Linq;
using System.IO;
using System.Linq;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.W... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RavenConsole
{
class Program
{
public static int Main(string[] args)
{
var commands = new AbstractCommand[]
{
new ReplicateCommand()
... |
using UnityEngine;
using System.Collections;
public class Sofa : MonoBehaviour {
/// <summary>
/// <c>T</c> if clue is in the sofa
/// </summary>
private bool hasClue = false;
private HUDController HUDC;
private GameObject containedClue;
private bool entered;
/// <summary>
/// Opens the cupboard to view cont... |
using MrHai.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MrHai.Core
{
public abstract partial class MrHaiService
{
public int GetMaxAttachmentID()
{
var data = AttachmentRepository.GetMod... |
using Microsoft.Dynamics365.UIAutomation.Api.UCI;
namespace Vantage.Automation.VaultUITest.Context
{
public class UIContext
{
public WebClient WebClient;
public XrmApp XrmApp;
public UIContext()
{
WebClient = null;
XrmApp = null;
}
}
}
|
using HardwareInventoryManager.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace HardwareInventoryManager.Helpers.ApplicationSettings
{
public interface IApplicationSettingsService
{
string GetEmailServiceUsername();
string GetEmailServiceK... |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... |
using UnityEngine;
public class PlayerBehaviour : MonoBehaviour
{
private Rigidbody _player;
public float Speed;
private void Start()
{
_player = GetComponent<Rigidbody>();
}
private void FixedUpdate()
{
var moveHor = Input.GetAxis("Horizontal");
var moveVert = In... |
using FluentValidation;
namespace Promelectro.Api.ViewModels.Validations
{
public class RegistrationViewModelValidator : AbstractValidator<RegistrationViewModel>
{
public RegistrationViewModelValidator()
{
RuleFor(vm => vm.Email).NotEmpty().WithMessage("поле email не может ... |
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration;
using System.ComponentModel.DataAnnotations;
using VideoSite.EF.Infrastructure;
using VideoSite.EF.Model;
namespace VideoSite.EF.DBContexts
{
public class BaseContext : DbContext, IUnitOfWork
{
public DbSet<User> Users { get { retu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SC_Controller : MonoBehaviour
{
public void Btn_SinglePlayer() { SC_Logic.Instance.Btn_SinglePlayerLogic(); }
public void Btn_Multiplayer() { SC_Logic.Instance.Btn_MultiplayerLogic(); }
public void Btn_Student... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using BusinessLogic.Common;
using BusinessLogic;
namespace MediathekClient.Forms
{
public partial class FrmMediaOverviewBase : FrmDlgBase
{
... |
using System;
using System.Linq;
using CinemaA.Data;
using CinemaA.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
/*
* Home Controller
* View model: FilmsSessions
* Functions:
* 1) Show a list of films with their active sessions for current date (by default).
* 2) Filter films and t... |
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 OOP4.Details;
using System.Threading;
using System.Reflection;
namespace OOP4
{
public class Co... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JoveZhao.Framework.Cache
{
public interface ICacheStrategy
{
void Set(string key, object value);
void Set(string key, object value, DateTime expiryTime);
object... |
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
using UnityLocalization.Data;
using UnityLocalization.Shared;
using UnityLocalization.Utility;
namespace UnityLocalization {
public class AddLocaleWindow : EditorWindow {
public static void Display(LocalizationSetti... |
namespace ManagedLibrary
{
using System.Runtime.InteropServices;
[Guid("78530175-5d2a-4403-a25d-2247a8b16a72")]
public interface IManagedComponent
{
int ManagedMethod(int s);
}
[Guid("b015d72f-a8ea-4f8e-925a-d95cc25c51f9")]
public class ManagedComponent : IManagedComponent
{
... |
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace SessieEnSlots.Models {
public class Registration
{
[Required]
[MaxLength(50)]
[DisplayName("Name")]
public string Name { get; set; }
[Required]
[MaxLength(50)]
[Displa... |
using RipplerES.CommandHandler;
namespace RipplerAccountTest.AccountAggregate
{
public class InsufficientFunds : IAggregateError<Account>
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WorkWindowFormAppliacaion
{
public class genList<var>
{
private class Node
{
public Node next;
public int partNo;
public string name... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CIS420Redux.Models.ViewModels
{
public class HomeIndexViewModel
{
public CIS420Redux.Models.Student StudentsList { get; set; }
public IEnumerable<Event> TodosList { get; set; }
}
} |
using System.Threading.Tasks;
using Meziantou.Analyzer.Rules;
using TestHelper;
using Xunit;
namespace Meziantou.Analyzer.Test.Rules;
public sealed class OptimizeLinqUsageAnalyzerDuplicateOrderByTests
{
private static ProjectBuilder CreateProjectBuilder()
{
return new ProjectBuilder()
.Wi... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace Utilities
{
public class SMSsend
{
public string sendSMS(string numbers, string strMessage)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Score_Counter : MonoBehaviour
{
static int value = 0;
public Text score;
// Update is called once per frame
void Update()
{
score.text = "Score: " + value.ToString("d4");
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Main.SimUDuck
{
public class Constant
{
public static string Fly = "I'm flying with my wings";
public static string NoFly = "I can't not fly";
public static string Quack = "Quack, quack, quack!!!";
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Metani.Models
{
public class HasilTaniJoin
{
public int IdHasilTani { get; set; }
public JenisTani jenisTani { get; set; }
public int Jumlah { get; set; }
public Lokasi lokasi { get; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using InfoPole.Core.Services;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace InfoPole.Controllers
{
[Produces("application/json")]
public class MainController : Controller
{
... |
using System;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Gvr.DispatcherProxy.Controllers
{
public class HomeController : Controller
{
ILogger _logger;
IServiceProvider _services;
public HomeController(ILoggerFactory loggerFactory, IServiceProvider services)
{
this._logg... |
namespace EqualSum
{
using System;
using System.Collections.Generic;
using System.Linq;
class EqualSumProgram
{
static void Main()
{
int[] nums = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
List<int> index = new List<int>();
for (int i = 0; i < nums.Length; i++)
{
var left... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DBStore.Models.VModels
{
public class MassageVM
{
public Massage Massage { get; set; }
}
}
|
using Microsoft.EntityFrameworkCore.Migrations;
namespace Sbidu.Migrations
{
public partial class UserAuctionDeleteAndNewAdd : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_UserAuctionProducts_... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Threading.Tasks;
using Tadu.NetCore.Api.Extensions;
using Tadu.NetCore.Data.CustomModel;
using Tadu.NetCore.Data.Services;
namespace Tadu.NetCore.Api.Controllers
{
[ApiController]
[AuthorizeExtention(Roles = "Admini... |
namespace TQVaultAE.GUI.Components
{
using System;
using System.Linq;
using System.Drawing;
using System.Windows.Forms;
using TQVaultAE.Presentation;
/// <summary>
/// ComboBox class to support scaling of the fonts.
/// </summary>
public class ScalingCheckedListBox : System.Windows.Forms.CheckedListBox, ISca... |
using WebStore.BDD.Tests.Config;
namespace WebStore.BDD.Tests.User
{
public class UserRegisterPage : UserPageBase
{
public UserRegisterPage(SeleniumHelper helper) : base(helper) { }
public void ClickRegisterLink()
{
Helper.ClickLinkText("Register");
}
publ... |
using UnityEngine;
using System.Collections;
public static class Utils {
// value ∈ [min, max)
public static float Mod(float value, float min, float max) {
float distance = max - min;
while (value < min) {
value += distance;
}
while (value >= max) {
value -= distance;
}
return value;
}
pub... |
using System;
using System.Threading.Tasks;
using Pubquiz.Domain;
using Pubquiz.Domain.Models;
using Pubquiz.Logic.Messages;
using Pubquiz.Logic.Tools;
using Pubquiz.Persistence;
using Rebus.Bus;
namespace Pubquiz.Logic.Requests
{
/// <summary>
/// Command to change the <see cref="Team"/> name.
/// </summa... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fra... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ORI_uvod
{
public class LambdaIzrazi
{
/// <summary>
/// https://www.dotnetperls.com/lambda
/// </summary>
public static void Primeri()
{
List<int> elements = new... |
using bot_backEnd.DAL.Interfaces;
using bot_backEnd.Data;
using bot_backEnd.Models.DbModels;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace bot_backEnd.DAL
{
public class InstitutionDAL... |
namespace GameCloud.Core
{
public interface INetSerializable
{
void Serialize(NetWriter writer);
void Deserialize(NetReader reader);
}
} |
using Microsoft.EntityFrameworkCore;
using Project33.Services.Models;
namespace Project33.Data
{
public class CommentContext : DbContext
{
public DbSet<Comment> Comments { get; set; }
public CommentContext(DbContextOptions<CommentContext> options)
: base(options)... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace TelesalesSchedule.Models.ViewModels
{
public class EmployeeSchedule
{
public int Id { get; set; }
public string FullName { get; set; }
public double? Hours { get; set; }
}
} |
/* Class Prologue:
* Name: Spencer Carter
* CS 1400 Section 3
*
* I declare that the following code was written by me, assisted with
* by the lovely people in the drop in lab, and/or provided by the instructior
* for this project. I understand that copying source code from any other
* source constitutes cheati... |
using ProBuilder2.Common;
using ProBuilder2.Math;
using System;
using UnityEngine;
public class RuntimeEdit : MonoBehaviour
{
private class pb_Selection
{
public pb_Object pb;
public pb_Face face;
public pb_Selection(pb_Object _pb, pb_Face _face)
{
this.pb = _pb;
this.face = _face;
}
public bool... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.