content stringlengths 23 1.05M |
|---|
using MatterHackers.Agg.UI;
using System.Collections.Generic;
namespace MatterHackers.Agg
{
public class GridControlPage : TabPage
{
public GridControlPage()
: base("Grid Control")
{
GuiWidget thingToHide;
{
FlowLayoutWidget twoColumns = new FlowLayoutWidget();
twoColumns.Name = "twoColumns";
... |
using EasyMoney.Modules.FakeManageUsers.Application.Exceptions;
using EasyMoney.Modules.FakeManageUsers.Domain.Users;
using EasyMoney.Modules.FakeManageUsers.Infrastructure.Context;
using Microsoft.AspNetCore.Identity;
using System.Linq;
using System.Threading.Tasks;
namespace EasyMoney.Modules.FakeManageUsers.Applic... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace HardwareDrivers.RPi.Wrappers
{
public static class I2CWrapper
{
[DllImport("./NativeLibs/i2cNativeLib.o", EntryPoint = "openBus", SetLastError = true)]
public static extern int Op... |
using System;
using GroboContainer.Impl.Abstractions;
using GroboContainer.Impl.Abstractions.AutoConfiguration;
using GroboContainer.Impl.Implementations;
using NUnit.Framework;
using Rhino.Mocks;
namespace GroboContainer.Tests.AbstractionTests
{
public class AbstractionConfigurationCollectionTest : CoreTestBa... |
@using BTCPayServer.Views.Stores
@model BTCPayServer.Services.Altcoins.Stripe.UI.StripeController.StripePaymentMethodViewModel
@{
Layout = "../Shared/_NavLayout.cshtml";
ViewData["NavPartialName"] = "../Stores/_Nav";
ViewData.SetActivePageAndTitle(StoreNavPages.ActivePage, $"{Model.CryptoCode} Settings");... |
using System;
using System.Collections.Generic;
using System.Text;
namespace LootHeresyLib.Extensions.Specific
{
internal static class InitializerExtensions
{
internal static void Add<T>(this Stack<T> s, T t)
=> s.Push(t);
internal static void Add<T>(this Queue<T> q, T t)
=> q... |
using PackProject.Tool.Models;
namespace PackProject.Tool.Services.GraphAnalyzer
{
public interface IDependencyGraphAnalyzer
{
DependencyGraphAnalysis Analyze(DependencyGraph graph);
}
} |
namespace MyWebServer.HTTP.Responses.Contracts
{
using MyWebServer.HTTP.Cookies;
using MyWebServer.HTTP.Cookies.Contracts;
using MyWebServer.HTTP.Enums;
using MyWebServer.HTTP.Headers;
using MyWebServer.HTTP.Headers.Contracts;
public interface IHttpResponse
{
HttpResponseStatusCode... |
namespace Nasfaq.JSON
{
//api/getCatalogue
public class GetItemCatalogue
{
public bool success { get; set; }
public ItemCatalogue_Item[] catalogue { get; set; }
}
public class ItemCatalogue_Item
{
public string name { get; set; }
public string description { get; ... |
using ImageWizard.Core.Processing.Builder;
using ImageWizard.Filters;
using ImageWizard.SvgNet.Filters;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Text;
namespace ImageWizard.SvgNet.Builder
{
class SvgNetBuilder : PipelineBuilder, ISvgNetBuilder
... |
namespace Community.Archives.Core;
public readonly struct ArchiveEntry : IDisposable, IAsyncDisposable
{
public Stream Content { get; init; }
public string Name { get; init; }
public void Dispose()
{
Content?.Dispose();
}
public ValueTask DisposeAsync()
{
return Content?... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace DotNetty.Handlers.Tls
{
using System;
using System.Diagnostics.Contracts;
using System.Threading.Tasks;
public sealed class ServerTlsSniSetti... |
using System;
using Microsoft.Extensions.DiagnosticAdapter;
namespace Plcway.Framework.Tracing
{
internal class DefaultDiagnosticListener
{
[DiagnosticName("Host.MiddlewareStarting")]
public virtual void OnMiddlewareStarting()
{
}
}
}
|
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using ORMDemo.MultiTenancy;
namespace ORMDemo.MultiTenancy.Migrations.Tenants
... |
using System.ComponentModel;
namespace Neurotoxin.Roentgen.Data.Entities
{
[DisplayName("NServiceBus Event")]
public class NServiceBusEventEntity : ChannelEntity
{
}
}
|
namespace Nop.Web.Framework.Models
{
/// <summary>
/// Represents a configuration model
/// </summary>
public partial interface IConfigModel
{
}
} |
using NServiceBus.Extensibility;
namespace NServiceBus.FluentOptions
{
public class Dispatch : MessageOption
{
private Dispatch()
{
}
public static Dispatch Immediately { get; } = new Dispatch();
internal override void Apply(ExtendableOptions options)
{
... |
#region Copyright
//
// DotNetNuke® - https://www.dnnsoftware.com
// Copyright (c) 2002-2018
// by DotNetNuke Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restric... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using System;
public class ModesScreenController : MonoBehaviour {
#region Fields
private const int WAVE_AMOUNT = 5;
private const float INPUT_TIME = 0.2f;
private const in... |
using System;
using System.Net.Http;
using Serilog;
namespace TaskSample
{
class Program
{
static void Main(string[] args)
{
Log.Logger = new LoggerConfiguration().WriteTo.Console().CreateLogger();
var client = new HttpClient();
var resultTask = client.GetSt... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
namespace DevZH.UI.Drawing
{
[StructLayout(LayoutKind.Sequential)]
public struct FontMetrics
{
public double Ascent;
public double Descent;
public ... |
using Microsoft.AspNetCore.Authorization;
namespace Abmes.DataCollector.Vault.WebAPI.Authorization
{
public class UserAllowedDataCollectionRequirement : IAuthorizationRequirement
{
public UserAllowedDataCollectionRequirement()
{
}
}
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
namespace Microsoft.DotNet.Cli
{
// https://github.com/dotnet/runtime/blob/main/src/libra... |
using UnityEngine.Rendering;
namespace UnityEngine.Experimental.Rendering
{
public static class TextureXR
{
// Limit memory usage of default textures
const int kMaxSliceCount = 2;
// Must be in sync with shader define in TextureXR.hlsl
public static bool useTexArray
{
... |
using System.Collections.Generic;
using DeltaEngine.Datatypes;
using DeltaEngine.Rendering2D.Fonts;
namespace DeltaEngine.Rendering2D.Graphs
{
/// <summary>
/// Labels at fixed vertical intervals to the right of the graph - eg. if there were five
/// percentiles there's be six lines at 0%, 20%, 40%, 60%, 8... |
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Authentication;
using SiteWatcher.WebAPI.Extensions;
using Microsoft.AspNetCore.Mvc;
using SiteWatcher.WebAPI.Filters;
using Microsoft.AspNetCore.HttpOverrides;
using SiteWatcher.Application;
using SiteWatcher.Application.Interfaces;
using SiteWatcher.Applic... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Alexa.NET;
using Alexa.NET.RequestHandlers;
using Alexa.NET.RequestHandlers.Handlers;
using Alexa.NET.Response;
namespace AlexaSamplePetMatch
{
public class ErrorHandler:AlwaysTrueErrorHandler
{
publ... |
@model PFCharacterSheetEditor.Models.CharacterSheet
@{
ViewBag.Title = "Home Page";
}
<div>
<h1 class="text-center">Pathfinder Character Sheet Editor</h1>
<p class="lead text-center">Easily generate PDFs of your pathfinder characters.</p>
</div>
<h5> Start by going to the Create page, or clicking the but... |
namespace SpaceStation.Core
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Contracts;
using Models.Astronauts;
using SpaceStation.Models.Astronauts.Contracts;
using Models.Mission;
using Models.Planets;
using Repositories;
usin... |
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using System;
using System.Threading.Tasks;
namespace Exentials.MdcBlazor
{
public partial class MdcIconButtonToggle : MdcButtonComponentBase
{
private bool _selected;
[CascadingParameter(Name = "MdcParentContainerType")] Type ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SetAmbSwitch : MonoBehaviour
{
[SerializeField] AK.Wwise.Switch ambSwitch;
private void OnTriggerEnter(Collider other)
{
ambSwitch.SetValue(GameObject.Find("WwiseHandler"));
}
}
|
using System;
using WebBackgrounder;
using Dal;
using System.Threading.Tasks;
namespace Solitude.Server
{
public class EventEndedJob : Job
{
public DatabaseAbstrationLayer Dal;
public EventEndedJob(string name, TimeSpan time, DatabaseAbstrationLayer dal) : base(name,time)
{
... |
using Newtonsoft.Json;
namespace CHC.Consent.Common.Infrastructure.Definitions
{
public interface IDefinition
{
string SystemName { get; }
IDefinitionType Type { get; }
[JsonIgnore]
string AsString { get; }
}
} |
using System.Collections.Generic;
using System.Linq;
using Manhasset.Core.src.Containers;
using Manhasset.Core.src.Generators;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Manhasset.Generator.src.CustomContainers
{
public class DefaultMethodContainer : BaseMet... |
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
using SharpFlame.Core.Extensions;
using SharpFlame.Core.Parsers.Lev2;
using SharpFlame.Core.Parsers.Lev2;
using Sprache;
namespace SharpFlame.Tests.Parser
{
[TestFixture]
pu... |
using System;
using GamesToGo.Editor.Project.Arguments;
using JetBrains.Annotations;
namespace GamesToGo.Editor.Project.Events
{
[UsedImplicitly]
public class DrawCardOffTileEvent : ProjectEvent
{
public override int TypeID => 5;
public override EventSourceActivator Source => EventSourceA... |
namespace MessageQueueManager.Interfaces
{
public interface IMessageQueueManager
{
bool SendMessage(string message);
string ReadMessage();
}
}
|
namespace SimplCommerce.Module.Catalog.Services.Dtos
{
public class ProductSettingDto
{
public decimal ConversionRate { get; set; }
public decimal FeeOfPicker { get; set; }
public decimal FeePerWeightUnit { get; set; }
}
} |
using System.Collections.Generic;
using WABA360Dialog.ApiClient.Payloads.Enums;
using WABA360Dialog.Common.Converters.Base;
namespace WABA360Dialog.ApiClient.Payloads.Converters
{
internal class ComponentTypeConverter : EnumConverter<ComponentType>
{
protected override ComponentType GetEnumValue(string... |
using Business.Abstract;
using Business.Constants;
using Core.Utilities.Results;
using DataAccess.Abstract;
using Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Text;
namespace Business.Concrete
{
public class BidClientManager : IBidClientService
{
IBidClientDal _bidCl... |
using System;
using OpenTK.Graphics.OpenGL4;
using OpenTK.Platform;
using OpenTK.Platform.Windows;
using OpenTkWPFHost.Abstraction;
using OpenTkWPFHost.Configuration;
using OpenTkWPFHost.Core;
namespace OpenTkWPFHost.DirectX
{
///Renderer that uses DX_Interop for a fast-path.
public class DXProcedure : IRender... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class EndMessage : MonoBehaviour
{
public Score score;
public Text endMessage;
public Text scoreMessage;
public Button menuButton;
public Button exitButton... |
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Net.Http.Headers;
using LoggerService;
using Contracts;
namespace NetCoreApi_BoilerPlate
{
public static class ServiceExtensions{
public static string CorsAnyPolicy = "CorsAnyPolicy";
public stati... |
using Cysharp.Threading.Tasks;
using UnityEngine;
[CreateAssetMenu(fileName = "player prefs storage service", menuName = "App/Services/PlayerPrefsStorage")]
public class PlayerPrefsStorageService : StorageService {
/// <summary>
/// Save string data.
/// </summary>
/// <param name="key">data key.</par... |
namespace Quadspace.TBP.Messages {
public class TbpBotMessage {
public BotMessageType type;
}
} |
// ReSharper disable UnusedTypeParameter
namespace CopperCowEngine.ECS
{
public abstract class Required { }
public abstract class Required<T> : Required
where T : struct, IComponentData { }
public abstract class Required<T1, T2> : Required
where T1 : struct, IComponentData
where... |
using System.Collections.Generic;
namespace Diesel.Parsing
{
public class ApplicationServiceDeclaration : TypeDeclaration
{
public IEnumerable<CommandDeclaration> Commands { get; private set; }
public ApplicationServiceDeclaration(string name, IEnumerable<CommandDeclaration> commands)
... |
using System;
namespace DevAge.Patterns
{
/// <summary>
/// Exception fired when canceling an activity with the Cancel method.
/// </summary>
[Serializable]
public class ActivityCanceledException : DevAgeApplicationException
{
/// <summary>
/// Constructor
/// </summary>
public Activity... |
@{
ViewData["Title"] = "Roles";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@using System.Security.Claims
<script type="text/javascript">
$(document).ready(function () {
$('.create-role-view').click(function () {
$.ajax({
type: 'GET',
dataType: 'html',
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Windows.UI.Xaml;
namespace Microsoft.UI.Xaml.Controls
{
public partial class ItemsRepeaterElementIndexChangedEventArgs
{
internal ItemsRepeaterElementIndex... |
using System;
using System.Reflection;
using Glass.Mapper.Pipelines.DataMapperResolver;
using NUnit.Framework;
using Glass.Mapper.Configuration;
using Glass.Mapper.Diagnostics;
using Glass.Mapper.IoC;
using Glass.Mapper.Pipelines.ObjectConstruction;
using Glass.Mapper.Pipelines.ObjectConstruction.Tasks.CreateIn... |
// <auto-generated>
// Auto-generated by StoneAPI, do not modify.
// </auto-generated>
namespace Dropbox.Api.Sharing
{
using sys = System;
using col = System.Collections.Generic;
using re = System.Text.RegularExpressions;
using enc = Dropbox.Api.Stone;
/// <summary>
/// <para>Whether the user... |
using aspnet_demo_server.Controllers.HealthChecks;
using aspnet_demo_server.Filters;
using aspnet_demo_server.Services;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using... |
namespace Firefly.CloudFormationParser.GraphObjects
{
using Firefly.CloudFormationParser.TemplateObjects;
using QuikGraph.Graphviz.Dot;
/// <summary>
/// Graph vertex that represents a template parameter
/// </summary>
/// <seealso cref="Firefly.CloudFormationParser.GraphObjects.AbstractVerte... |
using UnityEngine;
namespace BUCK.AudioManagement.SFX
{
/// <inheritdoc />
[AddComponentMenu("Audio/SFX Controller")]
public class SFXController : BaseSFXController<SFXClip>
{
}
}
|
using System.Management.Automation;
using System.Threading;
using System.Threading.Tasks;
namespace PSAsync.Command
{
public abstract class AsyncCmdlet :
Cmdlet,
IAsyncCmdlet
{
protected override void BeginProcessing()
{
}
protected override void ProcessRecord(... |
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
namespace Cympatic.Extensions.Http.Interfaces
{
public interface IApiServiceResult
{
HttpStatusCode StatusCode { get; }
string ReasonPhrase { get; }
H... |
using UnityEngine;
using XNodeEditor;
using PaperStag.FSM;
namespace PaperStag.Editor
{
[CustomNodeGraphEditor(typeof(FSMGraph))]
public class FSMGraphEditor : NodeGraphEditor
{
public override void OnOpen()
{
base.OnOpen();
window.titleContent = new GUIContent("FSM");
}
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using Microsoft.Common.Core.Imaging;
using Microsoft.Common.Core.Services;
using Microsoft.UnitTests.C... |
namespace Rook.Framework.Api {
public interface IApiService
{
void Start();
}
} |
using System.Threading;
using Stackage.Aws.Lambda.Abstractions;
namespace Stackage.Aws.Lambda.Middleware
{
public class DeadlineCancellation : IDeadlineCancellation, IDeadlineCancellationInitializer
{
public CancellationToken Token { get; private set; }
public void Initialize(CancellationToken token... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Torque3D.Engine.Util.Enums
{
[Flags]
public enum ObjectTypes
{
/// Default value for type masks.
DefaultObjectType = 0,
/// @}
/// @name Basic Engine Types
... |
using NUnit.Framework;
using Assert = ProSuite.Commons.Essentials.Assertions.Assert;
using AssertionException = ProSuite.Commons.Essentials.Assertions.AssertionException;
namespace ProSuite.Commons.Test.Assertions
{
[TestFixture]
public class AssertTest
{
[Test]
public void CanAssertNotNull()
{
Assert.NotN... |
using System.Collections.Generic;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.ConditionalAppearance;
using DevExpress.ExpressApp.Model;
using DevExpress.ExpressApp.Model.Core;
using DevExpress.ExpressApp.Model.NodeGenerators;
using DevExpress.Xpo.Metadata;
using Xpand.Persistent.Base.General;
using System... |
/*
* Gitea API.
*
* This documentation describes the Gitea API.
*
* OpenAPI spec version: 1.1.1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.Dat... |
using System;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using TCGPrimus.Contracts;
using TCGPrimus.Entities.Extensions;
using TCGPrimus.Entities.Models;
namespace TCGPrimus.Api.Controllers
{
[Route("api/account")]
[ApiController]
public class AccountController : ControllerBase
{
priva... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ToBallState : State
{
GameObject ball;
Arrive arrive;
public override void Enter() {
arrive = owner.GetComponent<Arrive>();
ball = Player.instance.mostInterestingBallThrown;
}
public overrid... |
using System;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
using Tabi.Helpers;
namespace Tabi.Logging
{
public class FileLogWriter : LogWriter
{
public static EventHandler<EventArgs> LogWriteEvent;
LogFileAccess logAccess;
public FileLogWriter() : base()
... |
namespace TrackMe.Core.Services.Interfaces
{
public interface ISettings
{
bool AddOrUpdate<T>(string key, T value);
T GetValue<T>(string key, T defualt = default(T));
void Clear();
}
}
|
using Commons.Libs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace FashionGo.Controllers
{
public class MailController : BaseController
{
// GET: Mail
public ActionResult Index()
{
return View();
... |
using Alza.Core.Module.Abstraction;
using Alza.Module.Catalog.Dal.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Alza.Module.Catalog.Dal.Repository.Abstraction
{
public interface ICategoryRepository : IRepository<Category>
{
Categor... |
// -- FILE ------------------------------------------------------------------
// name : CalendarVisitorFilter.cs
// project : Itenso Time Period
// created : Jani Giannoudis - 2011.02.18
// language : C# 4.0
// environment: .NET 2.0
// copyright : (c) 2011-2012 by Itenso GmbH, Switzerland
// ------------... |
//--------------------------------------------------
// Motion Framework
// Copyright©2018-2021 何冠峰
// Licensed under the MIT license
//--------------------------------------------------
using System.IO;
using MotionFramework.IO;
namespace MotionFramework.Resource
{
internal static class AssetPathHelper
{
/// <su... |
#region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kooboo.CMS.Account.Models;
using System.IO;
using Kooboo.Runtime.Serialization... |
using System;
using Robust.Shared.Interfaces.GameObjects;
namespace Content.Client.Interfaces.GameObjects.Components.Interaction
{
/// <summary>
/// This interface allows a local client to initiate dragging of the component's entity by mouse, for drag and
/// drop interactions. The actual logic of what hap... |
using MicroserviceTemplate.Domain.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.ComponentModel.DataAnnotations;
using System.Net;
using System.Threading.Tasks;
namespace MicroserviceTemplate.Command.Api.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ItemControl... |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... |
/*
* Win32 controls scrolling management
*/
using System;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using PluginCore;
namespace Win32
{
public class Scrolling
{
public const int SB_HORZ = 0;
public const int SB_VERT = 1;
const int SB_LEFT = 6;
const int SB_RIGHT = 7;
const int ... |
using System;
using System.Formats.Asn1;
namespace Codemations.Asn1
{
public interface IAsnConverter
{
object Read(AsnReader reader, Asn1Tag? tag, Type type);
void Write(AsnWriter writer, Asn1Tag? tag, object value);
}
} |
//
// Drawer.cs
// ProductName Ling
//
// Created by toshiki sakamoto on 2020.07.05
//
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEngine.UI;
namespace Utility.Editor
{
/// <summary>
/// <see cref="UnityEditor.Propert... |
/*
Copyright (c) 2016 Denis Zykov, GameDevWare.com
This a part of "Json & MessagePack Serialization" Unity Asset - https://www.assetstore.unity3d.com/#!/content/59918
THIS SOFTWARE IS DISTRIBUTED "AS-IS" WITHOUT ANY WARRANTIES, CONDITIONS AND
REPRESENTATIONS WHETHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATI... |
using System;
using System.Collections.Generic;
using SchinkZeShips.Core.SchinkZeShipsReference;
namespace SchinkZeShips.Core.GameLogic.Board
{
public partial class ShipStatusDisplay
{
public ShipStatusDisplay()
{
InitializeComponent();
Battleships.BindingContext = DummyShip(5);
Cruisers.BindingContex... |
// <auto-generated />
using Chatter.Infra.Data.Context;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore... |
using System;
public class main {
public static void Main() {
// ACM-ICPC 인터넷 예선, Regional, 그리고 World Finals까지 이미 2회씩 진출해버린 kriii는
// 미련을 버리지 못하고 왠지 모르게 올해에도 파주 World Finals 준비 캠프에 참여했다.
// 대회를 뜰 줄 모르는 지박령 kriii를 위해서 격려의 문구를 출력해주자.
// 두 줄에 걸쳐 "강한친구 대한육군"을 한 줄에 한 번씩 출력한다.
Console.WriteLine("강한친구 대한육군");
... |
using System;
using UnityEngine;
namespace FriendlyMonster.Stencil
{
public class Papers : MonoBehaviour
{
[SerializeField] private Paper Paper;
[SerializeField] private Texture[] Textures;
private RenderTexture[] m_RenderTextures;
private void Awake()
{
m... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
namespace JacksonVeroneze.NET.Commons.Database.Relational
{
public static class DatabaseConfiguration
{
public static IServiceCollection AddSqlServerDatabaseConfiguration<T>(this IServiceCollection servic... |
namespace SourceQuery
{
public partial class SourceServer
{
public class Info
{
public byte version;
public string hostname;
public string map;
public string game_directory;
public string game_description;
public short app_... |
// ***********************************************************************
// Assembly : ModMaker
// Author : TJ
// Created : 08-27-2015
//
// Last Modified By : TJ
// Last Modified On : 08-27-2015
// ***********************************************************************
// <copyrig... |
using System;
using System.Globalization;
using System.Windows.Data;
using Resx = Neurotoxin.Godspeed.Shell.Properties.Resources;
namespace Neurotoxin.Godspeed.Shell.Converters
{
public class ResxConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, Cultu... |
using System;
namespace TezosNotifyBot.Domain
{
public class Message
{
public int Id { get; set; }
public User User { get; set; }
public long UserId { get; set; }
public MessageKind Kind { get; set; } = MessageKind.Simple;
public MessageStatus Status { get; set; } = Me... |
namespace MdTranslator.Lib
{
public class TranslateLine
{
public int Line { get; set; }
public string OrigTerm { get; set; }
public string TranslatedTerm { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SIL.Extensions;
using SIL.Machine.Corpora;
using SIL.Machine.NgramModeling;
using SIL.Machine.Optimization;
using SIL.Machine.Statistics;
using SIL.Machin... |
using ExtendedXmlSerializer.Core.Sources;
using System;
namespace ExtendedXmlSerializer.ExtensionModel.Types.Sources
{
/// <summary>
/// Iterates through all public types found in the namespace of the provided reference type.
/// </summary>
/// <typeparam name="T"></typeparam>
public sealed class PublicTypesInSa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace KerbalKonstructs.Core
{
class GrassColorUtils
{
internal static Color ManualCalcNewColor(Color oldColor, string oldTextrueName, string newTextureName)
... |
/*
Write a C# Sharp program to print the result of dividing two numbers.
*/
using System;
namespace Exercice_03
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine($"The division of 15 by 3 = {(15/3)}");
}
}
}
|
namespace WindowsFormGridView
{
partial class QuerysInnerJoinDataSet1
{
partial class UsuariosDataTable
{
}
}
}
|
using DOTSSpriteRenderer.Components;
using DOTSSpriteRenderer.Utils;
using System;
using System.Collections;
using System.Collections.Generic;
using Unity.Collections;
using Unity.Entities;
using Unity.Mathematics;
using Unity.Transforms;
using UnityEngine;
using Random = Unity.Mathematics.Random;
namespace DOTSSprit... |
using System.Collections.Generic;
using System.Linq;
using CarSalesSystem.Data;
namespace CarSalesSystem.Services.Categories
{
public class CategoryService : ICategoryService
{
private readonly CarSalesDbContext data;
public CategoryService(CarSalesDbContext data)
=> this.data = data;... |
using System.ComponentModel;
namespace GroupMaker
{
public enum RelationshipTypeEnum
{
[Description("[Match With]")] MATCH,
[Description("[Don't Match With]")] DO_NOT_MATCH
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.