text stringlengths 13 6.01M |
|---|
using NTier.Model.Model.Entities;
using NTier.Service.Service.Option;
using NTier.UI.Areas.Admin.Models;
using NTier.UI.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace NTier.UI.Areas.Admin.Controllers
{
[Role("Admin")]
public cla... |
using UnityEngine;
using System.Collections;
public class FPSCameraMovement : MonoBehaviour {
void Update () {
var directionVector = new Vector3(Input.GetAxis("Horizontal"), 0, Input.GetAxis("Vertical"));
if(directionVector != Vector3.zero){
transform.Translate(new Vector3(Input.GetAxi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Webcorp.lib.onedcut
{
public class BeamStock
{
public BeamStock()
{
}
public BeamStock(int length,int cost)
{
this.Length = length... |
using Innouvous.Utils.MVVM;
using System;
using System.ComponentModel;
using System.Linq;
using System.Windows;
using System.Windows.Data;
using ToDo.Client.Core.Tasks;
using System.Collections.ObjectModel;
using System.Windows.Input;
using Innouvous.Utils;
namespace ToDo.Client.ViewModels
{
public class History... |
using System;
using Models;
using System.Collections.Generic;
using BL;
namespace UI
{
public class MainMenu: IMenu
{
private IPetBL _petbl;
public MainMenu(IPetBL bl)
{
_petbl = bl;
}
public void Start(){
... |
using DataLayer.Models;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
namespace DataLayer
{
public class ProductsDAO
{
//Dependencies
private string connectionString;
//Basic Constructor
public ProductsDAO(string connString)
... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace WarehouseService.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Product",
... |
using CodeOwls.PowerShell.Paths;
using CodeOwls.PowerShell.Provider.PathNodeProcessors;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using TreeStore.Model;
namespace TreeStore.PsModule.PathNodes
{
/// <summary>
/// Categorizes a set of <see cref="Entit... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace COM3D2.SimpleUI.Implementation
{
public interface ILayoutComponent
{
GameObject gameObject { get; }
Vector2 position { get; }
Vector2 size { get; }
void SetSize(Ve... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace DotNetNuke.HttpModules.RequestFilter
{
public enum RequestFilterRuleType
{
Redirect,
PermanentRedirect,
NotFound... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Labra4
{
public class Radio
{
private int VolumeApu;
private int Volumemin = 0;
private int Volumemax = 9;
public bool Päällä { get; set; }
publi... |
using System;
using System.Collections.Generic;
using System.Text;
/**
*
* name : IMemberRepositories.cs
* author : Aleksy Ruszala
* date : 29/04/2019
*
* */
namespace Application.Repo.Contracts
{
interface IMemberRepositories
{
}
}
|
namespace SFA.DAS.Notifications.Infrastructure.Configuration
{
public class NotificationServiceConfiguration
{
public string NotificationServiceApiKey { get; set; }
public string DatabaseConnectionString { get; set; }
public SmtpConfiguration SmtpConfiguration { get; set; }
publ... |
using UnityEngine;
using UnityEditor;
using System.Collections;
[ExecuteInEditMode]
[System.Serializable]
public class SimpleChainConstraintCS : MonoBehaviour
{
[SerializeField]
private float minDistance = 0.5f;
[SerializeField]
private float maxDistance = 2.0f;
// smooth the chain element's pos... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlayTennis.Model.Dto
{
public class PurposeCommunicationDto
{
public UserInformation UserInformation { get; set; }
public IList<PurposeCommunication> PurposeCommunicati... |
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.SqlClient;
namespace GUI.GUI
{
public partial class Login : Form
{
pub... |
using JekossTest.Dal.Common;
using JekossTest.Dal.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace JekossTest.Dal.Configurations
{
public class RoleConfiguration : DbEntityConfiguration<Role>
{
public override void Configure(EntityTypeBuild... |
namespace Triton.Game.Mapping
{
using ns26;
using System;
using Triton.Game;
using Triton.Game.Mono;
[Attribute38("AssetBundleInfo")]
public class AssetBundleInfo : MonoClass
{
public AssetBundleInfo(IntPtr address) : this(address, "AssetBundleInfo")
{
}
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using ETravel.Coffee.DataAccess.Interfaces;
using Order = ETravel.Coffee.DataAccess.Entities.Order;
namespace ETravel.Coffee.DataAccess.Repositories
{
public class OrdersRepository : Repository, IOrdersRepository
{
public virtual IList<Order> All(... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using CT.Data;
using CT.Manager;
namespace CT.UI
{
public class InteractGridManager : GridManager
{
public override Color NowBuildingHereColor => tileValidColor;
public override Color StartBuil... |
using System.Collections.Generic;
using System.Threading.Tasks;
using StoreDB.Models;
using StoreDB.Repos;
namespace StoreLib
{
public class ProductService
{
private IProductRepo repo;
public ProductService(IProductRepo repo)
{
this.repo = repo;
}
public L... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
////////////////////////////////////////////////////////////////////////////////
// *** A callback is never published. It’s private, and the method that’s *** //
// *** doing the calling keeps tight control over who it’s calling. ... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using MonoGame.Extended;
using MonoGame.Extended.BitmapFonts;
using MonoGame.Extended.ViewportAdapters;
namespace Demo.BitmapFonts
{
public class Game1 : Game
{
private Texture2D _backgroundText... |
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ProtocolCS;
using ProtocolCS.Constants;
using GSF;
using GSF.Concurrency;
namespace Server.Ingame
{
using AI;
class GameProc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebApplication1
{
public partial class ajax : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BerlinClock.Classes.Time
{
public interface IBerlinTime
{
string ReturnBerlinPointer(string time);
}
}
|
using Code;
using NUnit.Framework;
using Rhino.Mocks;
namespace Tests
{
class AutomaticUmbrellaTests
{
private IWetWeather _mockRain;
private AutomaticUmbrella _umbrella;
[SetUp]
public void Init()
{
_mockRain = MockRepository.GenerateMock<IWetWeather>();
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace GetLabourManager.Models
{
public class GangSheetItems
{
public int Id { get; set; }
public string StaffCode { get; set; }
public int Group ... |
using UnityEngine;
using System.Collections.Generic;
using System;
using System.Linq;
public class DisplayController: MonoBehaviour {
public float cycleTime = 10f;
public ScreenList screenList;
public static int instagramTimeFilter = 72;
public static int twitterTimeFilter = 72;
private GameObject _displayCo... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace REQFINFO.Website.Infrastructure
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class CustomAu... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using PlankCooking.Models;
namespace PlankCooking.Api {
[Produces("application/json")]
[Route("api/v1/plankcooking")]
public class PlankcookingController:Co... |
using OnlineExaminationSystem.Core.DataAccess;
using OnlineExaminationSystem.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace OnlineExaminationSystem.DataAccess.Abstract
{
public interface IQuestionDal : IEntityRepository<Question>
{
}
}
|
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text.RegularExpressions;
using Lucene.Net.Analysis;
using Lucene.Net.Analysis.Standard;
using Lucene.Net.Documents;
using Lucene.Net.Index;
using Lucene.Net.QueryParsers;
using Lucene.Net.Search;
using Lucene.Net.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class PlayManager : Singleton<PlayManager>
{
public TextMeshProUGUI winnerText;
public InputManager inputManager;
[HideInInspector]
public SetupManager setupManager;
public bool IsPlaying { private ... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Runtime.InteropServices;
using Newtonsoft.Json;
using System.Text;
using System.Reflection;
namespace FSHook {
public class ServerInterface : MarshalByRefObject {
public void IsInstalled (int clientP... |
using Figuras.Entidades;
using Figuras.Entidades.Enums;
using System;
using System.Collections.Generic;
namespace Figuras
{
class Program
{
static void Main(string[] args)
{
Figura figura;
List<Figura> figuras = new List<Figura>();
Console.Write("Quantas f... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace LotteryWebService
{
public class UserInfo
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string PhoneNumber { get; set; }
public string EmailId { ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CommonLib
{
public interface ISampleInterface
{
void SampleMethod();
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace IMS_Entity_Framework_DB_First_Approach.Models
{
public class ProductMetaData
{
public int ProductId { get; set; }
[Required, MaxLength(5, ErrorMessage ="... |
using System.Collections.Generic;
using System.Windows.Navigation;
using System.Windows.Controls;
using System.ComponentModel;
using System.Diagnostics;
using System.Windows;
using System.Linq;
using System.Net;
using System;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using PopupManager.Resources;
... |
//------------------------------------------------------------------------------
// 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;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using DemoStandardProject.Data;
using DemoStandardProject.DTOs;
using DemoStandardProject.Models.ServiceResponse;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using DemoStandardPro... |
namespace WebsitePerformance.DAL.EF
{
using System;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using WebsitePerformance.ContractsBetweenBLLandDAL.Entities;
using System.Data.SqlClient;
public partial class WebsitePerformanceModel : DbCon... |
using System;
using System.Collections.Concurrent;
using System.Linq;
using Core.Internal.Dependency;
using LinqToDB.Data;
using Core.Services;
#if DEBUG
using System.Threading;
using System.Diagnostics;
#endif
namespace Core.Internal.LinqToDB
{
public class DataConnectionFactory : IDisposable, IDataConnectionFa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class BackButton : MonoBehaviour {
private Button backButton;
void Awake()
{
backButton = GetComponent<Button>();
}
void Start()
{
backButton.o... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace PaderbornUniversity.SILab.Hip.EventSourcing.Mongo
{
/// <summary>
/// Provides read/write access to a Mongo database.
/// Each <see cref="ResourceType"/> corresponds to one collection in the database.
/// </summary>
publi... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class HealthController : MonoBehaviour {
//this was for that scene where we werent using the scale.
//not in the game
public Image health;
public float totalHealth = 1f;
// Use this for initialization
void Start () {
}
// Update ... |
// 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... |
using System;
using System.Collections.Generic;
namespace MADSPack.Compression
{
public class MadsPackEntry
{
public MadsPackEntry()
{
}
public short getHash()
{
return hash;
}
public void setHash(short hash)
{
this.hash = hash;
}
public int getSize()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using g = GSShared;
namespace GSShared
{
public class Exceptions
{
public static void Catch(string strException)
{
throw new Exception(strException);
}
}... |
namespace Standard
{
using System;
internal enum DWMWA
{
ALLOW_NCPAINT = 4,
CAPTION_BUTTON_BOUNDS = 5,
DISALLOW_PEEK = 11,
EXCLUDED_FROM_PEEK = 12,
EXTENDED_FRAME_BOUNDS = 9,
FLIP3D_POLICY = 8,
FORCE_ICONIC_REPRESENTATION = 7,
HAS_ICONIC_BITM... |
using System.Data.Entity.ModelConfiguration;
using RMAT3.Models;
namespace RMAT3.Data.Mapping
{
public class SectionQuestionAnswerTypeMap : EntityTypeConfiguration<SectionQuestionAnswerType>
{
public SectionQuestionAnswerTypeMap()
{
// Primary Key
HasKey(t => t... |
using System.Collections.Generic;
using System.Xml;
namespace DipDemo.Cataloguer.Infrastructure.AppController.Environment
{
public interface IFileSystem
{
void Copy(string from, string to);
void Delete(string path);
bool Exists(string path);
IEnumerable<string> GetFiles(string ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SampleList;
using Microsoft.Pex.Framework;
using Microsoft.Pex.Framework.Settings;
using Microsoft.Pex.Framework.Exceptions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PexAPIWrapper;
namespace SampleL... |
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 TX.Framework.WindowUI.Forms;
namespace Ljc.Com.CjzfNews.UI.SubForm
{
public partial class News... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TeaseAI_CE.Settings
{
[Serializable]
public class Ranges
{
//Tease
public int minTeaseLength { get; set; } = 15;
public int maxTeaseLength { get; set; } = 60;
}
}
|
using System;
using KompasKeyboardPlugin;
using NUnit.Framework;
using NUnit.Framework.Constraints;
namespace UnitTests.KompasKeyboardPlugin
{
/// <summary>
/// Модульное тестирование класса KeyboardParameters.
/// </summary>
[TestFixture]
public class KeyboardParametersStorageTest
{
/... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using TheLastSlice.Managers;
using TheLastSlice.Models;
namespace TheLastSlice.Entities
{
//Ingredients/Toppings
... |
// Copyright 2021 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... |
using UnityEngine;
using System.Collections;
public class CameraScript : MonoBehaviour
{
GameObject CameraNode;
GameObject puppet;
float turnSpd = 45;
float verTurnSpd = 25;
float zoomSpd = 111;
float spdAdd = 1;
float scrollZoomFactor = 1;
float dist = 250;
float minDist = 3;
float maxDist = 600;
float t... |
namespace FloatingActionButtonXamarin
{
public interface IScrollDirectorListener
{
void OnScrollDown();
void OnScrollUp();
}
}
|
using AutoMapper;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Whale.API.Services.Abstract;
using Whale.DAL;
using Whale.DAL.Models;
using Whale.DAL.Settings;
using Whale.Shared.Exceptions;
using Whale... |
using System.Data.Entity.ModelConfiguration;
using RMAT3.Models;
namespace RMAT3.Data.Mapping
{
public class PartyCertificationMap : EntityTypeConfiguration<PartyCertification>
{
public PartyCertificationMap()
{
// Primary Key
HasKey(t => t.PartyCertificationId... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class Movimiento_pelota1 : MonoBehaviour {
public bool ver;
public bool hor;
public bool inicio;
public bool juego;
public bool gana_vida;
public float limite_v... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TDD
{
class BankAccount
{
static void Main(string[] args)
{
}
public static void Deposit(int amount) {
}
public static int Withdrawal(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FiasWebApi.Model
{
public interface ISearchRepository
{
IEnumerable<AddressObject> GetFullNameBySearchString(string searchString, int limit = 0);
IEnumerable<Words> GetWordsBySearchString... |
using System;
namespace Biggy
{
public class PrimaryKeyAttribute : Attribute
{
public PrimaryKeyAttribute(bool Auto)
{
this.IsAutoIncrementing = Auto;
}
public bool IsAutoIncrementing { get; private set; }
}
} |
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Automatron.Interfaces.Workflow.Nodes
{
/// <summary>
/// All workflow elements which contains Left connector / Input
/// </summary>
public interface IHasLeftPoint<TSettings> : IWorkflowElement<TSettings> where ... |
using System;
using System.ComponentModel;
using Abp.AutoMapper;
namespace MyCompanyName.AbpZeroTemplate.Card.Dtos
{
/// <summary>
/// 订单表编辑用Dto
/// </summary>
[AutoMap(typeof(Biz_CardInfo))]
public class Biz_CardInfoEditDto
{
/// <summary>
/// 主键Id
/// </summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Billboard : MonoBehaviour
{
public Transform cam;
private GameObject mainCamera;
void Start()
{
mainCamera = GameObject.FindGameObjectWithTag("MainCamera");
cam = mainCamera.transform;
}
... |
using System;
using System.Collections.Generic;
using System.IO;
namespace RO
{
[CustomLuaClass]
public class FileIOHelper
{
public static void AppendBytes(string path, byte[] datas, bool writeLength)
{
FileStream fileStream;
if (File.Exists(path))
{
fileStream = new FileStream(path, 6);
}
el... |
// GIMP# - A C# wrapper around the GIMP Library
// Copyright (C) 2004-2009 Maurits Rijk
//
// Selection.cs
//
// 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 of the... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EARQ = EAAddinFramework.Requirements;
using TSF.UmlToolingFramework.Wrappers.EA;
using RequirementsFramework;
using System.Net.Http;
namespace EAAddinFramework.Requirements.DoorsNG
{
public c... |
using Ghost.Extensions;
using System;
using UnityEngine;
namespace RO
{
[CustomLuaClass]
public class SceneInitializer : MonoBehaviour
{
public GameObject[] dontDestroyPrefabs;
public GameObject[] prefabs;
private void Awake()
{
if (!this.dontDestroyPrefabs.IsNullOrEmpty<GameObject>())
{
Transfo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MessingWithInterfaces
{
public interface IPokable
{
bool WasPoked { get; set; }
}
public class Person: IPokable
{
public string FirstName { get; set; }
... |
using System;
using System.ComponentModel.DataAnnotations;
namespace ImmedisHCM.Web.Models
{
public class CountryViewModel
{
public Guid Id { get; set; }
public string Name { get; set; }
public string ShortName { get; set; }
[Display(Name = "Country")]
public string Co... |
// -----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root
// for license information.
// </copyright... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Json
{
public class Text : IPattern
{
readonly string prefix;
public Text(string prefix)
{
this.prefix = prefix;
}
public IMatch Match(string text)
{
if(string... |
using System.Web;
using Idealize.Web.Models;
using Microsoft.AspNetCore.Http;
using Sistema.Arquitetura.Library.Core.Util.Security;
namespace Idealize.Web.Models
{
public static class SecurityHelper
{
public static ObjectSecurity GetObjectSecurity()
{
User obj = new User();
... |
using Imposto.Core.Service;
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 Imposto.Core.Domain;
using Imposto.Core.Data;
namespace TesteImposto
{... |
using System;
using System.Collections.Generic;
namespace App1
{
public interface IMp3Player : IDisposable
{
event EventHandler PlayMp3Completed;
string MP3Value { get; set; }
void Play();
void Pause();
void Stop();
void Seek(double position);
... |
using System;
using System.Text.RegularExpressions;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using WMagic;
using WMaper.Base;
using WMaper.Meta.Param;
using WMaper.Plat;
using WMaper.Proj.Epsg;
namespace WMaper.Protocol
{
/// <summary>
/// 天地图瓦片类
/// </summary>
public sealed cla... |
using System.Collections.ObjectModel;
namespace Hsp.Mvvm.UiModel
{
public class UiCommandPage : ObservableEntity
{
public ObservableCollection<UiCommandGroup> Groups { get; }
public string Caption
{
get { return GetAutoFieldValue<string>(); }
set { SetAutoFieldValue(value); }
}
... |
using System;
using System.Collections.Generic;
using System.Text;
using OCP.FullTextSearch.Model;
namespace OCP.FullTextSearch.Service
{
/**
* Interface IIndexService
*
* @since 15.0.0
*
* @package OCP\FullTextSearch\Service
*/
public interface IIndexService {
/**
* Create an Index
... |
using System;
namespace TaylorBurchLab5
{
class MainClass
{
public static void Main(string[] args)
{
string[] deck = new string[52];
string[] suite = { "Hearts", "Spades", "Diamonds", "Clubs" };
string[] valueNum = { "Ace", "2", "3", "4", "5", "6", "7", "8", "9", "10", "Jack", "Queen", "King" };
bo... |
using System;
namespace ControlStatements92
{
class Program
{
static void Main()
{
char ch;
for(ch='A'; ch <= 'E'; ch++)
switch (ch)
{
case 'A':
Console.WriteLine("ch is A");
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MyCore
{
public class CharacterCommandMoveToTarget : CharacterCommand
{
public CharacterCommandMoveToTarget(PlayerCharacter character) : base(character)
{
}
public override void OnStart()... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AppSettingsGenerator
{
internal class ConfigurationExtensionsModel
{
public ConfigurationExtensionsModel(string type, string propertyPath, string sanitizedName, string name)
{
Type = type;
Prop... |
using UnityEngine;
public class LaserBlast : Projectile
{
public float Speed { get; }
public float Duration { get; }
private float currentAge;
public LaserBlast(float speed,
float duration,
float damage,
float radius,
GameObject gameObject)
:base(damage, radi... |
namespace Decorator
{
public class BananaDecorator : PancakeDecorator
{
public BananaDecorator(Pancake pancake)
: base(pancake)
{
}
public override double CalculateCalories()
{
return this.Pancake.CalculateCalories() + 33.30;
}
p... |
using System;
using Service;
using MKModel;
using System.Collections.ObjectModel;
using ReDefNet;
using System.Runtime.Serialization;
using MKService.Updates;
namespace MKService.Messages
{
public class UserSignUp : MessageBase
{
[DataMember]
public string UserName { get; set; }
[DataM... |
// 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... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MPD.Entities.Domain
{
public partial class JobComment
{
public Guid JobCommentId { get; set; }
public Guid JobQuoteId { get; set; }
... |
using System.Diagnostics.CodeAnalysis;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Ioc;
using Microsoft.Practices.ServiceLocation;
using OltivaHotel.PCL.Design;
using OltivaHotel.PCL.Model;
using OltivaHotel.PCL.ViewModel;
using OltivaHotel.WP.Services;
namespace OltivaHotel.WP.ViewModel
{
public class Vie... |
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 Supervisoria___tcc
{
public partial class TelaEscolhas : Form
{
public TelaEsc... |
using PlatformRacing3.Server.API.Game.Commands;
using PlatformRacing3.Server.Game.Client;
namespace PlatformRacing3.Server.Game.Commands.Selector;
internal interface ICommandTargetSelector
{
public IEnumerable<ClientSession> FindTargets(ICommandExecutor executor, string parameter);
}
|
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace MyPage.Migrations
{
public partial class ListaExerciciosnaAtividade : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKe... |
namespace MFW.LALLib
{
public enum DeviceTypeEnum
{
NULL,
AUDIO_INPUT,
AUDIO_OUTPUT,
VIDEO_INPUT,
DEV_MONITOR,
APPLICATIONS
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// 敵のステータスクラス
/// </summary>
public class EnemyStatus : MonoBehaviour {
[SerializeField, Tooltip("攻撃力")]
private int m_attack = 10; //攻撃力
[SerializeField, Tooltip("防御力")]
private int ... |
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using HCL.Academy.Model;
using HCLAcademy.Controllers;
using System.Net.Http;
using System.Threading.Tasks;
using OfficeOpenXml;
using OfficeOpenXml.Style;
using System.IO;
using System.Configuration;
using Microsoft.ApplicationInsights;
using Syst... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.