text stringlengths 13 6.01M |
|---|
using UnityEngine;
using System.Collections;
public class bulletManager : MonoBehaviour {
public int bulletSpeed = 1000;
public int bulletDamage = 25;
public int bulletAliveTime = 8;
Rigidbody rigid;
Vector3 movement;
// Use this for initialization
void Start () {
rigid = this.g... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess.NHibernateHelper;
using Domain.Entity;
using DataAccess.AbstractRepository;
using NHibernate;
namespace DataAccess.Repository
{
public class RefundRepository : NHibRepository<Refund>, IRefundRepositor... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data;
using System.Xml;
namespace ServiceManager
{
public class XMLClass
{
/// <summary>
/// 读取服务列表
/// </summary>
/// <returns></returns>
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Paypal_API.Models
{
public class TransactionModel
{
public string name { get; set; }
public string Street1 { get; set; }
public string Street2 { get; set; }
public string CityName { g... |
namespace FlWaspMigrator.Support
{
public interface IStaticData
{
byte[] GetWaspFlFst();
byte[] GetWaspVstFst();
}
} |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.EntityFrameworkCore
{
/// <summary>
/// Marks a type as keyless entity.
/// </summary>
[Attribute... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace LoggerProxy.App.Controllers
{
[ApiController]
[Route("[controller]")]
public class FooController : ControllerBase
{
pri... |
namespace UserVoiceSystem.Web.ViewModels.Comments
{
using System;
using System.Web.Mvc;
using Data.Models;
using Infrastructure.Mapping;
public class CommentGetViewModel : IMapFrom<Comment>
{
[HiddenInput(DisplayValue = false)]
public int Id { get; set; }
public string... |
namespace Kraken.Services
{
using System;
using Microsoft.Extensions.OptionsModel;
using Octopus.Client;
using Octopus.Client.Model;
public class OctopusAuthenticationProxy : IOctopusAuthenticationProxy
{
public OctopusAuthenticationProxy(IOptions<AppSettings> settings)
{
... |
using System;
using Common;
using Common.Geometry;
using OcTreeLibrary;
using OpenTK;
using SimpleShooter.Graphics;
namespace SimpleShooter.Core
{
public class GameObject : IOctreeItem
{
public long Id { get; set; }
public SimpleModel Model { get; set; }
public ShadersNeeded ShaderKi... |
namespace ServiceBase.Json
{
using Newtonsoft.Json.Serialization;
public class UnderscorePropertyNamesContractResolver :
DefaultContractResolver
{
public UnderscorePropertyNamesContractResolver() : base()
{
}
protected override string ResolvePropertyName(string pro... |
using System;
using LearningEnglishWeb.Areas.Training.Infrastructure.Facades.Abstractions;
using LearningEnglishWeb.Areas.Training.Infrastructure.Factories;
using LearningEnglishWeb.Areas.Training.Models.TranslateWord;
using LearningEnglishWeb.Areas.Training.Services;
using LearningEnglishWeb.Areas.Training.ViewModels... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.ServiceModel;
using EPiServer.Events.ServiceModel;
using HansKindberg.EPiServer.ServiceModel;
using log4net;
namespace HansKindberg.EPiServer.Events.Providers
{
public abstract class EventProvider<T> : global::EPiServer.Events.Providers.EventProvider ... |
using System.Collections.Generic;
using UnityEngine;
namespace FairyGUI
{
public class BitmapFont : BaseFont
{
public class BMGlyph
{
public int x;
public int y;
public int offsetX;
public int offsetY;
public int width;
pu... |
namespace Sample.Domain.Shared
{
public enum Status { Initiated, InProgress, Completed, Canceled }
}
|
using System.Linq;
using System.Text;
namespace Service
{
/// <summary>
/// Provides extension methods for working with <see cref="IMessage" />
/// </summary>
public static class MessageExtensions
{
/// <summary>
/// Dumps the message and the values of it's public properties to a... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Text.Json;
using System.Text.Json.Serialization;
using BuildXL.Cache.ContentStore.Interfaces.Logging;
using BuildXL.Cache.Monitor.App.Notifications;
namespace BuildXL.Cache.Monitor.App
{
internal class LogWriter<T> ... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_MaterialPropertyBlock : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
MaterialPropertyBlock o = new MaterialPropertyBlock();
LuaObject.push... |
using System;
using System.Linq;
using System.Xml.Serialization;
namespace Swiddler.Security
{
/// <summary>
/// Wraps up the client SSL hello information.
/// </summary>
public class SslClientHello : SslHelloBase
{
public int[] Ciphers { get; set; }
[XmlIgnore] public byte[] Comp... |
using System;
public class Program
{
public static void Main()
{
var literLinesCount = int.Parse(Console.ReadLine());
var waterTankCapacity = 255;
var totalWater = 0m;
for (int i = 0; i < literLinesCount; i++)
{
var currentWaterLiters = int.Parse(Console.R... |
using System;
using RestSharp.Deserializers;
namespace Jira.NET.Models
{
public class JiraSubTask
{
[DeserializeAs(Name = "id")]
public string Id { get; set; }
[DeserializeAs(Name = "type")]
public Type Type { get; set; }
[DeserializeAs(Name = "outwardIssue")]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chpoi.SuitUp.Service
{
//图片服务
public interface ImageService
{
bool SendImage(string path);
bool SendNewImage(string path);
string GetServerMessage();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace Unity_Decoupler
{
public interface IUnityDecoupler
{
/*
Add an update frame event listsener
@param onUpdateFrame is a methode that is called each frame
... |
using UnityEngine;
public class OpenDoorController : MonoBehaviour
{
#region Fields
[SerializeField] private GameObject _toggledGameObject;
#endregion
#region UnityMethods
private void OnTriggerEnter(Collider other)
{
var animator =_toggledGameObject.GetComponent<Animator>();
... |
using System;
namespace TeamElem.Security.Cryptography
{
[Serializable]
public abstract class PrivateKey
{
public PublicKey PublicKey => GetPublicKey();
public override string ToString() => GetPublicKey().ToString();
protected abstract PublicKey GetPublicKey();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MenuShow
{
class MenuLeaf: MenuBase
{
protected MenuBase ParentLeaf { get; set; }
protected List<MenuBase> ChildLeafs { get; set; }
public string Na... |
using UnityEditor;
using UnityEngine;
using System.Collections;
using AorFramework.module;
using YoukiaUnity.CinemaSystem;
using YoukiaUnity.Graphics;
[CustomEditor(typeof(SubCameraInfo))]
public class SubCameraInfoEditor : Editor
{
public override void OnInspectorGUI()
{
// base.OnInspectorGUI();
... |
using RestSharp;
using Starwars.OAuth2Client.Entities;
using Starwars.OAuth2Client.Interfaces;
using System.Text.Json;
using System.Threading.Tasks;
namespace Starwars.OAuth2Client
{
public class OAuth2Client : IOAuth2Client
{
public async Task<Token> GetTokenAsync(string url, string clientId, string ... |
using System.Collections.Generic;
using System.Data;
namespace PDTech.OA.BLL
{
/// <summary>
/// 公文类型定义字典表
/// </summary>
public partial class OA_ARCHIVE_TYPE
{
private readonly PDTech.OA.DAL.OA_ARCHIVE_TYPE dal = new PDTech.OA.DAL.OA_ARCHIVE_TYPE();
public OA_ARCHIVE_TYPE()
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace p528___Secret_Ingredients
{
public partial class Form1 : Form
{
Amy amy;
Suzanne suzanne;
Ge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace Assets.Scripts.Entities {
[RequireComponent(typeof(Collider2D))]
public class Coin : Entity {
void OnTriggerEnter2D(Collider2D bumper) {
if ( objective == null )
... |
namespace AllSongsQueryLINQ
{
using System;
using System.Linq;
using System.Xml.Linq;
class ExtractAllSongs
{
static void Main()
{
XDocument document = XDocument.Load("../../../Lib/xml/catalogue.xml");
var songsTitlesCollection =
from song ... |
// Accord Math Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2015
// cesarsouza at gmail.com
//
// 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... |
using FatCat.Nes.OpCodes.AddressingModes;
namespace FatCat.Nes.OpCodes.Transfers
{
public class TransferStackPointerToXRegister : TransferOpCode
{
public override string Name => "TSX";
protected override byte TransferFromItem => cpu.StackPointer;
protected override byte TransferTooItem
{
get => cpu.XReg... |
//#define CHECK
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
namespace GomokuEngine
{
class Sorting
{
BothPlayerEvaluation[] evaluation;
int[] scoreTable;
int score;
int[] firstItem;
int[] previousItem;
int[] n... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Imaging;
using System.Windows.Media;
using System.Windows;
namespace ServerKinect.Video
{
public class RgbImageSourceFactory : IImageFactory
{
public RgbImageSourceFactory()
... |
#region Copyright Syncfusion Inc. 2001-2015.
// Copyright Syncfusion Inc. 2001-2015. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// a... |
using System;
namespace NoteTaker1.Converters
{
public class BooleanConverter : ValueConverterBase<object,bool>
{
protected override bool ConvertValue(object input, object parameter){
if (input.ToString().ToLower() == "true")
return true;
else
return false;
}
protected override object ConvertVa... |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using WMagic;
using WMaper.Base;
namespace WMaper.Misc.View.Core
{
public sealed partial class Tips : UserControl
{
#region 变量
private bool make;
private WMaper.... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExperianOfficeArrangement.Models
{
[TestClass]
public class ChairTests
{
[TestClass]
public class CtorTests
... |
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
using CardinalInventoryWebApi.Data.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Group : MonoBehaviour {
private List<Unit> unitsList = new List<Unit>();
private Unit commander;
private GameObject ghostHolder;
public GameObject unitGO, ghostGO;
private Transform centerGO; // TODO only serves debugging... |
using UnityEngine;
using System.Collections;
public class InstructionsMenu : MonoBehaviour {
// GUI style for the background
public GUIStyle backgroundStyle;
// GUI style for the back button
public GUIStyle backButtonStyle;
void OnGUI()
{
GUI.Box(new Rect(0, 0, Screen.width, Screen.hei... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
namespace CMS_Tools.Lib
{
/// <summary>
/// Google lib login
/// </summary>
public class GoogleLib
{
/// <summary>
/// Get Confi... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BaseHierarchicalQueryOver.cs" company="CGI">
// Copyright (c) CGI. All rights reserved.
// </copyright>
// ----------------------------------------------------------------------... |
using System.Collections.Generic;
using Psub.DTO.Entities;
namespace Psub.DataService.Abstract
{
public interface ICatalogMainSectionService
{
PublicationMainSectionDTO GetCatalogSectionDTOById(int id);
PublicationMainSectionDTO GetCatalogSectionDTOByName(string name);
IEnumerable<Publ... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SFP.Persistencia.Dao;
using SFP.Persistencia.Model;
using SFP.SIT.SERV.Model.RESP;
namespace SFP.SIT.SERV.Dao.RESP
{
public class SIT_RESP_TURNARDao ... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class dragDrop : MonoBehaviour {
public GameObject gameControl;
private bool dragging = false;
private float distance;
GameObject drag;
float shelf0x;
float shelf1x;
float shelf2x;
float shelf3x;
float shelf4x;
float shelf5x;
float... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Identity;
namespace HseClass.Data.Entities
{
public class User : IdentityUser<int>
{
public string Name { get; set; }
public List<UserClass> UserClasses { get; set; } = new List<UserClass>();
public List<SolutionLab... |
// Copyright (c) 2011 - OJ Reeves & Jeremiah Peschka
//
// This file is provided to you 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
//
// Unles... |
namespace UserStorageServices.Notification
{
internal interface INotificationSerializer
{
string Serialize(NotificationContainer container);
NotificationContainer Deserialize(string container);
}
}
|
using MyCashFlow.Web.Infrastructure.Automapper;
using MyCashFlow.Web.ViewModels.Shared;
using Rsx = MyCashFlow.Resources.Localization.Views;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System;
namespace MyCashFlow.Web.ViewModels.Transaction
{
public class TransactionCreateVie... |
using System;
using System.Collections.Generic;
using System.IO;
using ChesterDevs.Core.Aspnet.App.RemoteData;
namespace Tests
{
public class HttpWrapperFake : IHttpWrapper
{
private Stream _getDataSource;
public List<string> UrlRequests = new List<string>();
public void SetupGetData(... |
namespace WpfAppAbit2.Models
{
/// <summary>
/// уровень бюджета
/// </summary>
public class LevelBudget : SimpleClass
{
}
}
|
using System.ComponentModel.DataAnnotations;
namespace ToDoApp.Api.Dtos.List
{
public class ListPostDto
{
/// <summary>
/// Title of list
/// </summary>
[Required]
public string Title { get; set; }
/// <summary>
/// Background color of list
/// <... |
using System;
using System.Windows.Forms;
namespace MH_Database
{
public partial class Language_Selection : Form
{
public string lang = "\0";
public bool closedByProgram = false;
public Language_Selection()
{
InitializeComponent();
}
private void Fr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Response Staff
/// </summary>
public class Results
{
public string status { get; set; }
public string message { get; set; }
public string result { get; set; }
public string type { get; set; }
} |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace WebApplication.Models
{
public class Category : PublicKeyEntity
{
[Required]
public string CategoryName { set; get; }
public virtual ICollection<Post> Posts { set; get; } = new HashSet<Post>();
... |
using System;
using System.Collections.Generic;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
namespace MCC.Utility.Net
{
public class WebSocketClient : ILogged
{
protected ClientWebSocket client;
/// <summary>
/// 接続しているかどうか
/// </summary>
pu... |
/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd. 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 r... |
using System;
using System.Collections.Generic;
using System.Text;
using FastSQL.Sync.Core.Enums;
namespace FastSQL.Sync.Core.Processors
{
public class PromotionAttributeProcessor : IProcessor
{
public string Id => "promotion_attribute_VQXNPkddwQW7Ea419Py/lmPlA==";
public string Na... |
using System.Drawing;
using System.Collections.Generic;
namespace ZiZhuJY.ImageHandler
{
public class TextWatermarker : Watermarker
{
#region Properties
private string watermarkText;
public string WatermarkText
{
get
{
return watermarkTe... |
namespace DpiConverter.Data
{
using System;
using System.Collections.Generic;
using Helpers;
internal class Observation
{
private string featureCode = string.Empty;
private string targetPoint;
private double targetHeight;
private double horizontalAngle;
priv... |
using System;
using System.IO;
using cloudfiles.contract;
namespace cloudfiles.blockstore
{
internal class BlockStore
{
private const int DEFAULT_BLOCK_SIZE = 100*1024;
private readonly BlockGroup_operations _groupOps;
private readonly BlockGroupHead_operations _headOps;
priva... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Ai
{
public enum AiState
{
Unknown = -1, // 사용하면 안됨.
Sleep, // Ai가동되기 전 첫 상태
Move, // 의미없는 움직임
Chase, // 공격을 위해 적 쫓아가는 상태
Charge, // MP 부족해서 충전해야하는 상태
La... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Shake : MonoBehaviour
{
public Animator _camAnimator;
public void AttackShake()
{
_camAnimator.SetTrigger("AttackShake");
}
}
|
using StockData.Contract;
using StockData.Data;
using System;
using System.Collections.Generic;
using System.Text;
namespace StockData.Repository
{
public static class Mapper
{
public static ProductDto Map(Product entity)
=> new ProductDto
{
Id = entity.ProductId,
... |
using System.Web;
using System.Web.Mvc;
using MooshakPP.Handlers;
namespace MooshakPP
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new CustomHandlerAttribute());
}
}
}
|
using System;
using System.Collections.Generic;
class DayFive {
public void Run(){
List<string> strList = Input.GetStrings("input_files/Day05.txt");
List<Pass> passList = GetPassList(strList);
List<int> openSeats = FindOpenSeats(passList);
openSeats.ForEach(Console.WriteLine);
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.OpenApi.Models;
using Microsoft.OpenApi.Readers;
using Swaggelot.Models;
namespace Swaggelot.OpenApiCollector
{... |
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace Runpath.Common.HttpProcessor
{
public class HttpRequestBuilder
{
private HttpMethod _method = null;
private string _requestUri = "";
private rea... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Audio.Tracks
{
public class musicController : MonoBehaviour
{
[SerializeField] private deviceMusicListing DeviceMusicListing;
[SerializeField] private serverMusicListing ServerMusicListing;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Metrics;
namespace MetricsDemo
{
public class MetricsKey
{
public static Meter OrderCount
{
//建议MetricsKeyName命名规范:Solution名或应用名+MetricsName
get { ... |
using Ghost.Extensions;
using System;
using UnityEngine;
namespace RO
{
[CustomLuaClass]
public class AnimatorPlayer : MonoBehaviour
{
[CustomLuaClass]
public class Params
{
public string stateName;
public int layer;
public float normalizedTime;
public float speed = 1f;
}
public Animator[]... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Monogram.cs
{
class Program
{
static void Monogram(char a, char b, char c)
{
Console.WriteLine("** {0}.{1}.{2}. **", a, b, c);
}
static void Main(string[] args)
... |
// ----------------------------------------------------------------------------------------------------------------------------------------
// <copyright file="DequeueOnlyQueue.cs" company="David Eiwen">
// Copyright © 2016 by David Eiwen
// </copyright>
// <author>David Eiwen</author>
// <summary>
// This file contai... |
using System.Collections.Generic;
using ReadyGamerOne.Common;
namespace DialogSystem.ScriptObject
{
[ScriptableSingletonInfo("DialogCharacters")]
public class DialogCharacterAsset:ScriptableSingleton<DialogCharacterAsset>
{
public List<string> characterNames=new List<string>();
}
} |
using System;
using Newtonsoft.Json;
namespace Core.Internal.Newtsoft.Json.Converters
{
public class ArrayOrSinglePropertyConverter<TDto> : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return false;
}
public override object ReadJson(JsonReader... |
using UnityEngine;
using System.Collections;
public class Water : Photon.MonoBehaviour {
[SerializeField]
float movementSpeed = 0;
public bool canMove = false;
Vector3 realPosition;
// Use this for initialization
void Awake()
{
realPosition = transform.position;
}
// Update is called once per frame
v... |
// ===== Enhanced Editor - https://github.com/LucasJoestar/EnhancedEditor ===== //
//
// Notes:
//
// ============================================================================ //
using System;
namespace EnhancedEditor {
/// <summary>
/// Multiple <see cref="Enum"/>-related extension methods.
/// </sum... |
using Opbot.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Opbot.Tests
{
public class CmdTests
{
[Fact]
[Trait("Category", "Unit")]
public void Cmd_WhenRun_ShouldEcho()
{
... |
using System.Collections.Generic;
namespace Binocle.Processors
{
public class PassiveProcessor : EntityProcessor
{
public override void OnChange(Entity entity)
{
// We do not manage any notification of entities changing state and avoid polluting our list of entities as we want to ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading.Tasks;
namespace BlazorApp.Services
{
public class BuildingAppService : IBuldingAppService
{
private readonly HttpClient httpClient;
public BuildingAppS... |
namespace JqD.Common.Command.SystemManage
{
public class UpdateUserCommand
{
public int Id { get; set; }
public string Password { get; set; }
}
}
|
using LuaInterface;
using RO;
using SLua;
using System;
public class Lua_RO_CoreEvent : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int get_typeID(IntPtr l)
{
int result;
try
{
CoreEvent coreEvent = (CoreEvent)LuaObject.checkSelf(l);
LuaObject.pushValue(l, true);
LuaObject.... |
using System.Collections.Generic; using System;
using System.Text;
using BrainDuelsLib.threads;
namespace BrainDuelsLib.view
{
public interface GamesChallengesLobbyControl
{
void SetSelectUserCallback(Action<int> action);
void SetOnEnterGameAsPlayerCallback(Action<Game> action);
voi... |
using System;
using System.Collections.Generic;
using System.Linq;
using log4net;
using Plus.Communication.Packets.Outgoing.Inventory.Achievements;
using Plus.Communication.Packets.Outgoing.Inventory.Purse;
using Plus.Database.Interfaces;
using Plus.HabboHotel.GameClients;
using Plus.HabboHotel.Users.Messenger... |
/********************************************************************
* FulcrumWeb RAD Framework - Fulcrum of your business *
* Copyright (c) 2002-2010 FulcrumWeb, ALL RIGHTS RESERVED *
* *
* THE SOURCE CODE CONTAINED WITHIN THI... |
/**************************************************************************
*
* Filename: ShellShortcut.cs
* Author: Mattias Sjögren (mattias@mvps.org)
* http://www.msjogren.net/dotnet/
*
* Description: Defines a .NET friendly class, ShellShortcut, for reading
* and writing shortc... |
using System.Data.Entity.ModelConfiguration;
using SSW.DataOnion.Sample.Entities;
namespace SSW.DataOnion.Sample.Data.Configurations
{
public class StudentConfigurations : EntityTypeConfiguration<Student>
{
public StudentConfigurations()
{
this.HasKey(m => m.Id);
this.I... |
using CandidateTesting.RicardoCastroMartin.Infra.Interfaces;
using System.Text;
namespace CandidateTesting.RicardoCastroMartin.Test
{
public class MockLogClient : ILogClient
{
public string GetString()
{
StringBuilder sb = new StringBuilder();
sb.Append("312|200|HIT|\"G... |
using UnityEngine;
using System.Collections.Generic;
public class Targetting : MonoBehaviour
{
public static Targetting instance;
public List<Transform> allTargets;
public Transform currentTarget;
//[HideInInspector]
public bool hasTurned = false;
public float munchDuration = 1.0f;
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using AutoMapper;
using SaleShop.Model.Models;
using SaleShop.Service;
using SaleShop.Web.Models;
namespace SaleShop.Web.Controllers
{
public class PageController : Controller
{
private IPageServ... |
using System;
using ORMHandsOn;
namespace Test.ORM.Infrastructure
{
/// <summary>
/// Feeds the database with some initial data
/// </summary>
public class TestDataSeeder
{
public void SeedDatabaseWithStudentEnrolledInCourses(int id, string studentName, int numberOfCourses)
{
... |
// 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 Newtonsoft.Json;
/// <summary>
/// Scribble.rs ♯ data namespace
/// </summary>
namespace ScribblersSharp.Data
{
/// <summary>
/// A class that describes a sendable "clear-drawing-board" game message
/// </summary>
[JsonObject(MemberSerialization.OptIn)]
internal class ClearDrawingBoardSendGa... |
using Common;
using Common.Graphics;
namespace OcTreeRevisited
{
class RenderEngine : AbstractRenderEngine
{
public RenderEngine(int width, int height, AbstractPlayer player)
: base(width, height, player, 900)
{
}
protected override void PreRender()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Problem02StudentsAndWorkers
{
class Worker : Human
{
public double WeekSalary { get; set; }
public int WorkHoursPerDay { get; set; }
public Worker() { }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GoalManSettings
{
public class RequestResult
{
public string source { get; set; }
public string resolvedQuery { get; set; }
public string action { g... |
using System;
namespace Domain.Entities {
public class DetailOrder {
public Guid IdDetailOrder { get; set; }
public Guid IdOrder { get; set; }
public Guid IdProducts { get; set; }
public int TotalProducts { get; set; }
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.