content stringlengths 23 1.05M |
|---|
#region using
using System.IO;
#endregion
namespace HBD.Framework.Exceptions
{
public class PathNotFoundException : DirectoryNotFoundException
{
public PathNotFoundException()
{
}
public PathNotFoundException(string path) : base(path)
{
}
}
} |
using AppKit;
using CoreGraphics;
using Foundation;
using System;
using System.Drawing;
namespace Mac.Platform.Views
{
// https://christiantietze.de/posts/2020/02/auto-growing-nstextfield/
[Register("HorizontallyGrowingTextField")]
public class HorizontallyGrowingTextField : NSTextField
{
boo... |
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
namespace Soothsharp.Translation.Trees.Silver
{
internal class AssignmentSilvernode : StatementSilvernode
{
private Silvernode right;
private Silvernode left;
public AssignmentSilvernode(Silvernode left, Silvernode right,... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum EffectorEvent
{
None,
OnCollisionEnter
}
|
using EasyConsole;
namespace Demo.Pages;
internal class InputPage : Page
{
public InputPage(ConsoleProgram program)
: base("Input", program)
{
}
public override async Task Display(CancellationToken cancellationToken)
{
await base.Display(cancellationToken);
Fruit input =... |
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
namespace Gluwa.SDK_dotnet.Models.Exchange
{
internal sealed class PostOrderRequest
{
/// <summary>
/// Conversion symbol for the order.
/// </summary>
[Required]
public string Conversion { get; set; }... |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using OneDrive;
using Newtonsoft.Json.Linq;
namespace NewApiBrowser
{
public partial class OneDriveObjectBrowser : UserControl
{
private ODDataModel _item;
private PropertyDisplayFormat _format;
public OneDrive... |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Rectangle = System.Drawing.RectangleF;
namespace FairyGUI
{
/// <summary>
///
/// </summary>
public sealed class VertexBuffer
{
/// <summary>
///
/// </summary>
public Rectangle contentRect;
/// <summary>
///
/... |
using System;
using System.Linq;
namespace WalletConnectSharp.Core.Network
{
public static class DefaultBridge
{
public static string Domain = "walletconnect.org";
public static string MainBridge = "https://bridge.walletconnect.org";
public const string AlphaNumeric = "abcdefg... |
using Sharpen;
namespace android.widget.@internal
{
[Sharpen.Stub]
public class TransportControlView : android.widget.FrameLayout, android.view.View
.OnClickListener, android.widget.@internal.LockScreenWidgetInterface
{
internal const int MSG_UPDATE_STATE = 100;
internal const int MSG_SET_METADATA = 101;
... |
using UnityEngine;
namespace SweatyChair.StateManagement
{
/// <summary>
/// Activate target GameObject on matched state.
/// </summary>
public class ActivateOnState : MonoBehaviour
{
[Tooltip("State to activate")]
[SerializeField] private State _state;
[Tooltip("The target game object")]
[SerializeFie... |
using PowerType.Model;
namespace PowerType;
internal class SystemTime : ISystemTime
{
public static readonly SystemTime Instance = new ();
public DateTime UtcNow => DateTime.UtcNow;
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace PPTail.Data.WordpressFiles
{
public class Guid
{
public String rendered { get; set; }
}
public class Title
{
public String rendered { get; set; }
}
public class Content
{
public Strin... |
using System;
using System.Collections.Generic;
namespace tvmInterpreter.Memory
{
/// <summary>
/// Memory for TVM programs
/// </summary>
public sealed class CommandMemory
{
private readonly byte[] _byteCode;
private int _position = 0;
private readonly Stack<int> _callsR... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Mastersign.Expressions.D... |
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System;
public class Module
{
public string Name { get; private set; }
public string ID { get; private set; }
public string SortKey { get; private set; }
public string DefuserDiff { get; private set; }
public string Expe... |
using OpenMacroBoard.SDK;
using OpenMacroBoard.SocketIO.Internals;
using System;
using System.Net;
namespace OpenMacroBoard.SocketIO
{
/// <summary>
/// An <see cref="IDeviceReference"/> for SocketIO devices.
/// </summary>
public sealed class SocketIODeviceReference : IDeviceReference, IEquatable<Sock... |
using Telerik.Core;
using Telerik.UI.Xaml.Controls.Primitives;
using Windows.Foundation;
namespace Telerik.UI.Xaml.Controls.Input.Calendar
{
internal class HitTestService : ServiceBase<RadCalendar>
{
internal HitTestService(RadCalendar owner)
: base(owner)
{
}
publ... |
using System;
using System.Collections.Generic;
using Bejeweled.Utility;
using UnityEngine;
using UnityEngine.Events;
namespace Bejeweled.UI
{
using DataChangeAction = UnityAction<string, object, DataBlackboard>;
/// <summary>
/// Base binding class for UI controllers.
/// This class provides conveni... |
using Godot;
using System;
public class MainScene : Node2D
{
// Declare member variables here. Examples:
// private int a = 2;
// private string b = "text";
private int speed = 400;
private KinematicBody2D _ball;
// Called when the node enters the scene tree for the first time.
public ov... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour {
protected static GameManager _self;
public static GameManager Self { get { return _self; } }
public HUD playerHUD;
public Controller player;
public PizzaIndicator indicator;
... |
using System;
using System.Collections.Generic;
using BC7.Common.Extensions;
using BC7.Infrastructure.CustomExceptions;
namespace BC7.Domain
{
public class UserMultiAccount
{
public Guid Id { get; private set; }
public Guid UserAccountDataId { get; private set; }
public virtual UserAcc... |
using System.Windows;
using System.Windows.Controls;
namespace UserInterface.UserControls
{
public partial class SaturationContrastBoostSlider : UserControl
{
public SaturationContrastBoostSlider()
{
InitializeComponent();
DataContext = this.DataContext;
}
... |
using DemoWebAPI.Services.Generics;
using Microsoft.AspNetCore.Mvc;
namespace DemoWebAPI.Controllers;
[ApiController]
[Route("[controller]")]
public class GenericController : ControllerBase
{
private readonly IGenericService<Car> _carService;
private readonly IGenericService<Motorcycle> _motorcycleService;
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
using AutoFixture.Kernel;
namespace AutoFixture
{
/// <summary>
/// The exception that is thrown when AutoFixture is unable to create an object.
/// This exception is ... |
using System;
using System.Collections.Generic;
using logic.DeliverablesApp;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace logic.DeliverablesApp.UnitTests
{
[TestClass]
public class TransportTests
{
[TestMethod]
public void TestCreateAnEmptyTransport()
{
... |
using System;
namespace Terraria.ModLoader.Exceptions
{
public class RecipeException : Exception
{
public override string HelpLink => "https://github.com/tModLoader/tModLoader/wiki/Basic-Recipes";
public RecipeException() {
}
public RecipeException(string message)
: base(message) {
}
public RecipeE... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CCT.NUI.Core;
namespace CCT.NUI.HandTracking
{
public interface IHand : ILocatable
{
Point? PalmPoint { get; }
bool HasPalmPoint { get; }
float PalmX { get; }
float PalmY { get; }
... |
//---------------------------------------------------------------------------------------------------
// <auto-generated>
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// Generated by DynamicsCrm.DevKit - https://github.com/phuocle/Dynamics-Crm-DevKit
// </auto-gen... |
using cs4rsa_core.Dialogs.DialogResults;
using cs4rsa_core.Dialogs.DialogServices;
using cs4rsa_core.Dialogs.MessageBoxService;
using cs4rsa_core.Messages;
using cs4rsa_core.ViewModels;
using Cs4rsaDatabaseService.Models;
using LightMessageBus;
using MaterialDesignThemes.Wpf;
using StudentCrawlerService.Crawlers;
usin... |
using Sync.Command;
using Sync.Plugins;
using Sync.Tools;
using System;
using System.Collections.Generic;
using static Sync.Tools.IO;
using static Sync.Tools.DefaultI18n;
using Sync.Client;
using Sync.Source;
using System.Reflection;
using System.Diagnostics;
namespace Sync
{
/// <summary>
/// A manager for g... |
/*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
For ... |
using Bost.Proto.Mapping.Generator;
namespace Bost.Proto.Mapping.Palettes
{
public interface IPalette
{
uint IdForState(BlockState state);
BlockState StateForId(uint id);
byte GetBitsPerBlock();
void Read(ref byte[] data);
void Write(byte[] data);
}
}
|
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using MinnyCasinoAffiliate.Entities.DTO;
namespace MinnyCasinoAffiliate.Wrapper.Models
{
public class SessionBO
{
public TblUserInfo UserInfo { get; set; }
public CookieCollection SessionCookies { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq.Expressions;
using JetBrains.Annotations;
namespace LinqKit
{
class ExpressionReplacer : ExpressionVisitor
{
private readonly IDictionary<Expression, Expression> _replaceMap;
pu... |
using Newtonsoft.Json;
namespace PlexSharp.Models
{
public class PlexAccount
{
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
[JsonProperty(PropertyName = "username")]
public string Username { get; set; }
[JsonProperty(PropertyName = "email")]
... |
using System;
using System.Runtime.Serialization;
namespace Songhay.Web.WebFormsSample.Models
{
/// <summary>
/// The data for Service One.
/// </summary>
[DataContract]
public class ServiceOneDatum
{
/// <summary>
/// Gets or sets the property one.
/// </summary>
... |
using System.Windows;
namespace GetEventVids
{
public partial class LoadingDialog : Window
{
public LoadingDialog()
{
InitializeComponent();
}
}
}
|
/*
* Copyright (c) 2016 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 requ... |
using Sitecore.Pipelines.RenderField;
using Sitecore.Xml.Xsl;
namespace Sitecore.Foundation.Extension.MediaType.Pipeline
{
public class GetImageFieldValue
{
/// <summary>
/// Gets the field value.
///
/// </summary>
/// <param name="args">The arguments.</param><contrac... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Security.Claims;
using System.Web.Http;
using AutoMapper;
using EasyNetQ;
using Microsoft.AspNet.SignalR;
using OrdersService.Hubs;
using OrdersService.Propertie... |
using System;
using System.Collections.Generic;
using System.IO;
using eilang.Classes;
using eilang.Compiling;
using eilang.Values;
namespace eilang.Interfaces
{
public interface IValueFactory
{
IValue String(string str);
IValue InternalString(string str);
IValue Byte(byte value);
... |
using CommunityToolkit.WinUI.Notifications;
using Windows.Data.Xml.Dom;
using Windows.UI.Notifications;
namespace CommunityToolkit.Maui.Alerts;
public partial class Toast
{
private partial void DismissNative(CancellationToken token)
{
if (NativeToast is not null)
{
token.ThrowIfCancellationRequested();
T... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
namespace NetCoreKit.Infrastructure.AspNetCore.Miniservice.ConfigureApplications
{
public class ForwardedHeadersConfigureApplication : IConfigureApplication
{
public int Priority { get; } = 5... |
using dataaccesscore.EFCore.Query;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace dataaccesscore.EFCore.Paging
{
public interface IDataPager<TEntity>
where TEntity : class
{
DataPage<TEntity> Get(
in... |
using System;
public class runme {
static void Main(String[] argv) {
try {
Console.WriteLine (MeCab.MeCab.VERSION);
String arg = "";
for (int i = 0; i < argv.Length; ++i) {
arg += " ";
arg += argv[i];
}
MeCab.Tagger t = new MeCab.Tagger (arg);
String s = "太郎は花子が持っている本を次郎に渡した... |
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace PushNotificationSource.AppShell
{
public sealed partial class SchedulePicker
{
public event RoutedEventHandler Click
{
add => SendButton.Click += value;
remove => SendButton.Click -= value;
... |
using System.Collections.Generic;
namespace DNTFrameworkCore.Domain
{
/// <summary>
/// Interface implemented by entities that are change-tracked.
/// </summary>
public interface ITrackable
{
/// <summary>
/// Change-tracking state of an entity.
/// </summary>
Tracki... |
using Raven.Client.Properties;
using Raven.Server.Smuggler.Documents.Processors;
namespace Raven.Server.ServerWide
{
public class ServerVersion
{
private static int? _buildVersion;
private static BuildVersionType? _buildType;
private static string _commitHash;
private... |
@{
Layout = null;
}
@Dul.Creator.GetName()
|
using Project.ORM;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Report
{
public partial class Main : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace alexism.Floorplan.Core.editor
{
public class floorplanMenuItem : MonoBehaviour
{
[MenuItem("Tools/Add Floorplan Handle")]
static void addFloorplanHandle()
{
GameObj... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CentipedeBodyPart : MonoBehaviour
{
public Transform Leader;
public float DistanceToLeader;
public CentipedeBodyPart Follower;
public bool IsHead = false;
public float MoveDistThreshold = 0.05f;
public ... |
using System;
using System.Collections.Generic;
namespace eventy.Models.FamilyViewModels
{
public class FamilyDetailsViewModel
{
public Family Family { get; set; }
public List<FamilyMember> FamilyMembers { get; set; }
}
} |
using System;
using Nest;
namespace Elasticsearch.Source.Core.Abstraction
{
public interface IElastic
{
ICreateIndexResponse CreateIndex<T>(string indexName)
where T : class;
bool IndexExists(string indexName);
IIndexResponse AddOrUpdateDocument<TObject, TKey>(string index... |
using System;
using System.Collections.Generic;
using System.Linq;
using Bookmaker.Data;
using Bookmaker.Data.Models;
namespace Bookmaker.Services
{
/*
The ResultService class
Contains all methods bound to the result
*/
/// <summary>
/// The <c>PlayerService</c> class.
/// Contains... |
using PaySharp.Wechatpay.Domain;
using PaySharp.Wechatpay.Response;
namespace PaySharp.Wechatpay.Request
{
public class TransferToBankQueryRequest : BaseRequest<TransferToBankQueryModel, TransferToBankQueryResponse>
{
public TransferToBankQueryRequest()
{
RequestUrl = "/mmpaysptran... |
using ARESCore.AnalysisSupport;
using DynamicData.Binding;
namespace ARESCore.Registries.Impl
{
internal class AresAnalyzerRegistry : ObservableCollectionExtended<IAresAnalyzer>, IAresAnalyzerRegistry
{
}
}
|
using System;
using System.IO;
using System.Text;
namespace CodeEval_Solutions.Easy.Capitalize_Words
{
/// <summary>
/// Time: 155 ms
/// Memory: 4841472 bytes
/// Unique: Yes
/// Ranking Points: 30.687
/// </summary>
public sealed class CapitalizeWordsV1 : ICodeE... |
using PersonMatterManager.BLL;
using PersonMatterManager.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace PersonMatterManager.Web.Controllers
{
public class LoginController : Controller
{
UserInfoBLL userInfoBLL = new UserInfo... |
using System;
using csharp.Interfaces;
using System.Collections.Generic;
namespace csharp.Implementations
{
public class FAQ : Transcript
{
public string Title { get; set; }
public Dictionary<string,string> Questions { get; set; }
public FAQ(IFormatter formatter) : base(formatte... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using MZUtils.JsonData;
using System.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MZUtilsTest
{
/// <summary>
/// パーサーテストのベースクラス。
/// </summary... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace Microsoft.Extensions.FileProviders.Embedded.Manifest;
class TestEntry
{
public bool IsFil... |
using System;
using System.Globalization;
namespace Syndll2
{
/// <summary>
/// Implements the custom numeric format described in appendix A.6 of the Synel Protocol spec.
/// </summary>
internal static class SynelNumericFormat
{
/// <summary>
/// Converts an integer to a Synel nume... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace Kerbal_Kommander
{
public class MultiTank : PartModule
{
[KSPField]
public double TankAmount;
void Update()
{
double TotalAmount = ... |
@model IEnumerable<Web.ViewModels.Content.CategoryViewModel>
@{
Layout = null;
}
<div class="form-group">
<label for="category-select" class="col-md-2 control-label">@Translation.Categories</label>
<div class="col-md-10">
<select class="form-control" id="category-select" name="categoryId">
... |
using System;
using System.Collections.Generic;
using System.Web;
using YTS.Tools;
using YTS.Web.UI;
namespace YTS.Web.tools
{
/// <summary>
/// article_ajax 的摘要说明
/// </summary>
public class article_ajax : AbsHttpRequestHandler
{
public override Dictionary<string, Func<HttpContext, Model.... |
using LMS.Core.Domain.Issues;
using LMS.Core.Domain.Members;
using System;
using System.Collections.Generic;
using System.Text;
namespace LMS.Core.Domain.Books
{
public class Book
{
public int BookId { get; set; }
public string Title { get; set; }
public string Description { get; set; ... |
namespace BillableHoursWebApp.Data.Models
{
using System;
public enum UType
{
Employee = 1,
Client = 2
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using WinDirStat.Net.Model.Data.Extensions;
using WinDirStat.Net.Model.Data.Nodes;
using WinDirStat.Net.Model.Settings;
namespace WinDirStat.Net.Model.Data {
public partial clas... |
//
// Copyright (C) 2012 DataStax Inc.
//
// 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 applicab... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Controls : MonoBehaviour {
// Use this for initialization
void Start ()
{
GlobalVariables.speed = 2f;
}
// Update is called once per frame
void Update ()
{
transform.Translate(V... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace RiotNet.Models
{
/// <summary>
/// Contains champion data.
/// </summary>
public class Champion
{
/// <summary>
/// Gets or sets whether the champion is active.
/// </... |
using System;
using System.IO;
using Mirage.Tests.PlayerTests;
using NUnit.Framework.Interfaces;
using UnityEngine;
using UnityEngine.TestRunner;
[assembly: TestRunCallback(typeof(PlayerWithTestsCallbacks))]
namespace Mirage.Tests.PlayerTests
{
/// <summary>
/// Saves test results when running outside of edit... |
@using Kastra.Web.Models.Manage;
@model EditProfileViewModel
@{
Layout = "_StaticLayout";
ViewData["Title"] = "Edit profile";
}
<header class="title">
<h2>@ViewData["Title"].</h2>
</header>
<form asp-controller="Manage" asp-action="EditProfile" method="post" class="form-horizontal">
<h4>Ed... |
namespace Pandoc;
public record StringResult(string Command, string Value)
{
public override string ToString() =>
Value;
public static implicit operator string(StringResult x) => x.Value;
} |
using LetPortal.Core.Persistences;
using LetPortal.ServiceManagement.Entities;
using LetPortal.ServiceManagement.Repositories.Abstractions;
namespace LetPortal.ServiceManagement.Repositories.Implements
{
public class MonitorCounterMongoRepository : MongoGenericRepository<MonitorCounter>, IMonitorCounterRepository... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Sandbox.AspNetCore.Models
{
public struct Foo
{
public byte A;
public long B;
public int C;
}
}
|
namespace VideoApi.IntegrationTests.Hooks
{
internal enum HooksSequence
{
ConfigHooks = 1,
RemoveAudioFiles = 2,
RemoveDataCreatedDuringTest = 3,
RemoveConferences = 4,
RemoveServer = 5
}
}
|
using System;
using System.Globalization;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace DbgCensus.Core.Json;
public class DateTimeJsonConverter : JsonConverter<DateTime>
{
public override DateTime Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
{
... |
using Microsoft.Bot.Builder;
using Newtonsoft.Json.Linq;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Bot.Schema.Telephony
{
public static class TelephonyExtensions
{
public const string TelephonyChannelId = "telephony";
public const stri... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DialogManager : MonoBehaviour {
public Transform dialogGroup;
public GameObject dialogPrefab;
public DialogContent[] dialogList;
private Dictionary<string, DialogContent> dialogDictionary;
private static ... |
#if !MIGRATION
using Windows.Foundation;
#endif
#if MIGRATION
namespace System.Windows.Controls.Primitives
#else
namespace Windows.UI.Xaml.Controls.Primitives
#endif
{
public partial interface IScrollInfo
{
Rect MakeVisible(UIElement visual, Rect rectangle);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.WindowsAzurePack.CmpWapExtension.ApiClient.DataContracts
{
[DataContract(Namespace = Constants.DataContractNamespaces.Default)]
public clas... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace OpenShopVHBackend.Models
{
public class Client
{
[Key]
[JsonProperty(PropertyName = "id")]
public Int32 ClientId { get; set... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class QuizPlat : MonoBehaviour
{
public GameObject mPart1;
public GameObject mPart2;
public GameObject mRelatedSceneObj;
public int mPhase;
private ItemsBox mItemsBox;
private SpriteRenderer mSpR;
private... |
using System;
using System.Collections.Generic;
using System.Numerics;
namespace Toe.SceneGraph
{
public class Node<TEntity> : NodeContainer<TEntity>
{
private readonly Scene<TEntity> _scene;
private readonly TEntity _entity;
private Node<TEntity> _parent;
private WorldMatrixT... |
using System;
using System.Collections.Generic;
namespace XFramework.Fsm
{
/// <summary>
/// 状态机
/// </summary>
/// <typeparam name="TState">子类状态机对应的状态基类</typeparam>
public class Fsm<TState> : IFsm where TState : FsmState
{
private TState m_CurrentState;
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ClassLibrary_04;
namespace Task_04
{
class Program
{
static void Main(string[] args)
{
ConsoleUI c = new ConsoleUI();
c.CreateUI(); // запускаем вып... |
// <copyright file="LinkerArgumentBuilderUnitTests.cs" company="Soup">
// Copyright (c) Soup. All rights reserved.
// </copyright>
using Opal;
using System;
using System.Collections.Generic;
using Xunit;
namespace Soup.Build.Cpp.Compiler.MSVC.UnitTests
{
public class LinkerArgumentBuilderTests
{
[Fact]
public v... |
using System;
using System.Text;
namespace XSigUtilityLibrary.Intersystem.Tokens
{
public sealed class XSigSerialToken : XSigToken
{
private readonly string _value;
public XSigSerialToken(int index, string value)
: base(index)
{
// 10-bits available for serial e... |
namespace InternetMonitor
{
public class MultipleOutputWriter : IOutputWriter
{
private readonly IOutputWriter[] _outputWriters;
public MultipleOutputWriter(params IOutputWriter[] outputWriters)
{
_outputWriters = outputWriters ?? new IOutputWriter[0];
}
pu... |
namespace CyberCAT.Core.DumpedEnums
{
public enum gamedataQuality
{
Common = 0,
Epic = 1,
Iconic = 2,
Legendary = 3,
Random = 4,
Rare = 5,
Uncommon = 6,
Count = 7,
Invalid = 8
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Charlotte
{
public static class Extensions
{
public static IEnumerable<T> ProgressBar<T>(this List<T> list, string prompt = null)
{
return Common.Foreach_ProgressBar(list, prompt);
}
}
}
|
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace TaDandoOnda.Models
{
public class Surfista
{
[Key]
public int SurfistaId { get; set; }
[Required(ErrorMessage = "Insira o nome do surfista")]
public string Nome ... |
using Microsoft.EntityFrameworkCore;
using CadastroCliente.Models;
namespace CadastroCliente.Data
{
public class ClienteContext : DbContext
{
public DbSet<Cliente> Clientes { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
... |
// Autogenerated. Do not modify!
namespace BLToolkit
{
partial class BLToolkitConstants
{
// <summary>
// Revision component of version.
// <summary>
public const string Revision = "0";
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FuManager : MonoBehaviour {
[SerializeField] public FuMode thisFuMode;
}
public enum FuMode {
Speed, Attack, Spawn, Recovery
};
|
using System;
namespace SharpCifs.Smb
{
// Token: 0x020000C8 RID: 200
internal class TransWaitNamedPipe : SmbComTransaction
{
// Token: 0x06000673 RID: 1651 RVA: 0x00022BF0 File Offset: 0x00020DF0
internal TransWaitNamedPipe(string pipeName)
{
this.Name = pipeName;
this.Command = 37;
thi... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Configuration
{
[AttributeUsage(AttributeTargets.Property)]
public sealed class SubclassTyp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.