text stringlengths 13 6.01M |
|---|
using System.Collections.Generic;
using Library.Models;
namespace Library.ViewModels
{
public class BookDetailsViewModel
{
public Book Book { get; set; }
public List<Author> Authors { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Trains.ViewModel;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Trains.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class SamplePage : ContentPage
{
... |
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.Transactions;
using System.Windows.Forms;
using AccManagerKw.Common;
using DataAccess;
using DevExpress.XtraEditors;
usi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace Qwack.Utils.Exceptions
{
public class ExceptionHelper
{
[MethodImpl(MethodImplOptions.NoInlining)]
... |
using System;
namespace Task_03
{
class Program
{
delegate double delegateConvertTemperature(double input);
static void Main(string[] args)
{
delegateConvertTemperature[] converters =
{
new TemperatureConverterImp().FromCelsToFahr,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Qwack.Core.Basic
{
public enum MTMSwapType
{
None,
PayNotionalFixed,
ReceiveNotionalFixed
}
}
|
using System.Linq;
using HEnCasa.App.Dominio;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
namespace HEnCasa.App.Persistencia{
public class RepositorioEnfermera:IRepositorioEnfermera{
private readonly AppContext _appContext = new AppContext();
IEnumerable<Enfermera> IRe... |
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
namespace HomeDataCenterCore.Domain.DomainModels
{
public class FilmData
{
public int Id { get; set; }
/// <summary>
/// 1905网的Id
/// </summary>
[Display(Name... |
using mec.Database.Repositories;
using mec.Database.Repositories.Processes;
using mec.Model.Processes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace mec.Database.Presentees
{
/// <summary>
/// Flow、Route、Notice、Process
/// </s... |
using Newtonsoft.Json;
using System.IO;
using UnityEngine;
namespace DataHandling
{
public class DataLoader
{
private string path;
private string fileName = "SavedMap.json";
public NodeSaveInfo[,] LoadData()
{
path = Path.Combine(Application.dataPath, fileName);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using Microsoft.EntityFrameworkCore;
using OcenaKlientow.Model;
using OcenaKlientow.Mode... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ejercicio_30
{
class Program
{
static void Main(string[] args)
{
Console.Title = "Ejercicio 30";
AutoF1 a1 = new AutoF1(1, "Mercedes");
... |
//
// ToolBox.cs
//
// Authors:
// Alan McGovern alan.mcgovern@gmail.com
//
// Copyright (C) 2006 Alan McGovern
using System;
using System.Collections.Generic;
using System.Threading;
namespace ResumeEditor.Common
{
public delegate long Operation<T>(T target);
public static class Toolbox
{
pri... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Acr.UserDialogs;
using ParPorApp.Helpers;
using ParPorApp.Models;
using ParPorApp.Services;
using Xamarin.Forms;
namespace ParPorApp.ViewModels
{
internal class AddEventViewModel
... |
using System;
namespace Entoarox.Framework
{
[Obsolete("Not for use by mods, designed for use by the framework's location event mechanics.")]
public interface IHookedLocation { }
}
|
namespace UI
{
public class ResetViewClickedSignal
{
}
} |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using Alps.Domain.ProductMgr;
using A... |
using System.Collections.Generic;
using com.Sconit.Entity.ORD;
using System;
using com.Sconit.Entity.WMS;
namespace com.Sconit.Service
{
public interface IPackingListMgr
{
PackingList CreatePackingList(string flow,IList<string> huIdList);
void Ship(IList<string> packingListCode);
}
}
|
namespace cyrka.api.domain.projects.commands.register
{
public class ProjectRegistered : ProjectEventData
{
public ProjectRegistered(string projectId)
: base(projectId)
{
}
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class EffectManager : SingletonComponent<EffectManager>
{
[System.Serializable]
public class Effects
{
public string Id;
public List<ParticleSystem> _effects = new List<ParticleSystem>... |
using MyWebDriver.Models;
using OpenQA.Selenium.Firefox;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyWebDriver.Factories
{
public partial class WebdriverFactory
{
public static FirefoxDriver CreateFirefoxDriver()
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using BookLibrary.Models;
namespace BookLibrary.ViewModels
{
public class BookViewModel
{
#region Simple properties
[Key]
public int Id { get; set; }
[Display(Name = "ISBN")]
... |
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace Profiling2.Web.Mvc.Areas.Screening.Controllers.ViewModels
{
public class YearViewModel
{
public int Year { get; set; }
public SelectList Years { get; set; }
public YearViewModel() { }
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace ChampionsOfForest.Effects
{
public class ParrySound : MonoBehaviour
{
static ParrySound instance;
AudioSource source;
void Initialize()
{
source = game... |
using AbiokaScrum.Api.Entities;
using MongoDB.Bson.Serialization;
using MongoDB.Bson.Serialization.IdGenerators;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AbiokaScrum.Api.Data.NoSql.Mongo.Map
{
public class Mapper
{
private static readonly IDictiona... |
using System;
namespace Sejalan.Framework.Security.Authentication
{
public enum ChangePasswordResult
{
PasswordSuccessfullyChanged,
InvalidPasswordLength,
InvalidOldPassword,
PasswordDoesNotMeetRequiredComplexity,
PasswordHasBeenUsedBefore
}
}
|
using UnityEngine;
using System.Collections;
public class PlayerController : MonoBehaviour {
public float speed = 10;
void FixedUpdate () {
float x = Input.GetAxis("Horizontal");
float z = Input.GetAxis("Vertical");
Rigidbody rigidbody = GetComponent<Rigidbody>();
// rigidbodyのx軸(横)とz軸(奥)に力を加える
rigidb... |
using System.Web.UI.WebControls;
using HTB.Database;
namespace HTB.v2.intranetx.global_files
{
public partial class CtlLookupGegner : System.Web.UI.UserControl
{
public string ComponentName = "";
public string Category { get; set; }
public void SetComponentName(string name)
{
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Example10
{
public partial class Form1 : Form
{
... |
using EmberKernel.Services.EventBus.Handlers;
using EmberKernel.Services.Statistic.DataSource.Variables;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace EmberKernel.Services.Statistic.DataSource
{
public class EventWrapperHandler<... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Generics
{
internal class Exc06
{
public static T FindMaxMin<T>(T[] arr) where T:IComparable
{
T max=default(T);
T min = default(T);
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PET880asm
{
static class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
PrintHelp();
... |
using System.Collections.Generic;
namespace MealTime.Interface
{
public interface IMealFactory
{
IRuleSet GetRules(IDictionary<int, string> map, IEnumerable<int> dishes, IList<string> output);
IEnumerable<int> GetDishesByType(IEnumerable<int> dishes, DishType dishType);
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpeechBubble : MonoBehaviour
{
private Camera refCamera;
void Start()
{
if(refCamera == null)
{
refCamera = Camera.main;
}
}
// Update is called once per frame
void... |
// <copyright file="HomeController.cs" company="Principal33 Solutions SRL">
// Copyright (c) Principal33 Solutions SRL. All rights reserved.
// </copyright>
using System.Diagnostics;
using HelloWorldWeb.Models;
using HelloWorldWeb.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespac... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Security.Cryptography;
using System.Web;
namespace CMS.Models
{
public class UserAccount
{
public int Id { get; set; }
[EmailAddress]
public string Emai... |
using System;
using System.IO;
using System.IO.Compression;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace zip
{
class Program
{
static void Main(string[] args)
{
string filename = @"e:\zip.txt";
string data = Getsrting();
savefile(file... |
using System.Windows.Forms;
using AssetsSDK;
namespace AssetsInterface
{
public partial class CurrencyControl : UserControl
{
private CurrencyField _field;
public CurrencyControl(CurrencyField field)
{
_field = field;
InitializeComponent();
Initializ... |
using System;
using System.Collections.Generic;
using System.Text;
using EQS.AccessControl.Domain.ObjectValue;
namespace EQS.AccessControl.Domain.Interfaces.Repository.Base
{
public interface IBaseRepository<TEntity> where TEntity : class
{
TEntity Create(TEntity obj);
TEntity Update(TEntity ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
namespace Ada.Framework.Expressions.Entities
{
[XmlType("Condition")]
public class Condicion : ExpresionCondicional
{
[XmlAttribute(AttributeName = "Expression")]
public virtual st... |
using System.ComponentModel.DataAnnotations;
namespace personal_website.Models
{
public class News
{
[Required]
public string Id { get; set; }
[Required]
[StringLength(200)]
public string Title { get; set; }
[Required]
[StringLength(500)]
[DataType(DataType.MultilineText)]
... |
using System.IO;
namespace Shipwreck.TypeScriptModels.Declarations
{
public sealed class ArrayType : ITypeReference
{
public ArrayType()
{
}
public ArrayType(ITypeReference elementType)
{
ElementType = elementType;
}
public string Name => "... |
using ppedv.Planner.Logic;
using ppedv.Planner.Model;
using System;
using System.Linq;
namespace ppedv.Planner.UI.DevConsole
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
var core = new Core();
//COUNT per SQL => gu... |
using EventSourcingService.DTO;
using EventSourcingService.Model;
using System.Collections.Generic;
namespace EventSourcingService.Service
{
public interface IEventStorePatientEndSchedulingService
{
IEnumerable<PatientEndSchedulingEvent> GetAll();
PatientEndSchedulingEvent Add(PatientEndSchedu... |
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using twpx.Dao;
namespace twpx
{
public partial class Screen : Form
{
int currentCamera = -1;//当前所选位置
bool isFullScreen = false;//标记是否全屏
bool isAllRecord = false;//标记是否开启全部录像
SqlSugarCli... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DesignPatterns.Memento.Example1
{
public class ChangeCustomerCommand : IDbCommand
{
public Customer Customer { get; private set; }
//NOTE: This example will potentially use a LOT of memory!
private re... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity.ModelConfiguration;
namespace Anywhere2Go.DataAccess.AccountEntity
{
public class PaySurveyor
{
public string InvoiceID { get; set; }
public string Task_ID { get; set; }
public Guid Surveyor_ID { get; se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Trees.TreeHelper
{
public class BinarySearchTreeNode<T>
{
public BinarySearchTreeNode<T> Left { get; set; }
public BinarySearchTreeNode<T> Right { get... |
using Rhino.Mocks.Tests.Model;
using Xunit;
namespace Rhino.Mocks.Tests.FieldsProblem
{
public class FieldProblem_PropertyBehaviorOnInternalProperty
{
[Fact]
public void CanUsePropertyBehaviorOnInternalProperty()
{
var mock = MockRepository.GenerateMock<Internal>();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace Assets.Scripts {
public static class CustomUtilities {
public static float EvaluateMirrored(this AnimationCurve curve, float input) {
float evaluation = curve.Evaluate... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
using KartLib;
namespace KartLib
{
public interface IGoodKindsView : IAxiTradeView
{
IList<GoodKind> GoodKinds { get; set; }
}
}
|
using RiverPuzzle1.Models;
using RiverPuzzle1.ValidationAttributes;
using System.Collections.Generic;
using Xunit;
namespace RiverPuzzle1.Tests.ValidationAttributes
{
public class EnsureCharactersLocationAttributeTests
{
[Fact]
public void IsValid_WhenOnlyCharacterExistsInTheList_ReturnsTrue()... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BE.Seguridad
{
public partial class menu
{
public Int32 inCodMenu { get; set; }
public Int32 inCodSubMenu { get; set; }
public String stNombre { get; set; }
public Int32 inPosicion { get; set; }
publ... |
using System;
namespace HTB.Database.HTB.StoredProcs
{
public class spGetActionCoordinates : Record
{
#region Property Declaration tblAktenInt
[MappingAttribute(FieldType = MappingAttribute.FIELD_TYPE_ID, FieldAutoNumber = true)]
public int AktIntID { get; set; }
#endregion
... |
using System;
using System.Collections.Generic;
using DealOrNoDeal.Data.Rounds;
using DealOrNoDeal.ErrorMessages;
using DealOrNoDeal.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DealOrNoDeal.Tests.BriefcaseManagerTests
{
[TestClass]
public class TestPopulateBriefcases
{
[Te... |
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using System.Windows;
using DevExpress.Mvvm;
using Jira_Bulk_Issues_Helper.Models;
using Jira_Bulk_Issues_Helper.Utils;
using Newtonsoft.Json;
using RestSharp;
using RestSharp.Authenticators;
namespace Jira_Bulk_Issues_Helper.ViewModels
{
public ... |
using Docller.Core.Common;
using Docller.Core.Images;
using Docller.Core.Repository;
using Docller.Core.Services;
using Docller.Core.Storage;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling;
using SnowMaker;
using StructureMap;
using Docller.Core.DB... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace EmployeeData.Models
{
public class EmployeeDbContext:DbContext
{
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.Services;
using System.Web.UI;
using System.Web.UI.WebControls;
using Effigy.Entity;
using Effigy.Service;
using Effigy.Utility;
using Effigy.Entity.DBContext;
namespace Effigy.W... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
using ShoppingList.Models;
using System.Collections.ObjectModel;
using System.Linq;
namespace ShoppingList.ViewModels
{
public class AddNewL... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace ProductDataAccess.Models
{
public class ProductDataAccessContext : DbContext
{
// You can add custom code to this file. Changes will not be overwritten.
//
// If yo... |
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// 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
//... |
using EventBusRabbitMq.Events;
using Newtonsoft.Json;
using RabbitMQ.Client;
using System;
using System.Collections.Generic;
using System.Text;
namespace EventBusRabbitMq.Producer
{
public class EventBusRabbitMQProducer
{
private readonly IRabbitMqConnection _connection;
public EventBusRabbit... |
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 Cyber_FerCesar_Sistema
{
public partial class Frm_GestaoClientes : Form
{
... |
namespace SOLIDPrinciples.ValidationClass.Example02.BestSolution
{
public class QuinzeOuVinteCincoPorCento : IRegraDeCalculo
{
public double Calcula(Funcionario funcionario)
{
if (funcionario.Salario > 3000)
return funcionario.Salario * 0.75;
else
... |
using System;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core
{
public sealed partial class VlcMediaPlayer
{
private EventCallback myOnMediaPlayerOpeningInternalEventCallback;
public event EventHandler<VlcMediaPlayerOpeningEventArgs> Opening;
private void OnMediaP... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using Serialization.Configuration;
using System.Reflection;
namespace Serialization.Mappers
{
public class CorrelationMatrixColumns : List<CorrelationMatrixColumn>
{
[XmlIgnore]
... |
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebShop.API.Models;
using WebShop.Data.Repository.Contract;
namespace WebShop.Data.Repository
{
class FakeProductRepo : FakeRepository<PRODUCT> ,IProductRepo
{
private readonly... |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Threading;
using System.Runtime.InteropServices;
namespace com.Sconit.SmartDevice
{
static class Program
{
const string appName = "SmartDevice";
const int ALREADY_EXISTS = 183;
/// <summary>
... |
// Copyright (c) Christopher Clayton. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace praxicloud.core.metrics.simpleprovider
{
#region using Clauses
using System.Threading.Tasks;
using System;
using System.Diagnostics... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace HappyBall.Models
{
public class YearFinal
{
public string name { get; set; }
public List<decimal> data { get; set; }
}
} |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Cdiscount.Alm.Sonar.Api.Wrapper.Core.Measures.Component.Response
{
public class SonarComponentMeasures
{
/// <summary>
/// Component Key
/// </summary>
[JsonProperty(Pro... |
using FluentValidation.TestHelper;
using NUnit.Framework;
using SFA.DAS.ProviderCommitments.Web.Models.Apprentice.Edit;
using SFA.DAS.ProviderCommitments.Web.Validators.Apprentice;
using System;
using System.Linq.Expressions;
namespace SFA.DAS.ProviderCommitments.Web.UnitTests.Validators.Apprentice
{
public class... |
using EmployeeManagementModels;
using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EmployeeManagement.Web.Pages
{
public class EmployeeListBase : ComponentBase
{
public IEnumerable<Employee> Employees { get;... |
namespace AulaCadastroContrato.Entities
{
class Department
{
public string Name { get; set; }
//construtor padrão da class.
public Department()
{
}
//construtor que recebe Name com argumento.
public Department (string name)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class TutorialManager : MonoBehaviour
{
public GameObject tutorialPanel;
public TextMeshProUGUI tutorialText;
public GameObject gameUI;
public static TutorialManager instance;
private void Awake()
... |
using Terraria;
using Terraria.ModLoader;
namespace DuckingAround.Buffs
{
public class DuckMount : ModBuff
{
public override void SetDefaults() {
DisplayName.SetDefault("Rideable Duck");
Description.SetDefault("Quack?");
Main.buffNoTimeDisplay[Type] = true;
Main.buffNoSave[Type] = true;
}
public o... |
using UnityEngine;
using System;
public class PlayerBodyEventTrigger : MonoBehaviour
{
public Transform AttackPoint;
public LayerMask PlatformMask;
private PlayerController2D _controller;
void Start() {
_controller = GetComponentInParent<PlayerController2D>();
}
public void InitInput... |
using UnityEngine;
using System.Collections;
public class PassBall : AbstractBehaviour
{
public float passforce = 0;
public override void Act()
{
/*força ou velocidade do toque da bola retirada da formula
(m*v^2)/2 = f*d
A seguir eu escolhi isolar velocidade, mas é possivel
também fazer isolando força... |
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.SceneManagement;
[System.Serializable]
public class OnPlayerDamagedEvent : UnityEvent<int> { }
public class HealthSystem : MonoBehaviour
{
public int health = 100;
public UnityEvent onDie;
public OnPlayerDamagedEvent onDamaged;
private vo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//**********************************************************************
//
// 文件名称(File Name):tb_nodemonitor.CS
// 功能描述(Description):
// 作者(Author):Aministrator
/... |
using System;
using System.ComponentModel.DataAnnotations;
namespace Courier_Management_System.Models
{
public class Consignment_Details
{
[Key]
public Int64 ID {get; set;}
public Int64 consignment_no { get; set; }
public String package_content { get; set; }
public Strin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NotSoSmartSaverAPI.DTO.UserDTO
{
public class ChangePasswordDTO
{
public string userId { get; set; }
public string userNewPassword { get; set; }
}
}
|
using Microsoft.AspNetCore.Mvc.DataAnnotations;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Alabo.Validations.Attributes {
public class NameAttribute : ValidationProviderAttribute {
/// <summary>
/// 获取所有的长度
/// </summary>
/// <ret... |
using System.Threading.Tasks;
namespace gView.Framework.IO
{
public interface IPersistableLoadAsync
{
Task<bool> LoadAsync(IPersistStream stream);
void Save(IPersistStream stream);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using Tomelt.ContentManagement;
using Tomelt.ContentManagement.MetaData;
using Tomelt.ContentManagement.MetaData.Models;
using Tomelt.ContentTypes.Extensions;
using Tomelt.ContentTypes.Services;
using Tomelt.ContentTypes.Settings;... |
using UnityEngine;
public class WardrobeClueTextHolder : BaseClueTextHoler
{
public override string GetDefaultClueText(KeyCode ActionKey)
{
return "Press " + ActionKey + " to open the wardrobe";
}
public override string GetExecutedClueText(KeyCode ActionKey)
{
return "Press " + Act... |
using Microsoft.Xna.Framework;
namespace OpenOracle.Old
{
public interface IUpdatableOld
{
void Update(GameTime gameTime);
}
}
|
using Alabo.Cloud.School.SmallTargets.Domain.Entities;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
using Alabo.Domains.Services;
using MongoDB.Bson;
namespace Alabo.Cloud.School.SmallTargets.Domain.Services
{
public class SmallTargetService : ServiceBase<SmallTarget, ObjectId>, ISmallTargetSer... |
namespace BootLoader.Protocol.Interface
{
public delegate void IncomingDataHandler(object sender, byte[] payload);
public interface IProtocol
{
bool Open();
bool Close();
void SendData(byte[] dataBytes);
event IncomingDataHandler IncomingData;
}
}
|
using Kingmaker.Blueprints;
using Kingmaker.Blueprints.Classes;
using Kingmaker.Blueprints.Classes.Selection;
using Kingmaker.Blueprints.Items.Armors;
using Kingmaker.Designers.Mechanics.Buffs;
using Kingmaker.Designers.Mechanics.Facts;
using Kingmaker.EntitySystem.Stats;
using Kingmaker.Enums;
using Kingmaker.UnitLog... |
using Microsoft.VisualBasic;
using Notepad.Forms;
using NotepadBackEnd;
using NotepadBackEnd.MyFunction;
using System;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace Notepad
{
public partial class MainForm : Form
{
... |
using System.IO;
using System.Xml;
using Aurora.Framework.Modules;
using Aurora.Framework.SceneInfo;
using Aurora.Framework.SceneInfo.Entities;
using OpenMetaverse;
namespace Aurora.Framework.Serialization
{
public interface ISceneObjectSerializer
{
ISceneEntity FromOriginalXmlFormat(string... |
using SciVacancies.Domain.Enums;
using System;
using System.Collections.Generic;
using NPoco;
namespace SciVacancies.ReadModel.Core
{
[TableName("res_researchers")]
[PrimaryKey("guid", AutoIncrement = false)]
public class Researcher : BaseEntity
{
#region General
public string first... |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Models.IdentityModels;
using Services.Interfaces;
namespace Auction.Controllers
{
[Authorize(Roles = AppUser.ROLE_ADMIN)]
public class AdminController : Controller
{
private readonly IAcco... |
using EmailSender;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace SnowTests.Integration
{
public class EmailSenderTests
{
[Fact]
public void NotEmptyConfiguration()
{
ConfigurationProvider configuratio... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Tndm_ArtShop.ViewModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Tndm_ArtShop.Data;
using Microsoft.AspNetCore.Mvc.Rendering;
using System.Data;
namespace Tndm_ArtShop.Con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Linq.Expressions;
using System.Reflection;
using System.Collections;
using CRL.LambdaQuery;
using System.Text.RegularExpressions;
namespace CRL
{
public partial class LambdaQuery<T> where T : IMod... |
using BDTest.Settings;
using BDTest.Test;
using NUnit.Framework;
using NUnitTestContext = NUnit.Framework.TestContext;
using BDTest.Maps;
using BDTest.Output;
using NUnit.Framework.Interfaces;
using NUnit.Framework.Internal;
namespace BDTest.NUnit;
[TestFixture]
public abstract class NUnitBDTestBase<TContext> : Abst... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MouseControl : MonoBehaviour
{
[SerializeField] //forcing unity to serialize the variable
public float sensitivity = 5.0f;
[SerializeField]
public float smoothing = 2.0f;
////get the movement of t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.