text stringlengths 13 6.01M |
|---|
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Data.Models
{
public class GameEvent
{
[Key]
public int EventId { get; set; }
[ForeignKey("MatchId")]
public Game Match { get; set; }
public int Minute { get; set; ... |
using System.Collections.Generic;
using System.Threading.Tasks;
using MeterReadings.Schema;
namespace MeterReading.Logic.Facades
{
public interface IAccountFacade
{
Task<int?> AddAccount(Account account);
Task<IEnumerable<Account>> GetAccounts();
Task<Account> GetAccount(int id);
... |
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
using App1.Views;
namespace App1
{
public class App
{
public static Page GetMainPage()
{
// Demo 1
//return new MainPage();
// Demo ... |
using System;
using System.Collections.Generic;
using zoologico.Interfaces;
using zoologico.Models;
namespace zoologico.Models
{
public class Pinguim : Animais, IQuinofilo
{
public string ResisteAoFrio()
{
return this.GetType().Name+ "Consegue resistir ao frio";
}
}
} |
// 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... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
string firstNum = Console.ReadLine();
string operand = Console.ReadLine();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pathfinder
{
public static class Dice
{
private static Random rollDice = new Random();
public static int d4()
{
return rollDice.Next(... |
using System.Configuration;
using MongoDB.Driver;
using Braspag.Domain.Interfaces.Context;
namespace Braspag.Infrastructure.Context
{
public class DataContext : IDataContext
{
private readonly MongoDatabase MongoDatabase;
private MongoServer Server;
public MongoDatabase Con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.CompilerServices;
using ERP_Palmeiras_RH.Core;
using System.Data.Entity.Infrastructure;
namespace ERP_Palmeiras_RH.Models.Facade
{
public partial class RecursosHumanos
{
public IEnumerable<Penden... |
namespace Application.Stock
{
public class Stock
{
public string Symbol { get; set; }
public string CompanyName { get; set; }
public string PrimaryExchange { get; set; }
public float OpenPrice { get; set; }
public float ClosePrice { ge... |
using System.Collections.Generic;
using Asset.DataAccess.Library.AssetModelGetways.AssetEntryGetways;
using Asset.Models.Library.EntityModels.AssetsModels.AssetEntrys;
namespace Asset.BisnessLogic.Library.AssetModelManagers.AssetEntryManagers
{
public class FinanceManager : IRepositoryManager<Finance>
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ProyectoASPEmenic.Clases;
namespace ProyectoASPEmenic.Paginas.Personas
{
public partial class ActualizarJuridicos : System.Web.UI.Page
{
Conexion conexion = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WarMachines.Interfaces;
namespace WarMachines.Machines
{
class Pilot : IPilot
{
List<IMachine> machines;
private string name;
public Pilot(string n)
{
... |
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 SimpleCRUD.Models;
using SimpleCRUD.Resources;
namespace SimpleCRUD
{
[Activity(Label = "ViewAc... |
using Mis_Recetas.Controlador;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Printing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Mis_Recetas.Vista
{
public p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataObject;
using Service.Interface;
using DataAccessLayer;
namespace Service.Implements
{
public class PhongHocService:IPhongHoc
{
public int ThemPhong(PhongHoc P)
{
... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game.Mono;
[Attribute38("ChatMgrPrefabs")]
public class ChatMgrPrefabs : MonoClass
{
public ChatMgrPrefabs(IntPtr address) : this(address, "ChatMgrPrefabs")
{
}
public ChatMgrPrefabs(IntPtr ... |
public void MoveZeroes(int[] nums) {
int length = nums.Length;
for (int i = 0; i < length; i++) {
for (int j = i; j < length; j++) {
if (nums[i] == 0) { //=C8=E7=B9=FB=B5=C8=D3=DA0=A3=AC=D4=F2=B8=FA=BA=F3=C3=E6=B5=C4=D4=AA=CB=D8=BD=BB=BB=BB
int temp = nums[i];
... |
namespace KPI.Model.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class vertion13 : DbMigration
{
public override void Up()
{
AddColumn("dbo.NotificationDetails", "Action", c => c.String());
DropColumn("dbo.Uploader", "KPILeve... |
namespace PICSimulator.Model.Events
{
public class ExternalClockChangedEvent : PICEvent
{
public uint ClockID;
public bool Enabled;
public uint Frequency;
public uint Register;
public uint Bit;
public override string ToString()
{
return @"ExternalClockChangedEvent ...";
}
}
}
|
using UnityEngine;
[RequireComponent(typeof(CharacterController))]
public class FPSrot : MonoBehaviour
{
CharacterController characterController;
public float speed;
public float jumpSpeed;
public float gravity;
private Vector3 moveDirection = Vector3.zero;
//public AudioSource aud... |
using System;
using System.Collections.Generic;
using System.Linq;
using Pubquiz.Domain.ViewModels;
using Pubquiz.Persistence;
// ReSharper disable CollectionNeverUpdated.Global
// ReSharper disable UnusedAutoPropertyAccessor.Global
// ReSharper disable AutoPropertyCanBeMadeGetOnly.Global
// ReSharper disable MemberC... |
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using Arrays;
namespace MyXUnitTests
{
public class TicTacToesTest
{
[Fact]
public static void TestRun_Row()
{
string description = "XXX OO. ...";
TicTacToes.Mark[,] vMark = TicTacTo... |
using System.Collections.Generic;
using System.Linq;
using items;
using peasants;
using peasants.workers;
using UnityEngine;
namespace buildings
{
public class Mine : WorkBuilding
{
public int oreCapacity = 10000;
public float energyPerPoint = 100f;
public float oreMined = 0;
p... |
using System;
using System.Collections.Generic;
//using System.Linq;
//using System.Text;
using Buffers.Lists;
using Buffers.Memory;
using Buffers.Utilities;
namespace Buffers.Managers
{
class LIRS_ByWu : BufferManagerBase
{
private long lirSize;
private long hirSize;
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class StartGame : MonoBehaviour
{
public Button StartButton;
// Start is called before the first frame update
void Start()
{
StartButton.onClick.AddLis... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using WpfAppAbit2.ViewModels;
using WpfAppAbit2.Views;
namespace WpfAppAbit2
{
/// <summary>
/// Логика взаимодействия для App.xaml
/// </su... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Opbot.Utils
{
public class Cmd
{
public class CommandResult
{
public int ExitCode { get; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace WebStock_Net.Controllers
{
public class CadastroController : Controller
{
// GET: Cadastro
public ActionResult Cli()
{
return View();
}
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace N2.Configuration
{
public enum SearchIndexType
{
Database,
Lucene
}
}
|
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Grimoire.Botting.Commands.Map;
using Grimoire.Game;
namespace Grimoire.UI.BotForms
{
public partial class MapTab : Form
{
public static MapTab Instance { get; } = new MapTab();
private readonly Dictionary<string... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class PhotographyDisplayManager : IDisplayManager {
public const string NAME_PHOTO_A = "tPhotoA";
public const string NAME_PHOTO_B = "tPhotoB";
public Texture[] photos;
public RawImage photoContainer;
public Texture transitionTexture;
... |
using Assets.blackwhite_side_scroller.Scripts;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class SteepGroundEndTrigger : GameTrigger
{
public UnityEvent OnPlayerEnter;
// Start is called before the first frame update
protected... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LinkedList
{
class ListNode<T>
{
public T Data { get; set; }
public ListNode<T> Next { get; set; }
}
}
|
// Konner Marak 113423502
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SalesTotal_Konner_Marak
{
class Program
{
static void Main(string[] args)
{
const double taxRate = 0.085;
Console.W... |
using SharpILMixins.Annotations;
namespace SharpILMixins.Processor.Workspace.Processor.Actions
{
public interface IBaseMixinActionProcessor
{
public MixinWorkspace Workspace { get; set; }
void ProcessAction(MixinAction action, BaseMixinAttribute attribute);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace apiInovaPP.Models
{
public class Empresa
{
public int id { get; set; }
public string nome { get; set; }
public string cnpj { get; set; }
public string endereco { get; set; }
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using KarzPlus.Business;
using KarzPlus.Controls;
using Telerik.Web.UI;
using KarzPlus.Base;
namespace KarzPlus.Admin
{
public partial class ManageLocation : BasePage
{
prot... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace _07.UseTimer
{
class MainProg
{
static void Main()
{
int ticks = 10;
int interval = 2000;// milliseconds
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Telerik.Web.Mvc;
using Proyek_Informatika.Models;
using System.IO;
using System.Text;
using System.Web.Script.Serialization;
namespace Proyek_Informatika.Controllers.Koordinator
{
public class NilaiCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using GalaSoft.MvvmLight;
using Grisaia.Json;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using TriggersTools.SharpUtils.Collections;
namespace Grisaia.Categories {
/// <summary>
/// A... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MyMedicine.Models.Post;
namespace MyMedicine.Context.Medicine
{
public partial class MedicineContext
{
public IEnumerable<Separation> GetAllVisitations() => Separ... |
using Xamarin.Forms;
namespace SampleTracker.Assets.Styles
{
public static class CollectionViewStyle
{
public static TCollectionView VerticalListStyle<TCollectionView>(this TCollectionView collection) where TCollectionView : CollectionView
{
collection.ItemsLayout = new LinearItems... |
// 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... |
using System;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
namespace RenderHeads.Media.AVProVideo
{
[AddComponentMenu("AVPro Video/Subtitles uGUI", 201)]
public class SubtitlesUGUI : MonoBehaviour
{
[SerializeField]
private MediaPlayer _mediaPlayer;
[SerializeField]
private Text _text... |
namespace WissAppEF.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class WissApp_v101 : DbMigration
{
public override void Up()
{
AlterColumn("dbo.Users", "E-Mail", c => c.String(nullable: false, maxLength: 200));
}
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Flyweight
{
class FlyweightFactory
{
private List<IFlyweight> flyweights = new List<IFlyweight>();
private int conteo = 0;
public int Conteo { get => conteo; set => conteo = value; }
public int Adic... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data;
namespace DAL.SYSTEM
{
public class UserDAL
{
DBUtility.DBOperator db = DBUtility.DALFactory.GetDBOperator(DBUtility.DALFactory.strConnection0);
#region 获取用户数据列表
///... |
namespace Newtonsoft.Json
{
using Newtonsoft.Json.Serialization;
using ns16;
using ns20;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Task3.cs" company="">
//
// </copyright>
// <summary>
// The task 3.
// </summary>
// ----------------------------------------------------------------------------------------... |
namespace CloneDeploy_Entities.DTOs.ImageSchemaFE
{
public class LogicalVolume
{
public bool Active { get; set; }
public string CustomSize { get; set; }
public string CustomSizeUnit { get; set; }
public bool ForceFixedSize { get; set; }
public string FsType { get; set; }... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependency... |
using System;
using System.Collections.Generic;
using System.Text;
namespace rsnug_5.Complexidade
{
class AppointmentIf
{
public readonly bool IsAllDay;
public readonly bool IsRecurrent;
public readonly bool HasConflict;
public readonly bool HasAdjactentMeeting;
public ... |
namespace Sallaries
{
using System.Collections.Generic;
internal class Employee
{
public int Id { get; set; }
public long Sallary { get; set; }
public List<Employee> Employees { get; set; }
public Employee(int id)
{
this.Id = id;
this.Emplo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Threading;
using System.Diagnostics;
using System.Timers;
namespace TestYourReflexes
{
public class ReflexesGame
{
//Game time
public... |
using BPiaoBao.AppServices.DataContracts;
using BPiaoBao.AppServices.DataContracts.SystemSetting;
using BPiaoBao.AppServices.StationContracts.StationMap;
using BPiaoBao.AppServices.StationContracts.SystemSetting;
using BPiaoBao.AppServices.StationContracts.SystemSetting.SystemMap;
using BPiaoBao.Cashbag.Domain.Service... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using TLF.Framework.Config;
using TLF.Framework.Authentication;
using TLF.Framework.Localization;
namespace TLF.Framework.B... |
using System;
using System.Collections.Generic;
using System.Text;
namespace FixMyShip.Test.Exeptions
{
public class AnswerNotFoundException : Exception
{
public string Messages = "Answer Not Found";
public AnswerNotFoundException(string message)
{
Messages = message;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Channel.Mine.IMDB.Parsers
{
public class ReleaseDateParser : Abstraction.BaseFileParser<Collections.MediaCollection>
{
public ReleaseDateParser(params String[] fileNames) : base(fileNames) { }
publ... |
using System;
using System.Collections.Generic;
namespace userDashboard.Models
{
public class Message : BaseEntity
{
public int MessageId {get;set;}
public string MessageData {get;set;}
public DateTime Date {get;set;}
public int UserId {get;set;}
public User User {ge... |
using System;
using Tsu.CLI.Commands;
using Microsoft.CodeAnalysis;
namespace Tsu.CLI.SourceGenerator.CommandManager
{
public class CommonSymbols
{
/// <summary>
/// The <see cref="CommandAttribute" /> type symbol.
/// </summary>
public INamedTypeSymbol Tsu_CLI_Commands_Command... |
using System;
using System.Windows.Forms;
using Grimoire.Networking;
namespace Grimoire.UI
{
public partial class PacketTampererForm : Form
{
public static PacketTampererForm Instance { get; } = new PacketTampererForm();
private PacketTampererForm()
{
InitializeComponent()... |
using Docker.DotNet.Models;
using MarsQA_1.Pages;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using System;
using System.Collections.Generic;
using System.Text;
using TechTalk.SpecFlow;
namespace MarsQA_1.StepDefination
{
[Binding]
public sealed class Login
{
Mars_Login _Login = new Mars_... |
using System;
using System.Windows.Input;
using System.Windows.Threading;
using Caliburn.Micro;
using Frontend.Core.Model.Interfaces;
using Action = System.Action;
namespace Frontend.Core.Commands
{
/// <summary>
/// Base class for various commands
/// </summary>
public abstract class ... |
using MooshakPP.Models.Entities;
namespace MooshakPP.Models.ViewModels
{
public class DescriptionViewModel
{
public Milestone milestone { get; set; }
public IndexViewModel indexView { get; set; }
}
} |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using System.Collections;
public class EndGameScript : MonoBehaviour {
private bool playerInfoSet;
private Vector3 destination;
private Camera cam;
private GameObject player;
public float speed;
private bool moving;
private float pla... |
using CSharpFunctionalExtensions;
using EnsureThat;
using L7.Domain;
using MediatR;
namespace L7.Business
{
public class EditShoppingCartCommandHandler : RequestHandler<EditShoppingCartCommand, Result>
{
private readonly IShopingCartRepository repository;
public EditShoppingCartCommandHandler... |
using UnityEngine;
using UnityEngine.Tilemaps;
using System.Collections.Generic;
public class AttackRange : MonoBehaviour
{
[SerializeField] Tilemap _attackRange;
[SerializeField] TileBase _attackbleTile;
private GameObject[] _playerObjects;
private PlayerBehaviour _playerBehave;
priva... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace NoNameTask.Models
{
public class MenyItem
{
public MenyItem()
{
MenyItemIns =new HashSet<MenyItemIn>();
}
public int Id { get; set; }
public string Name { get; s... |
using KPITV.Models;
using KPITV.Models.AccountViewModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace KPITV.Controllers
{
[Authorize]
public class AccountController : Controller
{
readonly Us... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spawner : MonoBehaviour
{
//asteroid = 0, spacecapsule = 1
public GameObject[] prefabList = new GameObject[2];
private List<GameObject> asteroidsAndCapsules = new List<GameObject>();
public static float radius =... |
/*
* Copyright 2019 Adobe
* All Rights Reserved.
*
* NOTICE: Adobe permits you to use, modify, and distribute this file in
* accordance with the terms of the Adobe license agreement accompanying
* it. If you have received this file from a source other than Adobe,
* then your use, modification, or distributio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HealthCloud.DBModel
{
/// <summary>
/// 模版参数
/// </summary>
public class TemplateInfo
{
public string templateId { get; set; }
public string templateName { get; set; }
public str... |
using System.Text;
using System;
using System.Collections.Generic;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using System.Net.Http;
using System.Drawing;
using System.Collections.ObjectModel;
using System.Xml;
using System.ComponentModel;
using System.Reflection;
namespace LinnworksAPI
{
public class ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/* Сохранить дерево каталогов и файлов
* по заданному пути в текстовый файл — с рекурсией и без. */
namespace l5p
{
class l5p4
{
public static void CatalogTree()
... |
using UnityEngine;
using System.Collections;
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Collections.Generic;
public enum FeatureType
{
None,
Motor,
Color,
Float,
Hue_Bulb,
Debug
}
[System.Serializable]
public class Fixtu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ExperienceBar : MonoBehaviour
{
public float CurrentExp { get; set; }
public float MaxExp { get; set; }
private Slider experienceBar;
public float FillSpeed = 0.2f;
private float tar... |
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Drawing;
using System.Windows.Forms;
using TQVaultAE.Domain.Contracts.Providers;
using TQVaultAE.Domain.Contracts.Services;
using TQVaultAE.Domain.Entities;
using TQVaultAE.Domain.Helpers;
using TQVaultAE.GUI.Helpers;
using TQVaultAE.GUI.Models... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Resources;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows;
using System.W... |
using System;
using DomainNotificationHelper;
using DomainNotificationHelper.Events;
using EP.CrudModalDDD.Domain.Commands.Inputs;
using EP.CrudModalDDD.Domain.Commands.Results;
using EP.CrudModalDDD.Domain.Entities;
using EP.CrudModalDDD.Domain.Interfaces;
using EP.CrudModalDDD.Domain.Interfaces.Repository;
using EP.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CakeShop.ViewModels
{
public class AboutUsViewModel
{
public List<Member> Members { get; set; }
/// <summary>
/// Hàm khởi tạo mặc định đối tượng
/// <... |
using admin.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
namespace admin.Models
{
public class Db:DbContext
{
public Db(): base("name=database") { }
public DbSet<UserLogIn> UserLogIns { get; set; }
public DbSet... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VindiniumCore.GameTypes;
namespace VindiniumCore.Bot
{
/// <summary>
/// I did it for the puns.
/// </summary>
public interface IRobot
{
Directions GetHer... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace SC601_Semana01.Views
{
public partial class Customers : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... |
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 DiabeticsHelper;
namespace DiabeticsHelper.Controllers
{
public class Insulin_DosageController : Controller
{
private Diabetes... |
using System;
using System.Collections.Generic;
namespace nguoiduado.Models
{
public class ListModel<T> where T : class
{
public Decimal TotalRecord { get; set; }
public int PageSize { get; set; }
public int PageNumber { get; set; }
public IEnumerable<T> ListDiplay { get; set; ... |
namespace SGDE.Domain.Converters
{
#region Using
using System.Collections.Generic;
using System.Linq;
using Entities;
using ViewModels;
#endregion
public class TypeClientConverter
{
public static TypeClientViewModel Convert(TypeClient typeClient)
{
if (typ... |
using System;
using Logs.Models;
namespace Logs.Factories
{
public interface INutritionFactory
{
Nutrition CreateNutrition(int calories, int protein, int carbs, int fats, double water, int fiber, int sugar, string notes,
string userId, DateTime date);
}
}
|
using System;
using System.Collections.Generic;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.Validation;
using System.Linq;
using System.Web;
namespace Project_NotesDeFrais.Models.Reposirery
{
public class TvasRepositery
{
NotesDeFraisEntities e;
public TvasRepositery()
... |
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 PhuThuyDu... |
using Contoso.Forms.Configuration.DataForm;
using Contoso.XPlatform.ViewModels.Validatables;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Contoso.XPlatform.Services
{
public interface IEntityUpdater
{
TModel ToModelObject<TModel>(ObservableCollection<... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System.Collections.Generic;
using Dnn.PersonaBar.Library.Model;
namespace Dnn.PersonaBar.Library.Controllers
{
public interface IExtensionContr... |
using Prism.Modularity;
using Prism.Regions;
using System;
using System.ComponentModel.Composition;
using Prism.Mef.Modularity;
using Infrastructure;
namespace ModuleB
{
[ModuleExport(typeof(ModuleBModule), InitializationMode = InitializationMode.WhenAvailable)]
public class ModuleBModule : IModule
{
... |
using UnityEngine;
using System.Collections;
public class Car : MonoBehaviour {
public Transform derechaR;
public Transform izquierdaR;
public float potencia = 200f;
public float anguloMaxGiro = 30f;
private float aceleracion = 0f;
private float gasto=0f;
public float consumo=0.01f;
/*
void Start()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApplication.Core.IRepository;
namespace WebApplication.Repository
{
public class UserRepository : IUserRepository
{
public string Welcome()
{
return "Hai";
}
}
}
|
using System;
using System.Collections.Generic;
using PropOhGate.Data;
using PropOhGate.Message;
using PropOhGate.Send;
using Fleck;
namespace PropOhGate.WebSockets.Send
{
public class WebSocketSendListener : SendListener
{
private WebSocketServer _server;
private readonly Dictionary<Guid, Web... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MacroWeb.Models
{
public class Comment
{
[Key]
public int CommentId {get; set;}
// one to many user
public int UserId {get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices.ComTypes;
using System.Text;
using System.Web;
using System.Web.Mvc;
using workshop4.Models;
namespace workshop4.Controllers
{
public class DemoController : Controller
{
// GET: Demo
public ... |
using DAL;
using Entidades;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BLL
{
public class RepositorioCompras : RepositorioBase<Compras>
{
internal Contexto db;
public override bool Gua... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.