text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Web.ModelBinding;
using MovidaCristiana.Models.Attributes;
namespace MovidaCristiana.Models
{
... |
using EpiserverSiteFromScratch.Models.Blocks;
namespace EpiserverSiteFromScratch.Models.ViewModels
{
public class TeaserBlockViewModel
{
public TeaserBlock CurrentBlock { get; set; }
public int TodaysVisitorCount { get; set; }
}
} |
using Xamarin.Forms.Platform.iOS;
using Xamarin.Forms;
[assembly: ExportRenderer(typeof(SearchBar), typeof(KSF_Surf.iOS.Renderers.ExtendedSearchBarRenderer))]
// Custom search bar renderer that removes the "cancel" button
//
// Taken from : https://gist.github.com/xleon/9f94a8482162460ceaf9
// Thanks to xleon
namespa... |
using System;
using Boxofon.Web.Helpers;
using Boxofon.Web.Model;
namespace Boxofon.Web.MailCommands
{
public class SendSms : IMailCommand
{
public Guid UserId { get; set; }
public string BoxofonNumber { get; set; }
public string[] RecipientPhoneNumbers { get; set; }
public str... |
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace BuildingGame
{
public static class Input
{
private static bool mouseDown;
public static bool MouseClicked { get; private set; }
public static bool SpacePressed { get; private set; }
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FollowShipComponent : MonoBehaviour
{
[SerializeField] public float DistanceToShip = 100f;
[SerializeField] public bool SmoothFollow = true;
[SerializeField] public float SmoothAmount = 1f;
private void Start(... |
using System;
using System.Collections.Generic;
using System.Linq;
class Pyramid
{
static void Main()
{
int lineNumber = int.Parse(Console.ReadLine().Trim());
int prevNum = int.Parse(Console.ReadLine().Trim());
List<int> pyrNimList = new List<int>();
pyrNimList.Add(prevNum);
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityTerraforming.GameAi
{
public class AttackPlayerAction : Action
{
public override void MakeAction()
{
_stateManager.ChangeState(GuardianStates.ATTACK);
}
}
} |
using DelftTools.Utils;
using GeoAPI.Extensions.Networks;
namespace NetTopologySuite.Extensions.Actions
{
/// <summary>
/// Action that a node is removed and merging the branches
/// </summary>
public class BranchMergeAction:IEditAction
{
/// <summary>
/// The node that was removed... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class ChangeScene : MonoBehaviour
{
// Start is called before the first frame update
public void NivelFacil() {
Static.Level1 = true;
StartCoroutine(Load());
}
pub... |
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 BibliotecaJM
{
public partial class FMProvincia : Form
{
public string provinc... |
using System;
using Android.App;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Xamarin.Forms.Platform.Android;
using CustomXamarinControls;
using Plugin.Settings;
using Color = Xamarin.Forms.Color;
using Xamarin.Forms;
using Android.... |
using System.Collections;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class Level2Manager : MonoBehaviour {
public GameObject player;
public GameObject pauseObject;
public GameObject gameOver;
public GameObject levelClear;
public GameObject loading;
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
//using GraphQL.Client;
//using GraphQL.Common.Request;
//using WebApplication5.Models;
//namespace WebApplication5.GraphQL.Client
//{
// /*This class is created to use GraphQl.Client library*/
// public class Prod... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using TMPro;
using UnityEngine;
public class RemixApplyAllEditor : MonoBehaviour {
public TMP_Dropdown ObstacleDropdown;
void Start() {
RefreshDropdown();
}
public void RefreshDropdown() {
List<string> obstacles = new List<strin... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityStandardAssets.CrossPlatformInput
{
public class BoneMagic : MonoBehaviour
{
public GameObject player;
private string[] _enemyname_normal = {"SkeletonDarkKnight","icedemon","Skeleton","SkeletonWea... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExcelToAndroidXML
{
public class FieldChoices
{
public string Name { get; set; }
public List<string> Values { get; set; }
public List<string> CleanV... |
namespace Wordbook.Services
{
public class NotifyOptions
{
public NotifyOptions(States state, object parameter)
{
State = state;
Parameter = parameter;
}
public object Parameter { get; set; }
public States State { get; set; }
}
} |
using CarRental.API.BL.Models.Prices;
using CarRental.API.DAL.Entities;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace CarRental.API.BL.Services.Prices
{
public interface IPriceService
{
Task<IEnumerable<PriceModel>> GetAllAsync();
T... |
using RRExpress.AppCommon;
using RRExpress.AppCommon.Attributes;
namespace RRExpress.Store.ViewModels {
[Regist(InstanceMode.Singleton)]
public class ShoppingCartPopupViewModel : BaseVM {
public override string Title {
get {
return "购物车";
}
}
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace IRAP_UFMPS.Comm
{
class Tools
{
public static string SelectFolder(string description, string initialFolder)
{
Folde... |
using FtpProxy.Connections;
using FtpProxy.Entity;
namespace FtpProxy.Core.Factory
{
public interface IConnectionFactory
{
IConnection CreateConnection(string url, int port);
IDataConnection CreateDataConnection(DataConnectionType type);
}
} |
using EntityLayer.Loans;
using System;
using System.Collections.Generic;
using System.Text;
namespace EntityLayer
{
public enum PaymentMethod
{
Cash,
Cheque,
Transfer
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProblemSolving
{
// link:https://devskill.com/CodingProblems/ViewProblem/22
class ProblemFourAnotherExample
{
static void Main(string[] args)
{
var loop... |
using System;
using System.Web;
namespace Capistrano.Net.Web
{
public class Global : HttpApplication
{
protected void Application_Start(object src, EventArgs e)
{
new AppHost().Init();
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EasyDev.BL
{
/// <summary>
/// 服务管理器工厂
/// </summary>
public class ServiceManagerFactory
{
/// <summary>
/// 创建管理器
/// </summary>
/// <returns></returns>
... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace SocialWorld.DataAccess.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "AppRoles... |
using UnityEngine;
using System.Collections;
public class CameraController : MonoBehaviour {
public Transform cameraTarget;
public int mouseXSpeedMod = 10;
public int mouseYSpeedMod = 10;
public float maxViewDistance = 25f;
public float minViewDistance = 3f;
public int zoomRate = 30;
public int lerpRate = 10;... |
using System.Collections.Generic;
using Autofac;
using XH.Infrastructure.Dependency;
using XH.Infrastructure.Paging;
using XH.Infrastructure.Query;
using XH.Queries.Catalogs.Dtos;
using XH.Queries.Catalogs.Queries;
using XH.Queries.Categories.Dtos;
using XH.Queries.Categories.Queries;
using XH.Queries.Enterprises.Dtos... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class GameController : MonoBehaviour
{
public TMP_Text[] buttonList;
public GameObject gameOverPanel;
public TMP_Text gameOverText;
public bool toggle;
public GridSpace gridSpac... |
using ReactMusicStore.Core.Domain.Interfaces.Specification;
namespace ReactMusicStore.Core.Domain.Entities.Specifications.OrderDetailSpecs
{
public class OrderDetailQuantityShouldBeGraterThanZeroSpec : ISpecification<OrderDetail>
{
public bool IsSatisfiedBy(OrderDetail orderDetail)
{
... |
using GodMorgon.Enemy;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GodMorgon.Timeline
{
public class SpawnEnemy : Action
{
public override IEnumerator Execute()
{
Debug.Log("ACTION spawn enemy");
EnemyManager.Inst... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace learn_180412_tmp
{
class Program
{
static void Main(string[] args)
{
//BitArray arr = new BitArray(BitConverter.GetBy... |
using System.Collections.Generic;
using Morales.CompulsoryPetShop.Core.Models;
namespace Morales.CompulsoryPetShop.Core.IServices
{
public interface IPetService
{
Pet CreatePet(Pet pet);
Pet RemovePet(int id);
Pet UpdatePet(Pet pet);
Pet ReadByPetId(int id);
List<Pet> R... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NHShareBack.Db
{
public class DoujinInfos
{
public string Name;
public string ImageUrl;
public string ID;
public DoujinInfos() { }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
public int spawnerCount = 1;
public int globalFloorCount = 0;
static public GameManager me;
public List<Transform> floorLis... |
using Microsoft.Owin.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OwinSelfHostAPI
{
class Program
{
static void Main(string[] args)
{
var startOption = new StartOptions("http://localhost:1234/... |
using MassTransit;
using SampleDistributedSystem.Contracts.Messages.Core;
namespace SampleDistributedSystem.Contracts.Messages.Commands {
public class GetCustomerContactDetails :Command{
public GetCustomerContactDetails(MessageHeader header, string accountNumber) : base(NewId.NextGuid(), header) {
... |
using HPYL.Common;
using HPYL.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using XL.Model.Message;
using C = HPYL.Common;
using B = HPYL.BLL;
namespace HPYL_API.Controllers.RecruitPlan
{
/// <summary>
/// 申请医生协议控制器
... |
using System;
using Uintra.Features.Notification.Configuration;
namespace Uintra.Features.Notification.Exceptions
{
public class OutOfRangeNotifierConfigurationException : ApplicationException
{
public OutOfRangeNotifierConfigurationException(NotifierTypeEnum notifierType)
: base($"Configu... |
using System;
using System.Collections.Generic;
using System.Globalization;
using ContentPatcher.Framework.Conditions;
using Pathoschild.Stardew.Common.Utilities;
using StardewModdingAPI;
using StardewValley;
namespace ContentPatcher.Framework.Tokens.ValueProviders
{
/// <summary>A value provider for NPC friendshi... |
using ArkSavegameToolkitNet.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArkSavegameToolkitNet.Arrays
{
public class ArkArrayObjectReference : List<ObjectReference>, IArkArray<ObjectReference>
{
public ArkArrayObje... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using UI.Entidades;
using UI.Data;
namespace UI.Models
{
public class GestionBusInscripcion
{
/// <summary>
/// LISTADO DE EVENTOS QUE TIENEN UNA OPCION DE BUS
/// </summary>
... |
namespace RosPurcell.Web.ViewModels.Media
{
using System.Web;
using RosPurcell.Web.ViewModels.Media.Base;
public class Svg : BaseMedia
{
public IHtmlString Html { get; set; }
public string FallbackImage { get; set; }
}
} |
using UnityEngine;
using System.Collections;
public class Manager : MonoBehaviour {
public void Pruebas() {
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Security.Cryptography;
namespace _3._2_AES_Symmetric_Algorithm
{
class Program
{
static void Main(string[] args)
{
string original = "So... |
using FluentValidation;
using SFA.DAS.ProviderCommitments.Web.Models.OveralppingTrainingDate;
namespace SFA.DAS.ProviderCommitments.Web.Validators.OverlappingTrainingDate
{
public class DraftApprenticeshipOverlapOptionViewModelValidator : AbstractValidator<DraftApprenticeshipOverlapOptionViewModel>
{
... |
using System;
using System.Collections.Generic;
namespace EPI.HashTables
{
/// <summary>
/// Write a function that takes an array and returns the longest
/// subarray with the property that all elements are distinct.
/// </summary>
/// <example>
/// array {f,s,f,e,t,w,e,n,w,e} returns {1,5} for the subarray {s,... |
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.Navigati... |
using System;
using System.Windows.Forms;
namespace Tic_Tac_Toe_WF
{
public partial class Credits : Form
{
public Credits()
{
InitializeComponent();
}
//Checks if "Exit" is pressed
private void Exit_Click(object sender, EventArgs e)
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[Serializable]
public class TextNode : BaseNode
{
[NonSerialized]
private const float TEXTBOX_HEIGHT = 25f;
[NonSerialized]
private const float MAX_WIDTH = 260f;
[NonSerialized]
private const float M... |
using fNbt;
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class Inventory : MonoBehaviour {
[SerializeField]
private string _inventoryName = "";
[SerializeField, Min(1)]
private int _size = 1;
private Item[] items;
public string inventoryName =... |
using GardenControlCore.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GardenControlCore.Models
{
public class ControlDevice
{
public int ControlDeviceId { get; init; }
public DeviceType DeviceTyp... |
using Microsoft.EntityFrameworkCore;
using OnboardingSIGDB1.Domain.Cargos;
using OnboardingSIGDB1.Domain.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace OnboardingSIGDB1.Data.Repositorios
{
public class CargoRepository : Repository<Cargo>, IC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ApiSGCOlimpiada.Models
{
public class OcupacaoSolicitacaoCompra
{
public long OcupacaoId { get; set; }
public long SolicitacaoId { get; set; }
public Ocupacao Ocupacao { get; set;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using RWCustom;
using Menu;
using Rainbow.Enum;
namespace Rainbow.SandboxOverhaul
{
/// <summary>
/// remove vanilla lizards and add new creatures to editor
/// </summary>
public static class Sandb... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TFTP
{
class Forge
{
public int opCode { private set; public get; }
public string filename { private set; public get; }
public string mode { private set; public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Btf.Data.Model.User;
namespace Btf.Web.Api.DTO
{
public class UserDto
{
public UserDto(User user)
{
Id = user.Id;
FirstName = user.FirstName;
LastName = us... |
using JhinBot;
using JhinBot.Tables.Objects;
using System.Collections.Generic;
namespace JhinBot.Repositories
{
public interface IEventRepository : IRepository<Event>
{
Event GetByName(ulong guildId, string name);
IEnumerable<Event> GetByDate(ulong guildId, long date);
Event GetByTime(... |
using System.Collections.Generic;
using System.Linq;
namespace PBPS
{
public class Process
{
public char ProcessID { get; set; }
public int ArrivalTime { get; set; }
public int CPUBurst { get; set; }
public byte Priority { get; set; }
public List<Exec... |
namespace GeneralResources.CursoAlgoritmoEstruturaDeDados.Sorting
{
public class SortUtils
{
public static void Swap(IList<int> m, int x, int y)
{
int temp = m[y];
m[y] = m[x];
m[x] = temp;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Excel = Microsoft.Office.Interop.Excel;
using System.Windows.Forms;
using System.IO;
namespace MAMA
{
public class CSV_Handler
{
public CSV_Handler()
{
... |
using Backend.Model;
using Backend.Model.Manager;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Backend.Repository.DrugInRoomRepository.MySqlDrugInRoomRepository
{
public class MySqlDrugInRoomRepository : IDrugInRoomRepository
{
private readonly MyDbContext _context;
... |
using Microsoft.AspNetCore.Http;
using MongoDB.Bson;
using MongoDB.Driver.Builders;
using SocialWorkout.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web;
using System.Web.Http;
namespace SocialWorkout.Controllers
{
public class Tra... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace OurNewProject.Migrations
{
public partial class init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Category",
columns: tabl... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DeadText : MonoBehaviour
{
// Start is called before the first frame update
PlayerController player;
Text text;
void Start()
{
player = GameObject.Find("Player").GetComponent<Pl... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Communication;
namespace Communication
{
public class Net
{
private static Object verr... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;
namespace cis480_project.Models {
public class Course {
[Key] //... |
using AsyncClasses.EventArgs;
using Common.Business;
using Common.Exceptions;
using Common.Extensions;
using Common.Log;
using Entity;
using LFP.Common.DataAccess;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Runtime.Serialization;
using System.ServiceModel;
using Sy... |
namespace DChild.Databases
{
public enum WeaponSlotType
{
OneHanded = 1,
TwoHanded,
_COUNT
}
} |
using System;
namespace HastaOtomasyonLib
{
public class Hemsire : Insan, IMaas
{
private DateTime _dogumTarihi;
public SaglıkBranslar Brans { get; set; }
public decimal Maas { get; set; }
public string DoktorId { get; set; } = null;
public override DateTime DogumTarihi... |
using Microsoft.SharePoint;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace YFVIC.DMS.Model.Models.WorkFlow
{
public class WFTaskEntity
{
/// <summary>
///任务编号
/// </summary... |
using System.ComponentModel.Composition;
using System.Diagnostics;
using System.IO;
using MindWorX.Generic.PluginStorage;
using MindWorX.War3Editor.Hooks;
using MindWorX.War3Editor.MenuInjection;
using MindWorX.War3Editor.ProcessingInjection;
using Serilog;
using SharpCraft.Framework;
[Export(typeof(ICompiler)), Expo... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Micros... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Linq1
{
class CBook
{
public string Title
{
get;
set;
}
public string Author
{
get;
set;
}
public string Publisher
{
get;
set;
}
public int Price
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FollowPlayer : MonoBehaviour
{
public Transform PlayerTran;
public float MoveSpeed = 0.001f;
void Start()
{
}
// Update is called once per frame
void Update () {
transform.posi... |
using System;
using System.Collections.Generic;
using System.Text;
using TestShop.Application.Models.Product;
namespace TestShop.Application.Models.Cart
{
public class CartProductModel
{
public int OrderId { get; set; }
public ProductModel ProductModel { get; set; }
public int Count { ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.Entity;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows.Forms;
using AcademyDatabase.Models;
... |
namespace SimpleHttpServer.Enums
{
public enum HeadeType
{
HttpRequest = 0,
HttpResponce = 1
}
} |
using System;
using System.Reflection;
using System.Text;
using HTB.Database;
using HTB.Globals;
using System.Collections;
using HTBUtilities;
using HTB.Database.Views;
namespace HTBInvoiceManager
{
public class InvoiceManager
{
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(M... |
using System.Collections.Generic;
using Podemski.Musicorum.BusinessLogic.Exceptions;
using Podemski.Musicorum.Core.Enums;
using Podemski.Musicorum.Interfaces.Entities;
using Podemski.Musicorum.Interfaces.Repositories;
using Podemski.Musicorum.Interfaces.SearchCriterias;
using Podemski.Musicorum.Interfaces.Services;
n... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace HeliSimPack.Utilities
{
public class smoothFollow : MonoBehaviour
{
// The target we are following
public Transform target;
Rigidbody rb;
// The distance in the x-z plane to the target
public float distan... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using DigitalFormsSteamLeak.Entity.IModels;
namespace DigitalFormsSteamLeak.Entity.Models
{
[Table("T... |
using System;
using System.Collections;
using System.Collections.Generic;
using com.Sconit.Entity;
using System.ComponentModel.DataAnnotations;
//TODO: Add other using statements here
namespace com.Sconit.Entity.ISI
{
[Serializable]
public partial class TaskSubType : EntityBase, IAuditable
{
#regi... |
using Alabo.Web.Mvc.Attributes;
using Alabo.Web.Mvc.ViewModel;
namespace Alabo.UI.Design.AutoForms {
/// <summary>
/// form信息框
/// </summary>
public class FromMessage {
/// <summary>
/// 表单提示信息构造函数
/// </summary>
/// <param name="formMessageType">提示方式,失败或成功</p... |
using System.Collections.Generic;
using System.Linq;
using static TriangleCollector.Models.Triangle;
namespace TriangleCollector.Models
{
public static class LiquidityRemover
{
public static void RemoveLiquidity(KeyValuePair<Bottlenecks, decimal> bottleneck, Triangle triangle)
{
//... |
using System;
using InRule.Authoring.Services;
using InRule.Authoring.Windows;
namespace InRuleLabs.AuthoringExtensions.GenerateSDKCode.Extension
{
public class GenerateSDKCodeAuthoringExtension : ExtensionBase
{
private const string ExtensionGUID = "{903C7018-213F-4A32-B3F2-0B6DA295E02E}";
... |
using System.Diagnostics.CodeAnalysis;
using EnsureThat.Internals;
using JetBrains.Annotations;
namespace EnsureThat.Enforcers
{
[SuppressMessage("Performance", "CA1822:Mark members as static")]
public sealed partial class ComparableArg
{
public decimal Is(decimal value, decimal expected, [Invoker... |
using JT808.Protocol.Attributes;
using JT808.Protocol.Extensions;
using JT808.Protocol.Formatters;
using JT808.Protocol.MessagePack;
using System;
using System.Collections.Generic;
using System.Linq;
namespace JT808.Protocol.MessageBody
{
/// <summary>
/// 设置终端参数
/// </summary>
public class JT808_0x81... |
using FluentAssertions;
using NHibernate.NodaMoney.Tests.Fixtures;
using NHibernate.NodaMoney.Tests.TestDomain;
using NodaMoney;
using System;
using System.Collections;
using System.Collections.Generic;
using Xunit;
namespace NHibernate.NodaMoney.Tests
{
[CollectionDefinition("Database tests")]
public class ... |
namespace Nca.Valdr.Tests
{
using System;
using NUnit.Framework;
[TestFixture]
public class ValdrAttributesTests
{
[Test]
public void ValdrTypeAttributeDescriptorWithoutParameterTest()
{
// Arrange
ValdrTypeAttributeDescriptor type = null;
... |
// <copyright file="ResponseMessages.cs" company="Caspian Pacific Tech">
// Copyright (c) Caspian Pacific Tech. All rights reserved.
// </copyright>
namespace SmartLibrary.Infrastructure.Code
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threa... |
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
namespace WebApiAngularEcommerce
{
public class DbContext:IdentityDbContext<User>
{
public DbContext():base("AngularWebApiEcommerce")
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CharacterMovement : MonoBehaviour {
private MovementMotor motor;
public float move_Magnitude = 0.05f;
public float speed = 0.7f;
public float speed_Move_WhileAttack = 0.1f;
public float speed_Attack = 1.5f;
public floa... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Uintra.Core.Member.Abstractions;
using Uintra.Core.Member.Models.Dto;
namespace Uintra.Core.Member.Services
{
public interface IIntranetMemberService<T>
where T : IIntranetMember
{
bool IsCurrentMemberSuperUser... |
using FluentMigrator;
namespace Profiling2.Migrations.Migrations
{
[Migration(201302131648)]
public class Envers : Migration
{
public override void Down()
{
Delete.Table("REVINFO");
Delete.Table("SCR_Request_AUD");
Delete.Table("PRF_Event_AUD");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebApi.Models
{
public class EmployeeModel
{
public IEnumerable<string> Get()
{
return new string[] { "value1", "value2" };
}
}
} |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Hosting;
using YourContacts.Contracts;
using YourContacts.Controllers;
using YourContacts.Model... |
using FeriaVirtual.Api.Local;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace LocalApi.Test.Users
{
public class QueryUserControllerTest
{
private readonly TestServer _server;
... |
namespace ECom.Abstraction.Repository
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using ECom.DataModel;
using System.Data.Entity;
public class GenericRepository<T> : IRepository<T> where T : class
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.