text stringlengths 13 6.01M |
|---|
using System;
using System.Linq.Expressions;
using System.Text.RegularExpressions;
using System.Web.Mvc;
public static partial class HtmlExtensions
{
private const string urlRegEx = @"((http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?)";
public static MvcHtmlString... |
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace CinematicModel
{
[Serializable, XmlRoot(ElementName = "cinematicModel", Namespace = "http://liquidnarrative.csc.ncsu.edu/cinematicModel/v0.1")]
public class CinematicModel
{
private Dictionary<string, Actor>... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Dispatcher;
using Ziv.ServiceModel.Behaviors;
namespace Ziv.ServiceModel
{
public class ZivServiceHost : ServiceHost
{
public ZivServiceHost(
Type servi... |
using System;
namespace CursoCSharp.Fundamentos {
public class AreaTriangulo {
public static void Executar() {
// Area = b * h / 2
int baseTriangulo;
int alturaTriangulo;
string entrada;
Console.WriteLine("Calcular a área do triângulo!");
... |
using UnityEngine;
namespace TicTacToe
{
public class AIPlayer : IPlayer
{
public TicTacState State { get; set; }
public void MakeTurn(IPlayerReceiver model)
{
AiSelectCell(model, out var x, out var y);
model.MakeTurn(State,x ,y);
... |
using System;
using System.Windows;
using Tai_Shi_Xuan_Ji_Yi.ChartControl;
namespace Tai_Shi_Xuan_Ji_Yi
{
/// <summary>
/// ChartControlTest.xaml 的交互逻辑
/// </summary>
public partial class ChartControlTest : Window
{
SeriesPointCollection points;
public ChartControlTest()
{... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BoardGenerator : Board
{
[SerializeField] private Tile tilePrefab;
public Tile[,] tileGrid { get; private set; }
public void GenerateBoard()
{
tileGrid = new Tile[xSize, ySize];
Vector2 boardP... |
// Copyright 2021 Google Inc. 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... |
//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.nopCommerce.com/Lic... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class EnemyDemo : MonoBehaviour {
public GameObject target; // should be Player
public GameObject hand;
// public GameObject boyfriend;
public List<GameObject> throwablePrefabs = new List<GameObject>();
/... |
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 ChartServer.model;
using ChartServer.view;
using ChartServer.util;
using ChartServer.server;
names... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TahoeExtensions
{
public static class StringExtensions
{
public static string DotifyString(this String originalString)
{
return originalString + "......ext.... |
using System;
using System.Collections.Generic;
using System.Drawing;
using Top_Down_shooter.Scripts.GameObjects;
using Top_Down_shooter.Scripts.Source;
using unvell.D2DLib;
namespace Top_Down_shooter.Scripts.Renders
{
class BulletRender : IRender
{
public int X => bullet.X - image.Width / 2;
... |
namespace Infralution.Localization.Wpf
{
using System;
using System.Collections.Generic;
public class MarkupExtensionManager1
{
private int int_0;
private int int_1 = 40;
private List<ManagedMarkupExtension1> list_0 = new List<ManagedMarkupExtension1>();
public MarkupE... |
using System;
using System.Threading.Tasks;
namespace GetLinkYoutube.Sample
{
class Program
{
static async Task Main(string[] args)
{
Console.WriteLine("Input Youtube video id or link: ");
var idOrLink = Console.ReadLine();
var videoLinks = await YoutubeHel... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace server
{
public partial class StatTrackerContext : DbContext
{
public StatTrackerContext()
{
}
public StatTrackerContext(DbContextOptions<StatTrackerContext> options)
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace IAI_Robot_Nav
{
/// <summary> Custom Uninformed Search.
/// Similar to DFS but always tries nodes to the left and then clockwise in order to 'follow the wall'. </summary>
public class BOT_LHW : Robot
{
/// <summary> L... |
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Linq;
using System.Xml.Linq;
using Microsoft.SqlServer.Server;
public partial class StoredProcedures
{
[SqlProcedure]
public static void CreateMarriage(SqlInt32 familyId, SqlString marriageId, SqlString husbandId, SqlString wifeId, SqlString... |
using FluentAssertions;
using Xunit;
namespace LeeConlin.ExtensionMethods.Tests.StringExtensions
{
public class ToSha1Hash_Should
{
[Theory]
[InlineData("test", true, "A94A8FE5CCB19BA61C4C0873D391E987982FBBD3")]
[InlineData("test", false, "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3")]
... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System;
namespace Library
{
public class Node : IElement
{
public Person Age{ get; set;}
private List<Node> children = new List<Node>();
public ReadOnlyCollection<Node> Children {
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace Ph.Bouncer
{
public class Target : MonoBehaviour
{
public Colour Colour;
private const float SECONDS_BETWEEN_DRAIN = 2f;
private float lastHitOrDrainTime;
private tk2dSprite sprite;
private int hits = 0;
private... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TOUR_US.DAL.Models;
using TOUR_US.DAL.Services;
namespace TOUR_US.DAL.Repos
{
public class ActivityRepos : GenericRepos<Activity>,IActivityRepos
{
public ActivityRepos(Application... |
using System;
using System.Collections.Generic;
using System.Text;
namespace HINVenture.Shared.Models.Entities
{
public class Message
{
public int Id { get; set; }
public virtual Order Order { get; set; }
public virtual CustomerUser Customer { get; set; }
public virtual Freelan... |
/*
DotNetMQ - A Complete Message Broker For .NET
Copyright (C) 2011 Halil ibrahim KALKAN
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option)... |
using System;
using DataDynamics.ActiveReports;
using DataDynamics.ActiveReports.Document;
using System.Data;
using System.Data.SqlClient;
using lianda.Component;
namespace lianda.LD10
{
public class LD103010RP : ActiveReport
{
public LD103010RP(string ZBR,string WTDW,string RQ1,string RQ2)
{
Ini... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using EWF.Entity;
using EWF.IServices;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using EWF.Util;
using EWF.Application.Web.Controllers;
using Microsoft.AspNetCore.Authorization;
n... |
using UnityEngine;
[CreateAssetMenu(fileName = "GradualSpeedDown", menuName = "Level/Platform/Special/GradualSpeedDown")]
public class GradualSpeedDown : SpecialPlatform
{
public float SpeedDecrement = 20f;
public override void OnEnter(Transform entered, float currentPercentage)
{
}
public override... |
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using Zillow.Core.Dto.CreateDto;
using Zillow.Core.ViewModel;
using Zillow.Service.Services.UserServices;
using Microsoft.AspNetCore.Authorization;
using Zillow.Core.Dto.UpdateDto;
namespace Zillow.API.Controllers
{
public class UserController : B... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Entities;
namespace Data
{
public class EmployeeContext : DbContext
{
public Em... |
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.Data.Linq;
using DAL;
using BusinessLogic;
namespace DKHocPhan
{
public partial class fr... |
using RemoteServices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
namespace pacman
{
public class GameEngine
{
//saves all coins positions i, [x, y]
public static Dictionary<int, int[]> coins = new Dic... |
using System.Collections.Generic;
using Microsoft.Extensions.Configuration;
namespace Mitheti.Core.Services
{
public class AddFilterService : IAddFilterService
{
public const string ListConfigKey = "filter:list";
public const string ModeConfigKey = "filter:allowed";
private readonly Li... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DinoDiner.Menu
{
/// <summary>
/// Represents the triceritots menu item
/// </summary>
public class Triceritots : Side
{
//backing variable
protected Size size;
/// <summary>
/// Construct... |
using System;
using System.Collections.Generic;
using System.Text;
[Serializable]
public class AcceptedException : Exception
{
public override string Message =>
$"{(Input is null ? "" : $"\nInput: \n{Input.Trim()}")}" +
$"{(Expected is null ? "" : $"\nExpected: \n{Expected.Trim()}")}" +
$"... |
using System;
using Game;
using Generation;
using Steamworks.NET;
using UI;
using UnityEngine;
using UnityEngine.SceneManagement;
using static Events.Events;
public class GameFlowManager : MonoBehaviour
{
public static bool IsGameActive = true; // The game is currently running
public static bool IsGameStarted... |
using CleanArch.Mvc.Models;
using Grpc.Core;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Task... |
using System;
using System.ComponentModel.DataAnnotations;
/**
*
* name : HealthIssue.cs
* author : Aleksy Ruszala
* date : 29/04/2019
*
* */
namespace Application.Data.Models
{
/// <summary>
/// This class representing model for player health issue
/// </summary>
publ... |
using ClassLibrary1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml.Linq;
namespace WebApplication5.welcome
{
public partial class outStorage : System.Web.UI.Page
{
public class T : ClassLibrar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WPF_Student
{
class WPFStudent
{
public int StudentID { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public st... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour
{
public int StageNum;
public bool isBallMoving;
public GameObject ballPrefab;
public GameObject ball;
public GameObject goButton;
public G... |
using System;
using System.Collections.Generic;
using CustomerManagementSystem.BL;
using CustomerManagementSystem.Common.cs;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CustomerMangementCommonTest
{
[TestClass]
public class LoggingServiceTest
{
[TestMethod]
public void Wr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class vertical_move_L5 : MonoBehaviour {
public float startTime;
public float minY, maxY;
private float moveSpeed = 0.0000000000000000000000000000000000000000000000000000000000000000000000000000001f;
private int sign = -1;
// ... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MyFirstProject.Models
{
public class ProjectDbContext: DbContext
{
public ProjectDbContext(DbContextOptions<ProjectDbContext> options): base(options)
... |
using UnityEngine;
using System.Collections;
public class testMove : MonoBehaviour {
public Vector3 newP;
public Vector3 B;
// Use this for initialization
void Start () {
newP = transform.position;
B = new Vector3(-15,2,-9);
}
// Update is called once per frame
void Update () {
newP = B;
... |
using System;
namespace exe_23
{
class Program
{
static void Main(string[] args)
{
Console.Clear();
int maior = 0;
int menor = 0;
int posicMenor = 0;
int posicMaior = 0;
Console.WriteLine("======* Números ale... |
using System;
using System.Collections.Generic;
namespace SheMediaConverterClean.Infra.Data.Models
{
public partial class VAktenTyp
{
public int AktenTypId { get; set; }
public string Bezeichnung { get; set; }
public bool? Editierbar { get; set; }
public bool? Digitalisierbar {... |
using Microsoft.EntityFrameworkCore;
namespace Enrollment.Contexts.Configuations
{
interface ITableConfiguration
{
void Configure(ModelBuilder modelBuilder);
}
}
|
using System;
using NUnit.Framework;
namespace Radex.Tsp.UnitTest
{
[TestFixture]
public class RatingTests
{
[Test]
public void CalculateRatingTest()
{
var n1 = new Node {X = -121.974015d, Y = 37.240532d};
var n2 = new Node {X = -121.982876d, Y = 37.229842};... |
using System.Collections.Generic;
using AppBuilder.Shared;
namespace AppBuilder.CompileRazor
{
public static class RazorSampleProjects
{
public static List<ProjectFile> IntroProject => new List<ProjectFile>
{
new ProjectFile
{
Name = RazorConstants.Defau... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
namespace CommonCore.Rpg
{
public enum Sex //we could get into arguments about sex vs gender etc but these are enough for game logic purposes
{
Undefined, Female, Male, Other
}
... |
using UnityEngine;
using UnityEngine.Networking;
public class Playershoot : NetworkBehaviour
{
public GameObject[] weapons;
public GameObject[] bulletTex;
int colorIndex = 0;
int weaponIndex = 0;
int paintIndex = 0;
private const string PLAYER_TAG = "Player";
public Player... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class LevelComplete : MonoBehaviour {
DoorsGameController x;
private bool setwin = false;
// Use this for initialization
void Start () {
x = GameObject.FindGameObjectWithTag ("GameController").GetComponent<DoorsGameController... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace GdNet.Common
{
/// <summary>
///
/// </summary>
public static class TypeExtensions
{
/// <summary>
/// Check the given type is implemented a given interface or not
/// </summary>
public st... |
namespace PhotoShare.Client.Core.Commands
{
using Models;
using System;
using System.Linq;
public class ShareAlbumCommand
{
// ShareAlbum <albumId> <username> <permission>
// For example:
// ShareAlbum 4 dragon321 Owner
// ShareAlbum 4 dragon11 Viewer
public... |
using System;
using System.Web;
using System.ComponentModel.DataAnnotations;
using InstagramMVC.Attributes;
namespace InstagramMVC.Models.AccountModels
{
public class ChangePasswordModel
{
[DataType(DataType.Password)]
[Required]
public string OldPassword { get; set; }
[DataTyp... |
using System.Collections.Generic;
using System.Threading.Tasks;
using WebApplication.Services.DtoModels;
namespace WebApplication.Services.Services.ShoppingBasket
{
public interface IShoppingBasketService
{
Task<BasketDtoModel> AddLaptop(int model);
Task<List<BasketDtoModel>> GetLaptopList();
... |
using Hybrid.Extensions;
using System;
namespace Hybrid.Data
{
/// <summary>
/// Hybrid结果基类
/// </summary>
/// <typeparam name="TResultCode"></typeparam>
public abstract class HybridResult<TResultCode> : HybridResult<TResultCode, object>, IHybridResult<TResultCode>
{
/// <summary>
... |
namespace Triton.Game.Abstraction
{
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Triton.Game.Mapping;
public class HistoryCard : Triton.Game.Abstraction.HistoryItem
{
[CompilerGenerated]
private Triton.Game.Abstraction.Actor actor... |
using AutoMapper;
using Blog.Api.Dtos;
using Blog.Api.Models;
namespace Blog.Api.Helpers
{
public class AutoMaperProfiles:Profile
{
public AutoMaperProfiles()
{
CreateMap<LoginDto,ApplicationUser>().ReverseMap();
CreateMap<RegistrationDto,ApplicationUser>().ReverseMap();... |
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Threading;
namespace CHIP8 {
class Program {
static void Main(string[] args) {
Chip8 cpu = new Chip8(new ConsoleScreen(), new ConsoleKeyboard());
... |
namespace SprintFour.Commands
{
public class PausedPressedCommand : ICommand
{
public void Execute()
{
if (SprintFourGame.GetInstance().Paused) {
SprintFourGame.GetInstance().Unpause();
SoundManager.Resume();
} else {
Sprin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using RiversideHealthCare.Models;
using System.Transactions;
using System.Web.Security;
using DotNetOpenAuth.AspNet;
using Microsoft.Web.WebPages.OAuth;
using WebMatrix.WebData;
using RiversideHealthCare.Filters;... |
///
/// Generated by Sybase AFX Compiler with templateJ
/// Compiler version - 2.2.6.482
/// mbs - false
///
using System;
using System.Reflection;
namespace MMSCAN
{
public class OfflineAuthentication : Sybase.Persistence.ILocalBusinessObject, Sybase.Reflection.IClassWithMetaData
{
#... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using amsdemo.DAL.Interface;
using amsdemo.DAL.Repository;
using amsdemo.Infrastructure;
using amsdemo.Models;
using amsdemo.ViewModel;
namespace amsdemo.Controllers
{
public class AdminController : Controll... |
using System;
using System.Collections.Generic;
using System.Text;
using Telegram.Bot;
using Telegram.Bot.Types;
namespace EchoBotForTest.Command.Commands
{
class Casino : EchoBotForTest.Commands.Command
{
public override string[] Names { get; set; } = {"Ты где колоду заряжал?", "Ty gde kolodu zaryazh... |
using Contoso.Parameters.Expressions;
namespace Contoso.Parameters.Expansions
{
public class SelectExpandItemFilterParameters
{
public SelectExpandItemFilterParameters()
{
}
public SelectExpandItemFilterParameters(FilterLambdaOperatorParameters filterLambdaOperator)
{
... |
//
// 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;
using System.Web;
using System.Web.Mvc;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Security;
using DotNetNuke.Security.Permissions;... |
namespace CakeShop.ViewModels
{
public class AddProductInputModel
{
public string Product { get; set; }
public double Price { get; set; }
public int Quantity { get; set; }
public string Image { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model.Schema.EIVO;
using Model.DataEntity;
using Model.Properties;
using Model.Locale;
namespace Model.InvoiceManagement.zhTW
{
public static partial class Check_CarrierType_PrintMark_DonateMark
{
public reado... |
using System;
using System.Collections.Generic;
namespace Gomoku
{
struct Score
{
public bool Five;
public uint Four;
public uint Three;
public uint Two;
public uint One;
}
public class Evaluator
{
public double Evaluate(Board board)
{
... |
using System;
namespace NLuaTest.Mock
{
public class TestClassGeneric<T>
{
private object _PassedValue;
private bool _RegularMethodSuccess;
private bool _GenericMethodSuccess;
public bool RegularMethodSuccess
{
get
{
return this._RegularMethodSuccess;
}
}
public bool GenericMethodSucce... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class BossGameController : MonoBehaviour {
public int examScore = 0, willpower = 100;
public Text scoreText, willText, buttText, resultText;
public int min, max;
public AudioSource hit, click;
public GameObject secondGaster, thirdGaster, f... |
using MessengerApp.Models.Account;
using MessengerApp.Models.Channel;
using Microsoft.AspNetCore.Authorization;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MessengerApp.Infrastructure
{
public class SubscribeManage... |
using PICSimulator.Helper;
namespace PICSimulator.Model.Commands
{
/// <summary>
/// If bit 'b' in register 'f' is '1' then the next
/// instruction is executed.
/// If bit 'b', in register 'f', is '0' then the next
/// instruction is discarded, and a NOP is
/// executed instead, making this a 2T CY
/// instru... |
using HelperFoundation.ErrorHandler;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace FPS.Api.Controllers
{
public class CoreController : ApiController
{
[AcceptVerbs("GET", "POST")]
public HttpResponse... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Crate : MonoBehaviour
{
public int health;
private int currentHealth;
public bool canDie;
public GameObject deathEffect;
public bool shouldDropItemP;
public GameObject[] itemsToDropP;
public... |
namespace ChesterDevs.Core.Aspnet.App.RemoteData
{
public interface IRemoteDataSource
{
void RefreshData();
}
} |
using AutoMapper;
using Lfs.Persistense.Infrastructure;
using System;
namespace Lfs.Web.Api.Services.Common
{
public class PersistenceServiceBase : IDisposable
{
protected readonly IUnitOfWork UnitOfWork;
protected readonly IMapper Mapper;
protected PersistenceServiceBase(IUnitOfWork ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Zelo.Common.CustomAttributes;
namespace Zelo.DBModel
{
[Table(Name = "T_Medical_His")]
public class TMedicalHisExtend:TMedicalHis
{
public string PatientName
{
set;
get;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Depot.Contract;
namespace Depot.Contract
{
public class BookingStatement:IContract
{
public BookingStatement() { }
public Int16 BranchID { get; set; }
public string OrderNo { get; set; }
public string Contain... |
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace GeoSnap.Providers
{
public class UserDataProvider
{
public enum userOperationResult {
UserNotFound,
UserSuspended,
UserFound,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GMS.Store.Contract;
using GMS.Store.DAL;
using EntityFramework.Extensions;
using GMS.Framework.Contract;
using System.Data;
using NPOI;
using NPOI.HSSF.UserModel;
using System.IO;
using NPOI.SS.Use... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//����Ŭ����
//Ŭ���� ����ȭ
//Ŭ������ ��� ������ �� ����ȭ����� �ν����Ϳ� ǥ�õ�
[System.Serializable]
public class PlayerAnim
{
public AnimationClip idle;
public AnimationClip runF;
public AnimationClip runB;
public AnimationCli... |
using Fundamentals.Controllers;
using Fundamentals.Utility;
namespace Fundamentals.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class SeedAdminRoles : DbMigration
{
public override void Up()
{
var superAdminRoleId = Guid.NewGuid();
... |
namespace Sample.Backend.Messages.Commands
{
public class DoSomethingWithValue
{
public string Value { get; set; }
public override string ToString()
{
return string.Format("Value: {0}", Value);
}
}
}
|
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
#nullable disable
namespace PDB.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Crea... |
/**
*┌──────────────────────────────────────────────────────────────┐
*│ 描 述:接口实现
*│ 作 者:zhujun
*│ 版 本:1.0 模板代码自动生成
*│ 创建时间:2019-05-23 16:43:42 ... |
using System;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
namespace Stars
{
public partial class MainForm : Form
{
Graphics m_graphics;
Star[] m_stars = new Star[1000];
Brush[] m_brushes = new Brush[] { Brushes.LightYellow, Brushes.AliceBlue, Brushes.Bisque, Brushes.Whi... |
using System.ServiceModel;
using System.Threading.Tasks;
using ZeyrekFramework.Entities.Concrete;
namespace ZeyrekFramework.Business.Abstract
{
[ServiceContract]
public interface IApplicationService
{
[OperationContract]
Task<Application> GetApplication(string applicationName);
}
}
|
//
// 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;
using System.Collections.Generic;
using System.Linq;
using DotNetNuke.Common;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Data;
usin... |
using BPiaoBao.AppServices.DataContracts.SystemSetting;
using BPiaoBao.AppServices.StationContracts.StationMap;
using BPiaoBao.AppServices.StationContracts.SystemSetting.SystemMap;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
namespace BPiaoBao.AppSe... |
using System;
namespace NUnit.Snapshot
{
public interface ISnapshotSerializer
{
String Serialize<T>(T source);
}
public class SnapshotSerializer : ISnapshotSerializer
{
public static ISnapshotSerializer Default = new SnapshotSerializer();
public String Serialize<T>(T source... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LearningEnglishWeb.Services.Dtos;
namespace LearningEnglishWeb.Services.Abstractions
{
public interface IWordSetService
{
Task AddWordSet(WordSetSaveDto wordSet);
Task<List<WordSetShortDto>>... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class tentacle : MonoBehaviour {
public Water bossWater;
private Animator anim;
public bool poke;
// Use this for initialization
void Start () {
anim = GetComponent<Animator> ();
if (poke) {
anim.SetTrigger ("poke");
}... |
using HCL.Academy.DAL;
using HCL.Academy.Model;
using HCLAcademy.Util;
using System;
using System.Collections.Generic;
using System.Web.Http;
using Microsoft.ApplicationInsights;
using System.Diagnostics;
namespace HCL.Academy.Service.Controllers
{
/// <summary>
/// This service exposes all the methods relate... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Data.Entity;
using System.Text;
using System.Threading.Tasks;
using SincolPDV.Dominio;
using System.Data.Entity.ModelConfiguration.Conventions;
namespace SincolPDV.Repositorio.Compartilhado
{
public class Contexto : DbContext
{
... |
using UnityEngine;
public class ButtonClose : MonoBehaviour {
public void Close()
{
gameObject.transform.parent.gameObject.SetActive(false);
}
}
|
using Microsoft.AspNet.Identity;
using System.Threading.Tasks;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.Identity.EntityFramework;
using Drill_Sim.Models;
using System.Collections.Generic;
namespace Drill_Sim.Hubs
{
public class TrackHub : Hub
{
// To manipulate db asynchronous... |
namespace Crt.Model.Dtos.Tender
{
public class TenderCreateDto : TenderSaveDto
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
namespace Subb_Lab_14
{
// My collection – dictionary (hash-table).
class MyDictionary<K, T> : IEnumerable
{
// Array of the DicPoint elements (hash-table)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.