text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MusicManager.Presentation.ASPMVC.MusicLibrary.Models
{
public class MusicManagerModel
{
}
} |
using Alabo.Framework.Basic.Relations.Domain.Entities;
using Alabo.Framework.Basic.Relations.Domain.Services;
using Alabo.Framework.Core.WebApis.Controller;
using Alabo.Framework.Core.WebApis.Filter;
using Microsoft.AspNetCore.Mvc;
namespace Alabo.Framework.Basic.Relations.Controllers {
[ApiExceptionFilter]
[... |
#region License
/*
Original file:
MIT License - Copyright (C) The Mono.Xna Team
The MIT License (MIT)
Portions Copyright © The Mono.Xna Team
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software witho... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Allyn.MvcApp.Filters
{
public class CostomExceptionFilterAttribute : HandleErrorAttribute, IExceptionFilter
{
public override void OnException(ExceptionContext filterContext)
{
... |
using UnityEngine;
using System.Collections;
/// <summary>
/// Spawn controller script mainly used for spawn the cubes at random place with random color
/// and also clears the cube if user restarts the game with cubes remained from his/her previous match
/// </summary>
public class SpawnController : MonoBehaviour {
... |
using Microsoft.Extensions.Logging;
using Example.Core.Model.RLS;
using Example.Core.Repositories.RLS;
using Example.Core.RLS;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Example.Core;
namespace Example.Web
{
public class PermissionService
{
p... |
using Alabo.Cloud.Contracts.Domain.Entities;
using Alabo.Cloud.Contracts.Domain.Services;
using Alabo.Framework.Core.WebApis.Controller;
using Alabo.Framework.Core.WebApis.Filter;
using Microsoft.AspNetCore.Mvc;
using MongoDB.Bson;
namespace Alabo.Cloud.Contracts.Controllers
{
[ApiExceptionFilter]
[Route("Api/... |
namespace FastFood.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("LICHSUTHAYDOI")]
public partial class LICHSUTHAYDOI
{
[Key]
... |
using System;
using System.Collections.Generic;
namespace Gherkinator
{
public class ScenarioContext
{
readonly Dictionary<Type, object> data = new Dictionary<Type, object>();
readonly Dictionary<Tuple<string, Type>, object> keyed = new Dictionary<Tuple<string, Type>, object>();
readon... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Wheel : MonoBehaviour
{
public bool isGround { get; private set; }
private void OnCollisionEnter2D(Collision2D other)
{
string tag = other.gameObject.tag.ToLower();
if (tag == "world")
{
isGround = true;
}
}
... |
using OrchardCore.ContentFields.Fields;
using OrchardCore.ContentManagement;
namespace DFC.ServiceTaxonomy.JobProfiles.DataTransfer.Models.ContentTypes
{
public class Skill : ContentPart
{
public TextField Description => new TextField();
}
}
|
namespace P10InfernoInfinity.Models.Gems.GemTypes
{
using System;
using Enums;
public class RubyGemType : GemType
{
private const GemEnumerationType GemType = GemEnumerationType.Ruby;
private const int DefaultStrength = 7;
private const int DefaultAgility = 2;
private c... |
using UnityEngine;
using System.Collections;
using GameFrame;
public class FollowTarget : GameBehaviour
{
public Transform m_target = null;
CharacterController m_characterCtrl = null;
BattleAttributes m_battleAttributes = null;
EnermyAnimation m_enermyAnimation = null;
public HpBar m_hpBar = null;... |
using UnityEngine;
using System.Collections;
public class InitialJumper : MonoBehaviour {
public GameObject player;
PlayerCharacter pc;
void Start () {
pc = player.GetComponent<PlayerCharacter>();
}
// Update is called once per frame
void Update () {
}
void OnMouseUp(){
if(pc.CanJump... |
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
using OpenQA.Selenium.Support.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace KeepTeamAutotests.Pages
{
public class PersonalInfoPage : Person... |
using System;
using System.Data;
using Framework;
using UnityEditor;
using UnityEngine;
namespace BattleEditor
{
public class SelectWnd: ListEditorWnd
{
public delegate void OnRowSelect(string firstColValue, int rowIndex);
public OnRowSelect rowSelect;
private ExcelEditor... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace clinic_project
{
class Doctor
{
private int idDoctor_c;
private string fname_c;
private string lanem_c;
private string phone_c;
private string ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PatronAbstract_Factory
{
public class BebidasService
{
FabricaAbstracta FabricaAbstracta;
IBebida Bebida;
public string TipoBebida;
public IBebida CrearBebida()
{
if (TipoBebida.Equ... |
using DevanshAssociate_API.DAL;
using DevanshAssociate_API.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DevanshAssociate_API.Services
{
public class CustomerDataService: ICustomerDataService
{
private CustomerDataDAL customerDataDAL... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.App.Models.Live;
using Welic.App.ViewModels;
using Welic.App.ViewModels.Base;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Welic.App.Views
{
[XamlCompilation(XamlCompilationOpti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AngularSPAWebAPI.Models.DatabaseModels.Faq
{
public class Question
{
public int QuestionID { get; set; }
public string _Question { get; set; }
public string Answer { get; set; }
public Dat... |
/*
* Grading ID: M5477
* Lab: 9
* Due Date: April 21 2019
* Course Section: 01
* Description: Handle day class operations
*/
namespace dates
{
public class Date
{
private int _month, // The month
_day, // The day
_year; // The year
private cons... |
using System;
class BitRoller
{
private const int Size = 19;
static void Main()
{
int num = int.Parse(Console.ReadLine());
int iFrBit = int.Parse(Console.ReadLine());
int iRoll = int.Parse(Console.ReadLine());
for (int i = 0; i < iRoll; i++)
{
num = Rol... |
using System;
namespace Compiler_Project_Tanks___Carl_Meyer
{
// Abstract Class AST that will allow us to build a tree structure
public abstract class AST
{
// visitor method used to traverse the nodes in the AST
public abstract Object visit(Visitor v, Object arg);
}
// =========... |
using System.Linq;
using System.Collections.Generic;
using System;
namespace StringReplicator.Core.Infrastructure
{
public enum ConnectionType
{
WindowsAuthentication = 1,
SqlServerAuthentication=2
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using UnityEngine.UI;
public class GenericFrame : FrameController
{
private Information information;
[SerializeField]
private Text titulo, detailComoChegar, detailPossoFazer, detailDisciplinas, detailRespons... |
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
namespace CODE.Framework.Wpf.Mvvm
{
/// <summary>
/// Tab Panel class that can show both current tab elements as well as view actions
/// </summ... |
using System;
using Dapper;
using NBatch.Main.Common;
using NBatch.Main.Core;
using System.Collections.Generic;
namespace NBatch.Main.Readers.SqlReader
{
public sealed class SqlDbItemReader<T> : IReader<T>
{
private readonly IDb _db;
private string _query;
private string _column;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InventoryItem : MonoBehaviour
{
public InventoryObject inventory;
public CharacterObject character;
public GameObject dropdownUI;
public bool dropdownActive = false;
public void openDropdownUI()
{
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using SisQuejasReclamos.Models;
namespace SisQuejasReclamos.Controllers
{
public class EmpleadosController : Contr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MS0001.engine
{
class Batting
{
public string Scenario { get; private set; }
public string Team { get; private set; }
public int Count { get; set; }
pub... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Delivery.WebApi.Services;
using Inventory.Data;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Delivery.WebApi.Controllers
{
[Route("api/[controller]")]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using Welic.Dominio.Models.Users.Servicos;
namespace WebApi.Provider
{
public class PermissionProvider : RoleProvider
{
private readonly IServiceUser _servico;
public PermissionPro... |
using System;
namespace SDU.ObsApi.Client.Helpers
{
public static class GradeExtensions
{
public static int? ToNumericGrade(this string text)
{
int? retVal = null;
if (!string.IsNullOrEmpty(text) && text != "-" && text != "0")
{
retVal = int... |
using System.Collections.Generic;
using System.Linq;
using Uintra.Features.Links.Models;
namespace Uintra.Features.Search.Models
{
public class SearchResultViewModel
{
public string Id { get; set; }
public string Title { get; set; }
public string Description { get; set; }
pu... |
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace CronSchedulerWorker;
public sealed class Program
{
public static async Task Main(string[] args)
{
var host = CreateHostBuilder(args).Build();... |
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace RU.Tinkoff.Acquiring.Sdk.Requests {
// Metadata.xml XPath class reference: path="/api/package[@name='ru.tinkoff.acquiring.sdk.requests']/class[@name='ChargeRequest']"
[global::Android.Runtime.Register ("ru/tinkoff/acquiring/sdk/request... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using GeoAPI.Extensions.Coverages;
using GeoAPI.Extensions.Feature;
using GeoAPI.Geometries;
using System.Windows.Forms;
using log4net;
using NetTopologySuite.Extensions.Cover... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Album : Objects {
void Awake(){
objectText = new string[,] {{
"Manners, one of my favorites",
"I wonder if Lisa would like this, maybe we could dance",}, {
"I probably should have brought more music than just th... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Ex03.GarageLogic
{
public class ValueOutOfRangeException : Exception
{
private float maxValue;
private float minValue;
public ValueOutOfRangeException(
Exception i_InnerException,
... |
using Alabo.Domains.Services;
using Alabo.Users.Entities;
namespace Alabo.Users.Services {
/// <summary>
/// 用户操作相关方法
/// </summary>
public interface IAlaboUserService : IService<User, long> {
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
using AxisPosCore;
using KartLib;
namespace KartSystem
{
/// <summary>
/// Загружает и сохраняет данные о кассирах
/// </summary>
public class CashiersPresenter : BasePresenter
{
... |
namespace com.Sconit.Utility
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.Sconit.Entity.Exception;
using System.IO;
using com.Sconit.Entity.ACC;
using com.Sconit.Entity;
using com.Sconit.CodeMaster;
using com.Sconit.Entity.ORD... |
using System;
using System.Linq;
using Fingo.Auth.DbAccess.Models.CustomData.Enums;
using Fingo.Auth.DbAccess.Models.Policies.Enums;
using Fingo.Auth.Domain.Policies.Factories.Interfaces;
using Fingo.Auth.Domain.Projects.Factories.Interfaces;
using Fingo.Auth.Domain.Users.Factories.Interfaces;
using Fingo.Auth.Managem... |
using System;
namespace GenericProgramming
{
public class Demo1
{
public static void Run()
{
Console.WriteLine("=== Non-generic Method ===");
int x = 5, y = 10;
double a = 25.5, b = 38.7;
string s1 = "Hi!", s2 = "Hello!";
... |
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace XamarinConfig.Configuration
{
public class ConfigurationManager : IConfigurationManager
{
private readonly SemaphoreSlim _semaphoreSlim;
private static IConfigurationStreamProviderFactory _factory;
... |
using gView.Framework.Data;
using gView.Framework.Data.Cursors;
using gView.Framework.Geometry;
using gView.Interoperability.GeoServices.Extensions;
using gView.Interoperability.GeoServices.Rest.Json;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace gView.Interoperability.GeoSer... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GroundCheckPlayer : MonoBehaviour
{
public GameObject dustCloud;
void OnTriggerEnter2D(Collider2D other){
if(other.CompareTag("Ground")){
Instantiate(dustCloud,transform.position,dustCloud.transform.rotation);
}
}
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ace
{
public class EngineOption
{
/// <summary>
/// フルスクリーンで起動するか?
/// </summary>
public bool IsFullScreen;
/// <summary>
/// 描画に使用するデバイス
/// </summary>
public GraphicsType ... |
using Core.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Core.Controller
{
public class SubjectController
{
Entities qz = new Entities();
public List<SubButton> loadSubjectButton()
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace App.Core.Interfaces.Extensions
{
public static class AttributeExtensions
{
public static T GetAttribute<T>(this Type t) where T : Attribute => (T) t.GetAttribute(typeof(T));
public static Attribute GetAttribute(this T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectEuler18
{
class Program
{
static void Main(string[] args)
{
//By starting at the top of the triangle below and moving to adjacent numbers on the row ... |
using Cs_IssPrefeitura.Dominio.Interfaces.Repositorios;
using Cs_IssPrefeitura.Dominio.Interfaces.Servicos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_IssPrefeitura.Dominio.Servicos
{
public class ServicoBase<TEntity> : IDisposa... |
using DxLibDLL;
namespace Amaoto
{
/// <summary>
/// Amaoto クラス。
/// </summary>
public static class Amaoto
{
/// <summary>
/// Amaoto の初期化をする。必ず Amaoto の使用前に呼び出す必要がある。
/// </summary>
public static void Init()
{
DX.SetUsePremulAlphaConvertLoad(DX.... |
using Content.Shared.Atmos;
using Content.Shared.Atmos.Piping.Unary.Components;
using Robust.Shared.Serialization;
namespace Content.Server.Atmos.Piping.Unary.Components
{
[RegisterComponent]
public sealed class GasThermoMachineComponent : Component, ISerializationHooks
{
[DataField("inlet")]
... |
using System.Windows;
using DataAccess;
using DataAccess.Model;
using DataAccess.Repository;
using KioskClient.Properties;
using KioskClient.ViewModel;
namespace KioskClient.View
{
public partial class AuditoriumMapPage
{
private readonly AuditoriumMapPageViewModel viewModel;
public Auditoriu... |
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.Threading;
using Common;
using ServerSide;
using System.Net;
namespace Client... |
using System;
using System.Linq;
using UBaseline.Core.Node;
using UBaseline.Core.RequestContext;
using Uintra.Features.Events.Models;
using Uintra.Features.Links.Models;
using Uintra.Features.News.Models;
using Uintra.Features.Social.Models;
using Uintra.Infrastructure.Extensions;
namespace Uintra.Core.Activity.Helpe... |
// ***********************************************************************
// Assembly : Huawei.SCOM.ESightPlugin.WebServer
// Author : suxiaobo
// Created : 11-21-2017
//
// Last Modified By : suxiaobo
// Last Modified On : 11-23-2017
// *****************************************************... |
using Newtonsoft.Json;
using System;
[Serializable]
public sealed class TransactionIdAndType
{
[JsonProperty]
private readonly string _transactionId;
[JsonProperty]
private readonly TransactionType _transactionType;
[JsonProperty]
private readonly decimal _manuelPrice;
[JsonProperty]
... |
using Sentry.Extensibility;
using Sentry.Internal;
using Sentry.Internal.Extensions;
namespace Sentry;
/// <summary>
/// Special HTTP message handler that can be used to propagate Sentry headers and other contextual information.
/// </summary>
public abstract class SentryMessageHandler : DelegatingHandler
{
priva... |
using P01.Vehicles.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace P01.Vehicles
{
public class Program
{
static void Main(string[] args)
{
List<Vehicle> vehilcles = new List<Vehicle>();
for (int i = 0; i <= 3; i++)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Alabo.Domains.Entities.Core;
using Alabo.Files;
using Alabo.Runtime;
using Alabo.Test.Base.Core;
namespace Alabo.Test.Generation.CodeTemplate
{
public static class BaseTemplate
{
public static IList<Type> GetMongoEntityTypes()
... |
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Anywhere2Go.DataAccess.Entity
{
public class Inspection
{
public string taskId { get; set; }
public string ispInsId { get; ... |
using System;
using System.Collections.Generic;
namespace Parliament.ProcedureEditor.Web.Models
{
public class BusinessItem
{
public int Id { get; set; }
public string TripleStoreId { get; set; }
public string WebLink { get; set; }
public int ProcedureWorkPackageId { get; set; ... |
using System;
using System.Linq;
using TY.SPIMS.Controllers.Interfaces;
using TY.SPIMS.Entities;
using TY.SPIMS.POCOs;
using TY.SPIMS.Utilities;
namespace TY.SPIMS.Controllers
{
public class PurchaseCounterController : IPurchaseCounterController
{
private readonly IUnitOfWork unitOfWork;
priva... |
using WitsmlExplorer.Api.Jobs.Common;
namespace WitsmlExplorer.Api.Jobs
{
public class DeleteWellJob
{
public WellReference WellReference { get; set; }
}
}
|
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;
using System.Data.SqlClient;
namespace GestorDeFlotasDesktop.RegistrarViaje
{
public partial class RegistrarViajes : F... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class WeaponController : MonoBehaviour {
public List<Weapon> weapons = new List<Weapon>();
protected int selected_weapon_index = 0;
public SpaceObject Owner;
public static System.Action<Weapon> WeaponChanged;
prot... |
using UnityEngine;
using UnityEngine.SceneManagement;
public class ChangeScene : MonoBehaviour
{
public void ChangScene(string nameScene)
{
SceneManager.LoadScene(nameScene);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Report_ClassLibrary
{
public class CustInfo
{
public string custtomerID { get; set; }
public string name { get; set; }
public string address { get; set; }
public string tel { get; se... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UIFrameWork
{
public enum UIType
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum PlayableCharacter
{
Knight,
VampireKing,
Dryad
}
|
using Gtk;
using Mono.Addins;
using MonoDevelop.Core;
using MonoDevelop.Ide.Extensions;
using MonoDevelop.Ide.Gui.Dialogs;
using System;
namespace MonoDevelop.NUnit
{
public class UnitTestOptionsDialog : OptionsDialog
{
private ExtensionNode configurationNode;
private UnitTest test;
private OptionsDialogSection... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PersonnelRecord
{
public partial class StartWork : Form
{
public StartWork()
... |
using RSS_news_feed_bot.bot.KeyBoard;
using RSS_news_feed_bot.data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telegram.Bot.Types;
namespace RSS_news_feed_bot.bot.actionOnQuery
{
class DeleteRss : IAnswerQuery
{
public stri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MyForum.Web.Models.Threads
{
public class ThreadsInCategoryListViewModel
{
public string Name { get; set; }
public IList<ThreadsAllViewModel> Threads { get; set; }
}
}
|
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.EntityFrameworkCore;
using WorkScheduleManagement.Data.Entities.Users;
using WorkScheduleManagement.Persistence;
namespace WorkScheduleManagement.Application.CQRS.Queries
{
public static class GetUserById
{... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerAnimationControlar : MonoBehaviour
{
Animator PlayerAnimator;
Avatar avatar;
public bool ikActivate;
[Range(0f,1f)]
public float IkWeight = 1f;
[Header("Head Look Ik Object")]
public T... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class Recipe
{
public Items itemOne;
public Items itemTwo;
public Items whatItemWillIBecome;
public bool CheckIfItemsMakeRecipe(ItemBase iItemOne, ItemBase iItemTwo)
{
if (iItemOne.... |
using Lcn.Cli.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Autofac;
using Volo.Abp.Modularity;
namespace Lcn.Cli
{
[DependsOn(typeof(AbpAutofacModule))]
[DependsOn(typeof(LcnCliCoreModule))]
public class LcnCliModu... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace DelftTools.Functions.Binding
{
public abstract class EditableBindingListRow : IEditableObject
{
//abstract or delegates?
protected abstract void OnSetColumnValue(int col... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using FiiiCoin.Wallet.Win.Common;
using FiiiCoin.Wallet.Win.Models;
using GalaSoft.MvvmLight.Messaging;
using System.Windows.Control... |
using DevEngine.Graphics;
namespace DevEngine.Screens {
public class MenuScreen : Screen {
public MenuScreen(Engine engine) : base(engine) { }
protected override void Enter() {
throw new System.NotImplementedException();
}
protected override void Exit() {
... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class MultiplayerLobby : MonoBehaviour
{
public GameObject[] m_Panels;
public GameObject[] m_PlayerSlotPanels;
public GameObject[] m_PlayerReadyCheckmark;
public void SetPlayerSlot(int _ioldSlot, int _iSlot, string _szPseudo)
... |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Ardalis.ApiEndpoints;
using AutoMapper;
using BlazorShared.Models.AppointmentType;
using FrontDesk.Core.Aggregates;
using Microsoft.AspNetCore.Mvc;
using PluralsightDdd.SharedKernel.Interfaces;
using Swashbuckle.AspNetCore.An... |
using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(FIT5032_MyFirstWebApplication.Startup))]
namespace FIT5032_MyFirstWebApplication
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureAuth(app);
}
}
}
|
using Extreme.Statistics.Distributions;
using SimulationDemo.Enums;
using System;
using System.Collections.Generic;
using System.Text;
namespace SimulationDemo.Randomness
{
public class ThreeOutcomes : DistributionBase, IDistribution
{
private int _accumulateOutcome1;
private int _accumulateOu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum battleStates //phases of battle
{
WAIT,
TAKEACTION,
PERFORMACTION,
CHECKALIVE,
WIN,
LOSE
}
public enum HeroGUI //phases of a hero selecting input
{
ACTIVATE,
WAITING,
DONE
}
public enum Game... |
#if NETFRAMEWORK
using Sentry.PlatformAbstractions;
#endif
namespace Sentry.Tests;
public class SentryOptionsExtensionsTests
{
public SentryOptions Sut { get; set; } = new();
[Fact]
public void DisableDuplicateEventDetection_RemovesDisableDuplicateEventDetection()
{
Sut.DisableDuplicateEventD... |
using System;
using System.Collections.Generic;
using Kliiko.Ui.Tests.WebPages.StaticPages;
using OpenQA.Selenium;
namespace Kliiko.Ui.Tests.WebPages.NotLoggedPages
{
class ForgotPasswordPage : WebPage
{
private static readonly By InputEmail = By.Id("email");
private static readonly By Button... |
using System.Windows;
namespace SC.WPFSamples
{
/// <summary>
/// Interaction logic for DockPanelWindow.xaml
/// 停靠面板,可以将面板的某一边指定给元素,当面板大小变化时,按钮将根据指定的边进行停靠。
/// 在DockPanel中,指定控件在容器中的停靠边,会根据定义的顺序占领边角,所有控件绝不会交叠。
/// </summary>
public partial class DockPanelWindow : Window
{
public Do... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.IO;
public partial class qydlcgk : System.Web.UI.Page
{
SqlServerDataBase sdb = new Sq... |
namespace DataAccess
{
public static class ConnectionStringBuilder
{
private const string NotTrustedTemplate = "Server={0};Database={1};User Id={2};Password={3};";
private const string TrustedTemplate = "Server={0};Database={1};Trusted_Connection=True;";
public static string Build(strin... |
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using System;
using Fbtc.Application.Interfaces;
using Fbtc.Domain.Entities;
namespace Fbtc.Api.Controllers
{
[RoutePrefix("api/DescontoAnuidadeAtc")]
public class DescontoAnuidadeAtcController : ApiController
{... |
using AutoMapper;
using Gap.NetFest.Core.Interface;
using Gap.NetFest.Core.Models;
using Gap.NetFest.DataAccess.DTO;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Gap.NetFest.DataAccess.Repositories
{
public class StoreReposito... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EBS.Domain.ValueObject;
using EBS.Infrastructure.Extension;
namespace EBS.Query.DTO
{
public class StoreInventoryHistoryQueryDto
{
/// <summary>
/// 商品SKUID
/// </su... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace com.Sconit.Web.Models.SearchModels.INV
{
public class StockTakeMasterSearchModel:SearchModelBase
{
public String StNo { get; set; }
public String Region { get; set; }
public int? Type { get; ... |
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using RepositoryAndUnitOfWork.Models;
using RepositoryAndUnitOfWork.Repositories;
namespace RepositoryAndUnitOfWork.Contracts
{
public interface IUserRepository : IRepository<User>
{
Task<IEnumerable<User>> GetAl... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MeriMudra.Models
{
[Table("Company")]
public class Company
{
[Key]
public int CompanyId { get; set; }
public string CompanyName { get; set; }
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.