content stringlengths 23 1.05M |
|---|
using UnityEngine;
using UnityEngine.Assertions;
public class ProjectionManagerRoomSample : MonoBehaviour
{
#region Field
public ProjectionManagerRoom projectionManager;
public Camera cameraFront;
public Camera cameraLeft;
public Camera cameraRight;
public Camera cameraBack;
public Camer... |
using Microsoft.AspNetCore.Mvc;
namespace FSL.eBook.RWP.ED2Core.DesignPatterns.UnitOfWorkChapter.Scenario2
{
public sealed class UnitOfWorkController :
Controller
{
private readonly IUnitOfWork _unitOfWork;
public UnitOfWorkController(IUnitOfWork unitOfWork)
{
_un... |
using FeedbackApi;
using Microsoft.EntityFrameworkCore;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddDbContext<FeedbackDbContext>(options =>
options.UseInMemoryDatabase(builder.Environment.ApplicationName));
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen(c =>... |
using EMS.Event_Services.API.Context.Model;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace EMS.Event_Services.API.Context.EntityConfigurations
{
class SubscriptionEntityTypeConfiguration
: IEntityTypeConfiguration<ClubSubscription>
{
public... |
namespace ZetaResourceEditor.UI.Helper.Grid
{
using DevExpress.XtraGrid.Views.Grid;
using Zeta.EnterpriseLibrary.Tools.Storage;
internal class FilterSerializer :
LayoutSerializerBase
{
public FilterSerializer(
GridView gridView,
IPersistentPairStorage storage,
... |
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Effects;
namespace Microsoft.Expression.Media.Effects
{
public sealed class ColorToneEffect : ShaderEffect
{
public ColorToneEffect()
{
base.PixelShader = new PixelShader
{
UriS... |
using System;
using System.Windows;
using Microsoft.Xaml.Behaviors;
namespace UtcTickTime.Behaviors
{
public class CleanupBehavior : Behavior<Window>
{
protected override void OnAttached()
{
base.OnAttached();
AssociatedObject.Closed += Closed;
}
... |
using System.Net.Mime;
using Microsoft.AspNetCore.Mvc;
using TotalDecoupling.BusinessLayer.Services.Interfaces;
namespace TotalDecoupling.Controllers;
[ApiController]
[Route("api/[controller]")]
[Produces(MediaTypeNames.Application.Json)]
public class ImageController : ControllerBase
{
private readonly IImageSer... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using YxFramwork.Common.Model;
using YxFramwork.Framework;
using YxFramwork.Framework.Core;
using YxFramwork.Manager;
using YxFramwork.View;
namespace Assets.Scripts.Hall.View.TaskWindows
{
public class TaskBindPhoneView : TaskBasseVie... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Extensions.Caching.Distributed;
namespace AwesomeCMSCore.Modules.Helper.Services
{
public interface ICacheService: IDistributedCache
{
}
}
|
using System;
using System.Collections.Generic;
using ClosedXML.Excel;
using KeySwitchManager.Domain.MidiMessages.Models.Aggregations;
namespace KeySwitchManager.Infrastructures.Storage.Spreadsheet.ClosedXml.KeySwitches.Translators
{
[Flags]
internal enum TranslateMidiMessageType
{
Status = 0x1,
... |
using System;
abstract class QuickSortProgram
{
public static void Main(System.String[] args)
{
System.Int32[] V_0;
int V_1;
bool V_2;
// No-op
System.String[] expr01 = args;
int expr02 = expr01.Length;
int expr03 = (Int32)expr02;
System.Int32[] e... |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ShopMenu : Overlay
{
[SerializeField]
private GameObject shopItemPanel = null;
private List<RectTransform> itemPanels = null;
private ShopItemCollection items = null;
public override void Initialize()
{
string jsonstring... |
namespace briefCore.Data.Maps
{
using Library.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
public class EditionInCategoryMap
{
public EditionInCategoryMap(EntityTypeBuilder<EditionInCategory> builder)
{
builder.ToT... |
using JoshMake;
class Program
{
static public void Configuration()
{
Project helloWorld = new Project("HelloWorld");
// Make and add msvc while turning on some flags.
var msvc = new msvc();
msvc.AddCompilerFlag(msvc.CompilerFlag.Warnings1);
//msvc.AddLinkerFl... |
namespace TheCrushinator.XamarinFormly.Models
{
public class AsyncValidators
{
}
}
|
using System;
namespace Tailviewer.Api
{
/// <summary>
/// Describes a column of a log file.
/// </summary>
/// <remarks>
/// TODO: Introduce required EqualityComparer
/// TODO: Introduce optional Comparer (for sorting)
/// </remarks>
public interface IColumnDescriptor
{
/// <summary>
/// ... |
// SharpMath - C# Mathematical Library
// Copyright (c) 2014 Morten Bakkedal
// This code is published under the MIT License.
using System;
using System.Collections.Generic;
namespace SharpMath.Optimization
{
/// <summary>
/// Represents a set of variables with some values assigned.
/// </summary>
pub... |
using Sandbox;
using System;
using System.Collections.Generic;
namespace guesswho.weapons
{
public partial class SMG : BaseWeapon
{
public override string ViewModelPath => "weapons/rust_smg/v_rust_smg.vmdl";
public override string Icon => "/ui/weapons/dm_smg.png";
public override int SlotLocation => 2;
pub... |
namespace NWaves.DemoForms
{
partial class AmsForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// ... |
namespace RoundsCardGameCP.Data;
[UseScoreboard]
public partial class RoundsCardGamePlayerItem : PlayerTrick<EnumSuitList, RoundsCardGameCardInformation>
{//anything needed is here
[ScoreColumn]
public int RoundsWon { get; set; }
[ScoreColumn]
public int CurrentPoints { get; set; }
[ScoreColumn]
... |
using System;
namespace Mariana.AVM2.Core {
/// <summary>
/// An object that can be used to access traits and dynamic properties in the global
/// scope of an application domain.
/// </summary>
/// <remarks>
/// The global object for an application domain can be obtained using the
/// <see... |
using Cybtans.Serialization;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
namespace Benchmark
{
public class ModelA
{
public int IntValue { get; set; } = 1;
public string StringValue { get; set; } = "Hellow World"... |
/*
* Pixel Anti Cheat
* ======================================================
* This library allows you to organize a simple anti-cheat
* for your game and take care of data security. You can
* use it in your projects for free.
*
* Note that it does not guarantee 100% protection for
* your game. If you are de... |
using System;
using Microsoft.Extensions.DependencyInjection;
namespace MyLab.Search.EsAdapter.SearchEngine
{
/// <summary>
/// Integration methods for <see cref="IServiceCollection"/>
/// </summary>
public static class SearchEngineIntegration
{
/// <summary>
/// Adds search engine... |
using System;
using Xamarin.Forms;
using SkiaSharp;
using SkiaSharp.Views.Forms;
namespace SkiaSharpFormsDemos.Transforms
{
public class SkewShadowTextPage : ContentPage
{
public SkewShadowTextPage()
{
Title = "Shadow Text";
SKCanvasView canvasView = new SKCanvasView... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using SqzTo.Domain.Entities;
namespace SqzTo.Infrastructure.Persistence.Configurations
{
/// <summary>
/// Default configuration for the <see cref="SqzLink"/>.
/// </summary>
public class SqzLinkEntityConfigura... |
using MongoDB.Bson;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace MongoConnector.Net
{
class Program
{
static void Main(string[] args)
{
ConnectorApp opLogApp = new ConnectorApp();
... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
namespace BuildXL.Processes.Remoting
{
/// <summary>
/// Represents a process pip that executes remotely.
/// </summary>
public interface IRemoteProcessPip : IDisposable
... |
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Chroma64.Emulator.CPU
{
public enum RoundMode
{
/// <summary>
/// Rounding towards nearest representable value.
/// </summary>
FE_TONEAREST = 0x00000000,
/// <summary>
... |
using System.Collections.Generic;
using DAL.Siniflar;
using OBJ;
namespace BL
{
public class BSiparis :DSiparis
{
//Siparis ürün ekleme
public new OIslemSonuc<int> siparisEkle(OSiparis _s)
{
return base.siparisEkle(_s);
}//siparisEkle()
//Siparis ürün günce... |
#region License
//
// Author: Einar Ingebrigtsen <einar@dolittle.com>
// Copyright (c) 2007-2010, DoLittle Studios
//
// Licensed under the Microsoft Permissive License (Ms-PL), Version 1.1 (the "License")
// you may not use this file except in compliance with the License.
// You may obtain a copy of the licens... |
@model HealthHub.Web.ViewModels.Doctor.DoctorsViewModel
@{ ViewData["Title"] = "Default"; }
<div class="form-group row">
<label class="col-sm-2 col-form-label">Doctor</label>
<div class="col-sm-10">
<div class="form-control">@Model.FullName</div>
</div>
</div>
<div class="form-group row">
<lab... |
namespace DurableBotEngine.Configurations
{
public class LineMessagingApiSettings
{
public string ChannelSecret { get; set; }
public string ChannelAccessToken { get; set; }
}
}
|
using System.Collections;
using Enmeshed.BuildingBlocks.Application.Abstractions.Exceptions;
using FluentValidation;
using FluentValidation.Validators;
namespace Enmeshed.BuildingBlocks.Application.FluentValidation
{
public class ValueInValidator<T, TProperty> : PropertyValidator<T, TProperty>
{
priva... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DesignPatterns.Command
{
public abstract class RemoteControlDevice
{
public abstract void TurnOn();
public abstract void TurnOff();
}
} |
using System;
namespace Singyeong
{
/// <summary>
/// An exception thrown when a Singyeong server sends
/// <see cref="SingyeongOpcode.Invalid" /> indicating that an error
/// occured.
/// </summary>
public class UnknownErrorException : Exception
{
/// <summary>
/// Initiali... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ImputationH31per.Modele.Entite;
namespace ImputationH31per.Vue.RapportMensuel.Modele.Entite
{
public class TicketItem : InformationBaseItem<IInformationTicketTfs>
{
public TicketItem(EnumTypeItem type... |
namespace WatchMe.Web.Controllers
{
using Base;
using Data.Models;
using Infastructure.Mapping;
using Microsoft.AspNet.Identity;
using System.Linq;
using System.Web.Mvc;
using ViewModels.Movies;
using WatchMe.Services.Data.Contracts;
public class MoviesController : BaseC... |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Rebus.Logging;
using Rebus.Testing;
using Rhino.Mocks;
namespace Rebus.AdoNet
{
public abstract class FixtureBase
{
protected DisposableTracker Disposables { get; }
public FixtureBase()
{
Disp... |
namespace BeanstalkWorker.SimpleRouting
{
public static class RoutingConstants
{
public const string HeaderName = "Task";
public const string HeaderType = "String";
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace s.library
{
public class Parse:Function
{
public Parse(Node<Object> defaultScope,char lineSplit)
: base()
{
this.defaultScope = defaultScope;
this.lineSplit = lineSplit;
}
... |
using System;
namespace _07.TerabytesToBits
{
class Program
{
static void Main(string[] args)
{
decimal a = decimal.Parse(Console.ReadLine());
a = a * 1024 * 1024 * 1024 * 1024 * 8;
Console.WriteLine("{0:0}",a);
}
}
}
|
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.SceneManagement;
namespace AGGE.CharacterController2D {
public class GameManager : MonoBehaviour {
public bool showCurves = true;
public AudioClip[] jumpSounds;
public Material[] materials;
public static GameManag... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using VocabInstaller.Validations;
namespace VocabInstaller.Models {
public class Card {
[HiddenInput(DisplayValue = false)]
public int Id { get; set; }
[HiddenInput(DisplayValue = false)]
public int U... |
using System.Net;
using System.ServiceProcess;
namespace Sequencing.WeatherApp.Service
{
partial class EmailSendService : ServiceBase
{
public EmailSendService()
{
InitializeComponent();
}
private EmailSendProcessor proc;
private PushNotificationSender push... |
using System;
using System.Collections.Generic;
using System.Dynamic;
namespace Ganss.Excel
{
/// <summary>
/// A caching factory of <see cref="TypeMapper"/> objects.
/// </summary>
public class TypeMapperFactory : ITypeMapperFactory
{
Dictionary<Type, TypeMapper> TypeMappers { get; set; }... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BullSpriteCont : PawnSpriteCont
{
[SerializeField]
protected BullPawn bullPawn;
public void SetIsSinging()
{
bullPawn.OwnStateMachine.isSinging = true;
}
public override void FlashSprite(b... |
using System.ComponentModel.DataAnnotations;
using MyE.Entities;
using Newtonsoft.Json;
namespace MyE.Business.Entities.Response
{
public class EjemplarRes
{
[Display(Name = "ejemplarId")]
[JsonProperty(PropertyName = "ejemplarId")]
public int ejemplarId { get; set; }
[Display... |
namespace StudentsLearning.Services.Data.Contracts
{
#region
using System.Collections.Generic;
using System.Linq;
using StudentsLearning.Data.Models;
#endregion
public interface ITopicsServices
{
IQueryable<Topic> All(int sectionId, int page, int pageSize);
IQueryable<T... |
using System;
namespace Crypto.Infrastructure
{
public static class Algorithms
{
/// <summary>
/// Finds the greatest common denomintor of two numbers.
/// </summary>
/// <param name="a">The first number.</param>
/// <param name="b">The second number.</param>
/// <returns>The greatest common denomintor ... |
using System;
using System.Collections.Generic;
using Microsoft.Html.Editor.Intellisense;
using Microsoft.VisualStudio.Utilities;
using Microsoft.Web.Editor;
namespace MadsKristensen.EditorExtensions.Html
{
[HtmlCompletionProvider(CompletionType.Values, "link", "sizes")]
[ContentType(HtmlContentTypeDefinition... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace HolePunch.Proxies
{
public interface IProxyServer
{
Guid Id { get; }
IReadOnlyCollection<IProxySession> Sessions { get; }
ProxyServerSt... |
using System.Collections.Generic;
using SqExpress.Syntax.Names;
using SqExpress.Syntax.Select;
using SqExpress.Syntax.Value;
namespace SqExpress.Syntax.Functions
{
public class ExprAnalyticFunction : IExprSelecting
{
public ExprAnalyticFunction(ExprFunctionName name, IReadOnlyList<ExprValue>? argument... |
namespace MyStrom.Api.Models
{
public class Report
{
public decimal Power { get; set; }
public bool Relay { get; set; }
public decimal Temperature { get; set; }
}
} |
using System;
using System.Threading.Tasks;
using System.Windows.Input;
namespace CodeMonkeys.MVVM.Commands
{
public class AsyncCommand :
ICommand
{
private readonly Func<object, Task> _executeFunc;
private readonly Predicate<object> _canExecute;
public event EventHandler CanE... |
public static class PointerType // TypeDefIndex: 4210
{
// Fields
public static readonly string mouse; // 0x0
public static readonly string touch; // 0x8
public static readonly string pen; // 0x10
public static readonly string unknown; // 0x18
// Methods
// RVA: 0x15C8470 Offset: 0x15C8571 VA: 0x15C8470
inter... |
#region usings
using System.Linq;
using osu.Core;
using osu.Core.Config;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
using osu.Game.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
using osu.Mods.Online.Base... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UI_Manager : singleton<UI_Manager>
{
[SerializeField]
GameObject[] keyFeaturesList;
[SerializeField]
GameObject videoScreen;
[SerializeField]
Slider rotationSlider;
private ... |
using System.Xml.Serialization;
using System.IO;
using System.Text;
public class SavingSystem
{
public static void SaveDialogue(string path, DialogueSystemContainer dsContainer)
{
var serializer = new XmlSerializer(typeof(DialogueSystemContainer));
var encoding = Encoding.GetEncoding("UTF-8");... |
using System.Collections.Generic;
using System.Threading.Tasks;
using UnitConverter.Currency.Models;
namespace UnitConverter.Currency.Loaders
{
public interface ICurrencyDataLoader
{
Task<List<CurrencyConverterItem>> LoadCurrencyConverterItem();
Task<List<CurrencyItem>> LoadCurrencyItem();
... |
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using MLAgents;
public class GridArea : MonoBehaviour
{
[HideInInspector]
public List<GameObject> actorObjs;
[HideInInspector]
public int[] players;
public GameObject trueAgent;
IFloatProperties m_ResetParameters;
C... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _1_Exercises
{
class Exercises
{
public string Topic { get; set; }
public string CourseName { get; set; }
public string JudgeLink { get; set; }
public List<string> Problems { ge... |
using System;
using System.Collections;
using System.Drawing;
using System.Linq;
namespace SmartQuant.Charting
{
public class TTitleItem
{
public string Text { get; set; }
public Color Color { get; set; }
public TTitleItem() : this("", Color.Black)
{
}
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using BlogEngine.Core.Json;
using BlogEngine.Core.Providers;
namespace BlogEngine.Core.Notes
{
/// <summary>
/// Settings for quick notes
/// </summary>
public class QuickSettings
{
/// <summary>
/// Quick settings
... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Rendering;
using MniamMniam.Models.CookBookModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace MniamMniam.ViewModels
{
public class CreateReci... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Zappr.Core.Entities;
namespace Zappr.Infrastructure.Data.Configurations
{
public class UserRatedEpisodeConfiguration : IEntityTypeConfiguration<UserRatedEpisode>
{
public void Configure(EntityTypeBuilder<... |
/*--------------------------------------------------------------------------------------------------
* Author: Dr. Dana Vrajitoru
* Author: Dan Cassidy
* Date: 2015-10-07
* Assignment: Homework 6
* Source File: CritterControl.cs
* Language: C#
* Course: CSCI-C 490, Game Programming and ... |
using UnityEngine;
using System.Xml;
namespace PlayGen.Unity.Utilities.Editor.iOSRequirements
{
public class iOSRequirements : MonoBehaviour
{
private static string FilePath => Application.dataPath + "/iOSRequirements/Editor/iOSRequirements/Requirements.xml";
public static XmlDocument ReadXml()
{
var text... |
namespace Amazon.Lambda.APIGatewayEvents
{
using System.Collections.Generic;
using System.Runtime.Serialization;
/// <summary>
/// The response object for Lambda functions handling request from from API Gateway proxy
/// http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-set-u... |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
namespace WorkspaceServer.Packaging
{
public class PackageSource
{
private readonly DirectoryInfo... |
namespace RangeIt.Ranges.RangeStrategies.Iota
{
using System.Collections;
using System.Collections.Generic;
internal abstract class AIotaGeneratorStrategy<T> : IRangeStrategy<T>
{
internal uint Count { get; set; }
internal AIotaGeneratorStrategy(uint count) => Count = count;
... |
using Microsoft.AspNetCore.Razor.TagHelpers;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using TagHelpersDemo.TagHelpers;
using Xunit;
namespace TagHelpersDemo.Tests.TagHelpers
{
public class HandTagHelperTests
{
[Fact]
public void Process_Generates_Expected_O... |
using Prezencka.Services;
using System;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
namespace Prezencka.ViewModels
{
public sealed class SettingsViewModel : BaseViewModel
{
public string Name { get; set; }
public string Id { get; set; }
public string ... |
using PuntoDeVentaDemo.COMMON.Entidades;
using System.Collections.Generic;
namespace PuntoDeVentaDemo.COMMON.Interfaces
{
/// <summary>
/// Proporciona los métodos relacionados a los productos vendidos en las ventas
/// </summary>
public interface IProductoVendidoManager : IGenericManager<productovend... |
using FSQL.Interfaces;
using FSQL.ProgramParts.Core;
using FSQL.ProgramParts.Functions;
namespace FSQL.ProgramParts.Statements {
public class Simulate : StatementBase, IExpression {
private readonly CodeBlock _block;
public Simulate(CodeBlock block) {
_block = block;
}
... |
using System;
using System.IO.Packaging;
using System.ComponentModel.Composition;
using System.Diagnostics;
using System.Reactive;
using System.Reactive.Linq;
using System.Windows.Media.Imaging;
using Akavache;
using GitHub.Caches;
using GitHub.Logging;
using GitHub.Extensions;
using GitHub.Models;
using System.Windows... |
using System.Windows.Forms;
namespace Projekt_wlasciwy
{
class ErrorController
{
public static void ThrowUserError(string Message = "Something went wrong.")
{
MessageBox.Show(Message + "Check Log", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
public stat... |
using System.Collections.Generic;
namespace MASIC.Data
{
/// <summary>
/// Container for tracking similar parent ions
/// </summary>
public class SimilarParentIonsData
{
/// <summary>
/// Pointer array of index values in the original data
/// </summary>
... |
namespace BlogSharp.MvcExtensions.Handlers
{
using System.Web.Routing;
public class BlogMvcRouteHandler : System.Web.Mvc.MvcRouteHandler
{
protected override System.Web.IHttpHandler GetHttpHandler(RequestContext requestContext)
{
var controller = requestContext.RouteData.Values["controller"];
ret... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CloudsFlowing : MonoBehaviour
{
bool movingDown = true;
void Start()
{
Invoke("StartMakingFlowing", Random.Range(0, 2));
}
private void StartMakingFlowing()
{
StartCoroutine(FlowingCloud());
}
IEnumerator Flowing... |
using System;
using Robust.Shared.GameObjects;
using Robust.Shared.Maths;
using Robust.Shared.Serialization;
namespace Content.Shared.Tabletop.Events
{
/// <summary>
/// An event sent by the server to the client to tell the client to open a tabletop game window.
/// </summary>
[Serializable, NetSerial... |
using UnityEngine;
namespace StandardRender
{
public class SceneData : ScriptableObject
{
}
}
|
using UnityEngine;
using System.Collections;
public enum ScaleType {
kCrop,
kInside
}
class Texture2DHelpers {
public static Texture2D rescaleCenter(Texture2D srcTexture, Vector2 destSize, ScaleType scaleType) {
var srcSize = new Vector2(
srcTexture.width,
srcTexture.... |
using stackattack.Users;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.SQLite;
using System.Linq;
using System.Text;
using System.Web;
namespace stackattack.Persistence
{
internal class UserTable : SQLiteTable<User>
{
private const int TestUserID = 1;
... |
using Telegram.Bot.AspNetPipeline.Mvc.Extensions.Main;
namespace Telegram.Bot.AspNetPipeline.Mvc.Extensions.MvcFeatures
{
/// <summary>
/// Implemented with <see cref="ServicesBus"/>.
/// </summary>
public interface IMvcFeaturesProvider
{
IMvcFeatures MvcFeatures { get; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CanonBehavior : MonoBehaviour
{
public Transform canonBallPos;
public GameObject canonBallPrefab;
public float speed = 1;
public int initialNumberOfPooledInstance = 10;
private ObjectPooler pool;
priv... |
using System;
using System.Collections.Generic;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
using System.Threading.Tasks;
using Atlassian.Jira.Linq;
using Atlassian.Jira;
using System.Linq;
namespace JiraModule
{
/// <summary>
/// Saves changes made to a Jira.Issue object
... |
using Newtonsoft.Json;
namespace SurveyMonkey.Enums
{
[JsonConverter(typeof(TolerantJsonConverter))]
public enum QuestionRequiredType
{
All,
AtLeast,
AtMost,
Exactly,
Range
}
} |
using AniSharp.Types.Edges;
using AniSharp.Types.Groups;
using CSGraphQL.GraphQL;
namespace AniSharp.Types.Connections
{
public class StaffConnection : GraphQlType
{
[TypeField] public StaffEdge[] Edges { get; set; }
[TypeField] public Staff.Staff[] Nodes { get; set; }
[TypeField] public PageInfo PageInfo { ge... |
using System;
using System.Web.Hosting;
namespace SignalR.Hosting.AspNet
{
internal class AspNetShutDownDetector : IRegisteredObject
{
private readonly Action _onShutdown;
public AspNetShutDownDetector(Action onShutdown)
{
_onShutdown = onShutdown;
HostingEnvir... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MapTileGenerator.Core
{
/// <summary>
/// 默认的瓦片输出方式:以文件方式存储;
/// </summary>
public class DefaultOutputStrategy : ITileOutputStrategy
{
protected st... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[RequireComponent(typeof(Image))]
public class PanelBackgroundColorOR : MonoBehaviour
{
private Image panel;
public ColorDataOR color;
// private void AdjustColor(ColorReference _color)
// {
// ... |
using DatabaseBenchmark.Core.Interfaces;
using Microsoft.Azure.Cosmos;
namespace DatabaseBenchmark.Databases.CosmosDb
{
public class CosmosDbDistinctValuesProvider : IDistinctValuesProvider
{
private readonly Database _database;
private readonly IExecutionEnvironment _environment;
... |
using PMS.HelperClasses;
using PMSEntity;
using PMSInterface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace PMS.Controllers
{
public class UserController : Controller
{
private IUserRepository repo;
public UserController(I... |
using KeatsLib.Data;
using KeatsLib.Input;
using System;
/// <summary>
/// A manager for a custom Event system within Unity.
/// </summary>
public partial class EventManager
{
/// <summary>
/// Holder class for all events that are only designed to occur on local clients.
/// </summary>
public static partial class... |
@using Hangman.Models;
@{
Layout = "_Layout";
}
<div class="hangman-content">
<div class="hangman-container">
<img id="hangman-img" src="" />
</div>
<div class="hangman-container">
<div id="letters">
<p>
@foreach(Letter letter in @Model.GetLetters()) {
@* <span class="letter">@lett... |
// ReSharper disable InconsistentNaming
namespace SpectrumEngine.Emu;
/// <summary>
/// This class implements the emulation of the Z80 CPU.
/// </summary>
/// <remarks>
/// This file contains the code for processing extended Z80 instructions (with `$ED` prefix).
/// </remarks>
public partial class Z80Cpu
{
/// <s... |
using System;
namespace Newtonsoft.Json
{
// Token: 0x02000026 RID: 38
public class JsonWriterException : Exception
{
// Token: 0x060001EB RID: 491 RVA: 0x0000873E File Offset: 0x0000693E
public JsonWriterException()
{
}
// Token: 0x060001EC RID: 492 RVA: 0x00008746 File Offset: 0x00006946
public Json... |
using Mitternacht.Common;
namespace Mitternacht.Database.Models {
public class Warning : DbEntity, IModerationPoints {
public ulong GuildId { get; set; }
public ulong UserId { get; set; }
public string Reason { get; set; }
public bool Forgiven { get; set; }
public string ForgivenBy... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.